arm64: dts: allwinner: a523: Enable SPDIF on X96QPRO+

The X96QPro+ TV box uses the PH7 pin for its SPDIF output.
Add the relevant bits to the dts now that the dtsi knows about the pin.

Signed-off-by: Per Larsson <per@palvencia.se>
Link: https://patch.msgid.link/20260720174253.7686-2-per@palvencia.se
[wens@kernel.org: reorder property order for spdif-out]
[wens@kernel.org: fix up commit message]
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
This commit is contained in:
Per Larsson 2026-07-20 19:42:43 +02:00 committed by Chen-Yu Tsai
parent 3683d4f690
commit 35ab380540

View File

@ -44,6 +44,24 @@ reg_vcc3v3: vcc3v3 {
vin-supply = <&reg_vcc5v>;
regulator-always-on;
};
sound-spdif {
compatible = "simple-audio-card";
simple-audio-card,name = "spdif-out";
simple-audio-card,cpu {
sound-dai = <&spdif>;
};
simple-audio-card,codec {
sound-dai = <&spdif_out>;
};
};
spdif_out: spdif-out {
compatible = "linux,spdif-dit";
#sound-dai-cells = <0>;
};
};
&ehci0 {
@ -281,6 +299,12 @@ &r_pio {
vcc-pm-supply = <&reg_aldo3>;
};
&spdif {
pinctrl-names = "default";
pinctrl-0 = <&spdif_out_ph_pin>;
status = "okay";
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pb_pins>;