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
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
17 const: allwinner,sun8i-a23-prcm
23 "^.*(clk|rst|codec).*$":
25 unevaluatedProperties: false
31 - allwinner,sun8i-a23-apb0-clk
32 - allwinner,sun8i-a23-apb0-gates-clk
33 - allwinner,sun6i-a31-clock-reset
34 - allwinner,sun8i-a23-codec-analog
44 const: fixed-factor-clock
47 $ref: /schemas/clock/fixed-factor-clock.yaml#
53 const: allwinner,sun8i-a23-apb0-clk
60 # Already checked in the main schema
77 additionalProperties: false
83 const: allwinner,sun8i-a23-apb0-gates-clk
90 This additional argument passed to that clock is the
91 offset of the bit controlling this particular gate in
94 # Already checked in the main schema
112 additionalProperties: false
118 const: allwinner,sun6i-a31-clock-reset
125 # Already checked in the main schema
134 additionalProperties: false
140 const: allwinner,sun8i-a23-codec-analog
144 # Already checked in the main schema
152 additionalProperties: false
158 additionalProperties: false
163 compatible = "allwinner,sun8i-a23-prcm";
164 reg = <0x01f01400 0x200>;
167 compatible = "fixed-factor-clock";
172 clock-output-names = "ar100";
176 compatible = "fixed-factor-clock";
181 clock-output-names = "ahb0";
185 compatible = "allwinner,sun8i-a23-apb0-clk";
188 clock-output-names = "apb0";
191 apb0_gates: apb0_gates_clk {
192 compatible = "allwinner,sun8i-a23-apb0-gates-clk";
195 clock-output-names = "apb0_pio", "apb0_timer",
196 "apb0_rsb", "apb0_uart",
201 compatible = "allwinner,sun6i-a31-clock-reset";
205 codec_analog: codec-analog {
206 compatible = "allwinner,sun8i-a23-codec-analog";