blob: 751a823b8b1e2e9ae582417f550272dcb49b00ad [file] [log] [blame]
David Collins153d45a2012-03-26 11:57:50 -07001/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
2 *
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
Varad Deshmukh18057ed2012-07-03 16:34:53 -070013&spmi_bus {
14 #address-cells = <1>;
15 #size-cells = <0>;
16 interrupt-controller;
17 #interrupt-cells = <3>;
David Collins153d45a2012-03-26 11:57:50 -070018
Varad Deshmukh18057ed2012-07-03 16:34:53 -070019 qcom,pm8941@0 {
20 spmi-slave-container;
21 reg = <0x0>;
22 #address-cells = <1>;
23 #size-cells = <1>;
24
Anirudh Ghayal19cf4982012-07-16 11:10:17 +053025 qcom,power-on@800 {
26 compatible = "qcom,qpnp-power-on";
27 reg = <0x800 0x100>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053028 interrupts = <0x0 0x8 0x0>,
29 <0x0 0x8 0x1>,
30 <0x0 0x8 0x4>;
31 interrupt-names = "kpdpwr", "resin", "resin-bark";
32 qcom,pon-dbc-delay = <15625>;
33
34 qcom,pon_1 {
35 qcom,pon-type = <0>;
36 qcom,pull-up = <1>;
37 linux,code = <116>;
38 };
39
40 qcom,pon_2 {
41 qcom,pon-type = <1>;
Anirudh Ghayal579709662012-08-13 12:57:05 +053042 qcom,support-reset = <1>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053043 qcom,pull-up = <1>;
Anirudh Ghayal579709662012-08-13 12:57:05 +053044 qcom,s1-timer = <0>;
45 qcom,s2-timer = <2000>;
46 qcom,s2-type = <1>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053047 linux,code = <114>;
48 };
Anirudh Ghayal19cf4982012-07-16 11:10:17 +053049 };
50
Michael Bohanee1f8fe2012-08-03 18:32:16 -070051 clkdiv@5b00 {
52 reg = <0x5b00 0x100>;
53 compatible = "qcom,qpnp-clkdiv";
54 qcom,cxo-freq = <19200000>;
55 };
56
57 clkdiv@5c00 {
58 reg = <0x5c00 0x100>;
59 compatible = "qcom,qpnp-clkdiv";
60 qcom,cxo-freq = <19200000>;
61 };
62
63 clkdiv@5d00 {
64 reg = <0x5d00 0x1000>;
65 compatible = "qcom,qpnp-clkdiv";
66 qcom,cxo-freq = <19200000>;
67 };
68
Varad Deshmukh18057ed2012-07-03 16:34:53 -070069 pm8941_gpios {
70 spmi-dev-container;
71 compatible = "qcom,qpnp-pin";
72 gpio-controller;
73 #gpio-cells = <2>;
Michael Bohan8b909b42012-04-18 17:39:12 -070074 #address-cells = <1>;
75 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -070076 label = "pm8941-gpio";
Michael Bohan8b909b42012-04-18 17:39:12 -070077
Varad Deshmukh18057ed2012-07-03 16:34:53 -070078 gpio@c000 {
79 reg = <0xc000 0x100>;
80 qcom,pin-num = <1>;
81 status = "disabled";
Michael Bohan8b909b42012-04-18 17:39:12 -070082 };
Michael Bohan5085a052012-06-11 13:27:34 -070083
Varad Deshmukh18057ed2012-07-03 16:34:53 -070084 gpio@c100 {
85 reg = <0xc100 0x100>;
86 qcom,pin-num = <2>;
87 status = "disabled";
88 };
Michael Bohan5085a052012-06-11 13:27:34 -070089
Varad Deshmukh18057ed2012-07-03 16:34:53 -070090 gpio@c200 {
91 reg = <0xc200 0x100>;
92 qcom,pin-num = <3>;
93 status = "disabled";
94 };
Michael Bohan5085a052012-06-11 13:27:34 -070095
Varad Deshmukh18057ed2012-07-03 16:34:53 -070096 gpio@c300 {
97 reg = <0xc300 0x100>;
98 qcom,pin-num = <4>;
99 status = "disabled";
100 };
Michael Bohan5085a052012-06-11 13:27:34 -0700101
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700102 gpio@c400 {
103 reg = <0xc400 0x100>;
104 qcom,pin-num = <5>;
105 status = "disabled";
106 };
Michael Bohan5085a052012-06-11 13:27:34 -0700107
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700108 gpio@c500 {
109 reg = <0xc500 0x100>;
110 qcom,pin-num = <6>;
111 status = "disabled";
112 };
Michael Bohan5085a052012-06-11 13:27:34 -0700113
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700114 gpio@c600 {
115 reg = <0xc600 0x100>;
116 qcom,pin-num = <7>;
117 status = "disabled";
118 };
Michael Bohan5085a052012-06-11 13:27:34 -0700119
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700120 gpio@c700 {
121 reg = <0xc700 0x100>;
122 qcom,pin-num = <8>;
123 status = "disabled";
124 };
Michael Bohan5085a052012-06-11 13:27:34 -0700125
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700126 gpio@c800 {
127 reg = <0xc800 0x100>;
128 qcom,pin-num = <9>;
129 status = "disabled";
130 };
Michael Bohan5085a052012-06-11 13:27:34 -0700131
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700132 gpio@c900 {
133 reg = <0xc900 0x100>;
134 qcom,pin-num = <10>;
135 status = "disabled";
136 };
137
138 gpio@ca00 {
139 reg = <0xca00 0x100>;
140 qcom,pin-num = <11>;
141 status = "disabled";
142 };
143
144 gpio@cb00 {
145 reg = <0xcb00 0x100>;
146 qcom,pin-num = <12>;
147 status = "disabled";
148 };
149
150 gpio@cc00 {
151 reg = <0xcc00 0x100>;
152 qcom,pin-num = <13>;
153 status = "disabled";
154 };
155
156 gpio@cd00 {
157 reg = <0xcd00 0x100>;
158 qcom,pin-num = <14>;
159 status = "disabled";
160 };
161
162 gpio@ce00 {
163 reg = <0xce00 0x100>;
164 qcom,pin-num = <15>;
165 status = "disabled";
166 };
167
168 gpio@cf00 {
169 reg = <0xcf00 0x100>;
170 qcom,pin-num = <16>;
171 status = "disabled";
172 };
173
174 gpio@d000 {
175 reg = <0xd000 0x100>;
176 qcom,pin-num = <17>;
177 status = "disabled";
178 };
179
180 gpio@d100 {
181 reg = <0xd100 0x100>;
182 qcom,pin-num = <18>;
183 status = "disabled";
184 };
185
186 gpio@d200 {
187 reg = <0xd200 0x100>;
188 qcom,pin-num = <19>;
189 status = "disabled";
190 };
191
192 gpio@d300 {
193 reg = <0xd300 0x100>;
194 qcom,pin-num = <20>;
195 status = "disabled";
196 };
197
198 gpio@d400 {
199 reg = <0xd400 0x100>;
200 qcom,pin-num = <21>;
201 status = "disabled";
202 };
203
204 gpio@d500 {
205 reg = <0xd500 0x100>;
206 qcom,pin-num = <22>;
207 status = "disabled";
208 };
209
210 gpio@d600 {
211 reg = <0xd600 0x100>;
212 qcom,pin-num = <23>;
213 status = "disabled";
214 };
215
216 gpio@d700 {
217 reg = <0xd700 0x100>;
218 qcom,pin-num = <24>;
219 status = "disabled";
220 };
221
222 gpio@d800 {
223 reg = <0xd800 0x100>;
224 qcom,pin-num = <25>;
225 status = "disabled";
226 };
227
228 gpio@d900 {
229 reg = <0xd900 0x100>;
230 qcom,pin-num = <26>;
231 status = "disabled";
232 };
233
234 gpio@da00 {
235 reg = <0xda00 0x100>;
236 qcom,pin-num = <27>;
237 status = "disabled";
238 };
239
240 gpio@db00 {
241 reg = <0xdb00 0x100>;
242 qcom,pin-num = <28>;
243 status = "disabled";
244 };
245
246 gpio@dc00 {
247 reg = <0xdc00 0x100>;
248 qcom,pin-num = <29>;
249 status = "disabled";
250 };
251
252 gpio@dd00 {
253 reg = <0xdd00 0x100>;
254 qcom,pin-num = <30>;
255 status = "disabled";
256 };
257
258 gpio@de00 {
259 reg = <0xde00 0x100>;
260 qcom,pin-num = <31>;
261 status = "disabled";
262 };
263
264 gpio@df00 {
265 reg = <0xdf00 0x100>;
266 qcom,pin-num = <32>;
267 status = "disabled";
268 };
269
270 gpio@e000 {
271 reg = <0xe000 0x100>;
272 qcom,pin-num = <33>;
273 status = "disabled";
274 };
275
276 gpio@e100 {
277 reg = <0xe100 0x100>;
278 qcom,pin-num = <34>;
279 status = "disabled";
280 };
281
282 gpio@e200 {
283 reg = <0xe200 0x100>;
284 qcom,pin-num = <35>;
285 status = "disabled";
286 };
287
288 gpio@e300 {
289 reg = <0xe300 0x100>;
290 qcom,pin-num = <36>;
291 status = "disabled";
Michael Bohan5085a052012-06-11 13:27:34 -0700292 };
Michael Bohan8b909b42012-04-18 17:39:12 -0700293 };
294
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700295 pm8941_mpps {
296 spmi-dev-container;
297 compatible = "qcom,qpnp-pin";
298 gpio-controller;
299 #gpio-cells = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700300 #address-cells = <1>;
301 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700302 label = "pm8941-mpp";
David Collins153d45a2012-03-26 11:57:50 -0700303
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700304 mpp@a000 {
David Collins32f825f2012-06-06 09:49:24 -0700305 reg = <0xa000 0x100>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700306 qcom,pin-num = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700307 status = "disabled";
308 };
309
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700310 mpp@a100 {
311 reg = <0xa100 0x100>;
312 qcom,pin-num = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700313 status = "disabled";
314 };
315
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700316 mpp@a200 {
317 reg = <0xa200 0x100>;
318 qcom,pin-num = <3>;
David Collins153d45a2012-03-26 11:57:50 -0700319 status = "disabled";
320 };
321
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700322 mpp@a300 {
323 reg = <0xa300 0x100>;
324 qcom,pin-num = <4>;
David Collins153d45a2012-03-26 11:57:50 -0700325 status = "disabled";
326 };
327
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700328 mpp@a400 {
329 reg = <0xa400 0x100>;
330 qcom,pin-num = <5>;
David Collins153d45a2012-03-26 11:57:50 -0700331 status = "disabled";
332 };
333
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700334 mpp@a500 {
335 reg = <0xa500 0x100>;
336 qcom,pin-num = <6>;
David Collins153d45a2012-03-26 11:57:50 -0700337 status = "disabled";
338 };
339
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700340 mpp@a600 {
341 reg = <0xa600 0x100>;
342 qcom,pin-num = <7>;
David Collins153d45a2012-03-26 11:57:50 -0700343 status = "disabled";
344 };
345
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700346 mpp@a700 {
347 reg = <0xa700 0x100>;
348 qcom,pin-num = <8>;
David Collins153d45a2012-03-26 11:57:50 -0700349 status = "disabled";
350 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700351 };
Ashay Jaiswal93ad9702012-07-17 15:12:33 +0530352
353 qcom,pm8941_rtc {
354 spmi-dev-container;
355 compatible = "qcom,qpnp-rtc";
356 #address-cells = <1>;
357 #size-cells = <1>;
358 qcom,qpnp-rtc-write = <0>;
359 qcom,qpnp-rtc-alarm-pwrup = <0>;
360
361 qcom,pm8941_rtc_rw@6000 {
362 reg = <0x6000 0x100>;
363 };
364 qcom,pm8941_rtc_alarm@6100 {
365 reg = <0x6100 0x100>;
366 interrupts = <0x0 0x61 0x1>;
367 };
368 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700369
370 vadc@3100 {
371 compatible = "qcom,qpnp-vadc";
372 reg = <0x3100 0x100>;
373 interrupts = <0x0 0x31 0x0>;
374 qcom,adc-bit-resolution = <15>;
375 qcom,adc-vdd-reference = <1800>;
376
377 chan@0 {
378 label = "usb_in";
379 qcom,channel-num = <0>;
380 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700381 qcom,pre-div-channel-scaling = <4>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700382 qcom,calibration-type = "absolute";
383 qcom,scale-function = <0>;
384 qcom,hw-settle-time = <0>;
385 qcom,fast-avg-setup = <0>;
386 };
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700387
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700388 chan@1 {
389 label = "dc_in";
390 qcom,channel-num = <1>;
391 qcom,decimation = <0>;
392 qcom,pre-div-channel-scaling = <4>;
393 qcom,calibration-type = "absolute";
394 qcom,scale-function = <0>;
395 qcom,hw-settle-time = <0>;
396 qcom,fast-avg-setup = <0>;
397 };
398
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700399 chan@2 {
400 label = "vchg_sns";
401 qcom,channel-num = <2>;
402 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700403 qcom,pre-div-channel-scaling = <3>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700404 qcom,calibration-type = "absolute";
405 qcom,scale-function = <0>;
406 qcom,hw-settle-time = <0>;
407 qcom,fast-avg-setup = <0>;
408 };
409
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700410 chan@3 {
411 label = "spare1";
412 qcom,channel-num = <3>;
413 qcom,decimation = <0>;
414 qcom,pre-div-channel-scaling = <6>;
415 qcom,calibration-type = "absolute";
416 qcom,scale-function = <0>;
417 qcom,hw-settle-time = <0>;
418 qcom,fast-avg-setup = <0>;
419 };
420
421 chan@4 {
422 label = "spare2";
423 qcom,channel-num = <4>;
424 qcom,decimation = <0>;
425 qcom,pre-div-channel-scaling = <6>;
426 qcom,calibration-type = "absolute";
427 qcom,scale-function = <0>;
428 qcom,hw-settle-time = <0>;
429 qcom,fast-avg-setup = <0>;
430 };
431
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700432 chan@5 {
433 label = "vcoin";
434 qcom,channel-num = <5>;
435 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700436 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700437 qcom,calibration-type = "absolute";
438 qcom,scale-function = <0>;
439 qcom,hw-settle-time = <0>;
440 qcom,fast-avg-setup = <0>;
441 };
442
443 chan@6 {
444 label = "vbat_sns";
445 qcom,channel-num = <6>;
446 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700447 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700448 qcom,calibration-type = "absolute";
449 qcom,scale-function = <0>;
450 qcom,hw-settle-time = <0>;
451 qcom,fast-avg-setup = <0>;
452 };
453
454 chan@7 {
455 label = "vph_pwr";
456 qcom,channel-num = <7>;
457 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700458 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700459 qcom,calibration-type = "absolute";
460 qcom,scale-function = <0>;
461 qcom,hw-settle-time = <0>;
462 qcom,fast-avg-setup = <0>;
463 };
464
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700465 chan@8 {
466 label = "die_temp";
467 qcom,channel-num = <8>;
468 qcom,decimation = <0>;
469 qcom,pre-div-channel-scaling = <0>;
470 qcom,calibration-type = "absolute";
471 qcom,scale-function = <3>;
472 qcom,hw-settle-time = <0>;
473 qcom,fast-avg-setup = <0>;
474 };
475
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700476 chan@9 {
477 label = "ref_625mv";
478 qcom,channel-num = <9>;
479 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700480 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700481 qcom,calibration-type = "absolute";
482 qcom,scale-function = <0>;
483 qcom,hw-settle-time = <0>;
484 qcom,fast-avg-setup = <0>;
485 };
486
487 chan@10 {
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700488 label = "ref_1250v";
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700489 qcom,channel-num = <10>;
490 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700491 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700492 qcom,calibration-type = "absolute";
493 qcom,scale-function = <0>;
494 qcom,hw-settle-time = <0>;
495 qcom,fast-avg-setup = <0>;
496 };
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700497
498 chan@48 {
499 label = "batt_therm";
500 qcom,channel-num = <48>;
501 qcom,decimation = <0>;
502 qcom,pre-div-channel-scaling = <0>;
503 qcom,calibration-type = "ratiometric";
504 qcom,scale-function = <1>;
505 qcom,hw-settle-time = <0>;
506 qcom,fast-avg-setup = <0>;
507 };
508
509 chan@49 {
510 label = "batt_id";
511 qcom,channel-num = <49>;
512 qcom,decimation = <0>;
513 qcom,pre-div-channel-scaling = <0>;
514 qcom,calibration-type = "ratiometric";
515 qcom,scale-function = <0>;
516 qcom,hw-settle-time = <0>;
517 qcom,fast-avg-setup = <0>;
518 };
519
520 chan@50 {
521 label = "xo_therm1";
522 qcom,channel-num = <49>;
523 qcom,decimation = <0>;
524 qcom,pre-div-channel-scaling = <0>;
525 qcom,calibration-type = "ratiometric";
526 qcom,scale-function = <4>;
527 qcom,hw-settle-time = <0>;
528 qcom,fast-avg-setup = <0>;
529 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700530 };
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700531
532 iadc@3600 {
533 compatible = "qcom,qpnp-iadc";
534 reg = <0x3600 0x100>;
535 interrupts = <0x0 0x36 0x0>;
536 qcom,adc-bit-resolution = <16>;
537 qcom,adc-vdd-reference = <1800>;
538 qcom,rsense = <1500>;
539
540 chan@0 {
541 label = "internal_rsense";
542 qcom,channel-num = <0>;
543 qcom,decimation = <0>;
544 qcom,pre-div-channel-scaling = <1>;
545 qcom,calibration-type = "absolute";
546 qcom,scale-function = <0>;
547 qcom,hw-settle-time = <0>;
548 qcom,fast-avg-setup = <0>;
549 };
550 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700551 };
David Collins153d45a2012-03-26 11:57:50 -0700552
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700553 qcom,pm8941@1 {
554 spmi-slave-container;
555 reg = <0x1>;
556 #address-cells = <1>;
557 #size-cells = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700558
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700559 regulator@1400 {
560 regulator-name = "8941_s1";
561 spmi-dev-container;
562 #address-cells = <1>;
563 #size-cells = <1>;
564 compatible = "qcom,qpnp-regulator";
565 reg = <0x1400 0x300>;
566 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700567
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700568 qcom,ctl@1400 {
569 reg = <0x1400 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700570 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700571 qcom,ps@1500 {
572 reg = <0x1500 0x100>;
573 };
574 qcom,freq@1600 {
575 reg = <0x1600 0x100>;
576 };
577 };
David Collins153d45a2012-03-26 11:57:50 -0700578
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700579 regulator@1700 {
580 regulator-name = "8941_s2";
581 spmi-dev-container;
582 #address-cells = <1>;
583 #size-cells = <1>;
584 compatible = "qcom,qpnp-regulator";
585 reg = <0x1700 0x300>;
586 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700587
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700588 qcom,ctl@1700 {
589 reg = <0x1700 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700590 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700591 qcom,ps@1800 {
592 reg = <0x1800 0x100>;
593 };
594 qcom,freq@1900 {
595 reg = <0x1900 0x100>;
596 };
597 };
David Collins153d45a2012-03-26 11:57:50 -0700598
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700599 regulator@1a00 {
600 regulator-name = "8941_s3";
601 spmi-dev-container;
602 #address-cells = <1>;
603 #size-cells = <1>;
604 compatible = "qcom,qpnp-regulator";
Michael Bohand3253c72012-08-09 11:34:49 -0700605 reg = <0x1a00 0x300>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700606 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700607
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700608 qcom,ctl@1a00 {
609 reg = <0x1a00 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700610 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700611 qcom,ps@1b00 {
612 reg = <0x1b00 0x100>;
613 };
614 qcom,freq@1c00 {
615 reg = <0x1c00 0x100>;
616 };
617 };
David Collins153d45a2012-03-26 11:57:50 -0700618
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700619 regulator@a000 {
620 regulator-name = "8941_boost";
621 reg = <0xa000 0x100>;
622 compatible = "qcom,qpnp-regulator";
623 status = "disabled";
624 };
David Collins153d45a2012-03-26 11:57:50 -0700625
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700626 regulator@4000 {
627 regulator-name = "8941_l1";
628 reg = <0x4000 0x100>;
629 compatible = "qcom,qpnp-regulator";
630 status = "disabled";
631 };
David Collins153d45a2012-03-26 11:57:50 -0700632
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700633 regulator@4100 {
634 regulator-name = "8941_l2";
635 reg = <0x4100 0x100>;
636 compatible = "qcom,qpnp-regulator";
637 status = "disabled";
638 };
David Collins153d45a2012-03-26 11:57:50 -0700639
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700640 regulator@4200 {
641 regulator-name = "8941_l3";
642 reg = <0x4200 0x100>;
643 compatible = "qcom,qpnp-regulator";
644 status = "disabled";
645 };
David Collins153d45a2012-03-26 11:57:50 -0700646
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700647 regulator@4300 {
648 regulator-name = "8941_l4";
649 reg = <0x4300 0x100>;
650 compatible = "qcom,qpnp-regulator";
651 status = "disabled";
652 };
David Collins153d45a2012-03-26 11:57:50 -0700653
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700654 regulator@4400 {
655 regulator-name = "8941_l5";
656 reg = <0x4400 0x100>;
657 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -0700658 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700659 status = "disabled";
660 };
David Collins153d45a2012-03-26 11:57:50 -0700661
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700662 regulator@4500 {
663 regulator-name = "8941_l6";
664 reg = <0x4500 0x100>;
665 compatible = "qcom,qpnp-regulator";
666 status = "disabled";
667 };
David Collins153d45a2012-03-26 11:57:50 -0700668
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700669 regulator@4600 {
670 regulator-name = "8941_l7";
671 reg = <0x4600 0x100>;
672 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -0700673 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700674 status = "disabled";
675 };
David Collins153d45a2012-03-26 11:57:50 -0700676
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700677 regulator@4700 {
678 regulator-name = "8941_l8";
679 reg = <0x4700 0x100>;
680 compatible = "qcom,qpnp-regulator";
681 status = "disabled";
682 };
David Collins153d45a2012-03-26 11:57:50 -0700683
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700684 regulator@4800 {
685 regulator-name = "8941_l9";
686 reg = <0x4800 0x100>;
687 compatible = "qcom,qpnp-regulator";
688 status = "disabled";
689 };
David Collins153d45a2012-03-26 11:57:50 -0700690
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700691 regulator@4900 {
692 regulator-name = "8941_l10";
693 reg = <0x4900 0x100>;
694 compatible = "qcom,qpnp-regulator";
695 status = "disabled";
696 };
David Collins153d45a2012-03-26 11:57:50 -0700697
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700698 regulator@4a00 {
699 regulator-name = "8941_l11";
700 reg = <0x4a00 0x100>;
701 compatible = "qcom,qpnp-regulator";
702 status = "disabled";
703 };
David Collins153d45a2012-03-26 11:57:50 -0700704
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700705 regulator@4b00 {
706 regulator-name = "8941_l12";
707 reg = <0x4b00 0x100>;
708 compatible = "qcom,qpnp-regulator";
709 status = "disabled";
710 };
David Collins153d45a2012-03-26 11:57:50 -0700711
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700712 regulator@4c00 {
713 regulator-name = "8941_l13";
714 reg = <0x4c00 0x100>;
715 compatible = "qcom,qpnp-regulator";
716 status = "disabled";
717 };
David Collins153d45a2012-03-26 11:57:50 -0700718
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700719 regulator@4d00 {
720 regulator-name = "8941_l14";
721 reg = <0x4d00 0x100>;
722 compatible = "qcom,qpnp-regulator";
723 status = "disabled";
724 };
725
726 regulator@4e00 {
727 regulator-name = "8941_l15";
728 reg = <0x4e00 0x100>;
729 compatible = "qcom,qpnp-regulator";
730 status = "disabled";
731 };
732
733 regulator@4f00 {
734 regulator-name = "8941_l16";
735 reg = <0x4f00 0x100>;
736 compatible = "qcom,qpnp-regulator";
737 status = "disabled";
738 };
739
740 regulator@5000 {
741 regulator-name = "8941_l17";
742 reg = <0x5000 0x100>;
743 compatible = "qcom,qpnp-regulator";
744 status = "disabled";
745 };
746
747 regulator@5100 {
748 regulator-name = "8941_l18";
749 reg = <0x5100 0x100>;
750 compatible = "qcom,qpnp-regulator";
751 status = "disabled";
752 };
753
754 regulator@5200 {
755 regulator-name = "8941_l19";
756 reg = <0x5200 0x100>;
757 compatible = "qcom,qpnp-regulator";
758 status = "disabled";
759 };
760
761 regulator@5300 {
762 regulator-name = "8941_l20";
763 reg = <0x5300 0x100>;
764 compatible = "qcom,qpnp-regulator";
765 status = "disabled";
766 };
767
768 regulator@5400 {
769 regulator-name = "8941_l21";
770 reg = <0x5400 0x100>;
771 compatible = "qcom,qpnp-regulator";
772 status = "disabled";
773 };
774
775 regulator@5500 {
776 regulator-name = "8941_l22";
777 reg = <0x5500 0x100>;
778 compatible = "qcom,qpnp-regulator";
779 status = "disabled";
780 };
781
782 regulator@5600 {
783 regulator-name = "8941_l23";
784 reg = <0x5600 0x100>;
785 compatible = "qcom,qpnp-regulator";
786 status = "disabled";
787 };
788
789 regulator@5700 {
790 regulator-name = "8941_l24";
791 reg = <0x5700 0x100>;
792 compatible = "qcom,qpnp-regulator";
793 status = "disabled";
794 };
795
796 regulator@8000 {
797 regulator-name = "8941_lvs1";
798 reg = <0x8000 0x100>;
799 compatible = "qcom,qpnp-regulator";
800 status = "disabled";
801 };
802
803 regulator@8100 {
804 regulator-name = "8941_lvs2";
805 reg = <0x8100 0x100>;
806 compatible = "qcom,qpnp-regulator";
807 status = "disabled";
808 };
809
810 regulator@8200 {
811 regulator-name = "8941_lvs3";
812 reg = <0x8200 0x100>;
813 compatible = "qcom,qpnp-regulator";
814 status = "disabled";
815 };
816
817 regulator@8300 {
818 regulator-name = "8941_mvs1";
819 reg = <0x8300 0x100>;
820 compatible = "qcom,qpnp-regulator";
821 status = "disabled";
822 };
823
824 regulator@8400 {
825 regulator-name = "8941_mvs2";
826 reg = <0x8400 0x100>;
827 compatible = "qcom,qpnp-regulator";
828 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700829 };
Amy Maloche02a5eae2012-08-10 21:33:59 -0700830
831 qcom,leds@d800 {
832 compatible = "qcom,leds-qpnp";
833 reg = <0xd800 0x100>;
834 qcom,label = "wled";
835 };
836
837 qcom,leds@d900 {
838 compatible = "qcom,leds-qpnp";
839 reg = <0xd900 0x100>;
840 qcom,label = "wled";
841 };
842
843 qcom,leds@da00 {
844 compatible = "qcom,leds-qpnp";
845 reg = <0xda00 0x100>;
846 qcom,label = "wled";
847 };
848
849 qcom,leds@db00 {
850 compatible = "qcom,leds-qpnp";
851 reg = <0xdb00 0x100>;
852 qcom,label = "wled";
853 };
854
855 qcom,leds@dc00 {
856 compatible = "qcom,leds-qpnp";
857 reg = <0xdc00 0x100>;
858 qcom,label = "wled";
859 };
860
861 qcom,leds@dd00 {
862 compatible = "qcom,leds-qpnp";
863 reg = <0xdd00 0x100>;
864 qcom,label = "wled";
865 };
866
867 qcom,leds@de00 {
868 compatible = "qcom,leds-qpnp";
869 reg = <0xde00 0x100>;
870 qcom,label = "wled";
871 };
872
873 qcom,leds@df00 {
874 compatible = "qcom,leds-qpnp";
875 reg = <0xdf00 0x100>;
876 qcom,label = "wled";
877 };
878
879 qcom,leds@e000 {
880 compatible = "qcom,leds-qpnp";
881 reg = <0xe000 0x100>;
882 qcom,label = "wled";
883 };
884
885 qcom,leds@e100 {
886 compatible = "qcom,leds-qpnp";
887 reg = <0xe100 0x100>;
888 qcom,label = "wled";
889 };
890
David Collins153d45a2012-03-26 11:57:50 -0700891 };
892};