Commit fea37552 authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Heiko Stuebner

ARM: dts: rockchip: Add SPDIF optical out on Radxa Rock2 Square

Enable the SPDIF optical output on Radxa Rock2 square boards
Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 874e568e
......@@ -49,6 +49,20 @@ chosen {
stdout-path = "serial2:115200n8";
};
sound {
compatible = "simple-audio-card";
simple-audio-card,name = "SPDIF";
simple-audio-card,dai-link@1 { /* S/PDIF - S/PDIF */
cpu { sound-dai = <&spdif>; };
codec { sound-dai = <&spdif_out>; };
};
};
spdif_out: spdif-out {
compatible = "linux,spdif-dit";
#sound-dai-cells = <0>;
};
vcc_usb_host: vcc-host-regulator {
compatible = "regulator-fixed";
enable-active-high;
......@@ -136,6 +150,10 @@ sdmmc_pwr: sdmmc-pwr {
};
};
&spdif {
status = "okay";
};
&uart2 {
status = "okay";
};
......
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