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>
13 - $ref: dai-common.yaml#
17 pattern: "^audio-controller@.*"
33 - description: AIU peripheral clock
34 - description: I2S peripheral clock
35 - description: I2S output clock
36 - description: I2S master clock
37 - description: I2S mixer clock
38 - description: SPDIF peripheral clock
39 - description: SPDIF output clock
40 - description: SPDIF master clock
41 - description: SPDIF master clock multiplexer
53 - const: spdif_mclk_sel
57 - description: I2S interrupt line
58 - description: SPDIF interrupt line
71 sound-name-prefix: true
83 additionalProperties: false
87 #include <dt-bindings/clock/gxbb-clkc.h>
88 #include <dt-bindings/interrupt-controller/irq.h>
89 #include <dt-bindings/interrupt-controller/arm-gic.h>
90 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h>
92 aiu: audio-controller@5400 {
93 compatible = "amlogic,aiu-gxl", "amlogic,aiu";
94 #sound-dai-cells = <2>;
96 interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>,
97 <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
98 interrupt-names = "i2s", "spdif";
99 clocks = <&clkc CLKID_AIU_GLUE>,
100 <&clkc CLKID_I2S_OUT>,
101 <&clkc CLKID_AOCLK_GATE>,
102 <&clkc CLKID_CTS_AMCLK>,
103 <&clkc CLKID_MIXER_IFACE>,
104 <&clkc CLKID_IEC958>,
105 <&clkc CLKID_IEC958_GATE>,
106 <&clkc CLKID_CTS_MCLK_I958>,
107 <&clkc CLKID_CTS_I958>;
108 clock-names = "pclk",
117 resets = <&reset RESET_AIU>;