diff mbox

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

Message ID 1375598683-3174-3-git-send-email-krishna.md@samsung.com
State Changes Requested
Delegated to: Minkyu Kang
Headers show

Commit Message

Dani Krishna Mohan Aug. 4, 2013, 6:44 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>
---
changes in V2:
	- None
 arch/arm/dts/exynos5250.dtsi              |   10 ++++++++--
 board/samsung/dts/exynos5250-smdk5250.dts |    8 +-------
 board/samsung/dts/exynos5250-snow.dts     |    8 +-------
 3 files changed, 10 insertions(+), 16 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..9e258fd 100644
--- a/board/samsung/dts/exynos5250-snow.dts
+++ b/board/samsung/dts/exynos5250-snow.dts
@@ -65,13 +65,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 = "max98095";
 	};