1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/sound/amlogic,aiu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic AIU audio output controller
10 - Jerome Brunet <jbrunet@baylibre.com>
14 pattern: "^audio-controller@.*"
30 - description: AIU peripheral clock
31 - description: I2S peripheral clock
32 - description: I2S output clock
33 - description: I2S master clock
34 - description: I2S mixer clock
35 - description: SPDIF peripheral clock
36 - description: SPDIF output clock
37 - description: SPDIF master clock
38 - description: SPDIF master clock multiplexer
50 - const: spdif_mclk_sel
54 - description: I2S interrupt line
55 - description: SPDIF interrupt line
78 additionalProperties: false
82 #include <dt-bindings/clock/gxbb-clkc.h>
83 #include <dt-bindings/interrupt-controller/irq.h>
84 #include <dt-bindings/interrupt-controller/arm-gic.h>
85 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h>
87 aiu: audio-controller@5400 {
88 compatible = "amlogic,aiu-gxl", "amlogic,aiu";
89 #sound-dai-cells = <2>;
91 interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>,
92 <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
93 interrupt-names = "i2s", "spdif";
94 clocks = <&clkc CLKID_AIU_GLUE>,
95 <&clkc CLKID_I2S_OUT>,
96 <&clkc CLKID_AOCLK_GATE>,
97 <&clkc CLKID_CTS_AMCLK>,
98 <&clkc CLKID_MIXER_IFACE>,
100 <&clkc CLKID_IEC958_GATE>,
101 <&clkc CLKID_CTS_MCLK_I958>,
102 <&clkc CLKID_CTS_I958>;
103 clock-names = "pclk",
112 resets = <&reset RESET_AIU>;