1 # SPDX-License-Identifier: GPL-2.0+
4 $id: http://devicetree.org/schemas/mfd/allwinner,sun8i-a23-prcm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A23 PRCM Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
17 const: allwinner,sun8i-a23-prcm
23 "^.*(clk|rst|codec).*$":
30 - allwinner,sun8i-a23-apb0-clk
31 - allwinner,sun8i-a23-apb0-gates-clk
32 - allwinner,sun6i-a31-clock-reset
33 - allwinner,sun8i-a23-codec-analog
43 const: allwinner,sun8i-a23-apb0-clk
50 # Already checked in the main schema
67 additionalProperties: false
73 const: allwinner,sun8i-a23-apb0-gates-clk
80 This additional argument passed to that clock is the
81 offset of the bit controlling this particular gate in
84 # Already checked in the main schema
102 additionalProperties: false
108 const: allwinner,sun6i-a31-clock-reset
115 # Already checked in the main schema
124 additionalProperties: false
130 const: allwinner,sun8i-a23-codec-analog
134 # Already checked in the main schema
142 additionalProperties: false
148 additionalProperties: false
153 compatible = "allwinner,sun8i-a23-prcm";
154 reg = <0x01f01400 0x200>;
157 compatible = "fixed-factor-clock";
162 clock-output-names = "ar100";
166 compatible = "fixed-factor-clock";
171 clock-output-names = "ahb0";
175 compatible = "allwinner,sun8i-a23-apb0-clk";
178 clock-output-names = "apb0";
181 apb0_gates: apb0_gates_clk {
182 compatible = "allwinner,sun8i-a23-apb0-gates-clk";
185 clock-output-names = "apb0_pio", "apb0_timer",
186 "apb0_rsb", "apb0_uart",
191 compatible = "allwinner,sun6i-a31-clock-reset";
195 codec_analog: codec-analog {
196 compatible = "allwinner,sun8i-a23-codec-analog";