]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: allwinner: a523: Add device nodes for I2S controllers
authorChen-Yu Tsai <wens@kernel.org>
Mon, 27 Oct 2025 12:56:48 +0000 (20:56 +0800)
committerChen-Yu Tsai <wens@kernel.org>
Tue, 28 Oct 2025 17:07:33 +0000 (01:07 +0800)
The A523 family of SoCs have four I2S controllers capable of both
playback and capture. The user manual also implies that I2S2 also
outputs to the eDP interface controller.

Add device nodes for all of them.

Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://patch.msgid.link/20251027125655.793277-8-wens@kernel.org
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi

index 33f991dbd00bf8b0e644c7932721038afd05907a..eea9ce83783c0cd4ea08d3ed3d97515eaefbaa41 100644 (file)
                        #reset-cells = <1>;
                };
 
+               i2s0: i2s@7112000 {
+                       compatible = "allwinner,sun55i-a523-i2s",
+                                    "allwinner,sun50i-r329-i2s";
+                       reg = <0x07112000 0x1000>;
+                       interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&mcu_ccu CLK_BUS_MCU_I2S0>, <&mcu_ccu CLK_MCU_I2S0>;
+                       clock-names = "apb", "mod";
+                       resets = <&mcu_ccu RST_BUS_MCU_I2S0>;
+                       dmas = <&mcu_dma 3>, <&mcu_dma 3>;
+                       dma-names = "rx", "tx";
+                       #sound-dai-cells = <0>;
+                       status = "disabled";
+               };
+
+               i2s1: i2s@7113000 {
+                       compatible = "allwinner,sun55i-a523-i2s",
+                                    "allwinner,sun50i-r329-i2s";
+                       reg = <0x07113000 0x1000>;
+                       interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&mcu_ccu CLK_BUS_MCU_I2S1>, <&mcu_ccu CLK_MCU_I2S1>;
+                       clock-names = "apb", "mod";
+                       resets = <&mcu_ccu RST_BUS_MCU_I2S1>;
+                       dmas = <&mcu_dma 4>, <&mcu_dma 4>;
+                       dma-names = "rx", "tx";
+                       #sound-dai-cells = <0>;
+                       status = "disabled";
+               };
+
+               i2s2: i2s@7114000 {
+                       compatible = "allwinner,sun55i-a523-i2s",
+                                    "allwinner,sun50i-r329-i2s";
+                       reg = <0x07114000 0x1000>;
+                       interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&mcu_ccu CLK_BUS_MCU_I2S2>, <&mcu_ccu CLK_MCU_I2S2>;
+                       clock-names = "apb", "mod";
+                       resets = <&mcu_ccu RST_BUS_MCU_I2S2>;
+                       dmas = <&mcu_dma 5>, <&mcu_dma 5>;
+                       dma-names = "rx", "tx";
+                       #sound-dai-cells = <0>;
+                       status = "disabled";
+               };
+
+               i2s3: i2s@7115000 {
+                       compatible = "allwinner,sun55i-a523-i2s",
+                                    "allwinner,sun50i-r329-i2s";
+                       reg = <0x07115000 0x1000>;
+                       interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&mcu_ccu CLK_BUS_MCU_I2S3>, <&mcu_ccu CLK_MCU_I2S3>;
+                       clock-names = "apb", "mod";
+                       resets = <&mcu_ccu RST_BUS_MCU_I2S3>;
+                       dmas = <&mcu_dma 6>, <&mcu_dma 6>;
+                       dma-names = "rx", "tx";
+                       #sound-dai-cells = <0>;
+                       status = "disabled";
+               };
+
                spdif: spdif@7116000 {
                        compatible = "allwinner,sun55i-a523-spdif";
                        reg = <0x07116000 0x400>;