blob: 43b7d03f0530793c5761a591b149e333b636df14 [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 Keitelb0b63632013-03-27 15:17:33 -0700187 qcom,tchg-mins = <150>;
David Keitel6adff102012-07-27 14:24:00 -0700188
David Keitele89d4782013-03-27 11:29:59 -0700189 qcom,chgr@1000 {
David Keitela7a71732012-09-24 12:30:44 -0700190 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700191 reg = <0x1000 0x100>;
192 interrupts = <0x0 0x10 0x0>,
193 <0x0 0x10 0x1>,
194 <0x0 0x10 0x2>,
195 <0x0 0x10 0x3>,
196 <0x0 0x10 0x4>,
197 <0x0 0x10 0x5>,
198 <0x0 0x10 0x6>,
199 <0x0 0x10 0x7>;
200
David Keitel0cba0992012-10-30 06:21:10 -0700201 interrupt-names = "vbat-det-lo",
David Keitel6adff102012-07-27 14:24:00 -0700202 "vbat-det-hi",
David Keitel0cba0992012-10-30 06:21:10 -0700203 "chgwdog",
204 "state-change",
205 "trkl-chg-on",
206 "fast-chg-on",
207 "chg-failed",
208 "chg-done";
David Keitel6adff102012-07-27 14:24:00 -0700209 };
210
David Keitele89d4782013-03-27 11:29:59 -0700211 qcom,buck@1100 {
David Keitela7a71732012-09-24 12:30:44 -0700212 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700213 reg = <0x1100 0x100>;
214 interrupts = <0x0 0x11 0x0>,
215 <0x0 0x11 0x1>,
216 <0x0 0x11 0x2>,
217 <0x0 0x11 0x3>,
218 <0x0 0x11 0x4>,
219 <0x0 0x11 0x5>,
220 <0x0 0x11 0x6>;
221
David Keitel0cba0992012-10-30 06:21:10 -0700222 interrupt-names = "vbat-ov",
223 "vreg-ov",
David Keitel6adff102012-07-27 14:24:00 -0700224 "overtemp",
David Keitel0cba0992012-10-30 06:21:10 -0700225 "vchg-loop",
226 "ichg-loop",
227 "ibat-loop",
228 "vdd-loop";
David Keitel6adff102012-07-27 14:24:00 -0700229 };
230
David Keitele89d4782013-03-27 11:29:59 -0700231 qcom,bat-if@1200 {
David Keitela7a71732012-09-24 12:30:44 -0700232 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700233 reg = <0x1200 0x100>;
234 interrupts = <0x0 0x12 0x0>,
235 <0x0 0x12 0x1>,
236 <0x0 0x12 0x2>,
237 <0x0 0x12 0x3>,
238 <0x0 0x12 0x4>;
239
David Keitel0cba0992012-10-30 06:21:10 -0700240 interrupt-names = "batt-pres",
David Keitel6adff102012-07-27 14:24:00 -0700241 "bat-temp-ok",
David Keitel0cba0992012-10-30 06:21:10 -0700242 "bat-fet-on",
243 "vcp-on",
244 "psi";
245
David Keitel6adff102012-07-27 14:24:00 -0700246 };
247
David Keitele89d4782013-03-27 11:29:59 -0700248 qcom,usb-chgpth@1300 {
David Keitela7a71732012-09-24 12:30:44 -0700249 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700250 reg = <0x1300 0x100>;
251 interrupts = <0 0x13 0x0>,
252 <0 0x13 0x1>,
253 <0x0 0x13 0x2>;
254
David Keitel4429b1f2012-10-18 10:42:50 -0700255 interrupt-names = "coarse-det-usb",
256 "usbin-valid",
David Keitel6adff102012-07-27 14:24:00 -0700257 "chg-gone";
258 };
259
David Keitele89d4782013-03-27 11:29:59 -0700260 qcom,dc-chgpth@1400 {
David Keitela7a71732012-09-24 12:30:44 -0700261 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700262 reg = <0x1400 0x100>;
263 interrupts = <0x0 0x14 0x0>,
264 <0x0 0x14 0x1>;
265
David Keitel0cba0992012-10-30 06:21:10 -0700266 interrupt-names = "coarse-det-dc",
267 "dcin-valid";
David Keitel6adff102012-07-27 14:24:00 -0700268 };
269
David Keitele89d4782013-03-27 11:29:59 -0700270 qcom,boost@1500 {
David Keitela7a71732012-09-24 12:30:44 -0700271 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700272 reg = <0x1500 0x100>;
273 interrupts = <0x0 0x15 0x0>,
274 <0x0 0x15 0x1>;
275
David Keitel0cba0992012-10-30 06:21:10 -0700276 interrupt-names = "boost-pwr-ok",
277 "limit-error";
David Keitel6adff102012-07-27 14:24:00 -0700278 };
279
280 qcom,chg-misc@1600 {
David Keitela7a71732012-09-24 12:30:44 -0700281 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700282 reg = <0x1600 0x100>;
283 };
284 };
285
Michael Bohand5ea7242012-10-01 18:01:51 -0700286 pm8941_gpios: gpios {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700287 spmi-dev-container;
288 compatible = "qcom,qpnp-pin";
289 gpio-controller;
290 #gpio-cells = <2>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700291 #address-cells = <1>;
292 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700293 label = "pm8941-gpio";
Michael Bohan8b909b42012-04-18 17:39:12 -0700294
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700295 gpio@c000 {
296 reg = <0xc000 0x100>;
297 qcom,pin-num = <1>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700298 };
Michael Bohan5085a052012-06-11 13:27:34 -0700299
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700300 gpio@c100 {
301 reg = <0xc100 0x100>;
302 qcom,pin-num = <2>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700303 };
Michael Bohan5085a052012-06-11 13:27:34 -0700304
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700305 gpio@c200 {
306 reg = <0xc200 0x100>;
307 qcom,pin-num = <3>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700308 };
Michael Bohan5085a052012-06-11 13:27:34 -0700309
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700310 gpio@c300 {
311 reg = <0xc300 0x100>;
312 qcom,pin-num = <4>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700313 };
Michael Bohan5085a052012-06-11 13:27:34 -0700314
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700315 gpio@c400 {
316 reg = <0xc400 0x100>;
317 qcom,pin-num = <5>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700318 };
Michael Bohan5085a052012-06-11 13:27:34 -0700319
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700320 gpio@c500 {
321 reg = <0xc500 0x100>;
322 qcom,pin-num = <6>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700323 };
Michael Bohan5085a052012-06-11 13:27:34 -0700324
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700325 gpio@c600 {
326 reg = <0xc600 0x100>;
327 qcom,pin-num = <7>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700328 };
Michael Bohan5085a052012-06-11 13:27:34 -0700329
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700330 gpio@c700 {
331 reg = <0xc700 0x100>;
332 qcom,pin-num = <8>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700333 };
Michael Bohan5085a052012-06-11 13:27:34 -0700334
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700335 gpio@c800 {
336 reg = <0xc800 0x100>;
337 qcom,pin-num = <9>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700338 };
Michael Bohan5085a052012-06-11 13:27:34 -0700339
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700340 gpio@c900 {
341 reg = <0xc900 0x100>;
342 qcom,pin-num = <10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700343 };
344
345 gpio@ca00 {
346 reg = <0xca00 0x100>;
347 qcom,pin-num = <11>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700348 };
349
350 gpio@cb00 {
351 reg = <0xcb00 0x100>;
352 qcom,pin-num = <12>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700353 };
354
355 gpio@cc00 {
356 reg = <0xcc00 0x100>;
357 qcom,pin-num = <13>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700358 };
359
360 gpio@cd00 {
361 reg = <0xcd00 0x100>;
362 qcom,pin-num = <14>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700363 };
364
365 gpio@ce00 {
366 reg = <0xce00 0x100>;
367 qcom,pin-num = <15>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700368 };
369
370 gpio@cf00 {
371 reg = <0xcf00 0x100>;
372 qcom,pin-num = <16>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700373 };
374
375 gpio@d000 {
376 reg = <0xd000 0x100>;
377 qcom,pin-num = <17>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700378 };
379
380 gpio@d100 {
381 reg = <0xd100 0x100>;
382 qcom,pin-num = <18>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700383 };
384
385 gpio@d200 {
386 reg = <0xd200 0x100>;
387 qcom,pin-num = <19>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700388 };
389
390 gpio@d300 {
391 reg = <0xd300 0x100>;
392 qcom,pin-num = <20>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700393 };
394
395 gpio@d400 {
396 reg = <0xd400 0x100>;
397 qcom,pin-num = <21>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700398 };
399
400 gpio@d500 {
401 reg = <0xd500 0x100>;
402 qcom,pin-num = <22>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700403 };
404
405 gpio@d600 {
406 reg = <0xd600 0x100>;
407 qcom,pin-num = <23>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700408 };
409
410 gpio@d700 {
411 reg = <0xd700 0x100>;
412 qcom,pin-num = <24>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700413 };
414
415 gpio@d800 {
416 reg = <0xd800 0x100>;
417 qcom,pin-num = <25>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700418 };
419
420 gpio@d900 {
421 reg = <0xd900 0x100>;
422 qcom,pin-num = <26>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700423 };
424
425 gpio@da00 {
426 reg = <0xda00 0x100>;
427 qcom,pin-num = <27>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700428 };
429
430 gpio@db00 {
431 reg = <0xdb00 0x100>;
432 qcom,pin-num = <28>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700433 };
434
435 gpio@dc00 {
436 reg = <0xdc00 0x100>;
437 qcom,pin-num = <29>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700438 };
439
440 gpio@dd00 {
441 reg = <0xdd00 0x100>;
442 qcom,pin-num = <30>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700443 };
444
445 gpio@de00 {
446 reg = <0xde00 0x100>;
447 qcom,pin-num = <31>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700448 };
449
450 gpio@df00 {
451 reg = <0xdf00 0x100>;
452 qcom,pin-num = <32>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700453 };
454
455 gpio@e000 {
456 reg = <0xe000 0x100>;
457 qcom,pin-num = <33>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700458 };
459
460 gpio@e100 {
461 reg = <0xe100 0x100>;
462 qcom,pin-num = <34>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700463 };
464
465 gpio@e200 {
466 reg = <0xe200 0x100>;
467 qcom,pin-num = <35>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700468 };
469
470 gpio@e300 {
471 reg = <0xe300 0x100>;
472 qcom,pin-num = <36>;
Michael Bohan5085a052012-06-11 13:27:34 -0700473 };
Michael Bohan8b909b42012-04-18 17:39:12 -0700474 };
475
Michael Bohand5ea7242012-10-01 18:01:51 -0700476 pm8941_mpps: mpps {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700477 spmi-dev-container;
478 compatible = "qcom,qpnp-pin";
479 gpio-controller;
480 #gpio-cells = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700481 #address-cells = <1>;
482 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700483 label = "pm8941-mpp";
David Collins153d45a2012-03-26 11:57:50 -0700484
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700485 mpp@a000 {
David Collins32f825f2012-06-06 09:49:24 -0700486 reg = <0xa000 0x100>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700487 qcom,pin-num = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700488 };
489
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700490 mpp@a100 {
491 reg = <0xa100 0x100>;
492 qcom,pin-num = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700493 };
494
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700495 mpp@a200 {
496 reg = <0xa200 0x100>;
497 qcom,pin-num = <3>;
David Collins153d45a2012-03-26 11:57:50 -0700498 };
499
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700500 mpp@a300 {
501 reg = <0xa300 0x100>;
502 qcom,pin-num = <4>;
David Collins153d45a2012-03-26 11:57:50 -0700503 };
504
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700505 mpp@a400 {
506 reg = <0xa400 0x100>;
507 qcom,pin-num = <5>;
David Collins153d45a2012-03-26 11:57:50 -0700508 };
509
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700510 mpp@a500 {
511 reg = <0xa500 0x100>;
512 qcom,pin-num = <6>;
David Collins153d45a2012-03-26 11:57:50 -0700513 };
514
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700515 mpp@a600 {
516 reg = <0xa600 0x100>;
517 qcom,pin-num = <7>;
David Collins153d45a2012-03-26 11:57:50 -0700518 };
519
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700520 mpp@a700 {
521 reg = <0xa700 0x100>;
522 qcom,pin-num = <8>;
David Collins153d45a2012-03-26 11:57:50 -0700523 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700524 };
Ashay Jaiswal93ad9702012-07-17 15:12:33 +0530525
526 qcom,pm8941_rtc {
527 spmi-dev-container;
528 compatible = "qcom,qpnp-rtc";
529 #address-cells = <1>;
530 #size-cells = <1>;
531 qcom,qpnp-rtc-write = <0>;
532 qcom,qpnp-rtc-alarm-pwrup = <0>;
533
534 qcom,pm8941_rtc_rw@6000 {
535 reg = <0x6000 0x100>;
536 };
537 qcom,pm8941_rtc_alarm@6100 {
538 reg = <0x6100 0x100>;
539 interrupts = <0x0 0x61 0x1>;
540 };
541 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700542
543 vadc@3100 {
544 compatible = "qcom,qpnp-vadc";
545 reg = <0x3100 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800546 #address-cells = <1>;
547 #size-cells = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700548 interrupts = <0x0 0x31 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800549 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700550 qcom,adc-bit-resolution = <15>;
551 qcom,adc-vdd-reference = <1800>;
552
553 chan@0 {
554 label = "usb_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800555 reg = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700556 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700557 qcom,pre-div-channel-scaling = <4>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700558 qcom,calibration-type = "absolute";
559 qcom,scale-function = <0>;
560 qcom,hw-settle-time = <0>;
561 qcom,fast-avg-setup = <0>;
562 };
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700563
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700564 chan@1 {
565 label = "dc_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800566 reg = <1>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700567 qcom,decimation = <0>;
568 qcom,pre-div-channel-scaling = <4>;
569 qcom,calibration-type = "absolute";
570 qcom,scale-function = <0>;
571 qcom,hw-settle-time = <0>;
572 qcom,fast-avg-setup = <0>;
573 };
574
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700575 chan@2 {
576 label = "vchg_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800577 reg = <2>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700578 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700579 qcom,pre-div-channel-scaling = <3>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700580 qcom,calibration-type = "absolute";
581 qcom,scale-function = <0>;
582 qcom,hw-settle-time = <0>;
583 qcom,fast-avg-setup = <0>;
584 };
585
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700586 chan@3 {
587 label = "spare1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800588 reg = <3>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700589 qcom,decimation = <0>;
590 qcom,pre-div-channel-scaling = <6>;
591 qcom,calibration-type = "absolute";
592 qcom,scale-function = <0>;
593 qcom,hw-settle-time = <0>;
594 qcom,fast-avg-setup = <0>;
595 };
596
597 chan@4 {
598 label = "spare2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800599 reg = <4>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700600 qcom,decimation = <0>;
601 qcom,pre-div-channel-scaling = <6>;
602 qcom,calibration-type = "absolute";
603 qcom,scale-function = <0>;
604 qcom,hw-settle-time = <0>;
605 qcom,fast-avg-setup = <0>;
606 };
607
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700608 chan@5 {
609 label = "vcoin";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800610 reg = <5>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700611 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700612 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700613 qcom,calibration-type = "absolute";
614 qcom,scale-function = <0>;
615 qcom,hw-settle-time = <0>;
616 qcom,fast-avg-setup = <0>;
617 };
618
619 chan@6 {
620 label = "vbat_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800621 reg = <6>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700622 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700623 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700624 qcom,calibration-type = "absolute";
625 qcom,scale-function = <0>;
626 qcom,hw-settle-time = <0>;
627 qcom,fast-avg-setup = <0>;
628 };
629
630 chan@7 {
631 label = "vph_pwr";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800632 reg = <7>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700633 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700634 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700635 qcom,calibration-type = "absolute";
636 qcom,scale-function = <0>;
637 qcom,hw-settle-time = <0>;
638 qcom,fast-avg-setup = <0>;
639 };
640
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700641 chan@8 {
642 label = "die_temp";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800643 reg = <8>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700644 qcom,decimation = <0>;
645 qcom,pre-div-channel-scaling = <0>;
646 qcom,calibration-type = "absolute";
647 qcom,scale-function = <3>;
648 qcom,hw-settle-time = <0>;
649 qcom,fast-avg-setup = <0>;
650 };
651
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700652 chan@9 {
653 label = "ref_625mv";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800654 reg = <9>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700655 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700656 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700657 qcom,calibration-type = "absolute";
658 qcom,scale-function = <0>;
659 qcom,hw-settle-time = <0>;
660 qcom,fast-avg-setup = <0>;
661 };
662
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800663 chan@a {
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700664 label = "ref_1250v";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800665 reg = <0xa>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700666 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700667 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700668 qcom,calibration-type = "absolute";
669 qcom,scale-function = <0>;
670 qcom,hw-settle-time = <0>;
671 qcom,fast-avg-setup = <0>;
672 };
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700673
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800674 chan@30 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700675 label = "batt_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800676 reg = <0x30>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700677 qcom,decimation = <0>;
678 qcom,pre-div-channel-scaling = <0>;
679 qcom,calibration-type = "ratiometric";
680 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800681 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700682 qcom,fast-avg-setup = <0>;
683 };
684
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800685 chan@31 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700686 label = "batt_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800687 reg = <0x31>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700688 qcom,decimation = <0>;
689 qcom,pre-div-channel-scaling = <0>;
690 qcom,calibration-type = "ratiometric";
691 qcom,scale-function = <0>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800692 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700693 qcom,fast-avg-setup = <0>;
694 };
695
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800696 chan@b2 {
Siddartha Mohanadoss3601d232012-09-14 16:01:39 -0700697 label = "xo_therm_pu2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800698 reg = <0xb2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700699 qcom,decimation = <0>;
700 qcom,pre-div-channel-scaling = <0>;
701 qcom,calibration-type = "ratiometric";
702 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800703 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700704 qcom,fast-avg-setup = <0>;
705 };
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700706
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800707 chan@b3 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700708 label = "msm_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800709 reg = <0xb3>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700710 qcom,decimation = <0>;
711 qcom,pre-div-channel-scaling = <0>;
712 qcom,calibration-type = "ratiometric";
713 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800714 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700715 qcom,fast-avg-setup = <0>;
716 };
717
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800718 chan@b4 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700719 label = "emmc_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800720 reg = <0xb4>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700721 qcom,decimation = <0>;
722 qcom,pre-div-channel-scaling = <0>;
723 qcom,calibration-type = "ratiometric";
724 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800725 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700726 qcom,fast-avg-setup = <0>;
727 };
728
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800729 chan@b5 {
Siddartha Mohanadoss54124362013-03-26 19:53:29 -0700730 label = "pa_therm0";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800731 reg = <0xb5>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700732 qcom,decimation = <0>;
733 qcom,pre-div-channel-scaling = <0>;
734 qcom,calibration-type = "ratiometric";
735 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800736 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700737 qcom,fast-avg-setup = <0>;
738 };
739
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800740 chan@b7 {
Siddartha Mohanadoss54124362013-03-26 19:53:29 -0700741 label = "pa_therm1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800742 reg = <0xb7>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700743 qcom,decimation = <0>;
744 qcom,pre-div-channel-scaling = <0>;
745 qcom,calibration-type = "ratiometric";
746 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800747 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700748 qcom,fast-avg-setup = <0>;
749 };
750
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800751 chan@b8 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700752 label = "quiet_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800753 reg = <0xb8>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700754 qcom,decimation = <0>;
755 qcom,pre-div-channel-scaling = <0>;
756 qcom,calibration-type = "ratiometric";
757 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800758 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700759 qcom,fast-avg-setup = <0>;
760 };
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800761
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800762 chan@b9 {
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800763 label = "usb_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800764 reg = <0xb9>;
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800765 qcom,decimation = <0>;
766 qcom,pre-div-channel-scaling = <0>;
767 qcom,calibration-type = "ratiometric";
768 qcom,scale-function = <0>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800769 qcom,hw-settle-time = <2>;
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800770 qcom,fast-avg-setup = <0>;
771 };
Siddartha Mohanadoss3cb76152013-04-12 16:17:02 -0700772
773 chan@39 {
774 label = "usb_id_nopull";
775 reg = <0x39>;
776 qcom,decimation = <0>;
777 qcom,pre-div-channel-scaling = <0>;
778 qcom,calibration-type = "ratiometric";
779 qcom,scale-function = <0>;
780 qcom,hw-settle-time = <2>;
781 qcom,fast-avg-setup = <0>;
782 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700783 };
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700784
785 iadc@3600 {
786 compatible = "qcom,qpnp-iadc";
787 reg = <0x3600 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800788 #address-cells = <1>;
789 #size-cells = <0>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700790 interrupts = <0x0 0x36 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800791 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700792 qcom,adc-bit-resolution = <16>;
793 qcom,adc-vdd-reference = <1800>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700794
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};