[PATCH 1/2] ARM: dts: exynos: Move the dwmmc aliases from smdk5250 dts to exynos

Doug Anderson dianders at chromium.org
Tue Nov 20 12:22:30 EST 2012


The aliases for dwmmc were placed in the SMDK5250 dts file but really
should be common for all exynos5250 boards.  Move it to the common CPU
file.

Signed-off-by: Doug Anderson <dianders at chromium.org>

---
 arch/arm/boot/dts/exynos5250-smdk5250.dts |   12 ++++--------
 arch/arm/boot/dts/exynos5250.dtsi         |   12 ++++++++----
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts
index 405009c..541fe39 100644
--- a/arch/arm/boot/dts/exynos5250-smdk5250.dts
+++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts
@@ -17,10 +17,6 @@
 	compatible = "samsung,smdk5250", "samsung,exynos5250";
 
 	aliases {
-		mshc0 = &dwmmc_0;
-		mshc1 = &dwmmc_1;
-		mshc2 = &dwmmc_2;
-		mshc3 = &dwmmc_3;
 	};
 
 	memory {
@@ -97,7 +93,7 @@
 		};
 	};
 
-	dwmmc_0: dwmmc0 at 12200000 {
+	dwmmc0 at 12200000 {
 		num-slots = <1>;
 		supports-highspeed;
 		broken-cd;
@@ -118,11 +114,11 @@
 		};
 	};
 
-	dwmmc_1: dwmmc1 at 12210000 {
+	dwmmc1 at 12210000 {
 		status = "disabled";
 	};
 
-	dwmmc_2: dwmmc2 at 12220000 {
+	dwmmc2 at 12220000 {
 		num-slots = <1>;
 		supports-highspeed;
 		fifo-depth = <0x80>;
@@ -143,7 +139,7 @@
 		};
 	};
 
-	dwmmc_3: dwmmc3 at 12230000 {
+	dwmmc3 at 12230000 {
 		status = "disabled";
 	};
 
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index cf6a02d..7c5664b 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -31,6 +31,10 @@
 		gsc1 = &gsc_1;
 		gsc2 = &gsc_2;
 		gsc3 = &gsc_3;
+		mshc0 = &dwmmc_0;
+		mshc1 = &dwmmc_1;
+		mshc2 = &dwmmc_2;
+		mshc3 = &dwmmc_3;
 	};
 
 	gic:interrupt-controller at 10481000 {
@@ -206,7 +210,7 @@
 		#size-cells = <0>;
 	};
 
-	dwmmc0 at 12200000 {
+	dwmmc_0: dwmmc0 at 12200000 {
 		compatible = "samsung,exynos5250-dw-mshc";
 		reg = <0x12200000 0x1000>;
 		interrupts = <0 75 0>;
@@ -214,7 +218,7 @@
 		#size-cells = <0>;
 	};
 
-	dwmmc1 at 12210000 {
+	dwmmc_1: dwmmc1 at 12210000 {
 		compatible = "samsung,exynos5250-dw-mshc";
 		reg = <0x12210000 0x1000>;
 		interrupts = <0 76 0>;
@@ -222,7 +226,7 @@
 		#size-cells = <0>;
 	};
 
-	dwmmc2 at 12220000 {
+	dwmmc_2: dwmmc2 at 12220000 {
 		compatible = "samsung,exynos5250-dw-mshc";
 		reg = <0x12220000 0x1000>;
 		interrupts = <0 77 0>;
@@ -230,7 +234,7 @@
 		#size-cells = <0>;
 	};
 
-	dwmmc3 at 12230000 {
+	dwmmc_3: dwmmc3 at 12230000 {
 		compatible = "samsung,exynos5250-dw-mshc";
 		reg = <0x12230000 0x1000>;
 		interrupts = <0 78 0>;
-- 
1.7.7.3




More information about the linux-arm-kernel mailing list