summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2017-05-22 14:25:52 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-05-22 09:26:46 +0200
commitbeea147ecdc3bcf3d6cf6006a65e00cc29c27f73 (patch)
treef6ea190b222d51f6e53697ed94e57e929e226196 /arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
parent54f3b7f051d6467b8eaccaf0abee4669785a1b31 (diff)
downloadblackbird-obmc-linux-beea147ecdc3bcf3d6cf6006a65e00cc29c27f73.tar.gz
blackbird-obmc-linux-beea147ecdc3bcf3d6cf6006a65e00cc29c27f73.zip
ARM: sun8i: a83t: cubietruck-plus: Enable SPDIF output
The Cubietruck Plus has an optical SPDIF out connector. Enable SPDIF audio output for this board. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts b/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
index 9e10cc6f39d4..cff33454fc24 100644
--- a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
+++ b/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
@@ -82,6 +82,28 @@
gpios = <&pio 4 4 GPIO_ACTIVE_HIGH>; /* PE4 */
};
};
+
+ sound {
+ compatible = "simple-audio-card";
+ simple-audio-card,name = "On-board SPDIF";
+
+ simple-audio-card,cpu {
+ sound-dai = <&spdif>;
+ };
+
+ simple-audio-card,codec {
+ sound-dai = <&spdif_out>;
+ };
+ };
+
+ spdif_out: spdif-out {
+ #sound-dai-cells = <0>;
+ compatible = "linux,spdif-dit";
+ };
+};
+
+&spdif {
+ status = "okay";
};
&uart0 {
OpenPOWER on IntegriCloud