File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
arch/arm64/boot/dts/amlogic Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 30
30
spi0 = &spifc;
31
31
};
32
32
33
+ dio2133: analog-amplifier {
34
+ compatible = "simple-audio-amplifier";
35
+ sound-name-prefix = "AU2";
36
+ VCC-supply = <&vcc5v>;
37
+ enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
38
+ };
39
+
33
40
chosen {
34
41
stdout-path = "serial0:115200n8";
35
42
};
180
187
sound {
181
188
compatible = "amlogic,gx-sound-card";
182
189
model = "GXL-LIBRETECH-S9XX-PC";
190
+ audio-aux-devs = <&dio2133>;
191
+ audio-widgets = "Speaker", "7J4-14 LEFT",
192
+ "Speaker", "7J4-11 RIGHT";
193
+ audio-routing = "AU2 INL", "ACODEC LOLN",
194
+ "AU2 INR", "ACODEC LORN",
195
+ "7J4-14 LEFT", "AU2 OUTL",
196
+ "7J4-11 RIGHT", "AU2 OUTR";
183
197
assigned-clocks = <&clkc CLKID_MPLL0>,
184
198
<&clkc CLKID_MPLL1>,
185
199
<&clkc CLKID_MPLL2>;
201
215
codec-0 {
202
216
sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
203
217
};
218
+
219
+ codec-1 {
220
+ sound-dai = <&aiu AIU_ACODEC CTRL_I2S>;
221
+ };
204
222
};
205
223
206
224
dai-link-2 {
210
228
sound-dai = <&hdmi_tx>;
211
229
};
212
230
};
231
+
232
+ dai-link-3 {
233
+ sound-dai = <&aiu AIU_ACODEC CTRL_OUT>;
234
+
235
+ codec-0 {
236
+ sound-dai = <&acodec>;
237
+ };
238
+ };
213
239
};
214
240
};
215
241
242
+ &acodec {
243
+ AVDD-supply = <&vddio_ao18>;
244
+ status = "okay";
245
+ };
246
+
216
247
&aiu {
217
248
status = "okay";
218
249
};
You can’t perform that action at this time.
0 commit comments