blob: 2886038705ad80ee71ed684635586ab4a3d1c907 [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 Collinsfaafdf52012-10-10 17:10:22 -070025 qcom,temp-alarm@2400 {
26 compatible = "qcom,qpnp-temp-alarm";
27 reg = <0x2400 0x100>;
28 interrupts = <0x0 0x24 0x0>;
29 label = "pm8941_tz";
30 qcom,channel-num = <8>;
31 qcom,threshold-set = <0>;
32 };
33
Anirudh Ghayal19cf4982012-07-16 11:10:17 +053034 qcom,power-on@800 {
35 compatible = "qcom,qpnp-power-on";
36 reg = <0x800 0x100>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053037 interrupts = <0x0 0x8 0x0>,
38 <0x0 0x8 0x1>,
39 <0x0 0x8 0x4>;
40 interrupt-names = "kpdpwr", "resin", "resin-bark";
41 qcom,pon-dbc-delay = <15625>;
Michael Bohane7204222012-09-07 10:21:18 -070042 qcom,system-reset;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053043
44 qcom,pon_1 {
45 qcom,pon-type = <0>;
46 qcom,pull-up = <1>;
47 linux,code = <116>;
48 };
49
50 qcom,pon_2 {
51 qcom,pon-type = <1>;
Anirudh Ghayal579709662012-08-13 12:57:05 +053052 qcom,support-reset = <1>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053053 qcom,pull-up = <1>;
Anirudh Ghayal579709662012-08-13 12:57:05 +053054 qcom,s1-timer = <0>;
55 qcom,s2-timer = <2000>;
56 qcom,s2-type = <1>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053057 linux,code = <114>;
58 };
Anirudh Ghayal19cf4982012-07-16 11:10:17 +053059 };
60
Xiaozhe Shic40b3972012-11-30 14:11:16 -080061 pm8941_bms: qcom,bms {
62 spmi-dev-container;
63 compatible = "qcom,qpnp-bms";
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -070064 #address-cells = <1>;
65 #size-cells = <1>;
Xiaozhe Shi03a44bf2012-11-12 15:59:27 -080066 status = "disabled";
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -070067
Xiaozhe Shi9bd24622013-01-23 15:54:54 -080068 qcom,r-sense-uohm = <10000>;
69 qcom,v-cutoff-uv = <3400000>;
70 qcom,max-voltage-uv = <4200000>;
71 qcom,r-conn-mohm = <18>;
72 qcom,shutdown-soc-valid-limit = <20>;
73 qcom,adjust-soc-low-threshold = <25>;
74 qcom,adjust-soc-high-threshold = <45>;
75 qcom,ocv-voltage-high-threshold-uv = <3750000>;
76 qcom,ocv-voltage-low-threshold-uv = <3650000>;
77 qcom,low-soc-calculate-soc-threshold = <15>;
78 qcom,low-soc-calculate-soc-ms = <5000>;
79 qcom,calculate-soc-ms = <20000>;
80 qcom,chg-term-ua = <100000>;
81 qcom,batt-type = <0>;
Xiaozhe Shic40b3972012-11-30 14:11:16 -080082
83 qcom,bms-iadc@3800 {
84 reg = <0x3800 0x100>;
85 };
86
87 qcom,bms-bms@4000 {
88 reg = <0x4000 0x100>;
89 interrupts = <0x0 0x40 0x0>,
90 <0x0 0x40 0x1>,
91 <0x0 0x40 0x2>,
92 <0x0 0x40 0x3>,
93 <0x0 0x40 0x4>,
94 <0x0 0x40 0x5>,
95 <0x0 0x40 0x6>,
96 <0x0 0x40 0x7>;
97
98 interrupt-names = "vsense_for_r",
99 "vsense_avg",
100 "sw_cc_thr",
101 "ocv_thr",
102 "charge_begin",
103 "good_ocv",
104 "ocv_for_r",
105 "cc_thr";
106 };
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -0700107 };
108
Michael Bohanee1f8fe2012-08-03 18:32:16 -0700109 clkdiv@5b00 {
110 reg = <0x5b00 0x100>;
111 compatible = "qcom,qpnp-clkdiv";
112 qcom,cxo-freq = <19200000>;
113 };
114
115 clkdiv@5c00 {
116 reg = <0x5c00 0x100>;
117 compatible = "qcom,qpnp-clkdiv";
118 qcom,cxo-freq = <19200000>;
119 };
120
121 clkdiv@5d00 {
122 reg = <0x5d00 0x1000>;
123 compatible = "qcom,qpnp-clkdiv";
124 qcom,cxo-freq = <19200000>;
125 };
126
David Keitela7a71732012-09-24 12:30:44 -0700127 pm8941_chg: qcom,charger {
David Keitel6adff102012-07-27 14:24:00 -0700128 spmi-dev-container;
129 compatible = "qcom,qpnp-charger";
130 #address-cells = <1>;
131 #size-cells = <1>;
David Keitela7a71732012-09-24 12:30:44 -0700132 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700133
134 qcom,chg-vddmax-mv = <4200>;
135 qcom,chg-vddsafe-mv = <4200>;
136 qcom,chg-vinmin-mv = <4200>;
David Keitel5d44fa52012-12-03 16:37:31 -0800137 qcom,chg-vbatdet-mv = <4100>;
David Keitel6adff102012-07-27 14:24:00 -0700138 qcom,chg-ibatmax-ma = <1500>;
139 qcom,chg-ibatterm-ma = <200>;
David Keitel5d44fa52012-12-03 16:37:31 -0800140 qcom,chg-ibatsafe-ma = <1500>;
David Keitelc6dd5342013-01-31 14:51:44 -0800141 qcom,chg-thermal-mitigation = <1500 700 600 325>;
David Keitel6adff102012-07-27 14:24:00 -0700142
143 qcom,chg-chgr@1000 {
David Keitela7a71732012-09-24 12:30:44 -0700144 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700145 reg = <0x1000 0x100>;
146 interrupts = <0x0 0x10 0x0>,
147 <0x0 0x10 0x1>,
148 <0x0 0x10 0x2>,
149 <0x0 0x10 0x3>,
150 <0x0 0x10 0x4>,
151 <0x0 0x10 0x5>,
152 <0x0 0x10 0x6>,
153 <0x0 0x10 0x7>;
154
David Keitel0cba0992012-10-30 06:21:10 -0700155 interrupt-names = "vbat-det-lo",
David Keitel6adff102012-07-27 14:24:00 -0700156 "vbat-det-hi",
David Keitel0cba0992012-10-30 06:21:10 -0700157 "chgwdog",
158 "state-change",
159 "trkl-chg-on",
160 "fast-chg-on",
161 "chg-failed",
162 "chg-done";
David Keitel6adff102012-07-27 14:24:00 -0700163 };
164
165 qcom,chg-buck@1100 {
David Keitela7a71732012-09-24 12:30:44 -0700166 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700167 reg = <0x1100 0x100>;
168 interrupts = <0x0 0x11 0x0>,
169 <0x0 0x11 0x1>,
170 <0x0 0x11 0x2>,
171 <0x0 0x11 0x3>,
172 <0x0 0x11 0x4>,
173 <0x0 0x11 0x5>,
174 <0x0 0x11 0x6>;
175
David Keitel0cba0992012-10-30 06:21:10 -0700176 interrupt-names = "vbat-ov",
177 "vreg-ov",
David Keitel6adff102012-07-27 14:24:00 -0700178 "overtemp",
David Keitel0cba0992012-10-30 06:21:10 -0700179 "vchg-loop",
180 "ichg-loop",
181 "ibat-loop",
182 "vdd-loop";
David Keitel6adff102012-07-27 14:24:00 -0700183 };
184
185 qcom,chg-bat-if@1200 {
David Keitela7a71732012-09-24 12:30:44 -0700186 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700187 reg = <0x1200 0x100>;
188 interrupts = <0x0 0x12 0x0>,
189 <0x0 0x12 0x1>,
190 <0x0 0x12 0x2>,
191 <0x0 0x12 0x3>,
192 <0x0 0x12 0x4>;
193
David Keitel0cba0992012-10-30 06:21:10 -0700194 interrupt-names = "batt-pres",
David Keitel6adff102012-07-27 14:24:00 -0700195 "bat-temp-ok",
David Keitel0cba0992012-10-30 06:21:10 -0700196 "bat-fet-on",
197 "vcp-on",
198 "psi";
199
David Keitel6adff102012-07-27 14:24:00 -0700200 };
201
202 qcom,chg-usb-chgpth@1300 {
David Keitela7a71732012-09-24 12:30:44 -0700203 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700204 reg = <0x1300 0x100>;
205 interrupts = <0 0x13 0x0>,
206 <0 0x13 0x1>,
207 <0x0 0x13 0x2>;
208
David Keitel4429b1f2012-10-18 10:42:50 -0700209 interrupt-names = "coarse-det-usb",
210 "usbin-valid",
David Keitel6adff102012-07-27 14:24:00 -0700211 "chg-gone";
212 };
213
214 qcom,chg-dc-chgpth@1400 {
David Keitela7a71732012-09-24 12:30:44 -0700215 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700216 reg = <0x1400 0x100>;
217 interrupts = <0x0 0x14 0x0>,
218 <0x0 0x14 0x1>;
219
David Keitel0cba0992012-10-30 06:21:10 -0700220 interrupt-names = "coarse-det-dc",
221 "dcin-valid";
David Keitel6adff102012-07-27 14:24:00 -0700222 };
223
224 qcom,chg-boost@1500 {
David Keitela7a71732012-09-24 12:30:44 -0700225 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700226 reg = <0x1500 0x100>;
227 interrupts = <0x0 0x15 0x0>,
228 <0x0 0x15 0x1>;
229
David Keitel0cba0992012-10-30 06:21:10 -0700230 interrupt-names = "boost-pwr-ok",
231 "limit-error";
David Keitel6adff102012-07-27 14:24:00 -0700232 };
233
234 qcom,chg-misc@1600 {
David Keitela7a71732012-09-24 12:30:44 -0700235 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700236 reg = <0x1600 0x100>;
237 };
238 };
239
Michael Bohand5ea7242012-10-01 18:01:51 -0700240 pm8941_gpios: gpios {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700241 spmi-dev-container;
242 compatible = "qcom,qpnp-pin";
243 gpio-controller;
244 #gpio-cells = <2>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700245 #address-cells = <1>;
246 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700247 label = "pm8941-gpio";
Michael Bohan8b909b42012-04-18 17:39:12 -0700248
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700249 gpio@c000 {
250 reg = <0xc000 0x100>;
251 qcom,pin-num = <1>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700252 };
Michael Bohan5085a052012-06-11 13:27:34 -0700253
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700254 gpio@c100 {
255 reg = <0xc100 0x100>;
256 qcom,pin-num = <2>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700257 };
Michael Bohan5085a052012-06-11 13:27:34 -0700258
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700259 gpio@c200 {
260 reg = <0xc200 0x100>;
261 qcom,pin-num = <3>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700262 };
Michael Bohan5085a052012-06-11 13:27:34 -0700263
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700264 gpio@c300 {
265 reg = <0xc300 0x100>;
266 qcom,pin-num = <4>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700267 };
Michael Bohan5085a052012-06-11 13:27:34 -0700268
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700269 gpio@c400 {
270 reg = <0xc400 0x100>;
271 qcom,pin-num = <5>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700272 };
Michael Bohan5085a052012-06-11 13:27:34 -0700273
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700274 gpio@c500 {
275 reg = <0xc500 0x100>;
276 qcom,pin-num = <6>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700277 };
Michael Bohan5085a052012-06-11 13:27:34 -0700278
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700279 gpio@c600 {
280 reg = <0xc600 0x100>;
281 qcom,pin-num = <7>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700282 };
Michael Bohan5085a052012-06-11 13:27:34 -0700283
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700284 gpio@c700 {
285 reg = <0xc700 0x100>;
286 qcom,pin-num = <8>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700287 };
Michael Bohan5085a052012-06-11 13:27:34 -0700288
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700289 gpio@c800 {
290 reg = <0xc800 0x100>;
291 qcom,pin-num = <9>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700292 };
Michael Bohan5085a052012-06-11 13:27:34 -0700293
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700294 gpio@c900 {
295 reg = <0xc900 0x100>;
296 qcom,pin-num = <10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700297 };
298
299 gpio@ca00 {
300 reg = <0xca00 0x100>;
301 qcom,pin-num = <11>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700302 };
303
304 gpio@cb00 {
305 reg = <0xcb00 0x100>;
306 qcom,pin-num = <12>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700307 };
308
309 gpio@cc00 {
310 reg = <0xcc00 0x100>;
311 qcom,pin-num = <13>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700312 };
313
314 gpio@cd00 {
315 reg = <0xcd00 0x100>;
316 qcom,pin-num = <14>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700317 };
318
319 gpio@ce00 {
320 reg = <0xce00 0x100>;
321 qcom,pin-num = <15>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700322 };
323
324 gpio@cf00 {
325 reg = <0xcf00 0x100>;
326 qcom,pin-num = <16>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700327 };
328
329 gpio@d000 {
330 reg = <0xd000 0x100>;
331 qcom,pin-num = <17>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700332 };
333
334 gpio@d100 {
335 reg = <0xd100 0x100>;
336 qcom,pin-num = <18>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700337 };
338
339 gpio@d200 {
340 reg = <0xd200 0x100>;
341 qcom,pin-num = <19>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700342 };
343
344 gpio@d300 {
345 reg = <0xd300 0x100>;
346 qcom,pin-num = <20>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700347 };
348
349 gpio@d400 {
350 reg = <0xd400 0x100>;
351 qcom,pin-num = <21>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700352 };
353
354 gpio@d500 {
355 reg = <0xd500 0x100>;
356 qcom,pin-num = <22>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700357 };
358
359 gpio@d600 {
360 reg = <0xd600 0x100>;
361 qcom,pin-num = <23>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700362 };
363
364 gpio@d700 {
365 reg = <0xd700 0x100>;
366 qcom,pin-num = <24>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700367 };
368
369 gpio@d800 {
370 reg = <0xd800 0x100>;
371 qcom,pin-num = <25>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700372 };
373
374 gpio@d900 {
375 reg = <0xd900 0x100>;
376 qcom,pin-num = <26>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700377 };
378
379 gpio@da00 {
380 reg = <0xda00 0x100>;
381 qcom,pin-num = <27>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700382 };
383
384 gpio@db00 {
385 reg = <0xdb00 0x100>;
386 qcom,pin-num = <28>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700387 };
388
389 gpio@dc00 {
390 reg = <0xdc00 0x100>;
391 qcom,pin-num = <29>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700392 };
393
394 gpio@dd00 {
395 reg = <0xdd00 0x100>;
396 qcom,pin-num = <30>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700397 };
398
399 gpio@de00 {
400 reg = <0xde00 0x100>;
401 qcom,pin-num = <31>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700402 };
403
404 gpio@df00 {
405 reg = <0xdf00 0x100>;
406 qcom,pin-num = <32>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700407 };
408
409 gpio@e000 {
410 reg = <0xe000 0x100>;
411 qcom,pin-num = <33>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700412 };
413
414 gpio@e100 {
415 reg = <0xe100 0x100>;
416 qcom,pin-num = <34>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700417 };
418
419 gpio@e200 {
420 reg = <0xe200 0x100>;
421 qcom,pin-num = <35>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700422 };
423
424 gpio@e300 {
425 reg = <0xe300 0x100>;
426 qcom,pin-num = <36>;
Michael Bohan5085a052012-06-11 13:27:34 -0700427 };
Michael Bohan8b909b42012-04-18 17:39:12 -0700428 };
429
Michael Bohand5ea7242012-10-01 18:01:51 -0700430 pm8941_mpps: mpps {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700431 spmi-dev-container;
432 compatible = "qcom,qpnp-pin";
433 gpio-controller;
434 #gpio-cells = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700435 #address-cells = <1>;
436 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700437 label = "pm8941-mpp";
David Collins153d45a2012-03-26 11:57:50 -0700438
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700439 mpp@a000 {
David Collins32f825f2012-06-06 09:49:24 -0700440 reg = <0xa000 0x100>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700441 qcom,pin-num = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700442 };
443
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700444 mpp@a100 {
445 reg = <0xa100 0x100>;
446 qcom,pin-num = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700447 };
448
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700449 mpp@a200 {
450 reg = <0xa200 0x100>;
451 qcom,pin-num = <3>;
David Collins153d45a2012-03-26 11:57:50 -0700452 };
453
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700454 mpp@a300 {
455 reg = <0xa300 0x100>;
456 qcom,pin-num = <4>;
David Collins153d45a2012-03-26 11:57:50 -0700457 };
458
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700459 mpp@a400 {
460 reg = <0xa400 0x100>;
461 qcom,pin-num = <5>;
David Collins153d45a2012-03-26 11:57:50 -0700462 };
463
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700464 mpp@a500 {
465 reg = <0xa500 0x100>;
466 qcom,pin-num = <6>;
David Collins153d45a2012-03-26 11:57:50 -0700467 };
468
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700469 mpp@a600 {
470 reg = <0xa600 0x100>;
471 qcom,pin-num = <7>;
David Collins153d45a2012-03-26 11:57:50 -0700472 };
473
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700474 mpp@a700 {
475 reg = <0xa700 0x100>;
476 qcom,pin-num = <8>;
David Collins153d45a2012-03-26 11:57:50 -0700477 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700478 };
Ashay Jaiswal93ad9702012-07-17 15:12:33 +0530479
480 qcom,pm8941_rtc {
481 spmi-dev-container;
482 compatible = "qcom,qpnp-rtc";
483 #address-cells = <1>;
484 #size-cells = <1>;
485 qcom,qpnp-rtc-write = <0>;
486 qcom,qpnp-rtc-alarm-pwrup = <0>;
487
488 qcom,pm8941_rtc_rw@6000 {
489 reg = <0x6000 0x100>;
490 };
491 qcom,pm8941_rtc_alarm@6100 {
492 reg = <0x6100 0x100>;
493 interrupts = <0x0 0x61 0x1>;
494 };
495 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700496
497 vadc@3100 {
498 compatible = "qcom,qpnp-vadc";
499 reg = <0x3100 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800500 #address-cells = <1>;
501 #size-cells = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700502 interrupts = <0x0 0x31 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800503 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700504 qcom,adc-bit-resolution = <15>;
505 qcom,adc-vdd-reference = <1800>;
506
507 chan@0 {
508 label = "usb_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800509 reg = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700510 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700511 qcom,pre-div-channel-scaling = <4>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700512 qcom,calibration-type = "absolute";
513 qcom,scale-function = <0>;
514 qcom,hw-settle-time = <0>;
515 qcom,fast-avg-setup = <0>;
516 };
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700517
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700518 chan@1 {
519 label = "dc_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800520 reg = <1>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700521 qcom,decimation = <0>;
522 qcom,pre-div-channel-scaling = <4>;
523 qcom,calibration-type = "absolute";
524 qcom,scale-function = <0>;
525 qcom,hw-settle-time = <0>;
526 qcom,fast-avg-setup = <0>;
527 };
528
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700529 chan@2 {
530 label = "vchg_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800531 reg = <2>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700532 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700533 qcom,pre-div-channel-scaling = <3>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700534 qcom,calibration-type = "absolute";
535 qcom,scale-function = <0>;
536 qcom,hw-settle-time = <0>;
537 qcom,fast-avg-setup = <0>;
538 };
539
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700540 chan@3 {
541 label = "spare1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800542 reg = <3>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700543 qcom,decimation = <0>;
544 qcom,pre-div-channel-scaling = <6>;
545 qcom,calibration-type = "absolute";
546 qcom,scale-function = <0>;
547 qcom,hw-settle-time = <0>;
548 qcom,fast-avg-setup = <0>;
549 };
550
551 chan@4 {
552 label = "spare2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800553 reg = <4>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700554 qcom,decimation = <0>;
555 qcom,pre-div-channel-scaling = <6>;
556 qcom,calibration-type = "absolute";
557 qcom,scale-function = <0>;
558 qcom,hw-settle-time = <0>;
559 qcom,fast-avg-setup = <0>;
560 };
561
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700562 chan@5 {
563 label = "vcoin";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800564 reg = <5>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700565 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700566 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700567 qcom,calibration-type = "absolute";
568 qcom,scale-function = <0>;
569 qcom,hw-settle-time = <0>;
570 qcom,fast-avg-setup = <0>;
571 };
572
573 chan@6 {
574 label = "vbat_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800575 reg = <6>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700576 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700577 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700578 qcom,calibration-type = "absolute";
579 qcom,scale-function = <0>;
580 qcom,hw-settle-time = <0>;
581 qcom,fast-avg-setup = <0>;
582 };
583
584 chan@7 {
585 label = "vph_pwr";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800586 reg = <7>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700587 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700588 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700589 qcom,calibration-type = "absolute";
590 qcom,scale-function = <0>;
591 qcom,hw-settle-time = <0>;
592 qcom,fast-avg-setup = <0>;
593 };
594
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700595 chan@8 {
596 label = "die_temp";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800597 reg = <8>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700598 qcom,decimation = <0>;
599 qcom,pre-div-channel-scaling = <0>;
600 qcom,calibration-type = "absolute";
601 qcom,scale-function = <3>;
602 qcom,hw-settle-time = <0>;
603 qcom,fast-avg-setup = <0>;
604 };
605
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700606 chan@9 {
607 label = "ref_625mv";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800608 reg = <9>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700609 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700610 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700611 qcom,calibration-type = "absolute";
612 qcom,scale-function = <0>;
613 qcom,hw-settle-time = <0>;
614 qcom,fast-avg-setup = <0>;
615 };
616
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800617 chan@a {
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700618 label = "ref_1250v";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800619 reg = <0xa>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700620 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700621 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700622 qcom,calibration-type = "absolute";
623 qcom,scale-function = <0>;
624 qcom,hw-settle-time = <0>;
625 qcom,fast-avg-setup = <0>;
626 };
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700627
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800628 chan@30 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700629 label = "batt_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800630 reg = <0x30>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700631 qcom,decimation = <0>;
632 qcom,pre-div-channel-scaling = <0>;
633 qcom,calibration-type = "ratiometric";
634 qcom,scale-function = <1>;
635 qcom,hw-settle-time = <0>;
636 qcom,fast-avg-setup = <0>;
637 };
638
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800639 chan@31 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700640 label = "batt_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800641 reg = <0x31>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700642 qcom,decimation = <0>;
643 qcom,pre-div-channel-scaling = <0>;
644 qcom,calibration-type = "ratiometric";
645 qcom,scale-function = <0>;
646 qcom,hw-settle-time = <0>;
647 qcom,fast-avg-setup = <0>;
648 };
649
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800650 chan@b2 {
Siddartha Mohanadoss3601d232012-09-14 16:01:39 -0700651 label = "xo_therm_pu2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800652 reg = <0xb2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700653 qcom,decimation = <0>;
654 qcom,pre-div-channel-scaling = <0>;
655 qcom,calibration-type = "ratiometric";
656 qcom,scale-function = <4>;
657 qcom,hw-settle-time = <0>;
658 qcom,fast-avg-setup = <0>;
659 };
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700660
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800661 chan@b3 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700662 label = "msm_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800663 reg = <0xb3>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700664 qcom,decimation = <0>;
665 qcom,pre-div-channel-scaling = <0>;
666 qcom,calibration-type = "ratiometric";
667 qcom,scale-function = <2>;
668 qcom,hw-settle-time = <0>;
669 qcom,fast-avg-setup = <0>;
670 };
671
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800672 chan@b4 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700673 label = "emmc_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800674 reg = <0xb4>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700675 qcom,decimation = <0>;
676 qcom,pre-div-channel-scaling = <0>;
677 qcom,calibration-type = "ratiometric";
678 qcom,scale-function = <2>;
679 qcom,hw-settle-time = <0>;
680 qcom,fast-avg-setup = <0>;
681 };
682
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800683 chan@b5 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700684 label = "pa_therm1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800685 reg = <0xb5>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700686 qcom,decimation = <0>;
687 qcom,pre-div-channel-scaling = <0>;
688 qcom,calibration-type = "ratiometric";
689 qcom,scale-function = <2>;
690 qcom,hw-settle-time = <0>;
691 qcom,fast-avg-setup = <0>;
692 };
693
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800694 chan@b7 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700695 label = "pa_therm2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800696 reg = <0xb7>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700697 qcom,decimation = <0>;
698 qcom,pre-div-channel-scaling = <0>;
699 qcom,calibration-type = "ratiometric";
700 qcom,scale-function = <2>;
701 qcom,hw-settle-time = <0>;
702 qcom,fast-avg-setup = <0>;
703 };
704
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800705 chan@b8 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700706 label = "quiet_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800707 reg = <0xb8>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700708 qcom,decimation = <0>;
709 qcom,pre-div-channel-scaling = <0>;
710 qcom,calibration-type = "ratiometric";
711 qcom,scale-function = <2>;
712 qcom,hw-settle-time = <0>;
713 qcom,fast-avg-setup = <0>;
714 };
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800715
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800716 chan@b9 {
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800717 label = "usb_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800718 reg = <0xb9>;
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800719 qcom,decimation = <0>;
720 qcom,pre-div-channel-scaling = <0>;
721 qcom,calibration-type = "ratiometric";
722 qcom,scale-function = <0>;
723 qcom,hw-settle-time = <0>;
724 qcom,fast-avg-setup = <0>;
725 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700726 };
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700727
728 iadc@3600 {
729 compatible = "qcom,qpnp-iadc";
730 reg = <0x3600 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800731 #address-cells = <1>;
732 #size-cells = <0>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700733 interrupts = <0x0 0x36 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800734 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700735 qcom,adc-bit-resolution = <16>;
736 qcom,adc-vdd-reference = <1800>;
737 qcom,rsense = <1500>;
738
739 chan@0 {
740 label = "internal_rsense";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800741 reg = <0>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700742 qcom,decimation = <0>;
743 qcom,pre-div-channel-scaling = <1>;
744 qcom,calibration-type = "absolute";
745 qcom,scale-function = <0>;
746 qcom,hw-settle-time = <0>;
747 qcom,fast-avg-setup = <0>;
748 };
749 };
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800750
751 qcom,vadc@3400 {
752 compatible = "qcom,qpnp-adc-tm";
753 reg = <0x3400 0x100>;
754 #address-cells = <1>;
755 #size-cells = <0>;
756 interrupts = <0x0 0x34 0x0>,
757 <0x0 0x34 0x3>,
758 <0x0 0x34 0x4>;
759 interrupt-names = "eoc-int-en-set",
760 "high-thr-en-set",
761 "low-thr-en-set";
762 qcom,adc-bit-resolution = <15>;
763 qcom,adc-vdd-reference = <1800>;
764
765 /* Channel Node */
766 chan@b9 {
767 label = "usb_id";
768 reg = <0xb9>;
769 qcom,decimation = <0>;
770 qcom,pre-div-channel-scaling = <0>;
771 qcom,calibration-type = "ratiometric";
772 qcom,scale-function = <2>;
773 qcom,hw-settle-time = <0>;
774 qcom,fast-avg-setup = <0>;
775 qcom,btm-channel-number = <0x48>;
776 };
777
778 chan@30 {
779 label = "batt_therm";
780 reg = <0x30>;
781 qcom,decimation = <0>;
782 qcom,pre-div-channel-scaling = <0>;
783 qcom,calibration-type = "ratiometric";
784 qcom,scale-function = <1>;
785 qcom,hw-settle-time = <0xf>;
786 qcom,fast-avg-setup = <0>;
787 qcom,btm-channel-number = <0x68>;
788 };
789
790 chan@b5 {
791 label = "pa_therm1";
792 reg = <0xb5>;
793 qcom,decimation = <0>;
794 qcom,pre-div-channel-scaling = <0>;
795 qcom,calibration-type = "absolute";
796 qcom,scale-function = <2>;
797 qcom,hw-settle-time = <0>;
798 qcom,fast-avg-setup = <0>;
799 qcom,btm-channel-number = <0x70>;
800 };
801
802 chan@b7 {
803 label = "pa_therm2";
804 reg = <0xb7>;
805 qcom,decimation = <0>;
806 qcom,pre-div-channel-scaling = <0>;
807 qcom,calibration-type = "ratiometric";
808 qcom,scale-function = <2>;
809 qcom,hw-settle-time = <0>;
810 qcom,fast-avg-setup = <0>;
811 qcom,btm-channel-number = <0x78>;
812 };
813
814 chan@b4 {
815 label = "emmc_therm";
816 reg = <0xb4>;
817 qcom,decimation = <0>;
818 qcom,pre-div-channel-scaling = <0>;
819 qcom,calibration-type = "ratiometric";
820 qcom,scale-function = <2>;
821 qcom,hw-settle-time = <0>;
822 qcom,fast-avg-setup = <0>;
823 qcom,btm-channel-number = <0x80>;
824 };
825 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700826 };
David Collins153d45a2012-03-26 11:57:50 -0700827
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700828 qcom,pm8941@1 {
829 spmi-slave-container;
830 reg = <0x1>;
831 #address-cells = <1>;
832 #size-cells = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700833
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700834 regulator@1400 {
835 regulator-name = "8941_s1";
836 spmi-dev-container;
837 #address-cells = <1>;
838 #size-cells = <1>;
839 compatible = "qcom,qpnp-regulator";
840 reg = <0x1400 0x300>;
841 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700842
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700843 qcom,ctl@1400 {
844 reg = <0x1400 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700845 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700846 qcom,ps@1500 {
847 reg = <0x1500 0x100>;
848 };
849 qcom,freq@1600 {
850 reg = <0x1600 0x100>;
851 };
852 };
David Collins153d45a2012-03-26 11:57:50 -0700853
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700854 regulator@1700 {
855 regulator-name = "8941_s2";
856 spmi-dev-container;
857 #address-cells = <1>;
858 #size-cells = <1>;
859 compatible = "qcom,qpnp-regulator";
860 reg = <0x1700 0x300>;
861 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700862
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700863 qcom,ctl@1700 {
864 reg = <0x1700 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700865 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700866 qcom,ps@1800 {
867 reg = <0x1800 0x100>;
868 };
869 qcom,freq@1900 {
870 reg = <0x1900 0x100>;
871 };
872 };
David Collins153d45a2012-03-26 11:57:50 -0700873
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700874 regulator@1a00 {
875 regulator-name = "8941_s3";
876 spmi-dev-container;
877 #address-cells = <1>;
878 #size-cells = <1>;
879 compatible = "qcom,qpnp-regulator";
Michael Bohand3253c72012-08-09 11:34:49 -0700880 reg = <0x1a00 0x300>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700881 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700882
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700883 qcom,ctl@1a00 {
884 reg = <0x1a00 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700885 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700886 qcom,ps@1b00 {
887 reg = <0x1b00 0x100>;
888 };
889 qcom,freq@1c00 {
890 reg = <0x1c00 0x100>;
891 };
892 };
David Collins153d45a2012-03-26 11:57:50 -0700893
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700894 regulator@a000 {
895 regulator-name = "8941_boost";
896 reg = <0xa000 0x100>;
897 compatible = "qcom,qpnp-regulator";
898 status = "disabled";
899 };
David Collins153d45a2012-03-26 11:57:50 -0700900
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700901 regulator@4000 {
902 regulator-name = "8941_l1";
903 reg = <0x4000 0x100>;
904 compatible = "qcom,qpnp-regulator";
905 status = "disabled";
906 };
David Collins153d45a2012-03-26 11:57:50 -0700907
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700908 regulator@4100 {
909 regulator-name = "8941_l2";
910 reg = <0x4100 0x100>;
911 compatible = "qcom,qpnp-regulator";
912 status = "disabled";
913 };
David Collins153d45a2012-03-26 11:57:50 -0700914
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700915 regulator@4200 {
916 regulator-name = "8941_l3";
917 reg = <0x4200 0x100>;
918 compatible = "qcom,qpnp-regulator";
919 status = "disabled";
920 };
David Collins153d45a2012-03-26 11:57:50 -0700921
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700922 regulator@4300 {
923 regulator-name = "8941_l4";
924 reg = <0x4300 0x100>;
925 compatible = "qcom,qpnp-regulator";
926 status = "disabled";
927 };
David Collins153d45a2012-03-26 11:57:50 -0700928
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700929 regulator@4400 {
930 regulator-name = "8941_l5";
931 reg = <0x4400 0x100>;
932 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -0700933 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700934 status = "disabled";
935 };
David Collins153d45a2012-03-26 11:57:50 -0700936
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700937 regulator@4500 {
938 regulator-name = "8941_l6";
939 reg = <0x4500 0x100>;
940 compatible = "qcom,qpnp-regulator";
941 status = "disabled";
942 };
David Collins153d45a2012-03-26 11:57:50 -0700943
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700944 regulator@4600 {
945 regulator-name = "8941_l7";
946 reg = <0x4600 0x100>;
947 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -0700948 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700949 status = "disabled";
950 };
David Collins153d45a2012-03-26 11:57:50 -0700951
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700952 regulator@4700 {
953 regulator-name = "8941_l8";
954 reg = <0x4700 0x100>;
955 compatible = "qcom,qpnp-regulator";
956 status = "disabled";
957 };
David Collins153d45a2012-03-26 11:57:50 -0700958
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700959 regulator@4800 {
960 regulator-name = "8941_l9";
961 reg = <0x4800 0x100>;
962 compatible = "qcom,qpnp-regulator";
963 status = "disabled";
964 };
David Collins153d45a2012-03-26 11:57:50 -0700965
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700966 regulator@4900 {
967 regulator-name = "8941_l10";
968 reg = <0x4900 0x100>;
969 compatible = "qcom,qpnp-regulator";
970 status = "disabled";
971 };
David Collins153d45a2012-03-26 11:57:50 -0700972
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700973 regulator@4a00 {
974 regulator-name = "8941_l11";
975 reg = <0x4a00 0x100>;
976 compatible = "qcom,qpnp-regulator";
977 status = "disabled";
978 };
David Collins153d45a2012-03-26 11:57:50 -0700979
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700980 regulator@4b00 {
981 regulator-name = "8941_l12";
982 reg = <0x4b00 0x100>;
983 compatible = "qcom,qpnp-regulator";
984 status = "disabled";
985 };
David Collins153d45a2012-03-26 11:57:50 -0700986
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700987 regulator@4c00 {
988 regulator-name = "8941_l13";
989 reg = <0x4c00 0x100>;
990 compatible = "qcom,qpnp-regulator";
991 status = "disabled";
992 };
David Collins153d45a2012-03-26 11:57:50 -0700993
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700994 regulator@4d00 {
995 regulator-name = "8941_l14";
996 reg = <0x4d00 0x100>;
997 compatible = "qcom,qpnp-regulator";
998 status = "disabled";
999 };
1000
1001 regulator@4e00 {
1002 regulator-name = "8941_l15";
1003 reg = <0x4e00 0x100>;
1004 compatible = "qcom,qpnp-regulator";
1005 status = "disabled";
1006 };
1007
1008 regulator@4f00 {
1009 regulator-name = "8941_l16";
1010 reg = <0x4f00 0x100>;
1011 compatible = "qcom,qpnp-regulator";
1012 status = "disabled";
1013 };
1014
1015 regulator@5000 {
1016 regulator-name = "8941_l17";
1017 reg = <0x5000 0x100>;
1018 compatible = "qcom,qpnp-regulator";
1019 status = "disabled";
1020 };
1021
1022 regulator@5100 {
1023 regulator-name = "8941_l18";
1024 reg = <0x5100 0x100>;
1025 compatible = "qcom,qpnp-regulator";
1026 status = "disabled";
1027 };
1028
1029 regulator@5200 {
1030 regulator-name = "8941_l19";
1031 reg = <0x5200 0x100>;
1032 compatible = "qcom,qpnp-regulator";
1033 status = "disabled";
1034 };
1035
1036 regulator@5300 {
1037 regulator-name = "8941_l20";
1038 reg = <0x5300 0x100>;
1039 compatible = "qcom,qpnp-regulator";
1040 status = "disabled";
1041 };
1042
1043 regulator@5400 {
1044 regulator-name = "8941_l21";
1045 reg = <0x5400 0x100>;
1046 compatible = "qcom,qpnp-regulator";
1047 status = "disabled";
1048 };
1049
1050 regulator@5500 {
1051 regulator-name = "8941_l22";
1052 reg = <0x5500 0x100>;
1053 compatible = "qcom,qpnp-regulator";
1054 status = "disabled";
1055 };
1056
1057 regulator@5600 {
1058 regulator-name = "8941_l23";
1059 reg = <0x5600 0x100>;
1060 compatible = "qcom,qpnp-regulator";
1061 status = "disabled";
1062 };
1063
1064 regulator@5700 {
1065 regulator-name = "8941_l24";
1066 reg = <0x5700 0x100>;
1067 compatible = "qcom,qpnp-regulator";
1068 status = "disabled";
1069 };
1070
1071 regulator@8000 {
1072 regulator-name = "8941_lvs1";
1073 reg = <0x8000 0x100>;
1074 compatible = "qcom,qpnp-regulator";
1075 status = "disabled";
1076 };
1077
1078 regulator@8100 {
1079 regulator-name = "8941_lvs2";
1080 reg = <0x8100 0x100>;
1081 compatible = "qcom,qpnp-regulator";
1082 status = "disabled";
1083 };
1084
1085 regulator@8200 {
1086 regulator-name = "8941_lvs3";
1087 reg = <0x8200 0x100>;
1088 compatible = "qcom,qpnp-regulator";
1089 status = "disabled";
1090 };
1091
1092 regulator@8300 {
1093 regulator-name = "8941_mvs1";
1094 reg = <0x8300 0x100>;
1095 compatible = "qcom,qpnp-regulator";
1096 status = "disabled";
1097 };
1098
1099 regulator@8400 {
1100 regulator-name = "8941_mvs2";
1101 reg = <0x8400 0x100>;
1102 compatible = "qcom,qpnp-regulator";
1103 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -07001104 };
Amy Maloche02a5eae2012-08-10 21:33:59 -07001105
Amy Maloche4f0b0462012-09-17 12:09:49 -07001106 qcom,leds@d000 {
1107 compatible = "qcom,leds-qpnp";
1108 reg = <0xd000 0x100>;
1109 label = "rgb";
1110 };
1111
1112 qcom,leds@d100 {
1113 compatible = "qcom,leds-qpnp";
1114 reg = <0xd100 0x100>;
1115 label = "rgb";
1116 };
1117
1118 qcom,leds@d200 {
1119 compatible = "qcom,leds-qpnp";
1120 reg = <0xd200 0x100>;
1121 label = "rgb";
1122 };
1123
Amy Maloche2b8b79b2012-10-22 10:36:04 -07001124 qcom,leds@d300 {
1125 compatible = "qcom,leds-qpnp";
1126 reg = <0xd300 0x100>;
1127 label = "flash";
1128 };
1129
1130 qcom,leds@d400 {
1131 compatible = "qcom,leds-qpnp";
1132 reg = <0xd400 0x100>;
1133 label = "flash";
1134 };
1135
1136 qcom,leds@d500 {
1137 compatible = "qcom,leds-qpnp";
1138 reg = <0xd500 0x100>;
1139 label = "flash";
1140 };
1141
1142 qcom,leds@d600 {
1143 compatible = "qcom,leds-qpnp";
1144 reg = <0xd600 0x100>;
1145 label = "flash";
1146 };
1147
1148 qcom,leds@d700 {
1149 compatible = "qcom,leds-qpnp";
1150 reg = <0xd700 0x100>;
1151 label = "flash";
1152 };
1153
Amy Maloche02a5eae2012-08-10 21:33:59 -07001154 qcom,leds@d800 {
1155 compatible = "qcom,leds-qpnp";
1156 reg = <0xd800 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001157 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001158 };
1159
1160 qcom,leds@d900 {
1161 compatible = "qcom,leds-qpnp";
1162 reg = <0xd900 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001163 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001164 };
1165
1166 qcom,leds@da00 {
1167 compatible = "qcom,leds-qpnp";
1168 reg = <0xda00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001169 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001170 };
1171
1172 qcom,leds@db00 {
1173 compatible = "qcom,leds-qpnp";
1174 reg = <0xdb00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001175 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001176 };
1177
1178 qcom,leds@dc00 {
1179 compatible = "qcom,leds-qpnp";
1180 reg = <0xdc00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001181 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001182 };
1183
1184 qcom,leds@dd00 {
1185 compatible = "qcom,leds-qpnp";
1186 reg = <0xdd00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001187 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001188 };
1189
1190 qcom,leds@de00 {
1191 compatible = "qcom,leds-qpnp";
1192 reg = <0xde00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001193 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001194 };
1195
1196 qcom,leds@df00 {
1197 compatible = "qcom,leds-qpnp";
1198 reg = <0xdf00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001199 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001200 };
1201
1202 qcom,leds@e000 {
1203 compatible = "qcom,leds-qpnp";
1204 reg = <0xe000 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001205 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001206 };
1207
1208 qcom,leds@e100 {
1209 compatible = "qcom,leds-qpnp";
1210 reg = <0xe100 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001211 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001212 };
1213
Jay Chokshi6254a162012-05-07 12:38:14 -07001214 pwm@b100 {
1215 compatible = "qcom,qpnp-pwm";
1216 reg = <0xb100 0x100>,
1217 <0xb042 0x7e>;
1218 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1219 qcom,channel-id = <0>;
1220 };
1221
1222 pwm@b200 {
1223 compatible = "qcom,qpnp-pwm";
1224 reg = <0xb200 0x100>,
1225 <0xb042 0x7e>;
1226 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1227 qcom,channel-id = <1>;
1228 };
1229
1230 pwm@b300 {
1231 compatible = "qcom,qpnp-pwm";
1232 reg = <0xb300 0x100>,
1233 <0xb042 0x7e>;
1234 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1235 qcom,channel-id = <2>;
1236 };
1237
1238 pwm@b400 {
1239 compatible = "qcom,qpnp-pwm";
1240 reg = <0xb400 0x100>,
1241 <0xb042 0x7e>;
1242 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1243 qcom,channel-id = <3>;
1244 };
1245
1246 pwm@b500 {
1247 compatible = "qcom,qpnp-pwm";
1248 reg = <0xb500 0x100>,
1249 <0xb042 0x7e>;
1250 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1251 qcom,channel-id = <4>;
1252 };
1253
1254 pwm@b600 {
1255 compatible = "qcom,qpnp-pwm";
1256 reg = <0xb600 0x100>,
1257 <0xb042 0x7e>;
1258 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1259 qcom,channel-id = <5>;
1260 };
1261
1262 pwm@b700 {
1263 compatible = "qcom,qpnp-pwm";
1264 reg = <0xb700 0x100>,
1265 <0xb042 0x7e>;
1266 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1267 qcom,channel-id = <6>;
1268 };
1269
1270 pwm@b800 {
1271 compatible = "qcom,qpnp-pwm";
1272 reg = <0xb800 0x100>,
1273 <0xb042 0x7e>;
1274 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1275 qcom,channel-id = <7>;
1276 };
David Collins153d45a2012-03-26 11:57:50 -07001277 };
1278};