ARM: dts: suniv: f1c100s: Add support for Audio Codec

Allwinner suniv F1C100s now has basic audio codec support. Enable it
under device tree.

Signed-off-by: Mesih Kilinc <mesihkilinc@gmail.com>
[ csokas.bence: Rebased on current master ]
Signed-off-by: Csókás, Bence <csokas.bence@prolan.hu>
Link: https://patch.msgid.link/20241123123900.2656837-5-csokas.bence@prolan.hu
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
This commit is contained in:
Mesih Kilinc
2024-11-23 13:39:04 +01:00
committed by Chen-Yu Tsai
parent 7336701f64
commit 95b570f7de

View File

@@ -336,5 +336,19 @@ uart2: serial@1c25800 {
resets = <&ccu RST_BUS_UART2>;
status = "disabled";
};
codec: codec@1c23c00 {
#sound-dai-cells = <0>;
compatible = "allwinner,suniv-f1c100s-codec";
reg = <0x01c23c00 0x400>;
interrupts = <21>;
clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_CODEC>;
clock-names = "apb", "codec";
dmas = <&dma SUN4I_DMA_NORMAL 12>,
<&dma SUN4I_DMA_NORMAL 12>;
dma-names = "rx", "tx";
resets = <&ccu RST_BUS_CODEC>;
status = "disabled";
};
};
};