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
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.
57 - $ref: dai-common.yaml#
63 - allwinner,sun6i-a31-spdif
64 - allwinner,sun8i-h3-spdif
75 - allwinner,sun8i-h3-spdif
76 - allwinner,sun50i-h6-spdif
81 description: TX DMA Channel
90 - description: RX DMA Channel
91 - description: TX DMA Channel
108 unevaluatedProperties: false
112 spdif: spdif@1c21000 {
113 #sound-dai-cells = <0>;
114 compatible = "allwinner,sun4i-a10-spdif";
115 reg = <0x01c21000 0x40>;
117 clocks = <&apb0_gates 1>, <&spdif_clk>;
118 clock-names = "apb", "spdif";
119 dmas = <&dma 0 2>, <&dma 0 2>;
120 dma-names = "rx", "tx";