1c66ec88fSEmmanuel VadotRK8XX Power Management Integrated Circuit
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotThe rk8xx family current members:
4c66ec88fSEmmanuel Vadotrk805
5c66ec88fSEmmanuel Vadotrk808
6c66ec88fSEmmanuel Vadotrk809
7c66ec88fSEmmanuel Vadotrk817
8c66ec88fSEmmanuel Vadotrk818
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel VadotRequired properties:
11c66ec88fSEmmanuel Vadot- compatible: "rockchip,rk805"
12c66ec88fSEmmanuel Vadot- compatible: "rockchip,rk808"
13c66ec88fSEmmanuel Vadot- compatible: "rockchip,rk809"
14c66ec88fSEmmanuel Vadot- compatible: "rockchip,rk817"
15c66ec88fSEmmanuel Vadot- compatible: "rockchip,rk818"
16c66ec88fSEmmanuel Vadot- reg: I2C slave address
17c66ec88fSEmmanuel Vadot- interrupts: the interrupt outputs of the controller.
18c66ec88fSEmmanuel Vadot- #clock-cells: from common clock binding; shall be set to 1 (multiple clock
19c66ec88fSEmmanuel Vadot  outputs). See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel VadotOptional properties:
22c66ec88fSEmmanuel Vadot- clock-output-names: From common clock binding to override the
23c66ec88fSEmmanuel Vadot  default output clock name
24c66ec88fSEmmanuel Vadot- rockchip,system-power-controller: Telling whether or not this pmic is controlling
25c66ec88fSEmmanuel Vadot  the system power.
26*5956d97fSEmmanuel Vadot- wakeup-source: Device can be used as a wakeup source.
27c66ec88fSEmmanuel Vadot
28c66ec88fSEmmanuel VadotOptional RK805 properties:
29c66ec88fSEmmanuel Vadot- vcc1-supply:  The input supply for DCDC_REG1
30c66ec88fSEmmanuel Vadot- vcc2-supply:  The input supply for DCDC_REG2
31c66ec88fSEmmanuel Vadot- vcc3-supply:  The input supply for DCDC_REG3
32c66ec88fSEmmanuel Vadot- vcc4-supply:  The input supply for DCDC_REG4
33c66ec88fSEmmanuel Vadot- vcc5-supply:  The input supply for LDO_REG1 and LDO_REG2
34c66ec88fSEmmanuel Vadot- vcc6-supply:  The input supply for LDO_REG3
35c66ec88fSEmmanuel Vadot
36c66ec88fSEmmanuel VadotOptional RK808 properties:
37c66ec88fSEmmanuel Vadot- vcc1-supply:  The input supply for DCDC_REG1
38c66ec88fSEmmanuel Vadot- vcc2-supply:  The input supply for DCDC_REG2
39c66ec88fSEmmanuel Vadot- vcc3-supply:  The input supply for DCDC_REG3
40c66ec88fSEmmanuel Vadot- vcc4-supply:  The input supply for DCDC_REG4
41c66ec88fSEmmanuel Vadot- vcc6-supply:  The input supply for LDO_REG1 and LDO_REG2
42c66ec88fSEmmanuel Vadot- vcc7-supply:  The input supply for LDO_REG3 and LDO_REG7
43c66ec88fSEmmanuel Vadot- vcc8-supply:  The input supply for SWITCH_REG1
44c66ec88fSEmmanuel Vadot- vcc9-supply:  The input supply for LDO_REG4 and LDO_REG5
45c66ec88fSEmmanuel Vadot- vcc10-supply: The input supply for LDO_REG6
46c66ec88fSEmmanuel Vadot- vcc11-supply: The input supply for LDO_REG8
47c66ec88fSEmmanuel Vadot- vcc12-supply: The input supply for SWITCH_REG2
48c66ec88fSEmmanuel Vadot- dvs-gpios:  buck1/2 can be controlled by gpio dvs, this is GPIO specifiers
49c66ec88fSEmmanuel Vadot  for 2 host gpio's used for dvs. The format of the gpio specifier depends in
50c66ec88fSEmmanuel Vadot  the gpio controller. If DVS GPIOs aren't present, voltage changes will happen
51c66ec88fSEmmanuel Vadot  very quickly with no slow ramp time.
52c66ec88fSEmmanuel Vadot
53c66ec88fSEmmanuel VadotOptional shared RK809 and RK817 properties:
54c66ec88fSEmmanuel Vadot- vcc1-supply:  The input supply for DCDC_REG1
55c66ec88fSEmmanuel Vadot- vcc2-supply:  The input supply for DCDC_REG2
56c66ec88fSEmmanuel Vadot- vcc3-supply:  The input supply for DCDC_REG3
57c66ec88fSEmmanuel Vadot- vcc4-supply:  The input supply for DCDC_REG4
58c66ec88fSEmmanuel Vadot- vcc5-supply:  The input supply for LDO_REG1, LDO_REG2, LDO_REG3
59c66ec88fSEmmanuel Vadot- vcc6-supply:  The input supply for LDO_REG4, LDO_REG5, LDO_REG6
60c66ec88fSEmmanuel Vadot- vcc7-supply:  The input supply for LDO_REG7, LDO_REG8, LDO_REG9
61c66ec88fSEmmanuel Vadot
62c66ec88fSEmmanuel VadotOptional RK809 properties:
63c66ec88fSEmmanuel Vadot- vcc8-supply:  The input supply for SWITCH_REG1
64c66ec88fSEmmanuel Vadot- vcc9-supply:  The input supply for DCDC_REG5, SWITCH_REG2
65c66ec88fSEmmanuel Vadot
66c66ec88fSEmmanuel VadotOptional RK817 properties:
67*5956d97fSEmmanuel Vadot- clocks:	The input clock for the audio codec
68*5956d97fSEmmanuel Vadot- clock-names:	The clock name for the codec clock. Should be "mclk".
69*5956d97fSEmmanuel Vadot- #sound-dai-cells: Needed for the interpretation of sound dais. Should be 0.
70*5956d97fSEmmanuel Vadot
71c66ec88fSEmmanuel Vadot- vcc8-supply:  The input supply for BOOST
72c66ec88fSEmmanuel Vadot- vcc9-supply:  The input supply for OTG_SWITCH
73*5956d97fSEmmanuel Vadot- codec:	The child node for the codec to hold additional properties.
74*5956d97fSEmmanuel Vadot		If no additional properties are required for the codec, this
75*5956d97fSEmmanuel Vadot		node can be omitted.
76*5956d97fSEmmanuel Vadot
77*5956d97fSEmmanuel Vadot- rockchip,mic-in-differential: Telling if the microphone uses differential
78*5956d97fSEmmanuel Vadot				mode. Should be under the codec child node.
79c66ec88fSEmmanuel Vadot
80c66ec88fSEmmanuel VadotOptional RK818 properties:
81c66ec88fSEmmanuel Vadot- vcc1-supply:  The input supply for DCDC_REG1
82c66ec88fSEmmanuel Vadot- vcc2-supply:  The input supply for DCDC_REG2
83c66ec88fSEmmanuel Vadot- vcc3-supply:  The input supply for DCDC_REG3
84c66ec88fSEmmanuel Vadot- vcc4-supply:  The input supply for DCDC_REG4
85c66ec88fSEmmanuel Vadot- boost-supply: The input supply for DCDC_BOOST
86c66ec88fSEmmanuel Vadot- vcc6-supply:  The input supply for LDO_REG1 and LDO_REG2
87c66ec88fSEmmanuel Vadot- vcc7-supply:  The input supply for LDO_REG3, LDO_REG5 and LDO_REG7
88c66ec88fSEmmanuel Vadot- vcc8-supply:  The input supply for LDO_REG4, LDO_REG6 and LDO_REG8
89c66ec88fSEmmanuel Vadot- vcc9-supply:  The input supply for LDO_REG9 and SWITCH_REG
90c66ec88fSEmmanuel Vadot- h_5v-supply:  The input supply for HDMI_SWITCH
91c66ec88fSEmmanuel Vadot- usb-supply:   The input supply for OTG_SWITCH
92c66ec88fSEmmanuel Vadot
93c66ec88fSEmmanuel VadotRegulators: All the regulators of RK8XX to be instantiated shall be
94c66ec88fSEmmanuel Vadotlisted in a child node named 'regulators'. Each regulator is represented
95c66ec88fSEmmanuel Vadotby a child node of the 'regulators' node.
96c66ec88fSEmmanuel Vadot
97c66ec88fSEmmanuel Vadot	regulator-name {
98c66ec88fSEmmanuel Vadot		/* standard regulator bindings here */
99c66ec88fSEmmanuel Vadot	};
100c66ec88fSEmmanuel Vadot
101c66ec88fSEmmanuel VadotFollowing regulators of the RK805 PMIC regulators are supported. Note that
102c66ec88fSEmmanuel Vadotthe 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
103c66ec88fSEmmanuel Vadotnumber as described in RK805 datasheet.
104c66ec88fSEmmanuel Vadot
105c66ec88fSEmmanuel Vadot	- DCDC_REGn
106c66ec88fSEmmanuel Vadot		- valid values for n are 1 to 4.
107c66ec88fSEmmanuel Vadot	- LDO_REGn
108c66ec88fSEmmanuel Vadot		- valid values for n are 1 to 3
109c66ec88fSEmmanuel Vadot
110c66ec88fSEmmanuel VadotFollowing regulators of the RK808 PMIC block are supported. Note that
111c66ec88fSEmmanuel Vadotthe 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
112c66ec88fSEmmanuel Vadotnumber as described in RK808 datasheet.
113c66ec88fSEmmanuel Vadot
114c66ec88fSEmmanuel Vadot	- DCDC_REGn
115c66ec88fSEmmanuel Vadot		- valid values for n are 1 to 4.
116c66ec88fSEmmanuel Vadot	- LDO_REGn
117c66ec88fSEmmanuel Vadot		- valid values for n are 1 to 8.
118c66ec88fSEmmanuel Vadot	- SWITCH_REGn
119c66ec88fSEmmanuel Vadot		- valid values for n are 1 to 2
120c66ec88fSEmmanuel Vadot
121c66ec88fSEmmanuel VadotFollowing regulators of the RK809 and RK817 PMIC blocks are supported. Note that
122c66ec88fSEmmanuel Vadotthe 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
123c66ec88fSEmmanuel Vadotnumber as described in RK809 and RK817 datasheets.
124c66ec88fSEmmanuel Vadot
125c66ec88fSEmmanuel Vadot	- DCDC_REGn
126c66ec88fSEmmanuel Vadot		- valid values for n are 1 to 5 for RK809.
127c66ec88fSEmmanuel Vadot		- valid values for n are 1 to 4 for RK817.
128c66ec88fSEmmanuel Vadot	- LDO_REGn
129c66ec88fSEmmanuel Vadot		- valid values for n are 1 to 9 for RK809.
130c66ec88fSEmmanuel Vadot		- valid values for n are 1 to 9 for RK817.
131c66ec88fSEmmanuel Vadot	- SWITCH_REGn
132c66ec88fSEmmanuel Vadot		- valid values for n are 1 to 2 for RK809.
133c66ec88fSEmmanuel Vadot	- BOOST for RK817
134c66ec88fSEmmanuel Vadot	- OTG_SWITCH for RK817
135c66ec88fSEmmanuel Vadot
136c66ec88fSEmmanuel VadotFollowing regulators of the RK818 PMIC block are supported. Note that
137c66ec88fSEmmanuel Vadotthe 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
138c66ec88fSEmmanuel Vadotnumber as described in RK818 datasheet.
139c66ec88fSEmmanuel Vadot
140c66ec88fSEmmanuel Vadot	- DCDC_REGn
141c66ec88fSEmmanuel Vadot		- valid values for n are 1 to 4.
142c66ec88fSEmmanuel Vadot	- LDO_REGn
143c66ec88fSEmmanuel Vadot		- valid values for n are 1 to 9.
144c66ec88fSEmmanuel Vadot	- SWITCH_REG
145c66ec88fSEmmanuel Vadot	- HDMI_SWITCH
146c66ec88fSEmmanuel Vadot	- OTG_SWITCH
147c66ec88fSEmmanuel Vadot
148c66ec88fSEmmanuel VadotIt is necessary to configure three pins for both the RK809 and RK817, the three
149c66ec88fSEmmanuel Vadotpins are "gpio_ts" "gpio_gt" "gpio_slp".
150c66ec88fSEmmanuel Vadot	The gpio_gt and gpio_ts pins support the gpio function.
151c66ec88fSEmmanuel Vadot	The gpio_slp pin is for controlling the pmic states, as below:
152c66ec88fSEmmanuel Vadot		- reset
153c66ec88fSEmmanuel Vadot		- power down
154c66ec88fSEmmanuel Vadot		- sleep
155c66ec88fSEmmanuel Vadot
156c66ec88fSEmmanuel VadotStandard regulator bindings are used inside regulator subnodes. Check
157c66ec88fSEmmanuel Vadot  Documentation/devicetree/bindings/regulator/regulator.txt
158c66ec88fSEmmanuel Vadotfor more details
159c66ec88fSEmmanuel Vadot
160c66ec88fSEmmanuel VadotExample:
161c66ec88fSEmmanuel Vadot	rk808: pmic@1b {
162c66ec88fSEmmanuel Vadot		compatible = "rockchip,rk808";
163c66ec88fSEmmanuel Vadot		clock-output-names = "xin32k", "rk808-clkout2";
164c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio0>;
165c66ec88fSEmmanuel Vadot		interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
166c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
167c66ec88fSEmmanuel Vadot		pinctrl-0 = <&pmic_int &dvs_1 &dvs_2>;
168c66ec88fSEmmanuel Vadot		dvs-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>,
169c66ec88fSEmmanuel Vadot			    <&gpio7 15 GPIO_ACTIVE_HIGH>;
170c66ec88fSEmmanuel Vadot		reg = <0x1b>;
171c66ec88fSEmmanuel Vadot		rockchip,system-power-controller;
172c66ec88fSEmmanuel Vadot		wakeup-source;
173c66ec88fSEmmanuel Vadot		#clock-cells = <1>;
174c66ec88fSEmmanuel Vadot
175c66ec88fSEmmanuel Vadot		vcc8-supply = <&vcc_18>;
176c66ec88fSEmmanuel Vadot		vcc9-supply = <&vcc_io>;
177c66ec88fSEmmanuel Vadot		vcc10-supply = <&vcc_io>;
178c66ec88fSEmmanuel Vadot		vcc12-supply = <&vcc_io>;
179c66ec88fSEmmanuel Vadot		vddio-supply = <&vccio_pmu>;
180c66ec88fSEmmanuel Vadot
181c66ec88fSEmmanuel Vadot		regulators {
182c66ec88fSEmmanuel Vadot			vdd_cpu: DCDC_REG1 {
183c66ec88fSEmmanuel Vadot				regulator-always-on;
184c66ec88fSEmmanuel Vadot				regulator-boot-on;
185c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <750000>;
186c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <1300000>;
187c66ec88fSEmmanuel Vadot				regulator-name = "vdd_arm";
188c66ec88fSEmmanuel Vadot			};
189c66ec88fSEmmanuel Vadot
190c66ec88fSEmmanuel Vadot			vdd_gpu: DCDC_REG2 {
191c66ec88fSEmmanuel Vadot				regulator-always-on;
192c66ec88fSEmmanuel Vadot				regulator-boot-on;
193c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <850000>;
194c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <1250000>;
195c66ec88fSEmmanuel Vadot				regulator-name = "vdd_gpu";
196c66ec88fSEmmanuel Vadot			};
197c66ec88fSEmmanuel Vadot
198c66ec88fSEmmanuel Vadot			vcc_ddr: DCDC_REG3 {
199c66ec88fSEmmanuel Vadot				regulator-always-on;
200c66ec88fSEmmanuel Vadot				regulator-boot-on;
201c66ec88fSEmmanuel Vadot				regulator-name = "vcc_ddr";
202c66ec88fSEmmanuel Vadot			};
203c66ec88fSEmmanuel Vadot
204c66ec88fSEmmanuel Vadot			vcc_io: DCDC_REG4 {
205c66ec88fSEmmanuel Vadot				regulator-always-on;
206c66ec88fSEmmanuel Vadot				regulator-boot-on;
207c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
208c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
209c66ec88fSEmmanuel Vadot				regulator-name = "vcc_io";
210c66ec88fSEmmanuel Vadot			};
211c66ec88fSEmmanuel Vadot
212c66ec88fSEmmanuel Vadot			vccio_pmu: LDO_REG1 {
213c66ec88fSEmmanuel Vadot				regulator-always-on;
214c66ec88fSEmmanuel Vadot				regulator-boot-on;
215c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
216c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
217c66ec88fSEmmanuel Vadot				regulator-name = "vccio_pmu";
218c66ec88fSEmmanuel Vadot			};
219c66ec88fSEmmanuel Vadot
220c66ec88fSEmmanuel Vadot			vcc_tp: LDO_REG2 {
221c66ec88fSEmmanuel Vadot				regulator-always-on;
222c66ec88fSEmmanuel Vadot				regulator-boot-on;
223c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
224c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
225c66ec88fSEmmanuel Vadot				regulator-name = "vcc_tp";
226c66ec88fSEmmanuel Vadot			};
227c66ec88fSEmmanuel Vadot
228c66ec88fSEmmanuel Vadot			vdd_10: LDO_REG3 {
229c66ec88fSEmmanuel Vadot				regulator-always-on;
230c66ec88fSEmmanuel Vadot				regulator-boot-on;
231c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
232c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <1000000>;
233c66ec88fSEmmanuel Vadot				regulator-name = "vdd_10";
234c66ec88fSEmmanuel Vadot			};
235c66ec88fSEmmanuel Vadot
236c66ec88fSEmmanuel Vadot			vcc18_lcd: LDO_REG4 {
237c66ec88fSEmmanuel Vadot				regulator-always-on;
238c66ec88fSEmmanuel Vadot				regulator-boot-on;
239c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
240c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
241c66ec88fSEmmanuel Vadot				regulator-name = "vcc18_lcd";
242c66ec88fSEmmanuel Vadot			};
243c66ec88fSEmmanuel Vadot
244c66ec88fSEmmanuel Vadot			vccio_sd: LDO_REG5 {
245c66ec88fSEmmanuel Vadot				regulator-always-on;
246c66ec88fSEmmanuel Vadot				regulator-boot-on;
247c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
248c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
249c66ec88fSEmmanuel Vadot				regulator-name = "vccio_sd";
250c66ec88fSEmmanuel Vadot			};
251c66ec88fSEmmanuel Vadot
252c66ec88fSEmmanuel Vadot			vdd10_lcd: LDO_REG6 {
253c66ec88fSEmmanuel Vadot				regulator-always-on;
254c66ec88fSEmmanuel Vadot				regulator-boot-on;
255c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
256c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <1000000>;
257c66ec88fSEmmanuel Vadot				regulator-name = "vdd10_lcd";
258c66ec88fSEmmanuel Vadot			};
259c66ec88fSEmmanuel Vadot
260c66ec88fSEmmanuel Vadot			vcc_18: LDO_REG7 {
261c66ec88fSEmmanuel Vadot				regulator-always-on;
262c66ec88fSEmmanuel Vadot				regulator-boot-on;
263c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
264c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
265c66ec88fSEmmanuel Vadot				regulator-name = "vcc_18";
266c66ec88fSEmmanuel Vadot			};
267c66ec88fSEmmanuel Vadot
268c66ec88fSEmmanuel Vadot			vcca_codec: LDO_REG8 {
269c66ec88fSEmmanuel Vadot				regulator-always-on;
270c66ec88fSEmmanuel Vadot				regulator-boot-on;
271c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
272c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
273c66ec88fSEmmanuel Vadot				regulator-name = "vcca_codec";
274c66ec88fSEmmanuel Vadot			};
275c66ec88fSEmmanuel Vadot
276c66ec88fSEmmanuel Vadot			vcc_wl: SWITCH_REG1 {
277c66ec88fSEmmanuel Vadot				regulator-always-on;
278c66ec88fSEmmanuel Vadot				regulator-boot-on;
279c66ec88fSEmmanuel Vadot				regulator-name = "vcc_wl";
280c66ec88fSEmmanuel Vadot			};
281c66ec88fSEmmanuel Vadot
282c66ec88fSEmmanuel Vadot			vcc_lcd: SWITCH_REG2 {
283c66ec88fSEmmanuel Vadot				regulator-always-on;
284c66ec88fSEmmanuel Vadot				regulator-boot-on;
285c66ec88fSEmmanuel Vadot				regulator-name = "vcc_lcd";
286c66ec88fSEmmanuel Vadot			};
287c66ec88fSEmmanuel Vadot		};
288c66ec88fSEmmanuel Vadot	};
289*5956d97fSEmmanuel Vadot
290*5956d97fSEmmanuel Vadot	rk817: pmic@20 {
291*5956d97fSEmmanuel Vadot		compatible = "rockchip,rk817";
292*5956d97fSEmmanuel Vadot		reg = <0x20>;
293*5956d97fSEmmanuel Vadot		interrupt-parent = <&gpio0>;
294*5956d97fSEmmanuel Vadot		interrupts = <RK_PB2 IRQ_TYPE_LEVEL_LOW>;
295*5956d97fSEmmanuel Vadot		clock-output-names = "rk808-clkout1", "xin32k";
296*5956d97fSEmmanuel Vadot		clock-names = "mclk";
297*5956d97fSEmmanuel Vadot		clocks = <&cru SCLK_I2S1_OUT>;
298*5956d97fSEmmanuel Vadot		pinctrl-names = "default";
299*5956d97fSEmmanuel Vadot		pinctrl-0 = <&pmic_int>, <&i2s1_2ch_mclk>;
300*5956d97fSEmmanuel Vadot		wakeup-source;
301*5956d97fSEmmanuel Vadot		#clock-cells = <1>;
302*5956d97fSEmmanuel Vadot		#sound-dai-cells = <0>;
303*5956d97fSEmmanuel Vadot
304*5956d97fSEmmanuel Vadot		vcc1-supply = <&vccsys>;
305*5956d97fSEmmanuel Vadot		vcc2-supply = <&vccsys>;
306*5956d97fSEmmanuel Vadot		vcc3-supply = <&vccsys>;
307*5956d97fSEmmanuel Vadot		vcc4-supply = <&vccsys>;
308*5956d97fSEmmanuel Vadot		vcc5-supply = <&vccsys>;
309*5956d97fSEmmanuel Vadot		vcc6-supply = <&vccsys>;
310*5956d97fSEmmanuel Vadot		vcc7-supply = <&vccsys>;
311*5956d97fSEmmanuel Vadot
312*5956d97fSEmmanuel Vadot		regulators {
313*5956d97fSEmmanuel Vadot			vdd_logic: DCDC_REG1 {
314*5956d97fSEmmanuel Vadot				regulator-name = "vdd_logic";
315*5956d97fSEmmanuel Vadot				regulator-min-microvolt = <950000>;
316*5956d97fSEmmanuel Vadot				regulator-max-microvolt = <1150000>;
317*5956d97fSEmmanuel Vadot				regulator-ramp-delay = <6001>;
318*5956d97fSEmmanuel Vadot				regulator-always-on;
319*5956d97fSEmmanuel Vadot				regulator-boot-on;
320*5956d97fSEmmanuel Vadot
321*5956d97fSEmmanuel Vadot				regulator-state-mem {
322*5956d97fSEmmanuel Vadot					regulator-on-in-suspend;
323*5956d97fSEmmanuel Vadot					regulator-suspend-microvolt = <950000>;
324*5956d97fSEmmanuel Vadot				};
325*5956d97fSEmmanuel Vadot			};
326*5956d97fSEmmanuel Vadot
327*5956d97fSEmmanuel Vadot			vdd_arm: DCDC_REG2 {
328*5956d97fSEmmanuel Vadot				regulator-name = "vdd_arm";
329*5956d97fSEmmanuel Vadot				regulator-min-microvolt = <950000>;
330*5956d97fSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
331*5956d97fSEmmanuel Vadot				regulator-ramp-delay = <6001>;
332*5956d97fSEmmanuel Vadot				regulator-always-on;
333*5956d97fSEmmanuel Vadot				regulator-boot-on;
334*5956d97fSEmmanuel Vadot
335*5956d97fSEmmanuel Vadot				regulator-state-mem {
336*5956d97fSEmmanuel Vadot					regulator-off-in-suspend;
337*5956d97fSEmmanuel Vadot					regulator-suspend-microvolt = <950000>;
338*5956d97fSEmmanuel Vadot				};
339*5956d97fSEmmanuel Vadot			};
340*5956d97fSEmmanuel Vadot
341*5956d97fSEmmanuel Vadot			vcc_ddr: DCDC_REG3 {
342*5956d97fSEmmanuel Vadot				regulator-name = "vcc_ddr";
343*5956d97fSEmmanuel Vadot				regulator-always-on;
344*5956d97fSEmmanuel Vadot				regulator-boot-on;
345*5956d97fSEmmanuel Vadot
346*5956d97fSEmmanuel Vadot				regulator-state-mem {
347*5956d97fSEmmanuel Vadot					regulator-on-in-suspend;
348*5956d97fSEmmanuel Vadot				};
349*5956d97fSEmmanuel Vadot			};
350*5956d97fSEmmanuel Vadot
351*5956d97fSEmmanuel Vadot			vcc_3v3: DCDC_REG4 {
352*5956d97fSEmmanuel Vadot				regulator-name = "vcc_3v3";
353*5956d97fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
354*5956d97fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
355*5956d97fSEmmanuel Vadot				regulator-always-on;
356*5956d97fSEmmanuel Vadot				regulator-boot-on;
357*5956d97fSEmmanuel Vadot
358*5956d97fSEmmanuel Vadot				regulator-state-mem {
359*5956d97fSEmmanuel Vadot					regulator-off-in-suspend;
360*5956d97fSEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
361*5956d97fSEmmanuel Vadot				};
362*5956d97fSEmmanuel Vadot			};
363*5956d97fSEmmanuel Vadot
364*5956d97fSEmmanuel Vadot			vcc_1v8: LDO_REG2 {
365*5956d97fSEmmanuel Vadot				regulator-name = "vcc_1v8";
366*5956d97fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
367*5956d97fSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
368*5956d97fSEmmanuel Vadot				regulator-always-on;
369*5956d97fSEmmanuel Vadot				regulator-boot-on;
370*5956d97fSEmmanuel Vadot
371*5956d97fSEmmanuel Vadot				regulator-state-mem {
372*5956d97fSEmmanuel Vadot					regulator-on-in-suspend;
373*5956d97fSEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
374*5956d97fSEmmanuel Vadot				};
375*5956d97fSEmmanuel Vadot			};
376*5956d97fSEmmanuel Vadot
377*5956d97fSEmmanuel Vadot			vdd_1v0: LDO_REG3 {
378*5956d97fSEmmanuel Vadot				regulator-name = "vdd_1v0";
379*5956d97fSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
380*5956d97fSEmmanuel Vadot				regulator-max-microvolt = <1000000>;
381*5956d97fSEmmanuel Vadot				regulator-always-on;
382*5956d97fSEmmanuel Vadot				regulator-boot-on;
383*5956d97fSEmmanuel Vadot
384*5956d97fSEmmanuel Vadot				regulator-state-mem {
385*5956d97fSEmmanuel Vadot					regulator-on-in-suspend;
386*5956d97fSEmmanuel Vadot					regulator-suspend-microvolt = <1000000>;
387*5956d97fSEmmanuel Vadot				};
388*5956d97fSEmmanuel Vadot			};
389*5956d97fSEmmanuel Vadot
390*5956d97fSEmmanuel Vadot			vcc3v3_pmu: LDO_REG4 {
391*5956d97fSEmmanuel Vadot				regulator-name = "vcc3v3_pmu";
392*5956d97fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
393*5956d97fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
394*5956d97fSEmmanuel Vadot				regulator-always-on;
395*5956d97fSEmmanuel Vadot				regulator-boot-on;
396*5956d97fSEmmanuel Vadot
397*5956d97fSEmmanuel Vadot				regulator-state-mem {
398*5956d97fSEmmanuel Vadot					regulator-on-in-suspend;
399*5956d97fSEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
400*5956d97fSEmmanuel Vadot				};
401*5956d97fSEmmanuel Vadot			};
402*5956d97fSEmmanuel Vadot
403*5956d97fSEmmanuel Vadot			vccio_sd: LDO_REG5 {
404*5956d97fSEmmanuel Vadot				regulator-name = "vccio_sd";
405*5956d97fSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
406*5956d97fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
407*5956d97fSEmmanuel Vadot				regulator-always-on;
408*5956d97fSEmmanuel Vadot				regulator-boot-on;
409*5956d97fSEmmanuel Vadot
410*5956d97fSEmmanuel Vadot				regulator-state-mem {
411*5956d97fSEmmanuel Vadot					regulator-on-in-suspend;
412*5956d97fSEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
413*5956d97fSEmmanuel Vadot				};
414*5956d97fSEmmanuel Vadot			};
415*5956d97fSEmmanuel Vadot
416*5956d97fSEmmanuel Vadot			vcc_sd: LDO_REG6 {
417*5956d97fSEmmanuel Vadot				regulator-name = "vcc_sd";
418*5956d97fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
419*5956d97fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
420*5956d97fSEmmanuel Vadot				regulator-boot-on;
421*5956d97fSEmmanuel Vadot
422*5956d97fSEmmanuel Vadot				regulator-state-mem {
423*5956d97fSEmmanuel Vadot					regulator-on-in-suspend;
424*5956d97fSEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
425*5956d97fSEmmanuel Vadot				};
426*5956d97fSEmmanuel Vadot			};
427*5956d97fSEmmanuel Vadot
428*5956d97fSEmmanuel Vadot			vcc_bl: LDO_REG7 {
429*5956d97fSEmmanuel Vadot				regulator-name = "vcc_bl";
430*5956d97fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
431*5956d97fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
432*5956d97fSEmmanuel Vadot
433*5956d97fSEmmanuel Vadot				regulator-state-mem {
434*5956d97fSEmmanuel Vadot					regulator-off-in-suspend;
435*5956d97fSEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
436*5956d97fSEmmanuel Vadot				};
437*5956d97fSEmmanuel Vadot			};
438*5956d97fSEmmanuel Vadot
439*5956d97fSEmmanuel Vadot			vcc_lcd: LDO_REG8 {
440*5956d97fSEmmanuel Vadot				regulator-name = "vcc_lcd";
441*5956d97fSEmmanuel Vadot				regulator-min-microvolt = <2800000>;
442*5956d97fSEmmanuel Vadot				regulator-max-microvolt = <2800000>;
443*5956d97fSEmmanuel Vadot
444*5956d97fSEmmanuel Vadot				regulator-state-mem {
445*5956d97fSEmmanuel Vadot					regulator-off-in-suspend;
446*5956d97fSEmmanuel Vadot					regulator-suspend-microvolt = <2800000>;
447*5956d97fSEmmanuel Vadot				};
448*5956d97fSEmmanuel Vadot			};
449*5956d97fSEmmanuel Vadot
450*5956d97fSEmmanuel Vadot			vcc_cam: LDO_REG9 {
451*5956d97fSEmmanuel Vadot				regulator-name = "vcc_cam";
452*5956d97fSEmmanuel Vadot				regulator-min-microvolt = <3000000>;
453*5956d97fSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
454*5956d97fSEmmanuel Vadot
455*5956d97fSEmmanuel Vadot				regulator-state-mem {
456*5956d97fSEmmanuel Vadot					regulator-off-in-suspend;
457*5956d97fSEmmanuel Vadot					regulator-suspend-microvolt = <3000000>;
458*5956d97fSEmmanuel Vadot				};
459*5956d97fSEmmanuel Vadot			};
460*5956d97fSEmmanuel Vadot		};
461*5956d97fSEmmanuel Vadot
462*5956d97fSEmmanuel Vadot		rk817_codec: codec {
463*5956d97fSEmmanuel Vadot			rockchip,mic-in-differential;
464*5956d97fSEmmanuel Vadot		};
465*5956d97fSEmmanuel Vadot	};
466