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

Dani Krishna Mohan krishna.md at samsung.com
Wed Aug 7 07:47:57 CEST 2013


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 at 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 --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 at 12d60000 {
+	sound at 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 at 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 at 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 at 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 at 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";
 	};
 
-- 
1.7.9.5



More information about the U-Boot mailing list