blob: 5ccdbf374250e44cc1bc95edb673eb465eac4294 [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
David Keitel299548f2013-03-19 17:26:26 -070025 pm8941_misc: qcom,misc@900 {
26 compatible = "qcom,qpnp-misc";
27 reg = <0x900 0x100>;
28 };
29
Xiaozhe Shi92699082013-03-06 15:22:05 -080030 qcom,revid@100 {
31 compatible = "qcom,qpnp-revid";
32 reg = <0x100 0x100>;
33 };
34
David Collinsfaafdf52012-10-10 17:10:22 -070035 qcom,temp-alarm@2400 {
36 compatible = "qcom,qpnp-temp-alarm";
37 reg = <0x2400 0x100>;
38 interrupts = <0x0 0x24 0x0>;
39 label = "pm8941_tz";
40 qcom,channel-num = <8>;
41 qcom,threshold-set = <0>;
42 };
43
Anirudh Ghayal19cf4982012-07-16 11:10:17 +053044 qcom,power-on@800 {
45 compatible = "qcom,qpnp-power-on";
46 reg = <0x800 0x100>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053047 interrupts = <0x0 0x8 0x0>,
48 <0x0 0x8 0x1>,
49 <0x0 0x8 0x4>;
50 interrupt-names = "kpdpwr", "resin", "resin-bark";
51 qcom,pon-dbc-delay = <15625>;
Michael Bohane7204222012-09-07 10:21:18 -070052 qcom,system-reset;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053053
54 qcom,pon_1 {
55 qcom,pon-type = <0>;
56 qcom,pull-up = <1>;
57 linux,code = <116>;
58 };
59
60 qcom,pon_2 {
61 qcom,pon-type = <1>;
Anirudh Ghayal579709662012-08-13 12:57:05 +053062 qcom,support-reset = <1>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053063 qcom,pull-up = <1>;
Anirudh Ghayal579709662012-08-13 12:57:05 +053064 qcom,s1-timer = <0>;
65 qcom,s2-timer = <2000>;
66 qcom,s2-type = <1>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053067 linux,code = <114>;
68 };
Anirudh Ghayal19cf4982012-07-16 11:10:17 +053069 };
70
David Collins3f378292013-01-23 14:23:18 -080071 bif_ctrl: qcom,bsi@1b00 {
72 compatible = "qcom,qpnp-bsi";
73 reg = <0x1b00 0x100>,
74 <0x1208 0x1>;
75 reg-names = "bsi-base", "batt-id-status";
76 label = "pm8941-bsi";
77 interrupts = <0x0 0x1b 0x0>,
78 <0x0 0x1b 0x1>,
79 <0x0 0x1b 0x2>,
80 <0x0 0x12 0x0>;
81 interrupt-names = "err",
82 "rx",
83 "tx",
84 "batt-present";
85 qcom,channel-num = <0x31>;
86 qcom,pullup-ohms = <100000>;
87 qcom,vref-microvolts = <1800000>;
88 qcom,min-clock-period = <1000>;
89 qcom,max-clock-period = <160000>;
90 qcom,sample-rate = <4>;
91 };
92
David Collinsd5081c32013-03-11 13:21:00 -070093 pm8941_coincell: qcom,coincell@2800 {
94 compatible = "qcom,qpnp-coincell";
95 reg = <0x2800 0x100>;
96 };
97
Xiaozhe Shic40b3972012-11-30 14:11:16 -080098 pm8941_bms: qcom,bms {
99 spmi-dev-container;
100 compatible = "qcom,qpnp-bms";
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -0700101 #address-cells = <1>;
102 #size-cells = <1>;
Xiaozhe Shi03a44bf2012-11-12 15:59:27 -0800103 status = "disabled";
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -0700104
Xiaozhe Shi9bd24622013-01-23 15:54:54 -0800105 qcom,r-sense-uohm = <10000>;
106 qcom,v-cutoff-uv = <3400000>;
107 qcom,max-voltage-uv = <4200000>;
108 qcom,r-conn-mohm = <18>;
109 qcom,shutdown-soc-valid-limit = <20>;
110 qcom,adjust-soc-low-threshold = <25>;
111 qcom,adjust-soc-high-threshold = <45>;
112 qcom,ocv-voltage-high-threshold-uv = <3750000>;
113 qcom,ocv-voltage-low-threshold-uv = <3650000>;
114 qcom,low-soc-calculate-soc-threshold = <15>;
115 qcom,low-soc-calculate-soc-ms = <5000>;
116 qcom,calculate-soc-ms = <20000>;
117 qcom,chg-term-ua = <100000>;
118 qcom,batt-type = <0>;
Xiaozhe Shi4be85782013-02-22 17:33:40 -0800119 qcom,low-voltage-threshold = <3420000>;
Xiaozhe Shic40b3972012-11-30 14:11:16 -0800120
121 qcom,bms-iadc@3800 {
122 reg = <0x3800 0x100>;
123 };
124
125 qcom,bms-bms@4000 {
126 reg = <0x4000 0x100>;
127 interrupts = <0x0 0x40 0x0>,
128 <0x0 0x40 0x1>,
129 <0x0 0x40 0x2>,
130 <0x0 0x40 0x3>,
131 <0x0 0x40 0x4>,
132 <0x0 0x40 0x5>,
133 <0x0 0x40 0x6>,
134 <0x0 0x40 0x7>;
135
136 interrupt-names = "vsense_for_r",
137 "vsense_avg",
138 "sw_cc_thr",
139 "ocv_thr",
140 "charge_begin",
141 "good_ocv",
142 "ocv_for_r",
143 "cc_thr";
144 };
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -0700145 };
146
Michael Bohanee1f8fe2012-08-03 18:32:16 -0700147 clkdiv@5b00 {
148 reg = <0x5b00 0x100>;
149 compatible = "qcom,qpnp-clkdiv";
150 qcom,cxo-freq = <19200000>;
151 };
152
153 clkdiv@5c00 {
154 reg = <0x5c00 0x100>;
155 compatible = "qcom,qpnp-clkdiv";
156 qcom,cxo-freq = <19200000>;
157 };
158
159 clkdiv@5d00 {
160 reg = <0x5d00 0x1000>;
161 compatible = "qcom,qpnp-clkdiv";
162 qcom,cxo-freq = <19200000>;
163 };
164
David Keitela7a71732012-09-24 12:30:44 -0700165 pm8941_chg: qcom,charger {
David Keitel6adff102012-07-27 14:24:00 -0700166 spmi-dev-container;
167 compatible = "qcom,qpnp-charger";
168 #address-cells = <1>;
169 #size-cells = <1>;
David Keitela7a71732012-09-24 12:30:44 -0700170 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700171
172 qcom,chg-vddmax-mv = <4200>;
173 qcom,chg-vddsafe-mv = <4200>;
174 qcom,chg-vinmin-mv = <4200>;
175 qcom,chg-ibatmax-ma = <1500>;
David Keitel5d44fa52012-12-03 16:37:31 -0800176 qcom,chg-ibatsafe-ma = <1500>;
David Keitelc6dd5342013-01-31 14:51:44 -0800177 qcom,chg-thermal-mitigation = <1500 700 600 325>;
David Keitela14ed782013-03-13 09:59:39 -0700178 qcom,chg-cool-bat-degc = <10>;
179 qcom,chg-cool-bat-mv = <4100>;
180 qcom,chg-ibatmax-warm-ma = <350>;
181 qcom,chg-warm-bat-degc = <45>;
182 qcom,chg-warm-bat-mv = <4100>;
183 qcom,chg-ibatmax-cool-ma = <350>;
184 qcom,chg-vbatdet-delta-mv = <350>;
David Keitel6adff102012-07-27 14:24:00 -0700185
186 qcom,chg-chgr@1000 {
David Keitela7a71732012-09-24 12:30:44 -0700187 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700188 reg = <0x1000 0x100>;
189 interrupts = <0x0 0x10 0x0>,
190 <0x0 0x10 0x1>,
191 <0x0 0x10 0x2>,
192 <0x0 0x10 0x3>,
193 <0x0 0x10 0x4>,
194 <0x0 0x10 0x5>,
195 <0x0 0x10 0x6>,
196 <0x0 0x10 0x7>;
197
David Keitel0cba0992012-10-30 06:21:10 -0700198 interrupt-names = "vbat-det-lo",
David Keitel6adff102012-07-27 14:24:00 -0700199 "vbat-det-hi",
David Keitel0cba0992012-10-30 06:21:10 -0700200 "chgwdog",
201 "state-change",
202 "trkl-chg-on",
203 "fast-chg-on",
204 "chg-failed",
205 "chg-done";
David Keitel6adff102012-07-27 14:24:00 -0700206 };
207
208 qcom,chg-buck@1100 {
David Keitela7a71732012-09-24 12:30:44 -0700209 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700210 reg = <0x1100 0x100>;
211 interrupts = <0x0 0x11 0x0>,
212 <0x0 0x11 0x1>,
213 <0x0 0x11 0x2>,
214 <0x0 0x11 0x3>,
215 <0x0 0x11 0x4>,
216 <0x0 0x11 0x5>,
217 <0x0 0x11 0x6>;
218
David Keitel0cba0992012-10-30 06:21:10 -0700219 interrupt-names = "vbat-ov",
220 "vreg-ov",
David Keitel6adff102012-07-27 14:24:00 -0700221 "overtemp",
David Keitel0cba0992012-10-30 06:21:10 -0700222 "vchg-loop",
223 "ichg-loop",
224 "ibat-loop",
225 "vdd-loop";
David Keitel6adff102012-07-27 14:24:00 -0700226 };
227
228 qcom,chg-bat-if@1200 {
David Keitela7a71732012-09-24 12:30:44 -0700229 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700230 reg = <0x1200 0x100>;
231 interrupts = <0x0 0x12 0x0>,
232 <0x0 0x12 0x1>,
233 <0x0 0x12 0x2>,
234 <0x0 0x12 0x3>,
235 <0x0 0x12 0x4>;
236
David Keitel0cba0992012-10-30 06:21:10 -0700237 interrupt-names = "batt-pres",
David Keitel6adff102012-07-27 14:24:00 -0700238 "bat-temp-ok",
David Keitel0cba0992012-10-30 06:21:10 -0700239 "bat-fet-on",
240 "vcp-on",
241 "psi";
242
David Keitel6adff102012-07-27 14:24:00 -0700243 };
244
245 qcom,chg-usb-chgpth@1300 {
David Keitela7a71732012-09-24 12:30:44 -0700246 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700247 reg = <0x1300 0x100>;
248 interrupts = <0 0x13 0x0>,
249 <0 0x13 0x1>,
250 <0x0 0x13 0x2>;
251
David Keitel4429b1f2012-10-18 10:42:50 -0700252 interrupt-names = "coarse-det-usb",
253 "usbin-valid",
David Keitel6adff102012-07-27 14:24:00 -0700254 "chg-gone";
255 };
256
257 qcom,chg-dc-chgpth@1400 {
David Keitela7a71732012-09-24 12:30:44 -0700258 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700259 reg = <0x1400 0x100>;
260 interrupts = <0x0 0x14 0x0>,
261 <0x0 0x14 0x1>;
262
David Keitel0cba0992012-10-30 06:21:10 -0700263 interrupt-names = "coarse-det-dc",
264 "dcin-valid";
David Keitel6adff102012-07-27 14:24:00 -0700265 };
266
267 qcom,chg-boost@1500 {
David Keitela7a71732012-09-24 12:30:44 -0700268 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700269 reg = <0x1500 0x100>;
270 interrupts = <0x0 0x15 0x0>,
271 <0x0 0x15 0x1>;
272
David Keitel0cba0992012-10-30 06:21:10 -0700273 interrupt-names = "boost-pwr-ok",
274 "limit-error";
David Keitel6adff102012-07-27 14:24:00 -0700275 };
276
277 qcom,chg-misc@1600 {
David Keitela7a71732012-09-24 12:30:44 -0700278 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700279 reg = <0x1600 0x100>;
280 };
281 };
282
Michael Bohand5ea7242012-10-01 18:01:51 -0700283 pm8941_gpios: gpios {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700284 spmi-dev-container;
285 compatible = "qcom,qpnp-pin";
286 gpio-controller;
287 #gpio-cells = <2>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700288 #address-cells = <1>;
289 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700290 label = "pm8941-gpio";
Michael Bohan8b909b42012-04-18 17:39:12 -0700291
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700292 gpio@c000 {
293 reg = <0xc000 0x100>;
294 qcom,pin-num = <1>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700295 };
Michael Bohan5085a052012-06-11 13:27:34 -0700296
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700297 gpio@c100 {
298 reg = <0xc100 0x100>;
299 qcom,pin-num = <2>;
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@c200 {
303 reg = <0xc200 0x100>;
304 qcom,pin-num = <3>;
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@c300 {
308 reg = <0xc300 0x100>;
309 qcom,pin-num = <4>;
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@c400 {
313 reg = <0xc400 0x100>;
314 qcom,pin-num = <5>;
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@c500 {
318 reg = <0xc500 0x100>;
319 qcom,pin-num = <6>;
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@c600 {
323 reg = <0xc600 0x100>;
324 qcom,pin-num = <7>;
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@c700 {
328 reg = <0xc700 0x100>;
329 qcom,pin-num = <8>;
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@c800 {
333 reg = <0xc800 0x100>;
334 qcom,pin-num = <9>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700335 };
Michael Bohan5085a052012-06-11 13:27:34 -0700336
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700337 gpio@c900 {
338 reg = <0xc900 0x100>;
339 qcom,pin-num = <10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700340 };
341
342 gpio@ca00 {
343 reg = <0xca00 0x100>;
344 qcom,pin-num = <11>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700345 };
346
347 gpio@cb00 {
348 reg = <0xcb00 0x100>;
349 qcom,pin-num = <12>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700350 };
351
352 gpio@cc00 {
353 reg = <0xcc00 0x100>;
354 qcom,pin-num = <13>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700355 };
356
357 gpio@cd00 {
358 reg = <0xcd00 0x100>;
359 qcom,pin-num = <14>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700360 };
361
362 gpio@ce00 {
363 reg = <0xce00 0x100>;
364 qcom,pin-num = <15>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700365 };
366
367 gpio@cf00 {
368 reg = <0xcf00 0x100>;
369 qcom,pin-num = <16>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700370 };
371
372 gpio@d000 {
373 reg = <0xd000 0x100>;
374 qcom,pin-num = <17>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700375 };
376
377 gpio@d100 {
378 reg = <0xd100 0x100>;
379 qcom,pin-num = <18>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700380 };
381
382 gpio@d200 {
383 reg = <0xd200 0x100>;
384 qcom,pin-num = <19>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700385 };
386
387 gpio@d300 {
388 reg = <0xd300 0x100>;
389 qcom,pin-num = <20>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700390 };
391
392 gpio@d400 {
393 reg = <0xd400 0x100>;
394 qcom,pin-num = <21>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700395 };
396
397 gpio@d500 {
398 reg = <0xd500 0x100>;
399 qcom,pin-num = <22>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700400 };
401
402 gpio@d600 {
403 reg = <0xd600 0x100>;
404 qcom,pin-num = <23>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700405 };
406
407 gpio@d700 {
408 reg = <0xd700 0x100>;
409 qcom,pin-num = <24>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700410 };
411
412 gpio@d800 {
413 reg = <0xd800 0x100>;
414 qcom,pin-num = <25>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700415 };
416
417 gpio@d900 {
418 reg = <0xd900 0x100>;
419 qcom,pin-num = <26>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700420 };
421
422 gpio@da00 {
423 reg = <0xda00 0x100>;
424 qcom,pin-num = <27>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700425 };
426
427 gpio@db00 {
428 reg = <0xdb00 0x100>;
429 qcom,pin-num = <28>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700430 };
431
432 gpio@dc00 {
433 reg = <0xdc00 0x100>;
434 qcom,pin-num = <29>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700435 };
436
437 gpio@dd00 {
438 reg = <0xdd00 0x100>;
439 qcom,pin-num = <30>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700440 };
441
442 gpio@de00 {
443 reg = <0xde00 0x100>;
444 qcom,pin-num = <31>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700445 };
446
447 gpio@df00 {
448 reg = <0xdf00 0x100>;
449 qcom,pin-num = <32>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700450 };
451
452 gpio@e000 {
453 reg = <0xe000 0x100>;
454 qcom,pin-num = <33>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700455 };
456
457 gpio@e100 {
458 reg = <0xe100 0x100>;
459 qcom,pin-num = <34>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700460 };
461
462 gpio@e200 {
463 reg = <0xe200 0x100>;
464 qcom,pin-num = <35>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700465 };
466
467 gpio@e300 {
468 reg = <0xe300 0x100>;
469 qcom,pin-num = <36>;
Michael Bohan5085a052012-06-11 13:27:34 -0700470 };
Michael Bohan8b909b42012-04-18 17:39:12 -0700471 };
472
Michael Bohand5ea7242012-10-01 18:01:51 -0700473 pm8941_mpps: mpps {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700474 spmi-dev-container;
475 compatible = "qcom,qpnp-pin";
476 gpio-controller;
477 #gpio-cells = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700478 #address-cells = <1>;
479 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700480 label = "pm8941-mpp";
David Collins153d45a2012-03-26 11:57:50 -0700481
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700482 mpp@a000 {
David Collins32f825f2012-06-06 09:49:24 -0700483 reg = <0xa000 0x100>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700484 qcom,pin-num = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700485 };
486
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700487 mpp@a100 {
488 reg = <0xa100 0x100>;
489 qcom,pin-num = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700490 };
491
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700492 mpp@a200 {
493 reg = <0xa200 0x100>;
494 qcom,pin-num = <3>;
David Collins153d45a2012-03-26 11:57:50 -0700495 };
496
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700497 mpp@a300 {
498 reg = <0xa300 0x100>;
499 qcom,pin-num = <4>;
David Collins153d45a2012-03-26 11:57:50 -0700500 };
501
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700502 mpp@a400 {
503 reg = <0xa400 0x100>;
504 qcom,pin-num = <5>;
David Collins153d45a2012-03-26 11:57:50 -0700505 };
506
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700507 mpp@a500 {
508 reg = <0xa500 0x100>;
509 qcom,pin-num = <6>;
David Collins153d45a2012-03-26 11:57:50 -0700510 };
511
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700512 mpp@a600 {
513 reg = <0xa600 0x100>;
514 qcom,pin-num = <7>;
David Collins153d45a2012-03-26 11:57:50 -0700515 };
516
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700517 mpp@a700 {
518 reg = <0xa700 0x100>;
519 qcom,pin-num = <8>;
David Collins153d45a2012-03-26 11:57:50 -0700520 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700521 };
Ashay Jaiswal93ad9702012-07-17 15:12:33 +0530522
523 qcom,pm8941_rtc {
524 spmi-dev-container;
525 compatible = "qcom,qpnp-rtc";
526 #address-cells = <1>;
527 #size-cells = <1>;
528 qcom,qpnp-rtc-write = <0>;
529 qcom,qpnp-rtc-alarm-pwrup = <0>;
530
531 qcom,pm8941_rtc_rw@6000 {
532 reg = <0x6000 0x100>;
533 };
534 qcom,pm8941_rtc_alarm@6100 {
535 reg = <0x6100 0x100>;
536 interrupts = <0x0 0x61 0x1>;
537 };
538 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700539
540 vadc@3100 {
541 compatible = "qcom,qpnp-vadc";
542 reg = <0x3100 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800543 #address-cells = <1>;
544 #size-cells = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700545 interrupts = <0x0 0x31 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800546 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700547 qcom,adc-bit-resolution = <15>;
548 qcom,adc-vdd-reference = <1800>;
549
550 chan@0 {
551 label = "usb_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800552 reg = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700553 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700554 qcom,pre-div-channel-scaling = <4>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700555 qcom,calibration-type = "absolute";
556 qcom,scale-function = <0>;
557 qcom,hw-settle-time = <0>;
558 qcom,fast-avg-setup = <0>;
559 };
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700560
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700561 chan@1 {
562 label = "dc_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800563 reg = <1>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700564 qcom,decimation = <0>;
565 qcom,pre-div-channel-scaling = <4>;
566 qcom,calibration-type = "absolute";
567 qcom,scale-function = <0>;
568 qcom,hw-settle-time = <0>;
569 qcom,fast-avg-setup = <0>;
570 };
571
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700572 chan@2 {
573 label = "vchg_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800574 reg = <2>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700575 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700576 qcom,pre-div-channel-scaling = <3>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700577 qcom,calibration-type = "absolute";
578 qcom,scale-function = <0>;
579 qcom,hw-settle-time = <0>;
580 qcom,fast-avg-setup = <0>;
581 };
582
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700583 chan@3 {
584 label = "spare1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800585 reg = <3>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700586 qcom,decimation = <0>;
587 qcom,pre-div-channel-scaling = <6>;
588 qcom,calibration-type = "absolute";
589 qcom,scale-function = <0>;
590 qcom,hw-settle-time = <0>;
591 qcom,fast-avg-setup = <0>;
592 };
593
594 chan@4 {
595 label = "spare2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800596 reg = <4>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700597 qcom,decimation = <0>;
598 qcom,pre-div-channel-scaling = <6>;
599 qcom,calibration-type = "absolute";
600 qcom,scale-function = <0>;
601 qcom,hw-settle-time = <0>;
602 qcom,fast-avg-setup = <0>;
603 };
604
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700605 chan@5 {
606 label = "vcoin";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800607 reg = <5>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700608 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700609 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700610 qcom,calibration-type = "absolute";
611 qcom,scale-function = <0>;
612 qcom,hw-settle-time = <0>;
613 qcom,fast-avg-setup = <0>;
614 };
615
616 chan@6 {
617 label = "vbat_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800618 reg = <6>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700619 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700620 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700621 qcom,calibration-type = "absolute";
622 qcom,scale-function = <0>;
623 qcom,hw-settle-time = <0>;
624 qcom,fast-avg-setup = <0>;
625 };
626
627 chan@7 {
628 label = "vph_pwr";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800629 reg = <7>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700630 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700631 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700632 qcom,calibration-type = "absolute";
633 qcom,scale-function = <0>;
634 qcom,hw-settle-time = <0>;
635 qcom,fast-avg-setup = <0>;
636 };
637
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700638 chan@8 {
639 label = "die_temp";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800640 reg = <8>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700641 qcom,decimation = <0>;
642 qcom,pre-div-channel-scaling = <0>;
643 qcom,calibration-type = "absolute";
644 qcom,scale-function = <3>;
645 qcom,hw-settle-time = <0>;
646 qcom,fast-avg-setup = <0>;
647 };
648
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700649 chan@9 {
650 label = "ref_625mv";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800651 reg = <9>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700652 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700653 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700654 qcom,calibration-type = "absolute";
655 qcom,scale-function = <0>;
656 qcom,hw-settle-time = <0>;
657 qcom,fast-avg-setup = <0>;
658 };
659
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800660 chan@a {
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700661 label = "ref_1250v";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800662 reg = <0xa>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700663 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700664 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700665 qcom,calibration-type = "absolute";
666 qcom,scale-function = <0>;
667 qcom,hw-settle-time = <0>;
668 qcom,fast-avg-setup = <0>;
669 };
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700670
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800671 chan@30 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700672 label = "batt_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800673 reg = <0x30>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700674 qcom,decimation = <0>;
675 qcom,pre-div-channel-scaling = <0>;
676 qcom,calibration-type = "ratiometric";
677 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800678 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700679 qcom,fast-avg-setup = <0>;
680 };
681
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800682 chan@31 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700683 label = "batt_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800684 reg = <0x31>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700685 qcom,decimation = <0>;
686 qcom,pre-div-channel-scaling = <0>;
687 qcom,calibration-type = "ratiometric";
688 qcom,scale-function = <0>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800689 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700690 qcom,fast-avg-setup = <0>;
691 };
692
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800693 chan@b2 {
Siddartha Mohanadoss3601d232012-09-14 16:01:39 -0700694 label = "xo_therm_pu2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800695 reg = <0xb2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700696 qcom,decimation = <0>;
697 qcom,pre-div-channel-scaling = <0>;
698 qcom,calibration-type = "ratiometric";
699 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800700 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700701 qcom,fast-avg-setup = <0>;
702 };
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700703
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800704 chan@b3 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700705 label = "msm_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800706 reg = <0xb3>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700707 qcom,decimation = <0>;
708 qcom,pre-div-channel-scaling = <0>;
709 qcom,calibration-type = "ratiometric";
710 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800711 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700712 qcom,fast-avg-setup = <0>;
713 };
714
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800715 chan@b4 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700716 label = "emmc_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800717 reg = <0xb4>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700718 qcom,decimation = <0>;
719 qcom,pre-div-channel-scaling = <0>;
720 qcom,calibration-type = "ratiometric";
721 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800722 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700723 qcom,fast-avg-setup = <0>;
724 };
725
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800726 chan@b5 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700727 label = "pa_therm1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800728 reg = <0xb5>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700729 qcom,decimation = <0>;
730 qcom,pre-div-channel-scaling = <0>;
731 qcom,calibration-type = "ratiometric";
732 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800733 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700734 qcom,fast-avg-setup = <0>;
735 };
736
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800737 chan@b7 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700738 label = "pa_therm2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800739 reg = <0xb7>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700740 qcom,decimation = <0>;
741 qcom,pre-div-channel-scaling = <0>;
742 qcom,calibration-type = "ratiometric";
743 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800744 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700745 qcom,fast-avg-setup = <0>;
746 };
747
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800748 chan@b8 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700749 label = "quiet_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800750 reg = <0xb8>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700751 qcom,decimation = <0>;
752 qcom,pre-div-channel-scaling = <0>;
753 qcom,calibration-type = "ratiometric";
754 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800755 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700756 qcom,fast-avg-setup = <0>;
757 };
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800758
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800759 chan@b9 {
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800760 label = "usb_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800761 reg = <0xb9>;
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800762 qcom,decimation = <0>;
763 qcom,pre-div-channel-scaling = <0>;
764 qcom,calibration-type = "ratiometric";
765 qcom,scale-function = <0>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800766 qcom,hw-settle-time = <2>;
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800767 qcom,fast-avg-setup = <0>;
768 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700769 };
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700770
771 iadc@3600 {
772 compatible = "qcom,qpnp-iadc";
773 reg = <0x3600 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800774 #address-cells = <1>;
775 #size-cells = <0>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700776 interrupts = <0x0 0x36 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800777 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700778 qcom,adc-bit-resolution = <16>;
779 qcom,adc-vdd-reference = <1800>;
780 qcom,rsense = <1500>;
781
782 chan@0 {
783 label = "internal_rsense";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800784 reg = <0>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700785 qcom,decimation = <0>;
786 qcom,pre-div-channel-scaling = <1>;
787 qcom,calibration-type = "absolute";
788 qcom,scale-function = <0>;
789 qcom,hw-settle-time = <0>;
790 qcom,fast-avg-setup = <0>;
791 };
792 };
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800793
794 qcom,vadc@3400 {
795 compatible = "qcom,qpnp-adc-tm";
796 reg = <0x3400 0x100>;
797 #address-cells = <1>;
798 #size-cells = <0>;
799 interrupts = <0x0 0x34 0x0>,
800 <0x0 0x34 0x3>,
801 <0x0 0x34 0x4>;
802 interrupt-names = "eoc-int-en-set",
803 "high-thr-en-set",
804 "low-thr-en-set";
805 qcom,adc-bit-resolution = <15>;
806 qcom,adc-vdd-reference = <1800>;
807
808 /* Channel Node */
809 chan@b9 {
810 label = "usb_id";
811 reg = <0xb9>;
812 qcom,decimation = <0>;
813 qcom,pre-div-channel-scaling = <0>;
814 qcom,calibration-type = "ratiometric";
815 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800816 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800817 qcom,fast-avg-setup = <0>;
818 qcom,btm-channel-number = <0x48>;
819 };
820
821 chan@30 {
822 label = "batt_therm";
823 reg = <0x30>;
824 qcom,decimation = <0>;
825 qcom,pre-div-channel-scaling = <0>;
826 qcom,calibration-type = "ratiometric";
827 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800828 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800829 qcom,fast-avg-setup = <0>;
830 qcom,btm-channel-number = <0x68>;
831 };
832
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700833 chan@8 {
834 label = "die_temp";
835 reg = <8>;
836 qcom,decimation = <0>;
837 qcom,pre-div-channel-scaling = <0>;
838 qcom,calibration-type = "absolute";
839 qcom,scale-function = <1>;
840 qcom,hw-settle-time = <0>;
841 qcom,fast-avg-setup = <0>;
842 qcom,btm-channel-number = <0x88>;
843 };
844
845 chan@6 {
846 label = "vbat_sns";
847 reg = <6>;
848 qcom,decimation = <0>;
849 qcom,pre-div-channel-scaling = <1>;
850 qcom,calibration-type = "absolute";
851 qcom,scale-function = <3>;
852 qcom,hw-settle-time = <0>;
853 qcom,fast-avg-setup = <0>;
854 qcom,btm-channel-number = <0x90>;
855 };
856
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800857 chan@b5 {
858 label = "pa_therm1";
859 reg = <0xb5>;
860 qcom,decimation = <0>;
861 qcom,pre-div-channel-scaling = <0>;
862 qcom,calibration-type = "absolute";
863 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800864 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800865 qcom,fast-avg-setup = <0>;
866 qcom,btm-channel-number = <0x70>;
Siddartha Mohanadoss192a8bd2013-03-25 09:30:12 -0700867 qcom,thermal-node;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800868 };
869
870 chan@b7 {
871 label = "pa_therm2";
872 reg = <0xb7>;
873 qcom,decimation = <0>;
874 qcom,pre-div-channel-scaling = <0>;
875 qcom,calibration-type = "ratiometric";
876 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800877 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800878 qcom,fast-avg-setup = <0>;
879 qcom,btm-channel-number = <0x78>;
Siddartha Mohanadoss192a8bd2013-03-25 09:30:12 -0700880 qcom,thermal-node;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800881 };
882
883 chan@b4 {
884 label = "emmc_therm";
885 reg = <0xb4>;
886 qcom,decimation = <0>;
887 qcom,pre-div-channel-scaling = <0>;
888 qcom,calibration-type = "ratiometric";
889 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800890 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800891 qcom,fast-avg-setup = <0>;
892 qcom,btm-channel-number = <0x80>;
Siddartha Mohanadoss192a8bd2013-03-25 09:30:12 -0700893 qcom,thermal-node;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800894 };
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700895
896 chan@b3 {
897 label = "msm_therm";
898 reg = <0xb3>;
899 qcom,decimation = <0>;
900 qcom,pre-div-channel-scaling = <0>;
901 qcom,calibration-type = "ratiometric";
902 qcom,scale-function = <2>;
903 qcom,hw-settle-time = <2>;
904 qcom,fast-avg-setup = <0>;
905 qcom,btm-channel-number = <0x98>;
906 qcom,thermal-node;
907 };
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800908 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700909 };
David Collins153d45a2012-03-26 11:57:50 -0700910
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700911 qcom,pm8941@1 {
912 spmi-slave-container;
913 reg = <0x1>;
914 #address-cells = <1>;
915 #size-cells = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700916
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700917 regulator@1400 {
918 regulator-name = "8941_s1";
919 spmi-dev-container;
920 #address-cells = <1>;
921 #size-cells = <1>;
922 compatible = "qcom,qpnp-regulator";
923 reg = <0x1400 0x300>;
924 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700925
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700926 qcom,ctl@1400 {
927 reg = <0x1400 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700928 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700929 qcom,ps@1500 {
930 reg = <0x1500 0x100>;
931 };
932 qcom,freq@1600 {
933 reg = <0x1600 0x100>;
934 };
935 };
David Collins153d45a2012-03-26 11:57:50 -0700936
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700937 regulator@1700 {
938 regulator-name = "8941_s2";
939 spmi-dev-container;
940 #address-cells = <1>;
941 #size-cells = <1>;
942 compatible = "qcom,qpnp-regulator";
943 reg = <0x1700 0x300>;
944 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700945
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700946 qcom,ctl@1700 {
947 reg = <0x1700 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700948 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700949 qcom,ps@1800 {
950 reg = <0x1800 0x100>;
951 };
952 qcom,freq@1900 {
953 reg = <0x1900 0x100>;
954 };
955 };
David Collins153d45a2012-03-26 11:57:50 -0700956
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700957 regulator@1a00 {
958 regulator-name = "8941_s3";
959 spmi-dev-container;
960 #address-cells = <1>;
961 #size-cells = <1>;
962 compatible = "qcom,qpnp-regulator";
Michael Bohand3253c72012-08-09 11:34:49 -0700963 reg = <0x1a00 0x300>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700964 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700965
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700966 qcom,ctl@1a00 {
967 reg = <0x1a00 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700968 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700969 qcom,ps@1b00 {
970 reg = <0x1b00 0x100>;
971 };
972 qcom,freq@1c00 {
973 reg = <0x1c00 0x100>;
974 };
975 };
David Collins153d45a2012-03-26 11:57:50 -0700976
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700977 regulator@a000 {
978 regulator-name = "8941_boost";
979 reg = <0xa000 0x100>;
980 compatible = "qcom,qpnp-regulator";
981 status = "disabled";
982 };
David Collins153d45a2012-03-26 11:57:50 -0700983
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700984 regulator@4000 {
985 regulator-name = "8941_l1";
986 reg = <0x4000 0x100>;
987 compatible = "qcom,qpnp-regulator";
988 status = "disabled";
989 };
David Collins153d45a2012-03-26 11:57:50 -0700990
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700991 regulator@4100 {
992 regulator-name = "8941_l2";
993 reg = <0x4100 0x100>;
994 compatible = "qcom,qpnp-regulator";
995 status = "disabled";
996 };
David Collins153d45a2012-03-26 11:57:50 -0700997
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700998 regulator@4200 {
999 regulator-name = "8941_l3";
1000 reg = <0x4200 0x100>;
1001 compatible = "qcom,qpnp-regulator";
1002 status = "disabled";
1003 };
David Collins153d45a2012-03-26 11:57:50 -07001004
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001005 regulator@4300 {
1006 regulator-name = "8941_l4";
1007 reg = <0x4300 0x100>;
1008 compatible = "qcom,qpnp-regulator";
1009 status = "disabled";
1010 };
David Collins153d45a2012-03-26 11:57:50 -07001011
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001012 regulator@4400 {
1013 regulator-name = "8941_l5";
1014 reg = <0x4400 0x100>;
1015 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -07001016 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001017 status = "disabled";
1018 };
David Collins153d45a2012-03-26 11:57:50 -07001019
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001020 regulator@4500 {
1021 regulator-name = "8941_l6";
1022 reg = <0x4500 0x100>;
1023 compatible = "qcom,qpnp-regulator";
1024 status = "disabled";
1025 };
David Collins153d45a2012-03-26 11:57:50 -07001026
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001027 regulator@4600 {
1028 regulator-name = "8941_l7";
1029 reg = <0x4600 0x100>;
1030 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -07001031 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001032 status = "disabled";
1033 };
David Collins153d45a2012-03-26 11:57:50 -07001034
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001035 regulator@4700 {
1036 regulator-name = "8941_l8";
1037 reg = <0x4700 0x100>;
1038 compatible = "qcom,qpnp-regulator";
1039 status = "disabled";
1040 };
David Collins153d45a2012-03-26 11:57:50 -07001041
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001042 regulator@4800 {
1043 regulator-name = "8941_l9";
1044 reg = <0x4800 0x100>;
1045 compatible = "qcom,qpnp-regulator";
1046 status = "disabled";
1047 };
David Collins153d45a2012-03-26 11:57:50 -07001048
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001049 regulator@4900 {
1050 regulator-name = "8941_l10";
1051 reg = <0x4900 0x100>;
1052 compatible = "qcom,qpnp-regulator";
1053 status = "disabled";
1054 };
David Collins153d45a2012-03-26 11:57:50 -07001055
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001056 regulator@4a00 {
1057 regulator-name = "8941_l11";
1058 reg = <0x4a00 0x100>;
1059 compatible = "qcom,qpnp-regulator";
1060 status = "disabled";
1061 };
David Collins153d45a2012-03-26 11:57:50 -07001062
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001063 regulator@4b00 {
1064 regulator-name = "8941_l12";
1065 reg = <0x4b00 0x100>;
1066 compatible = "qcom,qpnp-regulator";
1067 status = "disabled";
1068 };
David Collins153d45a2012-03-26 11:57:50 -07001069
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001070 regulator@4c00 {
1071 regulator-name = "8941_l13";
1072 reg = <0x4c00 0x100>;
1073 compatible = "qcom,qpnp-regulator";
1074 status = "disabled";
1075 };
David Collins153d45a2012-03-26 11:57:50 -07001076
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001077 regulator@4d00 {
1078 regulator-name = "8941_l14";
1079 reg = <0x4d00 0x100>;
1080 compatible = "qcom,qpnp-regulator";
1081 status = "disabled";
1082 };
1083
1084 regulator@4e00 {
1085 regulator-name = "8941_l15";
1086 reg = <0x4e00 0x100>;
1087 compatible = "qcom,qpnp-regulator";
1088 status = "disabled";
1089 };
1090
1091 regulator@4f00 {
1092 regulator-name = "8941_l16";
1093 reg = <0x4f00 0x100>;
1094 compatible = "qcom,qpnp-regulator";
1095 status = "disabled";
1096 };
1097
1098 regulator@5000 {
1099 regulator-name = "8941_l17";
1100 reg = <0x5000 0x100>;
1101 compatible = "qcom,qpnp-regulator";
1102 status = "disabled";
1103 };
1104
1105 regulator@5100 {
1106 regulator-name = "8941_l18";
1107 reg = <0x5100 0x100>;
1108 compatible = "qcom,qpnp-regulator";
1109 status = "disabled";
1110 };
1111
1112 regulator@5200 {
1113 regulator-name = "8941_l19";
1114 reg = <0x5200 0x100>;
1115 compatible = "qcom,qpnp-regulator";
1116 status = "disabled";
1117 };
1118
1119 regulator@5300 {
1120 regulator-name = "8941_l20";
1121 reg = <0x5300 0x100>;
1122 compatible = "qcom,qpnp-regulator";
1123 status = "disabled";
1124 };
1125
1126 regulator@5400 {
1127 regulator-name = "8941_l21";
1128 reg = <0x5400 0x100>;
1129 compatible = "qcom,qpnp-regulator";
1130 status = "disabled";
1131 };
1132
1133 regulator@5500 {
1134 regulator-name = "8941_l22";
1135 reg = <0x5500 0x100>;
1136 compatible = "qcom,qpnp-regulator";
1137 status = "disabled";
1138 };
1139
1140 regulator@5600 {
1141 regulator-name = "8941_l23";
1142 reg = <0x5600 0x100>;
1143 compatible = "qcom,qpnp-regulator";
1144 status = "disabled";
1145 };
1146
1147 regulator@5700 {
1148 regulator-name = "8941_l24";
1149 reg = <0x5700 0x100>;
1150 compatible = "qcom,qpnp-regulator";
1151 status = "disabled";
1152 };
1153
1154 regulator@8000 {
1155 regulator-name = "8941_lvs1";
1156 reg = <0x8000 0x100>;
1157 compatible = "qcom,qpnp-regulator";
1158 status = "disabled";
1159 };
1160
1161 regulator@8100 {
1162 regulator-name = "8941_lvs2";
1163 reg = <0x8100 0x100>;
1164 compatible = "qcom,qpnp-regulator";
1165 status = "disabled";
1166 };
1167
1168 regulator@8200 {
1169 regulator-name = "8941_lvs3";
1170 reg = <0x8200 0x100>;
1171 compatible = "qcom,qpnp-regulator";
1172 status = "disabled";
1173 };
1174
1175 regulator@8300 {
1176 regulator-name = "8941_mvs1";
1177 reg = <0x8300 0x100>;
1178 compatible = "qcom,qpnp-regulator";
1179 status = "disabled";
1180 };
1181
1182 regulator@8400 {
1183 regulator-name = "8941_mvs2";
1184 reg = <0x8400 0x100>;
1185 compatible = "qcom,qpnp-regulator";
1186 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -07001187 };
Amy Maloche02a5eae2012-08-10 21:33:59 -07001188
Amy Malochec9aa2cb2012-11-07 12:22:58 -08001189 qcom,vibrator@c000 {
1190 compatible = "qcom,qpnp-vibrator";
1191 reg = <0xc000 0x100>;
1192 label = "vibrator";
1193 status = "disabled";
1194 };
1195
Amy Maloche4f0b0462012-09-17 12:09:49 -07001196 qcom,leds@d000 {
1197 compatible = "qcom,leds-qpnp";
1198 reg = <0xd000 0x100>;
1199 label = "rgb";
1200 };
1201
1202 qcom,leds@d100 {
1203 compatible = "qcom,leds-qpnp";
1204 reg = <0xd100 0x100>;
1205 label = "rgb";
1206 };
1207
1208 qcom,leds@d200 {
1209 compatible = "qcom,leds-qpnp";
1210 reg = <0xd200 0x100>;
1211 label = "rgb";
1212 };
1213
Amy Maloche2b8b79b2012-10-22 10:36:04 -07001214 qcom,leds@d300 {
1215 compatible = "qcom,leds-qpnp";
1216 reg = <0xd300 0x100>;
1217 label = "flash";
1218 };
1219
1220 qcom,leds@d400 {
1221 compatible = "qcom,leds-qpnp";
1222 reg = <0xd400 0x100>;
1223 label = "flash";
1224 };
1225
1226 qcom,leds@d500 {
1227 compatible = "qcom,leds-qpnp";
1228 reg = <0xd500 0x100>;
1229 label = "flash";
1230 };
1231
1232 qcom,leds@d600 {
1233 compatible = "qcom,leds-qpnp";
1234 reg = <0xd600 0x100>;
1235 label = "flash";
1236 };
1237
1238 qcom,leds@d700 {
1239 compatible = "qcom,leds-qpnp";
1240 reg = <0xd700 0x100>;
1241 label = "flash";
1242 };
1243
Amy Maloche02a5eae2012-08-10 21:33:59 -07001244 qcom,leds@d800 {
1245 compatible = "qcom,leds-qpnp";
1246 reg = <0xd800 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001247 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001248 };
1249
1250 qcom,leds@d900 {
1251 compatible = "qcom,leds-qpnp";
1252 reg = <0xd900 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001253 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001254 };
1255
1256 qcom,leds@da00 {
1257 compatible = "qcom,leds-qpnp";
1258 reg = <0xda00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001259 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001260 };
1261
1262 qcom,leds@db00 {
1263 compatible = "qcom,leds-qpnp";
1264 reg = <0xdb00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001265 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001266 };
1267
1268 qcom,leds@dc00 {
1269 compatible = "qcom,leds-qpnp";
1270 reg = <0xdc00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001271 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001272 };
1273
1274 qcom,leds@dd00 {
1275 compatible = "qcom,leds-qpnp";
1276 reg = <0xdd00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001277 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001278 };
1279
1280 qcom,leds@de00 {
1281 compatible = "qcom,leds-qpnp";
1282 reg = <0xde00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001283 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001284 };
1285
1286 qcom,leds@df00 {
1287 compatible = "qcom,leds-qpnp";
1288 reg = <0xdf00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001289 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001290 };
1291
1292 qcom,leds@e000 {
1293 compatible = "qcom,leds-qpnp";
1294 reg = <0xe000 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001295 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001296 };
1297
1298 qcom,leds@e100 {
1299 compatible = "qcom,leds-qpnp";
1300 reg = <0xe100 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001301 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001302 };
1303
Jay Chokshi6254a162012-05-07 12:38:14 -07001304 pwm@b100 {
1305 compatible = "qcom,qpnp-pwm";
1306 reg = <0xb100 0x100>,
1307 <0xb042 0x7e>;
1308 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1309 qcom,channel-id = <0>;
1310 };
1311
1312 pwm@b200 {
1313 compatible = "qcom,qpnp-pwm";
1314 reg = <0xb200 0x100>,
1315 <0xb042 0x7e>;
1316 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1317 qcom,channel-id = <1>;
1318 };
1319
1320 pwm@b300 {
1321 compatible = "qcom,qpnp-pwm";
1322 reg = <0xb300 0x100>,
1323 <0xb042 0x7e>;
1324 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1325 qcom,channel-id = <2>;
1326 };
1327
1328 pwm@b400 {
1329 compatible = "qcom,qpnp-pwm";
1330 reg = <0xb400 0x100>,
1331 <0xb042 0x7e>;
1332 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1333 qcom,channel-id = <3>;
1334 };
1335
1336 pwm@b500 {
1337 compatible = "qcom,qpnp-pwm";
1338 reg = <0xb500 0x100>,
1339 <0xb042 0x7e>;
1340 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1341 qcom,channel-id = <4>;
1342 };
1343
1344 pwm@b600 {
1345 compatible = "qcom,qpnp-pwm";
1346 reg = <0xb600 0x100>,
1347 <0xb042 0x7e>;
1348 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1349 qcom,channel-id = <5>;
1350 };
1351
1352 pwm@b700 {
1353 compatible = "qcom,qpnp-pwm";
1354 reg = <0xb700 0x100>,
1355 <0xb042 0x7e>;
1356 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1357 qcom,channel-id = <6>;
1358 };
1359
1360 pwm@b800 {
1361 compatible = "qcom,qpnp-pwm";
1362 reg = <0xb800 0x100>,
1363 <0xb042 0x7e>;
1364 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1365 qcom,channel-id = <7>;
1366 };
David Collins153d45a2012-03-26 11:57:50 -07001367 };
1368};