xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/msm8994-smd-rpm.dtsi (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
1// SPDX-License-Identifier: GPL-2.0-only
2/* Copyright (c) 2015, LGE Inc. All rights reserved.
3 * Copyright (c) 2016, The Linux Foundation. All rights reserved.
4 */
5
6&smd_rpm {
7	rpm {
8		rpm_requests {
9			pm8994-regulators {
10
11				vdd_l1-supply = <&pm8994_s1>;
12				vdd_l2_26_28-supply = <&pm8994_s3>;
13				vdd_l3_11-supply = <&pm8994_s3>;
14				vdd_l4_27_31-supply = <&pm8994_s3>;
15				vdd_l5_7-supply = <&pm8994_s3>;
16				vdd_l6_12_32-supply = <&pm8994_s5>;
17				vdd_l8_16_30-supply = <&vreg_vph_pwr>;
18				vdd_l9_10_18_22-supply = <&vreg_vph_pwr>;
19				vdd_l13_19_23_24-supply = <&vreg_vph_pwr>;
20				vdd_l14_15-supply = <&pm8994_s5>;
21				vdd_l17_29-supply = <&vreg_vph_pwr>;
22				vdd_l20_21-supply = <&vreg_vph_pwr>;
23				vdd_l25-supply = <&pm8994_s5>;
24				vdd_lvs1_2 = <&pm8994_s4>;
25
26				s1 {
27					regulator-min-microvolt = <800000>;
28					regulator-max-microvolt = <800000>;
29				};
30
31				s2 {
32					/* TODO */
33				};
34
35				s3 {
36					regulator-min-microvolt = <1300000>;
37					regulator-max-microvolt = <1300000>;
38				};
39
40				s4 {
41					regulator-min-microvolt = <1800000>;
42					regulator-max-microvolt = <1800000>;
43					regulator-allow-set-load;
44					regulator-system-load = <325000>;
45				};
46
47				s5 {
48					regulator-min-microvolt = <2150000>;
49					regulator-max-microvolt = <2150000>;
50				};
51
52				s7 {
53					regulator-min-microvolt = <1000000>;
54					regulator-max-microvolt = <1000000>;
55				};
56
57				l1 {
58					regulator-min-microvolt = <1000000>;
59					regulator-max-microvolt = <1000000>;
60				};
61
62				l2 {
63					regulator-min-microvolt = <1250000>;
64					regulator-max-microvolt = <1250000>;
65				};
66
67				l3 {
68					regulator-min-microvolt = <1200000>;
69					regulator-max-microvolt = <1200000>;
70				};
71
72				l4 {
73					regulator-min-microvolt = <1225000>;
74					regulator-max-microvolt = <1225000>;
75				};
76
77				l5 {
78					/* TODO */
79				};
80
81				l6 {
82					regulator-min-microvolt = <1800000>;
83					regulator-max-microvolt = <1800000>;
84				};
85
86				l7 {
87					/* TODO */
88				};
89
90				l8 {
91					regulator-min-microvolt = <1800000>;
92					regulator-max-microvolt = <1800000>;
93				};
94
95				l9 {
96					regulator-min-microvolt = <1800000>;
97					regulator-max-microvolt = <1800000>;
98				};
99
100				l10 {
101					regulator-min-microvolt = <1800000>;
102					regulator-max-microvolt = <1800000>;
103					qcom,init-voltage = <1800000>;
104				};
105
106				l11 {
107					regulator-min-microvolt = <1200000>;
108					regulator-max-microvolt = <1200000>;
109					qcom,init-voltage = <1200000>;
110				};
111
112				l12 {
113					regulator-min-microvolt = <1800000>;
114					regulator-max-microvolt = <1800000>;
115					qcom,init-voltage = <1800000>;
116					proxy-supply = <&pm8994_l12>;
117					qcom,proxy-consumer-enable;
118					qcom,proxy-consumer-current = <10000>;
119					status = "okay";
120				};
121
122				l13 {
123					regulator-min-microvolt = <1800000>;
124					regulator-max-microvolt = <2950000>;
125					qcom,init-voltage = <2950000>;
126					status = "okay";
127				};
128
129				l14 {
130					regulator-min-microvolt = <1200000>;
131					regulator-max-microvolt = <1200000>;
132					qcom,init-voltage = <1200000>;
133					proxy-supply = <&pm8994_l14>;
134					qcom,proxy-consumer-enable;
135					qcom,proxy-consumer-current = <10000>;
136					status = "okay";
137				};
138
139				l15 {
140					regulator-min-microvolt = <1800000>;
141					regulator-max-microvolt = <1800000>;
142					qcom,init-voltage = <1800000>;
143					status = "okay";
144				};
145
146				l16 {
147					regulator-min-microvolt = <2700000>;
148					regulator-max-microvolt = <2700000>;
149					qcom,init-voltage = <2700000>;
150					status = "okay";
151				};
152
153				l17 {
154					regulator-min-microvolt = <2700000>;
155					regulator-max-microvolt = <2700000>;
156					qcom,init-voltage = <2700000>;
157					status = "okay";
158				};
159
160				l18 {
161					regulator-min-microvolt = <3000000>;
162					regulator-max-microvolt = <3000000>;
163					regulator-always-on;
164					qcom,init-voltage = <3000000>;
165					qcom,init-ldo-mode = <1>;
166				};
167
168				l19 {
169					regulator-min-microvolt = <1800000>;
170					regulator-max-microvolt = <1800000>;
171					qcom,init-voltage = <1800000>;
172					status = "okay";
173				};
174
175				l20 {
176					regulator-min-microvolt = <2950000>;
177					regulator-max-microvolt = <2950000>;
178					regulator-always-on;
179					regulator-boot-on;
180					regulator-allow-set-load;
181					regulator-system-load = <570000>;
182				};
183
184				l21 {
185					regulator-min-microvolt = <1800000>;
186					regulator-max-microvolt = <1800000>;
187					regulator-always-on;
188					qcom,init-voltage = <1800000>;
189				};
190
191				l22 {
192					regulator-min-microvolt = <3100000>;
193					regulator-max-microvolt = <3100000>;
194					qcom,init-voltage = <3100000>;
195				};
196
197				l23 {
198					regulator-min-microvolt = <2800000>;
199					regulator-max-microvolt = <2800000>;
200					qcom,init-voltage = <2800000>;
201				};
202
203				l24 {
204					regulator-min-microvolt = <3075000>;
205					regulator-max-microvolt = <3150000>;
206					qcom,init-voltage = <3075000>;
207				};
208
209				l25 {
210					regulator-min-microvolt = <1800000>;
211					regulator-max-microvolt = <1800000>;
212					qcom,init-voltage = <1800000>;
213				};
214
215				l26 {
216					/* TODO: value from downstream
217					regulator-min-microvolt = <987500>;
218					fails to apply */
219				};
220
221				l27 {
222					regulator-min-microvolt = <1050000>;
223					regulator-max-microvolt = <1050000>;
224					qcom,init-voltage = <1050000>;
225				};
226
227				l28 {
228					regulator-min-microvolt = <1000000>;
229					regulator-max-microvolt = <1000000>;
230					qcom,init-voltage = <1000000>;
231					proxy-supply = <&pm8994_l28>;
232					qcom,proxy-consumer-enable;
233					qcom,proxy-consumer-current = <10000>;
234				};
235
236				l29 {
237					/* TODO: Unsupported voltage range.
238					regulator-min-microvolt = <2800000>;
239					regulator-max-microvolt = <2800000>;
240					qcom,init-voltage = <2800000>;
241					*/
242				};
243
244				l30 {
245					/* TODO: get this verified
246					regulator-min-microvolt = <1800000>;
247					regulator-max-microvolt = <1800000>;
248					qcom,init-voltage = <1800000>;
249					*/
250				};
251
252				l31 {
253					regulator-min-microvolt = <1262500>;
254					regulator-max-microvolt = <1262500>;
255					qcom,init-voltage = <1262500>;
256				};
257
258				l32 {
259					/* TODO: get this verified
260					regulator-min-microvolt = <1800000>;
261					regulator-max-microvolt = <1800000>;
262					qcom,init-voltage = <1800000>;
263					*/
264				};
265			};
266		};
267	};
268};
269