Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2998199AbdDZK2L (ORCPT ); Wed, 26 Apr 2017 06:28:11 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:45237 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1037898AbdDZK2B (ORCPT ); Wed, 26 Apr 2017 06:28:01 -0400 From: Gregory CLEMENT To: linux-arm-kernel@lists.infradead.org Cc: linux-gpio@vger.kernel.org, Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Thomas Petazzoni , Linus Walleij , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Nadav Haklai , Victor Gu , Marcin Wojtas , Wilson Ding , Hua Jing , Neta Zur Hershkovits Subject: Re: [PATCH v4 6/7] ARM64: dts: marvell: Add pinctrl nodes for Armada 3700 References: <1defc5c1925e819b28f2b3802aadc9a8e7be224a.1491405475.git-series.gregory.clement@free-electrons.com> Date: Wed, 26 Apr 2017 12:27:48 +0200 In-Reply-To: <1defc5c1925e819b28f2b3802aadc9a8e7be224a.1491405475.git-series.gregory.clement@free-electrons.com> (Gregory CLEMENT's message of "Wed, 5 Apr 2017 17:18:07 +0200") Message-ID: <87r30f8nvf.fsf@free-electrons.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2820 Lines: 91 Hi, On mer., avril 05 2017, Gregory CLEMENT wrote: > Add the nodes for the two pin controller present in the Armada 37xx SoCs. > > Initially the node was named gpio1 using the same name that for the > register range in the datasheet. However renaming it pinctr_nb (nb for > North Bridge) makes more sens. > > Signed-off-by: Gregory CLEMENT Applied on mvebu/dt64 Thanks, Gregory > --- > arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 42 +++++++++++++++++++-- > 1 file changed, 39 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi > index b48d668a6ab6..c02b13479458 100644 > --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi > @@ -157,10 +157,29 @@ > #clock-cells = <1>; > }; > > - gpio1: gpio@13800 { > - compatible = "marvell,mvebu-gpio-3700", > + pinctrl_nb: pinctrl-nb@13800 { > + compatible = "marvell,armada3710-nb-pinctrl", > "syscon", "simple-mfd"; > - reg = <0x13800 0x500>; > + reg = <0x13800 0x100>, <0x13C00 0x20>; > + gpionb: gpionb { > + #gpio-cells = <2>; > + gpio-ranges = <&pinctrl_nb 0 0 36>; > + gpio-controller; > + interrupts = > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + > + }; > > xtalclk: xtal-clk { > compatible = "marvell,armada-3700-xtal-clock"; > @@ -169,6 +188,23 @@ > }; > }; > > + pinctrl_sb: pinctrl-sb@18800 { > + compatible = "marvell,armada3710-sb-pinctrl", > + "syscon", "simple-mfd"; > + reg = <0x18800 0x100>, <0x18C00 0x20>; > + gpiosb: gpiosb { > + #gpio-cells = <2>; > + gpio-ranges = <&pinctrl_sb 0 0 29>; > + gpio-controller; > + interrupts = > + , > + , > + , > + , > + ; > + }; > + }; > + > eth0: ethernet@30000 { > compatible = "marvell,armada-3700-neta"; > reg = <0x30000 0x4000>; > -- > git-series 0.9.1 -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com