blob: 448a5bea75d8ea8236cda3a753d02ffdd6755b99 [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 Collins03d33c12013-03-15 15:04:12 -070013/* SPM 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 Collins03d33c12013-03-15 15:04:12 -070017 pm8226_s2: spm-regulator@1700 {
18 compatible = "qcom,spm-regulator";
David Keitel7184c6e2013-02-11 13:23:04 -080019 regulator-name = "8226_s2";
David Collins03d33c12013-03-15 15:04:12 -070020 reg = <0x1700 0x100>;
21 regulator-min-microvolt = <900000>;
22 regulator-max-microvolt = <1275000>;
David Keitel376b2682013-03-05 18:40:01 -080023 };
24 };
25};
26
27/* RPM controlled regulators: */
28
29&rpm_bus {
30 rpm-regulator-smpa1 {
31 status = "okay";
32 pm8226_s1: regulator-s1 {
33 regulator-min-microvolt = <500000>;
34 regulator-max-microvolt = <1275000>;
35 status = "okay";
36 };
37 pm8226_s1_corner: regulator-s1-corner {
38 compatible = "qcom,rpm-regulator-smd";
39 regulator-name = "8226_s1_corner";
40 qcom,set = <3>;
41 regulator-min-microvolt = <1>;
42 regulator-max-microvolt = <7>;
43 qcom,use-voltage-corner;
44 qcom,consumer-supplies = "vdd_dig", "";
45 };
46 pm8226_s1_corner_ao: regulator-s1-corner-ao {
47 compatible = "qcom,rpm-regulator-smd";
48 regulator-name = "8226_s1_corner_ao";
49 qcom,set = <1>;
50 regulator-min-microvolt = <1>;
51 regulator-max-microvolt = <7>;
52 qcom,use-voltage-corner;
53 };
54 };
55
56 rpm-regulator-smpa3 {
57 status = "okay";
58 pm8226_s3: regulator-s3 {
59 regulator-min-microvolt = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -080060 regulator-max-microvolt = <1300000>;
David Keitel376b2682013-03-05 18:40:01 -080061 qcom,init-voltage = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -080062 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -080063 };
64 };
65
66 rpm-regulator-smpa4 {
67 status = "okay";
68 pm8226_s4: regulator-s4 {
David Keitel7184c6e2013-02-11 13:23:04 -080069 regulator-min-microvolt = <2100000>;
70 regulator-max-microvolt = <2100000>;
David Keitel376b2682013-03-05 18:40:01 -080071 qcom,init-voltage = <2100000>;
David Keitel7184c6e2013-02-11 13:23:04 -080072 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -080073 };
74 };
75
76 rpm-regulator-smpa5 {
77 status = "okay";
78 pm8226_s5: regulator-s5 {
David Keitel7184c6e2013-02-11 13:23:04 -080079 regulator-min-microvolt = <1150000>;
80 regulator-max-microvolt = <1150000>;
David Keitel376b2682013-03-05 18:40:01 -080081 qcom,init-voltage = <1150000>;
David Keitel7184c6e2013-02-11 13:23:04 -080082 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -080083 };
84 };
85
86 rpm-regulator-ldoa1 {
87 status = "okay";
88 pm8226_l1: regulator-l1 {
David Keitel7184c6e2013-02-11 13:23:04 -080089 regulator-name = "8226_l1";
David Keitel7184c6e2013-02-11 13:23:04 -080090 regulator-min-microvolt = <1225000>;
91 regulator-max-microvolt = <1225000>;
David Keitel376b2682013-03-05 18:40:01 -080092 qcom,init-voltage = <1225000>;
David Keitel7184c6e2013-02-11 13:23:04 -080093 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -080094 };
95 };
96
97 rpm-regulator-ldoa2 {
98 status = "okay";
99 pm8226_l2: regulator-l2 {
David Keitel7184c6e2013-02-11 13:23:04 -0800100 regulator-min-microvolt = <1200000>;
101 regulator-max-microvolt = <1200000>;
David Keitel376b2682013-03-05 18:40:01 -0800102 qcom,init-voltage = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800103 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800104 };
105 };
106
107 rpm-regulator-ldoa3 {
108 status = "okay";
109 pm8226_l3: regulator-l3 {
David Keitel7184c6e2013-02-11 13:23:04 -0800110 regulator-name = "8226_l3";
David Keitel376b2682013-03-05 18:40:01 -0800111 regulator-min-microvolt = <750000>;
112 regulator-max-microvolt = <1275000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800113 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800114 };
115 pm8226_l3_ao: regulator-3-ao {
116 compatible = "qcom,rpm-regulator-smd";
117 regulator-name = "8226_l3_ao";
118 qcom,set = <1>;
119 regulator-min-microvolt = <750000>;
120 regulator-max-microvolt = <1275000>;
121 status = "okay";
122 };
123 pm8226_l3_so: regulator-l3-so {
124 compatible = "qcom,rpm-regulator-smd";
125 regulator-name = "8226_l3_so";
126 qcom,set = <2>;
127 regulator-min-microvolt = <750000>;
128 regulator-max-microvolt = <1275000>;
129 qcom,init-voltage = <750000>;
130 status = "okay";
131 };
132 };
133
134 rpm-regulator-ldoa4 {
135 status = "okay";
136 pm8226_l4: regulator-l4 {
David Keitel7184c6e2013-02-11 13:23:04 -0800137 regulator-name = "8226_l4";
David Keitel7184c6e2013-02-11 13:23:04 -0800138 regulator-min-microvolt = <1200000>;
139 regulator-max-microvolt = <1200000>;
David Keitel376b2682013-03-05 18:40:01 -0800140 qcom,init-voltage = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800141 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800142 };
143 };
144
145 rpm-regulator-ldoa5 {
146 status = "okay";
147 pm8226_l5: regulator-l5 {
David Keitel7184c6e2013-02-11 13:23:04 -0800148 regulator-name = "8226_l5";
David Keitel7184c6e2013-02-11 13:23:04 -0800149 regulator-min-microvolt = <1200000>;
150 regulator-max-microvolt = <1200000>;
David Keitel376b2682013-03-05 18:40:01 -0800151 qcom,init-voltage = <1200000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800152 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800153 };
154 };
155
156 rpm-regulator-ldoa6 {
157 status = "okay";
158 pm8226_l6: regulator-l6 {
David Keitel7184c6e2013-02-11 13:23:04 -0800159 regulator-name = "8226_l6";
David Keitel7184c6e2013-02-11 13:23:04 -0800160 regulator-min-microvolt = <1800000>;
161 regulator-max-microvolt = <1800000>;
David Keitel376b2682013-03-05 18:40:01 -0800162 qcom,init-voltage = <1800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800163 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800164 };
165 };
166
167 rpm-regulator-ldoa7 {
168 status = "okay";
169 pm8226_l7: regulator-l7 {
David Keitel7184c6e2013-02-11 13:23:04 -0800170 regulator-name = "8226_l7";
David Keitel7184c6e2013-02-11 13:23:04 -0800171 regulator-min-microvolt = <1850000>;
172 regulator-max-microvolt = <1850000>;
David Keitel376b2682013-03-05 18:40:01 -0800173 qcom,init-voltage = <1850000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800174 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800175 };
176 };
177
178 rpm-regulator-ldoa8 {
179 status = "okay";
180 pm8226_l8: regulator-l8 {
David Keitel7184c6e2013-02-11 13:23:04 -0800181 regulator-min-microvolt = <1800000>;
182 regulator-max-microvolt = <1800000>;
David Keitel376b2682013-03-05 18:40:01 -0800183 qcom,init-voltage = <1800000>;
184 status = "okay";
David Keitel7184c6e2013-02-11 13:23:04 -0800185 qcom,consumer-supplies = "vdd_sr2_pll", "";
186 };
David Keitel376b2682013-03-05 18:40:01 -0800187 };
David Collins37ddb972012-10-17 15:00:26 -0700188
David Keitel376b2682013-03-05 18:40:01 -0800189 rpm-regulator-ldoa9 {
190 status = "okay";
191 pm8226_l9: regulator-l9 {
David Keitel7184c6e2013-02-11 13:23:04 -0800192 regulator-name = "8226_l9";
David Keitel7184c6e2013-02-11 13:23:04 -0800193 regulator-min-microvolt = <2050000>;
194 regulator-max-microvolt = <2050000>;
David Keitel376b2682013-03-05 18:40:01 -0800195 qcom,init-voltage = <2050000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800196 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800197 };
198 };
199
200 rpm-regulator-ldoa10 {
201 status = "okay";
202 pm8226_l10: regulator-l10 {
David Keitel7184c6e2013-02-11 13:23:04 -0800203 regulator-name = "8226_l10";
David Keitel7184c6e2013-02-11 13:23:04 -0800204 regulator-min-microvolt = <1800000>;
205 regulator-max-microvolt = <1800000>;
David Keitel376b2682013-03-05 18:40:01 -0800206 qcom,init-voltage = <1800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800207 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800208 };
209 };
210
211 rpm-regulator-ldoa12 {
212 status = "okay";
213 pm8226_l12: regulator-l12 {
David Keitel7184c6e2013-02-11 13:23:04 -0800214 regulator-name = "8226_l12";
David Keitel7184c6e2013-02-11 13:23:04 -0800215 regulator-min-microvolt = <1800000>;
216 regulator-max-microvolt = <1800000>;
David Keitel376b2682013-03-05 18:40:01 -0800217 qcom,init-voltage = <1800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800218 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800219 };
220 };
221
222 rpm-regulator-ldoa14 {
223 status = "okay";
224 pm8226_l14: regulator-l14 {
David Keitel7184c6e2013-02-11 13:23:04 -0800225 regulator-name = "8226_l14";
David Keitel7184c6e2013-02-11 13:23:04 -0800226 regulator-min-microvolt = <2750000>;
227 regulator-max-microvolt = <2750000>;
David Keitel376b2682013-03-05 18:40:01 -0800228 qcom,init-voltage = <2750000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800229 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800230 };
231 };
232
233 rpm-regulator-ldoa15 {
234 status = "okay";
235 pm8226_l15: regulator-l15 {
David Keitel7184c6e2013-02-11 13:23:04 -0800236 regulator-name = "8226_l15";
David Keitel7184c6e2013-02-11 13:23:04 -0800237 regulator-min-microvolt = <2800000>;
238 regulator-max-microvolt = <2800000>;
David Keitel376b2682013-03-05 18:40:01 -0800239 qcom,init-voltage = <2800000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800240 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800241 };
242 };
243
244 rpm-regulator-ldoa16 {
245 status = "okay";
246 pm8226_l16: regulator-l16 {
David Keitel7184c6e2013-02-11 13:23:04 -0800247 regulator-name = "8226_l16";
David Keitel7184c6e2013-02-11 13:23:04 -0800248 regulator-min-microvolt = <3000000>;
249 regulator-max-microvolt = <3300000>;
David Keitel376b2682013-03-05 18:40:01 -0800250 qcom,init-voltage = <3300000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800251 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800252 };
253 };
254
255 rpm-regulator-ldoa17 {
256 status = "okay";
257 pm8226_l17: regulator-l17 {
David Keitel7184c6e2013-02-11 13:23:04 -0800258 regulator-min-microvolt = <2950000>;
259 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800260 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800261 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800262 };
263 };
264
265 rpm-regulator-ldoa18 {
266 status = "okay";
267 pm8226_l18: regulator-l18 {
David Keitel7184c6e2013-02-11 13:23:04 -0800268 regulator-name = "8226_l18";
David Keitel7184c6e2013-02-11 13:23:04 -0800269 regulator-min-microvolt = <2950000>;
270 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800271 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800272 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800273 };
274 };
275
276 rpm-regulator-ldoa19 {
277 status = "okay";
278 pm8226_l19: regulator-l19 {
David Keitel7184c6e2013-02-11 13:23:04 -0800279 regulator-name = "8226_l19";
David Keitel7184c6e2013-02-11 13:23:04 -0800280 regulator-min-microvolt = <2850000>;
281 regulator-max-microvolt = <2850000>;
David Keitel376b2682013-03-05 18:40:01 -0800282 qcom,init-voltage = <2850000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800283 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800284 };
285 };
286
287 rpm-regulator-ldoa20 {
288 status = "okay";
289 pm8226_l20: regulator-l20 {
David Keitel7184c6e2013-02-11 13:23:04 -0800290 regulator-name = "8226_l20";
David Keitel7184c6e2013-02-11 13:23:04 -0800291 regulator-min-microvolt = <3075000>;
292 regulator-max-microvolt = <3075000>;
David Keitel376b2682013-03-05 18:40:01 -0800293 qcom,init-voltage = <3075000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800294 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800295 };
296 };
297
298 rpm-regulator-ldoa21 {
299 status = "okay";
300 pm8226_l21: regulator-l21 {
David Keitel7184c6e2013-02-11 13:23:04 -0800301 regulator-name = "8226_l21";
David Keitel7184c6e2013-02-11 13:23:04 -0800302 regulator-min-microvolt = <1800000>;
303 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800304 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800305 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800306 };
307 };
308
309 rpm-regulator-ldoa22 {
310 status = "okay";
311 pm8226_l22: regulator-l22 {
David Keitel7184c6e2013-02-11 13:23:04 -0800312 regulator-name = "8226_l22";
David Keitel7184c6e2013-02-11 13:23:04 -0800313 regulator-min-microvolt = <1800000>;
314 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800315 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800316 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800317 };
318 };
319
320 rpm-regulator-ldoa23 {
321 status = "okay";
322 pm8226_l23: regulator-l23 {
David Keitel7184c6e2013-02-11 13:23:04 -0800323 regulator-name = "8226_l23";
David Keitel7184c6e2013-02-11 13:23:04 -0800324 regulator-min-microvolt = <1800000>;
325 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800326 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800327 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800328 };
329 };
330
331 rpm-regulator-ldoa24 {
332 status = "okay";
333 pm8226_l24: regulator-l24 {
David Keitel7184c6e2013-02-11 13:23:04 -0800334 regulator-name = "8226_l24";
David Keitel7184c6e2013-02-11 13:23:04 -0800335 regulator-min-microvolt = <1300000>;
336 regulator-max-microvolt = <1300000>;
David Keitel376b2682013-03-05 18:40:01 -0800337 qcom,init-voltage = <1300000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800338 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800339 };
340 };
341
342 rpm-regulator-ldoa26 {
343 status = "okay";
344 pm8226_l26: regulator-l26 {
David Keitel7184c6e2013-02-11 13:23:04 -0800345 regulator-name = "8226_l26";
David Keitel7184c6e2013-02-11 13:23:04 -0800346 regulator-min-microvolt = <1225000>;
347 regulator-max-microvolt = <1225000>;
David Keitel376b2682013-03-05 18:40:01 -0800348 qcom,init-voltage = <1225000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800349 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800350 };
351 };
352
353 rpm-regulator-ldoa27 {
354 status = "okay";
355 pm8226_l27: regulator-l27 {
David Keitel7184c6e2013-02-11 13:23:04 -0800356 regulator-name = "8226_l27";
David Keitel7184c6e2013-02-11 13:23:04 -0800357 regulator-min-microvolt = <2050000>;
358 regulator-max-microvolt = <2050000>;
David Keitel376b2682013-03-05 18:40:01 -0800359 qcom,init-voltage = <2050000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800360 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800361 };
362 };
363
364 rpm-regulator-ldoa28 {
365 status = "okay";
366 pm8226_l28: regulator-l28 {
David Keitel7184c6e2013-02-11 13:23:04 -0800367 regulator-name = "8226_l28";
David Keitel7184c6e2013-02-11 13:23:04 -0800368 regulator-min-microvolt = <1800000>;
369 regulator-max-microvolt = <2950000>;
David Keitel376b2682013-03-05 18:40:01 -0800370 qcom,init-voltage = <2950000>;
David Keitel7184c6e2013-02-11 13:23:04 -0800371 status = "okay";
David Keitel376b2682013-03-05 18:40:01 -0800372 };
373 };
374
375 rpm-regulator-vsa1 {
376 status = "okay";
377 pm8226_lvs1: regulator-lvs1 {
378 status = "okay";
David Keitel7184c6e2013-02-11 13:23:04 -0800379 };
David Collins37ddb972012-10-17 15:00:26 -0700380 };
381};