Skip to content

Commit

Permalink
ARM: dts: change status property of dwmmc nodes for exynos5250
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yuvaraj Kumar C D authored and Kukjin Kim committed Dec 15, 2013
1 parent 906fd84 commit e908d5c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
10 changes: 2 additions & 8 deletions arch/arm/boot/dts/exynos5250-arndale.dts
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@
};

dwmmc_0: dwmmc0@12200000 {
status = "okay";
num-slots = <1>;
supports-highspeed;
broken-cd;
Expand All @@ -403,11 +404,8 @@
};
};

dwmmc_1: dwmmc1@12210000 {
status = "disabled";
};

dwmmc_2: dwmmc2@12220000 {
status = "okay";
num-slots = <1>;
supports-highspeed;
fifo-depth = <0x80>;
Expand All @@ -426,10 +424,6 @@
};
};

dwmmc_3: dwmmc3@12230000 {
status = "disabled";
};

i2s0: i2s@03830000 {
status = "okay";
};
Expand Down
10 changes: 2 additions & 8 deletions arch/arm/boot/dts/exynos5250-smdk5250.dts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
};

dwmmc0@12200000 {
status = "okay";
num-slots = <1>;
supports-highspeed;
broken-cd;
Expand All @@ -158,11 +159,8 @@
};
};

dwmmc1@12210000 {
status = "disabled";
};

dwmmc2@12220000 {
status = "okay";
num-slots = <1>;
supports-highspeed;
fifo-depth = <0x80>;
Expand All @@ -180,10 +178,6 @@
};
};

dwmmc3@12230000 {
status = "disabled";
};

spi_0: spi@12d20000 {
status = "disabled";
};
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/exynos5250.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@
reg = <0x12200000 0x1000>;
clocks = <&clock 280>, <&clock 139>;
clock-names = "biu", "ciu";
status = "disabled";
};

dwmmc_1: dwmmc1@12210000 {
Expand All @@ -410,6 +411,7 @@
reg = <0x12210000 0x1000>;
clocks = <&clock 281>, <&clock 140>;
clock-names = "biu", "ciu";
status = "disabled";
};

dwmmc_2: dwmmc2@12220000 {
Expand All @@ -420,6 +422,7 @@
reg = <0x12220000 0x1000>;
clocks = <&clock 282>, <&clock 141>;
clock-names = "biu", "ciu";
status = "disabled";
};

dwmmc_3: dwmmc3@12230000 {
Expand All @@ -430,6 +433,7 @@
#size-cells = <0>;
clocks = <&clock 283>, <&clock 142>;
clock-names = "biu", "ciu";
status = "disabled";
};

i2s0: i2s@03830000 {
Expand Down

0 comments on commit e908d5c

Please sign in to comment.