]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: allwinner: a523: Add device node for SPDIF block
authorChen-Yu Tsai <wens@kernel.org>
Mon, 27 Oct 2025 12:56:47 +0000 (20:56 +0800)
committerChen-Yu Tsai <wens@kernel.org>
Tue, 28 Oct 2025 17:07:33 +0000 (01:07 +0800)
The A523 has a SPDIF interface that is capable of both playback and
capture.

Add a node for it.

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

index 8edbd38731997b8d4415dfda6c95720859aec74a..33f991dbd00bf8b0e644c7932721038afd05907a 100644 (file)
                        #reset-cells = <1>;
                };
 
+               spdif: spdif@7116000 {
+                       compatible = "allwinner,sun55i-a523-spdif";
+                       reg = <0x07116000 0x400>;
+                       interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&mcu_ccu CLK_BUS_MCU_SPDIF>,
+                                <&mcu_ccu CLK_MCU_SPDIF_TX>,
+                                <&mcu_ccu CLK_MCU_SPDIF_RX>;
+                       clock-names = "apb", "tx", "rx";
+                       resets = <&mcu_ccu RST_BUS_MCU_SPDIF>;
+                       dmas = <&mcu_dma 2>, <&mcu_dma 2>;
+                       dma-names = "rx", "tx";
+                       #sound-dai-cells = <0>;
+                       status = "disabled";
+               };
+
                mcu_dma: dma-controller@7121000 {
                        compatible = "allwinner,sun55i-a523-mcu-dma",
                                     "allwinner,sun50i-a100-dma";