From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 23 May 2017 06:59:45 +0200 Subject: [U-Boot] [PATCH 1/6] arm64: mvebu: Add pinctrl nodes for Armada 3700 Message-ID: <20170523045950.7020-1-sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Gregory CLEMENT 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 sense. Minor changes for U-Boot because of the slightly different dts version done by Stefan Roese. Signed-off-by: Gregory CLEMENT Signed-off-by: Stefan Roese Cc: Gregory CLEMENT Cc: Konstantin Porotchkin Cc: Nadav Haklai --- arch/arm/dts/armada-37xx.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/dts/armada-37xx.dtsi b/arch/arm/dts/armada-37xx.dtsi index 5bea63b983..810bf3476c 100644 --- a/arch/arm/dts/armada-37xx.dtsi +++ b/arch/arm/dts/armada-37xx.dtsi @@ -106,6 +106,48 @@ status = "disabled"; }; + pinctrl_nb: pinctrl-nb at 13800 { + compatible = "marvell,armada3710-nb-pinctrl", + "syscon", "simple-mfd"; + reg = <0x13800 0x100>, <0x13C00 0x20>; + gpionb: gpionb { + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_nb 0 0 36>; + gpio-controller; + interrupts = + , + , + , + , + , + , + , + , + , + , + , + ; + + }; + }; + + pinctrl_sb: pinctrl-sb at 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 = + , + , + , + , + ; + }; + }; + usb3: usb at 58000 { compatible = "marvell,armada3700-xhci", "generic-xhci"; -- 2.12.3