xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sm8750-qrd.dts (revision 2846c90520eb4cc74e24d586a0ea0f4a0006bc73)
1*2846c905SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2*2846c905SEmmanuel Vadot/*
3*2846c905SEmmanuel Vadot * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
4*2846c905SEmmanuel Vadot */
5*2846c905SEmmanuel Vadot
6*2846c905SEmmanuel Vadot/dts-v1/;
7*2846c905SEmmanuel Vadot
8*2846c905SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
9*2846c905SEmmanuel Vadot#include <dt-bindings/leds/common.h>
10*2846c905SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11*2846c905SEmmanuel Vadot#include "sm8750.dtsi"
12*2846c905SEmmanuel Vadot#include "pm8010.dtsi"
13*2846c905SEmmanuel Vadot#include "pm8550.dtsi"
14*2846c905SEmmanuel Vadot#define PMK8550VE_SID 8
15*2846c905SEmmanuel Vadot#include "pm8550ve.dtsi"
16*2846c905SEmmanuel Vadot#include "pmd8028.dtsi"
17*2846c905SEmmanuel Vadot#include "pmih0108.dtsi"
18*2846c905SEmmanuel Vadot#include "pmk8550.dtsi"
19*2846c905SEmmanuel Vadot#include "pmr735d_a.dtsi"
20*2846c905SEmmanuel Vadot#include "sm8750-pmics.dtsi"
21*2846c905SEmmanuel Vadot
22*2846c905SEmmanuel Vadot/ {
23*2846c905SEmmanuel Vadot	model = "Qualcomm Technologies, Inc. SM8750 QRD";
24*2846c905SEmmanuel Vadot	compatible = "qcom,sm8750-qrd", "qcom,sm8750";
25*2846c905SEmmanuel Vadot	chassis-type = "handset";
26*2846c905SEmmanuel Vadot
27*2846c905SEmmanuel Vadot	aliases {
28*2846c905SEmmanuel Vadot		serial0 = &uart7;
29*2846c905SEmmanuel Vadot	};
30*2846c905SEmmanuel Vadot
31*2846c905SEmmanuel Vadot	chosen {
32*2846c905SEmmanuel Vadot		stdout-path = "serial0:115200n8";
33*2846c905SEmmanuel Vadot	};
34*2846c905SEmmanuel Vadot
35*2846c905SEmmanuel Vadot	clocks {
36*2846c905SEmmanuel Vadot		xo_board: xo-board {
37*2846c905SEmmanuel Vadot			compatible = "fixed-clock";
38*2846c905SEmmanuel Vadot			clock-frequency = <76800000>;
39*2846c905SEmmanuel Vadot			#clock-cells = <0>;
40*2846c905SEmmanuel Vadot		};
41*2846c905SEmmanuel Vadot
42*2846c905SEmmanuel Vadot		sleep_clk: sleep-clk {
43*2846c905SEmmanuel Vadot			compatible = "fixed-clock";
44*2846c905SEmmanuel Vadot			clock-frequency = <32000>;
45*2846c905SEmmanuel Vadot			#clock-cells = <0>;
46*2846c905SEmmanuel Vadot		};
47*2846c905SEmmanuel Vadot
48*2846c905SEmmanuel Vadot		bi_tcxo_div2: bi-tcxo-div2-clk {
49*2846c905SEmmanuel Vadot			compatible = "fixed-factor-clock";
50*2846c905SEmmanuel Vadot			#clock-cells = <0>;
51*2846c905SEmmanuel Vadot
52*2846c905SEmmanuel Vadot			clocks = <&rpmhcc RPMH_CXO_CLK>;
53*2846c905SEmmanuel Vadot			clock-mult = <1>;
54*2846c905SEmmanuel Vadot			clock-div = <2>;
55*2846c905SEmmanuel Vadot		};
56*2846c905SEmmanuel Vadot
57*2846c905SEmmanuel Vadot		bi_tcxo_ao_div2: bi-tcxo-ao-div2-clk {
58*2846c905SEmmanuel Vadot			compatible = "fixed-factor-clock";
59*2846c905SEmmanuel Vadot			#clock-cells = <0>;
60*2846c905SEmmanuel Vadot
61*2846c905SEmmanuel Vadot			clocks = <&rpmhcc RPMH_CXO_CLK_A>;
62*2846c905SEmmanuel Vadot			clock-mult = <1>;
63*2846c905SEmmanuel Vadot			clock-div = <2>;
64*2846c905SEmmanuel Vadot		};
65*2846c905SEmmanuel Vadot	};
66*2846c905SEmmanuel Vadot
67*2846c905SEmmanuel Vadot	gpio-keys {
68*2846c905SEmmanuel Vadot		compatible = "gpio-keys";
69*2846c905SEmmanuel Vadot
70*2846c905SEmmanuel Vadot		pinctrl-0 = <&volume_up_n>;
71*2846c905SEmmanuel Vadot		pinctrl-names = "default";
72*2846c905SEmmanuel Vadot
73*2846c905SEmmanuel Vadot		key-volume-up {
74*2846c905SEmmanuel Vadot			label = "Volume Up";
75*2846c905SEmmanuel Vadot			linux,code = <KEY_VOLUMEUP>;
76*2846c905SEmmanuel Vadot			gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>;
77*2846c905SEmmanuel Vadot			debounce-interval = <15>;
78*2846c905SEmmanuel Vadot			linux,can-disable;
79*2846c905SEmmanuel Vadot			wakeup-source;
80*2846c905SEmmanuel Vadot		};
81*2846c905SEmmanuel Vadot	};
82*2846c905SEmmanuel Vadot
83*2846c905SEmmanuel Vadot	vph_pwr: vph-pwr-regulator {
84*2846c905SEmmanuel Vadot		compatible = "regulator-fixed";
85*2846c905SEmmanuel Vadot
86*2846c905SEmmanuel Vadot		regulator-name = "vph_pwr";
87*2846c905SEmmanuel Vadot		regulator-min-microvolt = <3700000>;
88*2846c905SEmmanuel Vadot		regulator-max-microvolt = <3700000>;
89*2846c905SEmmanuel Vadot
90*2846c905SEmmanuel Vadot		regulator-always-on;
91*2846c905SEmmanuel Vadot		regulator-boot-on;
92*2846c905SEmmanuel Vadot	};
93*2846c905SEmmanuel Vadot};
94*2846c905SEmmanuel Vadot
95*2846c905SEmmanuel Vadot&apps_rsc {
96*2846c905SEmmanuel Vadot	regulators-0 {
97*2846c905SEmmanuel Vadot		compatible = "qcom,pm8550-rpmh-regulators";
98*2846c905SEmmanuel Vadot
99*2846c905SEmmanuel Vadot		vdd-bob1-supply = <&vph_pwr>;
100*2846c905SEmmanuel Vadot		vdd-bob2-supply = <&vph_pwr>;
101*2846c905SEmmanuel Vadot		vdd-l1-l4-l10-supply = <&vreg_s3g_1p8>;
102*2846c905SEmmanuel Vadot		vdd-l2-l13-l14-supply = <&vreg_bob1>;
103*2846c905SEmmanuel Vadot		vdd-l3-supply = <&vreg_s7i_1p2>;
104*2846c905SEmmanuel Vadot		vdd-l5-l16-supply = <&vreg_bob1>;
105*2846c905SEmmanuel Vadot		vdd-l6-l7-supply = <&vreg_bob1>;
106*2846c905SEmmanuel Vadot		vdd-l8-l9-supply = <&vreg_bob1>;
107*2846c905SEmmanuel Vadot		vdd-l11-supply = <&vreg_s7i_1p2>;
108*2846c905SEmmanuel Vadot		vdd-l12-supply = <&vreg_s3g_1p8>;
109*2846c905SEmmanuel Vadot		vdd-l15-supply = <&vreg_s3g_1p8>;
110*2846c905SEmmanuel Vadot		vdd-l17-supply = <&vreg_bob2>;
111*2846c905SEmmanuel Vadot
112*2846c905SEmmanuel Vadot		qcom,pmic-id = "b";
113*2846c905SEmmanuel Vadot
114*2846c905SEmmanuel Vadot		vreg_bob1: bob1 {
115*2846c905SEmmanuel Vadot			regulator-name = "vreg_bob1";
116*2846c905SEmmanuel Vadot			regulator-min-microvolt = <3008000>;
117*2846c905SEmmanuel Vadot			regulator-max-microvolt = <4000000>;
118*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
119*2846c905SEmmanuel Vadot		};
120*2846c905SEmmanuel Vadot
121*2846c905SEmmanuel Vadot		vreg_bob2: bob2 {
122*2846c905SEmmanuel Vadot			regulator-name = "vreg_bob2";
123*2846c905SEmmanuel Vadot			regulator-min-microvolt = <2704000>;
124*2846c905SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
125*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
126*2846c905SEmmanuel Vadot		};
127*2846c905SEmmanuel Vadot
128*2846c905SEmmanuel Vadot		vreg_l1b_1p8: ldo1 {
129*2846c905SEmmanuel Vadot			regulator-name = "vreg_l1b_1p8";
130*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
131*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
132*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
133*2846c905SEmmanuel Vadot			regulator-allow-set-load;
134*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
135*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
136*2846c905SEmmanuel Vadot		};
137*2846c905SEmmanuel Vadot
138*2846c905SEmmanuel Vadot		vreg_l2b_3p0: ldo2 {
139*2846c905SEmmanuel Vadot			regulator-name = "vreg_l2b_3p0";
140*2846c905SEmmanuel Vadot			regulator-min-microvolt = <3008000>;
141*2846c905SEmmanuel Vadot			regulator-max-microvolt = <3048000>;
142*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
143*2846c905SEmmanuel Vadot			regulator-allow-set-load;
144*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
145*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
146*2846c905SEmmanuel Vadot		};
147*2846c905SEmmanuel Vadot
148*2846c905SEmmanuel Vadot		vreg_l4b_1p8: ldo4 {
149*2846c905SEmmanuel Vadot			regulator-name = "vreg_l4b_1p8";
150*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
151*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
152*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
153*2846c905SEmmanuel Vadot			regulator-allow-set-load;
154*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
155*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
156*2846c905SEmmanuel Vadot		};
157*2846c905SEmmanuel Vadot
158*2846c905SEmmanuel Vadot		vreg_l5b_3p1: ldo5 {
159*2846c905SEmmanuel Vadot			regulator-name = "vreg_l5b_3p1";
160*2846c905SEmmanuel Vadot			regulator-min-microvolt = <3100000>;
161*2846c905SEmmanuel Vadot			regulator-max-microvolt = <3148000>;
162*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
163*2846c905SEmmanuel Vadot			regulator-allow-set-load;
164*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
165*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
166*2846c905SEmmanuel Vadot		};
167*2846c905SEmmanuel Vadot
168*2846c905SEmmanuel Vadot		vreg_l6b_1p8: ldo6 {
169*2846c905SEmmanuel Vadot			regulator-name = "vreg_l6b_1p8";
170*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
171*2846c905SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
172*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
173*2846c905SEmmanuel Vadot			regulator-allow-set-load;
174*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
175*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
176*2846c905SEmmanuel Vadot		};
177*2846c905SEmmanuel Vadot
178*2846c905SEmmanuel Vadot		vreg_l7b_1p8: ldo7 {
179*2846c905SEmmanuel Vadot			regulator-name = "vreg_l7b_1p8";
180*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
181*2846c905SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
182*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
183*2846c905SEmmanuel Vadot			regulator-allow-set-load;
184*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
185*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
186*2846c905SEmmanuel Vadot		};
187*2846c905SEmmanuel Vadot
188*2846c905SEmmanuel Vadot		vreg_l8b_1p8: ldo8 {
189*2846c905SEmmanuel Vadot			regulator-name = "vreg_l8b_1p8";
190*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
191*2846c905SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
192*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
193*2846c905SEmmanuel Vadot			regulator-allow-set-load;
194*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
195*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
196*2846c905SEmmanuel Vadot		};
197*2846c905SEmmanuel Vadot
198*2846c905SEmmanuel Vadot		vreg_l9b_2p9: ldo9 {
199*2846c905SEmmanuel Vadot			regulator-name = "vreg_l9b_2p9";
200*2846c905SEmmanuel Vadot			regulator-min-microvolt = <2960000>;
201*2846c905SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
202*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
203*2846c905SEmmanuel Vadot			regulator-allow-set-load;
204*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
205*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
206*2846c905SEmmanuel Vadot		};
207*2846c905SEmmanuel Vadot
208*2846c905SEmmanuel Vadot		vreg_l10b_1p8: ldo10 {
209*2846c905SEmmanuel Vadot			regulator-name = "vreg_l10b_1p8";
210*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
211*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
212*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
213*2846c905SEmmanuel Vadot			regulator-allow-set-load;
214*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
215*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
216*2846c905SEmmanuel Vadot		};
217*2846c905SEmmanuel Vadot
218*2846c905SEmmanuel Vadot		vreg_l11b_1p0: ldo11 {
219*2846c905SEmmanuel Vadot			regulator-name = "vreg_l11b_1p0";
220*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1064000>;
221*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1292000>;
222*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
223*2846c905SEmmanuel Vadot			regulator-allow-set-load;
224*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
225*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
226*2846c905SEmmanuel Vadot		};
227*2846c905SEmmanuel Vadot
228*2846c905SEmmanuel Vadot		vreg_l12b_1p8: ldo12 {
229*2846c905SEmmanuel Vadot			regulator-name = "vreg_l12b_1p8";
230*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
231*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
232*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
233*2846c905SEmmanuel Vadot			regulator-allow-set-load;
234*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
235*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
236*2846c905SEmmanuel Vadot		};
237*2846c905SEmmanuel Vadot
238*2846c905SEmmanuel Vadot		vreg_l13b_3p0: ldo13 {
239*2846c905SEmmanuel Vadot			regulator-name = "vreg_l13b_3p0";
240*2846c905SEmmanuel Vadot			regulator-min-microvolt = <3000000>;
241*2846c905SEmmanuel Vadot			regulator-max-microvolt = <3000000>;
242*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
243*2846c905SEmmanuel Vadot			regulator-allow-set-load;
244*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
245*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
246*2846c905SEmmanuel Vadot		};
247*2846c905SEmmanuel Vadot
248*2846c905SEmmanuel Vadot		vreg_l14b_3p2: ldo14 {
249*2846c905SEmmanuel Vadot			regulator-name = "vreg_l14b_3p2";
250*2846c905SEmmanuel Vadot			regulator-min-microvolt = <3200000>;
251*2846c905SEmmanuel Vadot			regulator-max-microvolt = <3200000>;
252*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
253*2846c905SEmmanuel Vadot			regulator-allow-set-load;
254*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
255*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
256*2846c905SEmmanuel Vadot		};
257*2846c905SEmmanuel Vadot
258*2846c905SEmmanuel Vadot		vreg_l15b_1p8: ldo15 {
259*2846c905SEmmanuel Vadot			regulator-name = "vreg_l15b_1p8";
260*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
261*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
262*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
263*2846c905SEmmanuel Vadot			regulator-allow-set-load;
264*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
265*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
266*2846c905SEmmanuel Vadot		};
267*2846c905SEmmanuel Vadot
268*2846c905SEmmanuel Vadot		vreg_l16b_2p8: ldo16 {
269*2846c905SEmmanuel Vadot			regulator-name = "vreg_l16b_2p8";
270*2846c905SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
271*2846c905SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
272*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
273*2846c905SEmmanuel Vadot			regulator-allow-set-load;
274*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
275*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
276*2846c905SEmmanuel Vadot		};
277*2846c905SEmmanuel Vadot
278*2846c905SEmmanuel Vadot		vreg_l17b_2p5: ldo17 {
279*2846c905SEmmanuel Vadot			regulator-name = "vreg_l17b_2p5";
280*2846c905SEmmanuel Vadot			regulator-min-microvolt = <2504000>;
281*2846c905SEmmanuel Vadot			regulator-max-microvolt = <2504000>;
282*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
283*2846c905SEmmanuel Vadot			regulator-allow-set-load;
284*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
285*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
286*2846c905SEmmanuel Vadot		};
287*2846c905SEmmanuel Vadot	};
288*2846c905SEmmanuel Vadot
289*2846c905SEmmanuel Vadot	regulators-1 {
290*2846c905SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
291*2846c905SEmmanuel Vadot
292*2846c905SEmmanuel Vadot		vdd-l1-supply = <&vreg_s7i_1p2>;
293*2846c905SEmmanuel Vadot		vdd-l2-supply = <&vreg_s1d_0p97>;
294*2846c905SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1d_0p97>;
295*2846c905SEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
296*2846c905SEmmanuel Vadot		vdd-s3-supply = <&vph_pwr>;
297*2846c905SEmmanuel Vadot		vdd-s4-supply = <&vph_pwr>;
298*2846c905SEmmanuel Vadot
299*2846c905SEmmanuel Vadot		qcom,pmic-id = "d";
300*2846c905SEmmanuel Vadot
301*2846c905SEmmanuel Vadot		vreg_s1d_0p97: smps1 {
302*2846c905SEmmanuel Vadot			regulator-name = "vreg_s1d_0p97";
303*2846c905SEmmanuel Vadot			regulator-min-microvolt = <880000>;
304*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1100000>;
305*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
306*2846c905SEmmanuel Vadot		};
307*2846c905SEmmanuel Vadot
308*2846c905SEmmanuel Vadot		vreg_s3d_1p2: smps3 {
309*2846c905SEmmanuel Vadot			regulator-name = "vreg_s3d_1p2";
310*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
311*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1300000>;
312*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
313*2846c905SEmmanuel Vadot		};
314*2846c905SEmmanuel Vadot
315*2846c905SEmmanuel Vadot		vreg_s4d_0p85: smps4 {
316*2846c905SEmmanuel Vadot			regulator-name = "vreg_s4d_0p85";
317*2846c905SEmmanuel Vadot			regulator-min-microvolt = <500000>;
318*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1036000>;
319*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
320*2846c905SEmmanuel Vadot		};
321*2846c905SEmmanuel Vadot
322*2846c905SEmmanuel Vadot		vreg_l1d_1p2: ldo1 {
323*2846c905SEmmanuel Vadot			regulator-name = "vreg_l1d_1p2";
324*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
325*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
326*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
327*2846c905SEmmanuel Vadot			regulator-allow-set-load;
328*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
329*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
330*2846c905SEmmanuel Vadot		};
331*2846c905SEmmanuel Vadot
332*2846c905SEmmanuel Vadot		vreg_l2d_0p88: ldo2 {
333*2846c905SEmmanuel Vadot			regulator-name = "vreg_l2d_0p88";
334*2846c905SEmmanuel Vadot			regulator-min-microvolt = <880000>;
335*2846c905SEmmanuel Vadot			regulator-max-microvolt = <912000>;
336*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
337*2846c905SEmmanuel Vadot			regulator-allow-set-load;
338*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
339*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
340*2846c905SEmmanuel Vadot		};
341*2846c905SEmmanuel Vadot
342*2846c905SEmmanuel Vadot		vreg_l3d_0p88: ldo3 {
343*2846c905SEmmanuel Vadot			regulator-name = "vreg_l3d_0p88";
344*2846c905SEmmanuel Vadot			regulator-min-microvolt = <880000>;
345*2846c905SEmmanuel Vadot			regulator-max-microvolt = <920000>;
346*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
347*2846c905SEmmanuel Vadot			regulator-allow-set-load;
348*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
349*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
350*2846c905SEmmanuel Vadot		};
351*2846c905SEmmanuel Vadot	};
352*2846c905SEmmanuel Vadot
353*2846c905SEmmanuel Vadot	regulators-2 {
354*2846c905SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
355*2846c905SEmmanuel Vadot
356*2846c905SEmmanuel Vadot		vdd-l1-supply = <&vreg_s1d_0p97>;
357*2846c905SEmmanuel Vadot		vdd-l2-supply = <&vreg_s7i_1p2>;
358*2846c905SEmmanuel Vadot		vdd-l3-supply = <&vreg_s3g_1p8>;
359*2846c905SEmmanuel Vadot		vdd-s5-supply = <&vph_pwr>;
360*2846c905SEmmanuel Vadot
361*2846c905SEmmanuel Vadot		qcom,pmic-id = "f";
362*2846c905SEmmanuel Vadot
363*2846c905SEmmanuel Vadot		vreg_s5f_0p5: smps5 {
364*2846c905SEmmanuel Vadot			regulator-name = "vreg_s5f_0p5";
365*2846c905SEmmanuel Vadot			regulator-min-microvolt = <500000>;
366*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1000000>;
367*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
368*2846c905SEmmanuel Vadot		};
369*2846c905SEmmanuel Vadot
370*2846c905SEmmanuel Vadot		vreg_l1f_0p88: ldo1 {
371*2846c905SEmmanuel Vadot			regulator-name = "vreg_l1f_0p88";
372*2846c905SEmmanuel Vadot			regulator-min-microvolt = <880000>;
373*2846c905SEmmanuel Vadot			regulator-max-microvolt = <920000>;
374*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
375*2846c905SEmmanuel Vadot			regulator-allow-set-load;
376*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
377*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
378*2846c905SEmmanuel Vadot		};
379*2846c905SEmmanuel Vadot
380*2846c905SEmmanuel Vadot		vreg_l2f_1p2: ldo2 {
381*2846c905SEmmanuel Vadot			regulator-name = "vreg_l2f_1p2";
382*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
383*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
384*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
385*2846c905SEmmanuel Vadot			regulator-allow-set-load;
386*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
387*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
388*2846c905SEmmanuel Vadot		};
389*2846c905SEmmanuel Vadot
390*2846c905SEmmanuel Vadot		vreg_l3f_1p8: ldo3 {
391*2846c905SEmmanuel Vadot			regulator-name = "vreg_l3f_1p8";
392*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
393*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
394*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
395*2846c905SEmmanuel Vadot			regulator-allow-set-load;
396*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
397*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
398*2846c905SEmmanuel Vadot		};
399*2846c905SEmmanuel Vadot
400*2846c905SEmmanuel Vadot	};
401*2846c905SEmmanuel Vadot
402*2846c905SEmmanuel Vadot	regulators-3 {
403*2846c905SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
404*2846c905SEmmanuel Vadot
405*2846c905SEmmanuel Vadot		vdd-l1-supply = <&vreg_s1d_0p97>;
406*2846c905SEmmanuel Vadot		vdd-l2-supply = <&vreg_s3g_1p8>;
407*2846c905SEmmanuel Vadot		vdd-l3-supply = <&vreg_s7i_1p2>;
408*2846c905SEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
409*2846c905SEmmanuel Vadot		vdd-s3-supply = <&vph_pwr>;
410*2846c905SEmmanuel Vadot
411*2846c905SEmmanuel Vadot		qcom,pmic-id = "g";
412*2846c905SEmmanuel Vadot
413*2846c905SEmmanuel Vadot		vreg_s1g_0p5: smps1 {
414*2846c905SEmmanuel Vadot			regulator-name = "vreg_s1g_0p5";
415*2846c905SEmmanuel Vadot			regulator-min-microvolt = <300000>;
416*2846c905SEmmanuel Vadot			regulator-max-microvolt = <700000>;
417*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
418*2846c905SEmmanuel Vadot		};
419*2846c905SEmmanuel Vadot
420*2846c905SEmmanuel Vadot		vreg_s3g_1p8: smps3 {
421*2846c905SEmmanuel Vadot			regulator-name = "vreg_s3g_1p8";
422*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1856000>;
423*2846c905SEmmanuel Vadot			regulator-max-microvolt = <2000000>;
424*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
425*2846c905SEmmanuel Vadot			regulator-allow-set-load;
426*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
427*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
428*2846c905SEmmanuel Vadot		};
429*2846c905SEmmanuel Vadot
430*2846c905SEmmanuel Vadot		vreg_s4g_0p75: smps4 {
431*2846c905SEmmanuel Vadot			regulator-name = "vreg_s4g_0p75";
432*2846c905SEmmanuel Vadot			regulator-min-microvolt = <300000>;
433*2846c905SEmmanuel Vadot			regulator-max-microvolt = <900000>;
434*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
435*2846c905SEmmanuel Vadot		};
436*2846c905SEmmanuel Vadot
437*2846c905SEmmanuel Vadot		vreg_l1g_0p91: ldo1 {
438*2846c905SEmmanuel Vadot			regulator-name = "vreg_l1g_0p91";
439*2846c905SEmmanuel Vadot			regulator-min-microvolt = <912000>;
440*2846c905SEmmanuel Vadot			regulator-max-microvolt = <936000>;
441*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
442*2846c905SEmmanuel Vadot			regulator-allow-set-load;
443*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
444*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
445*2846c905SEmmanuel Vadot		};
446*2846c905SEmmanuel Vadot
447*2846c905SEmmanuel Vadot		vreg_l2g_1p8: ldo2 {
448*2846c905SEmmanuel Vadot			regulator-name = "vreg_l2g_1p8";
449*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
450*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1860000>;
451*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
452*2846c905SEmmanuel Vadot			regulator-allow-set-load;
453*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
454*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
455*2846c905SEmmanuel Vadot		};
456*2846c905SEmmanuel Vadot
457*2846c905SEmmanuel Vadot		vreg_l3g_1p2: ldo3 {
458*2846c905SEmmanuel Vadot			regulator-name = "vreg_l3g_1p2";
459*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
460*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1256000>;
461*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
462*2846c905SEmmanuel Vadot			regulator-allow-set-load;
463*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
464*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
465*2846c905SEmmanuel Vadot		};
466*2846c905SEmmanuel Vadot	};
467*2846c905SEmmanuel Vadot
468*2846c905SEmmanuel Vadot	regulators-4 {
469*2846c905SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
470*2846c905SEmmanuel Vadot
471*2846c905SEmmanuel Vadot		vdd-l1-supply = <&vreg_s7i_1p2>;
472*2846c905SEmmanuel Vadot		vdd-l2-supply = <&vreg_s7i_1p2>;
473*2846c905SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1d_0p97>;
474*2846c905SEmmanuel Vadot		vdd-s7-supply = <&vph_pwr>;
475*2846c905SEmmanuel Vadot		vdd-s8-supply = <&vph_pwr>;
476*2846c905SEmmanuel Vadot
477*2846c905SEmmanuel Vadot		qcom,pmic-id = "i";
478*2846c905SEmmanuel Vadot
479*2846c905SEmmanuel Vadot		vreg_s7i_1p2: smps7 {
480*2846c905SEmmanuel Vadot			regulator-name = "vreg_s7i_1p2";
481*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1224000>;
482*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1340000>;
483*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
484*2846c905SEmmanuel Vadot		};
485*2846c905SEmmanuel Vadot
486*2846c905SEmmanuel Vadot		vreg_s8i_0p9: smps8 {
487*2846c905SEmmanuel Vadot			regulator-name = "vreg_s8i_0p9";
488*2846c905SEmmanuel Vadot			regulator-min-microvolt = <900000>;
489*2846c905SEmmanuel Vadot			regulator-max-microvolt = <972000>;
490*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
491*2846c905SEmmanuel Vadot		};
492*2846c905SEmmanuel Vadot
493*2846c905SEmmanuel Vadot		vreg_l1i_1p2: ldo1 {
494*2846c905SEmmanuel Vadot			regulator-name = "vreg_l1i_1p2";
495*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
496*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
497*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
498*2846c905SEmmanuel Vadot			regulator-allow-set-load;
499*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
500*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
501*2846c905SEmmanuel Vadot		};
502*2846c905SEmmanuel Vadot
503*2846c905SEmmanuel Vadot		vreg_l2i_1p2: ldo2 {
504*2846c905SEmmanuel Vadot			regulator-name = "vreg_l2i_1p2";
505*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
506*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
507*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
508*2846c905SEmmanuel Vadot			regulator-allow-set-load;
509*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
510*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
511*2846c905SEmmanuel Vadot		};
512*2846c905SEmmanuel Vadot
513*2846c905SEmmanuel Vadot		vreg_l3i_0p88: ldo3 {
514*2846c905SEmmanuel Vadot			regulator-name = "vreg_l3i_0p88";
515*2846c905SEmmanuel Vadot			regulator-min-microvolt = <880000>;
516*2846c905SEmmanuel Vadot			regulator-max-microvolt = <912000>;
517*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
518*2846c905SEmmanuel Vadot			regulator-allow-set-load;
519*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
520*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
521*2846c905SEmmanuel Vadot		};
522*2846c905SEmmanuel Vadot	};
523*2846c905SEmmanuel Vadot
524*2846c905SEmmanuel Vadot	regulators-5 {
525*2846c905SEmmanuel Vadot		compatible = "qcom,pm8550vs-rpmh-regulators";
526*2846c905SEmmanuel Vadot
527*2846c905SEmmanuel Vadot		vdd-l1-supply = <&vreg_s1d_0p97>;
528*2846c905SEmmanuel Vadot		vdd-l2-supply = <&vreg_s7i_1p2>;
529*2846c905SEmmanuel Vadot		vdd-s2-supply = <&vph_pwr>;
530*2846c905SEmmanuel Vadot		vdd-s3-supply = <&vph_pwr>;
531*2846c905SEmmanuel Vadot
532*2846c905SEmmanuel Vadot		qcom,pmic-id = "j";
533*2846c905SEmmanuel Vadot
534*2846c905SEmmanuel Vadot		vreg_s2j_1p1: smps2 {
535*2846c905SEmmanuel Vadot			regulator-name = "vreg_s2j_1p1";
536*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1000000>;
537*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1100000>;
538*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
539*2846c905SEmmanuel Vadot		};
540*2846c905SEmmanuel Vadot
541*2846c905SEmmanuel Vadot		vreg_s3j_1p1: smps3 {
542*2846c905SEmmanuel Vadot			regulator-name = "vreg_s3j_1p1";
543*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1000000>;
544*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1100000>;
545*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
546*2846c905SEmmanuel Vadot		};
547*2846c905SEmmanuel Vadot
548*2846c905SEmmanuel Vadot
549*2846c905SEmmanuel Vadot		vreg_l1j_0p91: ldo1 {
550*2846c905SEmmanuel Vadot			regulator-name = "vreg_l1j_0p91";
551*2846c905SEmmanuel Vadot			regulator-min-microvolt = <880000>;
552*2846c905SEmmanuel Vadot			regulator-max-microvolt = <920000>;
553*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
554*2846c905SEmmanuel Vadot			regulator-allow-set-load;
555*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
556*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
557*2846c905SEmmanuel Vadot		};
558*2846c905SEmmanuel Vadot
559*2846c905SEmmanuel Vadot		vreg_l2j_1p2: ldo2 {
560*2846c905SEmmanuel Vadot			regulator-name = "vreg_l2j_1p2";
561*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
562*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
563*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
564*2846c905SEmmanuel Vadot			regulator-allow-set-load;
565*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
566*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
567*2846c905SEmmanuel Vadot		};
568*2846c905SEmmanuel Vadot	};
569*2846c905SEmmanuel Vadot
570*2846c905SEmmanuel Vadot	regulators-6 {
571*2846c905SEmmanuel Vadot		compatible = "qcom,pm8010-rpmh-regulators";
572*2846c905SEmmanuel Vadot		qcom,pmic-id = "m";
573*2846c905SEmmanuel Vadot
574*2846c905SEmmanuel Vadot		vdd-l1-l2-supply = <&vreg_s7i_1p2>;
575*2846c905SEmmanuel Vadot		vdd-l3-l4-supply = <&vreg_s3g_1p8>;
576*2846c905SEmmanuel Vadot		vdd-l5-supply = <&vreg_s3g_1p8>;
577*2846c905SEmmanuel Vadot		vdd-l6-supply = <&vreg_bob1>;
578*2846c905SEmmanuel Vadot		vdd-l7-supply = <&vreg_bob1>;
579*2846c905SEmmanuel Vadot
580*2846c905SEmmanuel Vadot		vreg_l1m_1p1: ldo1 {
581*2846c905SEmmanuel Vadot			regulator-name = "vreg_l1m_1p1";
582*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1104000>;
583*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1104000>;
584*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
585*2846c905SEmmanuel Vadot			regulator-allow-set-load;
586*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
587*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
588*2846c905SEmmanuel Vadot		};
589*2846c905SEmmanuel Vadot
590*2846c905SEmmanuel Vadot		vreg_l2m_1p056: ldo2 {
591*2846c905SEmmanuel Vadot			regulator-name = "vreg_l2m_1p056";
592*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1056000>;
593*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1056000>;
594*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
595*2846c905SEmmanuel Vadot			regulator-allow-set-load;
596*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
597*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
598*2846c905SEmmanuel Vadot		};
599*2846c905SEmmanuel Vadot
600*2846c905SEmmanuel Vadot		vreg_l3m_2p8: ldo3 {
601*2846c905SEmmanuel Vadot			regulator-name = "vreg_l3m_2p8";
602*2846c905SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
603*2846c905SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
604*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
605*2846c905SEmmanuel Vadot		};
606*2846c905SEmmanuel Vadot
607*2846c905SEmmanuel Vadot		vreg_l4m_2p8: ldo4 {
608*2846c905SEmmanuel Vadot			regulator-name = "vreg_l4m_2p8";
609*2846c905SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
610*2846c905SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
611*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
612*2846c905SEmmanuel Vadot		};
613*2846c905SEmmanuel Vadot
614*2846c905SEmmanuel Vadot		vreg_l5m_1p8: ldo5 {
615*2846c905SEmmanuel Vadot			regulator-name = "vreg_l5m_1p8";
616*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
617*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
618*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
619*2846c905SEmmanuel Vadot		};
620*2846c905SEmmanuel Vadot
621*2846c905SEmmanuel Vadot		vreg_l6m_2p8: ldo6 {
622*2846c905SEmmanuel Vadot			regulator-name = "vreg_l6m_2p8";
623*2846c905SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
624*2846c905SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
625*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
626*2846c905SEmmanuel Vadot		};
627*2846c905SEmmanuel Vadot
628*2846c905SEmmanuel Vadot		vreg_l7m_2p96: ldo7 {
629*2846c905SEmmanuel Vadot			regulator-name = "vreg_l7m_2p96";
630*2846c905SEmmanuel Vadot			regulator-min-microvolt = <2960000>;
631*2846c905SEmmanuel Vadot			regulator-max-microvolt = <2960000>;
632*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
633*2846c905SEmmanuel Vadot		};
634*2846c905SEmmanuel Vadot	};
635*2846c905SEmmanuel Vadot
636*2846c905SEmmanuel Vadot	regulators-7 {
637*2846c905SEmmanuel Vadot		compatible = "qcom,pm8010-rpmh-regulators";
638*2846c905SEmmanuel Vadot		qcom,pmic-id = "n";
639*2846c905SEmmanuel Vadot
640*2846c905SEmmanuel Vadot		vdd-l1-l2-supply = <&vreg_s7i_1p2>;
641*2846c905SEmmanuel Vadot		vdd-l3-l4-supply = <&vreg_s7i_1p2>;
642*2846c905SEmmanuel Vadot		vdd-l5-supply = <&vreg_bob2>;
643*2846c905SEmmanuel Vadot		vdd-l6-supply = <&vreg_bob2>;
644*2846c905SEmmanuel Vadot		vdd-l7-supply = <&vreg_bob1>;
645*2846c905SEmmanuel Vadot
646*2846c905SEmmanuel Vadot		vreg_l1n_1p1: ldo1 {
647*2846c905SEmmanuel Vadot			regulator-name = "vreg_l1n_1p1";
648*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1104000>;
649*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1104000>;
650*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
651*2846c905SEmmanuel Vadot			regulator-allow-set-load;
652*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
653*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
654*2846c905SEmmanuel Vadot		};
655*2846c905SEmmanuel Vadot
656*2846c905SEmmanuel Vadot		vreg_l2n_1p1: ldo2 {
657*2846c905SEmmanuel Vadot			regulator-name = "vreg_l2n_1p1";
658*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1104000>;
659*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1104000>;
660*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
661*2846c905SEmmanuel Vadot			regulator-allow-set-load;
662*2846c905SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
663*2846c905SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
664*2846c905SEmmanuel Vadot		};
665*2846c905SEmmanuel Vadot
666*2846c905SEmmanuel Vadot		vreg_l3n_1p8: ldo3 {
667*2846c905SEmmanuel Vadot			regulator-name = "vreg_l3n_1p8";
668*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
669*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
670*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
671*2846c905SEmmanuel Vadot		};
672*2846c905SEmmanuel Vadot
673*2846c905SEmmanuel Vadot		vreg_l4n_1p8: ldo4 {
674*2846c905SEmmanuel Vadot			regulator-name = "vreg_l4n_1p8";
675*2846c905SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
676*2846c905SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
677*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
678*2846c905SEmmanuel Vadot		};
679*2846c905SEmmanuel Vadot
680*2846c905SEmmanuel Vadot		vreg_l5n_2p8: ldo5 {
681*2846c905SEmmanuel Vadot			regulator-name = "vreg_l5n_2p8";
682*2846c905SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
683*2846c905SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
684*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
685*2846c905SEmmanuel Vadot		};
686*2846c905SEmmanuel Vadot
687*2846c905SEmmanuel Vadot		vreg_l6n_2p8: ldo6 {
688*2846c905SEmmanuel Vadot			regulator-name = "vreg_l6n_2p8";
689*2846c905SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
690*2846c905SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
691*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
692*2846c905SEmmanuel Vadot		};
693*2846c905SEmmanuel Vadot
694*2846c905SEmmanuel Vadot		vreg_l7n_3p3: ldo7 {
695*2846c905SEmmanuel Vadot			regulator-name = "vreg_l7n_3p3";
696*2846c905SEmmanuel Vadot			regulator-min-microvolt = <3304000>;
697*2846c905SEmmanuel Vadot			regulator-max-microvolt = <3304000>;
698*2846c905SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
699*2846c905SEmmanuel Vadot		};
700*2846c905SEmmanuel Vadot	};
701*2846c905SEmmanuel Vadot};
702*2846c905SEmmanuel Vadot
703*2846c905SEmmanuel Vadot&pm8550_flash {
704*2846c905SEmmanuel Vadot	status = "okay";
705*2846c905SEmmanuel Vadot
706*2846c905SEmmanuel Vadot	led-0 {
707*2846c905SEmmanuel Vadot		function = LED_FUNCTION_FLASH;
708*2846c905SEmmanuel Vadot		color = <LED_COLOR_ID_YELLOW>;
709*2846c905SEmmanuel Vadot		led-sources = <1>, <4>;
710*2846c905SEmmanuel Vadot		led-max-microamp = <500000>;
711*2846c905SEmmanuel Vadot		flash-max-microamp = <2000000>;
712*2846c905SEmmanuel Vadot		flash-max-timeout-us = <1280000>;
713*2846c905SEmmanuel Vadot		function-enumerator = <0>;
714*2846c905SEmmanuel Vadot	};
715*2846c905SEmmanuel Vadot
716*2846c905SEmmanuel Vadot	led-1 {
717*2846c905SEmmanuel Vadot		function = LED_FUNCTION_FLASH;
718*2846c905SEmmanuel Vadot		color = <LED_COLOR_ID_WHITE>;
719*2846c905SEmmanuel Vadot		led-sources = <2>, <3>;
720*2846c905SEmmanuel Vadot		led-max-microamp = <500000>;
721*2846c905SEmmanuel Vadot		flash-max-microamp = <2000000>;
722*2846c905SEmmanuel Vadot		flash-max-timeout-us = <1280000>;
723*2846c905SEmmanuel Vadot		function-enumerator = <1>;
724*2846c905SEmmanuel Vadot	};
725*2846c905SEmmanuel Vadot};
726*2846c905SEmmanuel Vadot
727*2846c905SEmmanuel Vadot&pm8550_gpios {
728*2846c905SEmmanuel Vadot	volume_up_n: volume-up-n-state {
729*2846c905SEmmanuel Vadot		pins = "gpio6";
730*2846c905SEmmanuel Vadot		function = "normal";
731*2846c905SEmmanuel Vadot		bias-pull-up;
732*2846c905SEmmanuel Vadot		input-enable;
733*2846c905SEmmanuel Vadot		power-source = <1>;
734*2846c905SEmmanuel Vadot	};
735*2846c905SEmmanuel Vadot};
736*2846c905SEmmanuel Vadot
737*2846c905SEmmanuel Vadot&pm8550_pwm {
738*2846c905SEmmanuel Vadot	status = "okay";
739*2846c905SEmmanuel Vadot
740*2846c905SEmmanuel Vadot	multi-led {
741*2846c905SEmmanuel Vadot		color = <LED_COLOR_ID_RGB>;
742*2846c905SEmmanuel Vadot		function = LED_FUNCTION_STATUS;
743*2846c905SEmmanuel Vadot
744*2846c905SEmmanuel Vadot		#address-cells = <1>;
745*2846c905SEmmanuel Vadot		#size-cells = <0>;
746*2846c905SEmmanuel Vadot
747*2846c905SEmmanuel Vadot		led@1 {
748*2846c905SEmmanuel Vadot			reg = <1>;
749*2846c905SEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
750*2846c905SEmmanuel Vadot		};
751*2846c905SEmmanuel Vadot
752*2846c905SEmmanuel Vadot		led@2 {
753*2846c905SEmmanuel Vadot			reg = <2>;
754*2846c905SEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
755*2846c905SEmmanuel Vadot		};
756*2846c905SEmmanuel Vadot
757*2846c905SEmmanuel Vadot		led@3 {
758*2846c905SEmmanuel Vadot			reg = <3>;
759*2846c905SEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
760*2846c905SEmmanuel Vadot		};
761*2846c905SEmmanuel Vadot	};
762*2846c905SEmmanuel Vadot};
763*2846c905SEmmanuel Vadot
764*2846c905SEmmanuel Vadot&pon_pwrkey {
765*2846c905SEmmanuel Vadot	status = "okay";
766*2846c905SEmmanuel Vadot};
767*2846c905SEmmanuel Vadot
768*2846c905SEmmanuel Vadot&pon_resin {
769*2846c905SEmmanuel Vadot	linux,code = <KEY_VOLUMEDOWN>;
770*2846c905SEmmanuel Vadot
771*2846c905SEmmanuel Vadot	status = "okay";
772*2846c905SEmmanuel Vadot};
773*2846c905SEmmanuel Vadot
774*2846c905SEmmanuel Vadot&pmih0108_eusb2_repeater {
775*2846c905SEmmanuel Vadot	status = "okay";
776*2846c905SEmmanuel Vadot
777*2846c905SEmmanuel Vadot	vdd18-supply = <&vreg_l15b_1p8>;
778*2846c905SEmmanuel Vadot	vdd3-supply = <&vreg_l5b_3p1>;
779*2846c905SEmmanuel Vadot};
780*2846c905SEmmanuel Vadot
781*2846c905SEmmanuel Vadot&qupv3_1 {
782*2846c905SEmmanuel Vadot	status = "okay";
783*2846c905SEmmanuel Vadot};
784*2846c905SEmmanuel Vadot
785*2846c905SEmmanuel Vadot&tlmm {
786*2846c905SEmmanuel Vadot	/* reserved for secure world */
787*2846c905SEmmanuel Vadot	gpio-reserved-ranges = <36 4>, <74 1>;
788*2846c905SEmmanuel Vadot};
789*2846c905SEmmanuel Vadot
790*2846c905SEmmanuel Vadot&uart7 {
791*2846c905SEmmanuel Vadot	status = "okay";
792*2846c905SEmmanuel Vadot};
793