summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rk3288-rock2-square.dts
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2015-10-08 15:31:18 +0200
committerHeiko Stuebner <heiko@sntech.de>2015-10-13 10:59:18 +0200
commitfea37552600872368a23019aef4bf8c09e0f0380 (patch)
tree9d6d86ce8ca7826be2e2eee4b6b9bd4355a2befd /arch/arm/boot/dts/rk3288-rock2-square.dts
parentARM: dts: rockchip: Add SPDIF transceiver for RK3288 (diff)
downloadlinux-fea37552600872368a23019aef4bf8c09e0f0380.tar.xz
linux-fea37552600872368a23019aef4bf8c09e0f0380.zip
ARM: dts: rockchip: Add SPDIF optical out on Radxa Rock2 Square
Enable the SPDIF optical output on Radxa Rock2 square boards Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3288-rock2-square.dts')
-rw-r--r--arch/arm/boot/dts/rk3288-rock2-square.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3288-rock2-square.dts b/arch/arm/boot/dts/rk3288-rock2-square.dts
index d5f6f2665e6c..8af35c867a80 100644
--- a/arch/arm/boot/dts/rk3288-rock2-square.dts
+++ b/arch/arm/boot/dts/rk3288-rock2-square.dts
@@ -49,6 +49,20 @@
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 @@
};
};
+&spdif {
+ status = "okay";
+};
+
&uart2 {
status = "okay";
};