From patchwork Thu Mar 7 15:13:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 159857 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp7550136jad; Thu, 7 Mar 2019 07:14:27 -0800 (PST) X-Google-Smtp-Source: APXvYqzWzsNkgkwU3T1BBtrqddNI6PX3fiOrXPYhPHgVpaslzLXuvbo588xSV4Lt14jWOwWSpssw X-Received: by 2002:a17:902:ea85:: with SMTP id cv5mr13043492plb.119.1551971667707; Thu, 07 Mar 2019 07:14:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551971667; cv=none; d=google.com; s=arc-20160816; b=VDg1icefPYkLDnMxbMAMCpXazKWb3IJZaOffsNmNn1nr7u3hzRsvrD5pLtr6qfq+UE SwA+3v36hExMu01N08UJnIcXNrS4AEz8/QBJUcI4Of3zEGDuEJxOAJczGYUmK8T1ijPu d4opZsJkw3oYDxPESBd7iUuWgBlDIIvnjZdEkL5JRuGVoGgVtPRVTaKE94zmnlxbus5v gDwA/xTZkmcnE7mkUSAOwAyuDNjV3d+a1Or8MQOar/xhKeI4djrMKNUi0sSuPEqEPpms VM9+ngXqLUOMJ2NiPTf7Vzy5Jax2aFacCI9nUKoaPjD1qhoOUAqF4UU7+qB0vqrl5Cu0 i+6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=R5vLPLHD1u8ZKSzf8/MNIriNP/bQNhz6kTsOhKPAebg=; b=TYVByX6a2hg84YDom5anHfFMAsteq6DmCaUVAPxDPqltwjAWSAft8KEPLTAGozcsJ5 yP7jKXxs/j8jKdtLzSYY/r5Oi5eJ2GsJzoap2vR1QtszgV5VcC9kkfIKjgU5KI8Wg7pb qzZjkZOtaue+nLbPy6P47RlNjy9OFx5J8pnpSLS1ITW9dqiDmwLrxIkC+S8sDaNBcEuE 8PnmATdaQQUxDSTLdncdF7GFIA4gYa0xi+DJLBtRdWg8b6CqmT1j+W3s/ui+hZx2jmFd G0FWAZWyrSGClYJe4azLZNwjWM9YiSDIf2MEP6YuMA/ftPNIbeaQ0J7DenDUEPk/j5IH zEsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="M0/9j5+k"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z31si1799336pga.227.2019.03.07.07.14.26; Thu, 07 Mar 2019 07:14:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="M0/9j5+k"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726604AbfCGPOZ (ORCPT + 31 others); Thu, 7 Mar 2019 10:14:25 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:42796 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726172AbfCGPNs (ORCPT ); Thu, 7 Mar 2019 10:13:48 -0500 Received: by mail-wr1-f66.google.com with SMTP id r5so17851447wrg.9 for ; Thu, 07 Mar 2019 07:13:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R5vLPLHD1u8ZKSzf8/MNIriNP/bQNhz6kTsOhKPAebg=; b=M0/9j5+ktnBXtm9Y3+kdp2HiDFOK3F8lvKtWoJsEBoSLGk0lcKV9olvxIgFpDV41kW 8f2VuawmWRPYSI5fN/w7hb/Dmi/JN32VIRxPAn8/vKp0WMyeXLrBUWSBgbcmyhWNa6jS nicp5lAM/G224vGGmwapFtQhLGsSSy0uRmgNSsA75wM8UYXltedl/t1IaKIgtu7qgtmF EWlUOBsb0lkMxlyedFpfu+QseJc695GbpFb6QHnXOqHAMFBG4ed+yPzr0gYTtYnkp5pl cDas9vkVwkRYPTzAXJ9vwhLIAKxpd9r/NcJNggnneSElHczzMWKWtLVD6vmC9qbSAuht DPag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=R5vLPLHD1u8ZKSzf8/MNIriNP/bQNhz6kTsOhKPAebg=; b=DrmUc/mSkj/mHsRU2FGM4mqJ2Kvx4IhraMymk9FZqRzWHr3KbUSkkLwc1fMqmOv8a9 psEeWbeBSgSIw9vtLdRGcF1sJ94V9MW82rOYHnL2aboHOKTx5/HfB69hGPd0pppw6utH fxUvFrD5btMVuFzWuNp66fmdHnUq6UT6un97ydPn/qjCUsTppygt/DpikYRuot5UalQV cGVe8wb4rY2AF8FwaaeIJzziODBEGzKdGioYGvjf7jq22qXRG3aE1BLuDyvnd+vd2FdZ vFHYu1MarbxvWqU0Llj8aVztq5HNroOdNjRPYrvDo+z6Qp+QMdFvub60cdXOPrfBEa2n 6mQA== X-Gm-Message-State: APjAAAUcKe8Ge5ayG05nKzo2iWMUlQwy/xZXNQshMcFw1xjyn7Ry+CCu plXKAKiKb6kjThVZelptmUP3BQ== X-Received: by 2002:a5d:668b:: with SMTP id l11mr7139662wru.116.1551971626321; Thu, 07 Mar 2019 07:13:46 -0800 (PST) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id r15sm5756563wrt.37.2019.03.07.07.13.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Mar 2019 07:13:45 -0800 (PST) From: Neil Armstrong To: khilman@baylibre.com Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [PATCH 3/9] arm64: dts: meson: g12a: add pinctrl support controllers Date: Thu, 7 Mar 2019 16:13:35 +0100 Message-Id: <20190307151342.7381-4-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307151342.7381-1-narmstrong@baylibre.com> References: <20190307151342.7381-1-narmstrong@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jerome Brunet Add the peripheral and always-on pinctrl controllers to the g12a soc. Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 41 +++++++++++++++++++++ 1 file changed, 41 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index f2fc0f654150..c141cc7f6b09 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -91,6 +91,28 @@ #address-cells = <2>; #size-cells = <2>; ranges = <0x0 0x0 0x0 0x34400 0x0 0x400>; + + periphs_pinctrl: pinctrl@40 { + compatible = "amlogic,meson-g12a-periphs-pinctrl"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gpio: bank@40 { + reg = <0x0 0x40 0x0 0x4c>, + <0x0 0xe8 0x0 0x18>, + <0x0 0x120 0x0 0x18>, + <0x0 0x2c0 0x0 0x40>, + <0x0 0x340 0x0 0x1c>; + reg-names = "gpio", + "pull", + "pull-enable", + "mux", + "ds"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&periphs_pinctrl 0 0 86>; + }; }; hiu: bus@3c000 { @@ -137,6 +159,25 @@ clocks = <&xtal>, <&clkc CLKID_CLK81>; clock-names = "xtal", "mpeg-clk"; }; + + ao_pinctrl: pinctrl@14 { + compatible = "amlogic,meson-g12a-aobus-pinctrl"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gpio_ao: bank@14 { + reg = <0x0 0x14 0x0 0x8>, + <0x0 0x1c 0x0 0x8>, + <0x0 0x24 0x0 0x14>; + reg-names = "mux", + "ds", + "gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&ao_pinctrl 0 0 15>; + }; + }; }; sec_AO: ao-secure@140 { From patchwork Thu Mar 7 15:13:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 159858 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp7550197jad; Thu, 7 Mar 2019 07:14:31 -0800 (PST) X-Google-Smtp-Source: APXvYqzs5Kz8Wga4G5GvhY+1swIliqZkeh1dWwoD/lIH7hdpk9FyMINWm50RPEu1Srz8soNhywZ8 X-Received: by 2002:aa7:8849:: with SMTP id k9mr13224797pfo.149.1551971671141; Thu, 07 Mar 2019 07:14:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551971671; cv=none; d=google.com; s=arc-20160816; b=h06FarWp3rZ+a/ckpPz0cq+RFyWkrFFqN48PMmzTRJCDEqeMZTicJf+6KK3qYAs35v EhVtayhGxYKtP00Gu0DvPMhCollP5L+5TmqZnqi5/sPAzr8Gnx/A8/eZefX0r5QbWRU8 JQVV5T4eJYeZfzCsQKHsWc2iZd0KOy34bf+zzSR9GkzNX1uuqLKrr5KzZyzcPUPMUq9f DbTKBFKEwMZE7dmcTxxhE0PWcqyqnI6TqWBNorJtnfXaho4tkjRpFtXDxxFud5gBapBv ZWlZP7PVteMHK+MFdxVFQ3XjM6wBRvMbPleGvBwSHfDNEr01pSQCIfawjqgaijQ9+iL6 qNxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pTKXutykj7vwY0VfsJAxh3ulcw4nav4DaRakY0rdQgM=; b=1IROdDJ8lw3z5P0nA+jPUn1e2u7Wu1CSoofgCCqvxZ4wOj/bL73CsxGbo+5gcULQF8 bMUlQk0CdfefrnotaJEvTB7Wv3t6B9H/XR8U6WV8Nac13/3CYsBoC9CyUrma6AkkOTL6 cilIANXVQSrrq3OMdAuhUSN9f0fbJvHcQCk16glRY38gOipcfc7xez8/L0wfKkH9tvwp V47V+/uKjQTOQ6NcchiojSWarOFGmmyvM+wCpx1WyPMAuIJkcrRRrYbv5CNu0J0SCAtU 5oGEpT0Qd4uH9PfBGwQbb1lRTYEtKFr3CN9ZoLmtwQcG0qlhmqUNYq/urT6SDhdyGwwt cv7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=x05kA46l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z31si1799336pga.227.2019.03.07.07.14.30; Thu, 07 Mar 2019 07:14:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=x05kA46l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726585AbfCGPOY (ORCPT + 31 others); Thu, 7 Mar 2019 10:14:24 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34375 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726242AbfCGPNt (ORCPT ); Thu, 7 Mar 2019 10:13:49 -0500 Received: by mail-wr1-f66.google.com with SMTP id f14so17854081wrg.1 for ; Thu, 07 Mar 2019 07:13:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pTKXutykj7vwY0VfsJAxh3ulcw4nav4DaRakY0rdQgM=; b=x05kA46l6Ub4SgMg1oVMBKRlw00P7ZOno653ZCbKjWvjaDW16/H9sw2Dll+a2S1WJG nay07eixuRsFC7gSdhiytqqDHI1n7wNlZGm5NIeeTOg2oCywv1YYaZFp2ifDLZg0GZJf HHLcrrgpjniUmnTKjbHYO7541ksgK5V7UzI9BdLl3+T6PpbtDT13uk4qkrkvqKpZXLTe CeRHB58iXswzThnyVz24DkXSDsDAHXYAerJyFmkeAeS5BalCu1Gfwu4tyYFzZQqsanzl cw7Y1aaea2Py1muGyTOapWwmBWgxOWZQnGabDE+e3xOagxNMBJaNdbvLkm/G3sOC9Tsz KBYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pTKXutykj7vwY0VfsJAxh3ulcw4nav4DaRakY0rdQgM=; b=NJW7Ck7w1O+tBC42fZoqqFf7H4LVdmRg0nDa67zMmWpgo0BiB3mAA0KKoWTq3RhzoZ fIGNr9QD2lbzCMHyxvLjxEuiUu/P02MAwVLoLec1T+CoFY/jUGJizPM/20mGd08e0Po7 e/f+ecZD8sWLRZbKbhdVgEUeOzjSuA1v5eHIgx4BTGxcxZgyBaKVie3Z96nSJwrLxdnf 8ymvL0iApC0BGlbGkBHSV2GYlllWZDmYavSX2v9HUChDysOCbN9ijVoI6PigP1iPigpq xpf9eUEPnCHetKuIfk/AryfYpWSvqhuB0EKpMoo5Cn+dSdgOUIqyLFSJ+6+6WZsUMJuP k95A== X-Gm-Message-State: APjAAAUIo7w5njnF0k+8ijXsmeUGTtdwHwkF7NaVKdEXvXYdjGqWxVcv bR5qaekAzLdMbvqlb0XpvB/rI8ueiYwHrg== X-Received: by 2002:adf:cd04:: with SMTP id w4mr7310512wrm.25.1551971627071; Thu, 07 Mar 2019 07:13:47 -0800 (PST) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id r15sm5756563wrt.37.2019.03.07.07.13.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Mar 2019 07:13:46 -0800 (PST) From: Neil Armstrong To: khilman@baylibre.com Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [PATCH 4/9] arm64: dts: meson: g12a: add uart_ao_a pinctrl Date: Thu, 7 Mar 2019 16:13:36 +0100 Message-Id: <20190307151342.7381-5-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307151342.7381-1-narmstrong@baylibre.com> References: <20190307151342.7381-1-narmstrong@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jerome Brunet Add the always on UART pinctrl setting to the g12a soc DT and use it for the u200 reference design Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- .../arm64/boot/dts/amlogic/meson-g12a-u200.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts index c44dbdddf2cf..f2afd0bf3e28 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts @@ -25,5 +25,7 @@ &uart_AO { status = "okay"; + pinctrl-0 = <&uart_ao_a_pins>; + pinctrl-names = "default"; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index c141cc7f6b09..f8f055c49f9a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -177,6 +177,24 @@ #gpio-cells = <2>; gpio-ranges = <&ao_pinctrl 0 0 15>; }; + + uart_ao_a_pins: uart_a_ao { + mux { + groups = "uart_ao_a_tx", + "uart_ao_a_rx"; + function = "uart_ao_a"; + bias-disable; + }; + }; + + uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts { + mux { + groups = "uart_ao_a_cts", + "uart_ao_a_rts"; + function = "uart_ao_a"; + bias-disable; + }; + }; }; }; From patchwork Thu Mar 7 15:13:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 159856 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp7550006jad; Thu, 7 Mar 2019 07:14:20 -0800 (PST) X-Google-Smtp-Source: APXvYqz+Bci8MIGznMXRJ3XpLtRmN7tWl3zxNPTmae8nt1u8tBvdZJZL6AUq23vsv0Z45tR2DY3Z X-Received: by 2002:a62:569b:: with SMTP id h27mr13009813pfj.163.1551971660172; Thu, 07 Mar 2019 07:14:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551971660; cv=none; d=google.com; s=arc-20160816; b=v07A3JUz5E2SpL0b2rok3/e9+zWuUDXwZ4bGJC4xpeWClbueoLm1MRfrKAwi/5VI7e NQb3B9qD9KT3L+wBZ0H5rnkmWOtzepHrTEGyE0nP5EybyYJEHxQeemRvQU0tuE9M+xXc kaGvH5m1B5XDm0PRTuMuYMLaWiT0F+vmZHrYp7DfXTlDFZ6BSew6ouyc3xxJKQXnj/op FMmKJPRihUo0L5F5MKCDIWNzJWDpTloPxU7wcjNVwoDlcI+G6OVjzVzkxDHioC43q+yd 4cxIr4K4WnQWZ4ABsYcvGsEEplVpZJXplV0+03nFSeFzEeeWxq1PUcyItP2RlZR2eHYi sHQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bf1+mf6QfF0AsCLbNkZ8mPUtWVYO9Du/N5n2zl8nGt8=; b=ZlBzEKOMcF2JRVuoxkVkYPo2vqwhw10OMwUDVtbzj0MNyj9x+4tZzgHvM7kpFmnJOv /PsI8giuM4beQLxfB40Or5snAJotASKGtXpmahoNQxD50Fn7x2bfRfAKPmUi2W2o+wVs umWiv+d9Zk1xLXLstjYdyDnpUw4DjsGqtv+ICuqXOcjDU5sOZcHEdensvEonL9RZDN/2 MZNTpN6Vv0uqcTG0035pYfaVbJVLwKo1rt5ZzsIYeJJo95F0EbytcrycccLfvFcNUHNI kRdZKPehnyKixx+dqlXz78LtCm7abX1uA5ccAbRfh6Gis8OC6r0XEN9B/h1gfPFrK1Tj kGMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=bpGg0R5l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g1si4308289plo.418.2019.03.07.07.14.19; Thu, 07 Mar 2019 07:14:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=bpGg0R5l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726319AbfCGPOS (ORCPT + 31 others); Thu, 7 Mar 2019 10:14:18 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:42799 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726161AbfCGPNt (ORCPT ); Thu, 7 Mar 2019 10:13:49 -0500 Received: by mail-wr1-f68.google.com with SMTP id r5so17851534wrg.9 for ; Thu, 07 Mar 2019 07:13:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bf1+mf6QfF0AsCLbNkZ8mPUtWVYO9Du/N5n2zl8nGt8=; b=bpGg0R5lH1fa5WfXHk0KkF12jcH5G5qkJgiPhF857EkVXitlkhzOPKOsAa7cshICu7 wS7rO0HpWnBXmKYUOxvl6+9qgi94yAvvO4LXSH9IIlS+9EWghEtrszyfs2B4JIDcvD+6 x72M1dQBfERvWxk6pmdry/RnK8SIMBuYxQ1XSR+RyZtiyJCpyRXC7eSy3DmMYdQPcyWU sklEgjyP5x7+FnkpqWgPa/Z+jqOtLnYegVH8jLvDtv1MJ3NvSNfEiC/S3nZpF450QPor uCkZzQk3szbY8a9USEDH0JJKai2zT0Dx0XTyPYWg5ErW2+e4QaDNLNFvWebCwaL42SmL 8NnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bf1+mf6QfF0AsCLbNkZ8mPUtWVYO9Du/N5n2zl8nGt8=; b=cCF5AHZrsWCt1+K+Xsg667pJXPklTPWikq1XNiuTpelKAK4fQ8aKh+l7jzTw1R60sU FDgsvs8IIh947Ra2FJr3Ln1JIE5aSGXfoRGuKx3wNIuuw7GDfrWDHOaXB78tO4+67BB8 0gYvDEK1bRIK9sAeN2YypYrO2P4dDec2IdBD0/FSV21Br1M6esUJvkdDCBAQlJxeRcn7 qtcrlNVt493ZTwHhjGzK7NccKk9yMZ4yrcDaTupPcIxWR/dhN1U3sH6e/Ei3nmBN0msC 3J5qrpzDzu7qQmEcUHp9TftOyYDOZYmysB5lU+3OQeIc2X+X6ZGSSY6ZPHBC3Btt3FXH Nl6A== X-Gm-Message-State: APjAAAXA04TRERVhUXUEB1jmkYQM8/wmrHuwVSiTTVydkQUlcb4Eu3ml 74k+NBkr/2k7mBYsAsWbcw8qLw== X-Received: by 2002:adf:e3c9:: with SMTP id k9mr7018237wrm.291.1551971627761; Thu, 07 Mar 2019 07:13:47 -0800 (PST) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id r15sm5756563wrt.37.2019.03.07.07.13.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Mar 2019 07:13:47 -0800 (PST) From: Neil Armstrong To: khilman@baylibre.com Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [PATCH 5/9] arm64: dts: meson: g12a: add reset controller Date: Thu, 7 Mar 2019 16:13:37 +0100 Message-Id: <20190307151342.7381-6-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307151342.7381-1-narmstrong@baylibre.com> References: <20190307151342.7381-1-narmstrong@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jerome Brunet Add the reset controller device of g12a SoC family Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.20.1 Reviewed-by: Martin Blumenstingl diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index f8f055c49f9a..2a700bb45d04 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -245,6 +245,13 @@ #size-cells = <2>; ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x100000>; + reset: reset-controller@1004 { + compatible = "amlogic,meson-g12a-reset", + "amlogic,meson-axg-reset"; + reg = <0x0 0x1004 0x0 0x9c>; + #reset-cells = <1>; + }; + clk_msr: clock-measure@18000 { compatible = "amlogic,meson-g12a-clk-measure"; reg = <0x0 0x18000 0x0 0x10>;