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