lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87r30f8nvf.fsf@free-electrons.com>
Date:   Wed, 26 Apr 2017 12:27:48 +0200
From:   Gregory CLEMENT <gregory.clement@...e-electrons.com>
To:     linux-arm-kernel@...ts.infradead.org
Cc:     linux-gpio@...r.kernel.org, Jason Cooper <jason@...edaemon.net>,
        Andrew Lunn <andrew@...n.ch>,
        Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
        Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
        Linus Walleij <linus.walleij@...aro.org>,
        Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, Nadav Haklai <nadavh@...vell.com>,
        Victor Gu <xigu@...vell.com>, Marcin Wojtas <mw@...ihalf.com>,
        Wilson Ding <dingwei@...vell.com>,
        Hua Jing <jinghua@...vell.com>,
        Neta Zur Hershkovits <neta@...vell.com>
Subject: Re: [PATCH v4 6/7] ARM64: dts: marvell: Add pinctrl nodes for Armada 3700

Hi,
 
 On mer., avril 05 2017, Gregory CLEMENT <gregory.clement@...e-electrons.com> 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 <gregory.clement@...e-electrons.com>

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@...00 {
> -				compatible = "marvell,mvebu-gpio-3700",
> +			pinctrl_nb: pinctrl-nb@...00 {
> +				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 =
> +					<GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
> +
> +				};
>  
>  				xtalclk: xtal-clk {
>  					compatible = "marvell,armada-3700-xtal-clock";
> @@ -169,6 +188,23 @@
>  				};
>  			};
>  
> +			pinctrl_sb: pinctrl-sb@...00 {
> +				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 =
> +					<GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
> +					<GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
> +				};
> +			};
> +
>  			eth0: ethernet@...00 {
>  				   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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ