]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: mvebu: armada-xp: Consolidate pinctrl node
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Fri, 19 Sep 2014 19:07:09 +0000 (21:07 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sun, 2 Nov 2014 18:50:16 +0000 (18:50 +0000)
All current Armada XP SoCs have their pin controller at 0x18000/0x38.
Move the common properties of pinctrl nodes to armada-xp.dtsi to allow
to share pinctrl settings later.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-By: Benoit Masson <yahoo@perenite.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-xp-mv78230.dtsi
arch/arm/boot/dts/armada-xp-mv78260.dtsi
arch/arm/boot/dts/armada-xp-mv78460.dtsi
arch/arm/boot/dts/armada-xp.dtsi

index 2592e1c13560039c0a1396b63026934b12bb305c..b5933aa9ab50c2753dfaf71660f279e18fa1688c 100644 (file)
@@ -169,13 +169,6 @@ pcie@5,0 {
                internal-regs {
                        pinctrl {
                                compatible = "marvell,mv78230-pinctrl";
-                               reg = <0x18000 0x38>;
-
-                               sdio_pins: sdio-pins {
-                                       marvell,pins = "mpp30", "mpp31", "mpp32",
-                                                      "mpp33", "mpp34", "mpp35";
-                                       marvell,function = "sd0";
-                               };
                        };
 
                        gpio0: gpio@18100 {
index 480e237a870fa42c86dca6ab7dd5585d6345956a..5954b362180c83e840136140066e15956c83e066 100644 (file)
@@ -253,13 +253,6 @@ pcie@9,0 {
                internal-regs {
                        pinctrl {
                                compatible = "marvell,mv78260-pinctrl";
-                               reg = <0x18000 0x38>;
-
-                               sdio_pins: sdio-pins {
-                                       marvell,pins = "mpp30", "mpp31", "mpp32",
-                                                      "mpp33", "mpp34", "mpp35";
-                                       marvell,function = "sd0";
-                               };
                        };
 
                        gpio0: gpio@18100 {
index 2c7b1fef470350714a9f9c5df7b25f42708019de..735924d62e12b3dce0373e6fbb6edbc5360ac2d1 100644 (file)
@@ -291,13 +291,6 @@ pcie@10,0 {
                internal-regs {
                        pinctrl {
                                compatible = "marvell,mv78460-pinctrl";
-                               reg = <0x18000 0x38>;
-
-                               sdio_pins: sdio-pins {
-                                       marvell,pins = "mpp30", "mpp31", "mpp32",
-                                                      "mpp33", "mpp34", "mpp35";
-                                       marvell,function = "sd0";
-                               };
                        };
 
                        gpio0: gpio@18100 {
index e1707133ee18d5e9d2ac3aeddd5adb4a3a9ffd8c..4010eee93df79752a9dd5d64a8a9250eecd75024 100644 (file)
@@ -72,6 +72,16 @@ serial@12300 {
                                status = "disabled";
                        };
 
+                       pinctrl {
+                               reg = <0x18000 0x38>;
+
+                               sdio_pins: sdio-pins {
+                                       marvell,pins = "mpp30", "mpp31", "mpp32",
+                                                      "mpp33", "mpp34", "mpp35";
+                                       marvell,function = "sd0";
+                               };
+                       };
+
                        system-controller@18200 {
                                compatible = "marvell,armada-370-xp-system-controller";
                                reg = <0x18200 0x500>;