blob: ae4dc8dc5dfcb58fc66d338850fdb33cfaded446 [file] [log] [blame]
David Collins319ff742013-07-16 13:35:17 -07001/*
2 * Copyright (c) 2013, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14/* QPNP controlled regulators: */
15
16&spmi_bus {
17 qcom,pma8084@1 {
18 pma8084_s1: regulator@1400 {
19 regulator-min-microvolt = <1050000>;
20 regulator-max-microvolt = <1050000>;
21 qcom,enable-time = <500>;
22 qcom,pull-down-enable = <1>;
23 regulator-always-on;
24 qcom,system-load = <100000>;
25 status = "okay";
26 };
27
28 /* PMA8084 S2 + S12 = 2 phase VDD_CX supply */
29 pma8084_s2: regulator@1700 {
30 regulator-min-microvolt = <1050000>;
31 regulator-max-microvolt = <1050000>;
32 qcom,enable-time = <500>;
33 qcom,pull-down-enable = <1>;
34 regulator-always-on;
35 qcom,system-load = <100000>;
36 status = "okay";
37 };
38
39 pma8084_s3: regulator@1a00 {
40 regulator-min-microvolt = <1300000>;
41 regulator-max-microvolt = <1300000>;
42 qcom,enable-time = <500>;
43 qcom,pull-down-enable = <1>;
44 regulator-always-on;
45 qcom,system-load = <100000>;
46 status = "okay";
47 };
48
49 pma8084_s4: regulator@1d00 {
50 regulator-min-microvolt = <1800000>;
51 regulator-max-microvolt = <1800000>;
52 qcom,enable-time = <500>;
53 qcom,pull-down-enable = <1>;
54 regulator-always-on;
55 qcom,system-load = <100000>;
56 status = "okay";
57 };
58
59 /* Output of PMA8084 S5 and L25 is tied together. */
60 pma8084_s5: regulator@2000 {
61 regulator-min-microvolt = <2150000>;
62 regulator-max-microvolt = <2150000>;
63 qcom,enable-time = <500>;
64 qcom,pull-down-enable = <1>;
65 status = "okay";
66 };
67
68 pma8084_s6: regulator@2300 {
69 regulator-min-microvolt = <500000>;
70 regulator-max-microvolt = <1050000>;
71 qcom,enable-time = <500>;
72 qcom,pull-down-enable = <1>;
73 status = "okay";
74 };
75
76 pma8084_s7: regulator@2600 {
77 regulator-min-microvolt = <815000>;
78 regulator-max-microvolt = <900000>;
79 qcom,enable-time = <500>;
80 qcom,pull-down-enable = <1>;
81 status = "okay";
82 };
83
84 pma8084_s8: regulator@2900 {
85 regulator-min-microvolt = <500000>;
86 regulator-max-microvolt = <1100000>;
87 qcom,enable-time = <500>;
88 qcom,pull-down-enable = <1>;
89 regulator-always-on;
90 qcom,system-load = <100000>;
91 status = "okay";
92 };
93
94 pma8084_s9: regulator@2c00 {
95 regulator-min-microvolt = <500000>;
96 regulator-max-microvolt = <1100000>;
97 qcom,enable-time = <500>;
98 qcom,pull-down-enable = <1>;
99 regulator-always-on;
100 qcom,system-load = <100000>;
101 status = "okay";
102 };
103
104 pma8084_s10: regulator@2f00 {
105 regulator-min-microvolt = <500000>;
106 regulator-max-microvolt = <1100000>;
107 qcom,enable-time = <500>;
108 qcom,pull-down-enable = <1>;
109 regulator-always-on;
110 qcom,system-load = <100000>;
111 status = "okay";
112 };
113
114 pma8084_s11: regulator@3200 {
115 regulator-min-microvolt = <500000>;
116 regulator-max-microvolt = <1100000>;
117 qcom,enable-time = <500>;
118 qcom,pull-down-enable = <1>;
119 regulator-always-on;
120 qcom,system-load = <100000>;
121 status = "okay";
122 };
123
124 pma8084_l1: regulator@4000 {
125 parent-supply = <&pma8084_s3>;
126 regulator-min-microvolt = <1225000>;
127 regulator-max-microvolt = <1225000>;
128 qcom,enable-time = <200>;
129 qcom,pull-down-enable = <1>;
130 regulator-always-on;
131 qcom,system-load = <10000>;
132 status = "okay";
133 };
134
135 pma8084_l2: regulator@4100 {
136 parent-supply = <&pma8084_s3>;
137 regulator-min-microvolt = <1175000>;
138 regulator-max-microvolt = <1175000>;
139 qcom,enable-time = <200>;
140 qcom,pull-down-enable = <1>;
141 status = "okay";
142 };
143
144 pma8084_l3: regulator@4200 {
145 parent-supply = <&pma8084_s3>;
146 regulator-min-microvolt = <1200000>;
147 regulator-max-microvolt = <1200000>;
148 qcom,enable-time = <200>;
149 qcom,pull-down-enable = <1>;
150 status = "okay";
151 };
152
153 pma8084_l4: regulator@4300 {
154 parent-supply = <&pma8084_s3>;
155 regulator-min-microvolt = <1225000>;
156 regulator-max-microvolt = <1225000>;
157 qcom,enable-time = <200>;
158 qcom,pull-down-enable = <1>;
159 status = "okay";
160 };
161
162 pma8084_l6: regulator@4500 {
163 parent-supply = <&pma8084_s5>;
164 regulator-min-microvolt = <1800000>;
165 regulator-max-microvolt = <1800000>;
166 qcom,enable-time = <200>;
167 qcom,pull-down-enable = <1>;
168 status = "okay";
169 };
170
171 pma8084_l8: regulator@4700 {
172 regulator-min-microvolt = <1800000>;
173 regulator-max-microvolt = <1800000>;
174 qcom,enable-time = <200>;
175 qcom,pull-down-enable = <1>;
176 status = "okay";
177 };
178
179 pma8084_l9: regulator@4800 {
180 regulator-min-microvolt = <1800000>;
181 regulator-max-microvolt = <1800000>;
182 qcom,enable-time = <200>;
183 qcom,pull-down-enable = <1>;
184 status = "okay";
185 };
186
187 pma8084_l10: regulator@4900 {
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <1800000>;
190 qcom,enable-time = <200>;
191 qcom,pull-down-enable = <1>;
192 status = "okay";
193 };
194
195 pma8084_l11: regulator@4a00 {
196 parent-supply = <&pma8084_s3>;
197 regulator-min-microvolt = <1300000>;
198 regulator-max-microvolt = <1300000>;
199 qcom,enable-time = <200>;
200 qcom,pull-down-enable = <1>;
201 status = "okay";
202 };
203
204 pma8084_l12: regulator@4b00 {
205 parent-supply = <&pma8084_s5>;
206 regulator-min-microvolt = <1800000>;
207 regulator-max-microvolt = <1800000>;
208 qcom,enable-time = <200>;
209 qcom,pull-down-enable = <1>;
210 status = "okay";
211 };
212
213 pma8084_l13: regulator@4c00 {
214 regulator-min-microvolt = <1800000>;
215 regulator-max-microvolt = <2950000>;
216 qcom,enable-time = <200>;
217 qcom,pull-down-enable = <1>;
218 status = "okay";
219 };
220
221 pma8084_l14: regulator@4d00 {
222 parent-supply = <&pma8084_s5>;
223 regulator-min-microvolt = <1800000>;
224 regulator-max-microvolt = <1800000>;
225 qcom,enable-time = <200>;
226 qcom,pull-down-enable = <1>;
227 status = "okay";
228 };
229
230 pma8084_l15: regulator@4e00 {
231 parent-supply = <&pma8084_s5>;
232 regulator-min-microvolt = <2050000>;
233 regulator-max-microvolt = <2050000>;
234 qcom,enable-time = <200>;
235 qcom,pull-down-enable = <1>;
236 status = "okay";
237 };
238
239 pma8084_l16: regulator@4f00 {
240 regulator-min-microvolt = <2700000>;
241 regulator-max-microvolt = <2700000>;
242 qcom,enable-time = <200>;
243 qcom,pull-down-enable = <1>;
244 status = "okay";
245 };
246
247 pma8084_l17: regulator@5000 {
248 regulator-min-microvolt = <2850000>;
249 regulator-max-microvolt = <2850000>;
250 qcom,enable-time = <200>;
251 qcom,pull-down-enable = <1>;
252 status = "okay";
253 };
254
255 pma8084_l18: regulator@5100 {
256 regulator-min-microvolt = <2850000>;
257 regulator-max-microvolt = <2850000>;
258 qcom,enable-time = <200>;
259 qcom,pull-down-enable = <1>;
260 status = "okay";
261 };
262
263 pma8084_l19: regulator@5200 {
264 regulator-min-microvolt = <2900000>;
265 regulator-max-microvolt = <2900000>;
266 qcom,enable-time = <200>;
267 qcom,pull-down-enable = <1>;
268 status = "okay";
269 };
270
271 pma8084_l20: regulator@5300 {
272 regulator-min-microvolt = <2950000>;
273 regulator-max-microvolt = <2950000>;
274 qcom,enable-time = <200>;
275 qcom,pull-down-enable = <1>;
276 status = "okay";
277 };
278
279 pma8084_l21: regulator@5400 {
280 regulator-min-microvolt = <2950000>;
281 regulator-max-microvolt = <2950000>;
282 qcom,enable-time = <200>;
283 qcom,pull-down-enable = <1>;
284 status = "okay";
285 };
286
287 pma8084_l22: regulator@5500 {
288 regulator-min-microvolt = <3000000>;
289 regulator-max-microvolt = <3000000>;
290 qcom,enable-time = <200>;
291 qcom,pull-down-enable = <1>;
292 status = "okay";
293 };
294
295 pma8084_l23: regulator@5600 {
296 regulator-min-microvolt = <2850000>;
297 regulator-max-microvolt = <2850000>;
298 qcom,enable-time = <200>;
299 qcom,pull-down-enable = <1>;
300 status = "okay";
301 };
302
303 pma8084_l24: regulator@5700 {
304 regulator-min-microvolt = <3075000>;
305 regulator-max-microvolt = <3075000>;
306 qcom,enable-time = <200>;
307 qcom,pull-down-enable = <1>;
308 status = "okay";
309 };
310
311 pma8084_l26: regulator@5900 {
312 parent-supply = <&pma8084_s5>;
313 regulator-min-microvolt = <2050000>;
314 regulator-max-microvolt = <2050000>;
315 qcom,enable-time = <200>;
316 qcom,pull-down-enable = <1>;
317 status = "okay";
318 };
319
320 pma8084_l27: regulator@5a00 {
321 parent-supply = <&pma8084_s3>;
322 regulator-min-microvolt = <1050000>;
323 regulator-max-microvolt = <1050000>;
324 qcom,enable-time = <200>;
325 qcom,pull-down-enable = <1>;
326 status = "okay";
327 };
328
329 pma8084_lvs1: regulator@8000 {
330 parent-supply = <&pma8084_s4>;
331 qcom,enable-time = <200>;
332 qcom,pull-down-enable = <1>;
333 status = "okay";
334 };
335
336 pma8084_lvs2: regulator@8100 {
337 parent-supply = <&pma8084_s4>;
338 qcom,enable-time = <200>;
339 qcom,pull-down-enable = <1>;
340 status = "okay";
341 };
342
343 pma8084_lvs3: regulator@8200 {
344 parent-supply = <&pma8084_s4>;
345 qcom,enable-time = <200>;
346 qcom,pull-down-enable = <1>;
347 status = "okay";
348 };
349
350 pma8084_lvs4: regulator@8300 {
351 parent-supply = <&pma8084_s4>;
352 qcom,enable-time = <200>;
353 qcom,pull-down-enable = <1>;
354 status = "okay";
355 };
356
357 pma8084_mvs1: regulator@8400 {
358 qcom,enable-time = <200>;
359 qcom,pull-down-enable = <1>;
360 status = "okay";
361 };
362 };
363};
364
365&soc {
366 pma8084_s2_corner: s2_corner_vreg {
367 compatible = "qcom,stub-regulator";
368 regulator-name = "8084_s2_corner";
369 regulator-min-microvolt = <1>;
370 regulator-max-microvolt = <7>;
371 qcom,hpm-min-load = <100000>;
372 qcom,consumer-supplies = "vdd_dig", "";
373 };
374};