blob: f07b2f64b348cc2030c361277be4afa100168dd9 [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>;
David Keitel3c62b472013-05-06 15:38:11 -0700176 qcom,vinmin-mv = <4300>;
David Keitele89d4782013-03-27 11:29:59 -0700177 qcom,ibatmax-ma = <1500>;
David Keitel9fd07382013-05-02 15:37:44 -0700178 qcom,ibatterm-ma = <100>;
David Keitele89d4782013-03-27 11:29:59 -0700179 qcom,ibatsafe-ma = <1500>;
180 qcom,thermal-mitigation = <1500 700 600 325>;
181 qcom,cool-bat-decidegc = <100>;
182 qcom,cool-bat-mv = <4100>;
183 qcom,ibatmax-warm-ma = <350>;
184 qcom,warm-bat-decidegc = <450>;
185 qcom,warm-bat-mv = <4100>;
186 qcom,ibatmax-cool-ma = <350>;
David Keitel9fd07382013-05-02 15:37:44 -0700187 qcom,vbatdet-delta-mv = <100>;
David Keitelb0b63632013-03-27 15:17:33 -0700188 qcom,tchg-mins = <150>;
David Keitel6adff102012-07-27 14:24:00 -0700189
David Keitele89d4782013-03-27 11:29:59 -0700190 qcom,chgr@1000 {
David Keitela7a71732012-09-24 12:30:44 -0700191 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700192 reg = <0x1000 0x100>;
193 interrupts = <0x0 0x10 0x0>,
194 <0x0 0x10 0x1>,
195 <0x0 0x10 0x2>,
196 <0x0 0x10 0x3>,
197 <0x0 0x10 0x4>,
198 <0x0 0x10 0x5>,
199 <0x0 0x10 0x6>,
200 <0x0 0x10 0x7>;
201
David Keitel0cba0992012-10-30 06:21:10 -0700202 interrupt-names = "vbat-det-lo",
David Keitel6adff102012-07-27 14:24:00 -0700203 "vbat-det-hi",
David Keitel0cba0992012-10-30 06:21:10 -0700204 "chgwdog",
205 "state-change",
206 "trkl-chg-on",
207 "fast-chg-on",
208 "chg-failed",
209 "chg-done";
David Keitel6adff102012-07-27 14:24:00 -0700210 };
211
David Keitele89d4782013-03-27 11:29:59 -0700212 qcom,buck@1100 {
David Keitela7a71732012-09-24 12:30:44 -0700213 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700214 reg = <0x1100 0x100>;
215 interrupts = <0x0 0x11 0x0>,
216 <0x0 0x11 0x1>,
217 <0x0 0x11 0x2>,
218 <0x0 0x11 0x3>,
219 <0x0 0x11 0x4>,
220 <0x0 0x11 0x5>,
221 <0x0 0x11 0x6>;
222
David Keitel0cba0992012-10-30 06:21:10 -0700223 interrupt-names = "vbat-ov",
224 "vreg-ov",
David Keitel6adff102012-07-27 14:24:00 -0700225 "overtemp",
David Keitel0cba0992012-10-30 06:21:10 -0700226 "vchg-loop",
227 "ichg-loop",
228 "ibat-loop",
229 "vdd-loop";
David Keitel6adff102012-07-27 14:24:00 -0700230 };
231
David Keitele89d4782013-03-27 11:29:59 -0700232 qcom,bat-if@1200 {
David Keitela7a71732012-09-24 12:30:44 -0700233 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700234 reg = <0x1200 0x100>;
235 interrupts = <0x0 0x12 0x0>,
236 <0x0 0x12 0x1>,
237 <0x0 0x12 0x2>,
238 <0x0 0x12 0x3>,
239 <0x0 0x12 0x4>;
240
David Keitel0cba0992012-10-30 06:21:10 -0700241 interrupt-names = "batt-pres",
David Keitel6adff102012-07-27 14:24:00 -0700242 "bat-temp-ok",
David Keitel0cba0992012-10-30 06:21:10 -0700243 "bat-fet-on",
244 "vcp-on",
245 "psi";
246
David Keitel6adff102012-07-27 14:24:00 -0700247 };
248
David Keitele89d4782013-03-27 11:29:59 -0700249 qcom,usb-chgpth@1300 {
David Keitela7a71732012-09-24 12:30:44 -0700250 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700251 reg = <0x1300 0x100>;
252 interrupts = <0 0x13 0x0>,
253 <0 0x13 0x1>,
254 <0x0 0x13 0x2>;
255
David Keitel4429b1f2012-10-18 10:42:50 -0700256 interrupt-names = "coarse-det-usb",
257 "usbin-valid",
David Keitel6adff102012-07-27 14:24:00 -0700258 "chg-gone";
259 };
260
David Keitele89d4782013-03-27 11:29:59 -0700261 qcom,dc-chgpth@1400 {
David Keitela7a71732012-09-24 12:30:44 -0700262 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700263 reg = <0x1400 0x100>;
264 interrupts = <0x0 0x14 0x0>,
265 <0x0 0x14 0x1>;
266
David Keitel0cba0992012-10-30 06:21:10 -0700267 interrupt-names = "coarse-det-dc",
268 "dcin-valid";
David Keitel6adff102012-07-27 14:24:00 -0700269 };
270
David Keitele89d4782013-03-27 11:29:59 -0700271 qcom,boost@1500 {
David Keitela7a71732012-09-24 12:30:44 -0700272 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700273 reg = <0x1500 0x100>;
274 interrupts = <0x0 0x15 0x0>,
275 <0x0 0x15 0x1>;
276
David Keitel0cba0992012-10-30 06:21:10 -0700277 interrupt-names = "boost-pwr-ok",
278 "limit-error";
David Keitel6adff102012-07-27 14:24:00 -0700279 };
280
281 qcom,chg-misc@1600 {
David Keitela7a71732012-09-24 12:30:44 -0700282 status = "disabled";
David Keitel6adff102012-07-27 14:24:00 -0700283 reg = <0x1600 0x100>;
284 };
285 };
286
Michael Bohand5ea7242012-10-01 18:01:51 -0700287 pm8941_gpios: gpios {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700288 spmi-dev-container;
289 compatible = "qcom,qpnp-pin";
290 gpio-controller;
291 #gpio-cells = <2>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700292 #address-cells = <1>;
293 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700294 label = "pm8941-gpio";
Michael Bohan8b909b42012-04-18 17:39:12 -0700295
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700296 gpio@c000 {
297 reg = <0xc000 0x100>;
298 qcom,pin-num = <1>;
Michael Bohan8b909b42012-04-18 17:39:12 -0700299 };
Michael Bohan5085a052012-06-11 13:27:34 -0700300
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700301 gpio@c100 {
302 reg = <0xc100 0x100>;
303 qcom,pin-num = <2>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700304 };
Michael Bohan5085a052012-06-11 13:27:34 -0700305
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700306 gpio@c200 {
307 reg = <0xc200 0x100>;
308 qcom,pin-num = <3>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700309 };
Michael Bohan5085a052012-06-11 13:27:34 -0700310
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700311 gpio@c300 {
312 reg = <0xc300 0x100>;
313 qcom,pin-num = <4>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700314 };
Michael Bohan5085a052012-06-11 13:27:34 -0700315
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700316 gpio@c400 {
317 reg = <0xc400 0x100>;
318 qcom,pin-num = <5>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700319 };
Michael Bohan5085a052012-06-11 13:27:34 -0700320
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700321 gpio@c500 {
322 reg = <0xc500 0x100>;
323 qcom,pin-num = <6>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700324 };
Michael Bohan5085a052012-06-11 13:27:34 -0700325
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700326 gpio@c600 {
327 reg = <0xc600 0x100>;
328 qcom,pin-num = <7>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700329 };
Michael Bohan5085a052012-06-11 13:27:34 -0700330
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700331 gpio@c700 {
332 reg = <0xc700 0x100>;
333 qcom,pin-num = <8>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700334 };
Michael Bohan5085a052012-06-11 13:27:34 -0700335
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700336 gpio@c800 {
337 reg = <0xc800 0x100>;
338 qcom,pin-num = <9>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700339 };
Michael Bohan5085a052012-06-11 13:27:34 -0700340
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700341 gpio@c900 {
342 reg = <0xc900 0x100>;
343 qcom,pin-num = <10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700344 };
345
346 gpio@ca00 {
347 reg = <0xca00 0x100>;
348 qcom,pin-num = <11>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700349 };
350
351 gpio@cb00 {
352 reg = <0xcb00 0x100>;
353 qcom,pin-num = <12>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700354 };
355
356 gpio@cc00 {
357 reg = <0xcc00 0x100>;
358 qcom,pin-num = <13>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700359 };
360
361 gpio@cd00 {
362 reg = <0xcd00 0x100>;
363 qcom,pin-num = <14>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700364 };
365
366 gpio@ce00 {
367 reg = <0xce00 0x100>;
368 qcom,pin-num = <15>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700369 };
370
371 gpio@cf00 {
372 reg = <0xcf00 0x100>;
373 qcom,pin-num = <16>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700374 };
375
376 gpio@d000 {
377 reg = <0xd000 0x100>;
378 qcom,pin-num = <17>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700379 };
380
381 gpio@d100 {
382 reg = <0xd100 0x100>;
383 qcom,pin-num = <18>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700384 };
385
386 gpio@d200 {
387 reg = <0xd200 0x100>;
388 qcom,pin-num = <19>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700389 };
390
391 gpio@d300 {
392 reg = <0xd300 0x100>;
393 qcom,pin-num = <20>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700394 };
395
396 gpio@d400 {
397 reg = <0xd400 0x100>;
398 qcom,pin-num = <21>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700399 };
400
401 gpio@d500 {
402 reg = <0xd500 0x100>;
403 qcom,pin-num = <22>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700404 };
405
406 gpio@d600 {
407 reg = <0xd600 0x100>;
408 qcom,pin-num = <23>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700409 };
410
411 gpio@d700 {
412 reg = <0xd700 0x100>;
413 qcom,pin-num = <24>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700414 };
415
416 gpio@d800 {
417 reg = <0xd800 0x100>;
418 qcom,pin-num = <25>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700419 };
420
421 gpio@d900 {
422 reg = <0xd900 0x100>;
423 qcom,pin-num = <26>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700424 };
425
426 gpio@da00 {
427 reg = <0xda00 0x100>;
428 qcom,pin-num = <27>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700429 };
430
431 gpio@db00 {
432 reg = <0xdb00 0x100>;
433 qcom,pin-num = <28>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700434 };
435
436 gpio@dc00 {
437 reg = <0xdc00 0x100>;
438 qcom,pin-num = <29>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700439 };
440
441 gpio@dd00 {
442 reg = <0xdd00 0x100>;
443 qcom,pin-num = <30>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700444 };
445
446 gpio@de00 {
447 reg = <0xde00 0x100>;
448 qcom,pin-num = <31>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700449 };
450
451 gpio@df00 {
452 reg = <0xdf00 0x100>;
453 qcom,pin-num = <32>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700454 };
455
456 gpio@e000 {
457 reg = <0xe000 0x100>;
458 qcom,pin-num = <33>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700459 };
460
461 gpio@e100 {
462 reg = <0xe100 0x100>;
463 qcom,pin-num = <34>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700464 };
465
466 gpio@e200 {
467 reg = <0xe200 0x100>;
468 qcom,pin-num = <35>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700469 };
470
471 gpio@e300 {
472 reg = <0xe300 0x100>;
473 qcom,pin-num = <36>;
Michael Bohan5085a052012-06-11 13:27:34 -0700474 };
Michael Bohan8b909b42012-04-18 17:39:12 -0700475 };
476
Michael Bohand5ea7242012-10-01 18:01:51 -0700477 pm8941_mpps: mpps {
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700478 spmi-dev-container;
479 compatible = "qcom,qpnp-pin";
480 gpio-controller;
481 #gpio-cells = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700482 #address-cells = <1>;
483 #size-cells = <1>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700484 label = "pm8941-mpp";
David Collins153d45a2012-03-26 11:57:50 -0700485
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700486 mpp@a000 {
David Collins32f825f2012-06-06 09:49:24 -0700487 reg = <0xa000 0x100>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700488 qcom,pin-num = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700489 };
490
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700491 mpp@a100 {
492 reg = <0xa100 0x100>;
493 qcom,pin-num = <2>;
David Collins153d45a2012-03-26 11:57:50 -0700494 };
495
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700496 mpp@a200 {
497 reg = <0xa200 0x100>;
498 qcom,pin-num = <3>;
David Collins153d45a2012-03-26 11:57:50 -0700499 };
500
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700501 mpp@a300 {
502 reg = <0xa300 0x100>;
503 qcom,pin-num = <4>;
David Collins153d45a2012-03-26 11:57:50 -0700504 };
505
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700506 mpp@a400 {
507 reg = <0xa400 0x100>;
508 qcom,pin-num = <5>;
David Collins153d45a2012-03-26 11:57:50 -0700509 };
510
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700511 mpp@a500 {
512 reg = <0xa500 0x100>;
513 qcom,pin-num = <6>;
David Collins153d45a2012-03-26 11:57:50 -0700514 };
515
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700516 mpp@a600 {
517 reg = <0xa600 0x100>;
518 qcom,pin-num = <7>;
David Collins153d45a2012-03-26 11:57:50 -0700519 };
520
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700521 mpp@a700 {
522 reg = <0xa700 0x100>;
523 qcom,pin-num = <8>;
David Collins153d45a2012-03-26 11:57:50 -0700524 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700525 };
Ashay Jaiswal93ad9702012-07-17 15:12:33 +0530526
527 qcom,pm8941_rtc {
528 spmi-dev-container;
529 compatible = "qcom,qpnp-rtc";
530 #address-cells = <1>;
531 #size-cells = <1>;
532 qcom,qpnp-rtc-write = <0>;
533 qcom,qpnp-rtc-alarm-pwrup = <0>;
534
535 qcom,pm8941_rtc_rw@6000 {
536 reg = <0x6000 0x100>;
537 };
538 qcom,pm8941_rtc_alarm@6100 {
539 reg = <0x6100 0x100>;
540 interrupts = <0x0 0x61 0x1>;
541 };
542 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700543
544 vadc@3100 {
545 compatible = "qcom,qpnp-vadc";
546 reg = <0x3100 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800547 #address-cells = <1>;
548 #size-cells = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700549 interrupts = <0x0 0x31 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800550 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700551 qcom,adc-bit-resolution = <15>;
552 qcom,adc-vdd-reference = <1800>;
553
554 chan@0 {
555 label = "usb_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800556 reg = <0>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700557 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700558 qcom,pre-div-channel-scaling = <4>;
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700559 qcom,calibration-type = "absolute";
560 qcom,scale-function = <0>;
561 qcom,hw-settle-time = <0>;
562 qcom,fast-avg-setup = <0>;
563 };
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700564
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700565 chan@1 {
566 label = "dc_in";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800567 reg = <1>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700568 qcom,decimation = <0>;
569 qcom,pre-div-channel-scaling = <4>;
570 qcom,calibration-type = "absolute";
571 qcom,scale-function = <0>;
572 qcom,hw-settle-time = <0>;
573 qcom,fast-avg-setup = <0>;
574 };
575
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700576 chan@2 {
577 label = "vchg_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800578 reg = <2>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700579 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700580 qcom,pre-div-channel-scaling = <3>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700581 qcom,calibration-type = "absolute";
582 qcom,scale-function = <0>;
583 qcom,hw-settle-time = <0>;
584 qcom,fast-avg-setup = <0>;
585 };
586
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700587 chan@3 {
Siddartha Mohanadoss94b38292013-05-09 13:09:12 -0700588 label = "spare1_div3";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800589 reg = <3>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700590 qcom,decimation = <0>;
Siddartha Mohanadoss94b38292013-05-09 13:09:12 -0700591 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700592 qcom,calibration-type = "absolute";
593 qcom,scale-function = <0>;
594 qcom,hw-settle-time = <0>;
595 qcom,fast-avg-setup = <0>;
596 };
597
598 chan@4 {
Siddartha Mohanadoss94b38292013-05-09 13:09:12 -0700599 label = "usb_id_mv";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800600 reg = <4>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700601 qcom,decimation = <0>;
Siddartha Mohanadoss94b38292013-05-09 13:09:12 -0700602 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700603 qcom,calibration-type = "absolute";
604 qcom,scale-function = <0>;
605 qcom,hw-settle-time = <0>;
606 qcom,fast-avg-setup = <0>;
607 };
608
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700609 chan@5 {
610 label = "vcoin";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800611 reg = <5>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700612 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700613 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700614 qcom,calibration-type = "absolute";
615 qcom,scale-function = <0>;
616 qcom,hw-settle-time = <0>;
617 qcom,fast-avg-setup = <0>;
618 };
619
620 chan@6 {
621 label = "vbat_sns";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800622 reg = <6>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700623 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700624 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700625 qcom,calibration-type = "absolute";
626 qcom,scale-function = <0>;
627 qcom,hw-settle-time = <0>;
628 qcom,fast-avg-setup = <0>;
629 };
630
631 chan@7 {
632 label = "vph_pwr";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800633 reg = <7>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700634 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700635 qcom,pre-div-channel-scaling = <1>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700636 qcom,calibration-type = "absolute";
637 qcom,scale-function = <0>;
638 qcom,hw-settle-time = <0>;
639 qcom,fast-avg-setup = <0>;
640 };
641
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700642 chan@8 {
643 label = "die_temp";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800644 reg = <8>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700645 qcom,decimation = <0>;
646 qcom,pre-div-channel-scaling = <0>;
647 qcom,calibration-type = "absolute";
648 qcom,scale-function = <3>;
649 qcom,hw-settle-time = <0>;
650 qcom,fast-avg-setup = <0>;
651 };
652
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700653 chan@9 {
654 label = "ref_625mv";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800655 reg = <9>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700656 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700657 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700658 qcom,calibration-type = "absolute";
659 qcom,scale-function = <0>;
660 qcom,hw-settle-time = <0>;
661 qcom,fast-avg-setup = <0>;
662 };
663
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800664 chan@a {
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700665 label = "ref_1250v";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800666 reg = <0xa>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700667 qcom,decimation = <0>;
Siddartha Mohanadossf5367672012-09-04 22:09:31 -0700668 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadosse6440cf2012-08-08 17:08:18 -0700669 qcom,calibration-type = "absolute";
670 qcom,scale-function = <0>;
671 qcom,hw-settle-time = <0>;
672 qcom,fast-avg-setup = <0>;
673 };
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700674
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800675 chan@30 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700676 label = "batt_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800677 reg = <0x30>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700678 qcom,decimation = <0>;
679 qcom,pre-div-channel-scaling = <0>;
680 qcom,calibration-type = "ratiometric";
681 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800682 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700683 qcom,fast-avg-setup = <0>;
684 };
685
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800686 chan@31 {
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700687 label = "batt_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800688 reg = <0x31>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700689 qcom,decimation = <0>;
690 qcom,pre-div-channel-scaling = <0>;
691 qcom,calibration-type = "ratiometric";
692 qcom,scale-function = <0>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800693 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700694 qcom,fast-avg-setup = <0>;
695 };
696
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800697 chan@b2 {
Siddartha Mohanadoss3601d232012-09-14 16:01:39 -0700698 label = "xo_therm_pu2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800699 reg = <0xb2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700700 qcom,decimation = <0>;
701 qcom,pre-div-channel-scaling = <0>;
702 qcom,calibration-type = "ratiometric";
703 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800704 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss5a5d5512012-09-06 20:25:42 -0700705 qcom,fast-avg-setup = <0>;
706 };
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700707
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800708 chan@b3 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700709 label = "msm_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800710 reg = <0xb3>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700711 qcom,decimation = <0>;
712 qcom,pre-div-channel-scaling = <0>;
713 qcom,calibration-type = "ratiometric";
714 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800715 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700716 qcom,fast-avg-setup = <0>;
717 };
718
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800719 chan@b4 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700720 label = "emmc_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800721 reg = <0xb4>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700722 qcom,decimation = <0>;
723 qcom,pre-div-channel-scaling = <0>;
724 qcom,calibration-type = "ratiometric";
725 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800726 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700727 qcom,fast-avg-setup = <0>;
728 };
729
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800730 chan@b5 {
Siddartha Mohanadoss54124362013-03-26 19:53:29 -0700731 label = "pa_therm0";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800732 reg = <0xb5>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700733 qcom,decimation = <0>;
734 qcom,pre-div-channel-scaling = <0>;
735 qcom,calibration-type = "ratiometric";
736 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800737 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700738 qcom,fast-avg-setup = <0>;
739 };
740
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800741 chan@b7 {
Siddartha Mohanadoss54124362013-03-26 19:53:29 -0700742 label = "pa_therm1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800743 reg = <0xb7>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700744 qcom,decimation = <0>;
745 qcom,pre-div-channel-scaling = <0>;
746 qcom,calibration-type = "ratiometric";
747 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800748 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700749 qcom,fast-avg-setup = <0>;
750 };
751
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800752 chan@b8 {
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700753 label = "quiet_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800754 reg = <0xb8>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700755 qcom,decimation = <0>;
756 qcom,pre-div-channel-scaling = <0>;
757 qcom,calibration-type = "ratiometric";
758 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800759 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss0a918562012-09-13 14:26:54 -0700760 qcom,fast-avg-setup = <0>;
761 };
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800762
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800763 chan@b9 {
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800764 label = "usb_id";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800765 reg = <0xb9>;
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800766 qcom,decimation = <0>;
767 qcom,pre-div-channel-scaling = <0>;
768 qcom,calibration-type = "ratiometric";
769 qcom,scale-function = <0>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800770 qcom,hw-settle-time = <2>;
Siddartha Mohanadossa406dd42012-11-20 16:43:47 -0800771 qcom,fast-avg-setup = <0>;
772 };
Siddartha Mohanadoss3cb76152013-04-12 16:17:02 -0700773
774 chan@39 {
775 label = "usb_id_nopull";
776 reg = <0x39>;
777 qcom,decimation = <0>;
778 qcom,pre-div-channel-scaling = <0>;
779 qcom,calibration-type = "ratiometric";
780 qcom,scale-function = <0>;
781 qcom,hw-settle-time = <2>;
782 qcom,fast-avg-setup = <0>;
783 };
Siddartha Mohanadoss3696ee82012-07-20 14:47:04 -0700784 };
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700785
786 iadc@3600 {
787 compatible = "qcom,qpnp-iadc";
788 reg = <0x3600 0x100>;
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800789 #address-cells = <1>;
790 #size-cells = <0>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700791 interrupts = <0x0 0x36 0x0>;
Siddartha Mohanadoss12109952012-11-20 14:57:51 -0800792 interrupt-names = "eoc-int-en-set";
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700793 qcom,adc-bit-resolution = <16>;
794 qcom,adc-vdd-reference = <1800>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700795
796 chan@0 {
797 label = "internal_rsense";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800798 reg = <0>;
Siddartha Mohanadossb11538e2012-07-27 12:06:22 -0700799 qcom,decimation = <0>;
800 qcom,pre-div-channel-scaling = <1>;
801 qcom,calibration-type = "absolute";
802 qcom,scale-function = <0>;
803 qcom,hw-settle-time = <0>;
804 qcom,fast-avg-setup = <0>;
805 };
806 };
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800807
808 qcom,vadc@3400 {
809 compatible = "qcom,qpnp-adc-tm";
810 reg = <0x3400 0x100>;
811 #address-cells = <1>;
812 #size-cells = <0>;
813 interrupts = <0x0 0x34 0x0>,
814 <0x0 0x34 0x3>,
815 <0x0 0x34 0x4>;
816 interrupt-names = "eoc-int-en-set",
817 "high-thr-en-set",
818 "low-thr-en-set";
819 qcom,adc-bit-resolution = <15>;
820 qcom,adc-vdd-reference = <1800>;
821
822 /* Channel Node */
823 chan@b9 {
824 label = "usb_id";
825 reg = <0xb9>;
826 qcom,decimation = <0>;
827 qcom,pre-div-channel-scaling = <0>;
828 qcom,calibration-type = "ratiometric";
829 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800830 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700831 qcom,fast-avg-setup = <3>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800832 qcom,btm-channel-number = <0x48>;
833 };
834
835 chan@30 {
836 label = "batt_therm";
837 reg = <0x30>;
838 qcom,decimation = <0>;
839 qcom,pre-div-channel-scaling = <0>;
840 qcom,calibration-type = "ratiometric";
841 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800842 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700843 qcom,fast-avg-setup = <3>;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800844 qcom,btm-channel-number = <0x68>;
845 };
846
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700847 chan@8 {
848 label = "die_temp";
849 reg = <8>;
850 qcom,decimation = <0>;
851 qcom,pre-div-channel-scaling = <0>;
852 qcom,calibration-type = "absolute";
Siddartha Mohanadoss255bff62013-04-23 11:13:34 -0700853 qcom,scale-function = <3>;
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700854 qcom,hw-settle-time = <0>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700855 qcom,fast-avg-setup = <3>;
Siddartha Mohanadossa38ca952013-03-28 18:41:47 -0700856 qcom,btm-channel-number = <0x70>;
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700857 };
858
859 chan@6 {
860 label = "vbat_sns";
861 reg = <6>;
862 qcom,decimation = <0>;
863 qcom,pre-div-channel-scaling = <1>;
864 qcom,calibration-type = "absolute";
Siddartha Mohanadoss999f8082013-03-28 18:42:48 -0700865 qcom,scale-function = <0>;
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700866 qcom,hw-settle-time = <0>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700867 qcom,fast-avg-setup = <3>;
Siddartha Mohanadossa38ca952013-03-28 18:41:47 -0700868 qcom,btm-channel-number = <0x78>;
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700869 };
870
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800871 chan@b5 {
Siddartha Mohanadoss54124362013-03-26 19:53:29 -0700872 label = "pa_therm0";
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800873 reg = <0xb5>;
874 qcom,decimation = <0>;
875 qcom,pre-div-channel-scaling = <0>;
Siddartha Mohanadoss94b38292013-05-09 13:09:12 -0700876 qcom,calibration-type = "ratiometric";
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800877 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800878 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700879 qcom,fast-avg-setup = <3>;
Siddartha Mohanadossa38ca952013-03-28 18:41:47 -0700880 qcom,btm-channel-number = <0x80>;
Siddartha Mohanadoss192a8bd2013-03-25 09:30:12 -0700881 qcom,thermal-node;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800882 };
883
884 chan@b7 {
Siddartha Mohanadoss54124362013-03-26 19:53:29 -0700885 label = "pa_therm1";
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800886 reg = <0xb7>;
887 qcom,decimation = <0>;
888 qcom,pre-div-channel-scaling = <0>;
889 qcom,calibration-type = "ratiometric";
890 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800891 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700892 qcom,fast-avg-setup = <3>;
Siddartha Mohanadossa38ca952013-03-28 18:41:47 -0700893 qcom,btm-channel-number = <0x88>;
Siddartha Mohanadoss192a8bd2013-03-25 09:30:12 -0700894 qcom,thermal-node;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800895 };
896
897 chan@b4 {
898 label = "emmc_therm";
899 reg = <0xb4>;
900 qcom,decimation = <0>;
901 qcom,pre-div-channel-scaling = <0>;
902 qcom,calibration-type = "ratiometric";
903 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800904 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700905 qcom,fast-avg-setup = <3>;
Siddartha Mohanadossa38ca952013-03-28 18:41:47 -0700906 qcom,btm-channel-number = <0x90>;
Siddartha Mohanadoss192a8bd2013-03-25 09:30:12 -0700907 qcom,thermal-node;
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800908 };
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700909
910 chan@b3 {
911 label = "msm_therm";
912 reg = <0xb3>;
913 qcom,decimation = <0>;
914 qcom,pre-div-channel-scaling = <0>;
915 qcom,calibration-type = "ratiometric";
916 qcom,scale-function = <2>;
917 qcom,hw-settle-time = <2>;
Siddartha Mohanadoss1dacc2d2013-03-27 19:40:41 -0700918 qcom,fast-avg-setup = <3>;
Siddartha Mohanadossb919e7b2013-03-22 09:50:40 -0700919 qcom,btm-channel-number = <0x98>;
920 qcom,thermal-node;
921 };
Siddartha Mohanadoss7d1e9d82012-11-20 18:06:51 -0800922 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700923 };
David Collins153d45a2012-03-26 11:57:50 -0700924
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700925 qcom,pm8941@1 {
926 spmi-slave-container;
927 reg = <0x1>;
928 #address-cells = <1>;
929 #size-cells = <1>;
David Collins153d45a2012-03-26 11:57:50 -0700930
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700931 regulator@1400 {
932 regulator-name = "8941_s1";
933 spmi-dev-container;
934 #address-cells = <1>;
935 #size-cells = <1>;
936 compatible = "qcom,qpnp-regulator";
937 reg = <0x1400 0x300>;
938 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700939
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700940 qcom,ctl@1400 {
941 reg = <0x1400 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700942 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700943 qcom,ps@1500 {
944 reg = <0x1500 0x100>;
945 };
946 qcom,freq@1600 {
947 reg = <0x1600 0x100>;
948 };
949 };
David Collins153d45a2012-03-26 11:57:50 -0700950
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700951 regulator@1700 {
952 regulator-name = "8941_s2";
953 spmi-dev-container;
954 #address-cells = <1>;
955 #size-cells = <1>;
956 compatible = "qcom,qpnp-regulator";
957 reg = <0x1700 0x300>;
958 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700959
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700960 qcom,ctl@1700 {
961 reg = <0x1700 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700962 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700963 qcom,ps@1800 {
964 reg = <0x1800 0x100>;
965 };
966 qcom,freq@1900 {
967 reg = <0x1900 0x100>;
968 };
969 };
David Collins153d45a2012-03-26 11:57:50 -0700970
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700971 regulator@1a00 {
972 regulator-name = "8941_s3";
973 spmi-dev-container;
974 #address-cells = <1>;
975 #size-cells = <1>;
976 compatible = "qcom,qpnp-regulator";
Michael Bohand3253c72012-08-09 11:34:49 -0700977 reg = <0x1a00 0x300>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700978 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -0700979
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700980 qcom,ctl@1a00 {
981 reg = <0x1a00 0x100>;
David Collins153d45a2012-03-26 11:57:50 -0700982 };
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700983 qcom,ps@1b00 {
984 reg = <0x1b00 0x100>;
985 };
986 qcom,freq@1c00 {
987 reg = <0x1c00 0x100>;
988 };
989 };
David Collins153d45a2012-03-26 11:57:50 -0700990
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700991 regulator@a000 {
992 regulator-name = "8941_boost";
993 reg = <0xa000 0x100>;
994 compatible = "qcom,qpnp-regulator";
995 status = "disabled";
996 };
David Collins153d45a2012-03-26 11:57:50 -0700997
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700998 regulator@4000 {
999 regulator-name = "8941_l1";
1000 reg = <0x4000 0x100>;
1001 compatible = "qcom,qpnp-regulator";
1002 status = "disabled";
1003 };
David Collins153d45a2012-03-26 11:57:50 -07001004
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001005 regulator@4100 {
1006 regulator-name = "8941_l2";
1007 reg = <0x4100 0x100>;
1008 compatible = "qcom,qpnp-regulator";
1009 status = "disabled";
1010 };
David Collins153d45a2012-03-26 11:57:50 -07001011
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001012 regulator@4200 {
1013 regulator-name = "8941_l3";
1014 reg = <0x4200 0x100>;
1015 compatible = "qcom,qpnp-regulator";
1016 status = "disabled";
1017 };
David Collins153d45a2012-03-26 11:57:50 -07001018
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001019 regulator@4300 {
1020 regulator-name = "8941_l4";
1021 reg = <0x4300 0x100>;
1022 compatible = "qcom,qpnp-regulator";
1023 status = "disabled";
1024 };
David Collins153d45a2012-03-26 11:57:50 -07001025
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001026 regulator@4400 {
1027 regulator-name = "8941_l5";
1028 reg = <0x4400 0x100>;
1029 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -07001030 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001031 status = "disabled";
1032 };
David Collins153d45a2012-03-26 11:57:50 -07001033
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001034 regulator@4500 {
1035 regulator-name = "8941_l6";
1036 reg = <0x4500 0x100>;
1037 compatible = "qcom,qpnp-regulator";
1038 status = "disabled";
1039 };
David Collins153d45a2012-03-26 11:57:50 -07001040
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001041 regulator@4600 {
1042 regulator-name = "8941_l7";
1043 reg = <0x4600 0x100>;
1044 compatible = "qcom,qpnp-regulator";
Michael Bohane18bf882012-08-09 15:00:23 -07001045 qcom,force-type = <0x04 0x10>;
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001046 status = "disabled";
1047 };
David Collins153d45a2012-03-26 11:57:50 -07001048
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001049 regulator@4700 {
1050 regulator-name = "8941_l8";
1051 reg = <0x4700 0x100>;
1052 compatible = "qcom,qpnp-regulator";
1053 status = "disabled";
1054 };
David Collins153d45a2012-03-26 11:57:50 -07001055
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001056 regulator@4800 {
1057 regulator-name = "8941_l9";
1058 reg = <0x4800 0x100>;
1059 compatible = "qcom,qpnp-regulator";
1060 status = "disabled";
1061 };
David Collins153d45a2012-03-26 11:57:50 -07001062
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001063 regulator@4900 {
1064 regulator-name = "8941_l10";
1065 reg = <0x4900 0x100>;
1066 compatible = "qcom,qpnp-regulator";
1067 status = "disabled";
1068 };
David Collins153d45a2012-03-26 11:57:50 -07001069
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001070 regulator@4a00 {
1071 regulator-name = "8941_l11";
1072 reg = <0x4a00 0x100>;
1073 compatible = "qcom,qpnp-regulator";
1074 status = "disabled";
1075 };
David Collins153d45a2012-03-26 11:57:50 -07001076
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001077 regulator@4b00 {
1078 regulator-name = "8941_l12";
1079 reg = <0x4b00 0x100>;
1080 compatible = "qcom,qpnp-regulator";
1081 status = "disabled";
1082 };
David Collins153d45a2012-03-26 11:57:50 -07001083
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001084 regulator@4c00 {
1085 regulator-name = "8941_l13";
1086 reg = <0x4c00 0x100>;
1087 compatible = "qcom,qpnp-regulator";
1088 status = "disabled";
1089 };
David Collins153d45a2012-03-26 11:57:50 -07001090
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001091 regulator@4d00 {
1092 regulator-name = "8941_l14";
1093 reg = <0x4d00 0x100>;
1094 compatible = "qcom,qpnp-regulator";
1095 status = "disabled";
1096 };
1097
1098 regulator@4e00 {
1099 regulator-name = "8941_l15";
1100 reg = <0x4e00 0x100>;
1101 compatible = "qcom,qpnp-regulator";
1102 status = "disabled";
1103 };
1104
1105 regulator@4f00 {
1106 regulator-name = "8941_l16";
1107 reg = <0x4f00 0x100>;
1108 compatible = "qcom,qpnp-regulator";
1109 status = "disabled";
1110 };
1111
1112 regulator@5000 {
1113 regulator-name = "8941_l17";
1114 reg = <0x5000 0x100>;
1115 compatible = "qcom,qpnp-regulator";
1116 status = "disabled";
1117 };
1118
1119 regulator@5100 {
1120 regulator-name = "8941_l18";
1121 reg = <0x5100 0x100>;
1122 compatible = "qcom,qpnp-regulator";
1123 status = "disabled";
1124 };
1125
1126 regulator@5200 {
1127 regulator-name = "8941_l19";
1128 reg = <0x5200 0x100>;
1129 compatible = "qcom,qpnp-regulator";
1130 status = "disabled";
1131 };
1132
1133 regulator@5300 {
1134 regulator-name = "8941_l20";
1135 reg = <0x5300 0x100>;
1136 compatible = "qcom,qpnp-regulator";
1137 status = "disabled";
1138 };
1139
1140 regulator@5400 {
1141 regulator-name = "8941_l21";
1142 reg = <0x5400 0x100>;
1143 compatible = "qcom,qpnp-regulator";
1144 status = "disabled";
1145 };
1146
1147 regulator@5500 {
1148 regulator-name = "8941_l22";
1149 reg = <0x5500 0x100>;
1150 compatible = "qcom,qpnp-regulator";
1151 status = "disabled";
1152 };
1153
1154 regulator@5600 {
1155 regulator-name = "8941_l23";
1156 reg = <0x5600 0x100>;
1157 compatible = "qcom,qpnp-regulator";
1158 status = "disabled";
1159 };
1160
1161 regulator@5700 {
1162 regulator-name = "8941_l24";
1163 reg = <0x5700 0x100>;
1164 compatible = "qcom,qpnp-regulator";
1165 status = "disabled";
1166 };
1167
1168 regulator@8000 {
1169 regulator-name = "8941_lvs1";
1170 reg = <0x8000 0x100>;
1171 compatible = "qcom,qpnp-regulator";
1172 status = "disabled";
1173 };
1174
1175 regulator@8100 {
1176 regulator-name = "8941_lvs2";
1177 reg = <0x8100 0x100>;
1178 compatible = "qcom,qpnp-regulator";
1179 status = "disabled";
1180 };
1181
1182 regulator@8200 {
1183 regulator-name = "8941_lvs3";
1184 reg = <0x8200 0x100>;
1185 compatible = "qcom,qpnp-regulator";
1186 status = "disabled";
1187 };
1188
1189 regulator@8300 {
1190 regulator-name = "8941_mvs1";
1191 reg = <0x8300 0x100>;
1192 compatible = "qcom,qpnp-regulator";
1193 status = "disabled";
1194 };
1195
1196 regulator@8400 {
1197 regulator-name = "8941_mvs2";
1198 reg = <0x8400 0x100>;
1199 compatible = "qcom,qpnp-regulator";
1200 status = "disabled";
David Collins153d45a2012-03-26 11:57:50 -07001201 };
Amy Maloche02a5eae2012-08-10 21:33:59 -07001202
Amy Malochec9aa2cb2012-11-07 12:22:58 -08001203 qcom,vibrator@c000 {
1204 compatible = "qcom,qpnp-vibrator";
1205 reg = <0xc000 0x100>;
1206 label = "vibrator";
1207 status = "disabled";
1208 };
1209
Amy Maloche4f0b0462012-09-17 12:09:49 -07001210 qcom,leds@d000 {
1211 compatible = "qcom,leds-qpnp";
1212 reg = <0xd000 0x100>;
1213 label = "rgb";
1214 };
1215
1216 qcom,leds@d100 {
1217 compatible = "qcom,leds-qpnp";
1218 reg = <0xd100 0x100>;
1219 label = "rgb";
1220 };
1221
1222 qcom,leds@d200 {
1223 compatible = "qcom,leds-qpnp";
1224 reg = <0xd200 0x100>;
1225 label = "rgb";
1226 };
1227
Amy Maloche2b8b79b2012-10-22 10:36:04 -07001228 qcom,leds@d300 {
1229 compatible = "qcom,leds-qpnp";
1230 reg = <0xd300 0x100>;
1231 label = "flash";
1232 };
1233
1234 qcom,leds@d400 {
1235 compatible = "qcom,leds-qpnp";
1236 reg = <0xd400 0x100>;
1237 label = "flash";
1238 };
1239
1240 qcom,leds@d500 {
1241 compatible = "qcom,leds-qpnp";
1242 reg = <0xd500 0x100>;
1243 label = "flash";
1244 };
1245
1246 qcom,leds@d600 {
1247 compatible = "qcom,leds-qpnp";
1248 reg = <0xd600 0x100>;
1249 label = "flash";
1250 };
1251
1252 qcom,leds@d700 {
1253 compatible = "qcom,leds-qpnp";
1254 reg = <0xd700 0x100>;
1255 label = "flash";
1256 };
1257
Amy Maloche02a5eae2012-08-10 21:33:59 -07001258 qcom,leds@d800 {
1259 compatible = "qcom,leds-qpnp";
1260 reg = <0xd800 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001261 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001262 };
1263
1264 qcom,leds@d900 {
1265 compatible = "qcom,leds-qpnp";
1266 reg = <0xd900 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001267 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001268 };
1269
1270 qcom,leds@da00 {
1271 compatible = "qcom,leds-qpnp";
1272 reg = <0xda00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001273 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001274 };
1275
1276 qcom,leds@db00 {
1277 compatible = "qcom,leds-qpnp";
1278 reg = <0xdb00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001279 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001280 };
1281
1282 qcom,leds@dc00 {
1283 compatible = "qcom,leds-qpnp";
1284 reg = <0xdc00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001285 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001286 };
1287
1288 qcom,leds@dd00 {
1289 compatible = "qcom,leds-qpnp";
1290 reg = <0xdd00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001291 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001292 };
1293
1294 qcom,leds@de00 {
1295 compatible = "qcom,leds-qpnp";
1296 reg = <0xde00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001297 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001298 };
1299
1300 qcom,leds@df00 {
1301 compatible = "qcom,leds-qpnp";
1302 reg = <0xdf00 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001303 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001304 };
1305
1306 qcom,leds@e000 {
1307 compatible = "qcom,leds-qpnp";
1308 reg = <0xe000 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001309 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001310 };
1311
1312 qcom,leds@e100 {
1313 compatible = "qcom,leds-qpnp";
1314 reg = <0xe100 0x100>;
Amy Malochea5ca5552012-10-23 13:34:46 -07001315 label = "wled";
Amy Maloche02a5eae2012-08-10 21:33:59 -07001316 };
1317
Jay Chokshi6254a162012-05-07 12:38:14 -07001318 pwm@b100 {
1319 compatible = "qcom,qpnp-pwm";
1320 reg = <0xb100 0x100>,
1321 <0xb042 0x7e>;
1322 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1323 qcom,channel-id = <0>;
1324 };
1325
1326 pwm@b200 {
1327 compatible = "qcom,qpnp-pwm";
1328 reg = <0xb200 0x100>,
1329 <0xb042 0x7e>;
1330 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1331 qcom,channel-id = <1>;
1332 };
1333
1334 pwm@b300 {
1335 compatible = "qcom,qpnp-pwm";
1336 reg = <0xb300 0x100>,
1337 <0xb042 0x7e>;
1338 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1339 qcom,channel-id = <2>;
1340 };
1341
1342 pwm@b400 {
1343 compatible = "qcom,qpnp-pwm";
1344 reg = <0xb400 0x100>,
1345 <0xb042 0x7e>;
1346 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1347 qcom,channel-id = <3>;
1348 };
1349
1350 pwm@b500 {
1351 compatible = "qcom,qpnp-pwm";
1352 reg = <0xb500 0x100>,
1353 <0xb042 0x7e>;
1354 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1355 qcom,channel-id = <4>;
1356 };
1357
1358 pwm@b600 {
1359 compatible = "qcom,qpnp-pwm";
1360 reg = <0xb600 0x100>,
1361 <0xb042 0x7e>;
1362 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1363 qcom,channel-id = <5>;
1364 };
1365
1366 pwm@b700 {
1367 compatible = "qcom,qpnp-pwm";
1368 reg = <0xb700 0x100>,
1369 <0xb042 0x7e>;
1370 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1371 qcom,channel-id = <6>;
1372 };
1373
1374 pwm@b800 {
1375 compatible = "qcom,qpnp-pwm";
1376 reg = <0xb800 0x100>,
1377 <0xb042 0x7e>;
1378 reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base";
1379 qcom,channel-id = <7>;
1380 };
David Collins153d45a2012-03-26 11:57:50 -07001381 };
1382};