]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: mvebu: gpio: Add GPIO nodes to A8K family devices
authorKonstantin Porotchkin <kostap@marvell.com>
Wed, 8 Feb 2017 15:34:11 +0000 (17:34 +0200)
committerStefan Roese <sr@denx.de>
Thu, 23 Mar 2017 07:45:25 +0000 (08:45 +0100)
Add GPIO nodes to AP-806 and CP-110-master DTSI files.

Change-Id: I05958698d460cb721b7d8683d34f74a5ea32532c
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Igal Liberman <igall@marvell.com>
Cc: Haim Boot <hayim@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-7040.dtsi
arch/arm/dts/armada-8040.dtsi
arch/arm/dts/armada-ap806.dtsi
arch/arm/dts/armada-cp110-master.dtsi
arch/arm/dts/armada-cp110-slave.dtsi

index 78d995d62707190dc19bc1f1e8cf20e6f7d64e45..b5be0c4652ed1c28a40e68e9aedcea0eb33af0c3 100644 (file)
@@ -45,6 +45,7 @@
  * one CP110.
  */
 
+#include <dt-bindings/gpio/gpio.h>
 #include "armada-ap806-quad.dtsi"
 #include "armada-cp110-master.dtsi"
 
index 9c1b28c476838fc20009b35740d825627b0ff5c3..96cc112ac9c95c182ab8f858a36201096cbf7e4c 100644 (file)
@@ -45,6 +45,7 @@
  * two CP110.
  */
 
+#include <dt-bindings/gpio/gpio.h>
 #include "armada-ap806-quad.dtsi"
 #include "armada-cp110-master.dtsi"
 #include "armada-cp110-slave.dtsi"
index 3042cb154b70a566790d398e2875e6eb092ac494..e0d301682b957b329e0922e7725eb634c42821f2 100644 (file)
                                };
                        };
 
+                       ap_gpio0: gpio@6F5040 {
+                               compatible = "marvell,orion-gpio";
+                               reg = <0x6F5040 0x40>;
+                               ngpios = <20>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                       };
+
                        xor@400000 {
                                compatible = "marvell,mv-xor-v2";
                                reg = <0x400000 0x1000>,
index 661a69679edc47f24897124edb28925fc4a84a2d..609560921a709b2a6d8cb401d09c4ffbb1167a2a 100644 (file)
                                };
                        };
 
+                       cpm_gpio0: gpio@440100 {
+                               compatible = "marvell,orion-gpio";
+                               reg = <0x440100 0x40>;
+                               ngpios = <32>;
+                               gpiobase = <20>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                       };
+
+                       cpm_gpio1: gpio@440140 {
+                               compatible = "marvell,orion-gpio";
+                               reg = <0x440140 0x40>;
+                               ngpios = <31>;
+                               gpiobase = <52>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                       };
+
                        cpm_sata0: sata@540000 {
                                compatible = "marvell,armada-8k-ahci";
                                reg = <0x540000 0x30000>;
index 92ef55cf267218834f9e63dcee0f4c5826d31d23..ff3fbedab24e9fcd201547699e9fd029a2412339 100644 (file)
                                };
                        };
 
+                       cps_gpio0: gpio@440100 {
+                               compatible = "marvell,orion-gpio";
+                               reg = <0x440100 0x40>;
+                               ngpios = <32>;
+                               gpiobase = <20>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                       };
+
+                       cps_gpio1: gpio@440140 {
+                               compatible = "marvell,orion-gpio";
+                               reg = <0x440140 0x40>;
+                               ngpios = <31>;
+                               gpiobase = <52>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                       };
+
                        cps_sata0: sata@540000 {
                                compatible = "marvell,armada-8k-ahci";
                                reg = <0x540000 0x30000>;