mips: dts: ingenic: x1000: Add AIC device tree node
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>
Tue, 9 May 2023 12:42:38 +0000 (13:42 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 23 May 2023 08:52:03 +0000 (10:52 +0200)
Add a node for the on-board I2S audio controller.

Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/ingenic/x1000.dtsi

index 42e69664efd93147b068adf9c8711757db54bedb..cc264cfff826e75043204631922250d86d81986d 100644 (file)
 
                status = "disabled";
        };
+
+       aic: audio-controller@10020000 {
+               compatible = "ingenic,x1000-i2s";
+               reg = <0x10020000 0x38>;
+
+               #sound-dai-cells = <0>;
+
+               interrupt-parent = <&intc>;
+               interrupts = <1>;
+
+               clocks = <&cgu X1000_CLK_AIC>,
+                        <&cgu X1000_CLK_I2S>;
+               clock-names = "aic", "i2s";
+
+               dmas = <&pdma X1000_DMA_I2S0_RX 0xffffffff>,
+                          <&pdma X1000_DMA_I2S0_TX 0xffffffff>;
+               dma-names = "rx", "tx";
+       };
 };