blob: 5e2c7bca003502a737b22b63d702afd08112451a [file] [log] [blame]
Mitchel Humpherys85d08692012-10-23 12:56:35 -07001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -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
13/include/ "skeleton.dtsi"
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070014
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -070015/ {
16 model = "Qualcomm MSM 8226";
17 compatible = "qcom,msm8226";
18 interrupt-parent = <&intc>;
19
Gilad Avidovd59217c2013-02-01 13:45:59 -070020 aliases {
21 spi0 = &spi_0;
Sahitya Tummala9e001362013-03-28 11:00:55 +053022 sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
23 sdhc2 = &sdhc_2; /* SDC2 SD card slot */
Krishna Kondaf92e4262013-07-08 16:21:57 -070024 sdhc3 = &sdhc_3; /* SDC3 SDIO slot */
Gilad Avidovd59217c2013-02-01 13:45:59 -070025 };
26
Laura Abbottf3196b22013-03-11 16:22:34 -070027 memory {
28 secure_mem: secure_region {
29 linux,contiguous-region;
Shalaj Jain5ce2fde2013-05-10 13:22:33 -070030 reg = <0 0x6D00000>;
Laura Abbottf3196b22013-03-11 16:22:34 -070031 label = "secure_mem";
32 };
Laura Abbott429e82b2013-03-25 13:03:06 -070033
Krupal Divvela756ee0f2013-06-12 03:42:55 +053034 adsp_mem: adsp_region {
35 linux,contiguous-region;
36 reg = <0 0x2000000>;
37 label = "adsp_mem";
38 };
39
Laura Abbott429e82b2013-03-25 13:03:06 -070040 qsecom_mem: qsecom_region {
41 linux,contiguous-region;
42 reg = <0 0x780000>;
43 label = "qsecom_mem";
44 };
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070045 };
Laura Abbott429e82b2013-03-25 13:03:06 -070046
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070047 soc: soc { };
48};
49
50/include/ "msm8226-ion.dtsi"
51/include/ "msm8226-camera.dtsi"
52/include/ "msm-gdsc.dtsi"
53/include/ "msm8226-iommu.dtsi"
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070054/include/ "msm8226-smp2p.dtsi"
55/include/ "msm8226-gpu.dtsi"
56/include/ "msm8226-bus.dtsi"
57/include/ "msm8226-mdss.dtsi"
58/include/ "msm8226-coresight.dtsi"
59/include/ "msm8226-iommu-domains.dtsi"
60
61&soc {
62 #address-cells = <1>;
63 #size-cells = <1>;
64 ranges;
65
66 intc: interrupt-controller@f9000000 {
67 compatible = "qcom,msm-qgic2";
68 interrupt-controller;
69 #interrupt-cells = <3>;
70 reg = <0xF9000000 0x1000>,
71 <0xF9002000 0x1000>;
72 };
73
74 msmgpio: gpio@fd510000 {
75 compatible = "qcom,msm-gpio";
76 interrupt-controller;
77 #interrupt-cells = <2>;
78 reg = <0xfd510000 0x4000>;
79 gpio-controller;
80 #gpio-cells = <2>;
81 ngpio = <117>;
82 interrupts = <0 208 0>;
83 qcom,direct-connect-irqs = <8>;
Laura Abbottf3196b22013-03-11 16:22:34 -070084 };
85
Abhimanyu Kapur58d303a72013-04-30 16:13:41 -070086 qcom,mpm2-sleep-counter@fc4a3000 {
87 compatible = "qcom,mpm2-sleep-counter";
88 reg = <0xfc4a3000 0x1000>;
89 clock-frequency = <32768>;
90 };
91
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -070092 timer {
Syed Rameez Mustafa0824d6c2012-11-29 18:53:56 -080093 compatible = "arm,armv7-timer";
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -070094 interrupts = <1 2 0 1 3 0>;
95 clock-frequency = <19200000>;
96 };
97
Stephen Boyd72759f62013-04-10 14:20:27 -070098 timer@f9020000 {
99 #address-cells = <1>;
100 #size-cells = <1>;
101 ranges;
102 compatible = "arm,armv7-timer-mem";
103 reg = <0xf9020000 0x1000>;
104 clock-frequency = <19200000>;
105
106 frame@f9021000 {
107 frame-number = <0>;
108 interrupts = <0 8 0x4>,
109 <0 7 0x4>;
110 reg = <0xf9021000 0x1000>,
111 <0xf9022000 0x1000>;
112 };
113
114 frame@f9023000 {
115 frame-number = <1>;
116 interrupts = <0 9 0x4>;
117 reg = <0xf9023000 0x1000>;
118 status = "disabled";
119 };
120
121 frame@f9024000 {
122 frame-number = <2>;
123 interrupts = <0 10 0x4>;
124 reg = <0xf9024000 0x1000>;
125 status = "disabled";
126 };
127
128 frame@f9025000 {
129 frame-number = <3>;
130 interrupts = <0 11 0x4>;
131 reg = <0xf9025000 0x1000>;
132 status = "disabled";
133 };
134
135 frame@f9026000 {
136 frame-number = <4>;
137 interrupts = <0 12 0x4>;
138 reg = <0xf9026000 0x1000>;
139 status = "disabled";
140 };
141
142 frame@f9027000 {
143 frame-number = <5>;
144 interrupts = <0 13 0x4>;
145 reg = <0xf9027000 0x1000>;
146 status = "disabled";
147 };
148
149 frame@f9028000 {
150 frame-number = <6>;
151 interrupts = <0 14 0x4>;
152 reg = <0xf9028000 0x1000>;
153 status = "disabled";
154 };
155 };
156
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -0800157 qcom,vidc@fdc00000 {
158 compatible = "qcom,msm-vidc";
159 reg = <0xfdc00000 0xff000>;
160 interrupts = <0 44 0>;
161 qcom,load-freq-tbl = <352800 160000000>,
162 <244800 133330000>,
163 <108000 66700000>;
164 qcom,hfi = "venus";
165 qcom,bus-ports = <1>;
166 qcom,reg-presets = <0xE0024 0x0>,
167 <0x80124 0x3>,
168 <0xE0020 0x5555556>,
169 <0x800B0 0x10101001>,
170 <0x800B4 0x00101010>,
171 <0x800C0 0x1010100f>,
172 <0x800C4 0x00101010>,
173 <0x800D0 0x00000010>,
174 <0x800D4 0x00000010>,
175 <0x800D8 0x00000707>;
176 qcom,enc-ddr-ab-ib = <0 0>,
177 <129000 142000>,
178 <384000 422000>,
179 <866000 953000>;
180 qcom,dec-ddr-ab-ib = <0 0>,
181 <103000 134000>,
182 <268000 348000>,
183 <505000 657000>;
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -0800184 qcom,buffer-type-tz-usage-table = <0x1 0x1>,
Eric Hoa00e2da2013-06-20 17:41:57 -0700185 <0x2 0x2>,
186 <0x1f0 0x3>;
Deva Ramasubramanian74b1dda2013-03-27 13:16:17 -0700187 qcom,max-hw-load = <352800>; /* 720p @ 30 + 1080p @ 30 */
Eric Hoa00e2da2013-06-20 17:41:57 -0700188 qcom,vidc-iommu-domains {
189 qcom,domain-ns {
190 qcom,vidc-domain-phandle = <&venus_domain_ns>;
191 qcom,vidc-partition-buffer-types = <0x1ff>,
192 <0x200>;
193 };
194
195 qcom,domain-cp {
196 qcom,vidc-domain-phandle = <&venus_domain_cp>;
197 qcom,vidc-partition-buffer-types = <0x2>,
198 <0x1f1>;
199 };
200 };
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -0800201 };
202
203 qcom,wfd {
204 compatible = "qcom,msm-wfd";
205 };
206
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700207 serial@f991f000 {
208 compatible = "qcom,msm-lsuart-v14";
209 reg = <0xf991f000 0x1000>;
210 interrupts = <0 109 0>;
211 status = "disabled";
212 };
213
214 serial@f995e000 {
215 compatible = "qcom,msm-lsuart-v14";
216 reg = <0xf995e000 0x1000>;
217 interrupts = <0 114 0>;
218 status = "disabled";
219 };
220
Abhimanyu Kapur032b1f42013-01-18 00:10:50 -0800221 qcom,msm-imem@fe805000 {
222 compatible = "qcom,msm-imem";
223 reg = <0xfe805000 0x1000>; /* Address and size of IMEM */
224 };
225
Yan He7c06ce32012-12-03 17:12:31 -0800226 qcom,sps@f9984000 {
227 compatible = "qcom,msm_sps";
228 reg = <0xf9984000 0x15000>,
229 <0xf9999000 0xb000>;
230 interrupts = <0 94 0>;
231 };
232
Vamsi Krishna840835b2013-04-01 22:01:05 -0700233 qcom,usbbam@f9a44000 {
234 compatible = "qcom,usb-bam-msm";
235 reg = <0xf9a44000 0x11000>;
236 reg-names = "hsusb";
237 interrupts = <0 135 0>;
238 interrupt-names = "hsusb";
239 qcom,usb-bam-num-pipes = <16>;
240 qcom,usb-bam-fifo-baseaddr = <0xfe803000>;
241 qcom,ignore-core-reset-ack;
242 qcom,disable-clk-gating;
243
244 qcom,pipe0 {
245 label = "hsusb-qdss-in-0";
246 qcom,usb-bam-mem-type = <3>;
247 qcom,bam-type = <1>;
248 qcom,dir = <1>;
249 qcom,pipe-num = <0>;
250 qcom,peer-bam = <1>;
251 qcom,src-bam-physical-address = <0xfc37c000>;
252 qcom,src-bam-pipe-index = <0>;
253 qcom,dst-bam-physical-address = <0xf9a44000>;
254 qcom,dst-bam-pipe-index = <2>;
255 qcom,data-fifo-offset = <0x0>;
256 qcom,data-fifo-size = <0x600>;
257 qcom,descriptor-fifo-offset = <0x600>;
258 qcom,descriptor-fifo-size = <0x200>;
259 };
260 };
261
Manu Gautam41334e92013-06-04 17:49:25 +0530262 usb_otg: usb@f9a55000 {
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700263 compatible = "qcom,hsusb-otg";
264 reg = <0xf9a55000 0x400>;
Mayank Ranaac2a54f2013-01-17 10:14:35 +0530265 interrupts = <0 134 0>, <0 140 0>;
266 interrupt-names = "core_irq", "async_irq";
Mayank Rana8335a772013-03-06 10:12:27 +0530267 hsusb_vdd_dig-supply = <&pm8226_s1_corner>;
David Keitel7184c6e2013-02-11 13:23:04 -0800268 HSUSB_1p8-supply = <&pm8226_l10>;
269 HSUSB_3p3-supply = <&pm8226_l20>;
Mayank Rana8335a772013-03-06 10:12:27 +0530270 qcom,vdd-voltage-level = <1 5 7>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700271
Vamsi Krishna1f265912013-04-22 22:50:06 -0700272 qcom,hsusb-otg-phy-init-seq =
273 <0x44 0x80 0x68 0x81 0x24 0x82 0x13 0x83 0xffffffff>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700274 qcom,hsusb-otg-phy-type = <2>;
275 qcom,hsusb-otg-mode = <1>;
Vamsi Krishna0d564102013-03-02 15:26:55 -0800276 qcom,hsusb-otg-otg-control = <2>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700277 qcom,hsusb-otg-disable-reset;
Mayank Rana15f01b52013-03-08 18:28:56 +0530278 qcom,dp-manual-pullup;
Mayank Rana5403e2a2013-02-26 11:18:39 +0530279
Manu Gautam41334e92013-06-04 17:49:25 +0530280 qcom,msm-bus,name = "usb";
Manu Gautam861c5852013-06-20 16:21:05 +0530281 qcom,msm-bus,num-cases = <3>;
Mayank Rana5403e2a2013-02-26 11:18:39 +0530282 qcom,msm-bus,num-paths = <1>;
283 qcom,msm-bus,vectors-KBps =
284 <87 512 0 0>,
Manu Gautam861c5852013-06-20 16:21:05 +0530285 <87 512 60000 960000>,
286 <87 512 6000 6000>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700287 };
288
Mayank Ranaf8bfadb2013-07-25 12:01:25 +0530289 android_usb: android_usb@fe8050c8 {
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700290 compatible = "qcom,android-usb";
Mayank Rana6bd9a272013-01-29 16:23:23 +0530291 reg = <0xfe8050c8 0xc8>;
Manu Gautam1bdb7802013-05-22 12:48:35 +0530292 qcom,android-usb-swfi-latency = <1>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700293 };
294
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800295 wcd9xxx_intc: wcd9xxx-irq {
296 compatible = "qcom,wcd9xxx-irq";
297 interrupt-controller;
298 #interrupt-cells = <1>;
299 interrupt-parent = <&msmgpio>;
300 interrupts = <68 0>;
301 interrupt-names = "cdc-int";
302 };
303
Phani Kumar Uppalapati5f285bf2013-05-05 23:36:57 -0700304 slim_msm: slim@fe12f000 {
Bhalchandra Gajarefb785972012-12-06 19:25:10 -0800305 cell-index = <1>;
306 compatible = "qcom,slim-ngd";
307 reg = <0xfe12f000 0x35000>,
308 <0xfe104000 0x20000>;
309 reg-names = "slimbus_physical", "slimbus_bam_physical";
310 interrupts = <0 163 0>, <0 164 0>;
311 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800312
313 tapan_codec {
314 compatible = "qcom,tapan-slim-pgd";
315 elemental-addr = [00 01 E0 00 17 02];
316
317 interrupt-parent = <&wcd9xxx_intc>;
318 interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
319 17 18 19 20 21 22 23 24 25 26 27 28>;
320 qcom,cdc-reset-gpio = <&msmgpio 72 0>;
321
David Keitel7184c6e2013-02-11 13:23:04 -0800322 cdc-vdd-buck-supply = <&pm8226_s4>;
Bhalchandra Gajare482ef672013-06-20 15:28:59 -0700323 qcom,cdc-vdd-buck-voltage = <1800000 2150000>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800324 qcom,cdc-vdd-buck-current = <650000>;
325
David Keitel7184c6e2013-02-11 13:23:04 -0800326 cdc-vdd-h-supply = <&pm8226_l6>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800327 qcom,cdc-vdd-h-voltage = <1800000 1800000>;
328 qcom,cdc-vdd-h-current = <25000>;
329
David Keitel7184c6e2013-02-11 13:23:04 -0800330 cdc-vdd-px-supply = <&pm8226_l6>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800331 qcom,cdc-vdd-px-voltage = <1800000 1800000>;
332 qcom,cdc-vdd-px-current = <25000>;
333
David Keitel7184c6e2013-02-11 13:23:04 -0800334 cdc-vdd-cx-supply = <&pm8226_l4>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800335 qcom,cdc-vdd-cx-voltage = <1200000 1200000>;
Bhalchandra Gajare4962c6e2013-08-15 13:02:49 -0700336 qcom,cdc-vdd-cx-current = <2000>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800337
Bhalchandra Gajare075e9c52013-07-03 14:23:48 -0700338 cdc-vdd-buckhelper-supply = <&pm8226_l25>;
339 qcom,cdc-vdd-buckhelper-voltage = <1775000 2125000>;
340 qcom,cdc-vdd-buckhelper-current = <10000>;
341
342 qcom,cdc-static-supplies = "cdc-vdd-h",
Joonwoo Park73239212013-04-10 15:11:06 -0700343 "cdc-vdd-px",
Joonwoo Park73239212013-04-10 15:11:06 -0700344 "cdc-vdd-cx";
345
Bhalchandra Gajare075e9c52013-07-03 14:23:48 -0700346 qcom,cdc-cp-supplies = "cdc-vdd-buck",
347 "cdc-vdd-buckhelper";
348
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800349 qcom,cdc-micbias-ldoh-v = <0x3>;
350 qcom,cdc-micbias-cfilt1-mv = <1800>;
Phani Kumar Uppalapatiab0d98a2013-05-21 23:04:15 -0700351 qcom,cdc-micbias-cfilt2-mv = <2700>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800352 qcom,cdc-micbias-cfilt3-mv = <1800>;
353
354 qcom,cdc-micbias1-cfilt-sel = <0x0>;
355 qcom,cdc-micbias2-cfilt-sel = <0x1>;
356 qcom,cdc-micbias3-cfilt-sel = <0x2>;
357
358 qcom,cdc-mclk-clk-rate = <9600000>;
359 qcom,cdc-slim-ifd = "tapan-slim-ifd";
360 qcom,cdc-slim-ifd-elemental-addr = [00 00 E0 00 17 02];
361 };
Bhalchandra Gajarefb785972012-12-06 19:25:10 -0800362 };
363
Bhalchandra Gajaree1915b82012-12-12 17:28:39 -0800364 qcom,msm-adsp-loader {
365 compatible = "qcom,adsp-loader";
366 qcom,adsp-state = <0>;
367 };
368
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800369 sound {
370 compatible = "qcom,msm8226-audio-tapan";
371 qcom,model = "msm8226-tapan-snd-card";
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800372 qcom,tapan-mclk-clk-freq = <9600000>;
Banajit Goswamif9921532013-05-10 11:24:52 -0700373 qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>;
374 qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>;
375 qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>;
376 qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>;
377 qcom,prim-auxpcm-gpio-set = "prim-gpio-prim";
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800378 };
379
380 qcom,msm-pcm {
381 compatible = "qcom,msm-pcm-dsp";
Bhalchandra Gajare510d4422013-03-01 21:07:12 -0800382 qcom,msm-pcm-dsp-id = <0>;
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800383 };
384
385 qcom,msm-pcm-routing {
386 compatible = "qcom,msm-pcm-routing";
387 };
388
Bhalchandra Gajare18468a62013-03-11 18:32:49 -0700389 qcom,msm-pcm-low-latency {
390 compatible = "qcom,msm-pcm-dsp";
391 qcom,msm-pcm-dsp-id = <1>;
392 qcom,msm-pcm-low-latency;
393 };
394
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800395 qcom,msm-pcm-lpa {
396 compatible = "qcom,msm-pcm-lpa";
397 };
398
399 qcom,msm-compr-dsp {
400 compatible = "qcom,msm-compr-dsp";
401 };
402
403 qcom,msm-voip-dsp {
404 compatible = "qcom,msm-voip-dsp";
405 };
406
407 qcom,msm-pcm-voice {
408 compatible = "qcom,msm-pcm-voice";
409 };
410
411 qcom,msm-stub-codec {
412 compatible = "qcom,msm-stub-codec";
413 };
414
415 qcom,msm-dai-fe {
416 compatible = "qcom,msm-dai-fe";
417 };
418
419 qcom,msm-pcm-afe {
420 compatible = "qcom,msm-pcm-afe";
421 };
422
423 qcom,msm-dai-q6-hdmi {
424 compatible = "qcom,msm-dai-q6-hdmi";
425 qcom,msm-dai-q6-dev-id = <8>;
426 };
427
428 qcom,msm-dai-q6 {
429 compatible = "qcom,msm-dai-q6";
430 qcom,msm-dai-q6-sb-0-rx {
431 compatible = "qcom,msm-dai-q6-dev";
432 qcom,msm-dai-q6-dev-id = <16384>;
433 };
434
435 qcom,msm-dai-q6-sb-0-tx {
436 compatible = "qcom,msm-dai-q6-dev";
437 qcom,msm-dai-q6-dev-id = <16385>;
438 };
439
440 qcom,msm-dai-q6-sb-1-rx {
441 compatible = "qcom,msm-dai-q6-dev";
442 qcom,msm-dai-q6-dev-id = <16386>;
443 };
444
445 qcom,msm-dai-q6-sb-1-tx {
446 compatible = "qcom,msm-dai-q6-dev";
447 qcom,msm-dai-q6-dev-id = <16387>;
448 };
449
450 qcom,msm-dai-q6-sb-3-rx {
451 compatible = "qcom,msm-dai-q6-dev";
452 qcom,msm-dai-q6-dev-id = <16390>;
453 };
454
455 qcom,msm-dai-q6-sb-3-tx {
456 compatible = "qcom,msm-dai-q6-dev";
457 qcom,msm-dai-q6-dev-id = <16391>;
458 };
459
460 qcom,msm-dai-q6-sb-4-rx {
461 compatible = "qcom,msm-dai-q6-dev";
462 qcom,msm-dai-q6-dev-id = <16392>;
463 };
464
465 qcom,msm-dai-q6-sb-4-tx {
466 compatible = "qcom,msm-dai-q6-dev";
467 qcom,msm-dai-q6-dev-id = <16393>;
468 };
469
470 qcom,msm-dai-q6-bt-sco-rx {
471 compatible = "qcom,msm-dai-q6-dev";
472 qcom,msm-dai-q6-dev-id = <12288>;
473 };
474
475 qcom,msm-dai-q6-bt-sco-tx {
476 compatible = "qcom,msm-dai-q6-dev";
477 qcom,msm-dai-q6-dev-id = <12289>;
478 };
479
480 qcom,msm-dai-q6-int-fm-rx {
481 compatible = "qcom,msm-dai-q6-dev";
482 qcom,msm-dai-q6-dev-id = <12292>;
483 };
484
485 qcom,msm-dai-q6-int-fm-tx {
486 compatible = "qcom,msm-dai-q6-dev";
487 qcom,msm-dai-q6-dev-id = <12293>;
488 };
489
490 qcom,msm-dai-q6-be-afe-pcm-rx {
491 compatible = "qcom,msm-dai-q6-dev";
492 qcom,msm-dai-q6-dev-id = <224>;
493 };
494
495 qcom,msm-dai-q6-be-afe-pcm-tx {
496 compatible = "qcom,msm-dai-q6-dev";
497 qcom,msm-dai-q6-dev-id = <225>;
498 };
499
500 qcom,msm-dai-q6-afe-proxy-rx {
501 compatible = "qcom,msm-dai-q6-dev";
502 qcom,msm-dai-q6-dev-id = <241>;
503 };
504
505 qcom,msm-dai-q6-afe-proxy-tx {
506 compatible = "qcom,msm-dai-q6-dev";
507 qcom,msm-dai-q6-dev-id = <240>;
508 };
Vicky Sehrawat2ef554c2013-03-12 17:24:20 -0700509
510 qcom,msm-dai-q6-incall-record-rx {
511 compatible = "qcom,msm-dai-q6-dev";
512 qcom,msm-dai-q6-dev-id = <32771>;
513 };
514
515 qcom,msm-dai-q6-incall-record-tx {
516 compatible = "qcom,msm-dai-q6-dev";
517 qcom,msm-dai-q6-dev-id = <32772>;
518 };
519
520 qcom,msm-dai-q6-incall-music-rx {
521 compatible = "qcom,msm-dai-q6-dev";
522 qcom,msm-dai-q6-dev-id = <32773>;
523 };
Vicky Sehrawat5ac670f2013-05-17 16:32:13 -0700524
525 qcom,msm-dai-q6-incall-music-2-rx {
526 compatible = "qcom,msm-dai-q6-dev";
527 qcom,msm-dai-q6-dev-id = <32770>;
528 };
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800529 };
530
531 qcom,msm-pcm-hostless {
532 compatible = "qcom,msm-pcm-hostless";
533 };
534
Patrick Laiafd82122013-06-15 22:50:04 -0700535 qcom,msm-pri-auxpcm {
536 compatible = "qcom,msm-auxpcm-dev";
Banajit Goswamif9921532013-05-10 11:24:52 -0700537 qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
538 qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
539 qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
540 qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
541 qcom,msm-cpudai-auxpcm-slot = <1>, <1>;
542 qcom,msm-cpudai-auxpcm-data = <0>, <0>;
543 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
Patrick Laiafd82122013-06-15 22:50:04 -0700544 qcom,msm-auxpcm-interface = "primary";
Banajit Goswamif9921532013-05-10 11:24:52 -0700545 };
546
Sheng Fangb6a06482013-03-20 13:21:36 +0800547 qcom,wcnss-wlan@fb000000 {
548 compatible = "qcom,wcnss_wlan";
Sameer Thalappil58281ca2013-04-10 18:50:18 -0700549 reg = <0xfb000000 0x280000>,
550 <0xf9011008 0x04>;
551 reg-names = "wcnss_mmio", "wcnss_fiq";
Sheng Fangb6a06482013-03-20 13:21:36 +0800552 interrupts = <0 145 0 0 146 0>;
553 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
554
555 qcom,pronto-vddmx-supply = <&pm8226_l3>;
556 qcom,pronto-vddcx-supply = <&pm8226_s1>;
557 qcom,pronto-vddpx-supply = <&pm8226_l6>;
558 qcom,iris-vddxo-supply = <&pm8226_l10>;
559 qcom,iris-vddrfa-supply = <&pm8226_l24>;
560 qcom,iris-vddpa-supply = <&pm8226_l16>;
561 qcom,iris-vdddig-supply = <&pm8226_l24>;
562
563 gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>;
Sameer Thalappil820f87b2013-05-21 20:40:54 -0700564 qcom,has-pronto-hw;
565 qcom,has-autodetect-xo;
Sheng Fangb6a06482013-03-20 13:21:36 +0800566 };
rockiec44833a32013-03-21 02:06:14 +0800567
568 qcom,msm-adsp-sensors {
569 compatible = "qcom,msm-adsp-sensors";
570 qcom,src-id = <11>;
571 qcom,dst-id = <604>;
572 qcom,ab = <32505856>;
573 qcom,ib = <32505856>;
574 };
575
Mitchel Humpherys5fe1c9b2012-10-09 17:30:19 -0700576 qcom,wdt@f9017000 {
577 compatible = "qcom,msm-watchdog";
578 reg = <0xf9017000 0x1000>;
579 interrupts = <0 3 0>, <0 4 0>;
580 qcom,bark-time = <11000>;
581 qcom,pet-time = <10000>;
Mitchel Humpherys1be23802012-11-16 15:52:32 -0800582 qcom,ipi-ping;
Mitchel Humpherys5fe1c9b2012-10-09 17:30:19 -0700583 };
584
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600585 qcom,smem@fa00000 {
586 compatible = "qcom,smem";
Jeff Hugo41e5c2f2013-04-26 11:38:32 -0600587 reg = <0xfa00000 0x100000>,
Stepan Moskovchenkod6ee8262013-02-06 11:26:05 -0800588 <0xf9011000 0x1000>,
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600589 <0xfc428000 0x4000>;
590 reg-names = "smem", "irq-reg-base", "aux-mem1";
591
592 qcom,smd-modem {
593 compatible = "qcom,smd";
594 qcom,smd-edge = <0>;
595 qcom,smd-irq-offset = <0x8>;
596 qcom,smd-irq-bitmask = <0x1000>;
597 qcom,pil-string = "modem";
598 interrupts = <0 25 1>;
David Ngb715e322012-12-01 12:57:08 -0800599 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600600
601 qcom,smsm-modem {
602 compatible = "qcom,smsm";
603 qcom,smsm-edge = <0>;
604 qcom,smsm-irq-offset = <0x8>;
605 qcom,smsm-irq-bitmask = <0x2000>;
606 interrupts = <0 26 1>;
David Ngb715e322012-12-01 12:57:08 -0800607 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600608
609 qcom,smd-adsp {
610 compatible = "qcom,smd";
611 qcom,smd-edge = <1>;
612 qcom,smd-irq-offset = <0x8>;
613 qcom,smd-irq-bitmask = <0x100>;
614 qcom,pil-string = "adsp";
615 interrupts = <0 156 1>;
David Ngb715e322012-12-01 12:57:08 -0800616 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600617
618 qcom,smsm-adsp {
619 compatible = "qcom,smsm";
620 qcom,smsm-edge = <1>;
621 qcom,smsm-irq-offset = <0x8>;
622 qcom,smsm-irq-bitmask = <0x200>;
623 interrupts = <0 157 1>;
David Ngb715e322012-12-01 12:57:08 -0800624 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600625
626 qcom,smd-wcnss {
627 compatible = "qcom,smd";
628 qcom,smd-edge = <6>;
629 qcom,smd-irq-offset = <0x8>;
630 qcom,smd-irq-bitmask = <0x20000>;
631 qcom,pil-string = "wcnss";
632 interrupts = <0 142 1>;
David Ngb715e322012-12-01 12:57:08 -0800633 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600634
635 qcom,smsm-wcnss {
636 compatible = "qcom,smsm";
637 qcom,smsm-edge = <6>;
638 qcom,smsm-irq-offset = <0x8>;
639 qcom,smsm-irq-bitmask = <0x80000>;
640 interrupts = <0 144 1>;
David Ngb715e322012-12-01 12:57:08 -0800641 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600642
643 qcom,smd-rpm {
644 compatible = "qcom,smd";
645 qcom,smd-edge = <15>;
646 qcom,smd-irq-offset = <0x8>;
647 qcom,smd-irq-bitmask = <0x1>;
648 interrupts = <0 168 1>;
649 qcom,irq-no-suspend;
David Ngb715e322012-12-01 12:57:08 -0800650 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600651 };
652
Praveen Chidambaramc8af25e2012-12-19 11:27:36 -0700653 rpm_bus: qcom,rpm-smd {
654 compatible = "qcom,rpm-smd";
655 rpm-channel-name = "rpm_requests";
656 rpm-channel-type = <15>; /* SMD_APPS_RPM */
Praveen Chidambaramc8af25e2012-12-19 11:27:36 -0700657 };
658
Jennifer Liu86687d52013-05-29 15:51:40 -0700659 qcom,bcl {
660 compatible = "qcom,bcl";
661 };
662
Asutosh Das99912e62012-12-06 12:38:46 +0530663 sdcc1: qcom,sdcc@f9824000 {
664 cell-index = <1>; /* SDC1 eMMC slot */
665 compatible = "qcom,msm-sdcc";
666
Asutosh Das6b82fc52012-11-23 12:00:26 +0530667 reg = <0xf9824000 0x800>,
668 <0xf9824800 0x100>,
669 <0xf9804000 0x7000>;
670 reg-names = "core_mem", "dml_mem", "bam_mem";
671 interrupts = <0 123 0>, <0 137 0>;
672 interrupt-names = "core_irq", "bam_irq";
Asutosh Das99912e62012-12-06 12:38:46 +0530673
674 qcom,bus-width = <8>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700675
676 qcom,msm-bus,name = "sdcc1";
677 qcom,msm-bus,num-cases = <8>;
678 qcom,msm-bus,num-paths = <1>;
679 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
680 <78 512 1600 3200>, /* 400 KB/s*/
681 <78 512 80000 160000>, /* 20 MB/s */
682 <78 512 100000 200000>, /* 25 MB/s */
683 <78 512 200000 400000>, /* 50 MB/s */
684 <78 512 400000 800000>, /* 100 MB/s */
685 <78 512 400000 800000>, /* 200 MB/s */
686 <78 512 2048000 4096000>; /* Max. bandwidth */
687 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
688 100000000 200000000 4294967295>;
689
Asutosh Das99912e62012-12-06 12:38:46 +0530690 status = "disabled";
691 };
692
Sahitya Tummala9e001362013-03-28 11:00:55 +0530693 sdhc_1: sdhci@f9824900 {
694 compatible = "qcom,sdhci-msm";
695 reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
696 reg-names = "hc_mem", "core_mem";
697
698 interrupts = <0 123 0>, <0 138 0>;
699 interrupt-names = "hc_irq", "pwr_irq";
700
701 qcom,bus-width = <8>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700702
703 qcom,msm-bus,name = "sdhc1";
704 qcom,msm-bus,num-cases = <8>;
705 qcom,msm-bus,num-paths = <1>;
706 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
707 <78 512 1600 3200>, /* 400 KB/s*/
708 <78 512 80000 160000>, /* 20 MB/s */
709 <78 512 100000 200000>, /* 25 MB/s */
710 <78 512 200000 400000>, /* 50 MB/s */
711 <78 512 400000 800000>, /* 100 MB/s */
712 <78 512 400000 800000>, /* 200 MB/s */
713 <78 512 2048000 4096000>; /* Max. bandwidth */
714 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
715 100000000 200000000 4294967295>;
716
Sahitya Tummala9e001362013-03-28 11:00:55 +0530717 status = "disabled";
718 };
719
Asutosh Das99912e62012-12-06 12:38:46 +0530720 sdcc2: qcom,sdcc@f98a4000 {
721 cell-index = <2>; /* SDC2 SD card slot */
722 compatible = "qcom,msm-sdcc";
723
Asutosh Das6b82fc52012-11-23 12:00:26 +0530724 reg = <0xf98a4000 0x800>,
725 <0xf98a4800 0x100>,
726 <0xf9884000 0x7000>;
727 reg-names = "core_mem", "dml_mem", "bam_mem";
728 interrupts = <0 125 0>, <0 220 0>;
729 interrupt-names = "core_irq", "bam_irq";
Asutosh Das99912e62012-12-06 12:38:46 +0530730
731 qcom,bus-width = <4>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700732
733 qcom,msm-bus,name = "sdcc2";
734 qcom,msm-bus,num-cases = <8>;
735 qcom,msm-bus,num-paths = <1>;
736 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
737 <81 512 1600 3200>, /* 400 KB/s*/
738 <81 512 80000 160000>, /* 20 MB/s */
739 <81 512 100000 200000>, /* 25 MB/s */
740 <81 512 200000 400000>, /* 50 MB/s */
741 <81 512 400000 800000>, /* 100 MB/s */
742 <81 512 400000 800000>, /* 200 MB/s */
743 <81 512 2048000 4096000>; /* Max. bandwidth */
744 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
745 100000000 200000000 4294967295>;
746
Asutosh Das99912e62012-12-06 12:38:46 +0530747 status = "disabled";
748 };
Kenneth Heitkee5804002012-11-15 17:50:07 -0700749
Sahitya Tummala9e001362013-03-28 11:00:55 +0530750 sdhc_2: sdhci@f98a4900 {
751 compatible = "qcom,sdhci-msm";
752 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
753 reg-names = "hc_mem", "core_mem";
754
755 interrupts = <0 125 0>, <0 221 0>;
756 interrupt-names = "hc_irq", "pwr_irq";
757
758 qcom,bus-width = <4>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700759
760 qcom,msm-bus,name = "sdhc2";
761 qcom,msm-bus,num-cases = <8>;
762 qcom,msm-bus,num-paths = <1>;
763 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
764 <81 512 1600 3200>, /* 400 KB/s*/
765 <81 512 80000 160000>, /* 20 MB/s */
766 <81 512 100000 200000>, /* 25 MB/s */
767 <81 512 200000 400000>, /* 50 MB/s */
768 <81 512 400000 800000>, /* 100 MB/s */
769 <81 512 400000 800000>, /* 200 MB/s */
770 <81 512 2048000 4096000>; /* Max. bandwidth */
771 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
772 100000000 200000000 4294967295>;
773
Sahitya Tummala9e001362013-03-28 11:00:55 +0530774 status = "disabled";
775 };
776
Krishna Kondaf92e4262013-07-08 16:21:57 -0700777 sdcc3: qcom,sdcc@f9864000 {
778 cell-index = <3>;
779 compatible = "qcom,msm-sdcc";
780 reg = <0xf9864000 0x800>,
781 <0xf9864800 0x100>,
782 <0xf9844000 0x7000>;
783 reg-names = "core_mem", "dml_mem", "bam_mem";
784
785 qcom,bus-width = <4>;
786 gpios = <&msmgpio 44 0>, /* CLK */
787 <&msmgpio 43 0>, /* CMD */
788 <&msmgpio 42 0>, /* DATA0 */
789 <&msmgpio 41 0>, /* DATA1 */
790 <&msmgpio 40 0>, /* DATA2 */
791 <&msmgpio 39 0>; /* DATA3 */
792 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
793
794 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
795
796 qcom,msm-bus,name = "sdcc3";
797 qcom,msm-bus,num-cases = <8>;
798 qcom,msm-bus,num-paths = <1>;
799 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
800 <79 512 1600 3200>, /* 400 KB/s*/
801 <79 512 80000 160000>, /* 20 MB/s */
802 <79 512 100000 200000>, /* 25 MB/s */
803 <79 512 200000 400000>, /* 50 MB/s */
804 <79 512 400000 800000>, /* 100 MB/s */
805 <79 512 400000 800000>, /* 200 MB/s */
806 <79 512 2048000 4096000>; /* Max. bandwidth */
807 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
808 100000000 200000000 4294967295>;
809
810 #address-cells = <0>;
811 interrupt-parent = <&sdcc3>;
812 interrupts = <0 1 2>;
813 #interrupt-cells = <1>;
814 interrupt-map-mask = <0xffffffff>;
815 interrupt-map = <0 &intc 0 127 0
816 1 &intc 0 223 0
817 2 &msmgpio 41 0x8>;
818 interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq";
819
820 status = "disabled";
821 };
822
823 sdhc_3: sdhci@f9864900 {
824 compatible = "qcom,sdhci-msm";
825 reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
826 reg-names = "hc_mem", "core_mem";
827
828 qcom,bus-width = <4>;
829 gpios = <&msmgpio 44 0>, /* CLK */
830 <&msmgpio 43 0>, /* CMD */
831 <&msmgpio 42 0>, /* DATA0 */
832 <&msmgpio 41 0>, /* DATA1 */
833 <&msmgpio 40 0>, /* DATA2 */
834 <&msmgpio 39 0>; /* DATA3 */
835 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
836
837 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
838
839 qcom,msm-bus,name = "sdhc3";
840 qcom,msm-bus,num-cases = <8>;
841 qcom,msm-bus,num-paths = <1>;
842 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
843 <79 512 1600 3200>, /* 400 KB/s*/
844 <79 512 80000 160000>, /* 20 MB/s */
845 <79 512 100000 200000>, /* 25 MB/s */
846 <79 512 200000 400000>, /* 50 MB/s */
847 <79 512 400000 800000>, /* 100 MB/s */
848 <79 512 400000 800000>, /* 200 MB/s */
849 <79 512 2048000 4096000>; /* Max. bandwidth */
850 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
851 100000000 200000000 4294967295>;
852
853 #address-cells = <0>;
854 interrupt-parent = <&sdhc_3>;
855 interrupts = <0 1 2>;
856 #interrupt-cells = <1>;
857 interrupt-map-mask = <0xffffffff>;
858 interrupt-map = <0 &intc 0 127 0
859 1 &intc 0 224 0
860 2 &msmgpio 41 0x8>;
861 interrupt-names = "hc_irq", "pwr_irq", "sdiowakeup_irq";
862
863 status = "disabled";
864 };
865
Kenneth Heitkee5804002012-11-15 17:50:07 -0700866 spmi_bus: qcom,spmi@fc4c0000 {
867 cell-index = <0>;
868 compatible = "qcom,spmi-pmic-arb";
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700869 reg-names = "core", "intr", "cnfg";
Kenneth Heitkee5804002012-11-15 17:50:07 -0700870 reg = <0xfc4cf000 0x1000>,
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700871 <0Xfc4cb000 0x1000>,
872 <0Xfc4ca000 0x1000>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700873 /* 190,ee0_krait_hlos_spmi_periph_irq */
874 /* 187,channel_0_krait_hlos_trans_done_irq */
875 interrupts = <0 190 0>, <0 187 0>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700876 qcom,pmic-arb-ee = <0>;
877 qcom,pmic-arb-channel = <0>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700878 };
879
Madan Mohan Koyyalamudi2d7c6f52013-06-19 17:49:45 -0700880 i2c@f9925000 { /* BLSP-1 QUP-3 */
881 cell-index = <2>;
882 compatible = "qcom,i2c-qup";
883 reg = <0xf9925000 0x1000>;
884 #address-cells = <1>;
885 #size-cells = <0>;
886 reg-names = "qup_phys_addr";
887 interrupts = <0 97 0>;
888 interrupt-names = "qup_err_intr";
889 qcom,i2c-bus-freq = <400000>;
890 qcom,i2c-src-freq = <19200000>;
891 };
Gilad Avidov28e18eb2012-11-21 18:13:25 -0700892 i2c@f9926000 { /* BLSP-1 QUP-4 */
893 cell-index = <0>;
894 compatible = "qcom,i2c-qup";
895 reg = <0xf9926000 0x1000>;
896 #address-cells = <1>;
897 #size-cells = <0>;
898 reg-names = "qup_phys_addr";
899 interrupts = <0 98 0>;
900 interrupt-names = "qup_err_intr";
901 qcom,i2c-bus-freq = <100000>;
902 };
Patrick Daly99a52ca2012-10-23 12:00:45 -0700903
Amy Maloche41708ba2013-03-03 15:19:27 -0800904 i2c@f9927000 { /* BLSP1 QUP5 */
905 cell-index = <5>;
906 compatible = "qcom,i2c-qup";
907 #address-cells = <1>;
908 #size-cells = <0>;
909 reg-names = "qup_phys_addr";
910 reg = <0xf9927000 0x1000>;
911 interrupt-names = "qup_err_intr";
912 interrupts = <0 99 0>;
Amy Maloche118e5d62013-05-01 14:53:35 -0700913 qcom,i2c-bus-freq = <384000>;
Amy Maloche41708ba2013-03-03 15:19:27 -0800914 qcom,i2c-src-freq = <19200000>;
Amy Malochebf346092013-07-31 12:57:28 -0700915 qcom,sda-gpio = <&msmgpio 18 0>;
916 qcom,scl-gpio = <&msmgpio 19 0>;
Amy Maloche41708ba2013-03-03 15:19:27 -0800917 };
918
Patrick Daly99a52ca2012-10-23 12:00:45 -0700919 qcom,acpuclk@f9011050 {
920 compatible = "qcom,acpuclk-a7";
Patrick Daly4fd80f42013-06-18 11:09:15 -0700921 reg = <0xf9011050 0x8>;
922 reg-names = "rcg_base";
Patrick Dalyf9451d22013-03-20 14:20:12 -0700923 a7_cpu-supply = <&apc_vreg_corner>;
Patrick Daly99a52ca2012-10-23 12:00:45 -0700924 };
Mitchel Humpherys00beacf2012-10-11 13:53:43 -0700925
926 qcom,ocmem@fdd00000 {
927 compatible = "qcom,msm-ocmem";
928 reg = <0xfdd00000 0x2000>,
929 <0xfdd02000 0x2000>,
930 <0xfe039000 0x400>,
Mitchel Humpherys1da744d2013-03-08 17:20:41 -0800931 <0xfec00000 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -0700932 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
933 interrupts = <0 76 0 0 77 0>;
934 interrupt-names = "ocmem_irq", "dm_irq";
935 qcom,ocmem-num-regions = <0x1>;
936 qcom,ocmem-num-macros = <0x2>;
937 qcom,resource-type = <0x706d636f>;
938 #address-cells = <1>;
939 #size-cells = <1>;
Mitchel Humpherys1da744d2013-03-08 17:20:41 -0800940 ranges = <0x0 0xfec00000 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -0700941
942 partition@0 {
Mitchel Humpherys1da744d2013-03-08 17:20:41 -0800943 reg = <0x0 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -0700944 qcom,ocmem-part-name = "graphics";
Mitchel Humpherys1da744d2013-03-08 17:20:41 -0800945 qcom,ocmem-part-min = <0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -0700946 };
947 };
948
Patrick Dalyb83f0b02013-01-09 12:36:19 -0800949 qcom,venus@fdce0000 {
950 compatible = "qcom,pil-venus";
951 reg = <0xfdce0000 0x4000>,
952 <0xfdc80000 0x400>;
953 reg-names = "wrapper_base", "vbif_base";
954 vdd-supply = <&gdsc_venus>;
955
956 qcom,firmware-name = "venus";
957 };
Patrick Daly1e3bc6c2013-01-09 12:34:25 -0800958
959 qcom,pronto@fb21b000 {
960 compatible = "qcom,pil-pronto";
961 reg = <0xfb21b000 0x3000>,
962 <0xfc401700 0x4>,
963 <0xfd485300 0xc>;
964 reg-names = "pmu_base", "clk_base", "halt_base";
965 interrupts = <0 149 1>;
David Keitel7184c6e2013-02-11 13:23:04 -0800966 vdd_pronto_pll-supply = <&pm8226_l8>;
Patrick Daly1e3bc6c2013-01-09 12:34:25 -0800967
968 qcom,firmware-name = "wcnss";
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -0700969
Sameer Thalappil4ba86302013-04-05 17:36:54 -0700970 /* GPIO inputs from wcnss */
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -0700971 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>;
Sameer Thalappilb1e03c02013-04-29 14:52:00 -0700972 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>;
Sameer Thalappil4ba86302013-04-05 17:36:54 -0700973 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>;
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -0700974
975 /* GPIO output to wcnss */
976 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>;
Patrick Daly1e3bc6c2013-01-09 12:34:25 -0800977 };
Neeti Desai1f7ca2d2012-11-21 13:25:57 -0800978
Sheng Fang0a85b0d2013-03-19 08:16:51 +0800979 qcom,iris-fm {
980 compatible = "qcom,iris_fm";
981 };
982
Patrick Daly4df59842013-01-09 12:31:40 -0800983 qcom,lpass@fe200000 {
984 compatible = "qcom,pil-q6v5-lpass";
985 reg = <0xfe200000 0x00100>,
Matt Wagantall015b50af2013-03-05 18:51:16 -0800986 <0xfd485100 0x00010>,
987 <0xfc4016c0 0x00004>;
988 reg-names = "qdsp6_base", "halt_base", "restart_reg";
David Keitelf4c8b8b2013-02-25 15:25:27 -0800989 vdd_cx-supply = <&pm8226_s1_corner>;
Patrick Daly4df59842013-01-09 12:31:40 -0800990 interrupts = <0 162 1>;
991
992 qcom,firmware-name = "adsp";
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -0700993
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -0700994 /* GPIO inputs from lpass */
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -0700995 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -0700996 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
Ravishankar Sarawadi7edc9d72013-04-09 18:15:03 -0700997 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -0700998
999 /* GPIO output to lpass */
1000 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
Patrick Daly4df59842013-01-09 12:31:40 -08001001 };
1002
Patrick Daly742337f2013-01-29 12:06:06 -08001003 qcom,mss@fc880000 {
1004 compatible = "qcom,pil-q6v5-mss";
1005 reg = <0xfc880000 0x100>,
1006 <0xfd485000 0x400>,
1007 <0xfc820000 0x020>,
1008 <0xfc401680 0x004>,
Patrick Daly742337f2013-01-29 12:06:06 -08001009 <0xfd485194 0x4>;
1010 reg-names = "qdsp6_base", "halt_base", "rmb_base",
Matt Wagantall724b2bb2013-03-18 14:54:06 -07001011 "restart_reg", "cxrail_bhs_reg";
Patrick Daly742337f2013-01-29 12:06:06 -08001012
1013 interrupts = <0 24 1>;
Patrick Daly742337f2013-01-29 12:06:06 -08001014 vdd_cx-supply = <&pm8226_s1_corner>;
1015 vdd_mx-supply = <&pm8226_l3>;
1016 vdd_pll-supply = <&pm8226_l8>;
1017 qcom,vdd_pll = <1800000>;
1018
1019 qcom,is-loadable;
1020 qcom,firmware-name = "mba";
1021 qcom,pil-self-auth;
Patrick Dalyfe258e22013-03-22 21:02:14 -07001022
Seemanta Duttaa0f253e2013-01-16 18:54:40 -08001023 /* GPIO inputs from mss */
Patrick Dalyfe258e22013-03-22 21:02:14 -07001024 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
Seemanta Dutta9fb72ed2013-01-25 14:22:15 -08001025 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
Seemanta Duttaa0f253e2013-01-16 18:54:40 -08001026 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
Seemanta Dutta0adbbf02013-03-12 17:26:17 -07001027 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>;
Patrick Dalyfe258e22013-03-22 21:02:14 -07001028
1029 /* GPIO output to mss */
1030 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
Patrick Daly742337f2013-01-29 12:06:06 -08001031 };
1032
Neeti Desaif82314e2013-08-09 15:59:54 -07001033 memory_hole: qcom,msm-mem-hole {
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001034 compatible = "qcom,msm-mem-hole";
Neeti Desai183b33d2013-08-09 14:58:38 -07001035 qcom,memblock-remove = <0x08400000 0x4000000
1036 0x0d200000 0x2300000
1037 0x0fa00000 0x500000>; /* Address and Size of Hole */
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001038 };
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001039
1040 tsens: tsens@fc4a8000 {
1041 compatible = "qcom,msm-tsens";
1042 reg = <0xfc4a8000 0x2000>,
Siddartha Mohanadoss6ddc1922013-07-08 17:40:11 -07001043 <0xfc4bc000 0x1000>;
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001044 reg-names = "tsens_physical", "tsens_eeprom_physical";
1045 interrupts = <0 184 0>;
Siddartha Mohanadoss9a4e94a2013-03-06 19:15:59 -08001046 qcom,sensors = <4>;
1047 qcom,slope = <2901 2846 3038 2955>;
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001048 qcom,calib-mode = "fuse_map2";
1049 };
Praveen Chidambarama03bda52013-02-12 21:23:13 -07001050
1051 qcom,msm-thermal {
1052 compatible = "qcom,msm-thermal";
1053 qcom,sensor-id = <0>;
1054 qcom,poll-ms = <250>;
1055 qcom,limit-temp = <60>;
1056 qcom,temp-hysteresis = <10>;
1057 qcom,freq-step = <2>;
Praveen Chidambarama7435ce2013-05-03 12:52:42 -06001058 qcom,freq-control-mask = <0xf>;
Jennifer Liu003438d2013-06-21 11:24:20 -07001059 qcom,core-limit-temp = <80>;
1060 qcom,core-temp-hysteresis = <10>;
1061 qcom,core-control-mask = <0xe>;
Jennifer Liu53bb5642013-06-26 10:42:42 -07001062 qcom,vdd-restriction-temp = <5>;
1063 qcom,vdd-restriction-temp-hysteresis = <10>;
1064 vdd-dig-supply = <&pm8226_s1_floor_corner>;
1065
1066 qcom,vdd-dig-rstr{
1067 qcom,vdd-rstr-reg = "vdd-dig";
1068 qcom,levels = <5 7 7>; /* Nominal, Super Turbo, Super Turbo */
1069 qcom,min-level = <1>; /* No Request */
1070 };
1071
1072 qcom,vdd-apps-rstr{
1073 qcom,vdd-rstr-reg = "vdd-apps";
1074 qcom,levels = <600000 787200 998400>;
1075 qcom,freq-req;
1076 };
Praveen Chidambarama03bda52013-02-12 21:23:13 -07001077 };
1078
Gilad Avidovd59217c2013-02-01 13:45:59 -07001079 spi_0: spi@f9923000 { /* BLSP1 QUP1 */
1080 compatible = "qcom,spi-qup-v2";
1081 #address-cells = <1>;
1082 #size-cells = <0>;
1083 reg-names = "spi_physical", "spi_bam_physical";
1084 reg = <0xf9923000 0x1000>,
1085 <0xf9904000 0xF000>;
1086 interrupt-names = "spi_irq", "spi_bam_irq";
1087 interrupts = <0 95 0>, <0 238 0>;
1088 spi-max-frequency = <19200000>;
1089
Gilad Avidovcff4ca72013-07-01 17:35:36 -06001090 qcom,gpio-mosi = <&msmgpio 0 0>;
1091 qcom,gpio-miso = <&msmgpio 1 0>;
1092 qcom,gpio-clk = <&msmgpio 3 0>;
1093 qcom,gpio-cs0 = <&msmgpio 22 0>;
Gilad Avidovd59217c2013-02-01 13:45:59 -07001094
1095 qcom,infinite-mode = <0>;
1096 qcom,use-bam;
1097 qcom,ver-reg-exists;
1098 qcom,bam-consumer-pipe-index = <12>;
1099 qcom,bam-producer-pipe-index = <13>;
Gilad Avidovcff4ca72013-07-01 17:35:36 -06001100 qcom,master-id = <86>;
Gilad Avidovd59217c2013-02-01 13:45:59 -07001101 };
1102
Jeff Hugo72e10912013-03-05 11:17:38 -07001103 qcom,bam_dmux@fc834000 {
1104 compatible = "qcom,bam_dmux";
1105 reg = <0xfc834000 0x7000>;
1106 interrupts = <0 29 1>;
1107 };
Pushkar Joshi4f3aa0b2013-03-07 22:44:04 -08001108
1109 qcom,msm-rtb {
1110 compatible = "qcom,msm-rtb";
1111 qcom,memory-reservation-type = "EBI1";
1112 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
1113 };
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001114
Hariprasad Dhalinarasimhab548ee52013-03-11 19:06:30 -07001115 qcom,msm-rng@f9bff000 {
1116 compatible = "qcom,msm-rng";
1117 reg = <0xf9bff000 0x200>;
1118 qcom,msm-rng-iface-clk;
Hariprasad Dhalinarasimhae799fb72013-06-03 13:51:38 -07001119 qcom,msm-bus,name = "msm-rng-noc";
1120 qcom,msm-bus,num-cases = <2>;
1121 qcom,msm-bus,num-paths = <1>;
1122 qcom,msm-bus,vectors-KBps =
1123 <1 618 0 0>,
1124 <1 618 0 800>;
Hariprasad Dhalinarasimhab548ee52013-03-11 19:06:30 -07001125 };
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001126
Hariprasad Dhalinarasimha4ba4d802013-03-21 13:03:09 -07001127 qcom,tz-log@fe805720 {
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001128 compatible = "qcom,tz-log";
Hariprasad Dhalinarasimha4ba4d802013-03-21 13:03:09 -07001129 reg = <0x0fe805720 0x1000>;
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001130 };
Pushkar Joshi85a53192013-03-11 11:15:15 -07001131
Pratik Patelf2945ef2013-06-13 23:52:05 -07001132 jtag_fuse: jtagfuse@fc4be024 {
1133 compatible = "qcom,jtag-fuse";
1134 reg = <0xfc4be024 0x8>;
1135 reg-names = "fuse-base";
1136 };
1137
Pushkar Joshi85a53192013-03-11 11:15:15 -07001138 jtag_mm0: jtagmm@fc33c000 {
1139 compatible = "qcom,jtag-mm";
1140 reg = <0xfc33c000 0x1000>,
1141 <0xfc330000 0x1000>;
1142 reg-names = "etm-base","debug-base";
1143 };
1144
1145 jtag_mm1: jtagmm@fc33d000 {
1146 compatible = "qcom,jtag-mm";
1147 reg = <0xfc33d000 0x1000>,
1148 <0xfc332000 0x1000>;
1149 reg-names = "etm-base","debug-base";
1150 };
1151
1152 jtag_mm2: jtagmm@fc33e000 {
1153 compatible = "qcom,jtag-mm";
1154 reg = <0xfc33e000 0x1000>,
1155 <0xfc334000 0x1000>;
1156 reg-names = "etm-base","debug-base";
1157 };
1158
1159 jtag_mm3: jtagmm@fc33f000 {
1160 compatible = "qcom,jtag-mm";
1161 reg = <0xfc33f000 0x1000>,
1162 <0xfc336000 0x1000>;
1163 reg-names = "etm-base","debug-base";
1164 };
Jeff Hugo2be6bb022013-03-11 10:17:34 -06001165
1166 qcom,ipc-spinlock@fd484000 {
1167 compatible = "qcom,ipc-spinlock-sfpb";
1168 reg = <0xfd484000 0x400>;
1169 qcom,num-locks = <8>;
1170 };
Hariprasad Dhalinarasimha805ea4d2013-03-14 11:16:12 -07001171
1172 qcom,qseecom@d980000 {
1173 compatible = "qcom,qseecom";
1174 reg = <0xd980000 0x256000>;
1175 reg-names = "secapp-region";
1176 qcom,disk-encrypt-pipe-pair = <2>;
1177 qcom,hlos-ce-hw-instance = <0>;
1178 qcom,qsee-ce-hw-instance = <0>;
1179 qcom,msm-bus,name = "qseecom-noc";
1180 qcom,msm-bus,num-cases = <4>;
1181 qcom,msm-bus,active-only = <0>;
1182 qcom,msm-bus,num-paths = <1>;
1183 qcom,msm-bus,vectors-KBps =
1184 <55 512 0 0>,
1185 <55 512 3936000 393600>,
1186 <55 512 3936000 393600>,
1187 <55 512 3936000 393600>;
1188 };
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001189
1190 qcom,qcrypto@fd404000 {
1191 compatible = "qcom,qcrypto";
1192 reg = <0xfd400000 0x20000>,
1193 <0xfd404000 0x8000>;
1194 reg-names = "crypto-base","crypto-bam-base";
1195 interrupts = <0 207 0>;
1196 qcom,bam-pipe-pair = <2>;
1197 qcom,ce-hw-instance = <0>;
1198 qcom,ce-hw-shared;
1199 qcom,msm-bus,name = "qcrypto-noc";
1200 qcom,msm-bus,num-cases = <2>;
1201 qcom,msm-bus,active-only = <0>;
1202 qcom,msm-bus,num-paths = <1>;
1203 qcom,msm-bus,vectors-KBps =
Hariprasad Dhalinarasimhaa2d749e2013-05-14 13:00:06 -07001204 <55 512 0 0>,
1205 <55 512 3936000 393600>;
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001206 };
1207
1208 qcom,qcedev@fd400000 {
1209 compatible = "qcom,qcedev";
1210 reg = <0xfd400000 0x20000>,
1211 <0xfd404000 0x8000>;
1212 reg-names = "crypto-base","crypto-bam-base";
1213 interrupts = <0 207 0>;
1214 qcom,bam-pipe-pair = <1>;
1215 qcom,ce-hw-instance = <0>;
1216 qcom,ce-hw-shared;
1217 qcom,msm-bus,name = "qcedev-noc";
1218 qcom,msm-bus,num-cases = <2>;
1219 qcom,msm-bus,active-only = <0>;
1220 qcom,msm-bus,num-paths = <1>;
1221 qcom,msm-bus,vectors-KBps =
Hariprasad Dhalinarasimhaa2d749e2013-05-14 13:00:06 -07001222 <55 512 0 0>,
1223 <55 512 3936000 393600>;
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001224 };
Neil Leeder45fb9f62013-06-04 10:46:41 -04001225
1226 cpu-pmu {
1227 compatible = "arm,cortex-a7-pmu";
1228 qcom,irq-is-percpu;
1229 interrupts = <1 7 0xf00>;
1230 };
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -07001231};
David Collins37ddb972012-10-17 15:00:26 -07001232
Patrick Dalye8977aa2012-11-06 15:25:58 -08001233&gdsc_venus {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001234 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001235 status = "ok";
1236};
1237
1238&gdsc_mdss {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001239 qcom,clock-names = "core_clk", "lut_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001240 status = "ok";
1241};
1242
1243&gdsc_jpeg {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001244 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001245 status = "ok";
1246};
1247
1248&gdsc_vfe {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001249 qcom,clock-names = "core_clk", "csi_clk", "cpp_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001250 status = "ok";
1251};
1252
1253&gdsc_oxili_cx {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001254 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001255 status = "ok";
1256};
1257
1258&gdsc_usb_hsic {
1259 status = "ok";
1260};
1261
David Keitel376b2682013-03-05 18:40:01 -08001262/include/ "msm-pm8226-rpm-regulator.dtsi"
Kenneth Heitkebea6ca22013-02-07 17:23:21 -07001263/include/ "msm-pm8226.dtsi"
David Keitel7184c6e2013-02-11 13:23:04 -08001264/include/ "msm8226-regulator.dtsi"
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001265
1266&pm8226_vadc {
1267 chan@0 {
1268 label = "usb_in";
1269 reg = <0>;
1270 qcom,decimation = <0>;
1271 qcom,pre-div-channel-scaling = <4>;
1272 qcom,calibration-type = "absolute";
1273 qcom,scale-function = <0>;
1274 qcom,hw-settle-time = <0>;
1275 qcom,fast-avg-setup = <0>;
1276 };
1277
1278 chan@2 {
1279 label = "vchg_sns";
1280 reg = <2>;
1281 qcom,decimation = <0>;
1282 qcom,pre-div-channel-scaling = <3>;
1283 qcom,calibration-type = "absolute";
1284 qcom,scale-function = <0>;
1285 qcom,hw-settle-time = <0>;
1286 qcom,fast-avg-setup = <0>;
1287 };
1288
1289 chan@5 {
1290 label = "vcoin";
1291 reg = <5>;
1292 qcom,decimation = <0>;
1293 qcom,pre-div-channel-scaling = <1>;
1294 qcom,calibration-type = "absolute";
1295 qcom,scale-function = <0>;
1296 qcom,hw-settle-time = <0>;
1297 qcom,fast-avg-setup = <0>;
1298 };
1299
1300 chan@6 {
1301 label = "vbat_sns";
1302 reg = <6>;
1303 qcom,decimation = <0>;
1304 qcom,pre-div-channel-scaling = <1>;
1305 qcom,calibration-type = "absolute";
1306 qcom,scale-function = <0>;
1307 qcom,hw-settle-time = <0>;
1308 qcom,fast-avg-setup = <0>;
1309 };
1310
1311 chan@7 {
1312 label = "vph_pwr";
1313 reg = <7>;
1314 qcom,decimation = <0>;
1315 qcom,pre-div-channel-scaling = <1>;
1316 qcom,calibration-type = "absolute";
1317 qcom,scale-function = <0>;
1318 qcom,hw-settle-time = <0>;
1319 qcom,fast-avg-setup = <0>;
1320 };
1321
1322 chan@30 {
1323 label = "batt_therm";
1324 reg = <0x30>;
1325 qcom,decimation = <0>;
1326 qcom,pre-div-channel-scaling = <0>;
1327 qcom,calibration-type = "ratiometric";
1328 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -08001329 qcom,hw-settle-time = <2>;
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001330 qcom,fast-avg-setup = <0>;
1331 };
1332
1333 chan@31 {
1334 label = "batt_id";
1335 reg = <0x31>;
1336 qcom,decimation = <0>;
1337 qcom,pre-div-channel-scaling = <0>;
1338 qcom,calibration-type = "ratiometric";
1339 qcom,scale-function = <0>;
1340 qcom,hw-settle-time = <2>;
1341 qcom,fast-avg-setup = <0>;
1342 };
1343
1344 chan@b2 {
1345 label = "xo_therm_pu2";
1346 reg = <0xb2>;
1347 qcom,decimation = <0>;
1348 qcom,pre-div-channel-scaling = <0>;
1349 qcom,calibration-type = "ratiometric";
1350 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -08001351 qcom,hw-settle-time = <2>;
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001352 qcom,fast-avg-setup = <0>;
1353 };
David Keitelc51a7e52013-03-02 00:14:48 -08001354
Siddartha Mohanadoss3cb76152013-04-12 16:17:02 -07001355 chan@39 {
1356 label = "usb_id_nopull";
1357 reg = <0x39>;
1358 qcom,decimation = <0>;
1359 qcom,pre-div-channel-scaling = <0>;
1360 qcom,calibration-type = "ratiometric";
1361 qcom,scale-function = <0>;
1362 qcom,hw-settle-time = <2>;
1363 qcom,fast-avg-setup = <0>;
1364 };
David Keitelc51a7e52013-03-02 00:14:48 -08001365};
1366
Siddartha Mohanadoss8aea3172013-05-09 11:49:37 -07001367&pm8226_adc_tm {
1368 /* Channel Node */
1369 chan@30 {
1370 label = "batt_therm";
1371 reg = <0x30>;
1372 qcom,decimation = <0>;
1373 qcom,pre-div-channel-scaling = <0>;
1374 qcom,calibration-type = "ratiometric";
1375 qcom,scale-function = <1>;
1376 qcom,hw-settle-time = <2>;
1377 qcom,fast-avg-setup = <3>;
1378 qcom,btm-channel-number = <0x48>;
1379 };
1380
1381 chan@8 {
1382 label = "die_temp";
1383 reg = <8>;
1384 qcom,decimation = <0>;
1385 qcom,pre-div-channel-scaling = <0>;
1386 qcom,calibration-type = "absolute";
1387 qcom,scale-function = <3>;
1388 qcom,hw-settle-time = <0>;
1389 qcom,fast-avg-setup = <3>;
1390 qcom,btm-channel-number = <0x68>;
1391 };
1392
1393 chan@6 {
1394 label = "vbat_sns";
1395 reg = <6>;
1396 qcom,decimation = <0>;
1397 qcom,pre-div-channel-scaling = <1>;
1398 qcom,calibration-type = "absolute";
1399 qcom,scale-function = <0>;
1400 qcom,hw-settle-time = <0>;
1401 qcom,fast-avg-setup = <3>;
1402 qcom,btm-channel-number = <0x70>;
1403 };
1404
1405 chan@14 {
1406 label = "pa_therm0";
1407 reg = <0x14>;
1408 qcom,decimation = <0>;
1409 qcom,pre-div-channel-scaling = <0>;
1410 qcom,calibration-type = "ratiometric";
1411 qcom,scale-function = <2>;
1412 qcom,hw-settle-time = <2>;
1413 qcom,fast-avg-setup = <0>;
1414 qcom,btm-channel-number = <0x78>;
1415 qcom,thermal-node;
1416 };
1417
1418 chan@17 {
1419 label = "pa_therm1";
1420 reg = <0x17>;
1421 qcom,decimation = <0>;
1422 qcom,pre-div-channel-scaling = <0>;
1423 qcom,calibration-type = "ratiometric";
1424 qcom,scale-function = <2>;
1425 qcom,hw-settle-time = <2>;
1426 qcom,fast-avg-setup = <0>;
1427 qcom,btm-channel-number = <0x80>;
1428 qcom,thermal-node;
1429 };
1430};
1431
David Keitelc51a7e52013-03-02 00:14:48 -08001432&pm8226_chg {
1433 status = "ok";
1434
David Keitele89d4782013-03-27 11:29:59 -07001435 qcom,chgr@1000 {
David Keitelc51a7e52013-03-02 00:14:48 -08001436 status = "ok";
1437 };
1438
David Keitele89d4782013-03-27 11:29:59 -07001439 qcom,buck@1100 {
David Keitelc51a7e52013-03-02 00:14:48 -08001440 status = "ok";
1441 };
1442
David Keitele89d4782013-03-27 11:29:59 -07001443 qcom,bat-if@1200 {
Fenglin Wu009098a2013-03-08 15:50:51 -08001444 status = "ok";
1445 };
1446
David Keitele89d4782013-03-27 11:29:59 -07001447 qcom,usb-chgpth@1300 {
David Keitelc51a7e52013-03-02 00:14:48 -08001448 status = "ok";
1449 };
1450
David Keitele89d4782013-03-27 11:29:59 -07001451 qcom,boost@1500 {
David Keitelc51a7e52013-03-02 00:14:48 -08001452 status = "ok";
1453 };
1454
1455 qcom,chg-misc@1600 {
1456 status = "ok";
1457 };
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001458};