blob: 4d6751c563f9aa20d361eb598ad952323f264b83 [file] [log] [blame]
David Keitel84987112013-02-11 13:26:30 -08001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Kenneth Heitkee5804002012-11-15 17:50:07 -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
13&spmi_bus {
14 #address-cells = <1>;
15 #size-cells = <0>;
16 interrupt-controller;
17 #interrupt-cells = <3>;
David Keitel84987112013-02-11 13:26:30 -080018
David Keitel4109e952013-02-07 20:22:13 -080019 qcom,pm8226@0 {
20 spmi-slave-container;
21 reg = <0x0>;
22 #address-cells = <1>;
23 #size-cells = <1>;
24
Amy Malochef8225942013-03-04 12:16:29 -080025 qcom,power-on@800 {
26 compatible = "qcom,qpnp-power-on";
27 reg = <0x800 0x100>;
28 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 qcom,system-reset;
34
35 qcom,pon_1 {
36 qcom,pon-type = <0>;
37 qcom,pull-up = <1>;
38 linux,code = <116>;
39 };
40
41 qcom,pon_2 {
42 qcom,pon-type = <1>;
43 qcom,support-reset = <1>;
44 qcom,pull-up = <1>;
45 qcom,s1-timer = <0>;
46 qcom,s2-timer = <2000>;
47 qcom,s2-type = <1>;
48 linux,code = <114>;
49 };
50 };
51
David Keitelc51a7e52013-03-02 00:14:48 -080052 pm8226_chg: qcom,charger {
53 spmi-dev-container;
54 compatible = "qcom,qpnp-charger";
55 #address-cells = <1>;
56 #size-cells = <1>;
57 status = "disabled";
58
David Keitele89d4782013-03-27 11:29:59 -070059 qcom,vddmax-mv = <4200>;
60 qcom,vddsafe-mv = <4200>;
61 qcom,vinmin-mv = <4200>;
David Keitel112ba9c2013-04-12 18:40:43 -070062 qcom,vbatdet-delta-mv = <150>;
David Keitele89d4782013-03-27 11:29:59 -070063 qcom,ibatmax-ma = <1500>;
David Keitel9fd07382013-05-02 15:37:44 -070064 qcom,ibatterm-ma = <100>;
David Keitele89d4782013-03-27 11:29:59 -070065 qcom,ibatsafe-ma = <1500>;
66 qcom,thermal-mitigation = <1500 700 600 325>;
David Keitelb0b63632013-03-27 15:17:33 -070067 qcom,tchg-mins = <150>;
David Keitelc51a7e52013-03-02 00:14:48 -080068
David Keitele89d4782013-03-27 11:29:59 -070069 qcom,chgr@1000 {
David Keitelc51a7e52013-03-02 00:14:48 -080070 status = "disabled";
71 reg = <0x1000 0x100>;
72 interrupts = <0x0 0x10 0x0>,
73 <0x0 0x10 0x1>,
74 <0x0 0x10 0x2>,
75 <0x0 0x10 0x3>,
76 <0x0 0x10 0x4>,
77 <0x0 0x10 0x5>,
78 <0x0 0x10 0x6>,
79 <0x0 0x10 0x7>;
80
81 interrupt-names = "vbat-det-lo",
82 "vbat-det-hi",
83 "chgwdog",
84 "state-change",
85 "trkl-chg-on",
86 "fast-chg-on",
87 "chg-failed",
88 "chg-done";
89 };
90
David Keitele89d4782013-03-27 11:29:59 -070091 qcom,buck@1100 {
David Keitelc51a7e52013-03-02 00:14:48 -080092 status = "disabled";
93 reg = <0x1100 0x100>;
94 interrupts = <0x0 0x11 0x0>,
95 <0x0 0x11 0x1>,
96 <0x0 0x11 0x2>,
97 <0x0 0x11 0x3>,
98 <0x0 0x11 0x4>,
99 <0x0 0x11 0x5>,
100 <0x0 0x11 0x6>;
101
102 interrupt-names = "vbat-ov",
103 "vreg-ov",
104 "overtemp",
105 "vchg-loop",
106 "ichg-loop",
107 "ibat-loop",
108 "vdd-loop";
109 };
110
David Keitele89d4782013-03-27 11:29:59 -0700111 qcom,bat-if@1200 {
David Keitelc51a7e52013-03-02 00:14:48 -0800112 status = "disabled";
113 reg = <0x1200 0x100>;
114 interrupts = <0x0 0x12 0x0>,
115 <0x0 0x12 0x1>,
116 <0x0 0x12 0x2>,
117 <0x0 0x12 0x3>,
118 <0x0 0x12 0x4>;
119
120 interrupt-names = "batt-pres",
121 "bat-temp-ok",
122 "bat-fet-on",
123 "vcp-on",
124 "psi";
125
126 };
127
David Keitele89d4782013-03-27 11:29:59 -0700128 qcom,usb-chgpth@1300 {
David Keitelc51a7e52013-03-02 00:14:48 -0800129 status = "disabled";
130 reg = <0x1300 0x100>;
131 interrupts = <0 0x13 0x0>,
132 <0 0x13 0x1>,
133 <0x0 0x13 0x2>;
134
135 interrupt-names = "coarse-det-usb",
136 "usbin-valid",
137 "chg-gone";
138 };
139
David Keitele89d4782013-03-27 11:29:59 -0700140 qcom,boost@1500 {
David Keitelc51a7e52013-03-02 00:14:48 -0800141 status = "disabled";
142 reg = <0x1500 0x100>;
143 interrupts = <0x0 0x15 0x0>,
144 <0x0 0x15 0x1>;
145
146 interrupt-names = "boost-pwr-ok",
147 "limit-error";
148 };
149
150 qcom,chg-misc@1600 {
151 status = "disabled";
152 reg = <0x1600 0x100>;
153 };
154 };
155
Xiaozhe Shicb59c9d2013-03-19 10:43:07 -0700156 pm8226_bms: qcom,bms {
157 spmi-dev-container;
158 compatible = "qcom,qpnp-bms";
159 #address-cells = <1>;
160 #size-cells = <1>;
161 status = "disabled";
162
163 qcom,r-sense-uohm = <10000>;
164 qcom,v-cutoff-uv = <3400000>;
165 qcom,max-voltage-uv = <4200000>;
Xiaozhe Shie0da4c72013-04-02 10:43:55 -0700166 qcom,r-conn-mohm = <0>;
Xiaozhe Shicb59c9d2013-03-19 10:43:07 -0700167 qcom,shutdown-soc-valid-limit = <20>;
Xiaozhe Shi561ebf72013-03-25 13:51:27 -0700168 qcom,adjust-soc-low-threshold = <15>;
Xiaozhe Shicb59c9d2013-03-19 10:43:07 -0700169 qcom,ocv-voltage-high-threshold-uv = <3750000>;
170 qcom,ocv-voltage-low-threshold-uv = <3650000>;
171 qcom,low-soc-calculate-soc-threshold = <15>;
172 qcom,low-soc-calculate-soc-ms = <5000>;
173 qcom,calculate-soc-ms = <20000>;
174 qcom,chg-term-ua = <100000>;
175 qcom,batt-type = <0>;
Xiaozhe Shi0ac7a002013-03-26 13:14:03 -0700176 qcom,low-ocv-correction-limit-uv = <100>;
177 qcom,high-ocv-correction-limit-uv = <50>;
178 qcom,hold-soc-est = <3>;
Xiaozhe Shi33988df2013-04-03 10:37:56 -0700179 qcom,low-voltage-threshold = <3420000>;
Xiaozhe Shicb59c9d2013-03-19 10:43:07 -0700180
181 qcom,bms-iadc@3800 {
182 reg = <0x3800 0x100>;
183 };
184
185 qcom,bms-bms@4000 {
186 reg = <0x4000 0x100>;
187 interrupts = <0x0 0x40 0x0>,
188 <0x0 0x40 0x1>,
189 <0x0 0x40 0x2>,
190 <0x0 0x40 0x3>,
191 <0x0 0x40 0x4>,
192 <0x0 0x40 0x5>,
193 <0x0 0x40 0x6>,
194 <0x0 0x40 0x7>;
195
196 interrupt-names = "vsense_for_r",
197 "vsense_avg",
198 "sw_cc_thr",
199 "ocv_thr",
200 "charge_begin",
201 "good_ocv",
202 "ocv_for_r",
203 "cc_thr";
204 };
205 };
206
David Keitel4109e952013-02-07 20:22:13 -0800207 pm8226_gpios: gpios {
208 spmi-dev-container;
209 compatible = "qcom,qpnp-pin";
210 gpio-controller;
211 #gpio-cells = <2>;
212 #address-cells = <1>;
213 #size-cells = <1>;
214 label = "pm8226-gpio";
215
216 gpio@c000 {
217 reg = <0xc000 0x100>;
218 qcom,pin-num = <1>;
219 };
220
221 gpio@c100 {
222 reg = <0xc100 0x100>;
223 qcom,pin-num = <2>;
224 };
225
226 gpio@c200 {
227 reg = <0xc200 0x100>;
228 qcom,pin-num = <3>;
229 };
230
231 gpio@c300 {
232 reg = <0xc300 0x100>;
233 qcom,pin-num = <4>;
234 };
235
236 gpio@c400 {
237 reg = <0xc400 0x100>;
238 qcom,pin-num = <5>;
239 };
240
241 gpio@c500 {
242 reg = <0xc500 0x100>;
243 qcom,pin-num = <6>;
244 };
245
246 gpio@c600 {
247 reg = <0xc600 0x100>;
248 qcom,pin-num = <7>;
249 };
250
251 gpio@c700 {
252 reg = <0xc700 0x100>;
253 qcom,pin-num = <8>;
254 };
255 };
256
257 pm8226_mpps: mpps {
258 spmi-dev-container;
259 compatible = "qcom,qpnp-pin";
260 gpio-controller;
261 #gpio-cells = <2>;
262 #address-cells = <1>;
263 #size-cells = <1>;
264 label = "pm8226-mpp";
265
266 mpp@a000 {
267 reg = <0xa000 0x100>;
268 qcom,pin-num = <1>;
269 };
270
271 mpp@a100 {
272 reg = <0xa100 0x100>;
273 qcom,pin-num = <2>;
274 };
275
276 mpp@a200 {
277 reg = <0xa200 0x100>;
278 qcom,pin-num = <3>;
279 };
280
281 mpp@a300 {
282 reg = <0xa300 0x100>;
283 qcom,pin-num = <4>;
284 };
285
286 mpp@a400 {
287 reg = <0xa400 0x100>;
288 qcom,pin-num = <5>;
289 };
290
291 mpp@a500 {
292 reg = <0xa500 0x100>;
293 qcom,pin-num = <6>;
294 };
295
296 mpp@a600 {
297 reg = <0xa600 0x100>;
298 qcom,pin-num = <7>;
299 };
300
301 mpp@a700 {
302 reg = <0xa700 0x100>;
303 qcom,pin-num = <8>;
304 };
305 };
Siddartha Mohanadossae99e772013-02-19 15:44:40 -0800306
307 pm8226_vadc: vadc@3100 {
308 compatible = "qcom,qpnp-vadc";
309 reg = <0x3100 0x100>;
310 #address-cells = <1>;
311 #size-cells = <0>;
312 interrupts = <0x0 0x31 0x0>;
313 interrupt-names = "eoc-int-en-set";
314 qcom,adc-bit-resolution = <15>;
315 qcom,adc-vdd-reference = <1800>;
316
317 chan@8 {
318 label = "die_temp";
319 reg = <8>;
320 qcom,decimation = <0>;
321 qcom,pre-div-channel-scaling = <0>;
322 qcom,calibration-type = "absolute";
323 qcom,scale-function = <3>;
324 qcom,hw-settle-time = <0>;
325 qcom,fast-avg-setup = <0>;
326 };
327
328 chan@9 {
329 label = "ref_625mv";
330 reg = <9>;
331 qcom,decimation = <0>;
332 qcom,pre-div-channel-scaling = <0>;
333 qcom,calibration-type = "absolute";
334 qcom,scale-function = <0>;
335 qcom,hw-settle-time = <0>;
336 qcom,fast-avg-setup = <0>;
337 };
338
339 chan@a {
340 label = "ref_1250v";
341 reg = <0xa>;
342 qcom,decimation = <0>;
343 qcom,pre-div-channel-scaling = <0>;
344 qcom,calibration-type = "absolute";
345 qcom,scale-function = <0>;
346 qcom,hw-settle-time = <0>;
347 qcom,fast-avg-setup = <0>;
348 };
Siddartha Mohanadossa3390632013-03-15 07:37:27 -0700349
350 chan@c {
351 label = "ref_buf_625mv";
352 reg = <0xc>;
353 qcom,decimation = <0>;
354 qcom,pre-div-channel-scaling = <0>;
355 qcom,calibration-type = "absolute";
356 qcom,scale-function = <0>;
357 qcom,hw-settle-time = <0>;
358 qcom,fast-avg-setup = <0>;
359 };
Siddartha Mohanadossae99e772013-02-19 15:44:40 -0800360 };
361
362 iadc@3600 {
363 compatible = "qcom,qpnp-iadc";
364 reg = <0x3600 0x100>;
365 #address-cells = <1>;
366 #size-cells = <0>;
367 interrupts = <0x0 0x36 0x0>;
368 interrupt-names = "eoc-int-en-set";
369 qcom,adc-bit-resolution = <16>;
370 qcom,adc-vdd-reference = <1800>;
Siddartha Mohanadossae99e772013-02-19 15:44:40 -0800371
372 chan@0 {
373 label = "internal_rsense";
374 reg = <0>;
375 qcom,decimation = <0>;
376 qcom,pre-div-channel-scaling = <1>;
377 qcom,calibration-type = "absolute";
378 qcom,scale-function = <0>;
379 qcom,hw-settle-time = <0>;
380 qcom,fast-avg-setup = <0>;
381 };
382 };
Ashay Jaiswalc51f7e92013-03-11 10:25:58 +0530383
384 qcom,pm8226_rtc {
385 spmi-dev-container;
386 compatible = "qcom,qpnp-rtc";
387 #address-cells = <1>;
388 #size-cells = <1>;
389 qcom,qpnp-rtc-write = <0>;
390 qcom,qpnp-rtc-alarm-pwrup = <0>;
391
392 qcom,pm8226_rtc_rw@6000 {
393 reg = <0x6000 0x100>;
394 };
395 qcom,pm8226_rtc_alarm@6100 {
396 reg = <0x6100 0x100>;
397 interrupts = <0x0 0x61 0x1>;
398 };
399 };
David Keitel4109e952013-02-07 20:22:13 -0800400 };
401
David Keitel84987112013-02-11 13:26:30 -0800402 qcom,pm8226@1 {
403 spmi-slave-container;
404 reg = <0x1>;
405 #address-cells = <1>;
406 #size-cells = <1>;
407
408 regulator@1400 {
409 regulator-name = "8226_s1";
410 spmi-dev-container;
411 #address-cells = <1>;
412 #size-cells = <1>;
413 compatible = "qcom,qpnp-regulator";
414 reg = <0x1400 0x300>;
415 status = "disabled";
416
417 qcom,ctl@1400 {
418 reg = <0x1400 0x100>;
419 };
420 qcom,ps@1500 {
421 reg = <0x1500 0x100>;
422 };
423 qcom,freq@1600 {
424 reg = <0x1600 0x100>;
425 };
426 };
427
428 regulator@1700 {
429 regulator-name = "8226_s2";
430 spmi-dev-container;
431 #address-cells = <1>;
432 #size-cells = <1>;
433 compatible = "qcom,qpnp-regulator";
434 reg = <0x1700 0x300>;
435 status = "disabled";
436
437 qcom,ctl@1700 {
438 reg = <0x1700 0x100>;
439 };
440 qcom,ps@1800 {
441 reg = <0x1800 0x100>;
442 };
443 qcom,freq@1900 {
444 reg = <0x1900 0x100>;
445 };
446 };
447
448 regulator@1a00 {
449 regulator-name = "8226_s3";
450 spmi-dev-container;
451 #address-cells = <1>;
452 #size-cells = <1>;
453 compatible = "qcom,qpnp-regulator";
454 reg = <0x1a00 0x300>;
455 status = "disabled";
456
457 qcom,ctl@1a00 {
458 reg = <0x1a00 0x100>;
459 };
460 qcom,ps@1b00 {
461 reg = <0x1b00 0x100>;
462 };
463 qcom,freq@1c00 {
464 reg = <0x1c00 0x100>;
465 };
466 };
467
468 regulator@1d00 {
469 regulator-name = "8226_s4";
470 spmi-dev-container;
471 #address-cells = <1>;
472 #size-cells = <1>;
473 compatible = "qcom,qpnp-regulator";
474 reg = <0x1d00 0x300>;
475 status = "disabled";
476
477 qcom,ctl@1d00 {
478 reg = <0x1d00 0x100>;
479 };
480 qcom,ps@1e00 {
481 reg = <0x1e00 0x100>;
482 };
483 qcom,freq@1f00 {
484 reg = <0x1f00 0x100>;
485 };
486 };
487
488 regulator@2000 {
489 regulator-name = "8226_s5";
490 spmi-dev-container;
491 #address-cells = <1>;
492 #size-cells = <1>;
493 compatible = "qcom,qpnp-regulator";
494 reg = <0x2000 0x300>;
495 status = "disabled";
496
497 qcom,ctl@2000 {
498 reg = <0x2000 0x100>;
499 };
500 qcom,ps@2100 {
501 reg = <0x2100 0x100>;
502 };
503 qcom,freq@2200 {
504 reg = <0x2200 0x100>;
505 };
506 };
507
508 regulator@4000 {
509 regulator-name = "8226_l1";
510 reg = <0x4000 0x100>;
511 compatible = "qcom,qpnp-regulator";
512 status = "disabled";
513 };
514
515 regulator@4100 {
516 regulator-name = "8226_l2";
517 reg = <0x4100 0x100>;
518 compatible = "qcom,qpnp-regulator";
519 status = "disabled";
520 };
521
522 regulator@4200 {
523 regulator-name = "8226_l3";
524 reg = <0x4200 0x100>;
525 compatible = "qcom,qpnp-regulator";
526 status = "disabled";
527 };
528
529 regulator@4300 {
530 regulator-name = "8226_l4";
531 reg = <0x4300 0x100>;
532 compatible = "qcom,qpnp-regulator";
533 status = "disabled";
534 };
535
536 regulator@4400 {
537 regulator-name = "8226_l5";
538 reg = <0x4400 0x100>;
539 compatible = "qcom,qpnp-regulator";
540 status = "disabled";
541 };
542
543 regulator@4500 {
544 regulator-name = "8226_l6";
545 reg = <0x4500 0x100>;
546 compatible = "qcom,qpnp-regulator";
547 status = "disabled";
548 };
549
550 regulator@4600 {
551 regulator-name = "8226_l7";
552 reg = <0x4600 0x100>;
553 compatible = "qcom,qpnp-regulator";
554 status = "disabled";
555 };
556
557 regulator@4700 {
558 regulator-name = "8226_l8";
559 reg = <0x4700 0x100>;
560 compatible = "qcom,qpnp-regulator";
561 status = "disabled";
562 };
563
564 regulator@4800 {
565 regulator-name = "8226_l9";
566 reg = <0x4800 0x100>;
567 compatible = "qcom,qpnp-regulator";
568 status = "disabled";
569 };
570
571 regulator@4900 {
572 regulator-name = "8226_l10";
573 reg = <0x4900 0x100>;
574 compatible = "qcom,qpnp-regulator";
575 status = "disabled";
576 };
577
578 regulator@4b00 {
579 regulator-name = "8226_l12";
580 reg = <0x4b00 0x100>;
581 compatible = "qcom,qpnp-regulator";
582 status = "disabled";
583 };
584
585 regulator@4d00 {
586 regulator-name = "8226_l14";
587 reg = <0x4d00 0x100>;
588 compatible = "qcom,qpnp-regulator";
589 status = "disabled";
590 };
591
592 regulator@4e00 {
593 regulator-name = "8226_l15";
594 reg = <0x4e00 0x100>;
595 compatible = "qcom,qpnp-regulator";
596 status = "disabled";
597 };
598
599 regulator@4f00 {
600 regulator-name = "8226_l16";
601 reg = <0x4f00 0x100>;
602 compatible = "qcom,qpnp-regulator";
603 status = "disabled";
604 };
605
606 regulator@5000 {
607 regulator-name = "8226_l17";
608 reg = <0x5000 0x100>;
609 compatible = "qcom,qpnp-regulator";
610 status = "disabled";
611 };
612
613 regulator@5100 {
614 regulator-name = "8226_l18";
615 reg = <0x5100 0x100>;
616 compatible = "qcom,qpnp-regulator";
617 status = "disabled";
618 };
619
620 regulator@5200 {
621 regulator-name = "8226_l19";
622 reg = <0x5200 0x100>;
623 compatible = "qcom,qpnp-regulator";
624 status = "disabled";
625 };
626
627 regulator@5300 {
628 regulator-name = "8226_l20";
629 reg = <0x5300 0x100>;
630 compatible = "qcom,qpnp-regulator";
631 status = "disabled";
632 };
633
634 regulator@5400 {
635 regulator-name = "8226_l21";
636 reg = <0x5400 0x100>;
637 compatible = "qcom,qpnp-regulator";
638 status = "disabled";
639 };
640
641 regulator@5500 {
642 regulator-name = "8226_l22";
643 reg = <0x5500 0x100>;
644 compatible = "qcom,qpnp-regulator";
645 status = "disabled";
646 };
647
648 regulator@5600 {
649 regulator-name = "8226_l23";
650 reg = <0x5600 0x100>;
651 compatible = "qcom,qpnp-regulator";
652 status = "disabled";
653 };
654
655 regulator@5700 {
656 regulator-name = "8226_l24";
657 reg = <0x5700 0x100>;
658 compatible = "qcom,qpnp-regulator";
659 status = "disabled";
660 };
661
662 regulator@5900 {
663 regulator-name = "8226_l26";
664 reg = <0x5900 0x100>;
665 compatible = "qcom,qpnp-regulator";
666 status = "disabled";
667 };
668
669 regulator@5a00 {
670 regulator-name = "8226_l27";
671 reg = <0x5a00 0x100>;
672 compatible = "qcom,qpnp-regulator";
673 status = "disabled";
674 };
675
676 regulator@5b00 {
677 regulator-name = "8226_l28";
678 reg = <0x5b00 0x100>;
679 compatible = "qcom,qpnp-regulator";
680 status = "disabled";
681 };
682
Amy Maloched699b942013-03-03 15:47:52 -0800683 qcom,leds@d800 {
684 compatible = "qcom,leds-qpnp";
685 reg = <0xd800 0x100>;
686 label = "wled";
687 };
688
Amy Maloche43532912013-03-25 12:55:42 -0700689 pwm@b100 {
690 compatible = "qcom,qpnp-pwm";
691 reg = <0xb100 0x100>,
692 <0xb042 0x7e>;
693 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
694 qcom,channel-id = <0>;
695 };
696
697 pwm@b200 {
698 compatible = "qcom,qpnp-pwm";
699 reg = <0xb200 0x100>,
700 <0xb042 0x7e>;
701 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
702 qcom,channel-id = <1>;
703 };
704
705 pwm@b300 {
706 compatible = "qcom,qpnp-pwm";
707 reg = <0xb300 0x100>,
708 <0xb042 0x7e>;
709 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
710 qcom,channel-id = <2>;
711 };
712
713 pwm@b400 {
714 compatible = "qcom,qpnp-pwm";
715 reg = <0xb400 0x100>,
716 <0xb042 0x7e>;
717 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
718 qcom,channel-id = <3>;
719 };
720
721 pwm@b500 {
722 compatible = "qcom,qpnp-pwm";
723 reg = <0xb500 0x100>,
724 <0xb042 0x7e>;
725 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
726 qcom,channel-id = <4>;
727 };
728
729 pwm@b600 {
730 compatible = "qcom,qpnp-pwm";
731 reg = <0xb600 0x100>,
732 <0xb042 0x7e>;
733 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
734 qcom,channel-id = <5>;
735 };
736
David Keitel84987112013-02-11 13:26:30 -0800737 regulator@8000 {
738 regulator-name = "8226_lvs1";
739 reg = <0x8000 0x100>;
740 compatible = "qcom,qpnp-regulator";
741 status = "disabled";
742 };
Fenglin Wu3a707802013-03-21 14:34:20 -0700743
Fenglin Wu7f38bae2013-03-12 21:22:35 -0700744 qcom,vibrator@c000 {
745 compatible = "qcom,qpnp-vibrator";
746 reg = <0xc000 0x100>;
747 label = "vibrator";
748 status = "disabled";
749 };
750
Fenglin Wu3a707802013-03-21 14:34:20 -0700751 qcom,leds@d300 {
752 compatible = "qcom,leds-qpnp";
753 status = "disable";
754 reg = <0xd300 0x100>;
755 label = "flash";
756 pm8226_flash0: qcom,flash_0 {
757 qcom,max-current = <1000>;
758 qcom,default-state = "off";
759 qcom,headroom = <0>;
760 qcom,duration = <1280>;
761 qcom,clamp-curr = <200>;
762 qcom,startup-dly = <1>;
763 qcom,safety-timer;
764 label = "flash";
765 linux,default-trigger =
766 "flash0_trigger";
767 qcom,id = <1>;
768 linux,name = "led:flash_0";
769 qcom,current = <625>;
770 };
771
772 pm8226_flash1: qcom,flash_1 {
773 qcom,max-current = <1000>;
774 qcom,default-state = "off";
775 qcom,headroom = <0>;
776 qcom,duration = <1280>;
777 qcom,clamp-curr = <200>;
778 qcom,startup-dly = <1>;
779 qcom,safety-timer;
780 linux,default-trigger =
781 "flash1_trigger";
782 label = "flash";
783 qcom,id = <2>;
784 linux,name = "led:flash_1";
785 qcom,current = <625>;
786 };
787 };
David Keitel84987112013-02-11 13:26:30 -0800788 };
Kenneth Heitkee5804002012-11-15 17:50:07 -0700789};