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:
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 DCDC_BOOST
70 The input supply for LDO_REG1 and LDO_REG2.
74 The input supply for LDO_REG3, LDO_REG5, and LDO_REG7.
78 The input supply for LDO_REG4, LDO_REG6, and LDO_REG8.
82 The input supply for LDO_REG9 and SWITCH_REG.
86 The input supply for digital IO.
90 The input supply for HDMI_SWITCH.
94 The input supply for OTG_SWITCH.
99 "^(DCDC_REG[1-4]|DCDC_BOOST|LDO_REG[1-9]|SWITCH_REG|HDMI_SWITCH|OTG_SWITCH)$":
101 $ref: ../regulator/regulator.yaml#
102 unevaluatedProperties: false
110 additionalProperties: false
114 #include <dt-bindings/clock/px30-cru.h>
115 #include <dt-bindings/pinctrl/rockchip.h>
116 #include <dt-bindings/interrupt-controller/irq.h>
117 #include <dt-bindings/gpio/gpio.h>
119 #address-cells = <1>;
123 compatible = "rockchip,rk818";
125 interrupt-parent = <&gpio0>;
126 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
127 pinctrl-names = "default";
128 pinctrl-0 = <&pmic_int>;
129 rockchip,system-power-controller;
133 vcc1-supply = <&vdd_sys>;
134 vcc2-supply = <&vdd_sys>;
135 vcc3-supply = <&vdd_sys>;
136 vcc4-supply = <&vdd_sys>;
137 boost-supply = <&vdd_in_otg_out>;
138 vcc6-supply = <&vdd_sys>;
139 vcc7-supply = <&vdd_misc_1v8>;
140 vcc8-supply = <&vdd_misc_1v8>;
141 vcc9-supply = <&vdd_3v3_io>;
142 vddio-supply = <&vdd_3v3_io>;
146 regulator-name = "vdd_log";
149 regulator-min-microvolt = <1100000>;
150 regulator-max-microvolt = <1100000>;
151 regulator-state-mem {
152 regulator-off-in-suspend;
157 regulator-name = "vdd_gpu";
160 regulator-min-microvolt = <800000>;
161 regulator-max-microvolt = <1250000>;
162 regulator-state-mem {
163 regulator-on-in-suspend;
164 regulator-suspend-microvolt = <1000000>;
169 regulator-name = "vcc_ddr";
172 regulator-state-mem {
173 regulator-on-in-suspend;
177 vdd_3v3_io: DCDC_REG4 {
178 regulator-name = "vdd_3v3_io";
181 regulator-min-microvolt = <3300000>;
182 regulator-max-microvolt = <3300000>;
183 regulator-state-mem {
184 regulator-on-in-suspend;
185 regulator-suspend-microvolt = <3300000>;
189 vdd_sys: DCDC_BOOST {
190 regulator-name = "vdd_sys";
193 regulator-min-microvolt = <5000000>;
194 regulator-max-microvolt = <5000000>;
195 regulator-state-mem {
196 regulator-on-in-suspend;
197 regulator-suspend-microvolt = <5000000>;
202 regulator-name = "vdd_sd";
205 regulator-state-mem {
206 regulator-off-in-suspend;
210 vdd_eth_2v5: LDO_REG2 {
211 regulator-name = "vdd_eth_2v5";
214 regulator-min-microvolt = <2500000>;
215 regulator-max-microvolt = <2500000>;
216 regulator-state-mem {
217 regulator-on-in-suspend;
218 regulator-suspend-microvolt = <2500000>;
223 regulator-name = "vdd_1v0";
226 regulator-min-microvolt = <1000000>;
227 regulator-max-microvolt = <1000000>;
228 regulator-state-mem {
229 regulator-on-in-suspend;
230 regulator-suspend-microvolt = <1000000>;
234 vdd_1v8_lcd_ldo: LDO_REG4 {
235 regulator-name = "vdd_1v8_lcd_ldo";
238 regulator-min-microvolt = <1800000>;
239 regulator-max-microvolt = <1800000>;
240 regulator-state-mem {
241 regulator-on-in-suspend;
242 regulator-suspend-microvolt = <1800000>;
246 vdd_1v0_lcd: LDO_REG6 {
247 regulator-name = "vdd_1v0_lcd";
250 regulator-min-microvolt = <1000000>;
251 regulator-max-microvolt = <1000000>;
252 regulator-state-mem {
253 regulator-on-in-suspend;
254 regulator-suspend-microvolt = <1000000>;
258 vdd_1v8_ldo: LDO_REG7 {
259 regulator-name = "vdd_1v8_ldo";
262 regulator-min-microvolt = <1800000>;
263 regulator-max-microvolt = <1800000>;
264 regulator-state-mem {
265 regulator-off-in-suspend;
266 regulator-suspend-microvolt = <1800000>;
270 vdd_io_sd: LDO_REG9 {
271 regulator-name = "vdd_io_sd";
274 regulator-min-microvolt = <1800000>;
275 regulator-max-microvolt = <3300000>;
276 regulator-state-mem {
277 regulator-off-in-suspend;