ARM: dts: change status property of dwmmc nodes for exynos5250
authorYuvaraj Kumar C D <yuvaraj.cd@gmail.com>
Sun, 20 Oct 2013 20:48:06 +0000 (05:48 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 15 Dec 2013 19:32:44 +0000 (04:32 +0900)
According to ePAPR, chapter 2.3.4, the status property has
defined that it should be set to "disabled" when "the device
is not presently operational, but it might become operational
in the future".

So this patch disable dwmmc node by "status = disabled" in SOC
dts file and enable dwmmc node by "status = okay" in board specific
dts file.

Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos5250-arndale.dts
arch/arm/boot/dts/exynos5250-smdk5250.dts
arch/arm/boot/dts/exynos5250.dtsi

index 6845270..18e3e93 100644 (file)
        };
 
        dwmmc_0: dwmmc0@12200000 {
+               status = "okay";
                num-slots = <1>;
                supports-highspeed;
                broken-cd;
                };
        };
 
-       dwmmc_1: dwmmc1@12210000 {
-               status = "disabled";
-       };
-
        dwmmc_2: dwmmc2@12220000 {
+               status = "okay";
                num-slots = <1>;
                supports-highspeed;
                fifo-depth = <0x80>;
                };
        };
 
-       dwmmc_3: dwmmc3@12230000 {
-               status = "disabled";
-       };
-
        i2s0: i2s@03830000 {
                status = "okay";
        };
index f86d567..78ecc75 100644 (file)
        };
 
        dwmmc0@12200000 {
+               status = "okay";
                num-slots = <1>;
                supports-highspeed;
                broken-cd;
                };
        };
 
-       dwmmc1@12210000 {
-               status = "disabled";
-       };
-
        dwmmc2@12220000 {
+               status = "okay";
                num-slots = <1>;
                supports-highspeed;
                fifo-depth = <0x80>;
                };
        };
 
-       dwmmc3@12230000 {
-               status = "disabled";
-       };
-
        spi_0: spi@12d20000 {
                status = "disabled";
        };
index e613da1..2507281 100644 (file)
                reg = <0x12200000 0x1000>;
                clocks = <&clock 280>, <&clock 139>;
                clock-names = "biu", "ciu";
+               status = "disabled";
        };
 
        dwmmc_1: dwmmc1@12210000 {
                reg = <0x12210000 0x1000>;
                clocks = <&clock 281>, <&clock 140>;
                clock-names = "biu", "ciu";
+               status = "disabled";
        };
 
        dwmmc_2: dwmmc2@12220000 {
                reg = <0x12220000 0x1000>;
                clocks = <&clock 282>, <&clock 141>;
                clock-names = "biu", "ciu";
+               status = "disabled";
        };
 
        dwmmc_3: dwmmc3@12230000 {
                #size-cells = <0>;
                clocks = <&clock 283>, <&clock 142>;
                clock-names = "biu", "ciu";
+               status = "disabled";
        };
 
        i2s0: i2s@03830000 {