blob: 320c3e4a49ecdac7b64a7b6669c0b0536dfbf15a [file] [log] [blame]
Xiaozhe Shi7870f482013-01-10 15:14:50 -08001/* Copyright (c) 2012-2013, 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
Xiaozhe Shi92699082013-03-06 15:22:05 -080025 qcom,revid@100 {
26 compatible = "qcom,qpnp-revid";
27 reg = <0x100 0x100>;
28 };
29
David Collinsfaafdf52012-10-10 17:10:22 -070030 qcom,temp-alarm@2400 {
31 compatible = "qcom,qpnp-temp-alarm";
32 reg = <0x2400 0x100>;
33 interrupts = <0x0 0x24 0x0>;
34 label = "pm8941_tz";
35 qcom,channel-num = <8>;
36 qcom,threshold-set = <0>;
37 };
38
Anirudh Ghayal19cf4982012-07-16 11:10:17 +053039 qcom,power-on@800 {
40 compatible = "qcom,qpnp-power-on";
41 reg = <0x800 0x100>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053042 interrupts = <0x0 0x8 0x0>,
43 <0x0 0x8 0x1>,
44 <0x0 0x8 0x4>;
45 interrupt-names = "kpdpwr", "resin", "resin-bark";
46 qcom,pon-dbc-delay = <15625>;
Michael Bohane7204222012-09-07 10:21:18 -070047 qcom,system-reset;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053048
49 qcom,pon_1 {
50 qcom,pon-type = <0>;
51 qcom,pull-up = <1>;
52 linux,code = <116>;
53 };
54
55 qcom,pon_2 {
56 qcom,pon-type = <1>;
Anirudh Ghayal579709662012-08-13 12:57:05 +053057 qcom,support-reset = <1>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053058 qcom,pull-up = <1>;
Anirudh Ghayal579709662012-08-13 12:57:05 +053059 qcom,s1-timer = <0>;
60 qcom,s2-timer = <2000>;
61 qcom,s2-type = <1>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053062 linux,code = <114>;
63 };
Anirudh Ghayal19cf4982012-07-16 11:10:17 +053064 };
65
David Collins3f378292013-01-23 14:23:18 -080066 bif_ctrl: qcom,bsi@1b00 {
67 compatible = "qcom,qpnp-bsi";
68 reg = <0x1b00 0x100>,
69 <0x1208 0x1>;
70 reg-names = "bsi-base", "batt-id-status";
71 label = "pm8941-bsi";
72 interrupts = <0x0 0x1b 0x0>,
73 <0x0 0x1b 0x1>,
74 <0x0 0x1b 0x2>,
75 <0x0 0x12 0x0>;
76 interrupt-names = "err",
77 "rx",
78 "tx",
79 "batt-present";
80 qcom,channel-num = <0x31>;
81 qcom,pullup-ohms = <100000>;
82 qcom,vref-microvolts = <1800000>;
83 qcom,min-clock-period = <1000>;
84 qcom,max-clock-period = <160000>;
85 qcom,sample-rate = <4>;
86 };
87
David Collinsd5081c32013-03-11 13:21:00 -070088 pm8941_coincell: qcom,coincell@2800 {
89 compatible = "qcom,qpnp-coincell";
90 reg = <0x2800 0x100>;
91 };
92
Xiaozhe Shic40b3972012-11-30 14:11:16 -080093 pm8941_bms: qcom,bms {
94 spmi-dev-container;
95 compatible = "qcom,qpnp-bms";
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -070096 #address-cells = <1>;
97 #size-cells = <1>;
Xiaozhe Shi03a44bf2012-11-12 15:59:27 -080098 status = "disabled";
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -070099
Xiaozhe Shi9bd24622013-01-23 15:54:54 -0800100 qcom,r-sense-uohm = <10000>;
101 qcom,v-cutoff-uv = <3400000>;
102 qcom,max-voltage-uv = <4200000>;
103 qcom,r-conn-mohm = <18>;
104 qcom,shutdown-soc-valid-limit = <20>;
105 qcom,adjust-soc-low-threshold = <25>;
106 qcom,adjust-soc-high-threshold = <45>;
107 qcom,ocv-voltage-high-threshold-uv = <3750000>;
108 qcom,ocv-voltage-low-threshold-uv = <3650000>;
109 qcom,low-soc-calculate-soc-threshold = <15>;
110 qcom,low-soc-calculate-soc-ms = <5000>;
111 qcom,calculate-soc-ms = <20000>;
112 qcom,chg-term-ua = <100000>;
113 qcom,batt-type = <0>;
Xiaozhe Shi4be85782013-02-22 17:33:40 -0800114 qcom,low-voltage-threshold = <3420000>;
Xiaozhe Shic40b3972012-11-30 14:11:16 -0800115
116 qcom,bms-iadc@3800 {
117 reg = <0x3800 0x100>;
118 };
119
120 qcom,bms-bms@4000 {
121 reg = <0x4000 0x100>;
122 interrupts = <0x0 0x40 0x0>,
123 <0x0 0x40 0x1>,
124 <0x0 0x40 0x2>,
125 <0x0 0x40 0x3>,
126 <0x0 0x40 0x4>,
127 <0x0 0x40 0x5>,
128 <0x0 0x40 0x6>,
129 <0x0 0x40 0x7>;
130
131 interrupt-names = "vsense_for_r",
132 "vsense_avg",
133 "sw_cc_thr",
134 "ocv_thr",
135 "charge_begin",
136 "good_ocv",
137 "ocv_for_r",
138 "cc_thr";
139 };
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -0700140 };
141
Michael Bohanee1f8fe2012-08-03 18:32:16 -0700142 clkdiv@5b00 {
143 reg = <0x5b00 0x100>;
144 compatible = "qcom,qpnp-clkdiv";
145 qcom,cxo-freq = <19200000>;
146 };
147
148 clkdiv@5c00 {
149 reg = <0x5c00 0x100>;
150 compatible = "qcom,qpnp-clkdiv";
151 qcom,cxo-freq = <19200000>;
152 };
153
154 clkdiv@5d00 {
155 reg = <0x5d00 0x1000>;
156 compatible = "qcom,qpnp-clkdiv";
157 qcom,cxo-freq = <19200000>;
158 };
159
David Keitela7a71732012-09-24 12:30:44 -0700160 pm8941_chg: qcom,charger {
David Keitel6adff102012-07-27 14:24:00 -0700161 spmi-dev-container;
162 compatible = "qcom,qpnp-charger";
163 #address-cells = <1>;
164 #size-cells = <1>;
David Keitela7a71732012-09-24 12:30:44 -0700165 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700166
167 qcom,chg-vddmax-mv = <4200>;
168 qcom,chg-vddsafe-mv = <4200>;
169 qcom,chg-vinmin-mv = <4200>;
170 qcom,chg-ibatmax-ma = <1500>;
David Keitel5d44fa52012-12-03 16:37:31 -0800171 qcom,chg-ibatsafe-ma = <1500>;
David Keitelc6dd5342013-01-31 14:51:44 -0800172 qcom,chg-thermal-mitigation = <1500 700 600 325>;
David Keitela14ed782013-03-13 09:59:39 -0700173 qcom,chg-cool-bat-degc = <10>;
174 qcom,chg-cool-bat-mv = <4100>;
175 qcom,chg-ibatmax-warm-ma = <350>;
176 qcom,chg-warm-bat-degc = <45>;
177 qcom,chg-warm-bat-mv = <4100>;
178 qcom,chg-ibatmax-cool-ma = <350>;
179 qcom,chg-vbatdet-delta-mv = <350>;
David Keitel6adff102012-07-27 14:24:00 -0700180
181 qcom,chg-chgr@1000 {
David Keitela7a71732012-09-24 12:30:44 -0700182 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700183 reg = <0x1000 0x100>;
184 interrupts = <0x0 0x10 0x0>,
185 <0x0 0x10 0x1>,
186 <0x0 0x10 0x2>,
187 <0x0 0x10 0x3>,
188 <0x0 0x10 0x4>,
189 <0x0 0x10 0x5>,
190 <0x0 0x10 0x6>,
191 <0x0 0x10 0x7>;
192
David Keitel0cba0992012-10-30 06:21:10 -0700193 interrupt-names = "vbat-det-lo",
David Keitel6adff102012-07-27 14:24:00 -0700194 "vbat-det-hi",
David Keitel0cba0992012-10-30 06:21:10 -0700195 "chgwdog",
196 "state-change",
197 "trkl-chg-on",
198 "fast-chg-on",
199 "chg-failed",
200 "chg-done";
David Keitel6adff102012-07-27 14:24:00 -0700201 };
202
203 qcom,chg-buck@1100 {
David Keitela7a71732012-09-24 12:30:44 -0700204 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700205 reg = <0x1100 0x100>;
206 interrupts = <0x0 0x11 0x0>,
207 <0x0 0x11 0x1>,
208 <0x0 0x11 0x2>,
209 <0x0 0x11 0x3>,
210 <0x0 0x11 0x4>,
211 <0x0 0x11 0x5>,
212 <0x0 0x11 0x6>;
213
David Keitel0cba0992012-10-30 06:21:10 -0700214 interrupt-names = "vbat-ov",
215 "vreg-ov",
David Keitel6adff102012-07-27 14:24:00 -0700216 "overtemp",
David Keitel0cba0992012-10-30 06:21:10 -0700217 "vchg-loop",
218 "ichg-loop",
219 "ibat-loop",
220 "vdd-loop";
David Keitel6adff102012-07-27 14:24:00 -0700221 };
222
223 qcom,chg-bat-if@1200 {
David Keitela7a71732012-09-24 12:30:44 -0700224 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700225 reg = <0x1200 0x100>;
226 interrupts = <0x0 0x12 0x0>,
227 <0x0 0x12 0x1>,
228 <0x0 0x12 0x2>,
229 <0x0 0x12 0x3>,
230 <0x0 0x12 0x4>;
231
David Keitel0cba0992012-10-30 06:21:10 -0700232 interrupt-names = "batt-pres",
David Keitel6adff102012-07-27 14:24:00 -0700233 "bat-temp-ok",
David Keitel0cba0992012-10-30 06:21:10 -0700234 "bat-fet-on",
235 "vcp-on",
236 "psi";
237
David Keitel6adff102012-07-27 14:24:00 -0700238 };
239
240 qcom,chg-usb-chgpth@1300 {
David Keitela7a71732012-09-24 12:30:44 -0700241 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700242 reg = <0x1300 0x100>;
243 interrupts = <0 0x13 0x0>,
244 <0 0x13 0x1>,
245 <0x0 0x13 0x2>;
246
David Keitel4429b1f2012-10-18 10:42:50 -0700247 interrupt-names = "coarse-det-usb",
248 "usbin-valid",
David Keitel6adff102012-07-27 14:24:00 -0700249 "chg-gone";
250 };
251
252 qcom,chg-dc-chgpth@1400 {
David Keitela7a71732012-09-24 12:30:44 -0700253 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700254 reg = <0x1400 0x100>;
255 interrupts = <0x0 0x14 0x0>,
256 <0x0 0x14 0x1>;
257
David Keitel0cba0992012-10-30 06:21:10 -0700258 interrupt-names = "coarse-det-dc",
259 "dcin-valid";
David Keitel6adff102012-07-27 14:24:00 -0700260 };
261
262 qcom,chg-boost@1500 {
David Keitela7a71732012-09-24 12:30:44 -0700263 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700264 reg = <0x1500 0x100>;
265 interrupts = <0x0 0x15 0x0>,
266 <0x0 0x15 0x1>;
267
David Keitel0cba0992012-10-30 06:21:10 -0700268 interrupt-names = "boost-pwr-ok",
269 "limit-error";
David Keitel6adff102012-07-27 14:24:00 -0700270 };
271
272 qcom,chg-misc@1600 {
David Keitela7a71732012-09-24 12:30:44 -0700273 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700274 reg = <0x1600 0x100>;
275 };
276 };
277
Michael Bohand5ea7242012-10-01 18:01:51 -0700278 pm8941_gpios: gpios {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700279 spmi-dev-container;
280 compatible = "qcom,qpnp-pin";
281 gpio-controller;
282 #gpio-cells = <2>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700283 #address-cells = <1>;
284 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700285 label = "pm8941-gpio";
Michael Bohan8b909b42012-04-18 17:39:12 -0700286
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700287 gpio@c000 {
288 reg = <0xc000 0x100>;
289 qcom,pin-num = <1>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700290 };
Michael Bohan5085a052012-06-11 13:27:34 -0700291
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700292 gpio@c100 {
293 reg = <0xc100 0x100>;
294 qcom,pin-num = <2>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700295 };
Michael Bohan5085a052012-06-11 13:27:34 -0700296
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700297 gpio@c200 {
298 reg = <0xc200 0x100>;
299 qcom,pin-num = <3>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700300 };
Michael Bohan5085a052012-06-11 13:27:34 -0700301
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700302 gpio@c300 {
303 reg = <0xc300 0x100>;
304 qcom,pin-num = <4>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700305 };
Michael Bohan5085a052012-06-11 13:27:34 -0700306
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700307 gpio@c400 {
308 reg = <0xc400 0x100>;
309 qcom,pin-num = <5>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700310 };
Michael Bohan5085a052012-06-11 13:27:34 -0700311
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700312 gpio@c500 {
313 reg = <0xc500 0x100>;
314 qcom,pin-num = <6>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700315 };
Michael Bohan5085a052012-06-11 13:27:34 -0700316
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700317 gpio@c600 {
318 reg = <0xc600 0x100>;
319 qcom,pin-num = <7>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700320 };
Michael Bohan5085a052012-06-11 13:27:34 -0700321
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700322 gpio@c700 {
323 reg = <0xc700 0x100>;
324 qcom,pin-num = <8>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700325 };
Michael Bohan5085a052012-06-11 13:27:34 -0700326
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700327 gpio@c800 {
328 reg = <0xc800 0x100>;
329 qcom,pin-num = <9>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700330 };
Michael Bohan5085a052012-06-11 13:27:34 -0700331
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700332 gpio@c900 {
333 reg = <0xc900 0x100>;
334 qcom,pin-num = <10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700335 };
336
337 gpio@ca00 {
338 reg = <0xca00 0x100>;
339 qcom,pin-num = <11>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700340 };
341
342 gpio@cb00 {
343 reg = <0xcb00 0x100>;
344 qcom,pin-num = <12>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700345 };
346
347 gpio@cc00 {
348 reg = <0xcc00 0x100>;
349 qcom,pin-num = <13>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700350 };
351
352 gpio@cd00 {
353 reg = <0xcd00 0x100>;
354 qcom,pin-num = <14>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700355 };
356
357 gpio@ce00 {
358 reg = <0xce00 0x100>;
359 qcom,pin-num = <15>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700360 };
361
362 gpio@cf00 {
363 reg = <0xcf00 0x100>;
364 qcom,pin-num = <16>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700365 };
366
367 gpio@d000 {
368 reg = <0xd000 0x100>;
369 qcom,pin-num = <17>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700370 };
371
372 gpio@d100 {
373 reg = <0xd100 0x100>;
374 qcom,pin-num = <18>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700375 };
376
377 gpio@d200 {
378 reg = <0xd200 0x100>;
379 qcom,pin-num = <19>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700380 };
381
382 gpio@d300 {
383 reg = <0xd300 0x100>;
384 qcom,pin-num = <20>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700385 };
386
387 gpio@d400 {
388 reg = <0xd400 0x100>;
389 qcom,pin-num = <21>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700390 };
391
392 gpio@d500 {
393 reg = <0xd500 0x100>;
394 qcom,pin-num = <22>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700395 };
396
397 gpio@d600 {
398 reg = <0xd600 0x100>;
399 qcom,pin-num = <23>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700400 };
401
402 gpio@d700 {
403 reg = <0xd700 0x100>;
404 qcom,pin-num = <24>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700405 };
406
407 gpio@d800 {
408 reg = <0xd800 0x100>;
409 qcom,pin-num = <25>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700410 };
411
412 gpio@d900 {
413 reg = <0xd900 0x100>;
414 qcom,pin-num = <26>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700415 };
416
417 gpio@da00 {
418 reg = <0xda00 0x100>;
419 qcom,pin-num = <27>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700420 };
421
422 gpio@db00 {
423 reg = <0xdb00 0x100>;
424 qcom,pin-num = <28>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700425 };
426
427 gpio@dc00 {
428 reg = <0xdc00 0x100>;
429 qcom,pin-num = <29>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700430 };
431
432 gpio@dd00 {
433 reg = <0xdd00 0x100>;
434 qcom,pin-num = <30>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700435 };
436
437 gpio@de00 {
438 reg = <0xde00 0x100>;
439 qcom,pin-num = <31>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700440 };
441
442 gpio@df00 {
443 reg = <0xdf00 0x100>;
444 qcom,pin-num = <32>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700445 };
446
447 gpio@e000 {
448 reg = <0xe000 0x100>;
449 qcom,pin-num = <33>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700450 };
451
452 gpio@e100 {
453 reg = <0xe100 0x100>;
454 qcom,pin-num = <34>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700455 };
456
457 gpio@e200 {
458 reg = <0xe200 0x100>;
459 qcom,pin-num = <35>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700460 };
461
462 gpio@e300 {
463 reg = <0xe300 0x100>;
464 qcom,pin-num = <36>;
Michael Bohan5085a052012-06-11 13:27:34 -0700465 };
Michael Bohan8b909b42012-04-18 17:39:12 -0700466 };
467
Michael Bohand5ea7242012-10-01 18:01:51 -0700468 pm8941_mpps: mpps {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700469 spmi-dev-container;
470 compatible = "qcom,qpnp-pin";
471 gpio-controller;
472 #gpio-cells = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700473 #address-cells = <1>;
474 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700475 label = "pm8941-mpp";
David Collins153d45a2012-03-26 11:57:50 -0700476
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700477 mpp@a000 {
David Collins32f825f2012-06-06 09:49:24 -0700478 reg = <0xa000 0x100>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700479 qcom,pin-num = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700480 };
481
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700482 mpp@a100 {
483 reg = <0xa100 0x100>;
484 qcom,pin-num = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700485 };
486
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700487 mpp@a200 {
488 reg = <0xa200 0x100>;
489 qcom,pin-num = <3>;
David Collins153d45a2012-03-26 11:57:50 -0700490 };
491
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700492 mpp@a300 {
493 reg = <0xa300 0x100>;
494 qcom,pin-num = <4>;
David Collins153d45a2012-03-26 11:57:50 -0700495 };
496
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700497 mpp@a400 {
498 reg = <0xa400 0x100>;
499 qcom,pin-num = <5>;
David Collins153d45a2012-03-26 11:57:50 -0700500 };
501
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700502 mpp@a500 {
503 reg = <0xa500 0x100>;
504 qcom,pin-num = <6>;
David Collins153d45a2012-03-26 11:57:50 -0700505 };
506
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700507 mpp@a600 {
508 reg = <0xa600 0x100>;
509 qcom,pin-num = <7>;
David Collins153d45a2012-03-26 11:57:50 -0700510 };
511
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700512 mpp@a700 {
513 reg = <0xa700 0x100>;
514 qcom,pin-num = <8>;
David Collins153d45a2012-03-26 11:57:50 -0700515 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700516 };
Ashay Jaiswal93ad9702012-07-17 15:12:33 +0530517
518 qcom,pm8941_rtc {
519 spmi-dev-container;
520 compatible = "qcom,qpnp-rtc";
521 #address-cells = <1>;
522 #size-cells = <1>;
523 qcom,qpnp-rtc-write = <0>;
524 qcom,qpnp-rtc-alarm-pwrup = <0>;
525
526 qcom,pm8941_rtc_rw@6000 {
527 reg = <0x6000 0x100>;
528 };
529 qcom,pm8941_rtc_alarm@6100 {
530 reg = <0x6100 0x100>;
531 interrupts = <0x0 0x61 0x1>;
532 };
533 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700534
535 vadc@3100 {
536 compatible = "qcom,qpnp-vadc";
537 reg = <0x3100 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800538 #address-cells = <1>;
539 #size-cells = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700540 interrupts = <0x0 0x31 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800541 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700542 qcom,adc-bit-resolution = <15>;
543 qcom,adc-vdd-reference = <1800>;
544
545 chan@0 {
546 label = "usb_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800547 reg = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700548 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700549 qcom,pre-div-channel-scaling = <4>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700550 qcom,calibration-type = "absolute";
551 qcom,scale-function = <0>;
552 qcom,hw-settle-time = <0>;
553 qcom,fast-avg-setup = <0>;
554 };
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700555
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700556 chan@1 {
557 label = "dc_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800558 reg = <1>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700559 qcom,decimation = <0>;
560 qcom,pre-div-channel-scaling = <4>;
561 qcom,calibration-type = "absolute";
562 qcom,scale-function = <0>;
563 qcom,hw-settle-time = <0>;
564 qcom,fast-avg-setup = <0>;
565 };
566
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700567 chan@2 {
568 label = "vchg_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800569 reg = <2>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700570 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700571 qcom,pre-div-channel-scaling = <3>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700572 qcom,calibration-type = "absolute";
573 qcom,scale-function = <0>;
574 qcom,hw-settle-time = <0>;
575 qcom,fast-avg-setup = <0>;
576 };
577
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700578 chan@3 {
579 label = "spare1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800580 reg = <3>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700581 qcom,decimation = <0>;
582 qcom,pre-div-channel-scaling = <6>;
583 qcom,calibration-type = "absolute";
584 qcom,scale-function = <0>;
585 qcom,hw-settle-time = <0>;
586 qcom,fast-avg-setup = <0>;
587 };
588
589 chan@4 {
590 label = "spare2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800591 reg = <4>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700592 qcom,decimation = <0>;
593 qcom,pre-div-channel-scaling = <6>;
594 qcom,calibration-type = "absolute";
595 qcom,scale-function = <0>;
596 qcom,hw-settle-time = <0>;
597 qcom,fast-avg-setup = <0>;
598 };
599
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700600 chan@5 {
601 label = "vcoin";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800602 reg = <5>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700603 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700604 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700605 qcom,calibration-type = "absolute";
606 qcom,scale-function = <0>;
607 qcom,hw-settle-time = <0>;
608 qcom,fast-avg-setup = <0>;
609 };
610
611 chan@6 {
612 label = "vbat_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800613 reg = <6>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700614 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700615 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700616 qcom,calibration-type = "absolute";
617 qcom,scale-function = <0>;
618 qcom,hw-settle-time = <0>;
619 qcom,fast-avg-setup = <0>;
620 };
621
622 chan@7 {
623 label = "vph_pwr";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800624 reg = <7>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700625 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700626 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700627 qcom,calibration-type = "absolute";
628 qcom,scale-function = <0>;
629 qcom,hw-settle-time = <0>;
630 qcom,fast-avg-setup = <0>;
631 };
632
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700633 chan@8 {
634 label = "die_temp";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800635 reg = <8>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700636 qcom,decimation = <0>;
637 qcom,pre-div-channel-scaling = <0>;
638 qcom,calibration-type = "absolute";
639 qcom,scale-function = <3>;
640 qcom,hw-settle-time = <0>;
641 qcom,fast-avg-setup = <0>;
642 };
643
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700644 chan@9 {
645 label = "ref_625mv";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800646 reg = <9>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700647 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700648 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700649 qcom,calibration-type = "absolute";
650 qcom,scale-function = <0>;
651 qcom,hw-settle-time = <0>;
652 qcom,fast-avg-setup = <0>;
653 };
654
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800655 chan@a {
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700656 label = "ref_1250v";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800657 reg = <0xa>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700658 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700659 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700660 qcom,calibration-type = "absolute";
661 qcom,scale-function = <0>;
662 qcom,hw-settle-time = <0>;
663 qcom,fast-avg-setup = <0>;
664 };
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700665
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800666 chan@30 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700667 label = "batt_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800668 reg = <0x30>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700669 qcom,decimation = <0>;
670 qcom,pre-div-channel-scaling = <0>;
671 qcom,calibration-type = "ratiometric";
672 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800673 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700674 qcom,fast-avg-setup = <0>;
675 };
676
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800677 chan@31 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700678 label = "batt_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800679 reg = <0x31>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700680 qcom,decimation = <0>;
681 qcom,pre-div-channel-scaling = <0>;
682 qcom,calibration-type = "ratiometric";
683 qcom,scale-function = <0>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800684 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700685 qcom,fast-avg-setup = <0>;
686 };
687
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800688 chan@b2 {
Siddartha Mohanadoss3601d232012-09-14 16:01:39 -0700689 label = "xo_therm_pu2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800690 reg = <0xb2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700691 qcom,decimation = <0>;
692 qcom,pre-div-channel-scaling = <0>;
693 qcom,calibration-type = "ratiometric";
694 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800695 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700696 qcom,fast-avg-setup = <0>;
697 };
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700698
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800699 chan@b3 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700700 label = "msm_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800701 reg = <0xb3>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700702 qcom,decimation = <0>;
703 qcom,pre-div-channel-scaling = <0>;
704 qcom,calibration-type = "ratiometric";
705 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800706 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700707 qcom,fast-avg-setup = <0>;
708 };
709
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800710 chan@b4 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700711 label = "emmc_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800712 reg = <0xb4>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700713 qcom,decimation = <0>;
714 qcom,pre-div-channel-scaling = <0>;
715 qcom,calibration-type = "ratiometric";
716 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800717 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700718 qcom,fast-avg-setup = <0>;
719 };
720
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800721 chan@b5 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700722 label = "pa_therm1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800723 reg = <0xb5>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700724 qcom,decimation = <0>;
725 qcom,pre-div-channel-scaling = <0>;
726 qcom,calibration-type = "ratiometric";
727 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800728 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700729 qcom,fast-avg-setup = <0>;
730 };
731
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800732 chan@b7 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700733 label = "pa_therm2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800734 reg = <0xb7>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700735 qcom,decimation = <0>;
736 qcom,pre-div-channel-scaling = <0>;
737 qcom,calibration-type = "ratiometric";
738 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800739 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700740 qcom,fast-avg-setup = <0>;
741 };
742
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800743 chan@b8 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700744 label = "quiet_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800745 reg = <0xb8>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700746 qcom,decimation = <0>;
747 qcom,pre-div-channel-scaling = <0>;
748 qcom,calibration-type = "ratiometric";
749 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800750 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700751 qcom,fast-avg-setup = <0>;
752 };
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800753
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800754 chan@b9 {
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800755 label = "usb_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800756 reg = <0xb9>;
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800757 qcom,decimation = <0>;
758 qcom,pre-div-channel-scaling = <0>;
759 qcom,calibration-type = "ratiometric";
760 qcom,scale-function = <0>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800761 qcom,hw-settle-time = <2>;
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800762 qcom,fast-avg-setup = <0>;
763 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700764 };
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700765
766 iadc@3600 {
767 compatible = "qcom,qpnp-iadc";
768 reg = <0x3600 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800769 #address-cells = <1>;
770 #size-cells = <0>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700771 interrupts = <0x0 0x36 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800772 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700773 qcom,adc-bit-resolution = <16>;
774 qcom,adc-vdd-reference = <1800>;
775 qcom,rsense = <1500>;
776
777 chan@0 {
778 label = "internal_rsense";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800779 reg = <0>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700780 qcom,decimation = <0>;
781 qcom,pre-div-channel-scaling = <1>;
782 qcom,calibration-type = "absolute";
783 qcom,scale-function = <0>;
784 qcom,hw-settle-time = <0>;
785 qcom,fast-avg-setup = <0>;
786 };
787 };
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800788
789 qcom,vadc@3400 {
790 compatible = "qcom,qpnp-adc-tm";
791 reg = <0x3400 0x100>;
792 #address-cells = <1>;
793 #size-cells = <0>;
794 interrupts = <0x0 0x34 0x0>,
795 <0x0 0x34 0x3>,
796 <0x0 0x34 0x4>;
797 interrupt-names = "eoc-int-en-set",
798 "high-thr-en-set",
799 "low-thr-en-set";
800 qcom,adc-bit-resolution = <15>;
801 qcom,adc-vdd-reference = <1800>;
802
803 /* Channel Node */
804 chan@b9 {
805 label = "usb_id";
806 reg = <0xb9>;
807 qcom,decimation = <0>;
808 qcom,pre-div-channel-scaling = <0>;
809 qcom,calibration-type = "ratiometric";
810 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800811 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800812 qcom,fast-avg-setup = <0>;
813 qcom,btm-channel-number = <0x48>;
814 };
815
816 chan@30 {
817 label = "batt_therm";
818 reg = <0x30>;
819 qcom,decimation = <0>;
820 qcom,pre-div-channel-scaling = <0>;
821 qcom,calibration-type = "ratiometric";
822 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800823 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800824 qcom,fast-avg-setup = <0>;
825 qcom,btm-channel-number = <0x68>;
826 };
827
828 chan@b5 {
829 label = "pa_therm1";
830 reg = <0xb5>;
831 qcom,decimation = <0>;
832 qcom,pre-div-channel-scaling = <0>;
833 qcom,calibration-type = "absolute";
834 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800835 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800836 qcom,fast-avg-setup = <0>;
837 qcom,btm-channel-number = <0x70>;
838 };
839
840 chan@b7 {
841 label = "pa_therm2";
842 reg = <0xb7>;
843 qcom,decimation = <0>;
844 qcom,pre-div-channel-scaling = <0>;
845 qcom,calibration-type = "ratiometric";
846 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800847 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800848 qcom,fast-avg-setup = <0>;
849 qcom,btm-channel-number = <0x78>;
850 };
851
852 chan@b4 {
853 label = "emmc_therm";
854 reg = <0xb4>;
855 qcom,decimation = <0>;
856 qcom,pre-div-channel-scaling = <0>;
857 qcom,calibration-type = "ratiometric";
858 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800859 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800860 qcom,fast-avg-setup = <0>;
861 qcom,btm-channel-number = <0x80>;
862 };
863 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700864 };
David Collins153d45a2012-03-26 11:57:50 -0700865
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700866 qcom,pm8941@1 {
867 spmi-slave-container;
868 reg = <0x1>;
869 #address-cells = <1>;
870 #size-cells = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700871
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700872 regulator@1400 {
873 regulator-name = "8941_s1";
874 spmi-dev-container;
875 #address-cells = <1>;
876 #size-cells = <1>;
877 compatible = "qcom,qpnp-regulator";
878 reg = <0x1400 0x300>;
879 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700880
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700881 qcom,ctl@1400 {
882 reg = <0x1400 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700883 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700884 qcom,ps@1500 {
885 reg = <0x1500 0x100>;
886 };
887 qcom,freq@1600 {
888 reg = <0x1600 0x100>;
889 };
890 };
David Collins153d45a2012-03-26 11:57:50 -0700891
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700892 regulator@1700 {
893 regulator-name = "8941_s2";
894 spmi-dev-container;
895 #address-cells = <1>;
896 #size-cells = <1>;
897 compatible = "qcom,qpnp-regulator";
898 reg = <0x1700 0x300>;
899 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700900
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700901 qcom,ctl@1700 {
902 reg = <0x1700 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700903 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700904 qcom,ps@1800 {
905 reg = <0x1800 0x100>;
906 };
907 qcom,freq@1900 {
908 reg = <0x1900 0x100>;
909 };
910 };
David Collins153d45a2012-03-26 11:57:50 -0700911
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700912 regulator@1a00 {
913 regulator-name = "8941_s3";
914 spmi-dev-container;
915 #address-cells = <1>;
916 #size-cells = <1>;
917 compatible = "qcom,qpnp-regulator";
Michael Bohand3253c72012-08-09 11:34:49 -0700918 reg = <0x1a00 0x300>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700919 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700920
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700921 qcom,ctl@1a00 {
922 reg = <0x1a00 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700923 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700924 qcom,ps@1b00 {
925 reg = <0x1b00 0x100>;
926 };
927 qcom,freq@1c00 {
928 reg = <0x1c00 0x100>;
929 };
930 };
David Collins153d45a2012-03-26 11:57:50 -0700931
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700932 regulator@a000 {
933 regulator-name = "8941_boost";
934 reg = <0xa000 0x100>;
935 compatible = "qcom,qpnp-regulator";
936 status = "disabled";
937 };
David Collins153d45a2012-03-26 11:57:50 -0700938
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700939 regulator@4000 {
940 regulator-name = "8941_l1";
941 reg = <0x4000 0x100>;
942 compatible = "qcom,qpnp-regulator";
943 status = "disabled";
944 };
David Collins153d45a2012-03-26 11:57:50 -0700945
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700946 regulator@4100 {
947 regulator-name = "8941_l2";
948 reg = <0x4100 0x100>;
949 compatible = "qcom,qpnp-regulator";
950 status = "disabled";
951 };
David Collins153d45a2012-03-26 11:57:50 -0700952
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700953 regulator@4200 {
954 regulator-name = "8941_l3";
955 reg = <0x4200 0x100>;
956 compatible = "qcom,qpnp-regulator";
957 status = "disabled";
958 };
David Collins153d45a2012-03-26 11:57:50 -0700959
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700960 regulator@4300 {
961 regulator-name = "8941_l4";
962 reg = <0x4300 0x100>;
963 compatible = "qcom,qpnp-regulator";
964 status = "disabled";
965 };
David Collins153d45a2012-03-26 11:57:50 -0700966
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700967 regulator@4400 {
968 regulator-name = "8941_l5";
969 reg = <0x4400 0x100>;
970 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -0700971 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700972 status = "disabled";
973 };
David Collins153d45a2012-03-26 11:57:50 -0700974
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700975 regulator@4500 {
976 regulator-name = "8941_l6";
977 reg = <0x4500 0x100>;
978 compatible = "qcom,qpnp-regulator";
979 status = "disabled";
980 };
David Collins153d45a2012-03-26 11:57:50 -0700981
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700982 regulator@4600 {
983 regulator-name = "8941_l7";
984 reg = <0x4600 0x100>;
985 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -0700986 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700987 status = "disabled";
988 };
David Collins153d45a2012-03-26 11:57:50 -0700989
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700990 regulator@4700 {
991 regulator-name = "8941_l8";
992 reg = <0x4700 0x100>;
993 compatible = "qcom,qpnp-regulator";
994 status = "disabled";
995 };
David Collins153d45a2012-03-26 11:57:50 -0700996
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700997 regulator@4800 {
998 regulator-name = "8941_l9";
999 reg = <0x4800 0x100>;
1000 compatible = "qcom,qpnp-regulator";
1001 status = "disabled";
1002 };
David Collins153d45a2012-03-26 11:57:50 -07001003
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001004 regulator@4900 {
1005 regulator-name = "8941_l10";
1006 reg = <0x4900 0x100>;
1007 compatible = "qcom,qpnp-regulator";
1008 status = "disabled";
1009 };
David Collins153d45a2012-03-26 11:57:50 -07001010
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001011 regulator@4a00 {
1012 regulator-name = "8941_l11";
1013 reg = <0x4a00 0x100>;
1014 compatible = "qcom,qpnp-regulator";
1015 status = "disabled";
1016 };
David Collins153d45a2012-03-26 11:57:50 -07001017
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001018 regulator@4b00 {
1019 regulator-name = "8941_l12";
1020 reg = <0x4b00 0x100>;
1021 compatible = "qcom,qpnp-regulator";
1022 status = "disabled";
1023 };
David Collins153d45a2012-03-26 11:57:50 -07001024
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001025 regulator@4c00 {
1026 regulator-name = "8941_l13";
1027 reg = <0x4c00 0x100>;
1028 compatible = "qcom,qpnp-regulator";
1029 status = "disabled";
1030 };
David Collins153d45a2012-03-26 11:57:50 -07001031
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001032 regulator@4d00 {
1033 regulator-name = "8941_l14";
1034 reg = <0x4d00 0x100>;
1035 compatible = "qcom,qpnp-regulator";
1036 status = "disabled";
1037 };
1038
1039 regulator@4e00 {
1040 regulator-name = "8941_l15";
1041 reg = <0x4e00 0x100>;
1042 compatible = "qcom,qpnp-regulator";
1043 status = "disabled";
1044 };
1045
1046 regulator@4f00 {
1047 regulator-name = "8941_l16";
1048 reg = <0x4f00 0x100>;
1049 compatible = "qcom,qpnp-regulator";
1050 status = "disabled";
1051 };
1052
1053 regulator@5000 {
1054 regulator-name = "8941_l17";
1055 reg = <0x5000 0x100>;
1056 compatible = "qcom,qpnp-regulator";
1057 status = "disabled";
1058 };
1059
1060 regulator@5100 {
1061 regulator-name = "8941_l18";
1062 reg = <0x5100 0x100>;
1063 compatible = "qcom,qpnp-regulator";
1064 status = "disabled";
1065 };
1066
1067 regulator@5200 {
1068 regulator-name = "8941_l19";
1069 reg = <0x5200 0x100>;
1070 compatible = "qcom,qpnp-regulator";
1071 status = "disabled";
1072 };
1073
1074 regulator@5300 {
1075 regulator-name = "8941_l20";
1076 reg = <0x5300 0x100>;
1077 compatible = "qcom,qpnp-regulator";
1078 status = "disabled";
1079 };
1080
1081 regulator@5400 {
1082 regulator-name = "8941_l21";
1083 reg = <0x5400 0x100>;
1084 compatible = "qcom,qpnp-regulator";
1085 status = "disabled";
1086 };
1087
1088 regulator@5500 {
1089 regulator-name = "8941_l22";
1090 reg = <0x5500 0x100>;
1091 compatible = "qcom,qpnp-regulator";
1092 status = "disabled";
1093 };
1094
1095 regulator@5600 {
1096 regulator-name = "8941_l23";
1097 reg = <0x5600 0x100>;
1098 compatible = "qcom,qpnp-regulator";
1099 status = "disabled";
1100 };
1101
1102 regulator@5700 {
1103 regulator-name = "8941_l24";
1104 reg = <0x5700 0x100>;
1105 compatible = "qcom,qpnp-regulator";
1106 status = "disabled";
1107 };
1108
1109 regulator@8000 {
1110 regulator-name = "8941_lvs1";
1111 reg = <0x8000 0x100>;
1112 compatible = "qcom,qpnp-regulator";
1113 status = "disabled";
1114 };
1115
1116 regulator@8100 {
1117 regulator-name = "8941_lvs2";
1118 reg = <0x8100 0x100>;
1119 compatible = "qcom,qpnp-regulator";
1120 status = "disabled";
1121 };
1122
1123 regulator@8200 {
1124 regulator-name = "8941_lvs3";
1125 reg = <0x8200 0x100>;
1126 compatible = "qcom,qpnp-regulator";
1127 status = "disabled";
1128 };
1129
1130 regulator@8300 {
1131 regulator-name = "8941_mvs1";
1132 reg = <0x8300 0x100>;
1133 compatible = "qcom,qpnp-regulator";
1134 status = "disabled";
1135 };
1136
1137 regulator@8400 {
1138 regulator-name = "8941_mvs2";
1139 reg = <0x8400 0x100>;
1140 compatible = "qcom,qpnp-regulator";
1141 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -07001142 };
Amy Maloche02a5eae2012-08-10 21:33:59 -07001143
Amy Malochec9aa2cb2012-11-07 12:22:58 -08001144 qcom,vibrator@c000 {
1145 compatible = "qcom,qpnp-vibrator";
1146 reg = <0xc000 0x100>;
1147 label = "vibrator";
1148 status = "disabled";
1149 };
1150
Amy Maloche4f0b0462012-09-17 12:09:49 -07001151 qcom,leds@d000 {
1152 compatible = "qcom,leds-qpnp";
1153 reg = <0xd000 0x100>;
1154 label = "rgb";
1155 };
1156
1157 qcom,leds@d100 {
1158 compatible = "qcom,leds-qpnp";
1159 reg = <0xd100 0x100>;
1160 label = "rgb";
1161 };
1162
1163 qcom,leds@d200 {
1164 compatible = "qcom,leds-qpnp";
1165 reg = <0xd200 0x100>;
1166 label = "rgb";
1167 };
1168
Amy Maloche2b8b79b2012-10-22 10:36:04 -07001169 qcom,leds@d300 {
1170 compatible = "qcom,leds-qpnp";
1171 reg = <0xd300 0x100>;
1172 label = "flash";
1173 };
1174
1175 qcom,leds@d400 {
1176 compatible = "qcom,leds-qpnp";
1177 reg = <0xd400 0x100>;
1178 label = "flash";
1179 };
1180
1181 qcom,leds@d500 {
1182 compatible = "qcom,leds-qpnp";
1183 reg = <0xd500 0x100>;
1184 label = "flash";
1185 };
1186
1187 qcom,leds@d600 {
1188 compatible = "qcom,leds-qpnp";
1189 reg = <0xd600 0x100>;
1190 label = "flash";
1191 };
1192
1193 qcom,leds@d700 {
1194 compatible = "qcom,leds-qpnp";
1195 reg = <0xd700 0x100>;
1196 label = "flash";
1197 };
1198
Amy Maloche02a5eae2012-08-10 21:33:59 -07001199 qcom,leds@d800 {
1200 compatible = "qcom,leds-qpnp";
1201 reg = <0xd800 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001202 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001203 };
1204
1205 qcom,leds@d900 {
1206 compatible = "qcom,leds-qpnp";
1207 reg = <0xd900 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001208 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001209 };
1210
1211 qcom,leds@da00 {
1212 compatible = "qcom,leds-qpnp";
1213 reg = <0xda00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001214 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001215 };
1216
1217 qcom,leds@db00 {
1218 compatible = "qcom,leds-qpnp";
1219 reg = <0xdb00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001220 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001221 };
1222
1223 qcom,leds@dc00 {
1224 compatible = "qcom,leds-qpnp";
1225 reg = <0xdc00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001226 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001227 };
1228
1229 qcom,leds@dd00 {
1230 compatible = "qcom,leds-qpnp";
1231 reg = <0xdd00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001232 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001233 };
1234
1235 qcom,leds@de00 {
1236 compatible = "qcom,leds-qpnp";
1237 reg = <0xde00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001238 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001239 };
1240
1241 qcom,leds@df00 {
1242 compatible = "qcom,leds-qpnp";
1243 reg = <0xdf00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001244 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001245 };
1246
1247 qcom,leds@e000 {
1248 compatible = "qcom,leds-qpnp";
1249 reg = <0xe000 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001250 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001251 };
1252
1253 qcom,leds@e100 {
1254 compatible = "qcom,leds-qpnp";
1255 reg = <0xe100 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001256 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001257 };
1258
Jay Chokshi6254a162012-05-07 12:38:14 -07001259 pwm@b100 {
1260 compatible = "qcom,qpnp-pwm";
1261 reg = <0xb100 0x100>,
1262 <0xb042 0x7e>;
1263 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1264 qcom,channel-id = <0>;
1265 };
1266
1267 pwm@b200 {
1268 compatible = "qcom,qpnp-pwm";
1269 reg = <0xb200 0x100>,
1270 <0xb042 0x7e>;
1271 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1272 qcom,channel-id = <1>;
1273 };
1274
1275 pwm@b300 {
1276 compatible = "qcom,qpnp-pwm";
1277 reg = <0xb300 0x100>,
1278 <0xb042 0x7e>;
1279 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1280 qcom,channel-id = <2>;
1281 };
1282
1283 pwm@b400 {
1284 compatible = "qcom,qpnp-pwm";
1285 reg = <0xb400 0x100>,
1286 <0xb042 0x7e>;
1287 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1288 qcom,channel-id = <3>;
1289 };
1290
1291 pwm@b500 {
1292 compatible = "qcom,qpnp-pwm";
1293 reg = <0xb500 0x100>,
1294 <0xb042 0x7e>;
1295 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1296 qcom,channel-id = <4>;
1297 };
1298
1299 pwm@b600 {
1300 compatible = "qcom,qpnp-pwm";
1301 reg = <0xb600 0x100>,
1302 <0xb042 0x7e>;
1303 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1304 qcom,channel-id = <5>;
1305 };
1306
1307 pwm@b700 {
1308 compatible = "qcom,qpnp-pwm";
1309 reg = <0xb700 0x100>,
1310 <0xb042 0x7e>;
1311 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1312 qcom,channel-id = <6>;
1313 };
1314
1315 pwm@b800 {
1316 compatible = "qcom,qpnp-pwm";
1317 reg = <0xb800 0x100>,
1318 <0xb042 0x7e>;
1319 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1320 qcom,channel-id = <7>;
1321 };
David Collins153d45a2012-03-26 11:57:50 -07001322 };
1323};