1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/sound/allwinner,sun4i-a10-spdif.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 S/PDIF Controller Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Liam Girdwood <lgirdwood@gmail.com>
12 - Mark Brown <broonie@kernel.org>
13 - Maxime Ripard <mripard@kernel.org>
21 - const: allwinner,sun4i-a10-spdif
22 - const: allwinner,sun6i-a31-spdif
23 - const: allwinner,sun8i-h3-spdif
24 - const: allwinner,sun50i-h6-spdif
26 - const: allwinner,sun8i-a83t-spdif
27 - const: allwinner,sun8i-h3-spdif
29 - const: allwinner,sun50i-a64-spdif
30 - const: allwinner,sun8i-h3-spdif
40 - description: Bus Clock
41 - description: Module Clock
48 # Even though it only applies to subschemas under the conditionals,
49 # not listing them here will trigger a warning because of the
50 # additionalsProperties set to false.
62 - allwinner,sun6i-a31-spdif
63 - allwinner,sun8i-h3-spdif
74 - allwinner,sun8i-h3-spdif
75 - allwinner,sun50i-h6-spdif
80 description: TX DMA Channel
89 - description: RX DMA Channel
90 - description: TX DMA Channel
107 additionalProperties: false
111 spdif: spdif@1c21000 {
112 #sound-dai-cells = <0>;
113 compatible = "allwinner,sun4i-a10-spdif";
114 reg = <0x01c21000 0x40>;
116 clocks = <&apb0_gates 1>, <&spdif_clk>;
117 clock-names = "apb", "spdif";
118 dmas = <&dma 0 2>, <&dma 0 2>;
119 dma-names = "rx", "tx";