1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/mfd/rockchip,rk818.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RK818 Power Management Integrated Circuit
10 - Chris Zhong <zyw@rock-chips.com>
11 - Zhang Qing <zhangqing@rock-chips.com>
14 Rockchip RK818 series PMIC. This device consists of an i2c controlled MFD
15 that includes regulators, an RTC, and a power button.
30 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
35 From common clock binding to override the default output clock name.
38 rockchip,system-power-controller:
42 Telling whether or not this PMIC is controlling the system power.
44 system-power-controller: true
49 Device can be used as a wakeup source.
53 The input supply for DCDC_REG1.
57 The input supply for DCDC_REG2.
61 The input supply for DCDC_REG3.
65 The input supply for DCDC_REG4.
69 The input supply for DCDC_BOOST
73 The input supply for LDO_REG1 and LDO_REG2.
77 The input supply for LDO_REG3, LDO_REG5, and LDO_REG7.
81 The input supply for LDO_REG4, LDO_REG6, and LDO_REG8.
85 The input supply for LDO_REG9 and SWITCH_REG.
89 The input supply for digital IO.
93 The input supply for HDMI_SWITCH.
97 The input supply for OTG_SWITCH.
102 "^(DCDC_REG[1-4]|DCDC_BOOST|LDO_REG[1-9]|SWITCH_REG|HDMI_SWITCH|OTG_SWITCH)$":
104 $ref: ../regulator/regulator.yaml#
105 unevaluatedProperties: false
106 unevaluatedProperties: false
114 additionalProperties: false
118 #include <dt-bindings/clock/px30-cru.h>
119 #include <dt-bindings/pinctrl/rockchip.h>
120 #include <dt-bindings/interrupt-controller/irq.h>
121 #include <dt-bindings/gpio/gpio.h>
123 #address-cells = <1>;
127 compatible = "rockchip,rk818";
129 interrupt-parent = <&gpio0>;
130 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&pmic_int>;
133 rockchip,system-power-controller;
137 vcc1-supply = <&vdd_sys>;
138 vcc2-supply = <&vdd_sys>;
139 vcc3-supply = <&vdd_sys>;
140 vcc4-supply = <&vdd_sys>;
141 boost-supply = <&vdd_in_otg_out>;
142 vcc6-supply = <&vdd_sys>;
143 vcc7-supply = <&vdd_misc_1v8>;
144 vcc8-supply = <&vdd_misc_1v8>;
145 vcc9-supply = <&vdd_3v3_io>;
146 vddio-supply = <&vdd_3v3_io>;
150 regulator-name = "vdd_log";
153 regulator-min-microvolt = <1100000>;
154 regulator-max-microvolt = <1100000>;
155 regulator-state-mem {
156 regulator-off-in-suspend;
161 regulator-name = "vdd_gpu";
164 regulator-min-microvolt = <800000>;
165 regulator-max-microvolt = <1250000>;
166 regulator-state-mem {
167 regulator-on-in-suspend;
168 regulator-suspend-microvolt = <1000000>;
173 regulator-name = "vcc_ddr";
176 regulator-state-mem {
177 regulator-on-in-suspend;
181 vdd_3v3_io: DCDC_REG4 {
182 regulator-name = "vdd_3v3_io";
185 regulator-min-microvolt = <3300000>;
186 regulator-max-microvolt = <3300000>;
187 regulator-state-mem {
188 regulator-on-in-suspend;
189 regulator-suspend-microvolt = <3300000>;
193 vdd_sys: DCDC_BOOST {
194 regulator-name = "vdd_sys";
197 regulator-min-microvolt = <5000000>;
198 regulator-max-microvolt = <5000000>;
199 regulator-state-mem {
200 regulator-on-in-suspend;
201 regulator-suspend-microvolt = <5000000>;
206 regulator-name = "vdd_sd";
209 regulator-state-mem {
210 regulator-off-in-suspend;
214 vdd_eth_2v5: LDO_REG2 {
215 regulator-name = "vdd_eth_2v5";
218 regulator-min-microvolt = <2500000>;
219 regulator-max-microvolt = <2500000>;
220 regulator-state-mem {
221 regulator-on-in-suspend;
222 regulator-suspend-microvolt = <2500000>;
227 regulator-name = "vdd_1v0";
230 regulator-min-microvolt = <1000000>;
231 regulator-max-microvolt = <1000000>;
232 regulator-state-mem {
233 regulator-on-in-suspend;
234 regulator-suspend-microvolt = <1000000>;
238 vdd_1v8_lcd_ldo: LDO_REG4 {
239 regulator-name = "vdd_1v8_lcd_ldo";
242 regulator-min-microvolt = <1800000>;
243 regulator-max-microvolt = <1800000>;
244 regulator-state-mem {
245 regulator-on-in-suspend;
246 regulator-suspend-microvolt = <1800000>;
250 vdd_1v0_lcd: LDO_REG6 {
251 regulator-name = "vdd_1v0_lcd";
254 regulator-min-microvolt = <1000000>;
255 regulator-max-microvolt = <1000000>;
256 regulator-state-mem {
257 regulator-on-in-suspend;
258 regulator-suspend-microvolt = <1000000>;
262 vdd_1v8_ldo: LDO_REG7 {
263 regulator-name = "vdd_1v8_ldo";
266 regulator-min-microvolt = <1800000>;
267 regulator-max-microvolt = <1800000>;
268 regulator-state-mem {
269 regulator-off-in-suspend;
270 regulator-suspend-microvolt = <1800000>;
274 vdd_io_sd: LDO_REG9 {
275 regulator-name = "vdd_io_sd";
278 regulator-min-microvolt = <1800000>;
279 regulator-max-microvolt = <3300000>;
280 regulator-state-mem {
281 regulator-off-in-suspend;