File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
arch/arm64/boot/dts/amlogic Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 8
8
9
9
#include <dt-bindings/input/input.h>
10
10
#include <dt-bindings/leds/common.h>
11
+ #include <dt-bindings/sound/meson-aiu.h>
11
12
12
13
/ {
13
14
adc-keys {
175
176
regulator-settling-time-up-us = <200>;
176
177
regulator-settling-time-down-us = <50000>;
177
178
};
179
+
180
+ sound {
181
+ compatible = "amlogic,gx-sound-card";
182
+ model = "GXL-LIBRETECH-S9XX-PC";
183
+ assigned-clocks = <&clkc CLKID_MPLL0>,
184
+ <&clkc CLKID_MPLL1>,
185
+ <&clkc CLKID_MPLL2>;
186
+ assigned-clock-parents = <0>, <0>, <0>;
187
+ assigned-clock-rates = <294912000>,
188
+ <270950400>,
189
+ <393216000>;
190
+ status = "okay";
191
+
192
+ dai-link-0 {
193
+ sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
194
+ };
195
+
196
+ dai-link-1 {
197
+ sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
198
+ dai-format = "i2s";
199
+ mclk-fs = <256>;
200
+
201
+ codec-0 {
202
+ sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
203
+ };
204
+ };
205
+
206
+ dai-link-2 {
207
+ sound-dai = <&aiu AIU_HDMI CTRL_OUT>;
208
+
209
+ codec-0 {
210
+ sound-dai = <&hdmi_tx>;
211
+ };
212
+ };
213
+ };
214
+ };
215
+
216
+ &aiu {
217
+ status = "okay";
178
218
};
179
219
180
220
&cec_AO {
You can’t perform that action at this time.
0 commit comments