aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-12-04 20:33:10 -0500
committerSimon Horman <horms+renesas@verge.net.au>2013-12-12 07:07:37 -0500
commit3c2a87c85391272b098827e432813c9437e93992 (patch)
treec8753fe0f03156cc309611861bcab86d3619ece8
parent63b1303d1922f7660bd9e90da56dfbf93134c5aa (diff)
ARM: shmobile: kzm9g: add FSI support for DTS
This patch support FSI-AK4648 with simple audio card Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/boot/dts/sh73a0-kzm9g-reference.dts33
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
index 5bb593daab52..eb8886b535e4 100644
--- a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
+++ b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
@@ -152,6 +152,20 @@
152 label = "SW1"; 152 label = "SW1";
153 }; 153 };
154 }; 154 };
155
156 sound {
157 compatible = "simple-audio-card";
158 simple-audio-card,format = "left_j";
159 simple-audio-card,cpu {
160 sound-dai = <&sh_fsi2 0>;
161 };
162 simple-audio-card,codec {
163 sound-dai = <&ak4648>;
164 bitclock-master;
165 frame-master;
166 system-clock-frequency = <11289600>;
167 };
168 };
155}; 169};
156 170
157&i2c0 { 171&i2c0 {
@@ -226,6 +240,12 @@
226 }; 240 };
227 }; 241 };
228 }; 242 };
243
244 ak4648: ak4648@0x12 {
245 #sound-dai-cells = <0>;
246 compatible = "asahi-kasei,ak4648";
247 reg = <0x12>;
248 };
229}; 249};
230 250
231&i2c3 { 251&i2c3 {
@@ -289,6 +309,12 @@
289 renesas,groups = "sdhi2_data4", "sdhi2_ctrl"; 309 renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
290 renesas,function = "sdhi2"; 310 renesas,function = "sdhi2";
291 }; 311 };
312
313 fsia_pins: sounda {
314 renesas,groups = "fsia_mclk_in", "fsia_sclk_in",
315 "fsia_data_in", "fsia_data_out";
316 renesas,function = "fsia";
317 };
292}; 318};
293 319
294&sdhi0 { 320&sdhi0 {
@@ -309,3 +335,10 @@
309 broken-cd; 335 broken-cd;
310 status = "okay"; 336 status = "okay";
311}; 337};
338
339&sh_fsi2 {
340 pinctrl-0 = <&fsia_pins>;
341 pinctrl-names = "default";
342
343 status = "okay";
344};