]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: ux500: Refactor common DT configs for sdi[n] devices
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 12 Dec 2013 13:31:36 +0000 (14:31 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Dec 2013 09:25:37 +0000 (10:25 +0100)
Remove duplicated configurations and move specific details into
each corresponding dtsi file for the href versions.

Cc: Lee Jones <lee.jones@linaro.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-href.dtsi
arch/arm/boot/dts/ste-hrefprev60.dtsi
arch/arm/boot/dts/ste-hrefv60plus.dtsi

index e28242173d18fae01ace4ddad502306d540a405b..0c1e8d871ed1a45662198501fb133aa29bf46af0 100644 (file)
                        pinctrl-0 = <&sdi0_default_mode>;
                        pinctrl-1 = <&sdi0_sleep_mode>;
 
-                       cd-gpios  = <&tc3589x_gpio 3 0x4>;
-
                        status = "okay";
                };
 
index b0f5def8e2a8fcb843805368ad94352f9e3d2854..af9914e3b2191cd8059d5522dd7dee75cb19ce1d 100644 (file)
                        pinctrl-0 = <&ssp0_hrefprev60_mode>;
                };
 
+               // External Micro SD slot
+               sdi0_per1@80126000 {
+                       cd-gpios  = <&tc3589x_gpio 3 0x4>;
+               };
+
                vmmci: regulator-gpio {
                        gpios = <&tc3589x_gpio 18 0x4>;
                        enable-gpio = <&tc3589x_gpio 17 0x4>;
index 941bf9ad6f013971ae6843ec283429d18f499149..1f7b46bb87afbabd47da0bec4ec358c026817ece 100644 (file)
        soc {
                // External Micro SD slot
                sdi0_per1@80126000 {
-                       arm,primecell-periphid = <0x10480180>;
-                       max-frequency = <100000000>;
-                       bus-width = <4>;
-                       mmc-cap-sd-highspeed;
-                       mmc-cap-mmc-highspeed;
-                       vmmc-supply = <&ab8500_ldo_aux3_reg>;
-
                        cd-gpios  = <&gpio2 31 0x4>; // 95
-
-                       status = "okay";
-               };
-
-               // WLAN SDIO channel
-               sdi1_per2@80118000 {
-                       arm,primecell-periphid = <0x10480180>;
-                       max-frequency = <100000000>;
-                       bus-width = <4>;
-
-                       status = "okay";
-               };
-
-               // PoP:ed eMMC
-               sdi2_per3@80005000 {
-                       arm,primecell-periphid = <0x10480180>;
-                       max-frequency = <100000000>;
-                       bus-width = <8>;
-                       mmc-cap-mmc-highspeed;
-
-                       status = "okay";
-               };
-
-               // On-board eMMC
-               sdi4_per2@80114000 {
-                       arm,primecell-periphid = <0x10480180>;
-                       max-frequency = <100000000>;
-                       bus-width = <8>;
-                       mmc-cap-mmc-highspeed;
-                       vmmc-supply = <&ab8500_ldo_aux2_reg>;
-
-                       status = "okay";
                };
 
                pinctrl {