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
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
25 - const: allwinner,sun50i-h616-spdif
27 - const: allwinner,sun8i-a83t-spdif
28 - const: allwinner,sun8i-h3-spdif
30 - const: allwinner,sun50i-a64-spdif
31 - const: allwinner,sun8i-h3-spdif
41 - description: Bus Clock
42 - description: Module Clock
49 # Even though it only applies to subschemas under the conditionals,
50 # not listing them here will trigger a warning because of the
51 # additionalsProperties set to false.
58 - $ref: dai-common.yaml#
64 - allwinner,sun6i-a31-spdif
65 - allwinner,sun8i-h3-spdif
66 - allwinner,sun50i-h6-spdif
67 - allwinner,sun50i-h616-spdif
78 - allwinner,sun8i-h3-spdif
79 - allwinner,sun50i-h616-spdif
84 description: TX DMA Channel
93 - description: RX DMA Channel
94 - description: TX DMA Channel
111 unevaluatedProperties: false
115 spdif: spdif@1c21000 {
116 #sound-dai-cells = <0>;
117 compatible = "allwinner,sun4i-a10-spdif";
118 reg = <0x01c21000 0x40>;
120 clocks = <&apb0_gates 1>, <&spdif_clk>;
121 clock-names = "apb", "spdif";
122 dmas = <&dma 0 2>, <&dma 0 2>;
123 dma-names = "rx", "tx";