1 RK8XX Power Management Integrated Circuit
3 The rk8xx family current members:
11 - compatible: "rockchip,rk805"
12 - compatible: "rockchip,rk808"
13 - compatible: "rockchip,rk809"
14 - compatible: "rockchip,rk817"
15 - compatible: "rockchip,rk818"
16 - reg: I2C slave address
17 - interrupts: the interrupt outputs of the controller.
18 - #clock-cells: from common clock binding; shall be set to 1 (multiple clock
19 outputs). See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
22 - clock-output-names: From common clock binding to override the
23 default output clock name
24 - rockchip,system-power-controller: Telling whether or not this pmic is controlling
27 Optional RK805 properties:
28 - vcc1-supply: The input supply for DCDC_REG1
29 - vcc2-supply: The input supply for DCDC_REG2
30 - vcc3-supply: The input supply for DCDC_REG3
31 - vcc4-supply: The input supply for DCDC_REG4
32 - vcc5-supply: The input supply for LDO_REG1 and LDO_REG2
33 - vcc6-supply: The input supply for LDO_REG3
35 Optional RK808 properties:
36 - vcc1-supply: The input supply for DCDC_REG1
37 - vcc2-supply: The input supply for DCDC_REG2
38 - vcc3-supply: The input supply for DCDC_REG3
39 - vcc4-supply: The input supply for DCDC_REG4
40 - vcc6-supply: The input supply for LDO_REG1 and LDO_REG2
41 - vcc7-supply: The input supply for LDO_REG3 and LDO_REG7
42 - vcc8-supply: The input supply for SWITCH_REG1
43 - vcc9-supply: The input supply for LDO_REG4 and LDO_REG5
44 - vcc10-supply: The input supply for LDO_REG6
45 - vcc11-supply: The input supply for LDO_REG8
46 - vcc12-supply: The input supply for SWITCH_REG2
47 - dvs-gpios: buck1/2 can be controlled by gpio dvs, this is GPIO specifiers
48 for 2 host gpio's used for dvs. The format of the gpio specifier depends in
49 the gpio controller. If DVS GPIOs aren't present, voltage changes will happen
50 very quickly with no slow ramp time.
52 Optional shared RK809 and RK817 properties:
53 - vcc1-supply: The input supply for DCDC_REG1
54 - vcc2-supply: The input supply for DCDC_REG2
55 - vcc3-supply: The input supply for DCDC_REG3
56 - vcc4-supply: The input supply for DCDC_REG4
57 - vcc5-supply: The input supply for LDO_REG1, LDO_REG2, LDO_REG3
58 - vcc6-supply: The input supply for LDO_REG4, LDO_REG5, LDO_REG6
59 - vcc7-supply: The input supply for LDO_REG7, LDO_REG8, LDO_REG9
61 Optional RK809 properties:
62 - vcc8-supply: The input supply for SWITCH_REG1
63 - vcc9-supply: The input supply for DCDC_REG5, SWITCH_REG2
65 Optional RK817 properties:
66 - vcc8-supply: The input supply for BOOST
67 - vcc9-supply: The input supply for OTG_SWITCH
69 Optional RK818 properties:
70 - vcc1-supply: The input supply for DCDC_REG1
71 - vcc2-supply: The input supply for DCDC_REG2
72 - vcc3-supply: The input supply for DCDC_REG3
73 - vcc4-supply: The input supply for DCDC_REG4
74 - boost-supply: The input supply for DCDC_BOOST
75 - vcc6-supply: The input supply for LDO_REG1 and LDO_REG2
76 - vcc7-supply: The input supply for LDO_REG3, LDO_REG5 and LDO_REG7
77 - vcc8-supply: The input supply for LDO_REG4, LDO_REG6 and LDO_REG8
78 - vcc9-supply: The input supply for LDO_REG9 and SWITCH_REG
79 - h_5v-supply: The input supply for HDMI_SWITCH
80 - usb-supply: The input supply for OTG_SWITCH
82 Regulators: All the regulators of RK8XX to be instantiated shall be
83 listed in a child node named 'regulators'. Each regulator is represented
84 by a child node of the 'regulators' node.
87 /* standard regulator bindings here */
90 Following regulators of the RK805 PMIC regulators are supported. Note that
91 the 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
92 number as described in RK805 datasheet.
95 - valid values for n are 1 to 4.
97 - valid values for n are 1 to 3
99 Following regulators of the RK808 PMIC block are supported. Note that
100 the 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
101 number as described in RK808 datasheet.
104 - valid values for n are 1 to 4.
106 - valid values for n are 1 to 8.
108 - valid values for n are 1 to 2
110 Following regulators of the RK809 and RK817 PMIC blocks are supported. Note that
111 the 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
112 number as described in RK809 and RK817 datasheets.
115 - valid values for n are 1 to 5 for RK809.
116 - valid values for n are 1 to 4 for RK817.
118 - valid values for n are 1 to 9 for RK809.
119 - valid values for n are 1 to 9 for RK817.
121 - valid values for n are 1 to 2 for RK809.
123 - OTG_SWITCH for RK817
125 Following regulators of the RK818 PMIC block are supported. Note that
126 the 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
127 number as described in RK818 datasheet.
130 - valid values for n are 1 to 4.
132 - valid values for n are 1 to 9.
137 It is necessary to configure three pins for both the RK809 and RK817, the three
138 pins are "gpio_ts" "gpio_gt" "gpio_slp".
139 The gpio_gt and gpio_ts pins support the gpio function.
140 The gpio_slp pin is for controlling the pmic states, as below:
145 Standard regulator bindings are used inside regulator subnodes. Check
146 Documentation/devicetree/bindings/regulator/regulator.txt
151 compatible = "rockchip,rk808";
152 clock-output-names = "xin32k", "rk808-clkout2";
153 interrupt-parent = <&gpio0>;
154 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&pmic_int &dvs_1 &dvs_2>;
157 dvs-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>,
158 <&gpio7 15 GPIO_ACTIVE_HIGH>;
160 rockchip,system-power-controller;
164 vcc8-supply = <&vcc_18>;
165 vcc9-supply = <&vcc_io>;
166 vcc10-supply = <&vcc_io>;
167 vcc12-supply = <&vcc_io>;
168 vddio-supply = <&vccio_pmu>;
174 regulator-min-microvolt = <750000>;
175 regulator-max-microvolt = <1300000>;
176 regulator-name = "vdd_arm";
182 regulator-min-microvolt = <850000>;
183 regulator-max-microvolt = <1250000>;
184 regulator-name = "vdd_gpu";
190 regulator-name = "vcc_ddr";
196 regulator-min-microvolt = <3300000>;
197 regulator-max-microvolt = <3300000>;
198 regulator-name = "vcc_io";
201 vccio_pmu: LDO_REG1 {
204 regulator-min-microvolt = <3300000>;
205 regulator-max-microvolt = <3300000>;
206 regulator-name = "vccio_pmu";
212 regulator-min-microvolt = <3300000>;
213 regulator-max-microvolt = <3300000>;
214 regulator-name = "vcc_tp";
220 regulator-min-microvolt = <1000000>;
221 regulator-max-microvolt = <1000000>;
222 regulator-name = "vdd_10";
225 vcc18_lcd: LDO_REG4 {
228 regulator-min-microvolt = <1800000>;
229 regulator-max-microvolt = <1800000>;
230 regulator-name = "vcc18_lcd";
236 regulator-min-microvolt = <1800000>;
237 regulator-max-microvolt = <3300000>;
238 regulator-name = "vccio_sd";
241 vdd10_lcd: LDO_REG6 {
244 regulator-min-microvolt = <1000000>;
245 regulator-max-microvolt = <1000000>;
246 regulator-name = "vdd10_lcd";
252 regulator-min-microvolt = <1800000>;
253 regulator-max-microvolt = <1800000>;
254 regulator-name = "vcc_18";
257 vcca_codec: LDO_REG8 {
260 regulator-min-microvolt = <3300000>;
261 regulator-max-microvolt = <3300000>;
262 regulator-name = "vcca_codec";
265 vcc_wl: SWITCH_REG1 {
268 regulator-name = "vcc_wl";
271 vcc_lcd: SWITCH_REG2 {
274 regulator-name = "vcc_lcd";