blob: 21d8c8cf16122efbac795d1585f0d1e1be3eb85e [file] [log] [blame]
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -07001/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
David Collins153d45a2012-03-26 11:57:50 -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
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
David Collinsfaafdf52012-10-10 17:10:22 -070025 qcom,temp-alarm@2400 {
26 compatible = "qcom,qpnp-temp-alarm";
27 reg = <0x2400 0x100>;
28 interrupts = <0x0 0x24 0x0>;
29 label = "pm8941_tz";
30 qcom,channel-num = <8>;
31 qcom,threshold-set = <0>;
32 };
33
Anirudh Ghayal19cf4982012-07-16 11:10:17 +053034 qcom,power-on@800 {
35 compatible = "qcom,qpnp-power-on";
36 reg = <0x800 0x100>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053037 interrupts = <0x0 0x8 0x0>,
38 <0x0 0x8 0x1>,
39 <0x0 0x8 0x4>;
40 interrupt-names = "kpdpwr", "resin", "resin-bark";
41 qcom,pon-dbc-delay = <15625>;
Michael Bohane7204222012-09-07 10:21:18 -070042 qcom,system-reset;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053043
44 qcom,pon_1 {
45 qcom,pon-type = <0>;
46 qcom,pull-up = <1>;
47 linux,code = <116>;
48 };
49
50 qcom,pon_2 {
51 qcom,pon-type = <1>;
Anirudh Ghayal579709662012-08-13 12:57:05 +053052 qcom,support-reset = <1>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053053 qcom,pull-up = <1>;
Anirudh Ghayal579709662012-08-13 12:57:05 +053054 qcom,s1-timer = <0>;
55 qcom,s2-timer = <2000>;
56 qcom,s2-type = <1>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053057 linux,code = <114>;
58 };
Anirudh Ghayal19cf4982012-07-16 11:10:17 +053059 };
60
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -070061 bms@4000 {
62 #address-cells = <1>;
63 #size-cells = <1>;
64
65 compatible = "qcom,qpnp-bms";
66 reg = <0x4000 0x100>;
67
68 interrupts = <0x0 0x40 0x0>,
69 <0x0 0x40 0x1>,
70 <0x0 0x40 0x2>,
71 <0x0 0x40 0x3>,
72 <0x0 0x40 0x4>,
73 <0x0 0x40 0x5>,
74 <0x0 0x40 0x6>,
75 <0x0 0x40 0x7>;
76
77 interrupt-names = "vsense_for_r",
78 "vsense_avg",
79 "sw_cc_thr",
80 "ocv_thr",
81 "charge_begin",
82 "good_ocv",
83 "ocv_for_r",
84 "cc_thr";
85
86 qcom,bms-r-sense-mohm = <10>;
87 qcom,bms-v-cutoff-uv = <3400000>;
88 qcom,bms-max-voltage-uv = <4200000>;
89 qcom,bms-r-conn-mohm = <18>;
90 qcom,bms-shutdown-soc-valid-limit = <20>;
91 qcom,bms-adjust-soc-low-threshold = <25>;
92 qcom,bms-adjust-soc-high-threshold = <45>;
93 qcom,bms-chg-term-ua = <100000>;
94 };
95
Michael Bohanee1f8fe2012-08-03 18:32:16 -070096 clkdiv@5b00 {
97 reg = <0x5b00 0x100>;
98 compatible = "qcom,qpnp-clkdiv";
99 qcom,cxo-freq = <19200000>;
100 };
101
102 clkdiv@5c00 {
103 reg = <0x5c00 0x100>;
104 compatible = "qcom,qpnp-clkdiv";
105 qcom,cxo-freq = <19200000>;
106 };
107
108 clkdiv@5d00 {
109 reg = <0x5d00 0x1000>;
110 compatible = "qcom,qpnp-clkdiv";
111 qcom,cxo-freq = <19200000>;
112 };
113
David Keitela7a71732012-09-24 12:30:44 -0700114 pm8941_chg: qcom,charger {
David Keitel6adff102012-07-27 14:24:00 -0700115 spmi-dev-container;
116 compatible = "qcom,qpnp-charger";
117 #address-cells = <1>;
118 #size-cells = <1>;
David Keitela7a71732012-09-24 12:30:44 -0700119 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700120
121 qcom,chg-vddmax-mv = <4200>;
122 qcom,chg-vddsafe-mv = <4200>;
123 qcom,chg-vinmin-mv = <4200>;
124 qcom,chg-ibatmax-ma = <1500>;
125 qcom,chg-ibatterm-ma = <200>;
126
127 qcom,chg-chgr@1000 {
David Keitela7a71732012-09-24 12:30:44 -0700128 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700129 reg = <0x1000 0x100>;
130 interrupts = <0x0 0x10 0x0>,
131 <0x0 0x10 0x1>,
132 <0x0 0x10 0x2>,
133 <0x0 0x10 0x3>,
134 <0x0 0x10 0x4>,
135 <0x0 0x10 0x5>,
136 <0x0 0x10 0x6>,
137 <0x0 0x10 0x7>;
138
139 interrupt-names = "chg-done",
140 "chg-failed",
141 "fast-chg-on",
142 "trkl-chg-on",
143 "state-change",
144 "chgwdog",
145 "vbat-det-hi",
146 "vbat-det-lo";
147 };
148
149 qcom,chg-buck@1100 {
David Keitela7a71732012-09-24 12:30:44 -0700150 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700151 reg = <0x1100 0x100>;
152 interrupts = <0x0 0x11 0x0>,
153 <0x0 0x11 0x1>,
154 <0x0 0x11 0x2>,
155 <0x0 0x11 0x3>,
156 <0x0 0x11 0x4>,
157 <0x0 0x11 0x5>,
158 <0x0 0x11 0x6>;
159
160 interrupt-names = "vdd-loop",
161 "ibat-loop",
162 "ichg-loop",
163 "vchg-loop",
164 "overtemp",
165 "vref-ov",
166 "vbat-ov";
167 };
168
169 qcom,chg-bat-if@1200 {
David Keitela7a71732012-09-24 12:30:44 -0700170 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700171 reg = <0x1200 0x100>;
172 interrupts = <0x0 0x12 0x0>,
173 <0x0 0x12 0x1>,
174 <0x0 0x12 0x2>,
175 <0x0 0x12 0x3>,
176 <0x0 0x12 0x4>;
177
178 interrupt-names = "psi",
179 "vcp-on",
180 "bat-fet-on",
181 "bat-temp-ok",
182 "batt-pres";
183 };
184
185 qcom,chg-usb-chgpth@1300 {
David Keitela7a71732012-09-24 12:30:44 -0700186 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700187 reg = <0x1300 0x100>;
188 interrupts = <0 0x13 0x0>,
189 <0 0x13 0x1>,
190 <0x0 0x13 0x2>;
191
David Keitel4429b1f2012-10-18 10:42:50 -0700192 interrupt-names = "coarse-det-usb",
193 "usbin-valid",
David Keitel6adff102012-07-27 14:24:00 -0700194 "chg-gone";
195 };
196
197 qcom,chg-dc-chgpth@1400 {
David Keitela7a71732012-09-24 12:30:44 -0700198 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700199 reg = <0x1400 0x100>;
200 interrupts = <0x0 0x14 0x0>,
201 <0x0 0x14 0x1>;
202
203 interrupt-names = "dcin-valid",
204 "coarse-det-dc";
205 };
206
207 qcom,chg-boost@1500 {
David Keitela7a71732012-09-24 12:30:44 -0700208 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700209 reg = <0x1500 0x100>;
210 interrupts = <0x0 0x15 0x0>,
211 <0x0 0x15 0x1>;
212
213 interrupt-names = "limit-error",
214 "boost-pwr-ok";
215 };
216
217 qcom,chg-misc@1600 {
David Keitela7a71732012-09-24 12:30:44 -0700218 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700219 reg = <0x1600 0x100>;
220 };
221 };
222
Michael Bohand5ea7242012-10-01 18:01:51 -0700223 pm8941_gpios: gpios {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700224 spmi-dev-container;
225 compatible = "qcom,qpnp-pin";
226 gpio-controller;
227 #gpio-cells = <2>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700228 #address-cells = <1>;
229 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700230 label = "pm8941-gpio";
Michael Bohan8b909b42012-04-18 17:39:12 -0700231
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700232 gpio@c000 {
233 reg = <0xc000 0x100>;
234 qcom,pin-num = <1>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700235 };
Michael Bohan5085a052012-06-11 13:27:34 -0700236
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700237 gpio@c100 {
238 reg = <0xc100 0x100>;
239 qcom,pin-num = <2>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700240 };
Michael Bohan5085a052012-06-11 13:27:34 -0700241
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700242 gpio@c200 {
243 reg = <0xc200 0x100>;
244 qcom,pin-num = <3>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700245 };
Michael Bohan5085a052012-06-11 13:27:34 -0700246
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700247 gpio@c300 {
248 reg = <0xc300 0x100>;
249 qcom,pin-num = <4>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700250 };
Michael Bohan5085a052012-06-11 13:27:34 -0700251
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700252 gpio@c400 {
253 reg = <0xc400 0x100>;
254 qcom,pin-num = <5>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700255 };
Michael Bohan5085a052012-06-11 13:27:34 -0700256
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700257 gpio@c500 {
258 reg = <0xc500 0x100>;
259 qcom,pin-num = <6>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700260 };
Michael Bohan5085a052012-06-11 13:27:34 -0700261
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700262 gpio@c600 {
263 reg = <0xc600 0x100>;
264 qcom,pin-num = <7>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700265 };
Michael Bohan5085a052012-06-11 13:27:34 -0700266
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700267 gpio@c700 {
268 reg = <0xc700 0x100>;
269 qcom,pin-num = <8>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700270 };
Michael Bohan5085a052012-06-11 13:27:34 -0700271
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700272 gpio@c800 {
273 reg = <0xc800 0x100>;
274 qcom,pin-num = <9>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700275 };
Michael Bohan5085a052012-06-11 13:27:34 -0700276
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700277 gpio@c900 {
278 reg = <0xc900 0x100>;
279 qcom,pin-num = <10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700280 };
281
282 gpio@ca00 {
283 reg = <0xca00 0x100>;
284 qcom,pin-num = <11>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700285 };
286
287 gpio@cb00 {
288 reg = <0xcb00 0x100>;
289 qcom,pin-num = <12>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700290 };
291
292 gpio@cc00 {
293 reg = <0xcc00 0x100>;
294 qcom,pin-num = <13>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700295 };
296
297 gpio@cd00 {
298 reg = <0xcd00 0x100>;
299 qcom,pin-num = <14>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700300 };
301
302 gpio@ce00 {
303 reg = <0xce00 0x100>;
304 qcom,pin-num = <15>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700305 };
306
307 gpio@cf00 {
308 reg = <0xcf00 0x100>;
309 qcom,pin-num = <16>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700310 };
311
312 gpio@d000 {
313 reg = <0xd000 0x100>;
314 qcom,pin-num = <17>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700315 };
316
317 gpio@d100 {
318 reg = <0xd100 0x100>;
319 qcom,pin-num = <18>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700320 };
321
322 gpio@d200 {
323 reg = <0xd200 0x100>;
324 qcom,pin-num = <19>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700325 };
326
327 gpio@d300 {
328 reg = <0xd300 0x100>;
329 qcom,pin-num = <20>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700330 };
331
332 gpio@d400 {
333 reg = <0xd400 0x100>;
334 qcom,pin-num = <21>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700335 };
336
337 gpio@d500 {
338 reg = <0xd500 0x100>;
339 qcom,pin-num = <22>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700340 };
341
342 gpio@d600 {
343 reg = <0xd600 0x100>;
344 qcom,pin-num = <23>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700345 };
346
347 gpio@d700 {
348 reg = <0xd700 0x100>;
349 qcom,pin-num = <24>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700350 };
351
352 gpio@d800 {
353 reg = <0xd800 0x100>;
354 qcom,pin-num = <25>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700355 };
356
357 gpio@d900 {
358 reg = <0xd900 0x100>;
359 qcom,pin-num = <26>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700360 };
361
362 gpio@da00 {
363 reg = <0xda00 0x100>;
364 qcom,pin-num = <27>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700365 };
366
367 gpio@db00 {
368 reg = <0xdb00 0x100>;
369 qcom,pin-num = <28>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700370 };
371
372 gpio@dc00 {
373 reg = <0xdc00 0x100>;
374 qcom,pin-num = <29>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700375 };
376
377 gpio@dd00 {
378 reg = <0xdd00 0x100>;
379 qcom,pin-num = <30>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700380 };
381
382 gpio@de00 {
383 reg = <0xde00 0x100>;
384 qcom,pin-num = <31>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700385 };
386
387 gpio@df00 {
388 reg = <0xdf00 0x100>;
389 qcom,pin-num = <32>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700390 };
391
392 gpio@e000 {
393 reg = <0xe000 0x100>;
394 qcom,pin-num = <33>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700395 };
396
397 gpio@e100 {
398 reg = <0xe100 0x100>;
399 qcom,pin-num = <34>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700400 };
401
402 gpio@e200 {
403 reg = <0xe200 0x100>;
404 qcom,pin-num = <35>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700405 };
406
407 gpio@e300 {
408 reg = <0xe300 0x100>;
409 qcom,pin-num = <36>;
Michael Bohan5085a052012-06-11 13:27:34 -0700410 };
Michael Bohan8b909b42012-04-18 17:39:12 -0700411 };
412
Michael Bohand5ea7242012-10-01 18:01:51 -0700413 pm8941_mpps: mpps {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700414 spmi-dev-container;
415 compatible = "qcom,qpnp-pin";
416 gpio-controller;
417 #gpio-cells = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700418 #address-cells = <1>;
419 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700420 label = "pm8941-mpp";
David Collins153d45a2012-03-26 11:57:50 -0700421
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700422 mpp@a000 {
David Collins32f825f2012-06-06 09:49:24 -0700423 reg = <0xa000 0x100>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700424 qcom,pin-num = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700425 };
426
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700427 mpp@a100 {
428 reg = <0xa100 0x100>;
429 qcom,pin-num = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700430 };
431
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700432 mpp@a200 {
433 reg = <0xa200 0x100>;
434 qcom,pin-num = <3>;
David Collins153d45a2012-03-26 11:57:50 -0700435 };
436
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700437 mpp@a300 {
438 reg = <0xa300 0x100>;
439 qcom,pin-num = <4>;
David Collins153d45a2012-03-26 11:57:50 -0700440 };
441
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700442 mpp@a400 {
443 reg = <0xa400 0x100>;
444 qcom,pin-num = <5>;
David Collins153d45a2012-03-26 11:57:50 -0700445 };
446
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700447 mpp@a500 {
448 reg = <0xa500 0x100>;
449 qcom,pin-num = <6>;
David Collins153d45a2012-03-26 11:57:50 -0700450 };
451
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700452 mpp@a600 {
453 reg = <0xa600 0x100>;
454 qcom,pin-num = <7>;
David Collins153d45a2012-03-26 11:57:50 -0700455 };
456
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700457 mpp@a700 {
458 reg = <0xa700 0x100>;
459 qcom,pin-num = <8>;
David Collins153d45a2012-03-26 11:57:50 -0700460 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700461 };
Ashay Jaiswal93ad9702012-07-17 15:12:33 +0530462
463 qcom,pm8941_rtc {
464 spmi-dev-container;
465 compatible = "qcom,qpnp-rtc";
466 #address-cells = <1>;
467 #size-cells = <1>;
468 qcom,qpnp-rtc-write = <0>;
469 qcom,qpnp-rtc-alarm-pwrup = <0>;
470
471 qcom,pm8941_rtc_rw@6000 {
472 reg = <0x6000 0x100>;
473 };
474 qcom,pm8941_rtc_alarm@6100 {
475 reg = <0x6100 0x100>;
476 interrupts = <0x0 0x61 0x1>;
477 };
478 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700479
480 vadc@3100 {
481 compatible = "qcom,qpnp-vadc";
482 reg = <0x3100 0x100>;
483 interrupts = <0x0 0x31 0x0>;
484 qcom,adc-bit-resolution = <15>;
485 qcom,adc-vdd-reference = <1800>;
486
487 chan@0 {
488 label = "usb_in";
489 qcom,channel-num = <0>;
490 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700491 qcom,pre-div-channel-scaling = <4>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700492 qcom,calibration-type = "absolute";
493 qcom,scale-function = <0>;
494 qcom,hw-settle-time = <0>;
495 qcom,fast-avg-setup = <0>;
496 };
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700497
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700498 chan@1 {
499 label = "dc_in";
500 qcom,channel-num = <1>;
501 qcom,decimation = <0>;
502 qcom,pre-div-channel-scaling = <4>;
503 qcom,calibration-type = "absolute";
504 qcom,scale-function = <0>;
505 qcom,hw-settle-time = <0>;
506 qcom,fast-avg-setup = <0>;
507 };
508
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700509 chan@2 {
510 label = "vchg_sns";
511 qcom,channel-num = <2>;
512 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700513 qcom,pre-div-channel-scaling = <3>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700514 qcom,calibration-type = "absolute";
515 qcom,scale-function = <0>;
516 qcom,hw-settle-time = <0>;
517 qcom,fast-avg-setup = <0>;
518 };
519
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700520 chan@3 {
521 label = "spare1";
522 qcom,channel-num = <3>;
523 qcom,decimation = <0>;
524 qcom,pre-div-channel-scaling = <6>;
525 qcom,calibration-type = "absolute";
526 qcom,scale-function = <0>;
527 qcom,hw-settle-time = <0>;
528 qcom,fast-avg-setup = <0>;
529 };
530
531 chan@4 {
532 label = "spare2";
533 qcom,channel-num = <4>;
534 qcom,decimation = <0>;
535 qcom,pre-div-channel-scaling = <6>;
536 qcom,calibration-type = "absolute";
537 qcom,scale-function = <0>;
538 qcom,hw-settle-time = <0>;
539 qcom,fast-avg-setup = <0>;
540 };
541
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700542 chan@5 {
543 label = "vcoin";
544 qcom,channel-num = <5>;
545 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700546 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700547 qcom,calibration-type = "absolute";
548 qcom,scale-function = <0>;
549 qcom,hw-settle-time = <0>;
550 qcom,fast-avg-setup = <0>;
551 };
552
553 chan@6 {
554 label = "vbat_sns";
555 qcom,channel-num = <6>;
556 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700557 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700558 qcom,calibration-type = "absolute";
559 qcom,scale-function = <0>;
560 qcom,hw-settle-time = <0>;
561 qcom,fast-avg-setup = <0>;
562 };
563
564 chan@7 {
565 label = "vph_pwr";
566 qcom,channel-num = <7>;
567 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700568 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700569 qcom,calibration-type = "absolute";
570 qcom,scale-function = <0>;
571 qcom,hw-settle-time = <0>;
572 qcom,fast-avg-setup = <0>;
573 };
574
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700575 chan@8 {
576 label = "die_temp";
577 qcom,channel-num = <8>;
578 qcom,decimation = <0>;
579 qcom,pre-div-channel-scaling = <0>;
580 qcom,calibration-type = "absolute";
581 qcom,scale-function = <3>;
582 qcom,hw-settle-time = <0>;
583 qcom,fast-avg-setup = <0>;
584 };
585
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700586 chan@9 {
587 label = "ref_625mv";
588 qcom,channel-num = <9>;
589 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700590 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700591 qcom,calibration-type = "absolute";
592 qcom,scale-function = <0>;
593 qcom,hw-settle-time = <0>;
594 qcom,fast-avg-setup = <0>;
595 };
596
597 chan@10 {
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700598 label = "ref_1250v";
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700599 qcom,channel-num = <10>;
600 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700601 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700602 qcom,calibration-type = "absolute";
603 qcom,scale-function = <0>;
604 qcom,hw-settle-time = <0>;
605 qcom,fast-avg-setup = <0>;
606 };
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700607
608 chan@48 {
609 label = "batt_therm";
610 qcom,channel-num = <48>;
611 qcom,decimation = <0>;
612 qcom,pre-div-channel-scaling = <0>;
613 qcom,calibration-type = "ratiometric";
614 qcom,scale-function = <1>;
615 qcom,hw-settle-time = <0>;
616 qcom,fast-avg-setup = <0>;
617 };
618
619 chan@49 {
620 label = "batt_id";
621 qcom,channel-num = <49>;
622 qcom,decimation = <0>;
623 qcom,pre-div-channel-scaling = <0>;
624 qcom,calibration-type = "ratiometric";
625 qcom,scale-function = <0>;
626 qcom,hw-settle-time = <0>;
627 qcom,fast-avg-setup = <0>;
628 };
629
Siddartha Mohanadoss3601d232012-09-14 16:01:39 -0700630 chan@178 {
631 label = "xo_therm_pu2";
632 qcom,channel-num = <178>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700633 qcom,decimation = <0>;
634 qcom,pre-div-channel-scaling = <0>;
635 qcom,calibration-type = "ratiometric";
636 qcom,scale-function = <4>;
637 qcom,hw-settle-time = <0>;
638 qcom,fast-avg-setup = <0>;
639 };
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700640
641 chan@179 {
642 label = "msm_therm";
643 qcom,channel-num = <179>;
644 qcom,decimation = <0>;
645 qcom,pre-div-channel-scaling = <0>;
646 qcom,calibration-type = "ratiometric";
647 qcom,scale-function = <2>;
648 qcom,hw-settle-time = <0>;
649 qcom,fast-avg-setup = <0>;
650 };
651
652 chan@180 {
653 label = "emmc_therm";
654 qcom,channel-num = <180>;
655 qcom,decimation = <0>;
656 qcom,pre-div-channel-scaling = <0>;
657 qcom,calibration-type = "ratiometric";
658 qcom,scale-function = <2>;
659 qcom,hw-settle-time = <0>;
660 qcom,fast-avg-setup = <0>;
661 };
662
663 chan@181 {
664 label = "pa_therm1";
665 qcom,channel-num = <181>;
666 qcom,decimation = <0>;
667 qcom,pre-div-channel-scaling = <0>;
668 qcom,calibration-type = "ratiometric";
669 qcom,scale-function = <2>;
670 qcom,hw-settle-time = <0>;
671 qcom,fast-avg-setup = <0>;
672 };
673
674 chan@183 {
675 label = "pa_therm2";
676 qcom,channel-num = <183>;
677 qcom,decimation = <0>;
678 qcom,pre-div-channel-scaling = <0>;
679 qcom,calibration-type = "ratiometric";
680 qcom,scale-function = <2>;
681 qcom,hw-settle-time = <0>;
682 qcom,fast-avg-setup = <0>;
683 };
684
685 chan@184 {
686 label = "quiet_therm";
687 qcom,channel-num = <184>;
688 qcom,decimation = <0>;
689 qcom,pre-div-channel-scaling = <0>;
690 qcom,calibration-type = "ratiometric";
691 qcom,scale-function = <2>;
692 qcom,hw-settle-time = <0>;
693 qcom,fast-avg-setup = <0>;
694 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700695 };
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700696
697 iadc@3600 {
698 compatible = "qcom,qpnp-iadc";
699 reg = <0x3600 0x100>;
700 interrupts = <0x0 0x36 0x0>;
701 qcom,adc-bit-resolution = <16>;
702 qcom,adc-vdd-reference = <1800>;
703 qcom,rsense = <1500>;
704
705 chan@0 {
706 label = "internal_rsense";
707 qcom,channel-num = <0>;
708 qcom,decimation = <0>;
709 qcom,pre-div-channel-scaling = <1>;
710 qcom,calibration-type = "absolute";
711 qcom,scale-function = <0>;
712 qcom,hw-settle-time = <0>;
713 qcom,fast-avg-setup = <0>;
714 };
715 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700716 };
David Collins153d45a2012-03-26 11:57:50 -0700717
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700718 qcom,pm8941@1 {
719 spmi-slave-container;
720 reg = <0x1>;
721 #address-cells = <1>;
722 #size-cells = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700723
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700724 regulator@1400 {
725 regulator-name = "8941_s1";
726 spmi-dev-container;
727 #address-cells = <1>;
728 #size-cells = <1>;
729 compatible = "qcom,qpnp-regulator";
730 reg = <0x1400 0x300>;
731 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700732
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700733 qcom,ctl@1400 {
734 reg = <0x1400 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700735 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700736 qcom,ps@1500 {
737 reg = <0x1500 0x100>;
738 };
739 qcom,freq@1600 {
740 reg = <0x1600 0x100>;
741 };
742 };
David Collins153d45a2012-03-26 11:57:50 -0700743
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700744 regulator@1700 {
745 regulator-name = "8941_s2";
746 spmi-dev-container;
747 #address-cells = <1>;
748 #size-cells = <1>;
749 compatible = "qcom,qpnp-regulator";
750 reg = <0x1700 0x300>;
751 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700752
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700753 qcom,ctl@1700 {
754 reg = <0x1700 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700755 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700756 qcom,ps@1800 {
757 reg = <0x1800 0x100>;
758 };
759 qcom,freq@1900 {
760 reg = <0x1900 0x100>;
761 };
762 };
David Collins153d45a2012-03-26 11:57:50 -0700763
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700764 regulator@1a00 {
765 regulator-name = "8941_s3";
766 spmi-dev-container;
767 #address-cells = <1>;
768 #size-cells = <1>;
769 compatible = "qcom,qpnp-regulator";
Michael Bohand3253c72012-08-09 11:34:49 -0700770 reg = <0x1a00 0x300>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700771 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700772
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700773 qcom,ctl@1a00 {
774 reg = <0x1a00 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700775 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700776 qcom,ps@1b00 {
777 reg = <0x1b00 0x100>;
778 };
779 qcom,freq@1c00 {
780 reg = <0x1c00 0x100>;
781 };
782 };
David Collins153d45a2012-03-26 11:57:50 -0700783
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700784 regulator@a000 {
785 regulator-name = "8941_boost";
786 reg = <0xa000 0x100>;
787 compatible = "qcom,qpnp-regulator";
788 status = "disabled";
789 };
David Collins153d45a2012-03-26 11:57:50 -0700790
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700791 regulator@4000 {
792 regulator-name = "8941_l1";
793 reg = <0x4000 0x100>;
794 compatible = "qcom,qpnp-regulator";
795 status = "disabled";
796 };
David Collins153d45a2012-03-26 11:57:50 -0700797
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700798 regulator@4100 {
799 regulator-name = "8941_l2";
800 reg = <0x4100 0x100>;
801 compatible = "qcom,qpnp-regulator";
802 status = "disabled";
803 };
David Collins153d45a2012-03-26 11:57:50 -0700804
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700805 regulator@4200 {
806 regulator-name = "8941_l3";
807 reg = <0x4200 0x100>;
808 compatible = "qcom,qpnp-regulator";
809 status = "disabled";
810 };
David Collins153d45a2012-03-26 11:57:50 -0700811
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700812 regulator@4300 {
813 regulator-name = "8941_l4";
814 reg = <0x4300 0x100>;
815 compatible = "qcom,qpnp-regulator";
816 status = "disabled";
817 };
David Collins153d45a2012-03-26 11:57:50 -0700818
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700819 regulator@4400 {
820 regulator-name = "8941_l5";
821 reg = <0x4400 0x100>;
822 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -0700823 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700824 status = "disabled";
825 };
David Collins153d45a2012-03-26 11:57:50 -0700826
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700827 regulator@4500 {
828 regulator-name = "8941_l6";
829 reg = <0x4500 0x100>;
830 compatible = "qcom,qpnp-regulator";
831 status = "disabled";
832 };
David Collins153d45a2012-03-26 11:57:50 -0700833
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700834 regulator@4600 {
835 regulator-name = "8941_l7";
836 reg = <0x4600 0x100>;
837 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -0700838 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700839 status = "disabled";
840 };
David Collins153d45a2012-03-26 11:57:50 -0700841
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700842 regulator@4700 {
843 regulator-name = "8941_l8";
844 reg = <0x4700 0x100>;
845 compatible = "qcom,qpnp-regulator";
846 status = "disabled";
847 };
David Collins153d45a2012-03-26 11:57:50 -0700848
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700849 regulator@4800 {
850 regulator-name = "8941_l9";
851 reg = <0x4800 0x100>;
852 compatible = "qcom,qpnp-regulator";
853 status = "disabled";
854 };
David Collins153d45a2012-03-26 11:57:50 -0700855
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700856 regulator@4900 {
857 regulator-name = "8941_l10";
858 reg = <0x4900 0x100>;
859 compatible = "qcom,qpnp-regulator";
860 status = "disabled";
861 };
David Collins153d45a2012-03-26 11:57:50 -0700862
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700863 regulator@4a00 {
864 regulator-name = "8941_l11";
865 reg = <0x4a00 0x100>;
866 compatible = "qcom,qpnp-regulator";
867 status = "disabled";
868 };
David Collins153d45a2012-03-26 11:57:50 -0700869
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700870 regulator@4b00 {
871 regulator-name = "8941_l12";
872 reg = <0x4b00 0x100>;
873 compatible = "qcom,qpnp-regulator";
874 status = "disabled";
875 };
David Collins153d45a2012-03-26 11:57:50 -0700876
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700877 regulator@4c00 {
878 regulator-name = "8941_l13";
879 reg = <0x4c00 0x100>;
880 compatible = "qcom,qpnp-regulator";
881 status = "disabled";
882 };
David Collins153d45a2012-03-26 11:57:50 -0700883
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700884 regulator@4d00 {
885 regulator-name = "8941_l14";
886 reg = <0x4d00 0x100>;
887 compatible = "qcom,qpnp-regulator";
888 status = "disabled";
889 };
890
891 regulator@4e00 {
892 regulator-name = "8941_l15";
893 reg = <0x4e00 0x100>;
894 compatible = "qcom,qpnp-regulator";
895 status = "disabled";
896 };
897
898 regulator@4f00 {
899 regulator-name = "8941_l16";
900 reg = <0x4f00 0x100>;
901 compatible = "qcom,qpnp-regulator";
902 status = "disabled";
903 };
904
905 regulator@5000 {
906 regulator-name = "8941_l17";
907 reg = <0x5000 0x100>;
908 compatible = "qcom,qpnp-regulator";
909 status = "disabled";
910 };
911
912 regulator@5100 {
913 regulator-name = "8941_l18";
914 reg = <0x5100 0x100>;
915 compatible = "qcom,qpnp-regulator";
916 status = "disabled";
917 };
918
919 regulator@5200 {
920 regulator-name = "8941_l19";
921 reg = <0x5200 0x100>;
922 compatible = "qcom,qpnp-regulator";
923 status = "disabled";
924 };
925
926 regulator@5300 {
927 regulator-name = "8941_l20";
928 reg = <0x5300 0x100>;
929 compatible = "qcom,qpnp-regulator";
930 status = "disabled";
931 };
932
933 regulator@5400 {
934 regulator-name = "8941_l21";
935 reg = <0x5400 0x100>;
936 compatible = "qcom,qpnp-regulator";
937 status = "disabled";
938 };
939
940 regulator@5500 {
941 regulator-name = "8941_l22";
942 reg = <0x5500 0x100>;
943 compatible = "qcom,qpnp-regulator";
944 status = "disabled";
945 };
946
947 regulator@5600 {
948 regulator-name = "8941_l23";
949 reg = <0x5600 0x100>;
950 compatible = "qcom,qpnp-regulator";
951 status = "disabled";
952 };
953
954 regulator@5700 {
955 regulator-name = "8941_l24";
956 reg = <0x5700 0x100>;
957 compatible = "qcom,qpnp-regulator";
958 status = "disabled";
959 };
960
961 regulator@8000 {
962 regulator-name = "8941_lvs1";
963 reg = <0x8000 0x100>;
964 compatible = "qcom,qpnp-regulator";
965 status = "disabled";
966 };
967
968 regulator@8100 {
969 regulator-name = "8941_lvs2";
970 reg = <0x8100 0x100>;
971 compatible = "qcom,qpnp-regulator";
972 status = "disabled";
973 };
974
975 regulator@8200 {
976 regulator-name = "8941_lvs3";
977 reg = <0x8200 0x100>;
978 compatible = "qcom,qpnp-regulator";
979 status = "disabled";
980 };
981
982 regulator@8300 {
983 regulator-name = "8941_mvs1";
984 reg = <0x8300 0x100>;
985 compatible = "qcom,qpnp-regulator";
986 status = "disabled";
987 };
988
989 regulator@8400 {
990 regulator-name = "8941_mvs2";
991 reg = <0x8400 0x100>;
992 compatible = "qcom,qpnp-regulator";
993 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700994 };
Amy Maloche02a5eae2012-08-10 21:33:59 -0700995
Amy Maloche4f0b0462012-09-17 12:09:49 -0700996 qcom,leds@d000 {
997 compatible = "qcom,leds-qpnp";
998 reg = <0xd000 0x100>;
999 label = "rgb";
1000 };
1001
1002 qcom,leds@d100 {
1003 compatible = "qcom,leds-qpnp";
1004 reg = <0xd100 0x100>;
1005 label = "rgb";
1006 };
1007
1008 qcom,leds@d200 {
1009 compatible = "qcom,leds-qpnp";
1010 reg = <0xd200 0x100>;
1011 label = "rgb";
1012 };
1013
Amy Maloche2b8b79b2012-10-22 10:36:04 -07001014 qcom,leds@d300 {
1015 compatible = "qcom,leds-qpnp";
1016 reg = <0xd300 0x100>;
1017 label = "flash";
1018 };
1019
1020 qcom,leds@d400 {
1021 compatible = "qcom,leds-qpnp";
1022 reg = <0xd400 0x100>;
1023 label = "flash";
1024 };
1025
1026 qcom,leds@d500 {
1027 compatible = "qcom,leds-qpnp";
1028 reg = <0xd500 0x100>;
1029 label = "flash";
1030 };
1031
1032 qcom,leds@d600 {
1033 compatible = "qcom,leds-qpnp";
1034 reg = <0xd600 0x100>;
1035 label = "flash";
1036 };
1037
1038 qcom,leds@d700 {
1039 compatible = "qcom,leds-qpnp";
1040 reg = <0xd700 0x100>;
1041 label = "flash";
1042 };
1043
Amy Maloche02a5eae2012-08-10 21:33:59 -07001044 qcom,leds@d800 {
1045 compatible = "qcom,leds-qpnp";
1046 reg = <0xd800 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001047 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001048 };
1049
1050 qcom,leds@d900 {
1051 compatible = "qcom,leds-qpnp";
1052 reg = <0xd900 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001053 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001054 };
1055
1056 qcom,leds@da00 {
1057 compatible = "qcom,leds-qpnp";
1058 reg = <0xda00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001059 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001060 };
1061
1062 qcom,leds@db00 {
1063 compatible = "qcom,leds-qpnp";
1064 reg = <0xdb00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001065 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001066 };
1067
1068 qcom,leds@dc00 {
1069 compatible = "qcom,leds-qpnp";
1070 reg = <0xdc00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001071 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001072 };
1073
1074 qcom,leds@dd00 {
1075 compatible = "qcom,leds-qpnp";
1076 reg = <0xdd00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001077 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001078 };
1079
1080 qcom,leds@de00 {
1081 compatible = "qcom,leds-qpnp";
1082 reg = <0xde00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001083 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001084 };
1085
1086 qcom,leds@df00 {
1087 compatible = "qcom,leds-qpnp";
1088 reg = <0xdf00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001089 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001090 };
1091
1092 qcom,leds@e000 {
1093 compatible = "qcom,leds-qpnp";
1094 reg = <0xe000 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001095 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001096 };
1097
1098 qcom,leds@e100 {
1099 compatible = "qcom,leds-qpnp";
1100 reg = <0xe100 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001101 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001102 };
1103
Jay Chokshi6254a162012-05-07 12:38:14 -07001104 pwm@b100 {
1105 compatible = "qcom,qpnp-pwm";
1106 reg = <0xb100 0x100>,
1107 <0xb042 0x7e>;
1108 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1109 qcom,channel-id = <0>;
1110 };
1111
1112 pwm@b200 {
1113 compatible = "qcom,qpnp-pwm";
1114 reg = <0xb200 0x100>,
1115 <0xb042 0x7e>;
1116 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1117 qcom,channel-id = <1>;
1118 };
1119
1120 pwm@b300 {
1121 compatible = "qcom,qpnp-pwm";
1122 reg = <0xb300 0x100>,
1123 <0xb042 0x7e>;
1124 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1125 qcom,channel-id = <2>;
1126 };
1127
1128 pwm@b400 {
1129 compatible = "qcom,qpnp-pwm";
1130 reg = <0xb400 0x100>,
1131 <0xb042 0x7e>;
1132 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1133 qcom,channel-id = <3>;
1134 };
1135
1136 pwm@b500 {
1137 compatible = "qcom,qpnp-pwm";
1138 reg = <0xb500 0x100>,
1139 <0xb042 0x7e>;
1140 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1141 qcom,channel-id = <4>;
1142 };
1143
1144 pwm@b600 {
1145 compatible = "qcom,qpnp-pwm";
1146 reg = <0xb600 0x100>,
1147 <0xb042 0x7e>;
1148 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1149 qcom,channel-id = <5>;
1150 };
1151
1152 pwm@b700 {
1153 compatible = "qcom,qpnp-pwm";
1154 reg = <0xb700 0x100>,
1155 <0xb042 0x7e>;
1156 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1157 qcom,channel-id = <6>;
1158 };
1159
1160 pwm@b800 {
1161 compatible = "qcom,qpnp-pwm";
1162 reg = <0xb800 0x100>,
1163 <0xb042 0x7e>;
1164 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1165 qcom,channel-id = <7>;
1166 };
David Collins153d45a2012-03-26 11:57:50 -07001167 };
1168};