ARM: ux500: Move board specific GPIO info out to subordinate DTS files
authorLee Jones <lee.jones@linaro.org>
Thu, 15 Nov 2012 13:07:02 +0000 (13:07 +0000)
committerLee Jones <lee.jones@linaro.org>
Tue, 27 Nov 2012 10:58:27 +0000 (10:58 +0000)
GPIO numbers for the newly created gpio-regulator will differ from
board to board. Therefore it's not sensible to leave this information
in the top level DTSI file. Let's move them out to the DTS files
where they can correctly vary.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/arm/boot/dts/dbx5x0.dtsi
arch/arm/boot/dts/hrefprev60.dts

index d8ba489e32c517f32acbefabb74904f4e45a9b5f..9f553630242a54c0cf5b43f68346fad223c56b04 100644 (file)
                        regulator-name = "mmci-reg";
                        regulator-type = "voltage";
 
-                       gpios = <&tc3589x_gpio 18 0x4>;
-                       gpio-enable = <&tc3589x_gpio 17 0x4>;
                        states = <1800000 0x1
                                  2900000 0x0>;
 
index b398946fd64a1ada667c431035c6ea9246ee8a18..eec29c4a86dce30f0ad6557ebe72297d01cff8f6 100644 (file)
                                reset-gpio = <&tc3589x_gpio 13 0x4>;
                        };
                };
+
+               vmmci: regulator-gpio {
+                       gpios = <&tc3589x_gpio 18 0x4>;
+                       gpio-enable = <&tc3589x_gpio 17 0x4>;
+
+                       status = "okay";
+               };
        };
 };
This page took 0.025334 seconds and 5 git commands to generate.