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