ARM: dts: sun7i: Add SPDIF to the Itead Ibox
authorMarcus Cooper <codekipper@gmail.com>
Mon, 21 Mar 2016 20:01:06 +0000 (21:01 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 27 Mar 2016 14:15:04 +0000 (16:15 +0200)
Enable the S/PDIF transmitter that is present on the Itead Ibox.

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20-itead-ibox.dts

index 661c21d9bdbd5a3ca39bbca7b9cebabc08632a36..10d48cbf81ff2cce0c817b1560224661bb4c5bb7 100644 (file)
                        default-state = "on";
                };
        };
+
+       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";
+       };
 };
 
 &ahci {
 &reg_ahci_5v {
        status = "okay";
 };
+
+&spdif {
+       pinctrl-names = "default";
+       pinctrl-0 = <&spdif_tx_pins_a>;
+       status = "okay";
+};
This page took 0.02812 seconds and 5 git commands to generate.