blob: c39d987ce7a52800389cee8d5bfc9444a3eece7f [file] [log] [blame]
Patrick Daly4deea5b2013-01-31 12:08:13 -08001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
David Collins37ddb972012-10-17 15:00:26 -07002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
David Keitel7184c6e2013-02-11 13:23:04 -080013/* QPNP controlled regulators: */
David Collins37ddb972012-10-17 15:00:26 -070014
David Keitel7184c6e2013-02-11 13:23:04 -080015&spmi_bus {
David Keitel7184c6e2013-02-11 13:23:04 -080016 qcom,pm8226@1 {
David Keitel7184c6e2013-02-11 13:23:04 -080017 pm8226_s2: regulator@1700 {
18 status = "okay";
19 regulator-name = "8226_s2";
20 qcom,enable-time = <500>;
21 qcom,system-load = <100000>;
David Keitel11c59fe2013-02-28 20:09:53 -080022 regulator-min-microvolt = <1050000>;
David Keitel7184c6e2013-02-11 13:23:04 -080023 regulator-max-microvolt = <1150000>;
David Keitel7184c6e2013-02-11 13:23:04 -080024 regulator-always-on;
David Keitel376b2682013-03-05 18:40:01 -080025 };
26 };
27};
28
29/* RPM controlled regulators: */
30
31&rpm_bus {
32 rpm-regulator-smpa1 {
33 status = "okay";
34 pm8226_s1: regulator-s1 {
35 regulator-min-microvolt = <500000>;
36 regulator-max-microvolt = <1275000>;
37 status = "okay";
38 };
39 pm8226_s1_corner: regulator-s1-corner {
40 compatible = "qcom,rpm-regulator-smd";
41 regulator-name = "8226_s1_corner";
42 qcom,set = <3>;
43 regulator-min-microvolt = <1>;
44 regulator-max-microvolt = <7>;
45 qcom,use-voltage-corner;
46 qcom,consumer-supplies = "vdd_dig", "";
47 };
48 pm8226_s1_corner_ao: regulator-s1-corner-ao {
49 compatible = "qcom,rpm-regulator-smd";
50 regulator-name = "8226_s1_corner_ao";
51 qcom,set = <1>;
52 regulator-min-microvolt = <1>;
53 regulator-max-microvolt = <7>;
54 qcom,use-voltage-corner;
55 };
56 };
57
58 rpm-regulator-smpa3 {
59 status = "okay";
60 pm8226_s3: regulator-s3 {
61 regulator-min-microvolt = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -080062 regulator-max-microvolt = <1300000>;
David Keitel376b2682013-03-05 18:40:01 -080063 qcom,init-voltage = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -080064 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -080065 };
66 };
67
68 rpm-regulator-smpa4 {
69 status = "okay";
70 pm8226_s4: regulator-s4 {
David Keitel7184c6e2013-02-11 13:23:04 -080071 regulator-min-microvolt = <2100000>;
72 regulator-max-microvolt = <2100000>;
David Keitel376b2682013-03-05 18:40:01 -080073 qcom,init-voltage = <2100000>;
David Keitel7184c6e2013-02-11 13:23:04 -080074 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -080075 };
76 };
77
78 rpm-regulator-smpa5 {
79 status = "okay";
80 pm8226_s5: regulator-s5 {
David Keitel7184c6e2013-02-11 13:23:04 -080081 regulator-min-microvolt = <1150000>;
82 regulator-max-microvolt = <1150000>;
David Keitel376b2682013-03-05 18:40:01 -080083 qcom,init-voltage = <1150000>;
David Keitel7184c6e2013-02-11 13:23:04 -080084 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -080085 };
86 };
87
88 rpm-regulator-ldoa1 {
89 status = "okay";
90 pm8226_l1: regulator-l1 {
David Keitel7184c6e2013-02-11 13:23:04 -080091 regulator-name = "8226_l1";
David Keitel7184c6e2013-02-11 13:23:04 -080092 regulator-min-microvolt = <1225000>;
93 regulator-max-microvolt = <1225000>;
David Keitel376b2682013-03-05 18:40:01 -080094 qcom,init-voltage = <1225000>;
David Keitel7184c6e2013-02-11 13:23:04 -080095 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -080096 };
97 };
98
99 rpm-regulator-ldoa2 {
100 status = "okay";
101 pm8226_l2: regulator-l2 {
David Keitel7184c6e2013-02-11 13:23:04 -0800102 regulator-min-microvolt = <1200000>;
103 regulator-max-microvolt = <1200000>;
David Keitel376b2682013-03-05 18:40:01 -0800104 qcom,init-voltage = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800105 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800106 };
107 };
108
109 rpm-regulator-ldoa3 {
110 status = "okay";
111 pm8226_l3: regulator-l3 {
David Keitel7184c6e2013-02-11 13:23:04 -0800112 regulator-name = "8226_l3";
David Keitel376b2682013-03-05 18:40:01 -0800113 regulator-min-microvolt = <750000>;
114 regulator-max-microvolt = <1275000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800115 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800116 };
117 pm8226_l3_ao: regulator-3-ao {
118 compatible = "qcom,rpm-regulator-smd";
119 regulator-name = "8226_l3_ao";
120 qcom,set = <1>;
121 regulator-min-microvolt = <750000>;
122 regulator-max-microvolt = <1275000>;
123 status = "okay";
124 };
125 pm8226_l3_so: regulator-l3-so {
126 compatible = "qcom,rpm-regulator-smd";
127 regulator-name = "8226_l3_so";
128 qcom,set = <2>;
129 regulator-min-microvolt = <750000>;
130 regulator-max-microvolt = <1275000>;
131 qcom,init-voltage = <750000>;
132 status = "okay";
133 };
134 };
135
136 rpm-regulator-ldoa4 {
137 status = "okay";
138 pm8226_l4: regulator-l4 {
David Keitel7184c6e2013-02-11 13:23:04 -0800139 regulator-name = "8226_l4";
David Keitel7184c6e2013-02-11 13:23:04 -0800140 regulator-min-microvolt = <1200000>;
141 regulator-max-microvolt = <1200000>;
David Keitel376b2682013-03-05 18:40:01 -0800142 qcom,init-voltage = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800143 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800144 };
145 };
146
147 rpm-regulator-ldoa5 {
148 status = "okay";
149 pm8226_l5: regulator-l5 {
David Keitel7184c6e2013-02-11 13:23:04 -0800150 regulator-name = "8226_l5";
David Keitel7184c6e2013-02-11 13:23:04 -0800151 regulator-min-microvolt = <1200000>;
152 regulator-max-microvolt = <1200000>;
David Keitel376b2682013-03-05 18:40:01 -0800153 qcom,init-voltage = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800154 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800155 };
156 };
157
158 rpm-regulator-ldoa6 {
159 status = "okay";
160 pm8226_l6: regulator-l6 {
David Keitel7184c6e2013-02-11 13:23:04 -0800161 regulator-name = "8226_l6";
David Keitel7184c6e2013-02-11 13:23:04 -0800162 regulator-min-microvolt = <1800000>;
163 regulator-max-microvolt = <1800000>;
David Keitel376b2682013-03-05 18:40:01 -0800164 qcom,init-voltage = <1800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800165 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800166 };
167 };
168
169 rpm-regulator-ldoa7 {
170 status = "okay";
171 pm8226_l7: regulator-l7 {
David Keitel7184c6e2013-02-11 13:23:04 -0800172 regulator-name = "8226_l7";
David Keitel7184c6e2013-02-11 13:23:04 -0800173 regulator-min-microvolt = <1850000>;
174 regulator-max-microvolt = <1850000>;
David Keitel376b2682013-03-05 18:40:01 -0800175 qcom,init-voltage = <1850000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800176 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800177 };
178 };
179
180 rpm-regulator-ldoa8 {
181 status = "okay";
182 pm8226_l8: regulator-l8 {
David Keitel7184c6e2013-02-11 13:23:04 -0800183 regulator-min-microvolt = <1800000>;
184 regulator-max-microvolt = <1800000>;
David Keitel376b2682013-03-05 18:40:01 -0800185 qcom,init-voltage = <1800000>;
186 status = "okay";
David Keitel7184c6e2013-02-11 13:23:04 -0800187 qcom,consumer-supplies = "vdd_sr2_pll", "";
188 };
David Keitel376b2682013-03-05 18:40:01 -0800189 };
David Collins37ddb972012-10-17 15:00:26 -0700190
David Keitel376b2682013-03-05 18:40:01 -0800191 rpm-regulator-ldoa9 {
192 status = "okay";
193 pm8226_l9: regulator-l9 {
David Keitel7184c6e2013-02-11 13:23:04 -0800194 regulator-name = "8226_l9";
David Keitel7184c6e2013-02-11 13:23:04 -0800195 regulator-min-microvolt = <2050000>;
196 regulator-max-microvolt = <2050000>;
David Keitel376b2682013-03-05 18:40:01 -0800197 qcom,init-voltage = <2050000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800198 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800199 };
200 };
201
202 rpm-regulator-ldoa10 {
203 status = "okay";
204 pm8226_l10: regulator-l10 {
David Keitel7184c6e2013-02-11 13:23:04 -0800205 regulator-name = "8226_l10";
David Keitel7184c6e2013-02-11 13:23:04 -0800206 regulator-min-microvolt = <1800000>;
207 regulator-max-microvolt = <1800000>;
David Keitel376b2682013-03-05 18:40:01 -0800208 qcom,init-voltage = <1800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800209 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800210 };
211 };
212
213 rpm-regulator-ldoa12 {
214 status = "okay";
215 pm8226_l12: regulator-l12 {
David Keitel7184c6e2013-02-11 13:23:04 -0800216 regulator-name = "8226_l12";
David Keitel7184c6e2013-02-11 13:23:04 -0800217 regulator-min-microvolt = <1800000>;
218 regulator-max-microvolt = <1800000>;
David Keitel376b2682013-03-05 18:40:01 -0800219 qcom,init-voltage = <1800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800220 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800221 };
222 };
223
224 rpm-regulator-ldoa14 {
225 status = "okay";
226 pm8226_l14: regulator-l14 {
David Keitel7184c6e2013-02-11 13:23:04 -0800227 regulator-name = "8226_l14";
David Keitel7184c6e2013-02-11 13:23:04 -0800228 regulator-min-microvolt = <2750000>;
229 regulator-max-microvolt = <2750000>;
David Keitel376b2682013-03-05 18:40:01 -0800230 qcom,init-voltage = <2750000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800231 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800232 };
233 };
234
235 rpm-regulator-ldoa15 {
236 status = "okay";
237 pm8226_l15: regulator-l15 {
David Keitel7184c6e2013-02-11 13:23:04 -0800238 regulator-name = "8226_l15";
David Keitel7184c6e2013-02-11 13:23:04 -0800239 regulator-min-microvolt = <2800000>;
240 regulator-max-microvolt = <2800000>;
David Keitel376b2682013-03-05 18:40:01 -0800241 qcom,init-voltage = <2800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800242 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800243 };
244 };
245
246 rpm-regulator-ldoa16 {
247 status = "okay";
248 pm8226_l16: regulator-l16 {
David Keitel7184c6e2013-02-11 13:23:04 -0800249 regulator-name = "8226_l16";
David Keitel7184c6e2013-02-11 13:23:04 -0800250 regulator-min-microvolt = <3000000>;
251 regulator-max-microvolt = <3300000>;
David Keitel376b2682013-03-05 18:40:01 -0800252 qcom,init-voltage = <3300000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800253 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800254 };
255 };
256
257 rpm-regulator-ldoa17 {
258 status = "okay";
259 pm8226_l17: regulator-l17 {
David Keitel7184c6e2013-02-11 13:23:04 -0800260 regulator-min-microvolt = <2950000>;
261 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800262 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800263 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800264 };
265 };
266
267 rpm-regulator-ldoa18 {
268 status = "okay";
269 pm8226_l18: regulator-l18 {
David Keitel7184c6e2013-02-11 13:23:04 -0800270 regulator-name = "8226_l18";
David Keitel7184c6e2013-02-11 13:23:04 -0800271 regulator-min-microvolt = <2950000>;
272 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800273 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800274 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800275 };
276 };
277
278 rpm-regulator-ldoa19 {
279 status = "okay";
280 pm8226_l19: regulator-l19 {
David Keitel7184c6e2013-02-11 13:23:04 -0800281 regulator-name = "8226_l19";
David Keitel7184c6e2013-02-11 13:23:04 -0800282 regulator-min-microvolt = <2850000>;
283 regulator-max-microvolt = <2850000>;
David Keitel376b2682013-03-05 18:40:01 -0800284 qcom,init-voltage = <2850000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800285 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800286 };
287 };
288
289 rpm-regulator-ldoa20 {
290 status = "okay";
291 pm8226_l20: regulator-l20 {
David Keitel7184c6e2013-02-11 13:23:04 -0800292 regulator-name = "8226_l20";
David Keitel7184c6e2013-02-11 13:23:04 -0800293 regulator-min-microvolt = <3075000>;
294 regulator-max-microvolt = <3075000>;
David Keitel376b2682013-03-05 18:40:01 -0800295 qcom,init-voltage = <3075000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800296 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800297 };
298 };
299
300 rpm-regulator-ldoa21 {
301 status = "okay";
302 pm8226_l21: regulator-l21 {
David Keitel7184c6e2013-02-11 13:23:04 -0800303 regulator-name = "8226_l21";
David Keitel7184c6e2013-02-11 13:23:04 -0800304 regulator-min-microvolt = <1800000>;
305 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800306 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800307 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800308 };
309 };
310
311 rpm-regulator-ldoa22 {
312 status = "okay";
313 pm8226_l22: regulator-l22 {
David Keitel7184c6e2013-02-11 13:23:04 -0800314 regulator-name = "8226_l22";
David Keitel7184c6e2013-02-11 13:23:04 -0800315 regulator-min-microvolt = <1800000>;
316 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800317 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800318 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800319 };
320 };
321
322 rpm-regulator-ldoa23 {
323 status = "okay";
324 pm8226_l23: regulator-l23 {
David Keitel7184c6e2013-02-11 13:23:04 -0800325 regulator-name = "8226_l23";
David Keitel7184c6e2013-02-11 13:23:04 -0800326 regulator-min-microvolt = <1800000>;
327 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800328 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800329 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800330 };
331 };
332
333 rpm-regulator-ldoa24 {
334 status = "okay";
335 pm8226_l24: regulator-l24 {
David Keitel7184c6e2013-02-11 13:23:04 -0800336 regulator-name = "8226_l24";
David Keitel7184c6e2013-02-11 13:23:04 -0800337 regulator-min-microvolt = <1300000>;
338 regulator-max-microvolt = <1300000>;
David Keitel376b2682013-03-05 18:40:01 -0800339 qcom,init-voltage = <1300000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800340 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800341 };
342 };
343
344 rpm-regulator-ldoa26 {
345 status = "okay";
346 pm8226_l26: regulator-l26 {
David Keitel7184c6e2013-02-11 13:23:04 -0800347 regulator-name = "8226_l26";
David Keitel7184c6e2013-02-11 13:23:04 -0800348 regulator-min-microvolt = <1225000>;
349 regulator-max-microvolt = <1225000>;
David Keitel376b2682013-03-05 18:40:01 -0800350 qcom,init-voltage = <1225000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800351 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800352 };
353 };
354
355 rpm-regulator-ldoa27 {
356 status = "okay";
357 pm8226_l27: regulator-l27 {
David Keitel7184c6e2013-02-11 13:23:04 -0800358 regulator-name = "8226_l27";
David Keitel7184c6e2013-02-11 13:23:04 -0800359 regulator-min-microvolt = <2050000>;
360 regulator-max-microvolt = <2050000>;
David Keitel376b2682013-03-05 18:40:01 -0800361 qcom,init-voltage = <2050000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800362 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800363 };
364 };
365
366 rpm-regulator-ldoa28 {
367 status = "okay";
368 pm8226_l28: regulator-l28 {
David Keitel7184c6e2013-02-11 13:23:04 -0800369 regulator-name = "8226_l28";
David Keitel7184c6e2013-02-11 13:23:04 -0800370 regulator-min-microvolt = <1800000>;
371 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800372 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800373 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800374 };
375 };
376
377 rpm-regulator-vsa1 {
378 status = "okay";
379 pm8226_lvs1: regulator-lvs1 {
380 status = "okay";
David Keitel7184c6e2013-02-11 13:23:04 -0800381 };
David Collins37ddb972012-10-17 15:00:26 -0700382 };
383};