blob: 8e63df7b6a80d722d8779987f820ce513e1b88ba [file] [log] [blame]
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -08001/* Copyright (c) 2012-2013, 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"
Olav Haugan54166782013-01-28 16:59:51 -080014/include/ "msm-iommu-v0.dtsi"
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -080015/include/ "msm8610-ion.dtsi"
Lokesh Batra8d55eec2013-02-26 11:31:21 -080016/include/ "msm8610-gpu.dtsi"
Matt Wagantall1bf56932012-11-29 15:03:29 -080017/include/ "msm-gdsc.dtsi"
Aparna Dasd16555b2013-03-06 15:46:38 -080018/include/ "msm8610-coresight.dtsi"
Praveen Chidambarama1f98282012-11-29 09:56:57 -070019/include/ "msm8610-pm.dtsi"
Jeff Hugo53dcf0f2013-03-20 12:37:50 -060020/include/ "msm8610-smp2p.dtsi"
Gagan Macbced3872013-02-04 19:18:04 -070021/include/ "msm8610-bus.dtsi"
Xiaoming Zhou5f37a252013-04-09 21:11:50 -040022/include/ "msm8610-mdss.dtsi"
Syed Rameez Mustafad3935822012-10-09 11:23:20 -070023
24/ {
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -080025 model = "Qualcomm MSM 8610";
26 compatible = "qcom,msm8610";
Syed Rameez Mustafad3935822012-10-09 11:23:20 -070027 interrupt-parent = <&intc>;
28
29 intc: interrupt-controller@f9000000 {
30 compatible = "qcom,msm-qgic2";
31 interrupt-controller;
32 #interrupt-cells = <3>;
33 reg = <0xf9000000 0x1000>,
34 <0xf9002000 0x1000>;
35 };
36
37 msmgpio: gpio@fd510000 {
38 compatible = "qcom,msm-gpio";
39 interrupt-controller;
40 #interrupt-cells = <2>;
41 reg = <0xfd510000 0x4000>;
Syed Rameez Mustafa86cccfc2012-12-10 18:06:08 -080042 gpio-controller;
Syed Rameez Mustafad3935822012-10-09 11:23:20 -070043 #gpio-cells = <2>;
Rohit Vaswani341c2032012-11-08 18:49:29 -080044 ngpio = <102>;
Rohit Vaswanid2001522012-12-05 19:23:44 -080045 interrupts = <0 208 0>;
Rohit Vaswanied0a4ef2012-12-11 15:14:42 -080046 qcom,direct-connect-irqs = <8>;
Syed Rameez Mustafad3935822012-10-09 11:23:20 -070047 };
48
Laura Abbott429e82b2013-03-25 13:03:06 -070049 memory {
50
51 qsecom_mem: qsecom_region {
52 linux,contiguous-region;
53 reg = <0 0x100000>;
54 label = "qsecom_mem";
55 };
56
57 };
58
Gilad Avidovf58f1832013-01-09 17:31:28 -070059 aliases {
Venkat Gopalakrishnana6ce5f22013-04-04 14:24:57 -070060 sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
61 sdhc2 = &sdhc_2; /* SDC2 SD card slot */
Gilad Avidovf58f1832013-01-09 17:31:28 -070062 };
63
Abhimanyu Kapur58d303a72013-04-30 16:13:41 -070064 qcom,mpm2-sleep-counter@fc4a3000 {
65 compatible = "qcom,mpm2-sleep-counter";
66 reg = <0xfc4a3000 0x1000>;
67 clock-frequency = <32768>;
68 };
69
Syed Rameez Mustafafd9ac032012-10-10 17:52:07 -070070 timer {
Syed Rameez Mustafa0824d6c2012-11-29 18:53:56 -080071 compatible = "arm,armv7-timer";
Syed Rameez Mustafafd9ac032012-10-10 17:52:07 -070072 interrupts = <1 2 0 1 3 0>;
Syed Rameez Mustafad3935822012-10-09 11:23:20 -070073 clock-frequency = <19200000>;
74 };
75
Stephen Boyda61ac642013-04-10 14:20:27 -070076 timer@f9020000 {
77 #address-cells = <1>;
78 #size-cells = <1>;
79 ranges;
80 compatible = "arm,armv7-timer-mem";
81 reg = <0xf9020000 0x1000>;
82 clock-frequency = <19200000>;
83
84 frame@f9021000 {
85 frame-number = <0>;
86 interrupts = <0 8 0x4>,
87 <0 7 0x4>;
88 reg = <0xf9021000 0x1000>,
89 <0xf9022000 0x1000>;
90 };
91
92 frame@f9023000 {
93 frame-number = <1>;
94 interrupts = <0 9 0x4>;
95 reg = <0xf9023000 0x1000>;
96 status = "disabled";
97 };
98
99 frame@f9024000 {
100 frame-number = <2>;
101 interrupts = <0 10 0x4>;
102 reg = <0xf9024000 0x1000>;
103 status = "disabled";
104 };
105
106 frame@f9025000 {
107 frame-number = <3>;
108 interrupts = <0 11 0x4>;
109 reg = <0xf9025000 0x1000>;
110 status = "disabled";
111 };
112
113 frame@f9026000 {
114 frame-number = <4>;
115 interrupts = <0 12 0x4>;
116 reg = <0xf9026000 0x1000>;
117 status = "disabled";
118 };
119
120 frame@f9027000 {
121 frame-number = <5>;
122 interrupts = <0 13 0x4>;
123 reg = <0xf9027000 0x1000>;
124 status = "disabled";
125 };
126
127 frame@f9028000 {
128 frame-number = <6>;
129 interrupts = <0 14 0x4>;
130 reg = <0xf9028000 0x1000>;
131 status = "disabled";
132 };
133 };
134
Arun Menon2a7e3772013-01-17 12:06:59 -0800135 qcom,msm-adsp-loader {
136 compatible = "qcom,adsp-loader";
137 qcom,adsp-state = <0>;
138 };
139
Fred Ohe49386d2013-05-02 17:53:27 -0700140 qcom,msm-audio-ion {
141 compatible = "qcom,msm-audio-ion";
142 qcom,smmu-enabled;
143 };
144
Abhimanyu Kapur032b1f42013-01-18 00:10:50 -0800145 qcom,msm-imem@fe805000 {
146 compatible = "qcom,msm-imem";
147 reg = <0xfe805000 0x1000>; /* Address and size of IMEM */
148 };
149
Syed Rameez Mustafad3935822012-10-09 11:23:20 -0700150 serial@f991f000 {
151 compatible = "qcom,msm-lsuart-v14";
152 reg = <0xf991f000 0x1000>;
153 interrupts = <0 109 0>;
154 status = "disabled";
155 };
Mayank Rana55db0cb2012-10-15 16:50:06 +0530156
Hanumant Singh6b346712013-04-09 16:26:09 -0700157 serial@f991e000 {
158 compatible = "qcom,msm-lsuart-v14";
159 reg = <0xf991e000 0x1000>;
160 interrupts = <0 108 0>;
161 status = "disabled";
162 };
163
Arun Menon8e25dd42013-01-11 14:11:54 -0800164 qcom,vidc@fdc00000 {
165 compatible = "qcom,msm-vidc";
Sachin Shah4e1c8fe2013-03-20 15:10:05 -0700166 qcom,vidc-ns-map = <0x40000000 0x40000000>;
167 qcom,iommu-groups = <&q6_domain_ns>;
168 qcom,iommu-group-buffer-types = <0xfff>;
169 qcom,buffer-type-tz-usage-map = <0x1 0x1>,
170 <0x1fe 0x2>;
171 qcom,hfi = "q6";
Arun Menonede58642013-04-26 14:19:06 -0700172 qcom,max-hw-load = <108000>; /* 720p @ 30 * 1 */
Arun Menon8e25dd42013-01-11 14:11:54 -0800173 };
174
Vamsi Krishna872fbbc2013-04-09 18:04:52 -0700175 qcom,usbbam@f9a44000 {
176 compatible = "qcom,usb-bam-msm";
177 reg = <0xf9a44000 0x11000>;
178 reg-names = "hsusb";
179 interrupts = <0 135 0>;
180 interrupt-names = "hsusb";
181 qcom,usb-bam-num-pipes = <16>;
182 qcom,usb-bam-fifo-baseaddr = <0xfe803000>;
183 qcom,ignore-core-reset-ack;
184 qcom,disable-clk-gating;
185
186 qcom,pipe0 {
187 label = "hsusb-qdss-in-0";
188 qcom,usb-bam-mem-type = <3>;
189 qcom,bam-type = <1>;
190 qcom,dir = <1>;
191 qcom,pipe-num = <0>;
192 qcom,peer-bam = <1>;
193 qcom,src-bam-physical-address = <0xfc37c000>;
194 qcom,src-bam-pipe-index = <0>;
195 qcom,dst-bam-physical-address = <0xf9a44000>;
196 qcom,dst-bam-pipe-index = <2>;
197 qcom,data-fifo-offset = <0x0>;
198 qcom,data-fifo-size = <0x600>;
199 qcom,descriptor-fifo-offset = <0x600>;
200 qcom,descriptor-fifo-size = <0x200>;
201 };
202 };
203
Mayank Rana55db0cb2012-10-15 16:50:06 +0530204 usb@f9a55000 {
205 compatible = "qcom,hsusb-otg";
206 reg = <0xf9a55000 0x400>;
Mayank Rana33d26662013-01-17 10:22:25 +0530207 interrupts = <0 134 0>, <0 140 0>;
208 interrupt-names = "core_irq", "async_irq";
Mayank Rana76c6ce22012-11-07 17:07:58 +0530209 HSUSB_VDDCX-supply = <&pm8110_s1>;
210 HSUSB_1p8-supply = <&pm8110_l10>;
211 HSUSB_3p3-supply = <&pm8110_l20>;
Mayank Rana55db0cb2012-10-15 16:50:06 +0530212
213 qcom,hsusb-otg-phy-type = <2>;
214 qcom,hsusb-otg-mode = <1>;
Mayank Rana29bb9f22013-04-04 18:25:12 +0530215 qcom,hsusb-otg-otg-control = <2>;
Mayank Rana55db0cb2012-10-15 16:50:06 +0530216 qcom,hsusb-otg-disable-reset;
Mayank Ranaa5491122013-04-04 18:32:25 +0530217 qcom,dp-manual-pullup;
Mayank Ranaf9295802013-04-04 18:36:44 +0530218
219 qcom,msm-bus,name = "usb2";
220 qcom,msm-bus,num-cases = <2>;
221 qcom,msm-bus,active-only = <0>;
222 qcom,msm-bus,num-paths = <1>;
223 qcom,msm-bus,vectors-KBps =
224 <87 512 0 0>,
225 <87 512 60000 960000>;
Mayank Rana55db0cb2012-10-15 16:50:06 +0530226 };
227
Mayank Ranacc0c5452013-01-29 16:41:53 +0530228 android_usb@fe8050c8 {
Mayank Rana55db0cb2012-10-15 16:50:06 +0530229 compatible = "qcom,android-usb";
Mayank Ranacc0c5452013-01-29 16:41:53 +0530230 reg = <0xfe8050c8 0xc8>;
Mayank Rana55db0cb2012-10-15 16:50:06 +0530231 };
232
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700233 sdcc1: qcom,sdcc@f9824000 {
234 cell-index = <1>; /* SDC1 eMMC slot */
235 compatible = "qcom,msm-sdcc";
Oluwafemi Adeyemi4641e7f2012-11-28 16:12:56 -0800236 reg = <0xf9824000 0x800>,
237 <0xf9824800 0x100>,
238 <0xf9804000 0x7000>;
239 reg-names = "core_mem", "dml_mem", "bam_mem";
240 interrupts = <0 123 0>, <0 137 0>;
241 interrupt-names = "core_irq", "bam_irq";
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700242
Oluwafemi Adeyemid0035622012-11-02 12:07:06 -0700243 vdd-supply = <&pm8110_l17>;
244 qcom,vdd-always-on;
245 qcom,vdd-lpm-sup;
246 qcom,vdd-voltage-level = <2900000 2900000>;
247 qcom,vdd-current-level = <9000 400000>;
248
249 vdd-io-supply = <&pm8110_l6>;
250 qcom,vdd-io-always-on;
251 qcom,vdd-io-lpm-sup;
252 qcom,vdd-io-voltage-level = <1800000 1800000>;
253 qcom,vdd-io-current-level = <9000 60000>;
254
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700255 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
256 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700257 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700258 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700259
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700260 qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>;
Oluwafemi Adeyemid0035622012-11-02 12:07:06 -0700261 qcom,sup-voltages = <2900 2900>;
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700262 qcom,bus-width = <8>;
263 qcom,nonremovable;
264 qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
Venkat Gopalakrishnan587b2252013-04-05 12:16:50 -0700265
266 status = "disabled";
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700267 };
268
269 sdcc2: qcom,sdcc@f98a4000 {
270 cell-index = <2>; /* SDC2 SD card slot */
271 compatible = "qcom,msm-sdcc";
Oluwafemi Adeyemi4641e7f2012-11-28 16:12:56 -0800272 reg = <0xf98a4000 0x800>,
273 <0xf98a4800 0x100>,
274 <0xf9884000 0x7000>;
275 reg-names = "core_mem", "dml_mem", "bam_mem";
276 interrupts = <0 125 0>, <0 220 0>;
277 interrupt-names = "core_irq", "bam_irq";
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700278
Oluwafemi Adeyemid0035622012-11-02 12:07:06 -0700279 vdd-supply = <&pm8110_l18>;
280 qcom,vdd-voltage-level = <2950000 2950000>;
281 qcom,vdd-current-level = <9000 400000>;
282
283 vdd-io-supply = <&pm8110_l21>;
284 qcom,vdd-io-voltage-level = <1800000 2950000>;
285 qcom,vdd-io-current-level = <9000 50000>;
286
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700287 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
288 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700289 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700290 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700291
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700292 qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>;
293 qcom,sup-voltages = <2950 2950>;
294 qcom,bus-width = <4>;
295 qcom,xpc;
296 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104";
297 qcom,current-limit = <800>;
Venkat Gopalakrishnan587b2252013-04-05 12:16:50 -0700298
299 status = "disabled";
Oluwafemi Adeyemi58289bf2012-10-16 17:24:33 -0700300 };
301
Venkat Gopalakrishnana6ce5f22013-04-04 14:24:57 -0700302 sdhc_1: sdhci@f9824900 {
303 compatible = "qcom,sdhci-msm";
304 reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
305 reg-names = "hc_mem", "core_mem";
306
307 interrupts = <0 123 0>, <0 138 0>;
308 interrupt-names = "hc_irq", "pwr_irq";
309
310 qcom,bus-width = <8>;
311 status = "disabled";
312 };
313
314 sdhc_2: sdhci@f98a4900 {
315 compatible = "qcom,sdhci-msm";
316 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
317 reg-names = "hc_mem", "core_mem";
318
319 interrupts = <0 125 0>, <0 221 0>;
320 interrupt-names = "hc_irq", "pwr_irq";
321
322 qcom,bus-width = <4>;
323 status = "disabled";
324 };
325
Yan He6c7304c2012-11-09 22:07:08 -0800326 qcom,sps {
327 compatible = "qcom,msm_sps";
328 qcom,device-type = <3>;
329 };
330
Jeff Hugo4e20fda2013-04-10 12:40:19 -0600331 qcom,smem@d900000 {
Jeff Hugo818d0f72012-11-05 14:19:28 -0700332 compatible = "qcom,smem";
Jeff Hugoe1e30e72013-04-08 14:15:34 -0600333 reg = <0xd900000 0x100000>,
Stepan Moskovchenkod6ee8262013-02-06 11:26:05 -0800334 <0xf9011000 0x1000>,
Jeff Hugo818d0f72012-11-05 14:19:28 -0700335 <0xfc428000 0x4000>;
336 reg-names = "smem", "irq-reg-base", "aux-mem1";
337
338 qcom,smd-modem {
339 compatible = "qcom,smd";
340 qcom,smd-edge = <0>;
341 qcom,smd-irq-offset = <0x8>;
342 qcom,smd-irq-bitmask = <0x1000>;
343 qcom,pil-string = "modem";
344 interrupts = <0 25 1>;
345 };
346
347 qcom,smsm-modem {
348 compatible = "qcom,smsm";
349 qcom,smsm-edge = <0>;
350 qcom,smsm-irq-offset = <0x8>;
351 qcom,smsm-irq-bitmask = <0x2000>;
352 interrupts = <0 26 1>;
353 };
354
355 qcom,smd-adsp {
356 compatible = "qcom,smd";
357 qcom,smd-edge = <1>;
358 qcom,smd-irq-offset = <0x8>;
359 qcom,smd-irq-bitmask = <0x100>;
360 qcom,pil-string = "adsp";
361 interrupts = <0 156 1>;
362 };
363
364 qcom,smsm-adsp {
365 compatible = "qcom,smsm";
366 qcom,smsm-edge = <1>;
367 qcom,smsm-irq-offset = <0x8>;
368 qcom,smsm-irq-bitmask = <0x200>;
369 interrupts = <0 157 1>;
370 };
371
372 qcom,smd-wcnss {
373 compatible = "qcom,smd";
374 qcom,smd-edge = <6>;
375 qcom,smd-irq-offset = <0x8>;
376 qcom,smd-irq-bitmask = <0x20000>;
377 qcom,pil-string = "wcnss";
378 interrupts = <0 142 1>;
379 };
380
381 qcom,smsm-wcnss {
382 compatible = "qcom,smsm";
383 qcom,smsm-edge = <6>;
384 qcom,smsm-irq-offset = <0x8>;
385 qcom,smsm-irq-bitmask = <0x80000>;
386 interrupts = <0 144 1>;
387 };
388
389 qcom,smd-rpm {
390 compatible = "qcom,smd";
391 qcom,smd-edge = <15>;
392 qcom,smd-irq-offset = <0x8>;
393 qcom,smd-irq-bitmask = <0x1>;
394 interrupts = <0 168 1>;
395 qcom,irq-no-suspend;
396 };
David Ng5a3cb232012-12-03 16:42:53 -0800397 };
Hanumant Singh4e334c82012-11-14 10:16:39 -0800398
Praveen Chidambarama1f98282012-11-29 09:56:57 -0700399 rpm_bus: qcom,rpm-smd {
400 compatible = "qcom,rpm-smd";
401 rpm-channel-name = "rpm_requests";
402 rpm-channel-type = <15>; /* SMD_APPS_RPM */
Priyanka Mathur6e993c92013-03-20 11:17:27 -0700403 rpm-standalone;
Praveen Chidambarama1f98282012-11-29 09:56:57 -0700404 };
405
Olav Haugan8340d932013-01-25 12:03:11 -0800406 qcom,msm-mem-hole {
407 compatible = "qcom,msm-mem-hole";
Olav Hauganfcc860e2013-04-06 10:56:06 -0700408 qcom,memblock-remove = <0x07B00000 0x6400000>; /* Address and Size of Hole */
Olav Haugan8340d932013-01-25 12:03:11 -0800409 };
410
Hanumant Singh4e334c82012-11-14 10:16:39 -0800411 qcom,wdt@f9017000 {
412 compatible = "qcom,msm-watchdog";
413 reg = <0xf9017000 0x1000>;
414 interrupts = <0 3 0>, <0 4 0>;
415 qcom,bark-time = <11000>;
416 qcom,pet-time = <10000>;
Mitchel Humpherys1be23802012-11-16 15:52:32 -0800417 qcom,ipi-ping;
Jeff Hugo818d0f72012-11-05 14:19:28 -0700418 };
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700419
Vikram Mulukutlaa3cebff2013-01-28 13:54:54 -0800420 qcom,acpuclk@f9011050 {
421 compatible = "qcom,acpuclk-a7";
422 reg = <0xf9011050 0x8>;
423 reg-names = "rcg_base";
Patrick Dalyf9451d22013-03-20 14:20:12 -0700424 a7_cpu-supply = <&apc_vreg_corner>;
Vikram Mulukutlaa3cebff2013-01-28 13:54:54 -0800425 };
426
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700427 spmi_bus: qcom,spmi@fc4c0000 {
428 cell-index = <0>;
429 compatible = "qcom,spmi-pmic-arb";
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700430 reg-names = "core", "intr", "cnfg";
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700431 reg = <0xfc4cf000 0x1000>,
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700432 <0Xfc4cb000 0x1000>,
433 <0Xfc4ca000 0x1000>;
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700434 /* 190,ee0_krait_hlos_spmi_periph_irq */
435 /* 187,channel_0_krait_hlos_trans_done_irq */
436 interrupts = <0 190 0>, <0 187 0>;
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700437 qcom,pmic-arb-ee = <0>;
438 qcom,pmic-arb-channel = <0>;
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700439 };
440
Chun Zhangf39a0652013-05-01 15:57:54 -0700441 i2c@f9923000 { /* BLSP-1 QUP-1 */
442 cell-index = <1>;
Gilad Avidovf84f2792013-01-31 13:26:39 -0700443 compatible = "qcom,i2c-qup";
444 #address-cells = <1>;
445 #size-cells = <0>;
446 reg-names = "qup_phys_addr";
Chun Zhangf39a0652013-05-01 15:57:54 -0700447 reg = <0xf9923000 0x1000>;
Gilad Avidovf84f2792013-01-31 13:26:39 -0700448 interrupt-names = "qup_err_intr";
Chun Zhangf39a0652013-05-01 15:57:54 -0700449 interrupts = <0 95 0>;
Gilad Avidovf84f2792013-01-31 13:26:39 -0700450 qcom,i2c-bus-freq = <100000>;
Chun Zhangf39a0652013-05-01 15:57:54 -0700451 qcom,i2c-src-freq = <19200000>;
452 qcom,sda-gpio = <&msmgpio 2 0>;
453 qcom,scl-gpio = <&msmgpio 3 0>;
Gilad Avidovf84f2792013-01-31 13:26:39 -0700454 };
455
Kuirong Wangc6d072c2013-01-29 10:33:03 -0800456 i2c_cdc: i2c@f9927000 { /* BLSP1 QUP5 */
457 cell-index = <5>;
458 compatible = "qcom,i2c-qup";
459 #address-cells = <1>;
460 #size-cells = <0>;
461 reg-names = "qup_phys_addr";
462 reg = <0xf9927000 0x1000>;
463 interrupt-names = "qup_err_intr";
464 interrupts = <0 99 0>;
465 qcom,i2c-bus-freq = <100000>;
466 };
467
Kenneth Heitke0d4fbb12013-04-10 12:51:14 -0600468 i2c@f9928000 { /* BLSP1 QUP6 */
469 cell-index = <6>;
470 compatible = "qcom,i2c-qup";
471 #address-cells = <1>;
472 #size-cells = <0>;
473 reg-names = "qup_phys_addr";
474 reg = <0xf9928000 0x1000>;
475 interrupt-names = "qup_err_intr";
476 interrupts = <0 100 0>;
477 qcom,i2c-bus-freq = <100000>;
478 qcom,i2c-src-freq = <19200000>;
479 qcom,sda-gpio = <&msmgpio 16 0>;
480 qcom,scl-gpio = <&msmgpio 17 0>;
481 };
Gilad Avidovf58f1832013-01-09 17:31:28 -0700482
Chun Zhangf39a0652013-05-01 15:57:54 -0700483 i2c@f9925000 { /* BLSP-1 QUP-3 */
484 cell-index = <0>;
485 compatible = "qcom,i2c-qup";
Gilad Avidovf58f1832013-01-09 17:31:28 -0700486 #address-cells = <1>;
487 #size-cells = <0>;
Chun Zhangf39a0652013-05-01 15:57:54 -0700488 reg-names = "qup_phys_addr";
489 reg = <0xf9925000 0x1000>;
490 interrupt-names = "qup_err_intr";
491 interrupts = <0 97 0>;
492 qcom,i2c-bus-freq = <100000>;
Gilad Avidovf58f1832013-01-09 17:31:28 -0700493 };
494
Vikram Mulukutla1ac32fd2013-01-28 10:03:58 -0800495 qcom,pronto@fb21b000 {
496 compatible = "qcom,pil-pronto";
497 reg = <0xfb21b000 0x3000>,
498 <0xfc401700 0x4>,
499 <0xfd485300 0xc>;
500 reg-names = "pmu_base", "clk_base", "halt_base";
501 interrupts = <0 149 1>;
502 vdd_pronto_pll-supply = <&pm8110_l10>;
503
504 qcom,firmware-name = "wcnss";
Sameer Thalappil7abeb222013-04-02 11:13:42 -0700505
Sameer Thalappil4ba86302013-04-05 17:36:54 -0700506 /* GPIO inputs from wcnss */
Sameer Thalappil7abeb222013-04-02 11:13:42 -0700507 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>;
Sameer Thalappilb1e03c02013-04-29 14:52:00 -0700508 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>;
Sameer Thalappil4ba86302013-04-05 17:36:54 -0700509 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>;
Sameer Thalappil7abeb222013-04-02 11:13:42 -0700510
511 /* GPIO output to wcnss */
512 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>;
Vikram Mulukutla1ac32fd2013-01-28 10:03:58 -0800513 };
514
Sameer Thalappil1b65cd02013-04-03 16:42:34 -0700515 qcom,iris-fm {
516 compatible = "qcom,iris_fm";
517 };
518
Fred Oh92b18a02013-01-22 13:29:41 -0800519 sound {
520 compatible = "qcom,msm8x10-audio-codec";
521 qcom,model = "msm8x10-snd-card";
522 };
523
524 qcom,msm-pcm {
525 compatible = "qcom,msm-pcm-dsp";
Kuirong Wang16f52d62013-03-07 10:49:27 -0800526 qcom,msm-pcm-dsp-id = <0>;
Fred Oh92b18a02013-01-22 13:29:41 -0800527 };
528
Mingming Yin8b92f9b2013-05-01 14:10:26 -0700529 qcom,msm-pcm-low-latency {
530 compatible = "qcom,msm-pcm-dsp";
531 qcom,msm-pcm-dsp-id = <1>;
532 qcom,msm-pcm-low-latency;
533 };
534
Fred Oh92b18a02013-01-22 13:29:41 -0800535 qcom,msm-pcm-routing {
536 compatible = "qcom,msm-pcm-routing";
537 };
538
539 qcom,msm-pcm-lpa {
540 compatible = "qcom,msm-pcm-lpa";
541 };
542
543 qcom,msm-compr-dsp {
544 compatible = "qcom,msm-compr-dsp";
545 };
546
547 qcom,msm-voip-dsp {
548 compatible = "qcom,msm-voip-dsp";
549 };
550
551 qcom,msm-pcm-voice {
552 compatible = "qcom,msm-pcm-voice";
553 };
554
555 qcom,msm-stub-codec {
556 compatible = "qcom,msm-stub-codec";
557 };
558
559 qcom,msm-dai-fe {
560 compatible = "qcom,msm-dai-fe";
561 };
562
563 qcom,msm-pcm-afe {
564 compatible = "qcom,msm-pcm-afe";
565 };
566
567 qcom,msm-dai-mi2s {
568 compatible = "qcom,msm-dai-mi2s";
569 qcom,msm-dai-q6-mi2s-prim {
570 compatible = "qcom,msm-dai-q6-mi2s";
571 qcom,msm-dai-q6-mi2s-dev-id = <0>;
Kuirong Wang16f52d62013-03-07 10:49:27 -0800572 qcom,msm-mi2s-rx-lines = <0>;
573 qcom,msm-mi2s-tx-lines = <3>;
Fred Oh92b18a02013-01-22 13:29:41 -0800574 };
575
576 qcom,msm-dai-q6-mi2s-sec {
577 compatible = "qcom,msm-dai-q6-mi2s";
578 qcom,msm-dai-q6-mi2s-dev-id = <1>;
Kuirong Wang16f52d62013-03-07 10:49:27 -0800579 qcom,msm-mi2s-rx-lines = <3>;
580 qcom,msm-mi2s-tx-lines = <0>;
Fred Oh92b18a02013-01-22 13:29:41 -0800581 };
582 };
583
584 qcom,msm-dai-q6 {
585 compatible = "qcom,msm-dai-q6";
586 qcom,msm-dai-q6-bt-sco-rx {
587 compatible = "qcom,msm-dai-q6-dev";
588 qcom,msm-dai-q6-dev-id = <12288>;
589 };
590
591 qcom,msm-dai-q6-bt-sco-tx {
592 compatible = "qcom,msm-dai-q6-dev";
593 qcom,msm-dai-q6-dev-id = <12289>;
594 };
595
596 qcom,msm-dai-q6-int-fm-rx {
597 compatible = "qcom,msm-dai-q6-dev";
598 qcom,msm-dai-q6-dev-id = <12292>;
599 };
600
601 qcom,msm-dai-q6-int-fm-tx {
602 compatible = "qcom,msm-dai-q6-dev";
603 qcom,msm-dai-q6-dev-id = <12293>;
604 };
605
606 qcom,msm-dai-q6-be-afe-pcm-rx {
607 compatible = "qcom,msm-dai-q6-dev";
608 qcom,msm-dai-q6-dev-id = <224>;
609 };
610
611 qcom,msm-dai-q6-be-afe-pcm-tx {
612 compatible = "qcom,msm-dai-q6-dev";
613 qcom,msm-dai-q6-dev-id = <225>;
614 };
615
616 qcom,msm-dai-q6-afe-proxy-rx {
617 compatible = "qcom,msm-dai-q6-dev";
618 qcom,msm-dai-q6-dev-id = <241>;
619 };
620
621 qcom,msm-dai-q6-afe-proxy-tx {
622 compatible = "qcom,msm-dai-q6-dev";
623 qcom,msm-dai-q6-dev-id = <240>;
624 };
Vicky Sehrawatfc8044f2013-04-18 11:34:32 -0700625
626 qcom,msm-dai-q6-incall-record-rx {
627 compatible = "qcom,msm-dai-q6-dev";
628 qcom,msm-dai-q6-dev-id = <32771>;
629 };
630
631 qcom,msm-dai-q6-incall-record-tx {
632 compatible = "qcom,msm-dai-q6-dev";
633 qcom,msm-dai-q6-dev-id = <32772>;
634 };
635
636 qcom,msm-dai-q6-incall-music-rx {
637 compatible = "qcom,msm-dai-q6-dev";
638 qcom,msm-dai-q6-dev-id = <32773>;
639 };
Fred Oh92b18a02013-01-22 13:29:41 -0800640 };
641
642 qcom,msm-pcm-hostless {
643 compatible = "qcom,msm-pcm-hostless";
644 };
645
Sameer Thalappil3928fef2013-04-08 11:51:15 -0700646 qcom,wcnss-wlan@fb000000 {
647 compatible = "qcom,wcnss_wlan";
Sameer Thalappilb2b93672013-04-18 17:00:46 -0700648 reg = <0xfb000000 0x280000>,
649 <0xf9011008 0x04>;
650 reg-names = "wcnss_mmio", "wcnss_fiq";
Sameer Thalappil3928fef2013-04-08 11:51:15 -0700651 interrupts = <0 145 0>, <0 146 0>;
652 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
653
654 qcom,pronto-vddmx-supply = <&pm8110_l3>;
655 qcom,pronto-vddcx-supply = <&pm8110_s1>;
656 qcom,pronto-vddpx-supply = <&pm8110_l6>;
657 qcom,iris-vddxo-supply = <&pm8110_l10>;
658 qcom,iris-vddrfa-supply = <&pm8110_l5>;
659 qcom,iris-vddpa-supply = <&pm8110_l16>;
660 qcom,iris-vdddig-supply = <&pm8110_l5>;
661
662 gpios = <&msmgpio 23 0>, <&msmgpio 24 0>, <&msmgpio 25 0>, <&msmgpio 26 0>, <&msmgpio 27 0>;
663 qcom,has_pronto_hw;
664 };
665
Vikram Mulukutla186edd62013-02-22 14:10:40 -0800666 qcom,mss@fc880000 {
667 compatible = "qcom,pil-q6v5-mss";
668 reg = <0xfc880000 0x100>,
669 <0xfd485000 0x400>,
670 <0xfc820000 0x020>,
671 <0xfc401680 0x004>,
Vikram Mulukutla186edd62013-02-22 14:10:40 -0800672 <0xfd485194 0x4>;
673 reg-names = "qdsp6_base", "halt_base", "rmb_base",
Matt Wagantall724b2bb2013-03-18 14:54:06 -0700674 "restart_reg", "cxrail_bhs_reg";
Vikram Mulukutla186edd62013-02-22 14:10:40 -0800675
676 interrupts = <0 24 1>;
677 vdd_mss-supply = <&pm8110_s1>;
678 vdd_cx-supply = <&pm8110_s1_corner>;
679 vdd_mx-supply = <&pm8110_l3>;
680 vdd_pll-supply = <&pm8110_l10>;
681 qcom,vdd_pll = <1800000>;
682 qcom,is-loadable;
683 qcom,firmware-name = "mba";
684 qcom,pil-self-auth;
Vikram Mulukutla7268d9f2013-04-01 16:57:57 -0700685
Seemanta Duttaa0f253e2013-01-16 18:54:40 -0800686 /* GPIO inputs from mss */
Vikram Mulukutla7268d9f2013-04-01 16:57:57 -0700687 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
Seemanta Dutta9fb72ed2013-01-25 14:22:15 -0800688 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
Seemanta Duttaa0f253e2013-01-16 18:54:40 -0800689 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
Vikram Mulukutla7268d9f2013-04-01 16:57:57 -0700690
691 /* GPIO output to mss */
692 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
Vikram Mulukutla186edd62013-02-22 14:10:40 -0800693 };
694
Vikram Mulukutla36d2dc42012-11-16 15:36:00 -0800695 qcom,lpass@fe200000 {
696 compatible = "qcom,pil-q6v5-lpass";
697 reg = <0xfe200000 0x00100>,
Matt Wagantall015b50af2013-03-05 18:51:16 -0800698 <0xfd485100 0x00010>,
699 <0xfc4016c0 0x00004>;
700 reg-names = "qdsp6_base", "halt_base", "restart_reg";
Vikram Mulukutla36d2dc42012-11-16 15:36:00 -0800701 interrupts = <0 162 1>;
Matt Wagantall6c515982013-01-29 14:58:43 -0800702 vdd_cx-supply = <&pm8110_s1_corner>;
Vikram Mulukutla36d2dc42012-11-16 15:36:00 -0800703 qcom,firmware-name = "adsp";
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -0700704
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -0700705 /* GPIO inputs from lpass */
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -0700706 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -0700707 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -0700708
709 /* GPIO output to lpass */
710 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
Vikram Mulukutla36d2dc42012-11-16 15:36:00 -0800711 };
Siddartha Mohanadossf7d2f4d2013-03-11 22:10:15 -0700712
713 tsens: tsens@fc4a8000 {
714 compatible = "qcom,msm-tsens";
715 reg = <0xfc4a8000 0x2000>,
716 <0xfc4b8000 0x1000>;
717 reg-names = "tsens_physical", "tsens_eeprom_physical";
718 interrupts = <0 184 0>;
719 qcom,sensors = <2>;
720 qcom,slope = <2901 2846>;
Siddartha Mohanadossb2f48982013-03-28 13:51:38 -0700721 qcom,calib-mode = "fuse_map3";
Siddartha Mohanadossf7d2f4d2013-03-11 22:10:15 -0700722 qcom,calibration-less-mode;
Siddartha Mohanadoss0ca83312013-03-14 11:43:18 -0700723 qcom,tsens-local-init;
Siddartha Mohanadoss921f1f02013-04-04 16:30:03 -0700724 qcom,sensor-id = <0 5>;
Siddartha Mohanadossf7d2f4d2013-03-11 22:10:15 -0700725 };
726
Jennifer Liuf588d3a2013-04-05 10:11:48 -0700727 qcom,msm-thermal {
728 compatible = "qcom,msm-thermal";
729 qcom,sensor-id = <0>;
730 qcom,poll-ms = <250>;
731 qcom,limit-temp = <60>;
732 qcom,temp-hysteresis = <10>;
733 qcom,freq-step = <2>;
734 };
Jeff Hugoae4ab9f62013-04-08 13:43:08 -0600735
736 qcom,ipc-spinlock@fd484000 {
737 compatible = "qcom,ipc-spinlock-sfpb";
738 reg = <0xfd484000 0x400>;
739 qcom,num-locks = <8>;
740 };
Jeff Hugode2822a2013-04-08 14:09:38 -0600741
742 qcom,bam_dmux@fc834000 {
743 compatible = "qcom,bam_dmux";
744 reg = <0xfc834000 0x7000>;
745 interrupts = <0 29 1>;
746 };
Hariprasad Dhalinarasimha3a3e4e32013-04-14 16:18:30 -0700747
748 qcom,qseecom@7B00000 {
749 compatible = "qcom,qseecom";
750 reg = <0x7B00000 0x500000>;
751 reg-names = "secapp-region";
752 qcom,disk-encrypt-pipe-pair = <2>;
753 qcom,hlos-ce-hw-instance = <0>;
754 qcom,qsee-ce-hw-instance = <0>;
755 qcom,msm-bus,name = "qseecom-noc";
756 qcom,msm-bus,num-cases = <4>;
757 qcom,msm-bus,active-only = <0>;
758 qcom,msm-bus,num-paths = <1>;
759 qcom,msm-bus,vectors-KBps =
760 <55 512 0 0>,
761 <55 512 3936000 393600>,
762 <55 512 3936000 393600>,
763 <55 512 3936000 393600>;
764 };
Aparna Dase7cab2e2013-04-16 16:54:47 -0700765
Hariprasad Dhalinarasimhac8e0f312013-04-13 17:18:50 -0700766 qcom,msm-rng@f9bff000 {
767 compatible = "qcom,msm-rng";
768 reg = <0xf9bff000 0x200>;
769 qcom,msm-rng-iface-clk;
770 };
771
Aparna Das2948da92013-04-25 10:11:15 -0700772 qcom,msm-rtb {
773 compatible = "qcom,msm-rtb";
774 qcom,memory-reservation-type = "EBI1";
775 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
776 };
777
Aparna Dase7cab2e2013-04-16 16:54:47 -0700778 jtag_mm0: jtagmm@fc34c000 {
779 compatible = "qcom,jtag-mm";
780 reg = <0xfc34c000 0x1000>,
781 <0xfc340000 0x1000>;
782 reg-names = "etm-base","debug-base";
783 };
784
785 jtag_mm1: jtagmm@fc34d000 {
786 compatible = "qcom,jtag-mm";
787 reg = <0xfc34d000 0x1000>,
788 <0xfc342000 0x1000>;
789 reg-names = "etm-base","debug-base";
790 };
791
792 jtag_mm2: jtagmm@fc34e000 {
793 compatible = "qcom,jtag-mm";
794 reg = <0xfc34e000 0x1000>,
795 <0xfc344000 0x1000>;
796 reg-names = "etm-base","debug-base";
797 };
798
799 jtag_mm3: jtagmm@fc34f000 {
800 compatible = "qcom,jtag-mm";
801 reg = <0xfc34f000 0x1000>,
802 <0xfc346000 0x1000>;
803 reg-names = "etm-base","debug-base";
804 };
Hariprasad Dhalinarasimha9d3638a2013-04-13 22:42:11 -0700805
806 qcom,tz-log@fe805720 {
807 compatible = "qcom,tz-log";
808 reg = <0x0fe805720 0x1000>;
809 };
Syed Rameez Mustafad3935822012-10-09 11:23:20 -0700810};
David Collinsc6b34832012-10-24 12:57:57 -0700811
Matt Wagantall1bf56932012-11-29 15:03:29 -0800812&gdsc_vfe {
813 status = "ok";
814};
815
816&gdsc_oxili_cx {
817 status = "ok";
818};
819
Olav Haugan9c255522012-11-16 16:43:17 -0800820&lpass_iommu {
821 status = "ok";
822};
823
824&copss_iommu {
825 status = "ok";
826};
827
828&mdpe_iommu {
829 status = "ok";
830};
831
832&mdps_iommu {
833 status = "ok";
834};
835
836&gfx_iommu {
837 status = "ok";
838};
839
840&vfe_iommu {
841 status = "ok";
842};
843
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -0800844/include/ "msm8610-iommu-domains.dtsi"
Olav Haugan4bc4b692012-12-10 18:29:35 -0800845
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700846/include/ "msm-pm8110-rpm-regulator.dtsi"
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700847/include/ "msm-pm8110.dtsi"
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800848/include/ "msm8610-regulator.dtsi"
Siddartha Mohanadoss0f664a82013-03-11 22:52:01 -0700849
850&pm8110_vadc {
851 chan@0 {
852 label = "usb_in";
853 reg = <0>;
854 qcom,decimation = <0>;
855 qcom,pre-div-channel-scaling = <4>;
856 qcom,calibration-type = "absolute";
857 qcom,scale-function = <0>;
858 qcom,hw-settle-time = <0>;
859 qcom,fast-avg-setup = <0>;
860 };
861
862 chan@2 {
863 label = "vchg_sns";
864 reg = <2>;
865 qcom,decimation = <0>;
Siddartha Mohanadoss478e5c92013-05-01 19:53:27 -0700866 qcom,pre-div-channel-scaling = <2>;
Siddartha Mohanadoss0f664a82013-03-11 22:52:01 -0700867 qcom,calibration-type = "absolute";
868 qcom,scale-function = <0>;
869 qcom,hw-settle-time = <0>;
870 qcom,fast-avg-setup = <0>;
871 };
872
873 chan@5 {
874 label = "vcoin";
875 reg = <5>;
876 qcom,decimation = <0>;
877 qcom,pre-div-channel-scaling = <1>;
878 qcom,calibration-type = "absolute";
879 qcom,scale-function = <0>;
880 qcom,hw-settle-time = <0>;
881 qcom,fast-avg-setup = <0>;
882 };
883
884 chan@6 {
885 label = "vbat_sns";
886 reg = <6>;
887 qcom,decimation = <0>;
888 qcom,pre-div-channel-scaling = <1>;
889 qcom,calibration-type = "absolute";
890 qcom,scale-function = <0>;
891 qcom,hw-settle-time = <0>;
892 qcom,fast-avg-setup = <0>;
893 };
894
895 chan@7 {
896 label = "vph_pwr";
897 reg = <7>;
898 qcom,decimation = <0>;
899 qcom,pre-div-channel-scaling = <1>;
900 qcom,calibration-type = "absolute";
901 qcom,scale-function = <0>;
902 qcom,hw-settle-time = <0>;
903 qcom,fast-avg-setup = <0>;
904 };
905
906 chan@30 {
907 label = "batt_therm";
908 reg = <0x30>;
909 qcom,decimation = <0>;
910 qcom,pre-div-channel-scaling = <0>;
911 qcom,calibration-type = "ratiometric";
912 qcom,scale-function = <1>;
913 qcom,hw-settle-time = <2>;
914 qcom,fast-avg-setup = <0>;
915 };
916
917 chan@31 {
918 label = "batt_id";
919 reg = <0x31>;
920 qcom,decimation = <0>;
921 qcom,pre-div-channel-scaling = <0>;
922 qcom,calibration-type = "ratiometric";
923 qcom,scale-function = <0>;
924 qcom,hw-settle-time = <2>;
925 qcom,fast-avg-setup = <0>;
926 };
927
928 chan@b2 {
929 label = "xo_therm_pu2";
930 reg = <0xb2>;
931 qcom,decimation = <0>;
932 qcom,pre-div-channel-scaling = <0>;
933 qcom,calibration-type = "ratiometric";
934 qcom,scale-function = <4>;
935 qcom,hw-settle-time = <2>;
936 qcom,fast-avg-setup = <0>;
937 };
938};
939
940