Skip to content

Commit c3625b7

Browse files
committed
ayufan: dts: rock64: fix sound nodes
1 parent b925693 commit c3625b7

File tree

1 file changed

+26
-12
lines changed

1 file changed

+26
-12
lines changed

arch/arm64/boot/dts/rockchip/rk3328-rock64.dts

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@
123123
spdif_dit: spdif-dit {
124124
compatible = "linux,spdif-dit";
125125
#sound-dai-cells = <0>;
126+
127+
port {
128+
dit_p0_0: endpoint {
129+
remote-endpoint = <&spdif_p0_0>;
130+
};
131+
};
126132
};
127133
};
128134

@@ -133,6 +139,12 @@
133139
&codec {
134140
mute-gpios = <&grf_gpio 0 GPIO_ACTIVE_LOW>;
135141
status = "okay";
142+
143+
port@0 {
144+
codec_p0_0: endpoint {
145+
remote-endpoint = <&i2s1_p0_0>;
146+
};
147+
};
136148
};
137149

138150
&cpu0 {
@@ -202,18 +214,6 @@
202214
status = "okay";
203215
};
204216

205-
&i2s0 {
206-
status = "okay";
207-
208-
i2s0_p0: port {
209-
i2s0_p0_0: endpoint {
210-
dai-format = "i2s";
211-
mclk-fs = <256>;
212-
remote-endpoint = <&hdmi_p0_0>;
213-
};
214-
};
215-
};
216-
217217
&i2c1 {
218218
status = "okay";
219219

@@ -339,6 +339,14 @@
339339

340340
&i2s1 {
341341
status = "okay";
342+
343+
i2s1_p0: port {
344+
i2s1_p0_0: endpoint {
345+
dai-format = "i2s";
346+
mclk-fs = <256>;
347+
remote-endpoint = <&codec_p0_0>;
348+
};
349+
};
342350
};
343351

344352
&io_domains {
@@ -391,6 +399,12 @@
391399
&spdif {
392400
pinctrl-0 = <&spdifm0_tx>;
393401
status = "okay";
402+
403+
spdif_p0: port {
404+
spdif_p0_0: endpoint {
405+
remote-endpoint = <&dit_p0_0>;
406+
};
407+
};
394408
};
395409

396410
&spi0 {

0 commit comments

Comments
 (0)