blob: 3dbc95da96442d668e124ec23935ecc17d7d53ec [file] [log] [blame]
Pushkar Joshi70210812012-12-15 19:01:39 -08001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Rohit Vaswani3fc60342012-04-23 18:55:15 -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
Rohit Vaswani3fc60342012-04-23 18:55:15 -070013/include/ "skeleton.dtsi"
Mitchel Humpherysb3f40d12012-10-05 16:26:58 -070014/include/ "msm9625-ion.dtsi"
Girish Mahadevanfc5f5c32012-10-23 16:27:28 -070015/include/ "msm9625-pm.dtsi"
Pushkar Joshifaf92a72012-10-29 17:45:27 -070016/include/ "msm9625-coresight.dtsi"
Seemanta Dutta519dfd12013-01-22 17:34:36 -080017/include/ "msm9625-smp2p.dtsi"
Rohit Vaswani3fc60342012-04-23 18:55:15 -070018
19/ {
20 model = "Qualcomm MSM 9625";
21 compatible = "qcom,msm9625";
22 interrupt-parent = <&intc>;
23
Gilad Avidov0697ea62013-02-11 16:46:38 -070024 aliases {
25 spi0 = &spi_0;
26 };
27
Rohit Vaswani3fc60342012-04-23 18:55:15 -070028 intc: interrupt-controller@F9000000 {
29 compatible = "qcom,msm-qgic2";
30 interrupt-controller;
31 #interrupt-cells = <3>;
32 reg = <0xF9000000 0x1000>,
33 <0xF9002000 0x1000>;
34 };
35
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -070036 l2: cache-controller@f9040000 {
37 compatible = "arm,pl310-cache";
38 reg = <0xf9040000 0x1000>;
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -070039 cache-unified;
40 cache-level = <2>;
41 };
42
Rohit Vaswani3fc60342012-04-23 18:55:15 -070043 msmgpio: gpio@fd510000 {
44 compatible = "qcom,msm-gpio";
Rohit Vaswanib1cc4932012-07-23 21:30:11 -070045 gpio-controller;
46 #gpio-cells = <2>;
Rohit Vaswani3fc60342012-04-23 18:55:15 -070047 interrupt-controller;
48 #interrupt-cells = <2>;
49 reg = <0xfd510000 0x4000>;
Rohit Vaswani341c2032012-11-08 18:49:29 -080050 ngpio = <76>;
Rohit Vaswanid2001522012-12-05 19:23:44 -080051 interrupts = <0 208 0>;
Rohit Vaswanied0a4ef2012-12-11 15:14:42 -080052 qcom,direct-connect-irqs = <8>;
Rohit Vaswani3fc60342012-04-23 18:55:15 -070053 };
54
Abhimanyu Kapur28d0e102013-03-08 19:52:14 -080055 qcom,mpm2-sleep-counter@fc4a3000 {
56 compatible = "qcom,mpm2-sleep-counter";
57 reg = <0xfc4a3000 0x1000>;
58 clock-frequency = <32768>;
59 };
60
Rohit Vaswania5129562012-06-12 20:11:23 -070061 timer: msm-qtimer@f9021000 {
Syed Rameez Mustafa0824d6c2012-11-29 18:53:56 -080062 compatible = "arm,armv7-timer";
Rohit Vaswania5129562012-06-12 20:11:23 -070063 reg = <0xF9021000 0x1000>;
Rohit Vaswani3fc60342012-04-23 18:55:15 -070064 interrupts = <0 7 0>;
Rohit Vaswania5129562012-06-12 20:11:23 -070065 irq-is-not-percpu;
Abhimanyu Kapuraf4c4d52012-10-01 14:15:10 -070066 clock-frequency = <19200000>;
Rohit Vaswani3fc60342012-04-23 18:55:15 -070067 };
Jin Hong8d328582012-05-01 15:45:29 -070068
Yan He3cb97ba2012-05-13 16:45:24 -070069 qcom,sps@f9980000 {
70 compatible = "qcom,msm_sps";
71 reg = <0xf9984000 0x15000>,
72 <0xf9999000 0xb000>,
Yan He6f9ae712012-09-20 12:55:47 -070073 <0xfe803000 0x4800>;
Yan He3cb97ba2012-05-13 16:45:24 -070074 interrupts = <0 94 0>;
75 qcom,device-type = <2>;
76 };
77
Jin Hong8d328582012-05-01 15:45:29 -070078 serial@f991f000 {
79 compatible = "qcom,msm-lsuart-v14";
80 reg = <0xf991f000 0x1000>;
81 interrupts = <0 109 0>;
82 };
Sahitya Tummala9ba4b282012-06-19 11:41:51 +053083
Jack Phama01e9c12012-09-25 21:37:03 -070084 usb@f9a55000 {
85 compatible = "qcom,hsusb-otg";
86 reg = <0xf9a55000 0x400>;
87 interrupts = <0 134 0 0 140 0>;
88 interrupt-names = "core_irq", "async_irq";
89 HSUSB_VDDCX-supply = <&pm8019_l12>;
90 HSUSB_1p8-supply = <&pm8019_l2>;
91 HSUSB_3p3-supply = <&pm8019_l4>;
David Collins84d39b22012-11-01 14:40:08 -070092 vbus_otg-supply = <&usb_vbus>;
Jack Phama01e9c12012-09-25 21:37:03 -070093
94 qcom,hsusb-otg-phy-type = <2>;
Amit Blay0d353532013-01-22 18:09:51 +020095 qcom,hsusb-otg-mode = <3>;
Jack Phama01e9c12012-09-25 21:37:03 -070096 qcom,hsusb-otg-otg-control = <1>;
97 qcom,hsusb-otg-disable-reset;
Ido Shayevitz9f953c12013-01-13 13:36:30 +020098 qcom,hsusb-otg-lpm-on-dev-suspend;
Ido Shayevitz0f2942d2013-01-13 13:59:48 +020099 qcom,hsusb-otg-clk-always-on-workaround;
Shimrit Malichi3043c0c2013-03-10 11:26:41 +0200100 qcom,hsusb-otg-delay-lpm;
Ido Shayevitz57101762013-01-18 10:06:24 +0200101
102 qcom,msm-bus,name = "usb2";
103 qcom,msm-bus,num-cases = <2>;
104 qcom,msm-bus,active-only = <0>;
105 qcom,msm-bus,num-paths = <1>;
106 qcom,msm-bus,vectors-KBps =
107 <87 512 0 0>,
108 <87 512 40000 640000>;
Jack Phama01e9c12012-09-25 21:37:03 -0700109 };
110
Ofir Cohenb1d52612012-11-14 09:37:38 +0200111 hsic@f9a15000 {
112 compatible = "qcom,hsic-host";
113 reg = <0xf9a15000 0x400>;
Ido Shayevitzfafb1b12013-02-18 18:10:05 +0200114 interrupts = <0 136 0>, <0 148 0>;
115 interrupt-names = "core_irq", "async_irq";
Ofir Cohenb1d52612012-11-14 09:37:38 +0200116 HSIC_VDDCX-supply = <&pm8019_l12>;
117 HSIC_GDSC-supply = <&gdsc_usb_hsic>;
Ido Shayevitz57101762013-01-18 10:06:24 +0200118
119 qcom,msm-bus,name = "hsic";
120 qcom,msm-bus,num-cases = <2>;
121 qcom,msm-bus,active-only = <0>;
122 qcom,msm-bus,num-paths = <1>;
123 qcom,msm-bus,vectors-KBps =
124 <85 512 0 0>,
125 <85 512 40000 640000>;
Shimrit Malichi9e840e32013-03-14 20:45:16 +0200126 qcom,pool-64-bit-align;
127 qcom,enable-hbm;
Ofir Cohenb1d52612012-11-14 09:37:38 +0200128 };
129
Jack Phamd61ff562012-11-21 19:25:53 +0200130 qcom,usbbam@f9a44000 {
131 compatible = "qcom,usb-bam-msm";
Shimrit Malichi9e840e32013-03-14 20:45:16 +0200132 reg = <0xf9a44000 0x11000>,
133 <0xf9a04000 0x11000>;
134 reg-names = "hsusb", "hsic";
135 interrupts = <0 135 0 0 255 0>;
136 interrupt-names = "hsusb", "hsic";
Jack Phamd61ff562012-11-21 19:25:53 +0200137 qcom,usb-bam-num-pipes = <16>;
138 qcom,ignore-core-reset-ack;
repo syncb0ca7512013-01-16 19:37:44 +0200139 qcom,disable-clk-gating;
Jack Phamd61ff562012-11-21 19:25:53 +0200140
141 qcom,pipe0 {
Shimrit Malichidbf43d72013-03-16 03:32:27 +0200142 label = "hsusb-ipa-out-0";
Lena Salman192db732013-03-19 14:43:52 +0200143 qcom,usb-bam-mem-type = <2>;
Shimrit Malichidbf43d72013-03-16 03:32:27 +0200144 qcom,bam-type = <1>;
145 qcom,dir = <0>;
146 qcom,pipe-num = <0>;
147 qcom,peer-bam = <2>;
Jack Phamd61ff562012-11-21 19:25:53 +0200148 qcom,src-bam-physical-address = <0xf9a44000>;
149 qcom,src-bam-pipe-index = <1>;
Lena Salman192db732013-03-19 14:43:52 +0200150 qcom,data-fifo-size = <0x8000>;
151 qcom,descriptor-fifo-size = <0x2000>;
Jack Phamd61ff562012-11-21 19:25:53 +0200152 };
Jack Phamd61ff562012-11-21 19:25:53 +0200153 qcom,pipe1 {
Shimrit Malichidbf43d72013-03-16 03:32:27 +0200154 label = "hsusb-ipa-in-0";
Lena Salman192db732013-03-19 14:43:52 +0200155 qcom,usb-bam-mem-type = <2>;
Shimrit Malichidbf43d72013-03-16 03:32:27 +0200156 qcom,bam-type = <1>;
157 qcom,dir = <1>;
158 qcom,pipe-num = <0>;
159 qcom,peer-bam = <2>;
Jack Phamd61ff562012-11-21 19:25:53 +0200160 qcom,dst-bam-physical-address = <0xf9a44000>;
161 qcom,dst-bam-pipe-index = <0>;
Lena Salman192db732013-03-19 14:43:52 +0200162 qcom,data-fifo-size = <0x8000>;
163 qcom,descriptor-fifo-size = <0x2000>;
Jack Phamd61ff562012-11-21 19:25:53 +0200164 };
Anna Perel6ac1fa92013-01-24 22:08:06 +0200165 qcom,pipe2 {
Shimrit Malichidbf43d72013-03-16 03:32:27 +0200166 label = "hsusb-qdss-in-0";
Anna Perel6ac1fa92013-01-24 22:08:06 +0200167 qcom,usb-bam-mem-type = <0>;
Shimrit Malichidbf43d72013-03-16 03:32:27 +0200168 qcom,bam-type = <1>;
169 qcom,dir = <1>;
170 qcom,pipe-num = <0>;
171 qcom,peer-bam = <1>;
Anna Perel6ac1fa92013-01-24 22:08:06 +0200172 qcom,src-bam-physical-address = <0xfc37c000>;
173 qcom,src-bam-pipe-index = <0>;
174 qcom,dst-bam-physical-address = <0xf9a44000>;
175 qcom,dst-bam-pipe-index = <2>;
176 qcom,data-fifo-offset = <0x4100>;
177 qcom,data-fifo-size = <0x400>;
178 qcom,descriptor-fifo-offset = <0x4000>;
179 qcom,descriptor-fifo-size = <0x400>;
180 };
Shimrit Malichi9e840e32013-03-14 20:45:16 +0200181 qcom,pipe3 {
182 label = "hsic-ipa-in-0";
183 qcom,usb-bam-mem-type = <2>;
184 qcom,bam-type = <2>;
185 qcom,dir = <1>;
186 qcom,pipe-num = <0>;
187 qcom,peer-bam = <2>;
188 qcom,dst-bam-physical-address = <0xf9a04000>;
189 qcom,dst-bam-pipe-index = <3>;
190 qcom,data-fifo-size = <0xD480>;
191 qcom,descriptor-fifo-size = <0x1A80>;
Ido Shayevitz21b89cb2013-03-22 01:02:59 +0200192 qcom,reset-bam-on-connect;
Shimrit Malichi9e840e32013-03-14 20:45:16 +0200193 };
194 qcom,pipe4 {
195 label = "hsic-ipa-in-1";
196 qcom,bam-type = <2>;
197 qcom,dir = <1>;
198 qcom,pipe-num = <1>;
199 qcom,peer-bam = <2>;
200 qcom,usb-bam-mem-type = <2>;
201 qcom,dst-bam-physical-address = <0xf9a04000>;
202 qcom,dst-bam-pipe-index = <4>;
203 qcom,data-fifo-size = <0xD480>;
204 qcom,descriptor-fifo-size = <0x1A80>;
Ido Shayevitz21b89cb2013-03-22 01:02:59 +0200205 qcom,reset-bam-on-connect;
Shimrit Malichi9e840e32013-03-14 20:45:16 +0200206 };
207 qcom,pipe5 {
208 label = "hsic-ipa-in-2";
209 qcom,usb-bam-mem-type = <2>;
210 qcom,bam-type = <2>;
211 qcom,dir = <1>;
212 qcom,pipe-num = <2>;
213 qcom,peer-bam = <2>;
214 qcom,dst-bam-physical-address = <0xf9a04000>;
215 qcom,dst-bam-pipe-index = <5>;
216 qcom,data-fifo-size = <0xD480>;
217 qcom,descriptor-fifo-size = <0x1A80>;
Ido Shayevitz21b89cb2013-03-22 01:02:59 +0200218 qcom,reset-bam-on-connect;
Shimrit Malichi9e840e32013-03-14 20:45:16 +0200219 };
220 qcom,pipe6 {
221 label = "hsic-ipa-in-3";
222 qcom,usb-bam-mem-type = <2>;
223 qcom,bam-type = <2>;
224 qcom,dir = <1>;
225 qcom,pipe-num = <3>;
226 qcom,peer-bam = <2>;
227 qcom,dst-bam-physical-address = <0xf9a04000>;
228 qcom,dst-bam-pipe-index = <6>;
229 qcom,data-fifo-size = <0xD480>;
230 qcom,descriptor-fifo-size = <0x1A80>;
Ido Shayevitz21b89cb2013-03-22 01:02:59 +0200231 qcom,reset-bam-on-connect;
Shimrit Malichi9e840e32013-03-14 20:45:16 +0200232 };
233 qcom,pipe7 {
234 label = "hsic-ipa-out-0";
235 qcom,usb-bam-mem-type = <2>;
236 qcom,bam-type = <2>;
237 qcom,dir = <0>;
238 qcom,pipe-num = <0>;
239 qcom,peer-bam = <2>;
240 qcom,src-bam-physical-address = <0xf9a04000>;
241 qcom,src-bam-pipe-index = <7>;
242 qcom,data-fifo-size = <0xD480>;
243 qcom,descriptor-fifo-size = <0x1A80>;
Ido Shayevitz21b89cb2013-03-22 01:02:59 +0200244 qcom,reset-bam-on-connect;
Shimrit Malichi9e840e32013-03-14 20:45:16 +0200245 };
Jack Phamd61ff562012-11-21 19:25:53 +0200246 };
247
Sahitya Tummala9ba4b282012-06-19 11:41:51 +0530248 qcom,nand@f9ac0000 {
249 compatible = "qcom,msm-nand";
250 reg = <0xf9ac0000 0x1000>,
251 <0xf9ac4000 0x8000>;
252 reg-names = "nand_phys",
253 "bam_phys";
254 interrupts = <0 247 0>;
255 interrupt-names = "bam_irq";
256 };
Rohit Vaswani0045df42012-06-29 16:21:48 -0700257
Gilad Avidov0697ea62013-02-11 16:46:38 -0700258 spi_0: spi@f9924000 {
Rohit Vaswani0045df42012-06-29 16:21:48 -0700259 compatible = "qcom,spi-qup-v2";
Gilad Avidov09c78ec2012-10-18 09:34:35 -0600260 reg = <0xf9924000 0x1000>;
261 interrupts = <0 96 0>;
262 spi-max-frequency = <25000000>;
Rohit Vaswani0045df42012-06-29 16:21:48 -0700263 #address-cells = <1>;
264 #size-cells = <0>;
Gilad Avidov09c78ec2012-10-18 09:34:35 -0600265 gpios = <&msmgpio 7 0>, /* CLK */
266 <&msmgpio 5 0>, /* MISO */
267 <&msmgpio 4 0>; /* MOSI */
Rohit Vaswani0045df42012-06-29 16:21:48 -0700268
Gilad Avidov09c78ec2012-10-18 09:34:35 -0600269 cs-gpios = <&msmgpio 6 0>;
Rohit Vaswani0045df42012-06-29 16:21:48 -0700270
271 ethernet-switch@0 {
272 compatible = "simtec,ks8851";
273 reg = <0>;
274 interrupt-parent = <&msmgpio>;
275 interrupts = <75 0>;
Gilad Avidov09c78ec2012-10-18 09:34:35 -0600276 spi-max-frequency = <4800000>;
Rohit Vaswani0045df42012-06-29 16:21:48 -0700277 };
278 };
Hanumant Singh6c4bf062012-09-06 15:51:10 -0700279
280 qcom,wdt@f9017000 {
281 compatible = "qcom,msm-watchdog";
282 reg = <0xf9017000 0x1000>;
283 interrupts = <1 2 0>, <1 1 0>;
284 qcom,bark-time = <11000>;
285 qcom,pet-time = <10000>;
Hanumant Singh6c4bf062012-09-06 15:51:10 -0700286 };
Kenneth Heitkec2642402012-09-18 18:56:47 -0600287
Girish Mahadevanc65a7112012-09-19 11:15:56 -0600288 rpm_bus: qcom,rpm-smd {
289 compatible = "qcom,rpm-smd";
290 rpm-channel-name = "rpm_requests";
291 rpm-channel-type = <15>; /* SMD_APPS_RPM */
292 };
293
Kenneth Heitkec2642402012-09-18 18:56:47 -0600294 spmi_bus: qcom,spmi@fc4c0000 {
295 cell-index = <0>;
296 compatible = "qcom,spmi-pmic-arb";
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700297 reg-names = "core", "intr", "cnfg";
Kenneth Heitkec2642402012-09-18 18:56:47 -0600298 reg = <0xfc4cf000 0x1000>,
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700299 <0Xfc4cb000 0x1000>,
300 <0Xfc4ca000 0x1000>;
Kenneth Heitkec2642402012-09-18 18:56:47 -0600301 /* 190,ee0_krait_hlos_spmi_periph_irq */
302 /* 187,channel_0_krait_hlos_trans_done_irq */
303 interrupts = <0 190 0 0 187 0>;
304 qcom,pmic-arb-ee = <0>;
305 qcom,pmic-arb-channel = <0>;
Kenneth Heitkec2642402012-09-18 18:56:47 -0600306 };
Kenneth Heitkef92a8c72012-10-10 17:15:05 -0600307
308 i2c@f9925000 {
309 cell-index = <3>;
310 compatible = "qcom,i2c-qup";
311 reg = <0xf9925000 0x1000>;
312 #address-cells = <1>;
313 #size-cells = <0>;
314 reg-names = "qup_phys_addr";
315 interrupts = <0 97 0>;
316 interrupt-names = "qup_err_intr";
317 qcom,i2c-bus-freq = <100000>;
318 qcom,i2c-src-freq = <24000000>;
319 };
Oluwafemi Adeyemibbbcc6e2012-09-14 17:24:26 -0700320
321 sdcc2: qcom,sdcc@f98a4000 {
322 cell-index = <2>; /* SDC2 SD card slot */
323 compatible = "qcom,msm-sdcc";
324 reg = <0xf98a4000 0x800>,
325 <0xf98a4800 0x100>,
326 <0xf9884000 0x7000>;
327 reg-names = "core_mem", "dml_mem", "bam_mem";
328
329 vdd-supply = <&ext_2p95v>;
330
331 vdd-io-supply = <&pm8019_l13>;
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700332 qcom,vdd-io-always-on;
333 qcom,vdd-io-lpm-sup;
334 qcom,vdd-io-voltage-level = <1800000 2950000>;
335 qcom,vdd-io-current-level = <6 22000>;
Oluwafemi Adeyemibbbcc6e2012-09-14 17:24:26 -0700336
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700337 qcom,pad-pull-on = <0x0 0x3 0x3>;
338 qcom,pad-pull-off = <0x0 0x3 0x3>;
339 qcom,pad-drv-on = <0x7 0x4 0x4>;
340 qcom,pad-drv-off = <0x0 0x0 0x0>;
Oluwafemi Adeyemibbbcc6e2012-09-14 17:24:26 -0700341
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700342 qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>;
343 qcom,sup-voltages = <2950 2950>;
344 qcom,bus-width = <4>;
345 qcom,xpc;
346 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104";
347 qcom,current-limit = <800>;
Oluwafemi Adeyemibbbcc6e2012-09-14 17:24:26 -0700348
349 interrupt-parent = <&sdcc2>;
350 #address-cells = <0>;
351 interrupts = <0 1 2>;
352 #interrupt-cells = <1>;
353 interrupt-map-mask = <0xffffffff>;
354 interrupt-map = <0 &intc 0 125 0
355 1 &intc 0 220 0
356 2 &msmgpio 66 0x3>;
357 interrupt-names = "core_irq", "bam_irq", "status_irq";
358 cd-gpios = <&msmgpio 66 0>;
359 };
Oluwafemi Adeyemi4926a9e2012-09-14 17:39:59 -0700360
361 sdcc3: qcom,sdcc@f9864000 {
362 cell-index = <3>; /* SDC3 SDIO slot */
363 compatible = "qcom,msm-sdcc";
364 reg = <0xf9864000 0x800>,
365 <0xf9864800 0x100>,
366 <0xf9844000 0x7000>;
367 reg-names = "core_mem", "dml_mem", "bam_mem";
368 interrupts = <0 127 0>, <0 223 0>;
369 interrupt-names = "core_irq", "bam_irq";
370
371 gpios = <&msmgpio 25 0>,
372 <&msmgpio 24 0>,
373 <&msmgpio 16 0>,
374 <&msmgpio 17 0>,
375 <&msmgpio 18 0>,
376 <&msmgpio 19 0>;
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700377 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
Oluwafemi Adeyemi4926a9e2012-09-14 17:39:59 -0700378
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700379 qcom,clk-rates = <400000 25000000 50000000 100000000>;
380 qcom,sup-voltages = <2950 2950>;
381 qcom,bus-width = <4>;
382 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50";
Oluwafemi Adeyemi4926a9e2012-09-14 17:39:59 -0700383 };
Jeff Hugocdcb8aa2012-10-16 13:41:20 -0600384
Ravi Gummadidalaedae2002013-02-06 12:13:59 -0800385 ipa_hw: qcom,ipa@fd4c0000 {
Talel Atias49196392012-11-20 19:20:14 +0200386 compatible = "qcom,ipa";
387 reg = <0xfd4c0000 0x26000>,
Vladislav Mordohovich4028f802013-03-04 15:16:31 +0200388 <0xfd4c4000 0x14818>,
389 <0xfc834000 0x7000>;
390 reg-names = "ipa-base", "bam-base", "a2-bam-base";
Talel Atias49196392012-11-20 19:20:14 +0200391 interrupts = <0 252 0>,
Vladislav Mordohovich4028f802013-03-04 15:16:31 +0200392 <0 253 0>,
393 <0 29 1>;
394 interrupt-names = "ipa-irq", "bam-irq", "a2-bam-irq";
Talel Atias49196392012-11-20 19:20:14 +0200395
396 qcom,pipe1 {
397 label = "a2-to-ipa";
398 qcom,src-bam-physical-address = <0xfc834000>;
399 qcom,ipa-bam-mem-type = <0>;
400 qcom,src-bam-pipe-index = <1>;
401 qcom,dst-bam-physical-address = <0xfd4c0000>;
402 qcom,dst-bam-pipe-index = <6>;
403 qcom,data-fifo-offset = <0x1000>;
404 qcom,data-fifo-size = <0xd00>;
405 qcom,descriptor-fifo-offset = <0x1d00>;
406 qcom,descriptor-fifo-size = <0x300>;
407 };
408
409 qcom,pipe2 {
410 label = "ipa-to-a2";
411 qcom,src-bam-physical-address = <0xfd4c0000>;
412 qcom,ipa-bam-mem-type = <0>;
413 qcom,src-bam-pipe-index = <7>;
414 qcom,dst-bam-physical-address = <0xfc834000>;
415 qcom,dst-bam-pipe-index = <0>;
416 qcom,data-fifo-offset = <0x00>;
417 qcom,data-fifo-size = <0xd00>;
418 qcom,descriptor-fifo-offset = <0xd00>;
419 qcom,descriptor-fifo-size = <0x300>;
420 };
421 };
422
Tianyi Gouf6ffa872012-10-22 14:22:58 -0700423 qcom,acpuclk@f9010000 {
424 compatible = "qcom,acpuclk-9625";
425 reg = <0xf9010008 0x10>,
426 <0xf9008004 0x4>;
427 reg-names = "rcg_base", "pwr_base";
428 a5_cpu-supply = <&pm8019_l10_corner_ao>;
429 a5_mem-supply = <&pm8019_l12_ao>;
430 };
Tianyi Gou343bd932012-10-29 11:03:03 -0700431
432 gdsc_usb_hsic: qcom,gdsc@fc400404 {
433 compatible = "qcom,gdsc";
434 reg = <0xfc400404 0x4>;
435 regulator-name = "gdsc_usb_hsic";
436 };
Siddartha Mohanadoss650af6b2012-10-25 20:09:11 -0700437
438 tsens@fc4a8000 {
439 compatible = "qcom,msm-tsens";
440 reg = <0xfc4a8000 0x2000>,
441 <0xfc4b8000 0x1000>;
442 reg-names = "tsens_physical", "tsens_eeprom_physical";
443 interrupts = <0 184 0>;
444 qcom,sensors = <5>;
445 qcom,slope = <3200 3200 3200 3200 3200>;
Siddartha Mohanadoss3f8cd142013-02-06 17:24:33 -0800446 qcom,calib-mode = "fuse_map1";
Siddartha Mohanadoss650af6b2012-10-25 20:09:11 -0700447 };
Hariprasad Dhalinarasimhae9ad1da2012-11-14 18:21:56 -0800448
449 qcom,msm-rng@f9bff000 {
450 compatible = "qcom,msm-rng";
451 reg = <0xf9bff000 0x200>;
452 qcom,msm-rng-iface-clk;
Venkat Sudhir49965c72012-10-23 14:06:10 -0700453 };
454
455 wcd9xxx_intc: wcd9xxx-irq {
456 compatible = "qcom,wcd9xxx-irq";
457 interrupt-controller;
458 #interrupt-cells = <1>;
459 interrupt-parent = <&msmgpio>;
460 interrupts = <20 0>;
461 interrupt-names = "cdc-int";
462 };
463
464 i2c@f9925000 {
465 cell-index = <3>;
466 compatible = "qcom,i2c-qup";
467 reg = <0xf9925000 0x1000>;
468 #address-cells = <1>;
469 #size-cells = <0>;
470 reg-names = "qup_phys_addr";
471 interrupts = <0 97 0>;
472 interrupt-names = "qup_err_intr";
473 qcom,i2c-bus-freq = <100000>;
474 qcom,i2c-src-freq = <24000000>;
475
476 wcd9xxx_codec@0d{
477 compatible = "qcom,wcd9xxx-i2c";
478 reg = <0x0d>;
479 qcom,cdc-reset-gpio = <&msmgpio 22 0>;
480 interrupt-parent = <&wcd9xxx_intc>;
481 interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28>;
482 cdc-vdd-buck-supply = <&pm8019_l11>;
483 qcom,cdc-vdd-buck-voltage = <1800000 1800000>;
484 qcom,cdc-vdd-buck-current = <25000>;
485
486 cdc-vdd-tx-h-supply = <&pm8019_l11>;
487 qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>;
488 qcom,cdc-vdd-tx-h-current = <25000>;
489
490 cdc-vdd-rx-h-supply = <&pm8019_l11>;
491 qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>;
492 qcom,cdc-vdd-rx-h-current = <25000>;
493
494 cdc-vddpx-1-supply = <&pm8019_l11>;
495 qcom,cdc-vddpx-1-voltage = <1800000 1800000>;
496 qcom,cdc-vddpx-1-current = <10000>;
497
498 cdc-vdd-a-1p2v-supply = <&pm8019_l9>;
499 qcom,cdc-vdd-a-1p2v-voltage = <1200000 1200000>;
500 qcom,cdc-vdd-a-1p2v-current = <10000>;
501
502 cdc-vddcx-1-supply = <&pm8019_l9>;
503 qcom,cdc-vddcx-1-voltage = <1200000 1200000>;
504 qcom,cdc-vddcx-1-current = <10000>;
505
506 cdc-vddcx-2-supply = <&pm8019_l9>;
507 qcom,cdc-vddcx-2-voltage = <1200000 1200000>;
508 qcom,cdc-vddcx-2-current = <10000>;
509
510 qcom,cdc-micbias-ldoh-v = <0x3>;
511 qcom,cdc-micbias-cfilt1-mv = <1800>;
512 qcom,cdc-micbias-cfilt2-mv = <2700>;
513 qcom,cdc-micbias-cfilt3-mv = <1800>;
514 qcom,cdc-micbias1-cfilt-sel = <0x0>;
515 qcom,cdc-micbias2-cfilt-sel = <0x1>;
516 qcom,cdc-micbias3-cfilt-sel = <0x2>;
517 qcom,cdc-micbias4-cfilt-sel = <0x2>;
Venkat Sudhira50a3762012-11-26 12:12:15 -0800518 qcom,cdc-mclk-clk-rate = <12288000>;
Venkat Sudhir49965c72012-10-23 14:06:10 -0700519 };
520
521 wcd9xxx_codec@77{
522 compatible = "qcom,wcd9xxx-i2c";
523 reg = <0x77>;
524 };
525
526 wcd9xxx_codec@66{
527 compatible = "qcom,wcd9xxx-i2c";
528 reg = <0x66>;
529 };
530
531 wcd9xxx_codec@55{
532 compatible = "qcom,wcd9xxx-i2c";
533 reg = <0x55>;
534 };
535 };
536
537 sound {
538 compatible = "qcom,mdm9625-audio-taiko";
539 qcom,model = "mdm9625-taiko-i2s-snd-card";
540
541 qcom,audio-routing =
542 "RX_BIAS", "MCLK",
543 "LDO_H", "MCLK",
544 "Ext Spk Bottom Pos", "LINEOUT1",
545 "Ext Spk Bottom Neg", "LINEOUT3",
546 "Ext Spk Top Pos", "LINEOUT2",
547 "Ext Spk Top Neg", "LINEOUT4",
548 "AMIC1", "MIC BIAS1 External",
549 "MIC BIAS1 External", "Handset Mic",
550 "AMIC2", "MIC BIAS2 External",
551 "MIC BIAS2 External", "Headset Mic",
552 "AMIC3", "MIC BIAS3 Internal1",
553 "MIC BIAS3 Internal1", "ANCRight Headset Mic",
554 "AMIC4", "MIC BIAS1 Internal2",
555 "MIC BIAS1 Internal2", "ANCLeft Headset Mic",
556 "DMIC1", "MIC BIAS1 External",
557 "MIC BIAS1 External", "Digital Mic1",
558 "DMIC2", "MIC BIAS1 External",
559 "MIC BIAS1 External", "Digital Mic2",
560 "DMIC3", "MIC BIAS3 External",
561 "MIC BIAS3 External", "Digital Mic3",
562 "DMIC4", "MIC BIAS3 External",
563 "MIC BIAS3 External", "Digital Mic4",
564 "DMIC5", "MIC BIAS4 External",
565 "MIC BIAS4 External", "Digital Mic5",
566 "DMIC6", "MIC BIAS4 External",
567 "MIC BIAS4 External", "Digital Mic6";
568 qcom,taiko-mclk-clk-freq = <12288000>;
Venkat Sudhir459d6f52012-12-04 12:00:13 -0800569 prim-i2s-gpio-ws = <&msmgpio 12 0>;
570 prim-i2s-gpio-din = <&msmgpio 13 0>;
571 prim-i2s-gpio-dout = <&msmgpio 14 0>;
572 prim-i2s-gpio-sclk = <&msmgpio 15 0>;
573 prim-i2s-gpio-mclk = <&msmgpio 71 0>;
Venkat Sudhir49965c72012-10-23 14:06:10 -0700574 };
575
576 qcom,msm-adsp-loader {
577 compatible = "qcom,adsp-loader";
Venkat Sudhir480db8a2012-11-09 15:31:50 -0800578 qcom,adsp-state = <2>;
Venkat Sudhir49965c72012-10-23 14:06:10 -0700579 };
580
581 qcom,msm-pcm {
582 compatible = "qcom,msm-pcm-dsp";
Venkat Sudhir3f88b092013-02-28 16:28:37 -0800583 qcom,msm-pcm-dsp-id = <0>;
Venkat Sudhir49965c72012-10-23 14:06:10 -0700584 };
585
586 qcom,msm-pcm-routing {
587 compatible = "qcom,msm-pcm-routing";
588 };
589
590 qcom,msm-compr-dsp {
591 compatible = "qcom,msm-compr-dsp";
592 };
593
594 qcom,msm-voip-dsp {
595 compatible = "qcom,msm-voip-dsp";
596 };
597
598 qcom,msm-pcm-voice {
599 compatible = "qcom,msm-pcm-voice";
600 };
601
Venkat Sudhire26f8c42013-01-14 16:53:35 -0800602 qcom,msm-stub-codec {
603 compatible = "qcom,msm-stub-codec";
604 };
605
Venkat Sudhir49965c72012-10-23 14:06:10 -0700606 qcom,msm-dai-fe {
607 compatible = "qcom,msm-dai-fe";
608 };
609
610 qcom,msm-pcm-afe {
611 compatible = "qcom,msm-pcm-afe";
612 };
613
614 qcom,msm-pcm-hostless {
615 compatible = "qcom,msm-pcm-hostless";
616 };
617
Venkat Sudhire26f8c42013-01-14 16:53:35 -0800618 qcom,msm-dai-q6 {
619 compatible = "qcom,msm-dai-q6";
620 qcom,msm-dai-q6-be-afe-pcm-rx {
621 compatible = "qcom,msm-dai-q6-dev";
622 qcom,msm-dai-q6-dev-id = <224>;
623 };
624
625 qcom,msm-dai-q6-be-afe-pcm-tx {
626 compatible = "qcom,msm-dai-q6-dev";
627 qcom,msm-dai-q6-dev-id = <225>;
628 };
629
630 qcom,msm-dai-q6-afe-proxy-rx {
631 compatible = "qcom,msm-dai-q6-dev";
632 qcom,msm-dai-q6-dev-id = <241>;
633 };
634
635 qcom,msm-dai-q6-afe-proxy-tx {
636 compatible = "qcom,msm-dai-q6-dev";
637 qcom,msm-dai-q6-dev-id = <240>;
638 };
639 };
Venkat Sudhire8320292013-01-17 13:45:15 -0800640 qcom,msm-pcm-dtmf {
641 compatible = "qcom,msm-pcm-dtmf";
642 };
643
644 qcom,msm-dai-stub {
645 compatible = "qcom,msm-dai-stub";
646 };
647
648 qcom,msm-stub-codec {
649 compatible = "qcom,msm-stub-codec";
650 };
Venkat Sudhire26f8c42013-01-14 16:53:35 -0800651
Prashanth Reddyf9536572013-02-13 12:17:08 -0800652 qcom,msm-auxpcm {
653 compatible = "qcom,msm-auxpcm-resource";
654 qcom,msm-cpudai-auxpcm-clk = "pcm_clk";
655 qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
656 qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
657 qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
658 qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
659 qcom,msm-cpudai-auxpcm-slot = <1>, <1>;
660 qcom,msm-cpudai-auxpcm-data = <0>, <0>;
661 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
662
663 qcom,msm-auxpcm-rx {
664 qcom,msm-auxpcm-dev-id = <4106>;
665 compatible = "qcom,msm-auxpcm-dev";
666 };
667
668 qcom,msm-auxpcm-tx {
669 qcom,msm-auxpcm-dev-id = <4107>;
670 compatible = "qcom,msm-auxpcm-dev";
671 };
672 };
673
Venkat Sudhir49965c72012-10-23 14:06:10 -0700674 qcom,msm-dai-mi2s {
675 compatible = "qcom,msm-dai-mi2s";
676 qcom,msm-dai-q6-mi2s-prim {
677 compatible = "qcom,msm-dai-q6-mi2s";
678 qcom,msm-dai-q6-mi2s-dev-id = <0>;
679 qcom,msm-mi2s-rx-lines = <2>;
680 qcom,msm-mi2s-tx-lines = <1>;
681 };
682 };
683
684 qcom,msm-dai-q6 {
685 compatible = "qcom,msm-dai-q6";
686 };
Vikram Mulukutla7f4ed0d2012-11-05 15:26:51 -0800687
688 qcom,mss {
689 compatible = "qcom,pil-q6v5-mss";
690 interrupts = <0 24 1>;
Seemanta Dutta519dfd12013-01-22 17:34:36 -0800691
692 /* GPIO input from mss */
693 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
694
695 /* GPIO output to mss */
696 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
Vikram Mulukutla7f4ed0d2012-11-05 15:26:51 -0800697 };
Jeff Hugo27a6cf02012-11-29 15:46:50 -0700698
699 qcom,smem@fa00000 {
700 compatible = "qcom,smem";
701 reg = <0xfa00000 0x200000>,
Stepan Moskovchenkod6ee8262013-02-06 11:26:05 -0800702 <0xf9011000 0x1000>,
Jeff Hugo27a6cf02012-11-29 15:46:50 -0700703 <0xfc428000 0x4000>;
704 reg-names = "smem", "irq-reg-base", "aux-mem1";
705
706 qcom,smd-modem {
707 compatible = "qcom,smd";
708 qcom,smd-edge = <0>;
709 qcom,smd-irq-offset = <0x8>;
710 qcom,smd-irq-bitmask = <0x1000>;
711 qcom,pil-string = "modem";
712 interrupts = <0 25 1>;
713 };
714
715 qcom,smsm-modem {
716 compatible = "qcom,smsm";
717 qcom,smsm-edge = <0>;
718 qcom,smsm-irq-offset = <0x8>;
719 qcom,smsm-irq-bitmask = <0x2000>;
720 interrupts = <0 26 1>;
721 };
722
723 qcom,smd-adsp {
724 compatible = "qcom,smd";
725 qcom,smd-edge = <1>;
726 qcom,smd-irq-offset = <0x8>;
727 qcom,smd-irq-bitmask = <0x100>;
728 qcom,pil-string = "adsp";
729 interrupts = <0 156 1>;
730 };
731
732 qcom,smsm-adsp {
733 compatible = "qcom,smsm";
734 qcom,smsm-edge = <1>;
735 qcom,smsm-irq-offset = <0x8>;
736 qcom,smsm-irq-bitmask = <0x200>;
737 interrupts = <0 157 1>;
738 };
739
740 qcom,smd-rpm {
741 compatible = "qcom,smd";
742 qcom,smd-edge = <15>;
743 qcom,smd-irq-offset = <0x8>;
744 qcom,smd-irq-bitmask = <0x1>;
745 interrupts = <0 168 1>;
746 qcom,irq-no-suspend;
747 };
748 };
Hariprasad Dhalinarasimhaf4a5b0c2012-11-21 17:49:19 -0800749
750 qcom,qcedev@fd400000 {
751 compatible = "qcom,qcedev";
752 reg = <0xfd400000 0x20000>,
753 <0xfd404000 0x8000>;
754 reg-names = "crypto-base","crypto-bam-base";
755 interrupts = <0 207 0>;
756 qcom,bam-pipe-pair = <1>;
757 };
758
759 qcom,qcrypto@fd440000 {
760 compatible = "qcom,qcrypto";
761 reg = <0xfd400000 0x20000>,
762 <0xfd404000 0x8000>;
763 reg-names = "crypto-base","crypto-bam-base";
764 interrupts = <0 207 0>;
765 qcom,bam-pipe-pair = <2>;
766 };
767
Pushkar Joshi70210812012-12-15 19:01:39 -0800768 jtag_mm: jtagmm@fc332000 {
769 compatible = "qcom,jtag-mm";
770 reg = <0xfc332000 0x1000>,
771 <0xfc330000 0x1000>;
772 reg-names = "etm-base","debug-base";
773 };
Pushkar Joshi30306d32013-01-16 17:00:26 -0800774
775 qcom,msm-rtb {
776 compatible = "qcom,msm-rtb";
777 qcom,memory-reservation-type = "EBI1";
778 qcom,memory-reservation-size = <0x1000>; /* 4K EBI1 buffer */
779 };
Neeti Desai2036e122012-11-30 14:24:13 -0800780
781 qcom,msm-mem-hole {
782 compatible = "qcom,msm-mem-hole";
783 qcom,memblock-remove = <0x1f00000 0x5700000>; /* Address and Size of Hole */
784 };
785
Jeff Hugo96766e22013-03-06 13:52:37 -0700786 sfpb_spinlock: qcom,ipc-spinlock@fd484000 {
787 compatible = "qcom,ipc-spinlock-sfpb";
Jeff Hugo86a55b22013-03-14 14:51:30 -0600788 reg = <0xfd484000 0x400>;
789 qcom,num-locks = <8>;
Jeff Hugo96766e22013-03-06 13:52:37 -0700790 };
791
792 ldrex_spinlock: qcom,ipc-spinlock@fa00000 {
793 compatible = "qcom,ipc-spinlock-ldrex";
794 reg = <0xfa00000 0x200000>;
795 status = "disable";
796 };
797
Ashwin Chaugule50d59892013-03-12 12:58:51 -0400798 cpu-pmu {
799 compatible = "arm,cortex-a5-pmu";
800 qcom,irq-is-percpu;
801 interrupts = <1 7 0x00>;
802 };
803
804 l2-pmu {
805 compatible = "qcom,l2-pmu";
806 interrupts = <0 1 0>;
807 };
808
Rohit Vaswani3fc60342012-04-23 18:55:15 -0700809};
David Collinsa2b73f22012-09-13 17:32:16 -0700810
David Collins722a6512012-09-14 11:09:18 -0700811/include/ "msm-pm8019-rpm-regulator.dtsi"
David Collinsa2b73f22012-09-13 17:32:16 -0700812/include/ "msm-pm8019.dtsi"
David Collins56b41122012-09-24 17:09:23 -0700813/include/ "msm9625-regulator.dtsi"
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700814
815&pm8019_vadc {
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800816 chan@31 {
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700817 label = "batt_id_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800818 reg = <0x31>;
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700819 qcom,decimation = <0>;
820 qcom,pre-div-channel-scaling = <0>;
821 qcom,calibration-type = "ratiometric";
822 qcom,scale-function = <0>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800823 qcom,hw-settle-time = <2>;
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700824 qcom,fast-avg-setup = <0>;
825 };
826
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800827 chan@33 {
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700828 label = "pa_therm1";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800829 reg = <0x33>;
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700830 qcom,decimation = <0>;
831 qcom,pre-div-channel-scaling = <0>;
832 qcom,calibration-type = "ratiometric";
833 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800834 qcom,hw-settle-time = <2>;
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700835 qcom,fast-avg-setup = <0>;
836 };
837
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800838 chan@34 {
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700839 label = "pa_therm2";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800840 reg = <0x34>;
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700841 qcom,decimation = <0>;
842 qcom,pre-div-channel-scaling = <0>;
843 qcom,calibration-type = "ratiometric";
844 qcom,scale-function = <2>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800845 qcom,hw-settle-time = <2>;
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700846 qcom,fast-avg-setup = <0>;
847 };
848
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800849 chan@32 {
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700850 label = "xo_therm";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800851 reg = <0x32>;
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700852 qcom,decimation = <0>;
853 qcom,pre-div-channel-scaling = <0>;
854 qcom,calibration-type = "ratiometric";
855 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800856 qcom,hw-settle-time = <2>;
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700857 qcom,fast-avg-setup = <0>;
858 };
859
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800860 chan@3c {
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700861 label = "xo_therm_amux";
Siddartha Mohanadoss96be0a02012-12-07 14:38:48 -0800862 reg = <0x3c>;
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700863 qcom,decimation = <0>;
864 qcom,pre-div-channel-scaling = <0>;
865 qcom,calibration-type = "ratiometric";
866 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800867 qcom,hw-settle-time = <2>;
Siddartha Mohanadossc47fcce2012-09-25 17:21:50 -0700868 qcom,fast-avg-setup = <0>;
869 };
870};