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