blob: 98d2f5eab25adc33fe24d26a2e5acccbf43ff7a7 [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 Collins73cdb632013-06-17 17:24:45 -070018};
David Collins153d45a2012-03-26 11:57:50 -070019
David Collins73cdb632013-06-17 17:24:45 -070020&pm8941_lsid0 {
21 spmi-slave-container;
22 #address-cells = <1>;
23 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -070024
David Collins73cdb632013-06-17 17:24:45 -070025 pm8941_misc: qcom,misc@900 {
26 compatible = "qcom,qpnp-misc";
27 reg = <0x900 0x100>;
28 };
29
30 qcom,revid@100 {
31 compatible = "qcom,qpnp-revid";
32 reg = <0x100 0x100>;
33 };
34
35 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>;
Siddartha Mohanadoss3cb2b6b2013-06-21 12:07:05 -070042 qcom,temp_alarm-vadc = <&pm8941_vadc>;
David Collins73cdb632013-06-17 17:24:45 -070043 };
44
45 qcom,power-on@800 {
46 compatible = "qcom,qpnp-power-on";
47 reg = <0x800 0x100>;
48 interrupts = <0x0 0x8 0x0>,
49 <0x0 0x8 0x1>,
50 <0x0 0x8 0x4>,
51 <0x0 0x8 0x5>;
52 interrupt-names = "kpdpwr", "resin",
53 "resin-bark", "kpdpwr-resin-bark";
54 qcom,pon-dbc-delay = <15625>;
55 qcom,system-reset;
56 qcom,s3-debounce = <32>;
57
58 qcom,pon_1 {
59 qcom,pon-type = <0>;
60 qcom,pull-up = <1>;
61 linux,code = <116>;
David Keitel299548f2013-03-19 17:26:26 -070062 };
63
David Collins73cdb632013-06-17 17:24:45 -070064 qcom,pon_2 {
65 qcom,pon-type = <1>;
66 qcom,support-reset = <1>;
67 qcom,pull-up = <1>;
68 qcom,s1-timer = <0>;
69 qcom,s2-timer = <2000>;
70 qcom,s2-type = <1>;
71 linux,code = <114>;
Xiaozhe Shi92699082013-03-06 15:22:05 -080072 };
73
David Collins73cdb632013-06-17 17:24:45 -070074 qcom,pon_3 {
75 qcom,pon-type = <3>;
76 qcom,support-reset = <1>;
77 qcom,s1-timer = <6720>;
78 qcom,s2-timer = <2000>;
79 qcom,s2-type = <7>;
80 qcom,pull-up = <1>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -080081 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -070082 };
David Collins153d45a2012-03-26 11:57:50 -070083
David Collins73cdb632013-06-17 17:24:45 -070084 bif_ctrl: qcom,bsi@1b00 {
85 compatible = "qcom,qpnp-bsi";
86 reg = <0x1b00 0x100>,
87 <0x1208 0x1>;
88 reg-names = "bsi-base", "batt-id-status";
89 label = "pm8941-bsi";
90 interrupts = <0x0 0x1b 0x0>,
91 <0x0 0x1b 0x1>,
92 <0x0 0x1b 0x2>,
93 <0x0 0x12 0x0>;
94 interrupt-names = "err",
95 "rx",
96 "tx",
97 "batt-present";
98 qcom,channel-num = <0x31>;
99 qcom,pullup-ohms = <100000>;
100 qcom,vref-microvolts = <1800000>;
101 qcom,min-clock-period = <1000>;
102 qcom,max-clock-period = <160000>;
103 qcom,sample-rate = <4>;
Siddartha Mohanadoss3cb2b6b2013-06-21 12:07:05 -0700104 qcom,bsi-vadc = <&pm8941_vadc>;
David Collins73cdb632013-06-17 17:24:45 -0700105 };
106
107 pm8941_coincell: qcom,coincell@2800 {
108 compatible = "qcom,qpnp-coincell";
109 reg = <0x2800 0x100>;
110 };
111
112 pm8941_bms: qcom,bms {
113 spmi-dev-container;
114 compatible = "qcom,qpnp-bms";
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700115 #address-cells = <1>;
116 #size-cells = <1>;
David Collins73cdb632013-06-17 17:24:45 -0700117 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700118
David Collins73cdb632013-06-17 17:24:45 -0700119 qcom,r-sense-uohm = <10000>;
120 qcom,v-cutoff-uv = <3400000>;
121 qcom,max-voltage-uv = <4200000>;
122 qcom,r-conn-mohm = <0>;
Xiaozhe Shi8e1fe4c2013-09-11 10:53:59 -0700123 qcom,shutdown-soc-valid-limit = <100>;
David Collins73cdb632013-06-17 17:24:45 -0700124 qcom,adjust-soc-low-threshold = <15>;
125 qcom,ocv-voltage-high-threshold-uv = <3750000>;
126 qcom,ocv-voltage-low-threshold-uv = <3650000>;
127 qcom,low-soc-calculate-soc-threshold = <15>;
128 qcom,low-soc-calculate-soc-ms = <5000>;
129 qcom,calculate-soc-ms = <20000>;
130 qcom,chg-term-ua = <100000>;
131 qcom,batt-type = <0>;
132 qcom,low-voltage-threshold = <3420000>;
133 qcom,tm-temp-margin = <5000>;
134 qcom,low-ocv-correction-limit-uv = <100>;
135 qcom,high-ocv-correction-limit-uv = <50>;
136 qcom,hold-soc-est = <3>;
Siddartha Mohanadoss3cb2b6b2013-06-21 12:07:05 -0700137 qcom,bms-vadc = <&pm8941_vadc>;
Siddartha Mohanadoss55d0bca2013-06-24 08:29:34 -0700138 qcom,bms-iadc = <&pm8941_iadc>;
Siddartha Mohanadoss88a3fde2013-06-24 16:18:52 -0700139 qcom,bms-adc_tm = <&pm8941_adc_tm>;
David Collins153d45a2012-03-26 11:57:50 -0700140
David Collins73cdb632013-06-17 17:24:45 -0700141 qcom,bms-iadc@3800 {
142 reg = <0x3800 0x100>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700143 };
David Collins153d45a2012-03-26 11:57:50 -0700144
David Collins73cdb632013-06-17 17:24:45 -0700145 qcom,bms-bms@4000 {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700146 reg = <0x4000 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700147 interrupts = <0x0 0x40 0x0>,
148 <0x0 0x40 0x1>,
149 <0x0 0x40 0x2>,
150 <0x0 0x40 0x3>,
151 <0x0 0x40 0x4>,
152 <0x0 0x40 0x5>,
153 <0x0 0x40 0x6>,
154 <0x0 0x40 0x7>;
155
156 interrupt-names = "cc_thr",
157 "ocv_for_r",
158 "good_ocv",
159 "charge_begin",
160 "ocv_thr",
161 "sw_cc_thr",
162 "vsense_avg",
163 "vsense_for_r";
164 };
165 };
166
167 clkdiv@5b00 {
168 reg = <0x5b00 0x100>;
169 compatible = "qcom,qpnp-clkdiv";
170 qcom,cxo-freq = <19200000>;
171 };
172
173 clkdiv@5c00 {
174 reg = <0x5c00 0x100>;
175 compatible = "qcom,qpnp-clkdiv";
176 qcom,cxo-freq = <19200000>;
177 };
178
179 clkdiv@5d00 {
180 reg = <0x5d00 0x1000>;
181 compatible = "qcom,qpnp-clkdiv";
182 qcom,cxo-freq = <19200000>;
183 };
184
185 pm8941_chg: qcom,charger {
186 spmi-dev-container;
187 compatible = "qcom,qpnp-charger";
188 #address-cells = <1>;
189 #size-cells = <1>;
190 status = "disabled";
191
192 qcom,vddmax-mv = <4200>;
193 qcom,vddsafe-mv = <4230>;
194 qcom,vinmin-mv = <4300>;
195 qcom,ibatmax-ma = <1500>;
196 qcom,ibatterm-ma = <100>;
197 qcom,ibatsafe-ma = <1500>;
198 qcom,thermal-mitigation = <1500 700 600 325>;
199 qcom,cool-bat-decidegc = <100>;
200 qcom,cool-bat-mv = <4100>;
201 qcom,ibatmax-warm-ma = <350>;
202 qcom,warm-bat-decidegc = <450>;
203 qcom,warm-bat-mv = <4100>;
204 qcom,ibatmax-cool-ma = <350>;
205 qcom,vbatdet-delta-mv = <100>;
206 qcom,resume-soc = <99>;
207 qcom,tchg-mins = <150>;
Siddartha Mohanadoss3cb2b6b2013-06-21 12:07:05 -0700208 qcom,chg-vadc = <&pm8941_vadc>;
Siddartha Mohanadoss88a3fde2013-06-24 16:18:52 -0700209 qcom,chg-adc_tm = <&pm8941_adc_tm>;
David Collins73cdb632013-06-17 17:24:45 -0700210
211 qcom,chgr@1000 {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700212 status = "disabled";
David Collins73cdb632013-06-17 17:24:45 -0700213 reg = <0x1000 0x100>;
214 interrupts = <0x0 0x10 0x0>,
215 <0x0 0x10 0x1>,
216 <0x0 0x10 0x2>,
217 <0x0 0x10 0x3>,
218 <0x0 0x10 0x4>,
219 <0x0 0x10 0x5>,
220 <0x0 0x10 0x6>,
221 <0x0 0x10 0x7>;
222
223 interrupt-names = "vbat-det-lo",
224 "vbat-det-hi",
225 "chgwdog",
226 "state-change",
227 "trkl-chg-on",
228 "fast-chg-on",
229 "chg-failed",
230 "chg-done";
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700231 };
David Collins153d45a2012-03-26 11:57:50 -0700232
David Collins73cdb632013-06-17 17:24:45 -0700233 qcom,buck@1100 {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700234 status = "disabled";
David Collins73cdb632013-06-17 17:24:45 -0700235 reg = <0x1100 0x100>;
236 interrupts = <0x0 0x11 0x0>,
237 <0x0 0x11 0x1>,
238 <0x0 0x11 0x2>,
239 <0x0 0x11 0x3>,
240 <0x0 0x11 0x4>,
241 <0x0 0x11 0x5>,
242 <0x0 0x11 0x6>;
243
244 interrupt-names = "vbat-ov",
245 "vreg-ov",
246 "overtemp",
247 "vchg-loop",
248 "ichg-loop",
249 "ibat-loop",
250 "vdd-loop";
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700251 };
David Collins153d45a2012-03-26 11:57:50 -0700252
David Collins73cdb632013-06-17 17:24:45 -0700253 qcom,bat-if@1200 {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700254 status = "disabled";
David Collins73cdb632013-06-17 17:24:45 -0700255 reg = <0x1200 0x100>;
256 interrupts = <0x0 0x12 0x0>,
257 <0x0 0x12 0x1>,
258 <0x0 0x12 0x2>,
259 <0x0 0x12 0x3>,
260 <0x0 0x12 0x4>;
261
262 interrupt-names = "batt-pres",
263 "bat-temp-ok",
264 "bat-fet-on",
265 "vcp-on",
266 "psi";
267
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700268 };
David Collins153d45a2012-03-26 11:57:50 -0700269
David Collins73cdb632013-06-17 17:24:45 -0700270 pm8941_chg_otg: qcom,usb-chgpth@1300 {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700271 status = "disabled";
David Collins73cdb632013-06-17 17:24:45 -0700272 reg = <0x1300 0x100>;
273 interrupts = <0 0x13 0x0>,
274 <0 0x13 0x1>,
275 <0x0 0x13 0x2>;
276
277 interrupt-names = "coarse-det-usb",
278 "usbin-valid",
279 "chg-gone";
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700280 };
David Collins153d45a2012-03-26 11:57:50 -0700281
David Collins73cdb632013-06-17 17:24:45 -0700282 qcom,dc-chgpth@1400 {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700283 status = "disabled";
David Collins73cdb632013-06-17 17:24:45 -0700284 reg = <0x1400 0x100>;
285 interrupts = <0x0 0x14 0x0>,
286 <0x0 0x14 0x1>;
287
288 interrupt-names = "coarse-det-dc",
289 "dcin-valid";
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700290 };
David Collins153d45a2012-03-26 11:57:50 -0700291
David Collins73cdb632013-06-17 17:24:45 -0700292 pm8941_chg_boost: qcom,boost@1500 {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700293 status = "disabled";
David Collins73cdb632013-06-17 17:24:45 -0700294 reg = <0x1500 0x100>;
295 interrupts = <0x0 0x15 0x0>,
296 <0x0 0x15 0x1>;
297
298 interrupt-names = "boost-pwr-ok",
299 "limit-error";
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700300 };
David Collins153d45a2012-03-26 11:57:50 -0700301
David Collins73cdb632013-06-17 17:24:45 -0700302 qcom,chg-misc@1600 {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700303 status = "disabled";
David Collins73cdb632013-06-17 17:24:45 -0700304 reg = <0x1600 0x100>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700305 };
David Collins73cdb632013-06-17 17:24:45 -0700306 };
David Collins153d45a2012-03-26 11:57:50 -0700307
David Collins73cdb632013-06-17 17:24:45 -0700308 pm8941_gpios: gpios {
309 spmi-dev-container;
310 compatible = "qcom,qpnp-pin";
311 gpio-controller;
312 #gpio-cells = <2>;
313 #address-cells = <1>;
314 #size-cells = <1>;
315 label = "pm8941-gpio";
David Collins153d45a2012-03-26 11:57:50 -0700316
David Collins73cdb632013-06-17 17:24:45 -0700317 gpio@c000 {
Amy Malochec9aa2cb2012-11-07 12:22:58 -0800318 reg = <0xc000 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700319 qcom,pin-num = <1>;
Amy Malochec9aa2cb2012-11-07 12:22:58 -0800320 };
321
David Collins73cdb632013-06-17 17:24:45 -0700322 gpio@c100 {
323 reg = <0xc100 0x100>;
324 qcom,pin-num = <2>;
325 };
326
327 gpio@c200 {
328 reg = <0xc200 0x100>;
329 qcom,pin-num = <3>;
330 };
331
332 gpio@c300 {
333 reg = <0xc300 0x100>;
334 qcom,pin-num = <4>;
335 };
336
337 gpio@c400 {
338 reg = <0xc400 0x100>;
339 qcom,pin-num = <5>;
340 };
341
342 gpio@c500 {
343 reg = <0xc500 0x100>;
344 qcom,pin-num = <6>;
345 };
346
347 gpio@c600 {
348 reg = <0xc600 0x100>;
349 qcom,pin-num = <7>;
350 };
351
352 gpio@c700 {
353 reg = <0xc700 0x100>;
354 qcom,pin-num = <8>;
355 };
356
357 gpio@c800 {
358 reg = <0xc800 0x100>;
359 qcom,pin-num = <9>;
360 };
361
362 gpio@c900 {
363 reg = <0xc900 0x100>;
364 qcom,pin-num = <10>;
365 };
366
367 gpio@ca00 {
368 reg = <0xca00 0x100>;
369 qcom,pin-num = <11>;
370 };
371
372 gpio@cb00 {
373 reg = <0xcb00 0x100>;
374 qcom,pin-num = <12>;
375 };
376
377 gpio@cc00 {
378 reg = <0xcc00 0x100>;
379 qcom,pin-num = <13>;
380 };
381
382 gpio@cd00 {
383 reg = <0xcd00 0x100>;
384 qcom,pin-num = <14>;
385 };
386
387 gpio@ce00 {
388 reg = <0xce00 0x100>;
389 qcom,pin-num = <15>;
390 };
391
392 gpio@cf00 {
393 reg = <0xcf00 0x100>;
394 qcom,pin-num = <16>;
395 };
396
397 gpio@d000 {
Amy Maloche4f0b0462012-09-17 12:09:49 -0700398 reg = <0xd000 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700399 qcom,pin-num = <17>;
Amy Maloche4f0b0462012-09-17 12:09:49 -0700400 };
401
David Collins73cdb632013-06-17 17:24:45 -0700402 gpio@d100 {
Amy Maloche4f0b0462012-09-17 12:09:49 -0700403 reg = <0xd100 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700404 qcom,pin-num = <18>;
Amy Maloche4f0b0462012-09-17 12:09:49 -0700405 };
406
David Collins73cdb632013-06-17 17:24:45 -0700407 gpio@d200 {
Amy Maloche4f0b0462012-09-17 12:09:49 -0700408 reg = <0xd200 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700409 qcom,pin-num = <19>;
Amy Maloche4f0b0462012-09-17 12:09:49 -0700410 };
411
David Collins73cdb632013-06-17 17:24:45 -0700412 gpio@d300 {
Amy Maloche2b8b79b2012-10-22 10:36:04 -0700413 reg = <0xd300 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700414 qcom,pin-num = <20>;
Amy Maloche2b8b79b2012-10-22 10:36:04 -0700415 };
416
David Collins73cdb632013-06-17 17:24:45 -0700417 gpio@d400 {
Amy Maloche2b8b79b2012-10-22 10:36:04 -0700418 reg = <0xd400 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700419 qcom,pin-num = <21>;
Amy Maloche2b8b79b2012-10-22 10:36:04 -0700420 };
421
David Collins73cdb632013-06-17 17:24:45 -0700422 gpio@d500 {
Amy Maloche2b8b79b2012-10-22 10:36:04 -0700423 reg = <0xd500 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700424 qcom,pin-num = <22>;
Amy Maloche2b8b79b2012-10-22 10:36:04 -0700425 };
426
David Collins73cdb632013-06-17 17:24:45 -0700427 gpio@d600 {
Amy Maloche2b8b79b2012-10-22 10:36:04 -0700428 reg = <0xd600 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700429 qcom,pin-num = <23>;
Amy Maloche2b8b79b2012-10-22 10:36:04 -0700430 };
431
David Collins73cdb632013-06-17 17:24:45 -0700432 gpio@d700 {
Amy Maloche2b8b79b2012-10-22 10:36:04 -0700433 reg = <0xd700 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700434 qcom,pin-num = <24>;
Amy Maloche2b8b79b2012-10-22 10:36:04 -0700435 };
436
David Collins73cdb632013-06-17 17:24:45 -0700437 gpio@d800 {
Amy Maloche02a5eae2012-08-10 21:33:59 -0700438 reg = <0xd800 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700439 qcom,pin-num = <25>;
Amy Maloche02a5eae2012-08-10 21:33:59 -0700440 };
441
David Collins73cdb632013-06-17 17:24:45 -0700442 gpio@d900 {
Amy Maloche02a5eae2012-08-10 21:33:59 -0700443 reg = <0xd900 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700444 qcom,pin-num = <26>;
Amy Maloche02a5eae2012-08-10 21:33:59 -0700445 };
446
David Collins73cdb632013-06-17 17:24:45 -0700447 gpio@da00 {
Amy Maloche02a5eae2012-08-10 21:33:59 -0700448 reg = <0xda00 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700449 qcom,pin-num = <27>;
Amy Maloche02a5eae2012-08-10 21:33:59 -0700450 };
451
David Collins73cdb632013-06-17 17:24:45 -0700452 gpio@db00 {
Amy Maloche02a5eae2012-08-10 21:33:59 -0700453 reg = <0xdb00 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700454 qcom,pin-num = <28>;
Amy Maloche02a5eae2012-08-10 21:33:59 -0700455 };
456
David Collins73cdb632013-06-17 17:24:45 -0700457 gpio@dc00 {
Amy Maloche02a5eae2012-08-10 21:33:59 -0700458 reg = <0xdc00 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700459 qcom,pin-num = <29>;
Amy Maloche02a5eae2012-08-10 21:33:59 -0700460 };
461
David Collins73cdb632013-06-17 17:24:45 -0700462 gpio@dd00 {
Amy Maloche02a5eae2012-08-10 21:33:59 -0700463 reg = <0xdd00 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700464 qcom,pin-num = <30>;
Amy Maloche02a5eae2012-08-10 21:33:59 -0700465 };
466
David Collins73cdb632013-06-17 17:24:45 -0700467 gpio@de00 {
Amy Maloche02a5eae2012-08-10 21:33:59 -0700468 reg = <0xde00 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700469 qcom,pin-num = <31>;
Amy Maloche02a5eae2012-08-10 21:33:59 -0700470 };
471
David Collins73cdb632013-06-17 17:24:45 -0700472 gpio@df00 {
Amy Maloche02a5eae2012-08-10 21:33:59 -0700473 reg = <0xdf00 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700474 qcom,pin-num = <32>;
Amy Maloche02a5eae2012-08-10 21:33:59 -0700475 };
476
David Collins73cdb632013-06-17 17:24:45 -0700477 gpio@e000 {
Amy Maloche02a5eae2012-08-10 21:33:59 -0700478 reg = <0xe000 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700479 qcom,pin-num = <33>;
Amy Maloche02a5eae2012-08-10 21:33:59 -0700480 };
481
David Collins73cdb632013-06-17 17:24:45 -0700482 gpio@e100 {
Amy Maloche02a5eae2012-08-10 21:33:59 -0700483 reg = <0xe100 0x100>;
David Collins73cdb632013-06-17 17:24:45 -0700484 qcom,pin-num = <34>;
Amy Maloche02a5eae2012-08-10 21:33:59 -0700485 };
486
David Collins73cdb632013-06-17 17:24:45 -0700487 gpio@e200 {
488 reg = <0xe200 0x100>;
489 qcom,pin-num = <35>;
Jay Chokshi6254a162012-05-07 12:38:14 -0700490 };
491
David Collins73cdb632013-06-17 17:24:45 -0700492 gpio@e300 {
493 reg = <0xe300 0x100>;
494 qcom,pin-num = <36>;
495 };
496 };
497
498 pm8941_mpps: mpps {
499 spmi-dev-container;
500 compatible = "qcom,qpnp-pin";
501 gpio-controller;
502 #gpio-cells = <2>;
503 #address-cells = <1>;
504 #size-cells = <1>;
505 label = "pm8941-mpp";
506
507 mpp@a000 {
508 reg = <0xa000 0x100>;
509 qcom,pin-num = <1>;
Jay Chokshi6254a162012-05-07 12:38:14 -0700510 };
511
David Collins73cdb632013-06-17 17:24:45 -0700512 mpp@a100 {
513 reg = <0xa100 0x100>;
514 qcom,pin-num = <2>;
Jay Chokshi6254a162012-05-07 12:38:14 -0700515 };
516
David Collins73cdb632013-06-17 17:24:45 -0700517 mpp@a200 {
518 reg = <0xa200 0x100>;
519 qcom,pin-num = <3>;
Jay Chokshi6254a162012-05-07 12:38:14 -0700520 };
521
David Collins73cdb632013-06-17 17:24:45 -0700522 mpp@a300 {
523 reg = <0xa300 0x100>;
524 qcom,pin-num = <4>;
Jay Chokshi6254a162012-05-07 12:38:14 -0700525 };
526
David Collins73cdb632013-06-17 17:24:45 -0700527 mpp@a400 {
528 reg = <0xa400 0x100>;
529 qcom,pin-num = <5>;
Jay Chokshi6254a162012-05-07 12:38:14 -0700530 };
531
David Collins73cdb632013-06-17 17:24:45 -0700532 mpp@a500 {
533 reg = <0xa500 0x100>;
534 qcom,pin-num = <6>;
Jay Chokshi6254a162012-05-07 12:38:14 -0700535 };
536
David Collins73cdb632013-06-17 17:24:45 -0700537 mpp@a600 {
538 reg = <0xa600 0x100>;
539 qcom,pin-num = <7>;
Jay Chokshi6254a162012-05-07 12:38:14 -0700540 };
David Collins73cdb632013-06-17 17:24:45 -0700541
542 mpp@a700 {
543 reg = <0xa700 0x100>;
544 qcom,pin-num = <8>;
545 };
546 };
547
548 qcom,pm8941_rtc {
549 spmi-dev-container;
550 compatible = "qcom,qpnp-rtc";
551 #address-cells = <1>;
552 #size-cells = <1>;
553 qcom,qpnp-rtc-write = <0>;
554 qcom,qpnp-rtc-alarm-pwrup = <0>;
555
556 qcom,pm8941_rtc_rw@6000 {
557 reg = <0x6000 0x100>;
558 };
559 qcom,pm8941_rtc_alarm@6100 {
560 reg = <0x6100 0x100>;
561 interrupts = <0x0 0x61 0x1>;
562 };
563 };
564
565 pm8941_vadc: vadc@3100 {
566 compatible = "qcom,qpnp-vadc";
567 reg = <0x3100 0x100>;
568 #address-cells = <1>;
569 #size-cells = <0>;
570 interrupts = <0x0 0x31 0x0>;
571 interrupt-names = "eoc-int-en-set";
572 qcom,adc-bit-resolution = <15>;
573 qcom,adc-vdd-reference = <1800>;
Siddartha Mohanadoss79269262013-07-28 13:13:10 -0700574 qcom,vadc-poll-eoc;
David Collins73cdb632013-06-17 17:24:45 -0700575
576 chan@0 {
577 label = "usb_in";
578 reg = <0>;
579 qcom,decimation = <0>;
580 qcom,pre-div-channel-scaling = <4>;
581 qcom,calibration-type = "absolute";
582 qcom,scale-function = <0>;
583 qcom,hw-settle-time = <0>;
584 qcom,fast-avg-setup = <0>;
585 };
586
587 chan@1 {
588 label = "dc_in";
589 reg = <1>;
590 qcom,decimation = <0>;
591 qcom,pre-div-channel-scaling = <4>;
592 qcom,calibration-type = "absolute";
593 qcom,scale-function = <0>;
594 qcom,hw-settle-time = <0>;
595 qcom,fast-avg-setup = <0>;
596 };
597
598 chan@2 {
599 label = "vchg_sns";
600 reg = <2>;
601 qcom,decimation = <0>;
602 qcom,pre-div-channel-scaling = <3>;
603 qcom,calibration-type = "absolute";
604 qcom,scale-function = <0>;
605 qcom,hw-settle-time = <0>;
606 qcom,fast-avg-setup = <0>;
607 };
608
609 chan@3 {
610 label = "spare1_div3";
611 reg = <3>;
612 qcom,decimation = <0>;
613 qcom,pre-div-channel-scaling = <1>;
614 qcom,calibration-type = "absolute";
615 qcom,scale-function = <0>;
616 qcom,hw-settle-time = <0>;
617 qcom,fast-avg-setup = <0>;
618 };
619
620 chan@4 {
621 label = "usb_id_mv";
622 reg = <4>;
623 qcom,decimation = <0>;
624 qcom,pre-div-channel-scaling = <1>;
625 qcom,calibration-type = "absolute";
626 qcom,scale-function = <0>;
627 qcom,hw-settle-time = <0>;
628 qcom,fast-avg-setup = <0>;
629 };
630
631 chan@5 {
632 label = "vcoin";
633 reg = <5>;
634 qcom,decimation = <0>;
635 qcom,pre-div-channel-scaling = <1>;
636 qcom,calibration-type = "absolute";
637 qcom,scale-function = <0>;
638 qcom,hw-settle-time = <0>;
639 qcom,fast-avg-setup = <0>;
640 };
641
642 chan@6 {
643 label = "vbat_sns";
644 reg = <6>;
645 qcom,decimation = <0>;
646 qcom,pre-div-channel-scaling = <1>;
647 qcom,calibration-type = "absolute";
648 qcom,scale-function = <0>;
649 qcom,hw-settle-time = <0>;
650 qcom,fast-avg-setup = <0>;
651 };
652
653 chan@7 {
654 label = "vph_pwr";
655 reg = <7>;
656 qcom,decimation = <0>;
657 qcom,pre-div-channel-scaling = <1>;
658 qcom,calibration-type = "absolute";
659 qcom,scale-function = <0>;
660 qcom,hw-settle-time = <0>;
661 qcom,fast-avg-setup = <0>;
662 };
663
664 chan@8 {
665 label = "die_temp";
666 reg = <8>;
667 qcom,decimation = <0>;
668 qcom,pre-div-channel-scaling = <0>;
669 qcom,calibration-type = "absolute";
670 qcom,scale-function = <3>;
671 qcom,hw-settle-time = <0>;
672 qcom,fast-avg-setup = <0>;
673 };
674
675 chan@9 {
676 label = "ref_625mv";
677 reg = <9>;
678 qcom,decimation = <0>;
679 qcom,pre-div-channel-scaling = <0>;
680 qcom,calibration-type = "absolute";
681 qcom,scale-function = <0>;
682 qcom,hw-settle-time = <0>;
683 qcom,fast-avg-setup = <0>;
684 };
685
686 chan@a {
687 label = "ref_1250v";
688 reg = <0xa>;
689 qcom,decimation = <0>;
690 qcom,pre-div-channel-scaling = <0>;
691 qcom,calibration-type = "absolute";
692 qcom,scale-function = <0>;
693 qcom,hw-settle-time = <0>;
694 qcom,fast-avg-setup = <0>;
695 };
696
697 chan@30 {
698 label = "batt_therm";
699 reg = <0x30>;
700 qcom,decimation = <0>;
701 qcom,pre-div-channel-scaling = <0>;
702 qcom,calibration-type = "ratiometric";
703 qcom,scale-function = <1>;
704 qcom,hw-settle-time = <2>;
705 qcom,fast-avg-setup = <0>;
706 };
707
708 chan@31 {
709 label = "batt_id";
710 reg = <0x31>;
711 qcom,decimation = <0>;
712 qcom,pre-div-channel-scaling = <0>;
713 qcom,calibration-type = "ratiometric";
714 qcom,scale-function = <0>;
715 qcom,hw-settle-time = <2>;
716 qcom,fast-avg-setup = <0>;
717 };
718
719 chan@b2 {
720 label = "xo_therm_pu2";
721 reg = <0xb2>;
722 qcom,decimation = <0>;
723 qcom,pre-div-channel-scaling = <0>;
724 qcom,calibration-type = "ratiometric";
725 qcom,scale-function = <4>;
726 qcom,hw-settle-time = <2>;
727 qcom,fast-avg-setup = <0>;
728 };
729
730 chan@b3 {
731 label = "msm_therm";
732 reg = <0xb3>;
733 qcom,decimation = <0>;
734 qcom,pre-div-channel-scaling = <0>;
735 qcom,calibration-type = "ratiometric";
736 qcom,scale-function = <2>;
737 qcom,hw-settle-time = <2>;
738 qcom,fast-avg-setup = <0>;
739 };
740
741 chan@b4 {
742 label = "emmc_therm";
743 reg = <0xb4>;
744 qcom,decimation = <0>;
745 qcom,pre-div-channel-scaling = <0>;
746 qcom,calibration-type = "ratiometric";
747 qcom,scale-function = <2>;
748 qcom,hw-settle-time = <2>;
749 qcom,fast-avg-setup = <0>;
750 };
751
752 chan@b5 {
753 label = "pa_therm0";
754 reg = <0xb5>;
755 qcom,decimation = <0>;
756 qcom,pre-div-channel-scaling = <0>;
757 qcom,calibration-type = "ratiometric";
758 qcom,scale-function = <2>;
759 qcom,hw-settle-time = <2>;
760 qcom,fast-avg-setup = <0>;
761 };
762
763 chan@b7 {
764 label = "pa_therm1";
765 reg = <0xb7>;
766 qcom,decimation = <0>;
767 qcom,pre-div-channel-scaling = <0>;
768 qcom,calibration-type = "ratiometric";
769 qcom,scale-function = <2>;
770 qcom,hw-settle-time = <2>;
771 qcom,fast-avg-setup = <0>;
772 };
773
774 chan@b8 {
775 label = "quiet_therm";
776 reg = <0xb8>;
777 qcom,decimation = <0>;
778 qcom,pre-div-channel-scaling = <0>;
779 qcom,calibration-type = "ratiometric";
780 qcom,scale-function = <2>;
781 qcom,hw-settle-time = <2>;
782 qcom,fast-avg-setup = <0>;
783 };
784
785 chan@b9 {
786 label = "usb_id";
787 reg = <0xb9>;
788 qcom,decimation = <0>;
789 qcom,pre-div-channel-scaling = <0>;
790 qcom,calibration-type = "ratiometric";
791 qcom,scale-function = <0>;
792 qcom,hw-settle-time = <2>;
793 qcom,fast-avg-setup = <0>;
794 };
795
796 chan@39 {
797 label = "usb_id_nopull";
798 reg = <0x39>;
799 qcom,decimation = <0>;
800 qcom,pre-div-channel-scaling = <0>;
801 qcom,calibration-type = "ratiometric";
802 qcom,scale-function = <0>;
803 qcom,hw-settle-time = <2>;
804 qcom,fast-avg-setup = <0>;
805 };
806 };
807
808 pm8941_iadc: iadc@3600 {
809 compatible = "qcom,qpnp-iadc";
810 reg = <0x3600 0x100>;
811 #address-cells = <1>;
812 #size-cells = <0>;
813 interrupts = <0x0 0x36 0x0>;
814 interrupt-names = "eoc-int-en-set";
815 qcom,adc-bit-resolution = <16>;
816 qcom,adc-vdd-reference = <1800>;
Siddartha Mohanadoss3cb2b6b2013-06-21 12:07:05 -0700817 qcom,iadc-vadc = <&pm8941_vadc>;
Siddartha Mohanadoss79269262013-07-28 13:13:10 -0700818 qcom,iadc-poll-eoc;
David Collins73cdb632013-06-17 17:24:45 -0700819
820 chan@0 {
821 label = "internal_rsense";
822 reg = <0>;
823 qcom,decimation = <0>;
824 qcom,pre-div-channel-scaling = <1>;
825 qcom,calibration-type = "absolute";
826 qcom,scale-function = <0>;
827 qcom,hw-settle-time = <0>;
828 qcom,fast-avg-setup = <0>;
829 };
830 };
831
832 pm8941_adc_tm: qcom,vadc@3400 {
833 compatible = "qcom,qpnp-adc-tm";
834 reg = <0x3400 0x100>;
835 #address-cells = <1>;
836 #size-cells = <0>;
837 interrupts = <0x0 0x34 0x0>,
838 <0x0 0x34 0x3>,
839 <0x0 0x34 0x4>;
840 interrupt-names = "eoc-int-en-set",
841 "high-thr-en-set",
842 "low-thr-en-set";
843 qcom,adc-bit-resolution = <15>;
844 qcom,adc-vdd-reference = <1800>;
Siddartha Mohanadoss3cb2b6b2013-06-21 12:07:05 -0700845 qcom,adc_tm-vadc = <&pm8941_vadc>;
David Collins73cdb632013-06-17 17:24:45 -0700846
847 /* Channel Node */
848 chan@b9 {
849 label = "usb_id";
850 reg = <0xb9>;
851 qcom,decimation = <0>;
852 qcom,pre-div-channel-scaling = <0>;
853 qcom,calibration-type = "ratiometric";
854 qcom,scale-function = <2>;
855 qcom,hw-settle-time = <2>;
856 qcom,fast-avg-setup = <3>;
857 qcom,btm-channel-number = <0x48>;
858 };
859
860 chan@30 {
861 label = "batt_therm";
862 reg = <0x30>;
863 qcom,decimation = <0>;
864 qcom,pre-div-channel-scaling = <0>;
865 qcom,calibration-type = "ratiometric";
866 qcom,scale-function = <1>;
867 qcom,hw-settle-time = <2>;
868 qcom,fast-avg-setup = <3>;
869 qcom,btm-channel-number = <0x68>;
870 };
871
872 chan@8 {
873 label = "die_temp";
874 reg = <8>;
875 qcom,decimation = <0>;
876 qcom,pre-div-channel-scaling = <0>;
877 qcom,calibration-type = "absolute";
878 qcom,scale-function = <3>;
879 qcom,hw-settle-time = <0>;
880 qcom,fast-avg-setup = <3>;
881 qcom,btm-channel-number = <0x70>;
882 };
883
884 chan@6 {
885 label = "vbat_sns";
886 reg = <6>;
887 qcom,decimation = <0>;
888 qcom,pre-div-channel-scaling = <1>;
889 qcom,calibration-type = "absolute";
890 qcom,scale-function = <0>;
891 qcom,hw-settle-time = <0>;
892 qcom,fast-avg-setup = <3>;
893 qcom,btm-channel-number = <0x78>;
894 };
895
896 chan@b5 {
897 label = "pa_therm0";
898 reg = <0xb5>;
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 = <3>;
905 qcom,btm-channel-number = <0x80>;
906 qcom,thermal-node;
907 };
908
909 chan@b7 {
910 label = "pa_therm1";
911 reg = <0xb7>;
912 qcom,decimation = <0>;
913 qcom,pre-div-channel-scaling = <0>;
914 qcom,calibration-type = "ratiometric";
915 qcom,scale-function = <2>;
916 qcom,hw-settle-time = <2>;
917 qcom,fast-avg-setup = <3>;
918 qcom,btm-channel-number = <0x88>;
919 qcom,thermal-node;
920 };
921
922 chan@b4 {
923 label = "emmc_therm";
924 reg = <0xb4>;
925 qcom,decimation = <0>;
926 qcom,pre-div-channel-scaling = <0>;
927 qcom,calibration-type = "ratiometric";
928 qcom,scale-function = <2>;
929 qcom,hw-settle-time = <2>;
930 qcom,fast-avg-setup = <3>;
931 qcom,btm-channel-number = <0x90>;
932 qcom,thermal-node;
933 };
934
935 chan@b3 {
936 label = "msm_therm";
937 reg = <0xb3>;
938 qcom,decimation = <0>;
939 qcom,pre-div-channel-scaling = <0>;
940 qcom,calibration-type = "ratiometric";
941 qcom,scale-function = <2>;
942 qcom,hw-settle-time = <2>;
943 qcom,fast-avg-setup = <3>;
944 qcom,btm-channel-number = <0x98>;
945 qcom,thermal-node;
946 };
947 };
948};
949
950&pm8941_lsid1 {
951 spmi-slave-container;
952 #address-cells = <1>;
953 #size-cells = <1>;
954
955 regulator@1400 {
956 regulator-name = "8941_s1";
957 spmi-dev-container;
958 #address-cells = <1>;
959 #size-cells = <1>;
960 compatible = "qcom,qpnp-regulator";
961 reg = <0x1400 0x300>;
962 status = "disabled";
963
964 qcom,ctl@1400 {
965 reg = <0x1400 0x100>;
966 };
967 qcom,ps@1500 {
968 reg = <0x1500 0x100>;
969 };
970 qcom,freq@1600 {
971 reg = <0x1600 0x100>;
972 };
973 };
974
975 regulator@1700 {
976 regulator-name = "8941_s2";
977 spmi-dev-container;
978 #address-cells = <1>;
979 #size-cells = <1>;
980 compatible = "qcom,qpnp-regulator";
981 reg = <0x1700 0x300>;
982 status = "disabled";
983
984 qcom,ctl@1700 {
985 reg = <0x1700 0x100>;
986 };
987 qcom,ps@1800 {
988 reg = <0x1800 0x100>;
989 };
990 qcom,freq@1900 {
991 reg = <0x1900 0x100>;
992 };
993 };
994
995 regulator@1a00 {
996 regulator-name = "8941_s3";
997 spmi-dev-container;
998 #address-cells = <1>;
999 #size-cells = <1>;
1000 compatible = "qcom,qpnp-regulator";
1001 reg = <0x1a00 0x300>;
1002 status = "disabled";
1003
1004 qcom,ctl@1a00 {
1005 reg = <0x1a00 0x100>;
1006 };
1007 qcom,ps@1b00 {
1008 reg = <0x1b00 0x100>;
1009 };
1010 qcom,freq@1c00 {
1011 reg = <0x1c00 0x100>;
1012 };
1013 };
1014
1015 regulator@a000 {
1016 regulator-name = "8941_boost";
1017 reg = <0xa000 0x100>;
1018 compatible = "qcom,qpnp-regulator";
1019 status = "disabled";
1020 };
1021
1022 regulator@4000 {
1023 regulator-name = "8941_l1";
1024 reg = <0x4000 0x100>;
1025 compatible = "qcom,qpnp-regulator";
1026 status = "disabled";
1027 };
1028
1029 regulator@4100 {
1030 regulator-name = "8941_l2";
1031 reg = <0x4100 0x100>;
1032 compatible = "qcom,qpnp-regulator";
1033 status = "disabled";
1034 };
1035
1036 regulator@4200 {
1037 regulator-name = "8941_l3";
1038 reg = <0x4200 0x100>;
1039 compatible = "qcom,qpnp-regulator";
1040 status = "disabled";
1041 };
1042
1043 regulator@4300 {
1044 regulator-name = "8941_l4";
1045 reg = <0x4300 0x100>;
1046 compatible = "qcom,qpnp-regulator";
1047 status = "disabled";
1048 };
1049
1050 regulator@4400 {
1051 regulator-name = "8941_l5";
1052 reg = <0x4400 0x100>;
1053 compatible = "qcom,qpnp-regulator";
1054 qcom,force-type = <0x04 0x10>;
1055 status = "disabled";
1056 };
1057
1058 regulator@4500 {
1059 regulator-name = "8941_l6";
1060 reg = <0x4500 0x100>;
1061 compatible = "qcom,qpnp-regulator";
1062 status = "disabled";
1063 };
1064
1065 regulator@4600 {
1066 regulator-name = "8941_l7";
1067 reg = <0x4600 0x100>;
1068 compatible = "qcom,qpnp-regulator";
1069 qcom,force-type = <0x04 0x10>;
1070 status = "disabled";
1071 };
1072
1073 regulator@4700 {
1074 regulator-name = "8941_l8";
1075 reg = <0x4700 0x100>;
1076 compatible = "qcom,qpnp-regulator";
1077 status = "disabled";
1078 };
1079
1080 regulator@4800 {
1081 regulator-name = "8941_l9";
1082 reg = <0x4800 0x100>;
1083 compatible = "qcom,qpnp-regulator";
1084 status = "disabled";
1085 };
1086
1087 regulator@4900 {
1088 regulator-name = "8941_l10";
1089 reg = <0x4900 0x100>;
1090 compatible = "qcom,qpnp-regulator";
1091 status = "disabled";
1092 };
1093
1094 regulator@4a00 {
1095 regulator-name = "8941_l11";
1096 reg = <0x4a00 0x100>;
1097 compatible = "qcom,qpnp-regulator";
1098 status = "disabled";
1099 };
1100
1101 regulator@4b00 {
1102 regulator-name = "8941_l12";
1103 reg = <0x4b00 0x100>;
1104 compatible = "qcom,qpnp-regulator";
1105 status = "disabled";
1106 };
1107
1108 regulator@4c00 {
1109 regulator-name = "8941_l13";
1110 reg = <0x4c00 0x100>;
1111 compatible = "qcom,qpnp-regulator";
1112 status = "disabled";
1113 };
1114
1115 regulator@4d00 {
1116 regulator-name = "8941_l14";
1117 reg = <0x4d00 0x100>;
1118 compatible = "qcom,qpnp-regulator";
1119 status = "disabled";
1120 };
1121
1122 regulator@4e00 {
1123 regulator-name = "8941_l15";
1124 reg = <0x4e00 0x100>;
1125 compatible = "qcom,qpnp-regulator";
1126 status = "disabled";
1127 };
1128
1129 regulator@4f00 {
1130 regulator-name = "8941_l16";
1131 reg = <0x4f00 0x100>;
1132 compatible = "qcom,qpnp-regulator";
1133 status = "disabled";
1134 };
1135
1136 regulator@5000 {
1137 regulator-name = "8941_l17";
1138 reg = <0x5000 0x100>;
1139 compatible = "qcom,qpnp-regulator";
1140 status = "disabled";
1141 };
1142
1143 regulator@5100 {
1144 regulator-name = "8941_l18";
1145 reg = <0x5100 0x100>;
1146 compatible = "qcom,qpnp-regulator";
1147 status = "disabled";
1148 };
1149
1150 regulator@5200 {
1151 regulator-name = "8941_l19";
1152 reg = <0x5200 0x100>;
1153 compatible = "qcom,qpnp-regulator";
1154 status = "disabled";
1155 };
1156
1157 regulator@5300 {
1158 regulator-name = "8941_l20";
1159 reg = <0x5300 0x100>;
1160 compatible = "qcom,qpnp-regulator";
1161 status = "disabled";
1162 };
1163
1164 regulator@5400 {
1165 regulator-name = "8941_l21";
1166 reg = <0x5400 0x100>;
1167 compatible = "qcom,qpnp-regulator";
1168 status = "disabled";
1169 };
1170
1171 regulator@5500 {
1172 regulator-name = "8941_l22";
1173 reg = <0x5500 0x100>;
1174 compatible = "qcom,qpnp-regulator";
1175 status = "disabled";
1176 };
1177
1178 regulator@5600 {
1179 regulator-name = "8941_l23";
1180 reg = <0x5600 0x100>;
1181 compatible = "qcom,qpnp-regulator";
1182 status = "disabled";
1183 };
1184
1185 regulator@5700 {
1186 regulator-name = "8941_l24";
1187 reg = <0x5700 0x100>;
1188 compatible = "qcom,qpnp-regulator";
1189 status = "disabled";
1190 };
1191
1192 regulator@8000 {
1193 regulator-name = "8941_lvs1";
1194 reg = <0x8000 0x100>;
1195 compatible = "qcom,qpnp-regulator";
1196 status = "disabled";
1197 };
1198
1199 regulator@8100 {
1200 regulator-name = "8941_lvs2";
1201 reg = <0x8100 0x100>;
1202 compatible = "qcom,qpnp-regulator";
1203 status = "disabled";
1204 };
1205
1206 regulator@8200 {
1207 regulator-name = "8941_lvs3";
1208 reg = <0x8200 0x100>;
1209 compatible = "qcom,qpnp-regulator";
1210 status = "disabled";
1211 };
1212
1213 regulator@8300 {
1214 regulator-name = "8941_mvs1";
1215 reg = <0x8300 0x100>;
1216 compatible = "qcom,qpnp-regulator";
1217 status = "disabled";
1218 };
1219
1220 regulator@8400 {
1221 regulator-name = "8941_mvs2";
1222 reg = <0x8400 0x100>;
1223 compatible = "qcom,qpnp-regulator";
1224 status = "disabled";
1225 };
1226
1227 qcom,vibrator@c000 {
1228 compatible = "qcom,qpnp-vibrator";
1229 reg = <0xc000 0x100>;
1230 label = "vibrator";
1231 status = "disabled";
1232 };
1233
1234 qcom,leds@d000 {
1235 compatible = "qcom,leds-qpnp";
1236 reg = <0xd000 0x100>;
1237 label = "rgb";
1238 };
1239
1240 qcom,leds@d100 {
1241 compatible = "qcom,leds-qpnp";
1242 reg = <0xd100 0x100>;
1243 label = "rgb";
1244 };
1245
1246 qcom,leds@d200 {
1247 compatible = "qcom,leds-qpnp";
1248 reg = <0xd200 0x100>;
1249 label = "rgb";
1250 };
1251
1252 qcom,leds@d300 {
1253 compatible = "qcom,leds-qpnp";
1254 reg = <0xd300 0x100>;
1255 label = "flash";
Chun Zhang0d6ca072013-07-30 21:08:39 -07001256 flash-boost-supply = <&pm8941_chg_boost>;
1257 torch-boost-supply = <&pm8941_boost>;
David Collins73cdb632013-06-17 17:24:45 -07001258 };
1259
1260 qcom,leds@d400 {
1261 compatible = "qcom,leds-qpnp";
1262 reg = <0xd400 0x100>;
1263 label = "flash";
1264 };
1265
1266 qcom,leds@d500 {
1267 compatible = "qcom,leds-qpnp";
1268 reg = <0xd500 0x100>;
1269 label = "flash";
1270 };
1271
1272 qcom,leds@d600 {
1273 compatible = "qcom,leds-qpnp";
1274 reg = <0xd600 0x100>;
1275 label = "flash";
1276 };
1277
1278 qcom,leds@d700 {
1279 compatible = "qcom,leds-qpnp";
1280 reg = <0xd700 0x100>;
1281 label = "flash";
1282 };
1283
1284 qcom,leds@d800 {
1285 compatible = "qcom,leds-qpnp";
1286 reg = <0xd800 0x100>;
1287 label = "wled";
1288 };
1289
1290 qcom,leds@d900 {
1291 compatible = "qcom,leds-qpnp";
1292 reg = <0xd900 0x100>;
1293 label = "wled";
1294 };
1295
1296 qcom,leds@da00 {
1297 compatible = "qcom,leds-qpnp";
1298 reg = <0xda00 0x100>;
1299 label = "wled";
1300 };
1301
1302 qcom,leds@db00 {
1303 compatible = "qcom,leds-qpnp";
1304 reg = <0xdb00 0x100>;
1305 label = "wled";
1306 };
1307
1308 qcom,leds@dc00 {
1309 compatible = "qcom,leds-qpnp";
1310 reg = <0xdc00 0x100>;
1311 label = "wled";
1312 };
1313
1314 qcom,leds@dd00 {
1315 compatible = "qcom,leds-qpnp";
1316 reg = <0xdd00 0x100>;
1317 label = "wled";
1318 };
1319
1320 qcom,leds@de00 {
1321 compatible = "qcom,leds-qpnp";
1322 reg = <0xde00 0x100>;
1323 label = "wled";
1324 };
1325
1326 qcom,leds@df00 {
1327 compatible = "qcom,leds-qpnp";
1328 reg = <0xdf00 0x100>;
1329 label = "wled";
1330 };
1331
1332 qcom,leds@e000 {
1333 compatible = "qcom,leds-qpnp";
1334 reg = <0xe000 0x100>;
1335 label = "wled";
1336 };
1337
1338 qcom,leds@e100 {
1339 compatible = "qcom,leds-qpnp";
1340 reg = <0xe100 0x100>;
1341 label = "wled";
1342 };
1343
Mohan Pallaka6e8ba212013-04-25 11:43:45 +05301344 qcom,leds@e200 {
1345 compatible = "qcom,leds-qpnp";
1346 reg = <0xe200 0x100>;
1347 label = "kpdbl";
1348 };
1349
David Collins73cdb632013-06-17 17:24:45 -07001350 pwm@b100 {
1351 compatible = "qcom,qpnp-pwm";
1352 reg = <0xb100 0x100>,
1353 <0xb042 0x7e>;
1354 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1355 qcom,channel-id = <0>;
1356 };
1357
1358 pwm@b200 {
1359 compatible = "qcom,qpnp-pwm";
1360 reg = <0xb200 0x100>,
1361 <0xb042 0x7e>;
1362 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1363 qcom,channel-id = <1>;
1364 };
1365
1366 pwm@b300 {
1367 compatible = "qcom,qpnp-pwm";
1368 reg = <0xb300 0x100>,
1369 <0xb042 0x7e>;
1370 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1371 qcom,channel-id = <2>;
1372 };
1373
1374 pwm@b400 {
1375 compatible = "qcom,qpnp-pwm";
1376 reg = <0xb400 0x100>,
1377 <0xb042 0x7e>;
1378 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1379 qcom,channel-id = <3>;
1380 };
1381
1382 pwm@b500 {
1383 compatible = "qcom,qpnp-pwm";
1384 reg = <0xb500 0x100>,
1385 <0xb042 0x7e>;
1386 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1387 qcom,channel-id = <4>;
1388 };
1389
1390 pwm@b600 {
1391 compatible = "qcom,qpnp-pwm";
1392 reg = <0xb600 0x100>,
1393 <0xb042 0x7e>;
1394 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1395 qcom,channel-id = <5>;
1396 };
1397
1398 pwm@b700 {
1399 compatible = "qcom,qpnp-pwm";
1400 reg = <0xb700 0x100>,
1401 <0xb042 0x7e>;
1402 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1403 qcom,channel-id = <6>;
1404 };
1405
1406 pwm@b800 {
1407 compatible = "qcom,qpnp-pwm";
1408 reg = <0xb800 0x100>,
1409 <0xb042 0x7e>;
1410 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1411 qcom,channel-id = <7>;
David Collins153d45a2012-03-26 11:57:50 -07001412 };
Mohan Pallaka6e8ba212013-04-25 11:43:45 +05301413
1414 pwm@e400 {
1415 compatible = "qcom,qpnp-pwm";
1416 reg = <0xe400 0x100>,
1417 <0xe342 0x1e>;
1418 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1419 qcom,channel-id = <8>;
1420 };
1421
1422 pwm@e500 {
1423 compatible = "qcom,qpnp-pwm";
1424 reg = <0xe500 0x100>,
1425 <0xe342 0x1e>;
1426 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1427 qcom,channel-id = <9>;
1428 };
1429
1430 pwm@e600 {
1431 compatible = "qcom,qpnp-pwm";
1432 reg = <0xe600 0x100>,
1433 <0xe342 0x1e>;
1434 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1435 qcom,channel-id = <10>;
1436 };
1437
1438 pwm@e700 {
1439 compatible = "qcom,qpnp-pwm";
1440 reg = <0xe700 0x100>,
1441 <0xe342 0x1e>;
1442 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1443 qcom,channel-id = <11>;
1444 };
David Collins153d45a2012-03-26 11:57:50 -07001445};