ARM: dts: sun8i-h3: Add the SPDIF block to the H3
authorMarcus Cooper <codekipper@gmail.com>
Fri, 27 Jan 2017 15:48:07 +0000 (16:48 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 27 Jan 2017 20:09:56 +0000 (21:09 +0100)
Add the SPDIF transceiver controller block to the H3 dtsi.

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

index 6e250bd..48f9a04 100644 (file)
                        interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+               spdif: spdif@01c21000 {
+                       #sound-dai-cells = <0>;
+                       compatible = "allwinner,sun8i-h3-spdif";
+                       reg = <0x01c21000 0x400>;
+                       interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>;
+                       resets = <&ccu RST_BUS_SPDIF>;
+                       clock-names = "apb", "spdif";
+                       dmas = <&dma 2>;
+                       dma-names = "tx";
+                       status = "disabled";
+               };
+
                pwm: pwm@01c21400 {
                        compatible = "allwinner,sun8i-h3-pwm";
                        reg = <0x01c21400 0x8>;