aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Cooper <[email protected]>2018-01-29 10:19:00 +0100
committerMaxime Ripard <[email protected]>2018-02-14 13:18:43 +0100
commit78e071370a86473f25923e03b51cbbadacf8be0f (patch)
tree466424d4a7e99c4931dd3c1200cfe8aa265c1aec
parentb399d2aca7e2ea4dd7dcc6e079d89e65d16bd331 (diff)
arm64: dts: allwinner: a64: Add SPDIF to the A64
Add the device tree sound bindings for the S/PDIF block. Signed-off-by: Marcus Cooper <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 43c54a2133f0..b9e69657a2e8 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -112,6 +112,24 @@
method = "smc";
};
+ sound_spdif {
+ 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";
+ };
+
timer {
compatible = "arm,armv8-timer";
interrupts = <GIC_PPI 13