1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/mfd/rockchip,rk809.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RK809 Power Management Integrated Circuit
10 - Chris Zhong <zyw@rock-chips.com>
11 - Zhang Qing <zhangqing@rock-chips.com>
14 Rockchip RK809 series PMIC. This device consists of an i2c controlled MFD
15 that includes regulators, an RTC, and power button.
30 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
36 From common clock binding to override the default output clock name.
38 rockchip,system-power-controller:
41 Telling whether or not this PMIC is controlling the system power.
46 Device can be used as a wakeup source.
50 The input supply for DCDC_REG1.
54 The input supply for DCDC_REG2.
58 The input supply for DCDC_REG3.
62 The input supply for DCDC_REG4.
66 The input supply for LDO_REG1, LDO_REG2, and LDO_REG3.
70 The input supply for LDO_REG4, LDO_REG5, and LDO_REG6.
74 The input supply for LDO_REG7, LDO_REG8, and LDO_REG9.
78 The input supply for SWITCH_REG1.
82 The input supply for DCDC_REG5 and SWITCH_REG2.
87 "^(LDO_REG[1-9]|DCDC_REG[1-5]|SWITCH_REG[1-2])$":
89 $ref: ../regulator/regulator.yaml#
90 unevaluatedProperties: false
114 additionalProperties: false
118 #include <dt-bindings/pinctrl/rockchip.h>
119 #include <dt-bindings/interrupt-controller/irq.h>
120 #include <dt-bindings/gpio/gpio.h>
122 #address-cells = <1>;
126 compatible = "rockchip,rk808";
129 clock-output-names = "xin32k", "rk808-clkout2";
130 interrupt-parent = <&gpio3>;
131 interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
132 pinctrl-names = "default";
133 pinctrl-0 = <&pmic_int_l_pin>;
134 rockchip,system-power-controller;
137 vcc1-supply = <&vcc_sysin>;
138 vcc2-supply = <&vcc_sysin>;
139 vcc3-supply = <&vcc_sysin>;
140 vcc4-supply = <&vcc_sysin>;
141 vcc6-supply = <&vcc_sysin>;
142 vcc7-supply = <&vcc_sysin>;
143 vcc8-supply = <&vcc3v3_sys>;
144 vcc9-supply = <&vcc_sysin>;
145 vcc10-supply = <&vcc_sysin>;
146 vcc11-supply = <&vcc_sysin>;
147 vcc12-supply = <&vcc3v3_sys>;
150 vdd_center: DCDC_REG1 {
151 regulator-name = "vdd_center";
154 regulator-min-microvolt = <750000>;
155 regulator-max-microvolt = <1350000>;
156 regulator-ramp-delay = <6001>;
157 regulator-state-mem {
158 regulator-off-in-suspend;
162 vdd_cpu_l: DCDC_REG2 {
163 regulator-name = "vdd_cpu_l";
166 regulator-min-microvolt = <750000>;
167 regulator-max-microvolt = <1350000>;
168 regulator-ramp-delay = <6001>;
169 regulator-state-mem {
170 regulator-off-in-suspend;
175 regulator-name = "vcc_ddr";
178 regulator-state-mem {
179 regulator-on-in-suspend;
183 vcc_1v8: vcc_wl: DCDC_REG4 {
184 regulator-name = "vcc_1v8";
187 regulator-min-microvolt = <1800000>;
188 regulator-max-microvolt = <1800000>;
189 regulator-state-mem {
190 regulator-on-in-suspend;
191 regulator-suspend-microvolt = <1800000>;
195 vcc1v8_pmupll: LDO_REG3 {
196 regulator-name = "vcc1v8_pmupll";
199 regulator-min-microvolt = <1800000>;
200 regulator-max-microvolt = <1800000>;
201 regulator-state-mem {
202 regulator-on-in-suspend;
203 regulator-suspend-microvolt = <1800000>;
208 regulator-name = "vcc_sdio";
211 regulator-min-microvolt = <1800000>;
212 regulator-max-microvolt = <3000000>;
213 regulator-state-mem {
214 regulator-on-in-suspend;
215 regulator-suspend-microvolt = <3000000>;
219 vcca3v0_codec: LDO_REG5 {
220 regulator-name = "vcca3v0_codec";
223 regulator-min-microvolt = <3000000>;
224 regulator-max-microvolt = <3000000>;
225 regulator-state-mem {
226 regulator-off-in-suspend;
231 regulator-name = "vcc_1v5";
234 regulator-min-microvolt = <1500000>;
235 regulator-max-microvolt = <1500000>;
236 regulator-state-mem {
237 regulator-on-in-suspend;
238 regulator-suspend-microvolt = <1500000>;
242 vcca1v8_codec: LDO_REG7 {
243 regulator-name = "vcca1v8_codec";
246 regulator-min-microvolt = <1800000>;
247 regulator-max-microvolt = <1800000>;
248 regulator-state-mem {
249 regulator-off-in-suspend;
254 regulator-name = "vcc_3v0";
257 regulator-min-microvolt = <3000000>;
258 regulator-max-microvolt = <3000000>;
259 regulator-state-mem {
260 regulator-on-in-suspend;
261 regulator-suspend-microvolt = <3000000>;
265 vcc3v3_s3: SWITCH_REG1 {
266 regulator-name = "vcc3v3_s3";
269 regulator-state-mem {
270 regulator-off-in-suspend;
274 vcc3v3_s0: SWITCH_REG2 {
275 regulator-name = "vcc3v3_s0";
278 regulator-state-mem {
279 regulator-off-in-suspend;