File tree Expand file tree Collapse file tree 1 file changed +63
-0
lines changed
arch/arm64/boot/dts/amlogic Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Original file line number Diff line number Diff line change 8
8
* the pin-compatible S912 (GXM) or S905D (GXL) SoCs.
9
9
*/
10
10
11
+ #include <dt-bindings/sound/meson-aiu.h>
12
+
11
13
/ {
12
14
aliases {
13
15
serial0 = &uart_AO;
14
16
ethernet0 = ðmac;
15
17
};
16
18
19
+ spdif_dit: audio-codec-0 {
20
+ #sound-dai-cells = <0>;
21
+ compatible = "linux,spdif-dit";
22
+ status = "okay";
23
+ sound-name-prefix = "DIT";
24
+ };
25
+
17
26
chosen {
18
27
stdout-path = "serial0:115200n8";
19
28
};
102
111
};
103
112
};
104
113
};
114
+
115
+ sound {
116
+ compatible = "amlogic,gx-sound-card";
117
+ model = "GX-P230-Q200";
118
+ assigned-clocks = <&clkc CLKID_MPLL0>,
119
+ <&clkc CLKID_MPLL1>,
120
+ <&clkc CLKID_MPLL2>;
121
+ assigned-clock-parents = <0>, <0>, <0>;
122
+ assigned-clock-rates = <294912000>,
123
+ <270950400>,
124
+ <393216000>;
125
+ status = "okay";
126
+
127
+ dai-link-0 {
128
+ sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
129
+ };
130
+
131
+ dai-link-1 {
132
+ sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>;
133
+ };
134
+
135
+ dai-link-2 {
136
+ sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
137
+ dai-format = "i2s";
138
+ mclk-fs = <256>;
139
+
140
+ codec-0 {
141
+ sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
142
+ };
143
+ };
144
+
145
+ dai-link-3 {
146
+ sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>;
147
+
148
+ codec-0 {
149
+ sound-dai = <&spdif_dit>;
150
+ };
151
+ };
152
+
153
+ dai-link-4 {
154
+ sound-dai = <&aiu AIU_HDMI CTRL_OUT>;
155
+
156
+ codec-0 {
157
+ sound-dai = <&hdmi_tx>;
158
+ };
159
+ };
160
+ };
161
+ };
162
+
163
+ &aiu {
164
+ status = "okay";
165
+ pinctrl-0 = <&spdif_out_h_pins>;
166
+ pinctrl-names = "default";
167
+
105
168
};
106
169
107
170
&cec_AO {
You can’t perform that action at this time.
0 commit comments