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:
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 and LDO_REG2.
70 The input supply for LDO_REG3 and LDO_REG7.
74 The input supply for SWITCH_REG1.
78 The input supply for LDO_REG4 and LDO_REG5.
82 The input supply for LDO_REG6.
86 The input supply for LDO_REG8.
90 The input supply for SWITCH_REG2.
94 The input supply for digital IO.
98 buck1/2 can be controlled by gpio dvs, this is GPIO specifiers for
99 2 host gpio's used for dvs. The format of the gpio specifier
100 depends in the gpio controller. If DVS GPIOs aren't present,
101 voltage changes will happen very quickly with no slow ramp time.
107 "^(DCDC_REG[1-4]|LDO_REG[1-8]|SWITCH_REG[1-2])$":
109 $ref: ../regulator/regulator.yaml#
110 unevaluatedProperties: false
118 additionalProperties: false
122 #include <dt-bindings/pinctrl/rockchip.h>
123 #include <dt-bindings/interrupt-controller/irq.h>
124 #include <dt-bindings/gpio/gpio.h>
126 #address-cells = <1>;
130 compatible = "rockchip,rk808";
131 clock-output-names = "xin32k", "rk808-clkout2";
132 interrupt-parent = <&gpio0>;
133 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
134 pinctrl-names = "default";
135 pinctrl-0 = <&pmic_int &dvs_1 &dvs_2>;
136 dvs-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>,
137 <&gpio7 15 GPIO_ACTIVE_HIGH>;
139 rockchip,system-power-controller;
143 vcc8-supply = <&vcc_18>;
144 vcc9-supply = <&vcc_io>;
145 vcc10-supply = <&vcc_io>;
146 vcc12-supply = <&vcc_io>;
147 vddio-supply = <&vccio_pmu>;
153 regulator-min-microvolt = <750000>;
154 regulator-max-microvolt = <1300000>;
155 regulator-name = "vdd_arm";
161 regulator-min-microvolt = <850000>;
162 regulator-max-microvolt = <1250000>;
163 regulator-name = "vdd_gpu";
169 regulator-name = "vcc_ddr";
175 regulator-min-microvolt = <3300000>;
176 regulator-max-microvolt = <3300000>;
177 regulator-name = "vcc_io";
180 vccio_pmu: LDO_REG1 {
183 regulator-min-microvolt = <3300000>;
184 regulator-max-microvolt = <3300000>;
185 regulator-name = "vccio_pmu";
191 regulator-min-microvolt = <3300000>;
192 regulator-max-microvolt = <3300000>;
193 regulator-name = "vcc_tp";
199 regulator-min-microvolt = <1000000>;
200 regulator-max-microvolt = <1000000>;
201 regulator-name = "vdd_10";
204 vcc18_lcd: LDO_REG4 {
207 regulator-min-microvolt = <1800000>;
208 regulator-max-microvolt = <1800000>;
209 regulator-name = "vcc18_lcd";
215 regulator-min-microvolt = <1800000>;
216 regulator-max-microvolt = <3300000>;
217 regulator-name = "vccio_sd";
220 vdd10_lcd: LDO_REG6 {
223 regulator-min-microvolt = <1000000>;
224 regulator-max-microvolt = <1000000>;
225 regulator-name = "vdd10_lcd";
231 regulator-min-microvolt = <1800000>;
232 regulator-max-microvolt = <1800000>;
233 regulator-name = "vcc_18";
236 vcca_codec: LDO_REG8 {
239 regulator-min-microvolt = <3300000>;
240 regulator-max-microvolt = <3300000>;
241 regulator-name = "vcca_codec";
244 vcc_wl: SWITCH_REG1 {
247 regulator-name = "vcc_wl";
250 vcc_lcd: SWITCH_REG2 {
253 regulator-name = "vcc_lcd";