summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuvaraj Kumar C D <yuvaraj.cd@gmail.com>2013-10-21 05:48:06 +0900
committerKukjin Kim <kgene.kim@samsung.com>2013-12-16 04:32:44 +0900
commite908d5c5dc3b9258449b3c4d926e347c4247ce09 (patch)
tree89b56d1b1068cf60390a0c1926072ec68de5ff95
parent906fd84ee7c1080240a4aa687449d18fd83939c7 (diff)
ARM: dts: change status property of dwmmc nodes for exynos5250
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>
-rw-r--r--arch/arm/boot/dts/exynos5250-arndale.dts10
-rw-r--r--arch/arm/boot/dts/exynos5250-smdk5250.dts10
-rw-r--r--arch/arm/boot/dts/exynos5250.dtsi4
3 files changed, 8 insertions, 16 deletions
diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts
index 684527087aa4..18e3e93e4b3d 100644
--- a/arch/arm/boot/dts/exynos5250-arndale.dts
+++ b/arch/arm/boot/dts/exynos5250-arndale.dts
@@ -385,6 +385,7 @@
};
dwmmc_0: dwmmc0@12200000 {
+ status = "okay";
num-slots = <1>;
supports-highspeed;
broken-cd;
@@ -403,11 +404,8 @@
};
};
- dwmmc_1: dwmmc1@12210000 {
- status = "disabled";
- };
-
dwmmc_2: dwmmc2@12220000 {
+ status = "okay";
num-slots = <1>;
supports-highspeed;
fifo-depth = <0x80>;
@@ -426,10 +424,6 @@
};
};
- dwmmc_3: dwmmc3@12230000 {
- status = "disabled";
- };
-
i2s0: i2s@03830000 {
status = "okay";
};
diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts
index f86d56760a45..78ecc7510c2b 100644
--- a/arch/arm/boot/dts/exynos5250-smdk5250.dts
+++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts
@@ -141,6 +141,7 @@
};
dwmmc0@12200000 {
+ status = "okay";
num-slots = <1>;
supports-highspeed;
broken-cd;
@@ -158,11 +159,8 @@
};
};
- dwmmc1@12210000 {
- status = "disabled";
- };
-
dwmmc2@12220000 {
+ status = "okay";
num-slots = <1>;
supports-highspeed;
fifo-depth = <0x80>;
@@ -180,10 +178,6 @@
};
};
- dwmmc3@12230000 {
- status = "disabled";
- };
-
spi_0: spi@12d20000 {
status = "disabled";
};
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index e613da11ce73..2507281141ef 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -400,6 +400,7 @@
reg = <0x12200000 0x1000>;
clocks = <&clock 280>, <&clock 139>;
clock-names = "biu", "ciu";
+ status = "disabled";
};
dwmmc_1: dwmmc1@12210000 {
@@ -410,6 +411,7 @@
reg = <0x12210000 0x1000>;
clocks = <&clock 281>, <&clock 140>;
clock-names = "biu", "ciu";
+ status = "disabled";
};
dwmmc_2: dwmmc2@12220000 {
@@ -420,6 +422,7 @@
reg = <0x12220000 0x1000>;
clocks = <&clock 282>, <&clock 141>;
clock-names = "biu", "ciu";
+ status = "disabled";
};
dwmmc_3: dwmmc3@12230000 {
@@ -430,6 +433,7 @@
#size-cells = <0>;
clocks = <&clock 283>, <&clock 142>;
clock-names = "biu", "ciu";
+ status = "disabled";
};
i2s0: i2s@03830000 {