1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/allwinner,sun4i-a10-i2s.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 I2S Controller Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
19 - const: allwinner,sun4i-a10-i2s
20 - const: allwinner,sun6i-a31-i2s
21 - const: allwinner,sun8i-a83t-i2s
22 - const: allwinner,sun8i-h3-i2s
23 - const: allwinner,sun50i-a64-codec-i2s
25 - const: allwinner,sun50i-a64-i2s
26 - const: allwinner,sun8i-h3-i2s
36 - description: Bus Clock
37 - description: Module Clock
44 # Even though it only applies to subschemas under the conditionals,
45 # not listing them here will trigger a warning because of the
46 # additionalsProperties set to false.
58 - allwinner,sun6i-a31-i2s
59 - allwinner,sun8i-a83t-i2s
60 - allwinner,sun8i-h3-i2s
61 - allwinner,sun50i-a64-codec-i2s
71 const: allwinner,sun8i-a83t-i2s
79 - description: RX DMA Channel
80 - description: TX DMA Channel
82 Some controllers cannot receive but can only transmit
83 data. In such a case, the RX DMA channel is to be omitted.
92 Some controllers cannot receive but can only transmit
93 data. In such a case, the RX name is to be omitted.
99 - description: RX DMA Channel
100 - description: TX DMA Channel
117 additionalProperties: false
122 #sound-dai-cells = <0>;
123 compatible = "allwinner,sun4i-a10-i2s";
124 reg = <0x01c22400 0x400>;
125 interrupts = <0 16 4>;
126 clocks = <&apb0_gates 3>, <&i2s0_clk>;
127 clock-names = "apb", "mod";
128 dmas = <&dma 0 3>, <&dma 0 3>;
129 dma-names = "rx", "tx";