build/patch/kernel/meson64-current/0345-arm64-dts-meson-gx-add-audio-controller-nodes.patch

48 lines
1.3 KiB
Diff

diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
index 6772709..8238f55 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
@@ -225,6 +225,40 @@
#reset-cells = <1>;
};
+ aiu: bus@5400 {
+ compatible = "amlogic,aiu-bus", "syscon";
+ reg = <0x0 0x5400 0x0 0x2ac>;
+ status = "disabled";
+
+ i2s_fifo: audio-controller-0 {
+ compatible = "amlogic,aiu-i2s-fifo",
+ "amlogic,aiu-fifo";
+ sound-name-prefix = "I2S FIFO";
+ interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>;
+ #sound-dai-cells = <0>;
+ };
+
+ spdif_fifo: audio-controller-1 {
+ compatible = "amlogic,aiu-spdif-fifo",
+ "amlogic,aiu-fifo";
+ sound-name-prefix = "SPDIF FIFO";
+ interrupts = <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
+ #sound-dai-cells = <0>;
+ };
+
+ i2s_encoder: audio-controller-2 {
+ compatible = "amlogic,aiu-i2s-encode";
+ sound-name-prefix = "I2S ENCODER";
+ #sound-dai-cells = <0>;
+ };
+
+ spdif_encoder: audio-controller-3 {
+ compatible = "amlogic,aiu-spdif-encode";
+ sound-name-prefix = "SPDIF ENCODER";
+ #sound-dai-cells = <0>;
+ };
+ };
+
uart_A: serial@84c0 {
compatible = "amlogic,meson-gx-uart";
reg = <0x0 0x84c0 0x0 0x18>;
--
2.7.1