diff mbox

[U-Boot,2/4] DTS: Addition of I2S0 channel and replacing I2S1

Message ID 1374558543-21163-2-git-send-email-krishna.md@samsung.com
State Superseded
Delegated to: Minkyu Kang
Headers show

Commit Message

Dani Krishna Mohan July 23, 2013, 5:49 a.m. UTC
This patch enables default I2S0 channel and replaces I2S1.
I2S platform parameter has been moved to a common file viz
exynos5.dtsi.

Signed-off-by: Dani Krishna Mohan <krishna.md@samsung.com>
---
 arch/arm/dts/exynos5250.dtsi              |   10 ++++++++--
 board/samsung/dts/exynos5250-smdk5250.dts |    8 +-------
 board/samsung/dts/exynos5250-snow.dts     |    6 ------
 3 files changed, 9 insertions(+), 15 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/dts/exynos5250.dtsi b/arch/arm/dts/exynos5250.dtsi
index 4fff5e3..da7ce24 100644
--- a/arch/arm/dts/exynos5250.dtsi
+++ b/arch/arm/dts/exynos5250.dtsi
@@ -93,9 +93,15 @@ 
 		interrupts = <0 63 0>;
 	};
 
-	sound@12d60000 {
+	sound@3830000 {
 		compatible = "samsung,exynos-sound";
-		reg = <0x12d60000 0x20>;
+		reg = <0x3830000 0x50>;
+		samsung,i2s-epll-clock-frequency = <192000000>;
+		samsung,i2s-sampling-rate = <48000>;
+		samsung,i2s-bits-per-sample = <16>;
+		samsung,i2s-channels = <2>;
+		samsung,i2s-lr-clk-framesize = <256>;
+		samsung,i2s-bit-clk-framesize = <32>;
 	};
 
 	spi@12d20000 {
diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts
index 80ffe30..0067130 100644
--- a/board/samsung/dts/exynos5250-smdk5250.dts
+++ b/board/samsung/dts/exynos5250-smdk5250.dts
@@ -49,13 +49,7 @@ 
 		};
 	};
 
-	sound@12d60000 {
-		samsung,i2s-epll-clock-frequency = <192000000>;
-		samsung,i2s-sampling-rate = <48000>;
-		samsung,i2s-bits-per-sample = <16>;
-		samsung,i2s-channels = <2>;
-		samsung,i2s-lr-clk-framesize = <256>;
-		samsung,i2s-bit-clk-framesize = <32>;
+	sound@3830000 {
 		samsung,codec-type = "wm8994";
 	};
 
diff --git a/board/samsung/dts/exynos5250-snow.dts b/board/samsung/dts/exynos5250-snow.dts
index dca3386..d0407b5 100644
--- a/board/samsung/dts/exynos5250-snow.dts
+++ b/board/samsung/dts/exynos5250-snow.dts
@@ -66,12 +66,6 @@ 
 	};
 
 	sound@12d60000 {
-		samsung,i2s-epll-clock-frequency = <192000000>;
-		samsung,i2s-sampling-rate = <48000>;
-		samsung,i2s-bits-per-sample = <16>;
-		samsung,i2s-channels = <2>;
-		samsung,i2s-lr-clk-framesize = <256>;
-		samsung,i2s-bit-clk-framesize = <32>;
 		samsung,codec-type = "max98095";
 	};