blob: 892afbb3c79d018eb07761c7259c25efd0040ede [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
David Collins3f378292013-01-23 14:23:18 -080061 bif_ctrl: qcom,bsi@1b00 {
62 compatible = "qcom,qpnp-bsi";
63 reg = <0x1b00 0x100>,
64 <0x1208 0x1>;
65 reg-names = "bsi-base", "batt-id-status";
66 label = "pm8941-bsi";
67 interrupts = <0x0 0x1b 0x0>,
68 <0x0 0x1b 0x1>,
69 <0x0 0x1b 0x2>,
70 <0x0 0x12 0x0>;
71 interrupt-names = "err",
72 "rx",
73 "tx",
74 "batt-present";
75 qcom,channel-num = <0x31>;
76 qcom,pullup-ohms = <100000>;
77 qcom,vref-microvolts = <1800000>;
78 qcom,min-clock-period = <1000>;
79 qcom,max-clock-period = <160000>;
80 qcom,sample-rate = <4>;
81 };
82
Xiaozhe Shic40b3972012-11-30 14:11:16 -080083 pm8941_bms: qcom,bms {
84 spmi-dev-container;
85 compatible = "qcom,qpnp-bms";
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -070086 #address-cells = <1>;
87 #size-cells = <1>;
Xiaozhe Shi03a44bf2012-11-12 15:59:27 -080088 status = "disabled";
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -070089
Xiaozhe Shi9bd24622013-01-23 15:54:54 -080090 qcom,r-sense-uohm = <10000>;
91 qcom,v-cutoff-uv = <3400000>;
92 qcom,max-voltage-uv = <4200000>;
93 qcom,r-conn-mohm = <18>;
94 qcom,shutdown-soc-valid-limit = <20>;
95 qcom,adjust-soc-low-threshold = <25>;
96 qcom,adjust-soc-high-threshold = <45>;
97 qcom,ocv-voltage-high-threshold-uv = <3750000>;
98 qcom,ocv-voltage-low-threshold-uv = <3650000>;
99 qcom,low-soc-calculate-soc-threshold = <15>;
100 qcom,low-soc-calculate-soc-ms = <5000>;
101 qcom,calculate-soc-ms = <20000>;
102 qcom,chg-term-ua = <100000>;
103 qcom,batt-type = <0>;
Xiaozhe Shic40b3972012-11-30 14:11:16 -0800104
105 qcom,bms-iadc@3800 {
106 reg = <0x3800 0x100>;
107 };
108
109 qcom,bms-bms@4000 {
110 reg = <0x4000 0x100>;
111 interrupts = <0x0 0x40 0x0>,
112 <0x0 0x40 0x1>,
113 <0x0 0x40 0x2>,
114 <0x0 0x40 0x3>,
115 <0x0 0x40 0x4>,
116 <0x0 0x40 0x5>,
117 <0x0 0x40 0x6>,
118 <0x0 0x40 0x7>;
119
120 interrupt-names = "vsense_for_r",
121 "vsense_avg",
122 "sw_cc_thr",
123 "ocv_thr",
124 "charge_begin",
125 "good_ocv",
126 "ocv_for_r",
127 "cc_thr";
128 };
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -0700129 };
130
Michael Bohanee1f8fe2012-08-03 18:32:16 -0700131 clkdiv@5b00 {
132 reg = <0x5b00 0x100>;
133 compatible = "qcom,qpnp-clkdiv";
134 qcom,cxo-freq = <19200000>;
135 };
136
137 clkdiv@5c00 {
138 reg = <0x5c00 0x100>;
139 compatible = "qcom,qpnp-clkdiv";
140 qcom,cxo-freq = <19200000>;
141 };
142
143 clkdiv@5d00 {
144 reg = <0x5d00 0x1000>;
145 compatible = "qcom,qpnp-clkdiv";
146 qcom,cxo-freq = <19200000>;
147 };
148
David Keitela7a71732012-09-24 12:30:44 -0700149 pm8941_chg: qcom,charger {
David Keitel6adff102012-07-27 14:24:00 -0700150 spmi-dev-container;
151 compatible = "qcom,qpnp-charger";
152 #address-cells = <1>;
153 #size-cells = <1>;
David Keitela7a71732012-09-24 12:30:44 -0700154 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700155
156 qcom,chg-vddmax-mv = <4200>;
157 qcom,chg-vddsafe-mv = <4200>;
158 qcom,chg-vinmin-mv = <4200>;
David Keitel5d44fa52012-12-03 16:37:31 -0800159 qcom,chg-vbatdet-mv = <4100>;
David Keitel6adff102012-07-27 14:24:00 -0700160 qcom,chg-ibatmax-ma = <1500>;
161 qcom,chg-ibatterm-ma = <200>;
David Keitel5d44fa52012-12-03 16:37:31 -0800162 qcom,chg-ibatsafe-ma = <1500>;
David Keitelc6dd5342013-01-31 14:51:44 -0800163 qcom,chg-thermal-mitigation = <1500 700 600 325>;
David Keitel6adff102012-07-27 14:24:00 -0700164
165 qcom,chg-chgr@1000 {
David Keitela7a71732012-09-24 12:30:44 -0700166 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700167 reg = <0x1000 0x100>;
168 interrupts = <0x0 0x10 0x0>,
169 <0x0 0x10 0x1>,
170 <0x0 0x10 0x2>,
171 <0x0 0x10 0x3>,
172 <0x0 0x10 0x4>,
173 <0x0 0x10 0x5>,
174 <0x0 0x10 0x6>,
175 <0x0 0x10 0x7>;
176
David Keitel0cba0992012-10-30 06:21:10 -0700177 interrupt-names = "vbat-det-lo",
David Keitel6adff102012-07-27 14:24:00 -0700178 "vbat-det-hi",
David Keitel0cba0992012-10-30 06:21:10 -0700179 "chgwdog",
180 "state-change",
181 "trkl-chg-on",
182 "fast-chg-on",
183 "chg-failed",
184 "chg-done";
David Keitel6adff102012-07-27 14:24:00 -0700185 };
186
187 qcom,chg-buck@1100 {
David Keitela7a71732012-09-24 12:30:44 -0700188 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700189 reg = <0x1100 0x100>;
190 interrupts = <0x0 0x11 0x0>,
191 <0x0 0x11 0x1>,
192 <0x0 0x11 0x2>,
193 <0x0 0x11 0x3>,
194 <0x0 0x11 0x4>,
195 <0x0 0x11 0x5>,
196 <0x0 0x11 0x6>;
197
David Keitel0cba0992012-10-30 06:21:10 -0700198 interrupt-names = "vbat-ov",
199 "vreg-ov",
David Keitel6adff102012-07-27 14:24:00 -0700200 "overtemp",
David Keitel0cba0992012-10-30 06:21:10 -0700201 "vchg-loop",
202 "ichg-loop",
203 "ibat-loop",
204 "vdd-loop";
David Keitel6adff102012-07-27 14:24:00 -0700205 };
206
207 qcom,chg-bat-if@1200 {
David Keitela7a71732012-09-24 12:30:44 -0700208 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700209 reg = <0x1200 0x100>;
210 interrupts = <0x0 0x12 0x0>,
211 <0x0 0x12 0x1>,
212 <0x0 0x12 0x2>,
213 <0x0 0x12 0x3>,
214 <0x0 0x12 0x4>;
215
David Keitel0cba0992012-10-30 06:21:10 -0700216 interrupt-names = "batt-pres",
David Keitel6adff102012-07-27 14:24:00 -0700217 "bat-temp-ok",
David Keitel0cba0992012-10-30 06:21:10 -0700218 "bat-fet-on",
219 "vcp-on",
220 "psi";
221
David Keitel6adff102012-07-27 14:24:00 -0700222 };
223
224 qcom,chg-usb-chgpth@1300 {
David Keitela7a71732012-09-24 12:30:44 -0700225 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700226 reg = <0x1300 0x100>;
227 interrupts = <0 0x13 0x0>,
228 <0 0x13 0x1>,
229 <0x0 0x13 0x2>;
230
David Keitel4429b1f2012-10-18 10:42:50 -0700231 interrupt-names = "coarse-det-usb",
232 "usbin-valid",
David Keitel6adff102012-07-27 14:24:00 -0700233 "chg-gone";
234 };
235
236 qcom,chg-dc-chgpth@1400 {
David Keitela7a71732012-09-24 12:30:44 -0700237 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700238 reg = <0x1400 0x100>;
239 interrupts = <0x0 0x14 0x0>,
240 <0x0 0x14 0x1>;
241
David Keitel0cba0992012-10-30 06:21:10 -0700242 interrupt-names = "coarse-det-dc",
243 "dcin-valid";
David Keitel6adff102012-07-27 14:24:00 -0700244 };
245
246 qcom,chg-boost@1500 {
David Keitela7a71732012-09-24 12:30:44 -0700247 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700248 reg = <0x1500 0x100>;
249 interrupts = <0x0 0x15 0x0>,
250 <0x0 0x15 0x1>;
251
David Keitel0cba0992012-10-30 06:21:10 -0700252 interrupt-names = "boost-pwr-ok",
253 "limit-error";
David Keitel6adff102012-07-27 14:24:00 -0700254 };
255
256 qcom,chg-misc@1600 {
David Keitela7a71732012-09-24 12:30:44 -0700257 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700258 reg = <0x1600 0x100>;
259 };
260 };
261
Michael Bohand5ea7242012-10-01 18:01:51 -0700262 pm8941_gpios: gpios {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700263 spmi-dev-container;
264 compatible = "qcom,qpnp-pin";
265 gpio-controller;
266 #gpio-cells = <2>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700267 #address-cells = <1>;
268 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700269 label = "pm8941-gpio";
Michael Bohan8b909b42012-04-18 17:39:12 -0700270
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700271 gpio@c000 {
272 reg = <0xc000 0x100>;
273 qcom,pin-num = <1>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700274 };
Michael Bohan5085a052012-06-11 13:27:34 -0700275
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700276 gpio@c100 {
277 reg = <0xc100 0x100>;
278 qcom,pin-num = <2>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700279 };
Michael Bohan5085a052012-06-11 13:27:34 -0700280
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700281 gpio@c200 {
282 reg = <0xc200 0x100>;
283 qcom,pin-num = <3>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700284 };
Michael Bohan5085a052012-06-11 13:27:34 -0700285
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700286 gpio@c300 {
287 reg = <0xc300 0x100>;
288 qcom,pin-num = <4>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700289 };
Michael Bohan5085a052012-06-11 13:27:34 -0700290
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700291 gpio@c400 {
292 reg = <0xc400 0x100>;
293 qcom,pin-num = <5>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700294 };
Michael Bohan5085a052012-06-11 13:27:34 -0700295
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700296 gpio@c500 {
297 reg = <0xc500 0x100>;
298 qcom,pin-num = <6>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700299 };
Michael Bohan5085a052012-06-11 13:27:34 -0700300
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700301 gpio@c600 {
302 reg = <0xc600 0x100>;
303 qcom,pin-num = <7>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700304 };
Michael Bohan5085a052012-06-11 13:27:34 -0700305
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700306 gpio@c700 {
307 reg = <0xc700 0x100>;
308 qcom,pin-num = <8>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700309 };
Michael Bohan5085a052012-06-11 13:27:34 -0700310
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700311 gpio@c800 {
312 reg = <0xc800 0x100>;
313 qcom,pin-num = <9>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700314 };
Michael Bohan5085a052012-06-11 13:27:34 -0700315
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700316 gpio@c900 {
317 reg = <0xc900 0x100>;
318 qcom,pin-num = <10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700319 };
320
321 gpio@ca00 {
322 reg = <0xca00 0x100>;
323 qcom,pin-num = <11>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700324 };
325
326 gpio@cb00 {
327 reg = <0xcb00 0x100>;
328 qcom,pin-num = <12>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700329 };
330
331 gpio@cc00 {
332 reg = <0xcc00 0x100>;
333 qcom,pin-num = <13>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700334 };
335
336 gpio@cd00 {
337 reg = <0xcd00 0x100>;
338 qcom,pin-num = <14>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700339 };
340
341 gpio@ce00 {
342 reg = <0xce00 0x100>;
343 qcom,pin-num = <15>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700344 };
345
346 gpio@cf00 {
347 reg = <0xcf00 0x100>;
348 qcom,pin-num = <16>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700349 };
350
351 gpio@d000 {
352 reg = <0xd000 0x100>;
353 qcom,pin-num = <17>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700354 };
355
356 gpio@d100 {
357 reg = <0xd100 0x100>;
358 qcom,pin-num = <18>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700359 };
360
361 gpio@d200 {
362 reg = <0xd200 0x100>;
363 qcom,pin-num = <19>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700364 };
365
366 gpio@d300 {
367 reg = <0xd300 0x100>;
368 qcom,pin-num = <20>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700369 };
370
371 gpio@d400 {
372 reg = <0xd400 0x100>;
373 qcom,pin-num = <21>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700374 };
375
376 gpio@d500 {
377 reg = <0xd500 0x100>;
378 qcom,pin-num = <22>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700379 };
380
381 gpio@d600 {
382 reg = <0xd600 0x100>;
383 qcom,pin-num = <23>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700384 };
385
386 gpio@d700 {
387 reg = <0xd700 0x100>;
388 qcom,pin-num = <24>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700389 };
390
391 gpio@d800 {
392 reg = <0xd800 0x100>;
393 qcom,pin-num = <25>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700394 };
395
396 gpio@d900 {
397 reg = <0xd900 0x100>;
398 qcom,pin-num = <26>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700399 };
400
401 gpio@da00 {
402 reg = <0xda00 0x100>;
403 qcom,pin-num = <27>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700404 };
405
406 gpio@db00 {
407 reg = <0xdb00 0x100>;
408 qcom,pin-num = <28>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700409 };
410
411 gpio@dc00 {
412 reg = <0xdc00 0x100>;
413 qcom,pin-num = <29>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700414 };
415
416 gpio@dd00 {
417 reg = <0xdd00 0x100>;
418 qcom,pin-num = <30>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700419 };
420
421 gpio@de00 {
422 reg = <0xde00 0x100>;
423 qcom,pin-num = <31>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700424 };
425
426 gpio@df00 {
427 reg = <0xdf00 0x100>;
428 qcom,pin-num = <32>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700429 };
430
431 gpio@e000 {
432 reg = <0xe000 0x100>;
433 qcom,pin-num = <33>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700434 };
435
436 gpio@e100 {
437 reg = <0xe100 0x100>;
438 qcom,pin-num = <34>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700439 };
440
441 gpio@e200 {
442 reg = <0xe200 0x100>;
443 qcom,pin-num = <35>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700444 };
445
446 gpio@e300 {
447 reg = <0xe300 0x100>;
448 qcom,pin-num = <36>;
Michael Bohan5085a052012-06-11 13:27:34 -0700449 };
Michael Bohan8b909b42012-04-18 17:39:12 -0700450 };
451
Michael Bohand5ea7242012-10-01 18:01:51 -0700452 pm8941_mpps: mpps {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700453 spmi-dev-container;
454 compatible = "qcom,qpnp-pin";
455 gpio-controller;
456 #gpio-cells = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700457 #address-cells = <1>;
458 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700459 label = "pm8941-mpp";
David Collins153d45a2012-03-26 11:57:50 -0700460
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700461 mpp@a000 {
David Collins32f825f2012-06-06 09:49:24 -0700462 reg = <0xa000 0x100>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700463 qcom,pin-num = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700464 };
465
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700466 mpp@a100 {
467 reg = <0xa100 0x100>;
468 qcom,pin-num = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700469 };
470
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700471 mpp@a200 {
472 reg = <0xa200 0x100>;
473 qcom,pin-num = <3>;
David Collins153d45a2012-03-26 11:57:50 -0700474 };
475
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700476 mpp@a300 {
477 reg = <0xa300 0x100>;
478 qcom,pin-num = <4>;
David Collins153d45a2012-03-26 11:57:50 -0700479 };
480
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700481 mpp@a400 {
482 reg = <0xa400 0x100>;
483 qcom,pin-num = <5>;
David Collins153d45a2012-03-26 11:57:50 -0700484 };
485
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700486 mpp@a500 {
487 reg = <0xa500 0x100>;
488 qcom,pin-num = <6>;
David Collins153d45a2012-03-26 11:57:50 -0700489 };
490
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700491 mpp@a600 {
492 reg = <0xa600 0x100>;
493 qcom,pin-num = <7>;
David Collins153d45a2012-03-26 11:57:50 -0700494 };
495
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700496 mpp@a700 {
497 reg = <0xa700 0x100>;
498 qcom,pin-num = <8>;
David Collins153d45a2012-03-26 11:57:50 -0700499 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700500 };
Ashay Jaiswal93ad9702012-07-17 15:12:33 +0530501
502 qcom,pm8941_rtc {
503 spmi-dev-container;
504 compatible = "qcom,qpnp-rtc";
505 #address-cells = <1>;
506 #size-cells = <1>;
507 qcom,qpnp-rtc-write = <0>;
508 qcom,qpnp-rtc-alarm-pwrup = <0>;
509
510 qcom,pm8941_rtc_rw@6000 {
511 reg = <0x6000 0x100>;
512 };
513 qcom,pm8941_rtc_alarm@6100 {
514 reg = <0x6100 0x100>;
515 interrupts = <0x0 0x61 0x1>;
516 };
517 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700518
519 vadc@3100 {
520 compatible = "qcom,qpnp-vadc";
521 reg = <0x3100 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800522 #address-cells = <1>;
523 #size-cells = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700524 interrupts = <0x0 0x31 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800525 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700526 qcom,adc-bit-resolution = <15>;
527 qcom,adc-vdd-reference = <1800>;
528
529 chan@0 {
530 label = "usb_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800531 reg = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700532 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700533 qcom,pre-div-channel-scaling = <4>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700534 qcom,calibration-type = "absolute";
535 qcom,scale-function = <0>;
536 qcom,hw-settle-time = <0>;
537 qcom,fast-avg-setup = <0>;
538 };
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700539
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700540 chan@1 {
541 label = "dc_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800542 reg = <1>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700543 qcom,decimation = <0>;
544 qcom,pre-div-channel-scaling = <4>;
545 qcom,calibration-type = "absolute";
546 qcom,scale-function = <0>;
547 qcom,hw-settle-time = <0>;
548 qcom,fast-avg-setup = <0>;
549 };
550
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700551 chan@2 {
552 label = "vchg_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800553 reg = <2>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700554 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700555 qcom,pre-div-channel-scaling = <3>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700556 qcom,calibration-type = "absolute";
557 qcom,scale-function = <0>;
558 qcom,hw-settle-time = <0>;
559 qcom,fast-avg-setup = <0>;
560 };
561
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700562 chan@3 {
563 label = "spare1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800564 reg = <3>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700565 qcom,decimation = <0>;
566 qcom,pre-div-channel-scaling = <6>;
567 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@4 {
574 label = "spare2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800575 reg = <4>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700576 qcom,decimation = <0>;
577 qcom,pre-div-channel-scaling = <6>;
578 qcom,calibration-type = "absolute";
579 qcom,scale-function = <0>;
580 qcom,hw-settle-time = <0>;
581 qcom,fast-avg-setup = <0>;
582 };
583
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700584 chan@5 {
585 label = "vcoin";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800586 reg = <5>;
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
595 chan@6 {
596 label = "vbat_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800597 reg = <6>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700598 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700599 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700600 qcom,calibration-type = "absolute";
601 qcom,scale-function = <0>;
602 qcom,hw-settle-time = <0>;
603 qcom,fast-avg-setup = <0>;
604 };
605
606 chan@7 {
607 label = "vph_pwr";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800608 reg = <7>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700609 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700610 qcom,pre-div-channel-scaling = <1>;
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 Mohanadoss5a5d5512012-09-06 20:25:42 -0700617 chan@8 {
618 label = "die_temp";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800619 reg = <8>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700620 qcom,decimation = <0>;
621 qcom,pre-div-channel-scaling = <0>;
622 qcom,calibration-type = "absolute";
623 qcom,scale-function = <3>;
624 qcom,hw-settle-time = <0>;
625 qcom,fast-avg-setup = <0>;
626 };
627
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700628 chan@9 {
629 label = "ref_625mv";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800630 reg = <9>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700631 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700632 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700633 qcom,calibration-type = "absolute";
634 qcom,scale-function = <0>;
635 qcom,hw-settle-time = <0>;
636 qcom,fast-avg-setup = <0>;
637 };
638
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800639 chan@a {
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700640 label = "ref_1250v";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800641 reg = <0xa>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700642 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700643 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700644 qcom,calibration-type = "absolute";
645 qcom,scale-function = <0>;
646 qcom,hw-settle-time = <0>;
647 qcom,fast-avg-setup = <0>;
648 };
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700649
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800650 chan@30 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700651 label = "batt_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800652 reg = <0x30>;
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 = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800657 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700658 qcom,fast-avg-setup = <0>;
659 };
660
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800661 chan@31 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700662 label = "batt_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800663 reg = <0x31>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700664 qcom,decimation = <0>;
665 qcom,pre-div-channel-scaling = <0>;
666 qcom,calibration-type = "ratiometric";
667 qcom,scale-function = <0>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800668 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700669 qcom,fast-avg-setup = <0>;
670 };
671
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800672 chan@b2 {
Siddartha Mohanadoss3601d232012-09-14 16:01:39 -0700673 label = "xo_therm_pu2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800674 reg = <0xb2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700675 qcom,decimation = <0>;
676 qcom,pre-div-channel-scaling = <0>;
677 qcom,calibration-type = "ratiometric";
678 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800679 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700680 qcom,fast-avg-setup = <0>;
681 };
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700682
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800683 chan@b3 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700684 label = "msm_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800685 reg = <0xb3>;
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>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800690 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700691 qcom,fast-avg-setup = <0>;
692 };
693
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800694 chan@b4 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700695 label = "emmc_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800696 reg = <0xb4>;
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>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800701 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700702 qcom,fast-avg-setup = <0>;
703 };
704
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800705 chan@b5 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700706 label = "pa_therm1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800707 reg = <0xb5>;
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>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800712 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700713 qcom,fast-avg-setup = <0>;
714 };
715
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800716 chan@b7 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700717 label = "pa_therm2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800718 reg = <0xb7>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700719 qcom,decimation = <0>;
720 qcom,pre-div-channel-scaling = <0>;
721 qcom,calibration-type = "ratiometric";
722 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800723 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700724 qcom,fast-avg-setup = <0>;
725 };
726
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800727 chan@b8 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700728 label = "quiet_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800729 reg = <0xb8>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700730 qcom,decimation = <0>;
731 qcom,pre-div-channel-scaling = <0>;
732 qcom,calibration-type = "ratiometric";
733 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800734 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700735 qcom,fast-avg-setup = <0>;
736 };
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800737
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800738 chan@b9 {
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800739 label = "usb_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800740 reg = <0xb9>;
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800741 qcom,decimation = <0>;
742 qcom,pre-div-channel-scaling = <0>;
743 qcom,calibration-type = "ratiometric";
744 qcom,scale-function = <0>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800745 qcom,hw-settle-time = <2>;
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800746 qcom,fast-avg-setup = <0>;
747 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700748 };
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700749
750 iadc@3600 {
751 compatible = "qcom,qpnp-iadc";
752 reg = <0x3600 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800753 #address-cells = <1>;
754 #size-cells = <0>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700755 interrupts = <0x0 0x36 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800756 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700757 qcom,adc-bit-resolution = <16>;
758 qcom,adc-vdd-reference = <1800>;
759 qcom,rsense = <1500>;
760
761 chan@0 {
762 label = "internal_rsense";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800763 reg = <0>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700764 qcom,decimation = <0>;
765 qcom,pre-div-channel-scaling = <1>;
766 qcom,calibration-type = "absolute";
767 qcom,scale-function = <0>;
768 qcom,hw-settle-time = <0>;
769 qcom,fast-avg-setup = <0>;
770 };
771 };
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800772
773 qcom,vadc@3400 {
774 compatible = "qcom,qpnp-adc-tm";
775 reg = <0x3400 0x100>;
776 #address-cells = <1>;
777 #size-cells = <0>;
778 interrupts = <0x0 0x34 0x0>,
779 <0x0 0x34 0x3>,
780 <0x0 0x34 0x4>;
781 interrupt-names = "eoc-int-en-set",
782 "high-thr-en-set",
783 "low-thr-en-set";
784 qcom,adc-bit-resolution = <15>;
785 qcom,adc-vdd-reference = <1800>;
786
787 /* Channel Node */
788 chan@b9 {
789 label = "usb_id";
790 reg = <0xb9>;
791 qcom,decimation = <0>;
792 qcom,pre-div-channel-scaling = <0>;
793 qcom,calibration-type = "ratiometric";
794 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800795 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800796 qcom,fast-avg-setup = <0>;
797 qcom,btm-channel-number = <0x48>;
798 };
799
800 chan@30 {
801 label = "batt_therm";
802 reg = <0x30>;
803 qcom,decimation = <0>;
804 qcom,pre-div-channel-scaling = <0>;
805 qcom,calibration-type = "ratiometric";
806 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800807 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800808 qcom,fast-avg-setup = <0>;
809 qcom,btm-channel-number = <0x68>;
810 };
811
812 chan@b5 {
813 label = "pa_therm1";
814 reg = <0xb5>;
815 qcom,decimation = <0>;
816 qcom,pre-div-channel-scaling = <0>;
817 qcom,calibration-type = "absolute";
818 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800819 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800820 qcom,fast-avg-setup = <0>;
821 qcom,btm-channel-number = <0x70>;
822 };
823
824 chan@b7 {
825 label = "pa_therm2";
826 reg = <0xb7>;
827 qcom,decimation = <0>;
828 qcom,pre-div-channel-scaling = <0>;
829 qcom,calibration-type = "ratiometric";
830 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800831 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800832 qcom,fast-avg-setup = <0>;
833 qcom,btm-channel-number = <0x78>;
834 };
835
836 chan@b4 {
837 label = "emmc_therm";
838 reg = <0xb4>;
839 qcom,decimation = <0>;
840 qcom,pre-div-channel-scaling = <0>;
841 qcom,calibration-type = "ratiometric";
842 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800843 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800844 qcom,fast-avg-setup = <0>;
845 qcom,btm-channel-number = <0x80>;
846 };
847 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700848 };
David Collins153d45a2012-03-26 11:57:50 -0700849
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700850 qcom,pm8941@1 {
851 spmi-slave-container;
852 reg = <0x1>;
853 #address-cells = <1>;
854 #size-cells = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700855
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700856 regulator@1400 {
857 regulator-name = "8941_s1";
858 spmi-dev-container;
859 #address-cells = <1>;
860 #size-cells = <1>;
861 compatible = "qcom,qpnp-regulator";
862 reg = <0x1400 0x300>;
863 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700864
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700865 qcom,ctl@1400 {
866 reg = <0x1400 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700867 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700868 qcom,ps@1500 {
869 reg = <0x1500 0x100>;
870 };
871 qcom,freq@1600 {
872 reg = <0x1600 0x100>;
873 };
874 };
David Collins153d45a2012-03-26 11:57:50 -0700875
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700876 regulator@1700 {
877 regulator-name = "8941_s2";
878 spmi-dev-container;
879 #address-cells = <1>;
880 #size-cells = <1>;
881 compatible = "qcom,qpnp-regulator";
882 reg = <0x1700 0x300>;
883 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700884
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700885 qcom,ctl@1700 {
886 reg = <0x1700 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700887 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700888 qcom,ps@1800 {
889 reg = <0x1800 0x100>;
890 };
891 qcom,freq@1900 {
892 reg = <0x1900 0x100>;
893 };
894 };
David Collins153d45a2012-03-26 11:57:50 -0700895
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700896 regulator@1a00 {
897 regulator-name = "8941_s3";
898 spmi-dev-container;
899 #address-cells = <1>;
900 #size-cells = <1>;
901 compatible = "qcom,qpnp-regulator";
Michael Bohand3253c72012-08-09 11:34:49 -0700902 reg = <0x1a00 0x300>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700903 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700904
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700905 qcom,ctl@1a00 {
906 reg = <0x1a00 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700907 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700908 qcom,ps@1b00 {
909 reg = <0x1b00 0x100>;
910 };
911 qcom,freq@1c00 {
912 reg = <0x1c00 0x100>;
913 };
914 };
David Collins153d45a2012-03-26 11:57:50 -0700915
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700916 regulator@a000 {
917 regulator-name = "8941_boost";
918 reg = <0xa000 0x100>;
919 compatible = "qcom,qpnp-regulator";
920 status = "disabled";
921 };
David Collins153d45a2012-03-26 11:57:50 -0700922
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700923 regulator@4000 {
924 regulator-name = "8941_l1";
925 reg = <0x4000 0x100>;
926 compatible = "qcom,qpnp-regulator";
927 status = "disabled";
928 };
David Collins153d45a2012-03-26 11:57:50 -0700929
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700930 regulator@4100 {
931 regulator-name = "8941_l2";
932 reg = <0x4100 0x100>;
933 compatible = "qcom,qpnp-regulator";
934 status = "disabled";
935 };
David Collins153d45a2012-03-26 11:57:50 -0700936
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700937 regulator@4200 {
938 regulator-name = "8941_l3";
939 reg = <0x4200 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@4300 {
945 regulator-name = "8941_l4";
946 reg = <0x4300 0x100>;
947 compatible = "qcom,qpnp-regulator";
948 status = "disabled";
949 };
David Collins153d45a2012-03-26 11:57:50 -0700950
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700951 regulator@4400 {
952 regulator-name = "8941_l5";
953 reg = <0x4400 0x100>;
954 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -0700955 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700956 status = "disabled";
957 };
David Collins153d45a2012-03-26 11:57:50 -0700958
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700959 regulator@4500 {
960 regulator-name = "8941_l6";
961 reg = <0x4500 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@4600 {
967 regulator-name = "8941_l7";
968 reg = <0x4600 0x100>;
969 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -0700970 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700971 status = "disabled";
972 };
David Collins153d45a2012-03-26 11:57:50 -0700973
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700974 regulator@4700 {
975 regulator-name = "8941_l8";
976 reg = <0x4700 0x100>;
977 compatible = "qcom,qpnp-regulator";
978 status = "disabled";
979 };
David Collins153d45a2012-03-26 11:57:50 -0700980
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700981 regulator@4800 {
982 regulator-name = "8941_l9";
983 reg = <0x4800 0x100>;
984 compatible = "qcom,qpnp-regulator";
985 status = "disabled";
986 };
David Collins153d45a2012-03-26 11:57:50 -0700987
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700988 regulator@4900 {
989 regulator-name = "8941_l10";
990 reg = <0x4900 0x100>;
991 compatible = "qcom,qpnp-regulator";
992 status = "disabled";
993 };
David Collins153d45a2012-03-26 11:57:50 -0700994
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700995 regulator@4a00 {
996 regulator-name = "8941_l11";
997 reg = <0x4a00 0x100>;
998 compatible = "qcom,qpnp-regulator";
999 status = "disabled";
1000 };
David Collins153d45a2012-03-26 11:57:50 -07001001
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001002 regulator@4b00 {
1003 regulator-name = "8941_l12";
1004 reg = <0x4b00 0x100>;
1005 compatible = "qcom,qpnp-regulator";
1006 status = "disabled";
1007 };
David Collins153d45a2012-03-26 11:57:50 -07001008
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001009 regulator@4c00 {
1010 regulator-name = "8941_l13";
1011 reg = <0x4c00 0x100>;
1012 compatible = "qcom,qpnp-regulator";
1013 status = "disabled";
1014 };
David Collins153d45a2012-03-26 11:57:50 -07001015
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001016 regulator@4d00 {
1017 regulator-name = "8941_l14";
1018 reg = <0x4d00 0x100>;
1019 compatible = "qcom,qpnp-regulator";
1020 status = "disabled";
1021 };
1022
1023 regulator@4e00 {
1024 regulator-name = "8941_l15";
1025 reg = <0x4e00 0x100>;
1026 compatible = "qcom,qpnp-regulator";
1027 status = "disabled";
1028 };
1029
1030 regulator@4f00 {
1031 regulator-name = "8941_l16";
1032 reg = <0x4f00 0x100>;
1033 compatible = "qcom,qpnp-regulator";
1034 status = "disabled";
1035 };
1036
1037 regulator@5000 {
1038 regulator-name = "8941_l17";
1039 reg = <0x5000 0x100>;
1040 compatible = "qcom,qpnp-regulator";
1041 status = "disabled";
1042 };
1043
1044 regulator@5100 {
1045 regulator-name = "8941_l18";
1046 reg = <0x5100 0x100>;
1047 compatible = "qcom,qpnp-regulator";
1048 status = "disabled";
1049 };
1050
1051 regulator@5200 {
1052 regulator-name = "8941_l19";
1053 reg = <0x5200 0x100>;
1054 compatible = "qcom,qpnp-regulator";
1055 status = "disabled";
1056 };
1057
1058 regulator@5300 {
1059 regulator-name = "8941_l20";
1060 reg = <0x5300 0x100>;
1061 compatible = "qcom,qpnp-regulator";
1062 status = "disabled";
1063 };
1064
1065 regulator@5400 {
1066 regulator-name = "8941_l21";
1067 reg = <0x5400 0x100>;
1068 compatible = "qcom,qpnp-regulator";
1069 status = "disabled";
1070 };
1071
1072 regulator@5500 {
1073 regulator-name = "8941_l22";
1074 reg = <0x5500 0x100>;
1075 compatible = "qcom,qpnp-regulator";
1076 status = "disabled";
1077 };
1078
1079 regulator@5600 {
1080 regulator-name = "8941_l23";
1081 reg = <0x5600 0x100>;
1082 compatible = "qcom,qpnp-regulator";
1083 status = "disabled";
1084 };
1085
1086 regulator@5700 {
1087 regulator-name = "8941_l24";
1088 reg = <0x5700 0x100>;
1089 compatible = "qcom,qpnp-regulator";
1090 status = "disabled";
1091 };
1092
1093 regulator@8000 {
1094 regulator-name = "8941_lvs1";
1095 reg = <0x8000 0x100>;
1096 compatible = "qcom,qpnp-regulator";
1097 status = "disabled";
1098 };
1099
1100 regulator@8100 {
1101 regulator-name = "8941_lvs2";
1102 reg = <0x8100 0x100>;
1103 compatible = "qcom,qpnp-regulator";
1104 status = "disabled";
1105 };
1106
1107 regulator@8200 {
1108 regulator-name = "8941_lvs3";
1109 reg = <0x8200 0x100>;
1110 compatible = "qcom,qpnp-regulator";
1111 status = "disabled";
1112 };
1113
1114 regulator@8300 {
1115 regulator-name = "8941_mvs1";
1116 reg = <0x8300 0x100>;
1117 compatible = "qcom,qpnp-regulator";
1118 status = "disabled";
1119 };
1120
1121 regulator@8400 {
1122 regulator-name = "8941_mvs2";
1123 reg = <0x8400 0x100>;
1124 compatible = "qcom,qpnp-regulator";
1125 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -07001126 };
Amy Maloche02a5eae2012-08-10 21:33:59 -07001127
Amy Malochec9aa2cb2012-11-07 12:22:58 -08001128 qcom,vibrator@c000 {
1129 compatible = "qcom,qpnp-vibrator";
1130 reg = <0xc000 0x100>;
1131 label = "vibrator";
1132 status = "disabled";
1133 };
1134
Amy Maloche4f0b0462012-09-17 12:09:49 -07001135 qcom,leds@d000 {
1136 compatible = "qcom,leds-qpnp";
1137 reg = <0xd000 0x100>;
1138 label = "rgb";
1139 };
1140
1141 qcom,leds@d100 {
1142 compatible = "qcom,leds-qpnp";
1143 reg = <0xd100 0x100>;
1144 label = "rgb";
1145 };
1146
1147 qcom,leds@d200 {
1148 compatible = "qcom,leds-qpnp";
1149 reg = <0xd200 0x100>;
1150 label = "rgb";
1151 };
1152
Amy Maloche2b8b79b2012-10-22 10:36:04 -07001153 qcom,leds@d300 {
1154 compatible = "qcom,leds-qpnp";
1155 reg = <0xd300 0x100>;
1156 label = "flash";
1157 };
1158
1159 qcom,leds@d400 {
1160 compatible = "qcom,leds-qpnp";
1161 reg = <0xd400 0x100>;
1162 label = "flash";
1163 };
1164
1165 qcom,leds@d500 {
1166 compatible = "qcom,leds-qpnp";
1167 reg = <0xd500 0x100>;
1168 label = "flash";
1169 };
1170
1171 qcom,leds@d600 {
1172 compatible = "qcom,leds-qpnp";
1173 reg = <0xd600 0x100>;
1174 label = "flash";
1175 };
1176
1177 qcom,leds@d700 {
1178 compatible = "qcom,leds-qpnp";
1179 reg = <0xd700 0x100>;
1180 label = "flash";
1181 };
1182
Amy Maloche02a5eae2012-08-10 21:33:59 -07001183 qcom,leds@d800 {
1184 compatible = "qcom,leds-qpnp";
1185 reg = <0xd800 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001186 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001187 };
1188
1189 qcom,leds@d900 {
1190 compatible = "qcom,leds-qpnp";
1191 reg = <0xd900 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001192 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001193 };
1194
1195 qcom,leds@da00 {
1196 compatible = "qcom,leds-qpnp";
1197 reg = <0xda00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001198 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001199 };
1200
1201 qcom,leds@db00 {
1202 compatible = "qcom,leds-qpnp";
1203 reg = <0xdb00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001204 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001205 };
1206
1207 qcom,leds@dc00 {
1208 compatible = "qcom,leds-qpnp";
1209 reg = <0xdc00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001210 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001211 };
1212
1213 qcom,leds@dd00 {
1214 compatible = "qcom,leds-qpnp";
1215 reg = <0xdd00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001216 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001217 };
1218
1219 qcom,leds@de00 {
1220 compatible = "qcom,leds-qpnp";
1221 reg = <0xde00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001222 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001223 };
1224
1225 qcom,leds@df00 {
1226 compatible = "qcom,leds-qpnp";
1227 reg = <0xdf00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001228 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001229 };
1230
1231 qcom,leds@e000 {
1232 compatible = "qcom,leds-qpnp";
1233 reg = <0xe000 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001234 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001235 };
1236
1237 qcom,leds@e100 {
1238 compatible = "qcom,leds-qpnp";
1239 reg = <0xe100 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001240 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001241 };
1242
Jay Chokshi6254a162012-05-07 12:38:14 -07001243 pwm@b100 {
1244 compatible = "qcom,qpnp-pwm";
1245 reg = <0xb100 0x100>,
1246 <0xb042 0x7e>;
1247 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1248 qcom,channel-id = <0>;
1249 };
1250
1251 pwm@b200 {
1252 compatible = "qcom,qpnp-pwm";
1253 reg = <0xb200 0x100>,
1254 <0xb042 0x7e>;
1255 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1256 qcom,channel-id = <1>;
1257 };
1258
1259 pwm@b300 {
1260 compatible = "qcom,qpnp-pwm";
1261 reg = <0xb300 0x100>,
1262 <0xb042 0x7e>;
1263 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1264 qcom,channel-id = <2>;
1265 };
1266
1267 pwm@b400 {
1268 compatible = "qcom,qpnp-pwm";
1269 reg = <0xb400 0x100>,
1270 <0xb042 0x7e>;
1271 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1272 qcom,channel-id = <3>;
1273 };
1274
1275 pwm@b500 {
1276 compatible = "qcom,qpnp-pwm";
1277 reg = <0xb500 0x100>,
1278 <0xb042 0x7e>;
1279 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1280 qcom,channel-id = <4>;
1281 };
1282
1283 pwm@b600 {
1284 compatible = "qcom,qpnp-pwm";
1285 reg = <0xb600 0x100>,
1286 <0xb042 0x7e>;
1287 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1288 qcom,channel-id = <5>;
1289 };
1290
1291 pwm@b700 {
1292 compatible = "qcom,qpnp-pwm";
1293 reg = <0xb700 0x100>,
1294 <0xb042 0x7e>;
1295 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1296 qcom,channel-id = <6>;
1297 };
1298
1299 pwm@b800 {
1300 compatible = "qcom,qpnp-pwm";
1301 reg = <0xb800 0x100>,
1302 <0xb042 0x7e>;
1303 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1304 qcom,channel-id = <7>;
1305 };
David Collins153d45a2012-03-26 11:57:50 -07001306 };
1307};