diff options
author | Chen-Yu Tsai <wens@csie.org> | 2017-05-22 14:25:52 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-05-22 09:26:46 +0200 |
commit | beea147ecdc3bcf3d6cf6006a65e00cc29c27f73 (patch) | |
tree | f6ea190b222d51f6e53697ed94e57e929e226196 /arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts | |
parent | 54f3b7f051d6467b8eaccaf0abee4669785a1b31 (diff) | |
download | linux-beea147ecdc3bcf3d6cf6006a65e00cc29c27f73.tar.bz2 |
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.dts | 22 |
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 { |