blob: 21606e29e28e393b50e697321d035ee5d8e18b91 [file] [log] [blame]
Xiaozhe Shi7870f482013-01-10 15:14:50 -08001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
David Collins153d45a2012-03-26 11:57:50 -07002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
Varad Deshmukh18057ed2012-07-03 16:34:53 -070013&spmi_bus {
14 #address-cells = <1>;
15 #size-cells = <0>;
16 interrupt-controller;
17 #interrupt-cells = <3>;
David Collins153d45a2012-03-26 11:57:50 -070018
Varad Deshmukh18057ed2012-07-03 16:34:53 -070019 qcom,pm8941@0 {
20 spmi-slave-container;
21 reg = <0x0>;
22 #address-cells = <1>;
23 #size-cells = <1>;
24
David Keitel299548f2013-03-19 17:26:26 -070025 pm8941_misc: qcom,misc@900 {
26 compatible = "qcom,qpnp-misc";
27 reg = <0x900 0x100>;
28 };
29
Xiaozhe Shi92699082013-03-06 15:22:05 -080030 qcom,revid@100 {
31 compatible = "qcom,qpnp-revid";
32 reg = <0x100 0x100>;
33 };
34
David Collinsfaafdf52012-10-10 17:10:22 -070035 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>;
42 };
43
Anirudh Ghayal19cf4982012-07-16 11:10:17 +053044 qcom,power-on@800 {
45 compatible = "qcom,qpnp-power-on";
46 reg = <0x800 0x100>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053047 interrupts = <0x0 0x8 0x0>,
48 <0x0 0x8 0x1>,
49 <0x0 0x8 0x4>;
50 interrupt-names = "kpdpwr", "resin", "resin-bark";
51 qcom,pon-dbc-delay = <15625>;
Michael Bohane7204222012-09-07 10:21:18 -070052 qcom,system-reset;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053053
54 qcom,pon_1 {
55 qcom,pon-type = <0>;
56 qcom,pull-up = <1>;
57 linux,code = <116>;
58 };
59
60 qcom,pon_2 {
61 qcom,pon-type = <1>;
Anirudh Ghayal579709662012-08-13 12:57:05 +053062 qcom,support-reset = <1>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053063 qcom,pull-up = <1>;
Anirudh Ghayal579709662012-08-13 12:57:05 +053064 qcom,s1-timer = <0>;
65 qcom,s2-timer = <2000>;
66 qcom,s2-type = <1>;
Anirudh Ghayald44f5aa2012-08-02 11:49:04 +053067 linux,code = <114>;
68 };
Anirudh Ghayal19cf4982012-07-16 11:10:17 +053069 };
70
David Collins3f378292013-01-23 14:23:18 -080071 bif_ctrl: qcom,bsi@1b00 {
72 compatible = "qcom,qpnp-bsi";
73 reg = <0x1b00 0x100>,
74 <0x1208 0x1>;
75 reg-names = "bsi-base", "batt-id-status";
76 label = "pm8941-bsi";
77 interrupts = <0x0 0x1b 0x0>,
78 <0x0 0x1b 0x1>,
79 <0x0 0x1b 0x2>,
80 <0x0 0x12 0x0>;
81 interrupt-names = "err",
82 "rx",
83 "tx",
84 "batt-present";
85 qcom,channel-num = <0x31>;
86 qcom,pullup-ohms = <100000>;
87 qcom,vref-microvolts = <1800000>;
88 qcom,min-clock-period = <1000>;
89 qcom,max-clock-period = <160000>;
90 qcom,sample-rate = <4>;
91 };
92
David Collinsd5081c32013-03-11 13:21:00 -070093 pm8941_coincell: qcom,coincell@2800 {
94 compatible = "qcom,qpnp-coincell";
95 reg = <0x2800 0x100>;
96 };
97
Xiaozhe Shic40b3972012-11-30 14:11:16 -080098 pm8941_bms: qcom,bms {
99 spmi-dev-container;
100 compatible = "qcom,qpnp-bms";
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -0700101 #address-cells = <1>;
102 #size-cells = <1>;
Xiaozhe Shi03a44bf2012-11-12 15:59:27 -0800103 status = "disabled";
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -0700104
Xiaozhe Shi9bd24622013-01-23 15:54:54 -0800105 qcom,r-sense-uohm = <10000>;
106 qcom,v-cutoff-uv = <3400000>;
107 qcom,max-voltage-uv = <4200000>;
Xiaozhe Shic320cf22013-04-01 16:08:28 -0700108 qcom,r-conn-mohm = <0>;
Xiaozhe Shi9bd24622013-01-23 15:54:54 -0800109 qcom,shutdown-soc-valid-limit = <20>;
Xiaozhe Shi561ebf72013-03-25 13:51:27 -0700110 qcom,adjust-soc-low-threshold = <15>;
Xiaozhe Shi9bd24622013-01-23 15:54:54 -0800111 qcom,ocv-voltage-high-threshold-uv = <3750000>;
112 qcom,ocv-voltage-low-threshold-uv = <3650000>;
113 qcom,low-soc-calculate-soc-threshold = <15>;
114 qcom,low-soc-calculate-soc-ms = <5000>;
115 qcom,calculate-soc-ms = <20000>;
116 qcom,chg-term-ua = <100000>;
117 qcom,batt-type = <0>;
Xiaozhe Shi4be85782013-02-22 17:33:40 -0800118 qcom,low-voltage-threshold = <3420000>;
Xiaozhe Shi0ac7a002013-03-26 13:14:03 -0700119 qcom,low-ocv-correction-limit-uv = <100>;
120 qcom,high-ocv-correction-limit-uv = <50>;
121 qcom,hold-soc-est = <3>;
Xiaozhe Shic40b3972012-11-30 14:11:16 -0800122
123 qcom,bms-iadc@3800 {
124 reg = <0x3800 0x100>;
125 };
126
127 qcom,bms-bms@4000 {
128 reg = <0x4000 0x100>;
129 interrupts = <0x0 0x40 0x0>,
130 <0x0 0x40 0x1>,
131 <0x0 0x40 0x2>,
132 <0x0 0x40 0x3>,
133 <0x0 0x40 0x4>,
134 <0x0 0x40 0x5>,
135 <0x0 0x40 0x6>,
136 <0x0 0x40 0x7>;
137
138 interrupt-names = "vsense_for_r",
139 "vsense_avg",
140 "sw_cc_thr",
141 "ocv_thr",
142 "charge_begin",
143 "good_ocv",
144 "ocv_for_r",
145 "cc_thr";
146 };
Xiaozhe Shi3d0e3662012-08-23 18:00:04 -0700147 };
148
Michael Bohanee1f8fe2012-08-03 18:32:16 -0700149 clkdiv@5b00 {
150 reg = <0x5b00 0x100>;
151 compatible = "qcom,qpnp-clkdiv";
152 qcom,cxo-freq = <19200000>;
153 };
154
155 clkdiv@5c00 {
156 reg = <0x5c00 0x100>;
157 compatible = "qcom,qpnp-clkdiv";
158 qcom,cxo-freq = <19200000>;
159 };
160
161 clkdiv@5d00 {
162 reg = <0x5d00 0x1000>;
163 compatible = "qcom,qpnp-clkdiv";
164 qcom,cxo-freq = <19200000>;
165 };
166
David Keitela7a71732012-09-24 12:30:44 -0700167 pm8941_chg: qcom,charger {
David Keitel6adff102012-07-27 14:24:00 -0700168 spmi-dev-container;
169 compatible = "qcom,qpnp-charger";
170 #address-cells = <1>;
171 #size-cells = <1>;
David Keitela7a71732012-09-24 12:30:44 -0700172 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700173
David Keitele89d4782013-03-27 11:29:59 -0700174 qcom,vddmax-mv = <4200>;
175 qcom,vddsafe-mv = <4200>;
176 qcom,vinmin-mv = <4200>;
177 qcom,ibatmax-ma = <1500>;
178 qcom,ibatsafe-ma = <1500>;
179 qcom,thermal-mitigation = <1500 700 600 325>;
180 qcom,cool-bat-decidegc = <100>;
181 qcom,cool-bat-mv = <4100>;
182 qcom,ibatmax-warm-ma = <350>;
183 qcom,warm-bat-decidegc = <450>;
184 qcom,warm-bat-mv = <4100>;
185 qcom,ibatmax-cool-ma = <350>;
186 qcom,vbatdet-delta-mv = <350>;
David Keitel6adff102012-07-27 14:24:00 -0700187
David Keitele89d4782013-03-27 11:29:59 -0700188 qcom,chgr@1000 {
David Keitela7a71732012-09-24 12:30:44 -0700189 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700190 reg = <0x1000 0x100>;
191 interrupts = <0x0 0x10 0x0>,
192 <0x0 0x10 0x1>,
193 <0x0 0x10 0x2>,
194 <0x0 0x10 0x3>,
195 <0x0 0x10 0x4>,
196 <0x0 0x10 0x5>,
197 <0x0 0x10 0x6>,
198 <0x0 0x10 0x7>;
199
David Keitel0cba0992012-10-30 06:21:10 -0700200 interrupt-names = "vbat-det-lo",
David Keitel6adff102012-07-27 14:24:00 -0700201 "vbat-det-hi",
David Keitel0cba0992012-10-30 06:21:10 -0700202 "chgwdog",
203 "state-change",
204 "trkl-chg-on",
205 "fast-chg-on",
206 "chg-failed",
207 "chg-done";
David Keitel6adff102012-07-27 14:24:00 -0700208 };
209
David Keitele89d4782013-03-27 11:29:59 -0700210 qcom,buck@1100 {
David Keitela7a71732012-09-24 12:30:44 -0700211 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700212 reg = <0x1100 0x100>;
213 interrupts = <0x0 0x11 0x0>,
214 <0x0 0x11 0x1>,
215 <0x0 0x11 0x2>,
216 <0x0 0x11 0x3>,
217 <0x0 0x11 0x4>,
218 <0x0 0x11 0x5>,
219 <0x0 0x11 0x6>;
220
David Keitel0cba0992012-10-30 06:21:10 -0700221 interrupt-names = "vbat-ov",
222 "vreg-ov",
David Keitel6adff102012-07-27 14:24:00 -0700223 "overtemp",
David Keitel0cba0992012-10-30 06:21:10 -0700224 "vchg-loop",
225 "ichg-loop",
226 "ibat-loop",
227 "vdd-loop";
David Keitel6adff102012-07-27 14:24:00 -0700228 };
229
David Keitele89d4782013-03-27 11:29:59 -0700230 qcom,bat-if@1200 {
David Keitela7a71732012-09-24 12:30:44 -0700231 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700232 reg = <0x1200 0x100>;
233 interrupts = <0x0 0x12 0x0>,
234 <0x0 0x12 0x1>,
235 <0x0 0x12 0x2>,
236 <0x0 0x12 0x3>,
237 <0x0 0x12 0x4>;
238
David Keitel0cba0992012-10-30 06:21:10 -0700239 interrupt-names = "batt-pres",
David Keitel6adff102012-07-27 14:24:00 -0700240 "bat-temp-ok",
David Keitel0cba0992012-10-30 06:21:10 -0700241 "bat-fet-on",
242 "vcp-on",
243 "psi";
244
David Keitel6adff102012-07-27 14:24:00 -0700245 };
246
David Keitele89d4782013-03-27 11:29:59 -0700247 qcom,usb-chgpth@1300 {
David Keitela7a71732012-09-24 12:30:44 -0700248 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700249 reg = <0x1300 0x100>;
250 interrupts = <0 0x13 0x0>,
251 <0 0x13 0x1>,
252 <0x0 0x13 0x2>;
253
David Keitel4429b1f2012-10-18 10:42:50 -0700254 interrupt-names = "coarse-det-usb",
255 "usbin-valid",
David Keitel6adff102012-07-27 14:24:00 -0700256 "chg-gone";
257 };
258
David Keitele89d4782013-03-27 11:29:59 -0700259 qcom,dc-chgpth@1400 {
David Keitela7a71732012-09-24 12:30:44 -0700260 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700261 reg = <0x1400 0x100>;
262 interrupts = <0x0 0x14 0x0>,
263 <0x0 0x14 0x1>;
264
David Keitel0cba0992012-10-30 06:21:10 -0700265 interrupt-names = "coarse-det-dc",
266 "dcin-valid";
David Keitel6adff102012-07-27 14:24:00 -0700267 };
268
David Keitele89d4782013-03-27 11:29:59 -0700269 qcom,boost@1500 {
David Keitela7a71732012-09-24 12:30:44 -0700270 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700271 reg = <0x1500 0x100>;
272 interrupts = <0x0 0x15 0x0>,
273 <0x0 0x15 0x1>;
274
David Keitel0cba0992012-10-30 06:21:10 -0700275 interrupt-names = "boost-pwr-ok",
276 "limit-error";
David Keitel6adff102012-07-27 14:24:00 -0700277 };
278
279 qcom,chg-misc@1600 {
David Keitela7a71732012-09-24 12:30:44 -0700280 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700281 reg = <0x1600 0x100>;
282 };
283 };
284
Michael Bohand5ea7242012-10-01 18:01:51 -0700285 pm8941_gpios: gpios {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700286 spmi-dev-container;
287 compatible = "qcom,qpnp-pin";
288 gpio-controller;
289 #gpio-cells = <2>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700290 #address-cells = <1>;
291 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700292 label = "pm8941-gpio";
Michael Bohan8b909b42012-04-18 17:39:12 -0700293
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700294 gpio@c000 {
295 reg = <0xc000 0x100>;
296 qcom,pin-num = <1>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700297 };
Michael Bohan5085a052012-06-11 13:27:34 -0700298
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700299 gpio@c100 {
300 reg = <0xc100 0x100>;
301 qcom,pin-num = <2>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700302 };
Michael Bohan5085a052012-06-11 13:27:34 -0700303
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700304 gpio@c200 {
305 reg = <0xc200 0x100>;
306 qcom,pin-num = <3>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700307 };
Michael Bohan5085a052012-06-11 13:27:34 -0700308
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700309 gpio@c300 {
310 reg = <0xc300 0x100>;
311 qcom,pin-num = <4>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700312 };
Michael Bohan5085a052012-06-11 13:27:34 -0700313
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700314 gpio@c400 {
315 reg = <0xc400 0x100>;
316 qcom,pin-num = <5>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700317 };
Michael Bohan5085a052012-06-11 13:27:34 -0700318
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700319 gpio@c500 {
320 reg = <0xc500 0x100>;
321 qcom,pin-num = <6>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700322 };
Michael Bohan5085a052012-06-11 13:27:34 -0700323
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700324 gpio@c600 {
325 reg = <0xc600 0x100>;
326 qcom,pin-num = <7>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700327 };
Michael Bohan5085a052012-06-11 13:27:34 -0700328
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700329 gpio@c700 {
330 reg = <0xc700 0x100>;
331 qcom,pin-num = <8>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700332 };
Michael Bohan5085a052012-06-11 13:27:34 -0700333
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700334 gpio@c800 {
335 reg = <0xc800 0x100>;
336 qcom,pin-num = <9>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700337 };
Michael Bohan5085a052012-06-11 13:27:34 -0700338
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700339 gpio@c900 {
340 reg = <0xc900 0x100>;
341 qcom,pin-num = <10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700342 };
343
344 gpio@ca00 {
345 reg = <0xca00 0x100>;
346 qcom,pin-num = <11>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700347 };
348
349 gpio@cb00 {
350 reg = <0xcb00 0x100>;
351 qcom,pin-num = <12>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700352 };
353
354 gpio@cc00 {
355 reg = <0xcc00 0x100>;
356 qcom,pin-num = <13>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700357 };
358
359 gpio@cd00 {
360 reg = <0xcd00 0x100>;
361 qcom,pin-num = <14>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700362 };
363
364 gpio@ce00 {
365 reg = <0xce00 0x100>;
366 qcom,pin-num = <15>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700367 };
368
369 gpio@cf00 {
370 reg = <0xcf00 0x100>;
371 qcom,pin-num = <16>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700372 };
373
374 gpio@d000 {
375 reg = <0xd000 0x100>;
376 qcom,pin-num = <17>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700377 };
378
379 gpio@d100 {
380 reg = <0xd100 0x100>;
381 qcom,pin-num = <18>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700382 };
383
384 gpio@d200 {
385 reg = <0xd200 0x100>;
386 qcom,pin-num = <19>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700387 };
388
389 gpio@d300 {
390 reg = <0xd300 0x100>;
391 qcom,pin-num = <20>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700392 };
393
394 gpio@d400 {
395 reg = <0xd400 0x100>;
396 qcom,pin-num = <21>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700397 };
398
399 gpio@d500 {
400 reg = <0xd500 0x100>;
401 qcom,pin-num = <22>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700402 };
403
404 gpio@d600 {
405 reg = <0xd600 0x100>;
406 qcom,pin-num = <23>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700407 };
408
409 gpio@d700 {
410 reg = <0xd700 0x100>;
411 qcom,pin-num = <24>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700412 };
413
414 gpio@d800 {
415 reg = <0xd800 0x100>;
416 qcom,pin-num = <25>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700417 };
418
419 gpio@d900 {
420 reg = <0xd900 0x100>;
421 qcom,pin-num = <26>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700422 };
423
424 gpio@da00 {
425 reg = <0xda00 0x100>;
426 qcom,pin-num = <27>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700427 };
428
429 gpio@db00 {
430 reg = <0xdb00 0x100>;
431 qcom,pin-num = <28>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700432 };
433
434 gpio@dc00 {
435 reg = <0xdc00 0x100>;
436 qcom,pin-num = <29>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700437 };
438
439 gpio@dd00 {
440 reg = <0xdd00 0x100>;
441 qcom,pin-num = <30>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700442 };
443
444 gpio@de00 {
445 reg = <0xde00 0x100>;
446 qcom,pin-num = <31>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700447 };
448
449 gpio@df00 {
450 reg = <0xdf00 0x100>;
451 qcom,pin-num = <32>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700452 };
453
454 gpio@e000 {
455 reg = <0xe000 0x100>;
456 qcom,pin-num = <33>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700457 };
458
459 gpio@e100 {
460 reg = <0xe100 0x100>;
461 qcom,pin-num = <34>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700462 };
463
464 gpio@e200 {
465 reg = <0xe200 0x100>;
466 qcom,pin-num = <35>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700467 };
468
469 gpio@e300 {
470 reg = <0xe300 0x100>;
471 qcom,pin-num = <36>;
Michael Bohan5085a052012-06-11 13:27:34 -0700472 };
Michael Bohan8b909b42012-04-18 17:39:12 -0700473 };
474
Michael Bohand5ea7242012-10-01 18:01:51 -0700475 pm8941_mpps: mpps {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700476 spmi-dev-container;
477 compatible = "qcom,qpnp-pin";
478 gpio-controller;
479 #gpio-cells = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700480 #address-cells = <1>;
481 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700482 label = "pm8941-mpp";
David Collins153d45a2012-03-26 11:57:50 -0700483
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700484 mpp@a000 {
David Collins32f825f2012-06-06 09:49:24 -0700485 reg = <0xa000 0x100>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700486 qcom,pin-num = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700487 };
488
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700489 mpp@a100 {
490 reg = <0xa100 0x100>;
491 qcom,pin-num = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700492 };
493
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700494 mpp@a200 {
495 reg = <0xa200 0x100>;
496 qcom,pin-num = <3>;
David Collins153d45a2012-03-26 11:57:50 -0700497 };
498
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700499 mpp@a300 {
500 reg = <0xa300 0x100>;
501 qcom,pin-num = <4>;
David Collins153d45a2012-03-26 11:57:50 -0700502 };
503
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700504 mpp@a400 {
505 reg = <0xa400 0x100>;
506 qcom,pin-num = <5>;
David Collins153d45a2012-03-26 11:57:50 -0700507 };
508
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700509 mpp@a500 {
510 reg = <0xa500 0x100>;
511 qcom,pin-num = <6>;
David Collins153d45a2012-03-26 11:57:50 -0700512 };
513
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700514 mpp@a600 {
515 reg = <0xa600 0x100>;
516 qcom,pin-num = <7>;
David Collins153d45a2012-03-26 11:57:50 -0700517 };
518
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700519 mpp@a700 {
520 reg = <0xa700 0x100>;
521 qcom,pin-num = <8>;
David Collins153d45a2012-03-26 11:57:50 -0700522 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700523 };
Ashay Jaiswal93ad9702012-07-17 15:12:33 +0530524
525 qcom,pm8941_rtc {
526 spmi-dev-container;
527 compatible = "qcom,qpnp-rtc";
528 #address-cells = <1>;
529 #size-cells = <1>;
530 qcom,qpnp-rtc-write = <0>;
531 qcom,qpnp-rtc-alarm-pwrup = <0>;
532
533 qcom,pm8941_rtc_rw@6000 {
534 reg = <0x6000 0x100>;
535 };
536 qcom,pm8941_rtc_alarm@6100 {
537 reg = <0x6100 0x100>;
538 interrupts = <0x0 0x61 0x1>;
539 };
540 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700541
542 vadc@3100 {
543 compatible = "qcom,qpnp-vadc";
544 reg = <0x3100 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800545 #address-cells = <1>;
546 #size-cells = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700547 interrupts = <0x0 0x31 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800548 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700549 qcom,adc-bit-resolution = <15>;
550 qcom,adc-vdd-reference = <1800>;
551
552 chan@0 {
553 label = "usb_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800554 reg = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700555 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700556 qcom,pre-div-channel-scaling = <4>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700557 qcom,calibration-type = "absolute";
558 qcom,scale-function = <0>;
559 qcom,hw-settle-time = <0>;
560 qcom,fast-avg-setup = <0>;
561 };
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700562
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700563 chan@1 {
564 label = "dc_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800565 reg = <1>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700566 qcom,decimation = <0>;
567 qcom,pre-div-channel-scaling = <4>;
568 qcom,calibration-type = "absolute";
569 qcom,scale-function = <0>;
570 qcom,hw-settle-time = <0>;
571 qcom,fast-avg-setup = <0>;
572 };
573
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700574 chan@2 {
575 label = "vchg_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800576 reg = <2>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700577 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700578 qcom,pre-div-channel-scaling = <3>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700579 qcom,calibration-type = "absolute";
580 qcom,scale-function = <0>;
581 qcom,hw-settle-time = <0>;
582 qcom,fast-avg-setup = <0>;
583 };
584
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700585 chan@3 {
586 label = "spare1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800587 reg = <3>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700588 qcom,decimation = <0>;
589 qcom,pre-div-channel-scaling = <6>;
590 qcom,calibration-type = "absolute";
591 qcom,scale-function = <0>;
592 qcom,hw-settle-time = <0>;
593 qcom,fast-avg-setup = <0>;
594 };
595
596 chan@4 {
597 label = "spare2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800598 reg = <4>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700599 qcom,decimation = <0>;
600 qcom,pre-div-channel-scaling = <6>;
601 qcom,calibration-type = "absolute";
602 qcom,scale-function = <0>;
603 qcom,hw-settle-time = <0>;
604 qcom,fast-avg-setup = <0>;
605 };
606
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700607 chan@5 {
608 label = "vcoin";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800609 reg = <5>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700610 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700611 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700612 qcom,calibration-type = "absolute";
613 qcom,scale-function = <0>;
614 qcom,hw-settle-time = <0>;
615 qcom,fast-avg-setup = <0>;
616 };
617
618 chan@6 {
619 label = "vbat_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800620 reg = <6>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700621 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700622 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700623 qcom,calibration-type = "absolute";
624 qcom,scale-function = <0>;
625 qcom,hw-settle-time = <0>;
626 qcom,fast-avg-setup = <0>;
627 };
628
629 chan@7 {
630 label = "vph_pwr";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800631 reg = <7>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700632 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700633 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700634 qcom,calibration-type = "absolute";
635 qcom,scale-function = <0>;
636 qcom,hw-settle-time = <0>;
637 qcom,fast-avg-setup = <0>;
638 };
639
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700640 chan@8 {
641 label = "die_temp";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800642 reg = <8>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700643 qcom,decimation = <0>;
644 qcom,pre-div-channel-scaling = <0>;
645 qcom,calibration-type = "absolute";
646 qcom,scale-function = <3>;
647 qcom,hw-settle-time = <0>;
648 qcom,fast-avg-setup = <0>;
649 };
650
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700651 chan@9 {
652 label = "ref_625mv";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800653 reg = <9>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700654 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700655 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700656 qcom,calibration-type = "absolute";
657 qcom,scale-function = <0>;
658 qcom,hw-settle-time = <0>;
659 qcom,fast-avg-setup = <0>;
660 };
661
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800662 chan@a {
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700663 label = "ref_1250v";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800664 reg = <0xa>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700665 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700666 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700667 qcom,calibration-type = "absolute";
668 qcom,scale-function = <0>;
669 qcom,hw-settle-time = <0>;
670 qcom,fast-avg-setup = <0>;
671 };
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700672
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800673 chan@30 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700674 label = "batt_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800675 reg = <0x30>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700676 qcom,decimation = <0>;
677 qcom,pre-div-channel-scaling = <0>;
678 qcom,calibration-type = "ratiometric";
679 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800680 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700681 qcom,fast-avg-setup = <0>;
682 };
683
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800684 chan@31 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700685 label = "batt_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800686 reg = <0x31>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700687 qcom,decimation = <0>;
688 qcom,pre-div-channel-scaling = <0>;
689 qcom,calibration-type = "ratiometric";
690 qcom,scale-function = <0>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800691 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700692 qcom,fast-avg-setup = <0>;
693 };
694
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800695 chan@b2 {
Siddartha Mohanadoss3601d232012-09-14 16:01:39 -0700696 label = "xo_therm_pu2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800697 reg = <0xb2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700698 qcom,decimation = <0>;
699 qcom,pre-div-channel-scaling = <0>;
700 qcom,calibration-type = "ratiometric";
701 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800702 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700703 qcom,fast-avg-setup = <0>;
704 };
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700705
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800706 chan@b3 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700707 label = "msm_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800708 reg = <0xb3>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700709 qcom,decimation = <0>;
710 qcom,pre-div-channel-scaling = <0>;
711 qcom,calibration-type = "ratiometric";
712 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800713 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700714 qcom,fast-avg-setup = <0>;
715 };
716
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800717 chan@b4 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700718 label = "emmc_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800719 reg = <0xb4>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700720 qcom,decimation = <0>;
721 qcom,pre-div-channel-scaling = <0>;
722 qcom,calibration-type = "ratiometric";
723 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800724 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700725 qcom,fast-avg-setup = <0>;
726 };
727
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800728 chan@b5 {
Siddartha Mohanadoss54124362013-03-26 19:53:29 -0700729 label = "pa_therm0";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800730 reg = <0xb5>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700731 qcom,decimation = <0>;
732 qcom,pre-div-channel-scaling = <0>;
733 qcom,calibration-type = "ratiometric";
734 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800735 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700736 qcom,fast-avg-setup = <0>;
737 };
738
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800739 chan@b7 {
Siddartha Mohanadoss54124362013-03-26 19:53:29 -0700740 label = "pa_therm1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800741 reg = <0xb7>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700742 qcom,decimation = <0>;
743 qcom,pre-div-channel-scaling = <0>;
744 qcom,calibration-type = "ratiometric";
745 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800746 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700747 qcom,fast-avg-setup = <0>;
748 };
749
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800750 chan@b8 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700751 label = "quiet_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800752 reg = <0xb8>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700753 qcom,decimation = <0>;
754 qcom,pre-div-channel-scaling = <0>;
755 qcom,calibration-type = "ratiometric";
756 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800757 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700758 qcom,fast-avg-setup = <0>;
759 };
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800760
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800761 chan@b9 {
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800762 label = "usb_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800763 reg = <0xb9>;
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800764 qcom,decimation = <0>;
765 qcom,pre-div-channel-scaling = <0>;
766 qcom,calibration-type = "ratiometric";
767 qcom,scale-function = <0>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800768 qcom,hw-settle-time = <2>;
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800769 qcom,fast-avg-setup = <0>;
770 };
Siddartha Mohanadoss3cb76152013-04-12 16:17:02 -0700771
772 chan@39 {
773 label = "usb_id_nopull";
774 reg = <0x39>;
775 qcom,decimation = <0>;
776 qcom,pre-div-channel-scaling = <0>;
777 qcom,calibration-type = "ratiometric";
778 qcom,scale-function = <0>;
779 qcom,hw-settle-time = <2>;
780 qcom,fast-avg-setup = <0>;
781 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700782 };
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700783
784 iadc@3600 {
785 compatible = "qcom,qpnp-iadc";
786 reg = <0x3600 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800787 #address-cells = <1>;
788 #size-cells = <0>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700789 interrupts = <0x0 0x36 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800790 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700791 qcom,adc-bit-resolution = <16>;
792 qcom,adc-vdd-reference = <1800>;
793 qcom,rsense = <1500>;
794
795 chan@0 {
796 label = "internal_rsense";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800797 reg = <0>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700798 qcom,decimation = <0>;
799 qcom,pre-div-channel-scaling = <1>;
800 qcom,calibration-type = "absolute";
801 qcom,scale-function = <0>;
802 qcom,hw-settle-time = <0>;
803 qcom,fast-avg-setup = <0>;
804 };
805 };
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800806
807 qcom,vadc@3400 {
808 compatible = "qcom,qpnp-adc-tm";
809 reg = <0x3400 0x100>;
810 #address-cells = <1>;
811 #size-cells = <0>;
812 interrupts = <0x0 0x34 0x0>,
813 <0x0 0x34 0x3>,
814 <0x0 0x34 0x4>;
815 interrupt-names = "eoc-int-en-set",
816 "high-thr-en-set",
817 "low-thr-en-set";
818 qcom,adc-bit-resolution = <15>;
819 qcom,adc-vdd-reference = <1800>;
820
821 /* Channel Node */
822 chan@b9 {
823 label = "usb_id";
824 reg = <0xb9>;
825 qcom,decimation = <0>;
826 qcom,pre-div-channel-scaling = <0>;
827 qcom,calibration-type = "ratiometric";
828 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800829 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700830 qcom,fast-avg-setup = <3>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800831 qcom,btm-channel-number = <0x48>;
832 };
833
834 chan@30 {
835 label = "batt_therm";
836 reg = <0x30>;
837 qcom,decimation = <0>;
838 qcom,pre-div-channel-scaling = <0>;
839 qcom,calibration-type = "ratiometric";
840 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800841 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700842 qcom,fast-avg-setup = <3>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800843 qcom,btm-channel-number = <0x68>;
844 };
845
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700846 chan@8 {
847 label = "die_temp";
848 reg = <8>;
849 qcom,decimation = <0>;
850 qcom,pre-div-channel-scaling = <0>;
851 qcom,calibration-type = "absolute";
852 qcom,scale-function = <1>;
853 qcom,hw-settle-time = <0>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700854 qcom,fast-avg-setup = <3>;
Siddartha Mohanadossa38ca952013-03-28 18:41:47 -0700855 qcom,btm-channel-number = <0x70>;
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700856 };
857
858 chan@6 {
859 label = "vbat_sns";
860 reg = <6>;
861 qcom,decimation = <0>;
862 qcom,pre-div-channel-scaling = <1>;
863 qcom,calibration-type = "absolute";
Siddartha Mohanadoss999f8082013-03-28 18:42:48 -0700864 qcom,scale-function = <0>;
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700865 qcom,hw-settle-time = <0>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700866 qcom,fast-avg-setup = <3>;
Siddartha Mohanadossa38ca952013-03-28 18:41:47 -0700867 qcom,btm-channel-number = <0x78>;
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700868 };
869
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800870 chan@b5 {
Siddartha Mohanadoss54124362013-03-26 19:53:29 -0700871 label = "pa_therm0";
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800872 reg = <0xb5>;
873 qcom,decimation = <0>;
874 qcom,pre-div-channel-scaling = <0>;
875 qcom,calibration-type = "absolute";
876 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800877 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700878 qcom,fast-avg-setup = <3>;
Siddartha Mohanadossa38ca952013-03-28 18:41:47 -0700879 qcom,btm-channel-number = <0x80>;
Siddartha Mohanadoss192a8bd2013-03-25 09:30:12 -0700880 qcom,thermal-node;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800881 };
882
883 chan@b7 {
Siddartha Mohanadoss54124362013-03-26 19:53:29 -0700884 label = "pa_therm1";
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800885 reg = <0xb7>;
886 qcom,decimation = <0>;
887 qcom,pre-div-channel-scaling = <0>;
888 qcom,calibration-type = "ratiometric";
889 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800890 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700891 qcom,fast-avg-setup = <3>;
Siddartha Mohanadossa38ca952013-03-28 18:41:47 -0700892 qcom,btm-channel-number = <0x88>;
Siddartha Mohanadoss192a8bd2013-03-25 09:30:12 -0700893 qcom,thermal-node;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800894 };
895
896 chan@b4 {
897 label = "emmc_therm";
898 reg = <0xb4>;
899 qcom,decimation = <0>;
900 qcom,pre-div-channel-scaling = <0>;
901 qcom,calibration-type = "ratiometric";
902 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800903 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700904 qcom,fast-avg-setup = <3>;
Siddartha Mohanadossa38ca952013-03-28 18:41:47 -0700905 qcom,btm-channel-number = <0x90>;
Siddartha Mohanadoss192a8bd2013-03-25 09:30:12 -0700906 qcom,thermal-node;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800907 };
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700908
909 chan@b3 {
910 label = "msm_therm";
911 reg = <0xb3>;
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>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700917 qcom,fast-avg-setup = <3>;
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700918 qcom,btm-channel-number = <0x98>;
919 qcom,thermal-node;
920 };
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800921 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700922 };
David Collins153d45a2012-03-26 11:57:50 -0700923
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700924 qcom,pm8941@1 {
925 spmi-slave-container;
926 reg = <0x1>;
927 #address-cells = <1>;
928 #size-cells = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700929
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700930 regulator@1400 {
931 regulator-name = "8941_s1";
932 spmi-dev-container;
933 #address-cells = <1>;
934 #size-cells = <1>;
935 compatible = "qcom,qpnp-regulator";
936 reg = <0x1400 0x300>;
937 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700938
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700939 qcom,ctl@1400 {
940 reg = <0x1400 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700941 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700942 qcom,ps@1500 {
943 reg = <0x1500 0x100>;
944 };
945 qcom,freq@1600 {
946 reg = <0x1600 0x100>;
947 };
948 };
David Collins153d45a2012-03-26 11:57:50 -0700949
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700950 regulator@1700 {
951 regulator-name = "8941_s2";
952 spmi-dev-container;
953 #address-cells = <1>;
954 #size-cells = <1>;
955 compatible = "qcom,qpnp-regulator";
956 reg = <0x1700 0x300>;
957 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700958
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700959 qcom,ctl@1700 {
960 reg = <0x1700 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700961 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700962 qcom,ps@1800 {
963 reg = <0x1800 0x100>;
964 };
965 qcom,freq@1900 {
966 reg = <0x1900 0x100>;
967 };
968 };
David Collins153d45a2012-03-26 11:57:50 -0700969
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700970 regulator@1a00 {
971 regulator-name = "8941_s3";
972 spmi-dev-container;
973 #address-cells = <1>;
974 #size-cells = <1>;
975 compatible = "qcom,qpnp-regulator";
Michael Bohand3253c72012-08-09 11:34:49 -0700976 reg = <0x1a00 0x300>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700977 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700978
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700979 qcom,ctl@1a00 {
980 reg = <0x1a00 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700981 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700982 qcom,ps@1b00 {
983 reg = <0x1b00 0x100>;
984 };
985 qcom,freq@1c00 {
986 reg = <0x1c00 0x100>;
987 };
988 };
David Collins153d45a2012-03-26 11:57:50 -0700989
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700990 regulator@a000 {
991 regulator-name = "8941_boost";
992 reg = <0xa000 0x100>;
993 compatible = "qcom,qpnp-regulator";
994 status = "disabled";
995 };
David Collins153d45a2012-03-26 11:57:50 -0700996
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700997 regulator@4000 {
998 regulator-name = "8941_l1";
999 reg = <0x4000 0x100>;
1000 compatible = "qcom,qpnp-regulator";
1001 status = "disabled";
1002 };
David Collins153d45a2012-03-26 11:57:50 -07001003
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001004 regulator@4100 {
1005 regulator-name = "8941_l2";
1006 reg = <0x4100 0x100>;
1007 compatible = "qcom,qpnp-regulator";
1008 status = "disabled";
1009 };
David Collins153d45a2012-03-26 11:57:50 -07001010
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001011 regulator@4200 {
1012 regulator-name = "8941_l3";
1013 reg = <0x4200 0x100>;
1014 compatible = "qcom,qpnp-regulator";
1015 status = "disabled";
1016 };
David Collins153d45a2012-03-26 11:57:50 -07001017
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001018 regulator@4300 {
1019 regulator-name = "8941_l4";
1020 reg = <0x4300 0x100>;
1021 compatible = "qcom,qpnp-regulator";
1022 status = "disabled";
1023 };
David Collins153d45a2012-03-26 11:57:50 -07001024
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001025 regulator@4400 {
1026 regulator-name = "8941_l5";
1027 reg = <0x4400 0x100>;
1028 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -07001029 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001030 status = "disabled";
1031 };
David Collins153d45a2012-03-26 11:57:50 -07001032
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001033 regulator@4500 {
1034 regulator-name = "8941_l6";
1035 reg = <0x4500 0x100>;
1036 compatible = "qcom,qpnp-regulator";
1037 status = "disabled";
1038 };
David Collins153d45a2012-03-26 11:57:50 -07001039
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001040 regulator@4600 {
1041 regulator-name = "8941_l7";
1042 reg = <0x4600 0x100>;
1043 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -07001044 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001045 status = "disabled";
1046 };
David Collins153d45a2012-03-26 11:57:50 -07001047
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001048 regulator@4700 {
1049 regulator-name = "8941_l8";
1050 reg = <0x4700 0x100>;
1051 compatible = "qcom,qpnp-regulator";
1052 status = "disabled";
1053 };
David Collins153d45a2012-03-26 11:57:50 -07001054
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001055 regulator@4800 {
1056 regulator-name = "8941_l9";
1057 reg = <0x4800 0x100>;
1058 compatible = "qcom,qpnp-regulator";
1059 status = "disabled";
1060 };
David Collins153d45a2012-03-26 11:57:50 -07001061
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001062 regulator@4900 {
1063 regulator-name = "8941_l10";
1064 reg = <0x4900 0x100>;
1065 compatible = "qcom,qpnp-regulator";
1066 status = "disabled";
1067 };
David Collins153d45a2012-03-26 11:57:50 -07001068
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001069 regulator@4a00 {
1070 regulator-name = "8941_l11";
1071 reg = <0x4a00 0x100>;
1072 compatible = "qcom,qpnp-regulator";
1073 status = "disabled";
1074 };
David Collins153d45a2012-03-26 11:57:50 -07001075
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001076 regulator@4b00 {
1077 regulator-name = "8941_l12";
1078 reg = <0x4b00 0x100>;
1079 compatible = "qcom,qpnp-regulator";
1080 status = "disabled";
1081 };
David Collins153d45a2012-03-26 11:57:50 -07001082
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001083 regulator@4c00 {
1084 regulator-name = "8941_l13";
1085 reg = <0x4c00 0x100>;
1086 compatible = "qcom,qpnp-regulator";
1087 status = "disabled";
1088 };
David Collins153d45a2012-03-26 11:57:50 -07001089
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001090 regulator@4d00 {
1091 regulator-name = "8941_l14";
1092 reg = <0x4d00 0x100>;
1093 compatible = "qcom,qpnp-regulator";
1094 status = "disabled";
1095 };
1096
1097 regulator@4e00 {
1098 regulator-name = "8941_l15";
1099 reg = <0x4e00 0x100>;
1100 compatible = "qcom,qpnp-regulator";
1101 status = "disabled";
1102 };
1103
1104 regulator@4f00 {
1105 regulator-name = "8941_l16";
1106 reg = <0x4f00 0x100>;
1107 compatible = "qcom,qpnp-regulator";
1108 status = "disabled";
1109 };
1110
1111 regulator@5000 {
1112 regulator-name = "8941_l17";
1113 reg = <0x5000 0x100>;
1114 compatible = "qcom,qpnp-regulator";
1115 status = "disabled";
1116 };
1117
1118 regulator@5100 {
1119 regulator-name = "8941_l18";
1120 reg = <0x5100 0x100>;
1121 compatible = "qcom,qpnp-regulator";
1122 status = "disabled";
1123 };
1124
1125 regulator@5200 {
1126 regulator-name = "8941_l19";
1127 reg = <0x5200 0x100>;
1128 compatible = "qcom,qpnp-regulator";
1129 status = "disabled";
1130 };
1131
1132 regulator@5300 {
1133 regulator-name = "8941_l20";
1134 reg = <0x5300 0x100>;
1135 compatible = "qcom,qpnp-regulator";
1136 status = "disabled";
1137 };
1138
1139 regulator@5400 {
1140 regulator-name = "8941_l21";
1141 reg = <0x5400 0x100>;
1142 compatible = "qcom,qpnp-regulator";
1143 status = "disabled";
1144 };
1145
1146 regulator@5500 {
1147 regulator-name = "8941_l22";
1148 reg = <0x5500 0x100>;
1149 compatible = "qcom,qpnp-regulator";
1150 status = "disabled";
1151 };
1152
1153 regulator@5600 {
1154 regulator-name = "8941_l23";
1155 reg = <0x5600 0x100>;
1156 compatible = "qcom,qpnp-regulator";
1157 status = "disabled";
1158 };
1159
1160 regulator@5700 {
1161 regulator-name = "8941_l24";
1162 reg = <0x5700 0x100>;
1163 compatible = "qcom,qpnp-regulator";
1164 status = "disabled";
1165 };
1166
1167 regulator@8000 {
1168 regulator-name = "8941_lvs1";
1169 reg = <0x8000 0x100>;
1170 compatible = "qcom,qpnp-regulator";
1171 status = "disabled";
1172 };
1173
1174 regulator@8100 {
1175 regulator-name = "8941_lvs2";
1176 reg = <0x8100 0x100>;
1177 compatible = "qcom,qpnp-regulator";
1178 status = "disabled";
1179 };
1180
1181 regulator@8200 {
1182 regulator-name = "8941_lvs3";
1183 reg = <0x8200 0x100>;
1184 compatible = "qcom,qpnp-regulator";
1185 status = "disabled";
1186 };
1187
1188 regulator@8300 {
1189 regulator-name = "8941_mvs1";
1190 reg = <0x8300 0x100>;
1191 compatible = "qcom,qpnp-regulator";
1192 status = "disabled";
1193 };
1194
1195 regulator@8400 {
1196 regulator-name = "8941_mvs2";
1197 reg = <0x8400 0x100>;
1198 compatible = "qcom,qpnp-regulator";
1199 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -07001200 };
Amy Maloche02a5eae2012-08-10 21:33:59 -07001201
Amy Malochec9aa2cb2012-11-07 12:22:58 -08001202 qcom,vibrator@c000 {
1203 compatible = "qcom,qpnp-vibrator";
1204 reg = <0xc000 0x100>;
1205 label = "vibrator";
1206 status = "disabled";
1207 };
1208
Amy Maloche4f0b0462012-09-17 12:09:49 -07001209 qcom,leds@d000 {
1210 compatible = "qcom,leds-qpnp";
1211 reg = <0xd000 0x100>;
1212 label = "rgb";
1213 };
1214
1215 qcom,leds@d100 {
1216 compatible = "qcom,leds-qpnp";
1217 reg = <0xd100 0x100>;
1218 label = "rgb";
1219 };
1220
1221 qcom,leds@d200 {
1222 compatible = "qcom,leds-qpnp";
1223 reg = <0xd200 0x100>;
1224 label = "rgb";
1225 };
1226
Amy Maloche2b8b79b2012-10-22 10:36:04 -07001227 qcom,leds@d300 {
1228 compatible = "qcom,leds-qpnp";
1229 reg = <0xd300 0x100>;
1230 label = "flash";
1231 };
1232
1233 qcom,leds@d400 {
1234 compatible = "qcom,leds-qpnp";
1235 reg = <0xd400 0x100>;
1236 label = "flash";
1237 };
1238
1239 qcom,leds@d500 {
1240 compatible = "qcom,leds-qpnp";
1241 reg = <0xd500 0x100>;
1242 label = "flash";
1243 };
1244
1245 qcom,leds@d600 {
1246 compatible = "qcom,leds-qpnp";
1247 reg = <0xd600 0x100>;
1248 label = "flash";
1249 };
1250
1251 qcom,leds@d700 {
1252 compatible = "qcom,leds-qpnp";
1253 reg = <0xd700 0x100>;
1254 label = "flash";
1255 };
1256
Amy Maloche02a5eae2012-08-10 21:33:59 -07001257 qcom,leds@d800 {
1258 compatible = "qcom,leds-qpnp";
1259 reg = <0xd800 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001260 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001261 };
1262
1263 qcom,leds@d900 {
1264 compatible = "qcom,leds-qpnp";
1265 reg = <0xd900 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001266 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001267 };
1268
1269 qcom,leds@da00 {
1270 compatible = "qcom,leds-qpnp";
1271 reg = <0xda00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001272 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001273 };
1274
1275 qcom,leds@db00 {
1276 compatible = "qcom,leds-qpnp";
1277 reg = <0xdb00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001278 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001279 };
1280
1281 qcom,leds@dc00 {
1282 compatible = "qcom,leds-qpnp";
1283 reg = <0xdc00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001284 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001285 };
1286
1287 qcom,leds@dd00 {
1288 compatible = "qcom,leds-qpnp";
1289 reg = <0xdd00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001290 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001291 };
1292
1293 qcom,leds@de00 {
1294 compatible = "qcom,leds-qpnp";
1295 reg = <0xde00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001296 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001297 };
1298
1299 qcom,leds@df00 {
1300 compatible = "qcom,leds-qpnp";
1301 reg = <0xdf00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001302 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001303 };
1304
1305 qcom,leds@e000 {
1306 compatible = "qcom,leds-qpnp";
1307 reg = <0xe000 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001308 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001309 };
1310
1311 qcom,leds@e100 {
1312 compatible = "qcom,leds-qpnp";
1313 reg = <0xe100 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001314 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001315 };
1316
Jay Chokshi6254a162012-05-07 12:38:14 -07001317 pwm@b100 {
1318 compatible = "qcom,qpnp-pwm";
1319 reg = <0xb100 0x100>,
1320 <0xb042 0x7e>;
1321 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1322 qcom,channel-id = <0>;
1323 };
1324
1325 pwm@b200 {
1326 compatible = "qcom,qpnp-pwm";
1327 reg = <0xb200 0x100>,
1328 <0xb042 0x7e>;
1329 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1330 qcom,channel-id = <1>;
1331 };
1332
1333 pwm@b300 {
1334 compatible = "qcom,qpnp-pwm";
1335 reg = <0xb300 0x100>,
1336 <0xb042 0x7e>;
1337 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1338 qcom,channel-id = <2>;
1339 };
1340
1341 pwm@b400 {
1342 compatible = "qcom,qpnp-pwm";
1343 reg = <0xb400 0x100>,
1344 <0xb042 0x7e>;
1345 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1346 qcom,channel-id = <3>;
1347 };
1348
1349 pwm@b500 {
1350 compatible = "qcom,qpnp-pwm";
1351 reg = <0xb500 0x100>,
1352 <0xb042 0x7e>;
1353 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1354 qcom,channel-id = <4>;
1355 };
1356
1357 pwm@b600 {
1358 compatible = "qcom,qpnp-pwm";
1359 reg = <0xb600 0x100>,
1360 <0xb042 0x7e>;
1361 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1362 qcom,channel-id = <5>;
1363 };
1364
1365 pwm@b700 {
1366 compatible = "qcom,qpnp-pwm";
1367 reg = <0xb700 0x100>,
1368 <0xb042 0x7e>;
1369 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1370 qcom,channel-id = <6>;
1371 };
1372
1373 pwm@b800 {
1374 compatible = "qcom,qpnp-pwm";
1375 reg = <0xb800 0x100>,
1376 <0xb042 0x7e>;
1377 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1378 qcom,channel-id = <7>;
1379 };
David Collins153d45a2012-03-26 11:57:50 -07001380 };
1381};