Commit 7ab91acd authored by Nicolas Frattaroli's avatar Nicolas Frattaroli Committed by Heiko Stuebner

arm64: dts: rockchip: enable spdif on Quartz64 A

Add the necessary nodes to enable the spdif output on the
RK3566-Quartz-A board.
Co-developed-by: default avatarPeter Geis <pgwipeout@gmail.com>
Signed-off-by: default avatarPeter Geis <pgwipeout@gmail.com>
Signed-off-by: default avatarNicolas Frattaroli <frattaroli.nicolas@gmail.com>
Link: https://lore.kernel.org/r/20211015111303.1365328-2-frattaroli.nicolas@gmail.comSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent a65e6523
......@@ -58,6 +58,24 @@ led-diy {
};
};
spdif_dit: spdif-dit {
compatible = "linux,spdif-dit";
#sound-dai-cells = <0>;
};
spdif_sound: spdif-sound {
compatible = "simple-audio-card";
simple-audio-card,name = "SPDIF";
simple-audio-card,cpu {
sound-dai = <&spdif>;
};
simple-audio-card,codec {
sound-dai = <&spdif_dit>;
};
};
vcc12v_dcin: vcc12v_dcin {
compatible = "regulator-fixed";
regulator-name = "vcc12v_dcin";
......@@ -458,6 +476,10 @@ &sdmmc0 {
status = "okay";
};
&spdif {
status = "okay";
};
&tsadc {
/* tshut mode 0:CRU 1:GPIO */
rockchip,hw-tshut-mode = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment