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

ARM: dts: rockchip: Add SPDIF optical out on Radxa Rock

This enables the SPDIF optical audio output on the Radxa Rock
Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 39b37ce2
...@@ -90,6 +90,21 @@ sleep { ...@@ -90,6 +90,21 @@ sleep {
}; };
}; };
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>;
};
ir_recv: gpio-ir-receiver { ir_recv: gpio-ir-receiver {
compatible = "gpio-ir-receiver"; compatible = "gpio-ir-receiver";
gpios = <&gpio0 10 1>; gpios = <&gpio0 10 1>;
...@@ -345,6 +360,10 @@ otg_vbus_drv: otg-vbus-drv { ...@@ -345,6 +360,10 @@ otg_vbus_drv: otg-vbus-drv {
}; };
}; };
&spdif {
status = "okay";
};
&uart0 { &uart0 {
status = "okay"; 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