]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: sun6i: Add the SPDIF block to the A31
authorMarcus Cooper <codekipper@gmail.com>
Tue, 20 Dec 2016 10:40:37 +0000 (11:40 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 10 Jan 2017 17:52:46 +0000 (18:52 +0100)
Add the SPDIF transceiver controller block to the A31 dtsi.

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun6i-a31.dtsi

index 7370ba6c9993e912a40d1107a8a4502c9e755754..5eaa18ba0a2c6ffbbe1f968287d5389be8b2ac2a 100644 (file)
                        reg = <0x01c20ca0 0x20>;
                };
 
+               spdif: spdif@01c21000 {
+                       #sound-dai-cells = <0>;
+                       compatible = "allwinner,sun6i-a31-spdif";
+                       reg = <0x01c21000 0x400>;
+                       interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&ccu CLK_APB1_SPDIF>, <&ccu CLK_SPDIF>;
+                       resets = <&ccu RST_APB1_SPDIF>;
+                       clock-names = "apb", "spdif";
+                       dmas = <&dma 2>, <&dma 2>;
+                       dma-names = "rx", "tx";
+                       status = "disabled";
+               };
+
                lradc: lradc@01c22800 {
                        compatible = "allwinner,sun4i-a10-lradc-keys";
                        reg = <0x01c22800 0x100>;