diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-12-03 20:28:59 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-12-10 03:27:22 -0500 |
commit | 6a3549d464bf8dc05ab87eab0f3ed2da0dbc5379 (patch) | |
tree | e424bcd627523bb37cc3804661c569bcdbd5e8a0 | |
parent | efcd869b7c5ef0cff5887842afe2c184e509807a (diff) |
ARM: shmobile: armadillo: add FSI support for DTS
This patch support FSI-WM8978 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/r8a7740-armadillo800eva-reference.dts | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts index 7b80f19129e3..6d6fd3dff2d3 100644 --- a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | |||
@@ -87,6 +87,24 @@ | |||
87 | pinctrl-0 = <&backlight_pins>; | 87 | pinctrl-0 = <&backlight_pins>; |
88 | pinctrl-names = "default"; | 88 | pinctrl-names = "default"; |
89 | }; | 89 | }; |
90 | |||
91 | sound { | ||
92 | compatible = "simple-audio-card"; | ||
93 | |||
94 | simple-audio-card,format = "i2s"; | ||
95 | |||
96 | simple-audio-card,cpu { | ||
97 | sound-dai = <&sh_fsi2 0>; | ||
98 | bitclock-inversion; | ||
99 | }; | ||
100 | |||
101 | simple-audio-card,codec { | ||
102 | sound-dai = <&wm8978>; | ||
103 | bitclock-master; | ||
104 | frame-master; | ||
105 | system-clock-frequency = <12288000>; | ||
106 | }; | ||
107 | }; | ||
90 | }; | 108 | }; |
91 | 109 | ||
92 | &i2c0 { | 110 | &i2c0 { |
@@ -100,6 +118,12 @@ | |||
100 | pinctrl-names = "default"; | 118 | pinctrl-names = "default"; |
101 | gpios = <&pfc 166 GPIO_ACTIVE_LOW>; | 119 | gpios = <&pfc 166 GPIO_ACTIVE_LOW>; |
102 | }; | 120 | }; |
121 | |||
122 | wm8978: wm8978@1a { | ||
123 | #sound-dai-cells = <0>; | ||
124 | compatible = "wlf,wm8978"; | ||
125 | reg = <0x1a>; | ||
126 | }; | ||
103 | }; | 127 | }; |
104 | 128 | ||
105 | &pfc { | 129 | &pfc { |
@@ -130,6 +154,12 @@ | |||
130 | renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_wp"; | 154 | renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_wp"; |
131 | renesas,function = "sdhi0"; | 155 | renesas,function = "sdhi0"; |
132 | }; | 156 | }; |
157 | |||
158 | fsia_pins: sounda { | ||
159 | renesas,groups = "fsia_sclk_in", "fsia_mclk_out", | ||
160 | "fsia_data_in_1", "fsia_data_out_0"; | ||
161 | renesas,function = "fsia"; | ||
162 | }; | ||
133 | }; | 163 | }; |
134 | 164 | ||
135 | &tpu { | 165 | &tpu { |
@@ -156,3 +186,10 @@ | |||
156 | cd-gpios = <&pfc 167 GPIO_ACTIVE_LOW>; | 186 | cd-gpios = <&pfc 167 GPIO_ACTIVE_LOW>; |
157 | status = "okay"; | 187 | status = "okay"; |
158 | }; | 188 | }; |
189 | |||
190 | &sh_fsi2 { | ||
191 | pinctrl-0 = <&fsia_pins>; | ||
192 | pinctrl-names = "default"; | ||
193 | |||
194 | status = "okay"; | ||
195 | }; | ||