1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/mfd/rockchip,rk808.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RK808 Power Management Integrated Circuit
10 - Chris Zhong <zyw@rock-chips.com>
11 - Zhang Qing <zhangqing@rock-chips.com>
14 Rockchip RK808 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 LDO_REG1 and LDO_REG2.
73 The input supply for LDO_REG3 and LDO_REG7.
77 The input supply for SWITCH_REG1.
81 The input supply for LDO_REG4 and LDO_REG5.
85 The input supply for LDO_REG6.
89 The input supply for LDO_REG8.
93 The input supply for SWITCH_REG2.
97 The input supply for digital IO.
101 buck1/2 can be controlled by gpio dvs, this is GPIO specifiers for
102 2 host gpio's used for dvs. The format of the gpio specifier
103 depends in the gpio controller. If DVS GPIOs aren't present,
104 voltage changes will happen very quickly with no slow ramp time.
110 "^(DCDC_REG[1-4]|LDO_REG[1-8]|SWITCH_REG[1-2])$":
112 $ref: ../regulator/regulator.yaml#
113 unevaluatedProperties: false
114 unevaluatedProperties: false
122 additionalProperties: false
126 #include <dt-bindings/pinctrl/rockchip.h>
127 #include <dt-bindings/interrupt-controller/irq.h>
128 #include <dt-bindings/gpio/gpio.h>
130 #address-cells = <1>;
134 compatible = "rockchip,rk808";
135 clock-output-names = "xin32k", "rk808-clkout2";
136 interrupt-parent = <&gpio0>;
137 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&pmic_int &dvs_1 &dvs_2>;
140 dvs-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>,
141 <&gpio7 15 GPIO_ACTIVE_HIGH>;
143 rockchip,system-power-controller;
147 vcc8-supply = <&vcc_18>;
148 vcc9-supply = <&vcc_io>;
149 vcc10-supply = <&vcc_io>;
150 vcc12-supply = <&vcc_io>;
151 vddio-supply = <&vccio_pmu>;
157 regulator-min-microvolt = <750000>;
158 regulator-max-microvolt = <1300000>;
159 regulator-name = "vdd_arm";
165 regulator-min-microvolt = <850000>;
166 regulator-max-microvolt = <1250000>;
167 regulator-name = "vdd_gpu";
173 regulator-name = "vcc_ddr";
179 regulator-min-microvolt = <3300000>;
180 regulator-max-microvolt = <3300000>;
181 regulator-name = "vcc_io";
184 vccio_pmu: LDO_REG1 {
187 regulator-min-microvolt = <3300000>;
188 regulator-max-microvolt = <3300000>;
189 regulator-name = "vccio_pmu";
195 regulator-min-microvolt = <3300000>;
196 regulator-max-microvolt = <3300000>;
197 regulator-name = "vcc_tp";
203 regulator-min-microvolt = <1000000>;
204 regulator-max-microvolt = <1000000>;
205 regulator-name = "vdd_10";
208 vcc18_lcd: LDO_REG4 {
211 regulator-min-microvolt = <1800000>;
212 regulator-max-microvolt = <1800000>;
213 regulator-name = "vcc18_lcd";
219 regulator-min-microvolt = <1800000>;
220 regulator-max-microvolt = <3300000>;
221 regulator-name = "vccio_sd";
224 vdd10_lcd: LDO_REG6 {
227 regulator-min-microvolt = <1000000>;
228 regulator-max-microvolt = <1000000>;
229 regulator-name = "vdd10_lcd";
235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <1800000>;
237 regulator-name = "vcc_18";
240 vcca_codec: LDO_REG8 {
243 regulator-min-microvolt = <3300000>;
244 regulator-max-microvolt = <3300000>;
245 regulator-name = "vcca_codec";
248 vcc_wl: SWITCH_REG1 {
251 regulator-name = "vcc_wl";
254 vcc_lcd: SWITCH_REG2 {
257 regulator-name = "vcc_lcd";