blob: 90dae06d364a79a0bc1d4acf4323ad510dfae575 [file] [log] [blame]
Dipen Parmare548fd12014-01-19 23:15:14 +05301/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
Syed Rameez Mustafad3935822012-10-09 11:23:20 -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
15/ {
16 model = "Qualcomm MSM 8610";
17 compatible = "qcom,msm8610";
18 interrupt-parent = <&intc>;
19
20 memory {
21 qsecom_mem: qsecom_region {
22 linux,contiguous-region;
23 reg = <0 0x100000>;
24 label = "qsecom_mem";
25 };
26 };
27
28 aliases {
29 sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
30 sdhc2 = &sdhc_2; /* SDC2 SD card slot */
Gilad Avidova460c472013-04-12 16:23:32 -060031 spi4 = &spi_4;
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070032 };
33
34 soc: soc { };
35};
36
Lokesh Kumar Aakulu25213502013-05-07 17:43:03 -070037/include/ "msm8610-camera.dtsi"
Olav Haugan54166782013-01-28 16:59:51 -080038/include/ "msm-iommu-v0.dtsi"
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -080039/include/ "msm8610-ion.dtsi"
Lokesh Batra8d55eec2013-02-26 11:31:21 -080040/include/ "msm8610-gpu.dtsi"
Matt Wagantall1bf56932012-11-29 15:03:29 -080041/include/ "msm-gdsc.dtsi"
Aparna Dasd16555b2013-03-06 15:46:38 -080042/include/ "msm8610-coresight.dtsi"
Jeff Hugo53dcf0f2013-03-20 12:37:50 -060043/include/ "msm8610-smp2p.dtsi"
Gagan Macbced3872013-02-04 19:18:04 -070044/include/ "msm8610-bus.dtsi"
Xiaoming Zhou5f37a252013-04-09 21:11:50 -040045/include/ "msm8610-mdss.dtsi"
Aparna Dasd4e0bf32013-06-07 17:56:52 -070046/include/ "msm-rdbg.dtsi"
Syed Rameez Mustafad3935822012-10-09 11:23:20 -070047
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070048&soc {
49 #address-cells = <1>;
50 #size-cells = <1>;
51 ranges;
Syed Rameez Mustafad3935822012-10-09 11:23:20 -070052
53 intc: interrupt-controller@f9000000 {
54 compatible = "qcom,msm-qgic2";
55 interrupt-controller;
56 #interrupt-cells = <3>;
57 reg = <0xf9000000 0x1000>,
58 <0xf9002000 0x1000>;
59 };
60
61 msmgpio: gpio@fd510000 {
62 compatible = "qcom,msm-gpio";
63 interrupt-controller;
64 #interrupt-cells = <2>;
65 reg = <0xfd510000 0x4000>;
Syed Rameez Mustafa86cccfc2012-12-10 18:06:08 -080066 gpio-controller;
Syed Rameez Mustafad3935822012-10-09 11:23:20 -070067 #gpio-cells = <2>;
Rohit Vaswani341c2032012-11-08 18:49:29 -080068 ngpio = <102>;
Rohit Vaswanid2001522012-12-05 19:23:44 -080069 interrupts = <0 208 0>;
Rohit Vaswanied0a4ef2012-12-11 15:14:42 -080070 qcom,direct-connect-irqs = <8>;
Syed Rameez Mustafad3935822012-10-09 11:23:20 -070071 };
72
Bhalchandra Gajare8d1f1b82013-07-11 16:37:19 -070073 wcd9xxx_intc: wcd9xxx_irq {
74 compatible = "qcom,wcd9xxx-irq";
75 interrupt-controller;
76 #interrupt-cells = <1>;
77 interrupt-parent = <&intc>;
78 interrupts = <0 31 0>;
79 interrupt-names = "cdc-int";
80 };
81
Abhimanyu Kapur58d303a72013-04-30 16:13:41 -070082 qcom,mpm2-sleep-counter@fc4a3000 {
83 compatible = "qcom,mpm2-sleep-counter";
84 reg = <0xfc4a3000 0x1000>;
85 clock-frequency = <32768>;
86 };
87
Syed Rameez Mustafafd9ac032012-10-10 17:52:07 -070088 timer {
Syed Rameez Mustafa0824d6c2012-11-29 18:53:56 -080089 compatible = "arm,armv7-timer";
Syed Rameez Mustafafd9ac032012-10-10 17:52:07 -070090 interrupts = <1 2 0 1 3 0>;
Syed Rameez Mustafad3935822012-10-09 11:23:20 -070091 clock-frequency = <19200000>;
92 };
93
Stephen Boyda61ac642013-04-10 14:20:27 -070094 timer@f9020000 {
95 #address-cells = <1>;
96 #size-cells = <1>;
97 ranges;
98 compatible = "arm,armv7-timer-mem";
99 reg = <0xf9020000 0x1000>;
100 clock-frequency = <19200000>;
101
102 frame@f9021000 {
103 frame-number = <0>;
104 interrupts = <0 8 0x4>,
105 <0 7 0x4>;
106 reg = <0xf9021000 0x1000>,
107 <0xf9022000 0x1000>;
108 };
109
110 frame@f9023000 {
111 frame-number = <1>;
112 interrupts = <0 9 0x4>;
113 reg = <0xf9023000 0x1000>;
114 status = "disabled";
115 };
116
117 frame@f9024000 {
118 frame-number = <2>;
119 interrupts = <0 10 0x4>;
120 reg = <0xf9024000 0x1000>;
121 status = "disabled";
122 };
123
124 frame@f9025000 {
125 frame-number = <3>;
126 interrupts = <0 11 0x4>;
127 reg = <0xf9025000 0x1000>;
128 status = "disabled";
129 };
130
131 frame@f9026000 {
132 frame-number = <4>;
133 interrupts = <0 12 0x4>;
134 reg = <0xf9026000 0x1000>;
135 status = "disabled";
136 };
137
138 frame@f9027000 {
139 frame-number = <5>;
140 interrupts = <0 13 0x4>;
141 reg = <0xf9027000 0x1000>;
142 status = "disabled";
143 };
144
145 frame@f9028000 {
146 frame-number = <6>;
147 interrupts = <0 14 0x4>;
148 reg = <0xf9028000 0x1000>;
149 status = "disabled";
150 };
151 };
152
Arun Menon2a7e3772013-01-17 12:06:59 -0800153 qcom,msm-adsp-loader {
154 compatible = "qcom,adsp-loader";
155 qcom,adsp-state = <0>;
156 };
157
Fred Ohe49386d2013-05-02 17:53:27 -0700158 qcom,msm-audio-ion {
159 compatible = "qcom,msm-audio-ion";
160 qcom,smmu-enabled;
161 };
162
Abhimanyu Kapur032b1f42013-01-18 00:10:50 -0800163 qcom,msm-imem@fe805000 {
164 compatible = "qcom,msm-imem";
165 reg = <0xfe805000 0x1000>; /* Address and size of IMEM */
166 };
167
Syed Rameez Mustafad3935822012-10-09 11:23:20 -0700168 serial@f991f000 {
169 compatible = "qcom,msm-lsuart-v14";
170 reg = <0xf991f000 0x1000>;
171 interrupts = <0 109 0>;
172 status = "disabled";
173 };
Mayank Rana55db0cb2012-10-15 16:50:06 +0530174
Hanumant Singh6b346712013-04-09 16:26:09 -0700175 serial@f991e000 {
176 compatible = "qcom,msm-lsuart-v14";
177 reg = <0xf991e000 0x1000>;
178 interrupts = <0 108 0>;
179 status = "disabled";
180 };
181
Arun Menon8e25dd42013-01-11 14:11:54 -0800182 qcom,vidc@fdc00000 {
183 compatible = "qcom,msm-vidc";
Sachin Shah4e1c8fe2013-03-20 15:10:05 -0700184 qcom,vidc-ns-map = <0x40000000 0x40000000>;
Sachin Shah4e1c8fe2013-03-20 15:10:05 -0700185 qcom,buffer-type-tz-usage-map = <0x1 0x1>,
Cullum Baldwin673f9862013-10-25 17:39:47 -0700186 <0x7fe 0x2>;
Sachin Shah4e1c8fe2013-03-20 15:10:05 -0700187 qcom,hfi = "q6";
Rajeshwar Kurapaty6577d752013-07-31 19:15:38 +0530188 qcom,max-hw-load = <244800>; /* 1080p @ 30 * 1 */
Eric Hoa00e2da2013-06-20 17:41:57 -0700189 qcom,vidc-iommu-domains {
190 qcom,domain-ns {
191 qcom,vidc-domain-phandle = <&q6_domain_ns>;
192 qcom,vidc-partition-buffer-types = <0xfff>;
193 };
194 };
195};
Arun Menon8e25dd42013-01-11 14:11:54 -0800196
Vamsi Krishna872fbbc2013-04-09 18:04:52 -0700197 qcom,usbbam@f9a44000 {
198 compatible = "qcom,usb-bam-msm";
199 reg = <0xf9a44000 0x11000>;
200 reg-names = "hsusb";
201 interrupts = <0 135 0>;
202 interrupt-names = "hsusb";
203 qcom,usb-bam-num-pipes = <16>;
204 qcom,usb-bam-fifo-baseaddr = <0xfe803000>;
205 qcom,ignore-core-reset-ack;
206 qcom,disable-clk-gating;
207
208 qcom,pipe0 {
209 label = "hsusb-qdss-in-0";
210 qcom,usb-bam-mem-type = <3>;
211 qcom,bam-type = <1>;
212 qcom,dir = <1>;
213 qcom,pipe-num = <0>;
214 qcom,peer-bam = <1>;
215 qcom,src-bam-physical-address = <0xfc37c000>;
216 qcom,src-bam-pipe-index = <0>;
217 qcom,dst-bam-physical-address = <0xf9a44000>;
218 qcom,dst-bam-pipe-index = <2>;
219 qcom,data-fifo-offset = <0x0>;
220 qcom,data-fifo-size = <0x600>;
221 qcom,descriptor-fifo-offset = <0x600>;
222 qcom,descriptor-fifo-size = <0x200>;
223 };
224 };
225
Mayank Rana55db0cb2012-10-15 16:50:06 +0530226 usb@f9a55000 {
227 compatible = "qcom,hsusb-otg";
228 reg = <0xf9a55000 0x400>;
Mayank Rana33d26662013-01-17 10:22:25 +0530229 interrupts = <0 134 0>, <0 140 0>;
230 interrupt-names = "core_irq", "async_irq";
Mayank Rana1aedece2013-07-19 17:42:10 +0530231 hsusb_vdd_dig-supply = <&pm8110_s1_corner>;
Mayank Rana76c6ce22012-11-07 17:07:58 +0530232 HSUSB_1p8-supply = <&pm8110_l10>;
233 HSUSB_3p3-supply = <&pm8110_l20>;
Mayank Rana1aedece2013-07-19 17:42:10 +0530234 qcom,vdd-voltage-level = <1 5 7>;
Mayank Rana55db0cb2012-10-15 16:50:06 +0530235
Manu Gautam080001d2013-07-02 15:13:48 +0530236 qcom,hsusb-otg-phy-init-seq =
237 <0x44 0x80 0x68 0x81 0x24 0x82 0x13 0x83 0xffffffff>;
Mayank Rana55db0cb2012-10-15 16:50:06 +0530238 qcom,hsusb-otg-phy-type = <2>;
239 qcom,hsusb-otg-mode = <1>;
Mayank Rana29bb9f22013-04-04 18:25:12 +0530240 qcom,hsusb-otg-otg-control = <2>;
Mayank Rana55db0cb2012-10-15 16:50:06 +0530241 qcom,hsusb-otg-disable-reset;
Mayank Ranaa5491122013-04-04 18:32:25 +0530242 qcom,dp-manual-pullup;
Saket Saurabh0844d6e2013-11-26 11:49:06 +0530243 qcom,disable-retention-with-vdd-min;
Mayank Ranaf9295802013-04-04 18:36:44 +0530244
245 qcom,msm-bus,name = "usb2";
246 qcom,msm-bus,num-cases = <2>;
247 qcom,msm-bus,active-only = <0>;
248 qcom,msm-bus,num-paths = <1>;
249 qcom,msm-bus,vectors-KBps =
250 <87 512 0 0>,
251 <87 512 60000 960000>;
Mayank Rana55db0cb2012-10-15 16:50:06 +0530252 };
253
wujin3c6eaab2013-08-23 16:26:30 +0800254 android_usb: android_usb@fe8050c8 {
Mayank Rana55db0cb2012-10-15 16:50:06 +0530255 compatible = "qcom,android-usb";
Mayank Ranacc0c5452013-01-29 16:41:53 +0530256 reg = <0xfe8050c8 0xc8>;
Manu Gautamd4f33082013-06-12 14:24:01 +0530257 qcom,android-usb-swfi-latency = <1>;
Mayank Rana5f864fa2013-11-11 14:21:05 +0530258 qcom,streaming-func = "rndis";
Pavankumar Kondeticca5da82014-04-01 16:43:11 +0530259 qcom,android-usb-uicc-nluns = <1>;
Mayank Rana55db0cb2012-10-15 16:50:06 +0530260 };
261
Pratibhasagar Vc20526a2013-10-09 18:59:45 +0530262 rmtfs_sharedmem {
263 compatible = "qcom,sharedmem-uio";
264 reg = <0x0dc80000 0x00180000>;
265 reg-names = "rmtfs";
266 };
267
268 dsp_sharedmem {
269 compatible = "qcom,sharedmem-uio";
270 reg = <0x0dc60000 0x00020000>;
271 reg-names = "rfsa_dsp";
272 };
273
274 mdm_sharedmem {
275 compatible = "qcom,sharedmem-uio";
276 reg = <0x0dc60000 0x00020000>;
277 reg-names = "rfsa_mdm";
278 };
279
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700280 sdcc1: qcom,sdcc@f9824000 {
281 cell-index = <1>; /* SDC1 eMMC slot */
282 compatible = "qcom,msm-sdcc";
Oluwafemi Adeyemi4641e7f2012-11-28 16:12:56 -0800283 reg = <0xf9824000 0x800>,
284 <0xf9824800 0x100>,
285 <0xf9804000 0x7000>;
286 reg-names = "core_mem", "dml_mem", "bam_mem";
287 interrupts = <0 123 0>, <0 137 0>;
288 interrupt-names = "core_irq", "bam_irq";
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700289
Oluwafemi Adeyemid0035622012-11-02 12:07:06 -0700290 vdd-supply = <&pm8110_l17>;
Oluwafemi Adeyemid0035622012-11-02 12:07:06 -0700291 qcom,vdd-voltage-level = <2900000 2900000>;
292 qcom,vdd-current-level = <9000 400000>;
293
294 vdd-io-supply = <&pm8110_l6>;
295 qcom,vdd-io-always-on;
Oluwafemi Adeyemid0035622012-11-02 12:07:06 -0700296 qcom,vdd-io-voltage-level = <1800000 1800000>;
297 qcom,vdd-io-current-level = <9000 60000>;
298
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700299 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
300 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700301 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700302 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700303
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700304 qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>;
Oluwafemi Adeyemid0035622012-11-02 12:07:06 -0700305 qcom,sup-voltages = <2900 2900>;
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700306 qcom,bus-width = <8>;
307 qcom,nonremovable;
308 qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
Asutosh Das5701e102014-03-28 11:40:41 +0530309 qcom,cpu-dma-latency-us = <701>;
Venkat Gopalakrishnan587b2252013-04-05 12:16:50 -0700310
311 status = "disabled";
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700312 };
313
314 sdcc2: qcom,sdcc@f98a4000 {
315 cell-index = <2>; /* SDC2 SD card slot */
316 compatible = "qcom,msm-sdcc";
Oluwafemi Adeyemi4641e7f2012-11-28 16:12:56 -0800317 reg = <0xf98a4000 0x800>,
318 <0xf98a4800 0x100>,
319 <0xf9884000 0x7000>;
320 reg-names = "core_mem", "dml_mem", "bam_mem";
321 interrupts = <0 125 0>, <0 220 0>;
322 interrupt-names = "core_irq", "bam_irq";
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700323
Oluwafemi Adeyemid0035622012-11-02 12:07:06 -0700324 vdd-supply = <&pm8110_l18>;
325 qcom,vdd-voltage-level = <2950000 2950000>;
326 qcom,vdd-current-level = <9000 400000>;
327
328 vdd-io-supply = <&pm8110_l21>;
329 qcom,vdd-io-voltage-level = <1800000 2950000>;
330 qcom,vdd-io-current-level = <9000 50000>;
331
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700332 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
333 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700334 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700335 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700336
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700337 qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>;
338 qcom,sup-voltages = <2950 2950>;
339 qcom,bus-width = <4>;
340 qcom,xpc;
341 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104";
342 qcom,current-limit = <800>;
Asutosh Das5701e102014-03-28 11:40:41 +0530343 qcom,cpu-dma-latency-us = <701>;
Venkat Gopalakrishnan587b2252013-04-05 12:16:50 -0700344
345 status = "disabled";
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700346 };
347
Venkat Gopalakrishnana6ce5f22013-04-04 14:24:57 -0700348 sdhc_1: sdhci@f9824900 {
349 compatible = "qcom,sdhci-msm";
350 reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
351 reg-names = "hc_mem", "core_mem";
352
353 interrupts = <0 123 0>, <0 138 0>;
354 interrupt-names = "hc_irq", "pwr_irq";
355
356 qcom,bus-width = <8>;
Asutosh Das5701e102014-03-28 11:40:41 +0530357 qcom,cpu-dma-latency-us = <701>;
Venkat Gopalakrishnana6ce5f22013-04-04 14:24:57 -0700358 status = "disabled";
359 };
360
361 sdhc_2: sdhci@f98a4900 {
362 compatible = "qcom,sdhci-msm";
363 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
364 reg-names = "hc_mem", "core_mem";
365
366 interrupts = <0 125 0>, <0 221 0>;
367 interrupt-names = "hc_irq", "pwr_irq";
368
369 qcom,bus-width = <4>;
Asutosh Das5701e102014-03-28 11:40:41 +0530370 qcom,cpu-dma-latency-us = <701>;
Venkat Gopalakrishnana6ce5f22013-04-04 14:24:57 -0700371 status = "disabled";
372 };
373
Yan He6c7304c2012-11-09 22:07:08 -0800374 qcom,sps {
375 compatible = "qcom,msm_sps";
376 qcom,device-type = <3>;
377 };
378
Jeff Hugo4e20fda2013-04-10 12:40:19 -0600379 qcom,smem@d900000 {
Jeff Hugo818d0f72012-11-05 14:19:28 -0700380 compatible = "qcom,smem";
Jeff Hugoe1e30e72013-04-08 14:15:34 -0600381 reg = <0xd900000 0x100000>,
Stepan Moskovchenkod6ee8262013-02-06 11:26:05 -0800382 <0xf9011000 0x1000>,
Jeff Hugo818d0f72012-11-05 14:19:28 -0700383 <0xfc428000 0x4000>;
384 reg-names = "smem", "irq-reg-base", "aux-mem1";
385
386 qcom,smd-modem {
387 compatible = "qcom,smd";
388 qcom,smd-edge = <0>;
389 qcom,smd-irq-offset = <0x8>;
390 qcom,smd-irq-bitmask = <0x1000>;
391 qcom,pil-string = "modem";
392 interrupts = <0 25 1>;
393 };
394
395 qcom,smsm-modem {
396 compatible = "qcom,smsm";
397 qcom,smsm-edge = <0>;
398 qcom,smsm-irq-offset = <0x8>;
399 qcom,smsm-irq-bitmask = <0x2000>;
400 interrupts = <0 26 1>;
401 };
402
403 qcom,smd-adsp {
404 compatible = "qcom,smd";
405 qcom,smd-edge = <1>;
406 qcom,smd-irq-offset = <0x8>;
407 qcom,smd-irq-bitmask = <0x100>;
408 qcom,pil-string = "adsp";
409 interrupts = <0 156 1>;
410 };
411
412 qcom,smsm-adsp {
413 compatible = "qcom,smsm";
414 qcom,smsm-edge = <1>;
415 qcom,smsm-irq-offset = <0x8>;
416 qcom,smsm-irq-bitmask = <0x200>;
417 interrupts = <0 157 1>;
418 };
419
420 qcom,smd-wcnss {
421 compatible = "qcom,smd";
422 qcom,smd-edge = <6>;
423 qcom,smd-irq-offset = <0x8>;
424 qcom,smd-irq-bitmask = <0x20000>;
425 qcom,pil-string = "wcnss";
426 interrupts = <0 142 1>;
427 };
428
429 qcom,smsm-wcnss {
430 compatible = "qcom,smsm";
431 qcom,smsm-edge = <6>;
432 qcom,smsm-irq-offset = <0x8>;
433 qcom,smsm-irq-bitmask = <0x80000>;
434 interrupts = <0 144 1>;
435 };
436
437 qcom,smd-rpm {
438 compatible = "qcom,smd";
439 qcom,smd-edge = <15>;
440 qcom,smd-irq-offset = <0x8>;
441 qcom,smd-irq-bitmask = <0x1>;
442 interrupts = <0 168 1>;
443 qcom,irq-no-suspend;
444 };
David Ng5a3cb232012-12-03 16:42:53 -0800445 };
Hanumant Singh4e334c82012-11-14 10:16:39 -0800446
Praveen Chidambarama1f98282012-11-29 09:56:57 -0700447 rpm_bus: qcom,rpm-smd {
448 compatible = "qcom,rpm-smd";
449 rpm-channel-name = "rpm_requests";
450 rpm-channel-type = <15>; /* SMD_APPS_RPM */
Praveen Chidambarama1f98282012-11-29 09:56:57 -0700451 };
452
Jennifer Liuccb66f62013-06-06 10:46:51 -0700453 qcom,bcl {
454 compatible = "qcom,bcl";
455 };
456
Olav Haugan8340d932013-01-25 12:03:11 -0800457 qcom,msm-mem-hole {
458 compatible = "qcom,msm-mem-hole";
Neeti Desai8349e9c2013-07-17 11:29:33 -0700459 qcom,memblock-remove = <0x08800000 0x5600000>; /* Address and Size of Hole */
Olav Haugan8340d932013-01-25 12:03:11 -0800460 };
461
Hanumant Singh4e334c82012-11-14 10:16:39 -0800462 qcom,wdt@f9017000 {
463 compatible = "qcom,msm-watchdog";
464 reg = <0xf9017000 0x1000>;
465 interrupts = <0 3 0>, <0 4 0>;
466 qcom,bark-time = <11000>;
467 qcom,pet-time = <10000>;
Mitchel Humpherys1be23802012-11-16 15:52:32 -0800468 qcom,ipi-ping;
Jeff Hugo818d0f72012-11-05 14:19:28 -0700469 };
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700470
Patrick Dalyb86df502013-11-05 14:27:13 -0800471 qcom,clock-a7@f9011050 {
472 compatible = "qcom,clock-a7-8226";
Vikram Mulukutlaa3cebff2013-01-28 13:54:54 -0800473 reg = <0xf9011050 0x8>;
Patrick Dalyb86df502013-11-05 14:27:13 -0800474 reg-names = "rcg-base";
475 clock-names = "clk-4", "clk-5";
476 qcom,speed0-bin-v0 =
477 < 0 0>,
478 < 384000000 1>,
479 < 787200000 2>,
480 <1190400000 3>;
481
482 cpu-vdd-supply = <&apc_vreg_corner>;
483 };
484
485 qcom,cpubw {
486 compatible = "qcom,cpubw";
487 qcom,cpu-mem-ports = <1 512>;
488 qcom,bw-tbl =
489 < 762 /* 100 MHz */ >,
490 < 1525 /* 200 MHz */ >,
491 < 2540 /* 333 MHz */ >;
492 };
493
494 qcom,msm-cpufreq@0 {
495 reg = <0 4>;
496 compatible = "qcom,msm-cpufreq";
497 qcom,cpufreq-table =
498 < 300000 762 >,
499 < 384000 762 >,
500 < 600000 1525 >,
501 < 787200 1525 >,
502 < 998400 2540 >,
503 < 1190400 2540 >;
Vikram Mulukutlaa3cebff2013-01-28 13:54:54 -0800504 };
505
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700506 spmi_bus: qcom,spmi@fc4c0000 {
507 cell-index = <0>;
508 compatible = "qcom,spmi-pmic-arb";
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700509 reg-names = "core", "intr", "cnfg";
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700510 reg = <0xfc4cf000 0x1000>,
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700511 <0Xfc4cb000 0x1000>,
512 <0Xfc4ca000 0x1000>;
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700513 /* 190,ee0_krait_hlos_spmi_periph_irq */
514 /* 187,channel_0_krait_hlos_trans_done_irq */
515 interrupts = <0 190 0>, <0 187 0>;
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700516 qcom,pmic-arb-ee = <0>;
517 qcom,pmic-arb-channel = <0>;
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700518 };
519
Chun Zhangf39a0652013-05-01 15:57:54 -0700520 i2c@f9923000 { /* BLSP-1 QUP-1 */
521 cell-index = <1>;
Gilad Avidovf84f2792013-01-31 13:26:39 -0700522 compatible = "qcom,i2c-qup";
523 #address-cells = <1>;
524 #size-cells = <0>;
525 reg-names = "qup_phys_addr";
Chun Zhangf39a0652013-05-01 15:57:54 -0700526 reg = <0xf9923000 0x1000>;
Gilad Avidovf84f2792013-01-31 13:26:39 -0700527 interrupt-names = "qup_err_intr";
Chun Zhangf39a0652013-05-01 15:57:54 -0700528 interrupts = <0 95 0>;
Gilad Avidovf84f2792013-01-31 13:26:39 -0700529 qcom,i2c-bus-freq = <100000>;
Chun Zhangf39a0652013-05-01 15:57:54 -0700530 qcom,i2c-src-freq = <19200000>;
531 qcom,sda-gpio = <&msmgpio 2 0>;
532 qcom,scl-gpio = <&msmgpio 3 0>;
Mallesh Koujalagi07866832013-08-08 17:40:04 -0700533 qcom,master-id = <86>;
Gilad Avidovf84f2792013-01-31 13:26:39 -0700534 };
535
Kuirong Wangc6d072c2013-01-29 10:33:03 -0800536 i2c_cdc: i2c@f9927000 { /* BLSP1 QUP5 */
537 cell-index = <5>;
538 compatible = "qcom,i2c-qup";
539 #address-cells = <1>;
540 #size-cells = <0>;
541 reg-names = "qup_phys_addr";
542 reg = <0xf9927000 0x1000>;
543 interrupt-names = "qup_err_intr";
544 interrupts = <0 99 0>;
545 qcom,i2c-bus-freq = <100000>;
Mallesh Koujalagi07866832013-08-08 17:40:04 -0700546 qcom,i2c-src-freq = <19200000>;
547 qcom,master-id = <86>;
Kuirong Wangc6d072c2013-01-29 10:33:03 -0800548 };
549
Lokesh Kumar Aakulu25213502013-05-07 17:43:03 -0700550 i2c: i2c@f9928000 { /* BLSP1 QUP6 */
Kenneth Heitke0d4fbb12013-04-10 12:51:14 -0600551 cell-index = <6>;
552 compatible = "qcom,i2c-qup";
553 #address-cells = <1>;
554 #size-cells = <0>;
555 reg-names = "qup_phys_addr";
556 reg = <0xf9928000 0x1000>;
557 interrupt-names = "qup_err_intr";
558 interrupts = <0 100 0>;
559 qcom,i2c-bus-freq = <100000>;
560 qcom,i2c-src-freq = <19200000>;
561 qcom,sda-gpio = <&msmgpio 16 0>;
562 qcom,scl-gpio = <&msmgpio 17 0>;
Mallesh Koujalagi07866832013-08-08 17:40:04 -0700563 qcom,master-id = <86>;
Kenneth Heitke0d4fbb12013-04-10 12:51:14 -0600564 };
Gilad Avidovf58f1832013-01-09 17:31:28 -0700565
Houston Hoffman59c6b5d2013-11-14 05:28:34 -0800566
567 i2c@f9924000 { /* BLSP-1 QUP-3 */
568 cell-index = <2>;
569 compatible = "qcom,i2c-qup";
Houston Hoffmanc703cc22013-12-18 20:42:34 -0800570 #address-cells = <1>;
571 #size-cells = <0>;
Houston Hoffman59c6b5d2013-11-14 05:28:34 -0800572 reg-names = "qup_phys_addr";
573 reg = <0xf9924000 0x1000>;
574 interrupt-names = "qup_err_intr";
575 interrupts = <0 96 0>;
576 qcom,i2c-bus-freq = <100000>;
577 qcom,i2c-src-freq = <19200000>;
578 qcom,sda-gpio = <&msmgpio 8 0>;
579 qcom,scl-gpio = <&msmgpio 9 0>;
580 qcom,master-id = <86>;
581 };
582
Chun Zhangf39a0652013-05-01 15:57:54 -0700583 i2c@f9925000 { /* BLSP-1 QUP-3 */
584 cell-index = <0>;
585 compatible = "qcom,i2c-qup";
Gilad Avidovf58f1832013-01-09 17:31:28 -0700586 #address-cells = <1>;
587 #size-cells = <0>;
Chun Zhangf39a0652013-05-01 15:57:54 -0700588 reg-names = "qup_phys_addr";
589 reg = <0xf9925000 0x1000>;
590 interrupt-names = "qup_err_intr";
591 interrupts = <0 97 0>;
592 qcom,i2c-bus-freq = <100000>;
Mallesh Koujalagi07866832013-08-08 17:40:04 -0700593 qcom,i2c-src-freq = <19200000>;
594 qcom,sda-gpio = <&msmgpio 10 0>;
595 qcom,scl-gpio = <&msmgpio 11 0>;
Sana Venkat Raju2e04fff2014-01-28 14:33:11 +0530596 qcom,clk-ctl-xfer;
Mallesh Koujalagi07866832013-08-08 17:40:04 -0700597 qcom,master-id = <86>;
Gilad Avidovf58f1832013-01-09 17:31:28 -0700598 };
599
Gilad Avidova460c472013-04-12 16:23:32 -0600600 spi_4: spi@f9926000 { /* BLSP1 QUP4 */
601 compatible = "qcom,spi-qup-v2";
602 #address-cells = <1>;
603 #size-cells = <0>;
604 reg-names = "spi_physical", "spi_bam_physical";
605 reg = <0xf9926000 0x1000>,
606 <0xf9904000 0x15000>;
607 interrupt-names = "spi_irq", "spi_bam_irq";
608 interrupts = <0 98 0>, <0 238 0>;
609 spi-max-frequency = <50000000>;
610
Gilad Avidovcff4ca72013-07-01 17:35:36 -0600611 qcom,gpio-mosi = <&msmgpio 86 0>;
612 qcom,gpio-miso = <&msmgpio 87 0>;
613 qcom,gpio-clk = <&msmgpio 89 0>;
614 qcom,gpio-cs0 = <&msmgpio 88 0>;
Pavankumar Kondeti107b2ac2014-03-02 14:42:31 +0530615 qcom,gpio-cs2 = <&msmgpio 85 0>;
Gilad Avidova460c472013-04-12 16:23:32 -0600616
617 qcom,infinite-mode = <0>;
618 qcom,use-bam;
619 qcom,ver-reg-exists;
620 qcom,bam-consumer-pipe-index = <18>;
621 qcom,bam-producer-pipe-index = <19>;
Gilad Avidovcff4ca72013-07-01 17:35:36 -0600622 qcom,master-id = <86>;
Pavankumar Kondeti107b2ac2014-03-02 14:42:31 +0530623
624 lattice,spi-usb@2 {
625 compatible = "lattice,ice40-spi-usb";
626 reg = <2>;
627 spi-max-frequency = <50000000>;
628 spi-cpol = <1>;
629 spi-cpha = <1>;
630 core-vcc-supply = <&pm8110_l2>;
631 spi-vcc-supply = <&pm8110_l6>;
632 gpio-supply = <&pm8110_l22>;
633 lattice,reset-gpio = <&msmgpio 95 0>;
634 lattice,slave-select-gpio = <&msmgpio 85 0>;
635 lattice,config-done-gpio = <&msmgpio 94 0>;
636 lattice,vcc-en-gpio = <&msmgpio 96 0>;
637 };
Gilad Avidova460c472013-04-12 16:23:32 -0600638 };
639
Vikram Mulukutla1ac32fd2013-01-28 10:03:58 -0800640 qcom,pronto@fb21b000 {
641 compatible = "qcom,pil-pronto";
642 reg = <0xfb21b000 0x3000>,
643 <0xfc401700 0x4>,
644 <0xfd485300 0xc>;
645 reg-names = "pmu_base", "clk_base", "halt_base";
646 interrupts = <0 149 1>;
647 vdd_pronto_pll-supply = <&pm8110_l10>;
648
649 qcom,firmware-name = "wcnss";
Sameer Thalappil7abeb222013-04-02 11:13:42 -0700650
Sameer Thalappil4ba86302013-04-05 17:36:54 -0700651 /* GPIO inputs from wcnss */
Sameer Thalappil7abeb222013-04-02 11:13:42 -0700652 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>;
Sameer Thalappilb1e03c02013-04-29 14:52:00 -0700653 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>;
Sameer Thalappil4ba86302013-04-05 17:36:54 -0700654 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>;
Sameer Thalappil7abeb222013-04-02 11:13:42 -0700655
656 /* GPIO output to wcnss */
657 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>;
Vikram Mulukutla1ac32fd2013-01-28 10:03:58 -0800658 };
659
Sameer Thalappil1b65cd02013-04-03 16:42:34 -0700660 qcom,iris-fm {
661 compatible = "qcom,iris_fm";
662 };
663
Fred Oh92b18a02013-01-22 13:29:41 -0800664 sound {
665 compatible = "qcom,msm8x10-audio-codec";
666 qcom,model = "msm8x10-snd-card";
667 };
668
Krishnankutty Kolathappilly01a3f9b2013-12-12 17:00:15 -0800669 qti,msm-pcm {
670 compatible = "qti,msm-pcm-dsp";
671 qti,msm-pcm-dsp-id = <0>;
Fred Oh92b18a02013-01-22 13:29:41 -0800672 };
673
Krishnankutty Kolathappilly01a3f9b2013-12-12 17:00:15 -0800674 qti,msm-pcm-low-latency {
675 compatible = "qti,msm-pcm-dsp";
676 qti,msm-pcm-dsp-id = <1>;
677 qti,msm-pcm-low-latency;
Krishnankutty Kolathappilly22dc25b2013-11-25 12:11:07 -0800678 qti,latency-level = "ultra";
Mingming Yin8b92f9b2013-05-01 14:10:26 -0700679 };
680
Fred Oh92b18a02013-01-22 13:29:41 -0800681 qcom,msm-pcm-routing {
682 compatible = "qcom,msm-pcm-routing";
683 };
684
685 qcom,msm-pcm-lpa {
686 compatible = "qcom,msm-pcm-lpa";
687 };
688
689 qcom,msm-compr-dsp {
690 compatible = "qcom,msm-compr-dsp";
691 };
692
Haynes Mathew George1ccabc52013-09-17 14:36:48 -0700693 qcom,msm-compress-dsp {
694 compatible = "qcom,msm-compress-dsp";
695 };
696
Fred Oh92b18a02013-01-22 13:29:41 -0800697 qcom,msm-voip-dsp {
698 compatible = "qcom,msm-voip-dsp";
699 };
700
701 qcom,msm-pcm-voice {
702 compatible = "qcom,msm-pcm-voice";
703 };
704
705 qcom,msm-stub-codec {
706 compatible = "qcom,msm-stub-codec";
707 };
708
709 qcom,msm-dai-fe {
710 compatible = "qcom,msm-dai-fe";
711 };
712
713 qcom,msm-pcm-afe {
714 compatible = "qcom,msm-pcm-afe";
715 };
716
717 qcom,msm-dai-mi2s {
718 compatible = "qcom,msm-dai-mi2s";
719 qcom,msm-dai-q6-mi2s-prim {
720 compatible = "qcom,msm-dai-q6-mi2s";
721 qcom,msm-dai-q6-mi2s-dev-id = <0>;
Kuirong Wang16f52d62013-03-07 10:49:27 -0800722 qcom,msm-mi2s-rx-lines = <0>;
723 qcom,msm-mi2s-tx-lines = <3>;
Fred Oh92b18a02013-01-22 13:29:41 -0800724 };
725
726 qcom,msm-dai-q6-mi2s-sec {
727 compatible = "qcom,msm-dai-q6-mi2s";
728 qcom,msm-dai-q6-mi2s-dev-id = <1>;
Kuirong Wang16f52d62013-03-07 10:49:27 -0800729 qcom,msm-mi2s-rx-lines = <3>;
730 qcom,msm-mi2s-tx-lines = <0>;
Fred Oh92b18a02013-01-22 13:29:41 -0800731 };
732 };
733
734 qcom,msm-dai-q6 {
735 compatible = "qcom,msm-dai-q6";
736 qcom,msm-dai-q6-bt-sco-rx {
737 compatible = "qcom,msm-dai-q6-dev";
738 qcom,msm-dai-q6-dev-id = <12288>;
739 };
740
741 qcom,msm-dai-q6-bt-sco-tx {
742 compatible = "qcom,msm-dai-q6-dev";
743 qcom,msm-dai-q6-dev-id = <12289>;
744 };
745
746 qcom,msm-dai-q6-int-fm-rx {
747 compatible = "qcom,msm-dai-q6-dev";
748 qcom,msm-dai-q6-dev-id = <12292>;
749 };
750
751 qcom,msm-dai-q6-int-fm-tx {
752 compatible = "qcom,msm-dai-q6-dev";
753 qcom,msm-dai-q6-dev-id = <12293>;
754 };
755
756 qcom,msm-dai-q6-be-afe-pcm-rx {
757 compatible = "qcom,msm-dai-q6-dev";
758 qcom,msm-dai-q6-dev-id = <224>;
759 };
760
761 qcom,msm-dai-q6-be-afe-pcm-tx {
762 compatible = "qcom,msm-dai-q6-dev";
763 qcom,msm-dai-q6-dev-id = <225>;
764 };
765
766 qcom,msm-dai-q6-afe-proxy-rx {
767 compatible = "qcom,msm-dai-q6-dev";
768 qcom,msm-dai-q6-dev-id = <241>;
769 };
770
771 qcom,msm-dai-q6-afe-proxy-tx {
772 compatible = "qcom,msm-dai-q6-dev";
773 qcom,msm-dai-q6-dev-id = <240>;
774 };
Vicky Sehrawatfc8044f2013-04-18 11:34:32 -0700775
776 qcom,msm-dai-q6-incall-record-rx {
777 compatible = "qcom,msm-dai-q6-dev";
778 qcom,msm-dai-q6-dev-id = <32771>;
779 };
780
781 qcom,msm-dai-q6-incall-record-tx {
782 compatible = "qcom,msm-dai-q6-dev";
783 qcom,msm-dai-q6-dev-id = <32772>;
784 };
785
786 qcom,msm-dai-q6-incall-music-rx {
787 compatible = "qcom,msm-dai-q6-dev";
788 qcom,msm-dai-q6-dev-id = <32773>;
789 };
Avinash Vaishfb5a9eb2014-02-26 16:27:16 +0530790
791 qcom,msm-dai-q6-incall-music-2-rx {
792 compatible = "qcom,msm-dai-q6-dev";
793 qcom,msm-dai-q6-dev-id = <32770>;
794 };
Fred Oh92b18a02013-01-22 13:29:41 -0800795 };
796
797 qcom,msm-pcm-hostless {
798 compatible = "qcom,msm-pcm-hostless";
799 };
800
Sameer Thalappil3928fef2013-04-08 11:51:15 -0700801 qcom,wcnss-wlan@fb000000 {
802 compatible = "qcom,wcnss_wlan";
Sameer Thalappilb2b93672013-04-18 17:00:46 -0700803 reg = <0xfb000000 0x280000>,
804 <0xf9011008 0x04>;
805 reg-names = "wcnss_mmio", "wcnss_fiq";
Sameer Thalappil3928fef2013-04-08 11:51:15 -0700806 interrupts = <0 145 0>, <0 146 0>;
807 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
808
809 qcom,pronto-vddmx-supply = <&pm8110_l3>;
810 qcom,pronto-vddcx-supply = <&pm8110_s1>;
811 qcom,pronto-vddpx-supply = <&pm8110_l6>;
812 qcom,iris-vddxo-supply = <&pm8110_l10>;
813 qcom,iris-vddrfa-supply = <&pm8110_l5>;
814 qcom,iris-vddpa-supply = <&pm8110_l16>;
815 qcom,iris-vdddig-supply = <&pm8110_l5>;
816
817 gpios = <&msmgpio 23 0>, <&msmgpio 24 0>, <&msmgpio 25 0>, <&msmgpio 26 0>, <&msmgpio 27 0>;
Sameer Thalappil820f87b2013-05-21 20:40:54 -0700818 qcom,has-pronto-hw;
Sameer Thalappilb56dc142013-05-21 14:23:46 -0700819 qcom,wlan-rx-buff-count = <256>;
Sameer Thalappild3d6dcf2013-07-03 15:03:42 -0700820 qcom,has-autodetect-xo;
Sameer Thalappil3928fef2013-04-08 11:51:15 -0700821 };
822
Vikram Mulukutla186edd62013-02-22 14:10:40 -0800823 qcom,mss@fc880000 {
824 compatible = "qcom,pil-q6v5-mss";
825 reg = <0xfc880000 0x100>,
826 <0xfd485000 0x400>,
827 <0xfc820000 0x020>,
828 <0xfc401680 0x004>,
Vikram Mulukutla186edd62013-02-22 14:10:40 -0800829 <0xfd485194 0x4>;
830 reg-names = "qdsp6_base", "halt_base", "rmb_base",
Matt Wagantall724b2bb2013-03-18 14:54:06 -0700831 "restart_reg", "cxrail_bhs_reg";
Vikram Mulukutla186edd62013-02-22 14:10:40 -0800832
833 interrupts = <0 24 1>;
Vikram Mulukutla186edd62013-02-22 14:10:40 -0800834 vdd_cx-supply = <&pm8110_s1_corner>;
835 vdd_mx-supply = <&pm8110_l3>;
836 vdd_pll-supply = <&pm8110_l10>;
837 qcom,vdd_pll = <1800000>;
838 qcom,is-loadable;
839 qcom,firmware-name = "mba";
840 qcom,pil-self-auth;
Vikram Mulukutla7268d9f2013-04-01 16:57:57 -0700841
Seemanta Duttaa0f253e2013-01-16 18:54:40 -0800842 /* GPIO inputs from mss */
Vikram Mulukutla7268d9f2013-04-01 16:57:57 -0700843 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
Seemanta Dutta9fb72ed2013-01-25 14:22:15 -0800844 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
Seemanta Duttaa0f253e2013-01-16 18:54:40 -0800845 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
Seemanta Dutta0adbbf02013-03-12 17:26:17 -0700846 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>;
Vikram Mulukutla7268d9f2013-04-01 16:57:57 -0700847
848 /* GPIO output to mss */
849 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
Vikram Mulukutla186edd62013-02-22 14:10:40 -0800850 };
851
Vikram Mulukutla36d2dc42012-11-16 15:36:00 -0800852 qcom,lpass@fe200000 {
853 compatible = "qcom,pil-q6v5-lpass";
854 reg = <0xfe200000 0x00100>,
Matt Wagantall015b50af2013-03-05 18:51:16 -0800855 <0xfd485100 0x00010>,
856 <0xfc4016c0 0x00004>;
857 reg-names = "qdsp6_base", "halt_base", "restart_reg";
Vikram Mulukutla36d2dc42012-11-16 15:36:00 -0800858 interrupts = <0 162 1>;
Matt Wagantall6c515982013-01-29 14:58:43 -0800859 vdd_cx-supply = <&pm8110_s1_corner>;
Vikram Mulukutla36d2dc42012-11-16 15:36:00 -0800860 qcom,firmware-name = "adsp";
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -0700861
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -0700862 /* GPIO inputs from lpass */
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -0700863 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -0700864 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
Ravishankar Sarawadi7edc9d72013-04-09 18:15:03 -0700865 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -0700866
867 /* GPIO output to lpass */
868 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
Vikram Mulukutla36d2dc42012-11-16 15:36:00 -0800869 };
Siddartha Mohanadossf7d2f4d2013-03-11 22:10:15 -0700870
871 tsens: tsens@fc4a8000 {
872 compatible = "qcom,msm-tsens";
873 reg = <0xfc4a8000 0x2000>,
Siddartha Mohanadoss6ddc1922013-07-08 17:40:11 -0700874 <0xfc4bc000 0x1000>;
Siddartha Mohanadossf7d2f4d2013-03-11 22:10:15 -0700875 reg-names = "tsens_physical", "tsens_eeprom_physical";
876 interrupts = <0 184 0>;
877 qcom,sensors = <2>;
878 qcom,slope = <2901 2846>;
Siddartha Mohanadossb2f48982013-03-28 13:51:38 -0700879 qcom,calib-mode = "fuse_map3";
Siddartha Mohanadoss921f1f02013-04-04 16:30:03 -0700880 qcom,sensor-id = <0 5>;
Siddartha Mohanadossf7d2f4d2013-03-11 22:10:15 -0700881 };
882
Jennifer Liuf588d3a2013-04-05 10:11:48 -0700883 qcom,msm-thermal {
884 compatible = "qcom,msm-thermal";
Jennifer Liud17e9eb2013-04-17 11:56:58 -0700885 qcom,sensor-id = <5>;
Jennifer Liuf588d3a2013-04-05 10:11:48 -0700886 qcom,poll-ms = <250>;
887 qcom,limit-temp = <60>;
888 qcom,temp-hysteresis = <10>;
889 qcom,freq-step = <2>;
Praveen Chidambarama7435ce2013-05-03 12:52:42 -0600890 qcom,freq-control-mask = <0xf>;
Jennifer Liu1a70a9c2013-06-19 17:59:25 -0700891 qcom,core-limit-temp = <80>;
892 qcom,core-temp-hysteresis = <10>;
893 qcom,core-control-mask = <0xe>;
Jennifer Liu80a6a2e2013-09-24 18:31:58 -0700894 qcom,hotplug-temp = <110>;
895 qcom,hotplug-temp-hysteresis = <20>;
896 qcom,cpu-sensors = "tsens_tz_sensor5", "tsens_tz_sensor5",
897 "tsens_tz_sensor5", "tsens_tz_sensor5";
Jennifer Liu049780e2013-06-26 14:24:13 -0700898 qcom,vdd-restriction-temp = <5>;
899 qcom,vdd-restriction-temp-hysteresis = <10>;
Jennifer Liu9cddf2d2013-07-05 13:32:29 -0700900 vdd-dig-supply = <&pm8110_s1_floor_corner>;
Jennifer Liu049780e2013-06-26 14:24:13 -0700901
902 qcom,vdd-dig-rstr{
Jennifer Liu9cddf2d2013-07-05 13:32:29 -0700903 qcom,vdd-rstr-reg = "vdd-dig";
Jennifer Liu049780e2013-06-26 14:24:13 -0700904 qcom,levels = <5 7 7>; /* Nominal, Super Turbo, Super Turbo */
905 qcom,min-level = <1>; /* No Request */
906 };
907
908 qcom,vdd-apps-rstr{
Jennifer Liu9cddf2d2013-07-05 13:32:29 -0700909 qcom,vdd-rstr-reg = "vdd-apps";
Jennifer Liu049780e2013-06-26 14:24:13 -0700910 qcom,levels = <600000 787200 998400>;
911 qcom,freq-req;
912 };
Jennifer Liuf588d3a2013-04-05 10:11:48 -0700913 };
Jeff Hugoae4ab9f62013-04-08 13:43:08 -0600914
915 qcom,ipc-spinlock@fd484000 {
916 compatible = "qcom,ipc-spinlock-sfpb";
917 reg = <0xfd484000 0x400>;
918 qcom,num-locks = <8>;
919 };
Jeff Hugode2822a2013-04-08 14:09:38 -0600920
921 qcom,bam_dmux@fc834000 {
922 compatible = "qcom,bam_dmux";
923 reg = <0xfc834000 0x7000>;
924 interrupts = <0 29 1>;
925 };
Hariprasad Dhalinarasimha3a3e4e32013-04-14 16:18:30 -0700926
Neeti Desai8349e9c2013-07-17 11:29:33 -0700927 qcom,qseecom@da00000 {
Hariprasad Dhalinarasimha3a3e4e32013-04-14 16:18:30 -0700928 compatible = "qcom,qseecom";
Neeti Desai8349e9c2013-07-17 11:29:33 -0700929 reg = <0xda00000 0x100000>;
Hariprasad Dhalinarasimha3a3e4e32013-04-14 16:18:30 -0700930 reg-names = "secapp-region";
931 qcom,disk-encrypt-pipe-pair = <2>;
932 qcom,hlos-ce-hw-instance = <0>;
933 qcom,qsee-ce-hw-instance = <0>;
Zhen Kongebca50e2014-02-21 19:36:41 -0800934 qcom,support-bus-scaling;
Hariprasad Dhalinarasimha3a3e4e32013-04-14 16:18:30 -0700935 qcom,msm-bus,name = "qseecom-noc";
936 qcom,msm-bus,num-cases = <4>;
937 qcom,msm-bus,active-only = <0>;
938 qcom,msm-bus,num-paths = <1>;
939 qcom,msm-bus,vectors-KBps =
940 <55 512 0 0>,
Zhen Kongebca50e2014-02-21 19:36:41 -0800941 <55 512 0 0>,
942 <55 512 120000 1200000>,
943 <55 512 393600 3936000>;
Hariprasad Dhalinarasimha3a3e4e32013-04-14 16:18:30 -0700944 };
Aparna Dase7cab2e2013-04-16 16:54:47 -0700945
Hariprasad Dhalinarasimhac8e0f312013-04-13 17:18:50 -0700946 qcom,msm-rng@f9bff000 {
947 compatible = "qcom,msm-rng";
948 reg = <0xf9bff000 0x200>;
949 qcom,msm-rng-iface-clk;
Hariprasad Dhalinarasimhae799fb72013-06-03 13:51:38 -0700950 qcom,msm-bus,name = "msm-rng-noc";
951 qcom,msm-bus,num-cases = <2>;
952 qcom,msm-bus,num-paths = <1>;
953 qcom,msm-bus,vectors-KBps =
Liam Fernandez9c08efa2013-11-07 15:06:26 -0800954 <54 618 0 0>,
955 <54 618 0 800>;
Hariprasad Dhalinarasimhac8e0f312013-04-13 17:18:50 -0700956 };
957
Aparna Das2948da92013-04-25 10:11:15 -0700958 qcom,msm-rtb {
959 compatible = "qcom,msm-rtb";
960 qcom,memory-reservation-type = "EBI1";
961 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
962 };
963
Pratik Patel3a2f0922013-06-13 23:52:05 -0700964 jtag_fuse: jtagfuse@fc4be024 {
965 compatible = "qcom,jtag-fuse";
966 reg = <0xfc4be024 0x8>;
967 reg-names = "fuse-base";
968 };
969
Aparna Dase7cab2e2013-04-16 16:54:47 -0700970 jtag_mm0: jtagmm@fc34c000 {
971 compatible = "qcom,jtag-mm";
972 reg = <0xfc34c000 0x1000>,
973 <0xfc340000 0x1000>;
974 reg-names = "etm-base","debug-base";
975 };
976
977 jtag_mm1: jtagmm@fc34d000 {
978 compatible = "qcom,jtag-mm";
979 reg = <0xfc34d000 0x1000>,
980 <0xfc342000 0x1000>;
981 reg-names = "etm-base","debug-base";
982 };
983
984 jtag_mm2: jtagmm@fc34e000 {
985 compatible = "qcom,jtag-mm";
986 reg = <0xfc34e000 0x1000>,
987 <0xfc344000 0x1000>;
988 reg-names = "etm-base","debug-base";
989 };
990
991 jtag_mm3: jtagmm@fc34f000 {
992 compatible = "qcom,jtag-mm";
993 reg = <0xfc34f000 0x1000>,
994 <0xfc346000 0x1000>;
995 reg-names = "etm-base","debug-base";
996 };
Hariprasad Dhalinarasimha9d3638a2013-04-13 22:42:11 -0700997
998 qcom,tz-log@fe805720 {
999 compatible = "qcom,tz-log";
1000 reg = <0x0fe805720 0x1000>;
1001 };
Hariprasad Dhalinarasimha30af29a2013-05-07 17:48:04 -07001002
1003 qcom,qcrypto@fd404000 {
1004 compatible = "qcom,qcrypto";
1005 reg = <0xfd400000 0x20000>,
1006 <0xfd404000 0x8000>;
1007 reg-names = "crypto-base","crypto-bam-base";
1008 interrupts = <0 207 0>;
1009 qcom,bam-pipe-pair = <2>;
1010 qcom,ce-hw-instance = <1>;
Zhen Kong62408f52014-03-25 12:33:03 -07001011 qcom,ce-device = <0>;
Hariprasad Dhalinarasimha30af29a2013-05-07 17:48:04 -07001012 qcom,ce-hw-shared;
1013 qcom,msm-bus,name = "qcrypto-noc";
1014 qcom,msm-bus,num-cases = <2>;
1015 qcom,msm-bus,active-only = <0>;
1016 qcom,msm-bus,num-paths = <1>;
1017 qcom,msm-bus,vectors-KBps =
1018 <55 512 0 0>,
1019 <55 512 393600 3936000>;
1020 };
1021
1022 qcom,qcedev@fd400000 {
1023 compatible = "qcom,qcedev";
1024 reg = <0xfd400000 0x20000>,
1025 <0xfd404000 0x8000>;
1026 reg-names = "crypto-base","crypto-bam-base";
1027 interrupts = <0 207 0>;
1028 qcom,bam-pipe-pair = <1>;
1029 qcom,ce-hw-instance = <1>;
Zhen Kong62408f52014-03-25 12:33:03 -07001030 qcom,ce-device = <0>;
Hariprasad Dhalinarasimha30af29a2013-05-07 17:48:04 -07001031 qcom,ce-hw-shared;
1032 qcom,msm-bus,name = "qcedev-noc";
1033 qcom,msm-bus,num-cases = <2>;
1034 qcom,msm-bus,active-only = <0>;
1035 qcom,msm-bus,num-paths = <1>;
1036 qcom,msm-bus,vectors-KBps =
1037 <55 512 0 0>,
1038 <55 512 393600 3936000>;
1039 };
1040
Neil Leeder23b9fa42013-07-11 09:23:45 -04001041 cpu-pmu {
1042 compatible = "arm,cortex-a7-pmu";
1043 qcom,irq-is-percpu;
1044 interrupts = <1 7 0xf00>;
1045 };
Neil Leeder16a60552014-04-01 16:28:21 -04001046
1047 bimc_sharedmem {
1048 compatible = "qcom,sharedmem-uio";
1049 reg = <0xfc380000 0x00100000>;
1050 reg-names = "bimc";
1051 };
Syed Rameez Mustafad3935822012-10-09 11:23:20 -07001052};
David Collinsc6b34832012-10-24 12:57:57 -07001053
Matt Wagantall1bf56932012-11-29 15:03:29 -08001054&gdsc_vfe {
Matt Wagantall831f0ff2013-08-16 13:29:55 -07001055 qcom,clock-names = "core_clk", "iface_clk", "bus_clk";
Matt Wagantall1bf56932012-11-29 15:03:29 -08001056 status = "ok";
1057};
1058
1059&gdsc_oxili_cx {
Matt Wagantallde70dbb2013-07-03 21:07:09 -07001060 qcom,clock-names = "core_clk", "iface_clk", "mem_clk";
Matt Wagantall1bf56932012-11-29 15:03:29 -08001061 status = "ok";
1062};
1063
Olav Haugan9c255522012-11-16 16:43:17 -08001064&lpass_iommu {
1065 status = "ok";
1066};
1067
1068&copss_iommu {
1069 status = "ok";
1070};
1071
1072&mdpe_iommu {
1073 status = "ok";
1074};
1075
1076&mdps_iommu {
1077 status = "ok";
1078};
1079
1080&gfx_iommu {
1081 status = "ok";
1082};
1083
1084&vfe_iommu {
1085 status = "ok";
1086};
1087
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -08001088/include/ "msm8610-iommu-domains.dtsi"
Olav Haugan4bc4b692012-12-10 18:29:35 -08001089
Xiaozhe Shi350baa92013-04-09 18:13:50 -07001090/include/ "msm-pm8110-rpm-regulator.dtsi"
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -07001091/include/ "msm-pm8110.dtsi"
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -08001092/include/ "msm8610-regulator.dtsi"
Siddartha Mohanadoss0f664a82013-03-11 22:52:01 -07001093
1094&pm8110_vadc {
1095 chan@0 {
1096 label = "usb_in";
1097 reg = <0>;
1098 qcom,decimation = <0>;
1099 qcom,pre-div-channel-scaling = <4>;
1100 qcom,calibration-type = "absolute";
1101 qcom,scale-function = <0>;
1102 qcom,hw-settle-time = <0>;
1103 qcom,fast-avg-setup = <0>;
1104 };
1105
1106 chan@2 {
1107 label = "vchg_sns";
1108 reg = <2>;
1109 qcom,decimation = <0>;
Dipen Parmare548fd12014-01-19 23:15:14 +05301110 qcom,pre-div-channel-scaling = <5>;
Siddartha Mohanadoss0f664a82013-03-11 22:52:01 -07001111 qcom,calibration-type = "absolute";
1112 qcom,scale-function = <0>;
1113 qcom,hw-settle-time = <0>;
1114 qcom,fast-avg-setup = <0>;
1115 };
1116
1117 chan@5 {
1118 label = "vcoin";
1119 reg = <5>;
1120 qcom,decimation = <0>;
1121 qcom,pre-div-channel-scaling = <1>;
1122 qcom,calibration-type = "absolute";
1123 qcom,scale-function = <0>;
1124 qcom,hw-settle-time = <0>;
1125 qcom,fast-avg-setup = <0>;
1126 };
1127
1128 chan@6 {
1129 label = "vbat_sns";
1130 reg = <6>;
1131 qcom,decimation = <0>;
1132 qcom,pre-div-channel-scaling = <1>;
1133 qcom,calibration-type = "absolute";
1134 qcom,scale-function = <0>;
1135 qcom,hw-settle-time = <0>;
1136 qcom,fast-avg-setup = <0>;
1137 };
1138
1139 chan@7 {
1140 label = "vph_pwr";
1141 reg = <7>;
1142 qcom,decimation = <0>;
1143 qcom,pre-div-channel-scaling = <1>;
1144 qcom,calibration-type = "absolute";
1145 qcom,scale-function = <0>;
1146 qcom,hw-settle-time = <0>;
1147 qcom,fast-avg-setup = <0>;
1148 };
1149
1150 chan@30 {
1151 label = "batt_therm";
1152 reg = <0x30>;
1153 qcom,decimation = <0>;
1154 qcom,pre-div-channel-scaling = <0>;
1155 qcom,calibration-type = "ratiometric";
1156 qcom,scale-function = <1>;
1157 qcom,hw-settle-time = <2>;
1158 qcom,fast-avg-setup = <0>;
1159 };
1160
1161 chan@31 {
1162 label = "batt_id";
1163 reg = <0x31>;
1164 qcom,decimation = <0>;
1165 qcom,pre-div-channel-scaling = <0>;
1166 qcom,calibration-type = "ratiometric";
1167 qcom,scale-function = <0>;
1168 qcom,hw-settle-time = <2>;
1169 qcom,fast-avg-setup = <0>;
1170 };
1171
1172 chan@b2 {
1173 label = "xo_therm_pu2";
1174 reg = <0xb2>;
1175 qcom,decimation = <0>;
1176 qcom,pre-div-channel-scaling = <0>;
1177 qcom,calibration-type = "ratiometric";
1178 qcom,scale-function = <4>;
1179 qcom,hw-settle-time = <2>;
1180 qcom,fast-avg-setup = <0>;
1181 };
Siddartha Mohanadoss984b11e2013-05-31 18:05:51 -07001182
1183 chan@13 {
1184 label = "pa_therm0";
1185 reg = <0x13>;
1186 qcom,decimation = <0>;
1187 qcom,pre-div-channel-scaling = <0>;
1188 qcom,calibration-type = "ratiometric";
1189 qcom,scale-function = <2>;
1190 qcom,hw-settle-time = <2>;
1191 qcom,fast-avg-setup = <0>;
1192 };
Siddartha Mohanadoss0f664a82013-03-11 22:52:01 -07001193};
1194
Siddartha Mohanadoss236e0952013-05-13 10:40:26 -07001195&pm8110_adc_tm {
1196 /* Channel Node */
1197 chan@30 {
1198 label = "batt_therm";
1199 reg = <0x30>;
1200 qcom,decimation = <0>;
1201 qcom,pre-div-channel-scaling = <0>;
1202 qcom,calibration-type = "ratiometric";
1203 qcom,scale-function = <1>;
1204 qcom,hw-settle-time = <2>;
1205 qcom,fast-avg-setup = <3>;
1206 qcom,btm-channel-number = <0x48>;
Siddartha Mohanadoss58ffe0e2014-02-11 17:40:13 -08001207 qcom,meas-interval-timer-idx = <2>;
Siddartha Mohanadoss236e0952013-05-13 10:40:26 -07001208 };
Siddartha Mohanadoss0f664a82013-03-11 22:52:01 -07001209
Siddartha Mohanadoss236e0952013-05-13 10:40:26 -07001210 chan@8 {
1211 label = "die_temp";
1212 reg = <8>;
1213 qcom,decimation = <0>;
1214 qcom,pre-div-channel-scaling = <0>;
1215 qcom,calibration-type = "absolute";
1216 qcom,scale-function = <3>;
1217 qcom,hw-settle-time = <0>;
1218 qcom,fast-avg-setup = <3>;
1219 qcom,btm-channel-number = <0x68>;
1220 };
1221
1222 chan@6 {
1223 label = "vbat_sns";
1224 reg = <6>;
1225 qcom,decimation = <0>;
1226 qcom,pre-div-channel-scaling = <1>;
1227 qcom,calibration-type = "absolute";
1228 qcom,scale-function = <0>;
1229 qcom,hw-settle-time = <0>;
1230 qcom,fast-avg-setup = <3>;
1231 qcom,btm-channel-number = <0x70>;
1232 };
Siddartha Mohanadoss984b11e2013-05-31 18:05:51 -07001233
1234 chan@13 {
1235 label = "pa_therm0";
1236 reg = <0x13>;
1237 qcom,decimation = <0>;
1238 qcom,pre-div-channel-scaling = <0>;
1239 qcom,calibration-type = "ratiometric";
1240 qcom,scale-function = <2>;
1241 qcom,hw-settle-time = <2>;
1242 qcom,fast-avg-setup = <0>;
1243 qcom,btm-channel-number = <0x78>;
1244 qcom,thermal-node;
1245 };
Siddartha Mohanadoss236e0952013-05-13 10:40:26 -07001246};