OSDN Git Service

ARM: dts: armada388-clearfog: move sdhci pinctrl node to microsom
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 2 Jan 2017 14:58:46 +0000 (14:58 +0000)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 4 Jan 2017 10:38:13 +0000 (11:38 +0100)
Move the SDHCI pinctrl node to the microsom file - the microsom can have
optional eMMC support which uses these same pinctrl settings, so it is
sensible to have these here.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-388-clearfog.dts
arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi

index 00618d8..7a30332 100644 (file)
                                        marvell,pins = "mpp20";
                                        marvell,function = "gpio";
                                };
-                               clearfog_sdhci_pins: clearfog-sdhci-pins {
-                                       marvell,pins = "mpp21", "mpp28",
-                                                      "mpp37", "mpp38",
-                                                      "mpp39", "mpp40";
-                                       marvell,function = "sd0";
-                               };
                                clearfog_spi1_cs_pins: spi1-cs-pins {
                                        marvell,pins = "mpp55";
                                        marvell,function = "spi1";
                                bus-width = <4>;
                                cd-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
                                no-1-8-v;
-                               pinctrl-0 = <&clearfog_sdhci_pins
+                               pinctrl-0 = <&microsom_sdhci_pins
                                             &clearfog_sdhci_cd_pins>;
                                pinctrl-names = "default";
                                status = "okay";
index c67e617..44e40a1 100644 (file)
                                        marvell,pins = "mpp45";
                                        marvell,function = "ref";
                                };
+                               /* Optional eMMC */
+                               microsom_sdhci_pins: microsom-sdhci-pins {
+                                       marvell,pins = "mpp21", "mpp28",
+                                                      "mpp37", "mpp38",
+                                                      "mpp39", "mpp40";
+                                       marvell,function = "sd0";
+                               };
                        };
 
                        rtc@a3800 {