blob: da71a894bed1dfa1ea76729235a2f906a7a32507 [file] [log] [blame]
Manu Gautam31a74aa2012-12-21 17:00:48 +05301/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Sathish Ambley9d69ac32012-03-21 10:28:26 -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 */
Sathish Ambley4df614c2011-10-07 16:30:46 -070012
13/include/ "skeleton.dtsi"
Kevin Chan350b6932012-08-01 02:21:00 -070014/include/ "msm8974-camera.dtsi"
Pratik Patelf20bacb2012-07-21 14:46:36 -070015/include/ "msm8974-coresight.dtsi"
Matt Wagantallfc727212012-01-06 18:18:25 -080016/include/ "msm-gdsc.dtsi"
Olav Haugan49173442012-08-01 13:23:18 -070017/include/ "msm8974-ion.dtsi"
Pu Chen1335e872012-08-01 08:45:25 -060018/include/ "msm8974-gpu.dtsi"
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -070019/include/ "msm8974-mdss.dtsi"
Eric Holmbergd5af7de2013-01-08 18:33:52 -070020/include/ "msm8974-smp2p.dtsi"
Gagan Mac7c7e5542012-12-19 19:28:47 -070021/include/ "msm8974-bus.dtsi"
Sathish Ambley4df614c2011-10-07 16:30:46 -070022
23/ {
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -070024 model = "Qualcomm MSM 8974";
25 compatible = "qcom,msm8974";
Sathish Ambley4df614c2011-10-07 16:30:46 -070026 interrupt-parent = <&intc>;
27
Gilad Avidov0697ea62013-02-11 16:46:38 -070028 aliases {
29 spi0 = &spi_0;
30 spi7 = &spi_7;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -070031 sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
32 sdhc2 = &sdhc_2; /* SDC2 SD card slot */
33 sdhc3 = &sdhc_3; /* SDC3 SDIO slot */
34 sdhc4 = &sdhc_4; /* SDC4 SDIO slot */
Gilad Avidov0697ea62013-02-11 16:46:38 -070035 };
36
Laura Abbott8d972ac2013-02-26 11:06:02 -080037 memory {
38
Laura Abbott670688a2013-03-14 19:13:49 -070039 secure_mem: secure_region {
Laura Abbott8d972ac2013-02-26 11:06:02 -080040 linux,contiguous-region;
41 reg = <0 0x7800000>;
42 label = "secure_mem";
43 };
Laura Abbott7795dfa2013-03-05 10:47:44 -080044
Laura Abbott670688a2013-03-14 19:13:49 -070045 adsp_mem: adsp_region {
Laura Abbott7795dfa2013-03-05 10:47:44 -080046 linux,contiguous-region;
47 reg = <0 0x2000000>;
48 label = "adsp_mem";
49 };
Laura Abbott8d972ac2013-02-26 11:06:02 -080050 };
51
Sathish Ambley4df614c2011-10-07 16:30:46 -070052 intc: interrupt-controller@F9000000 {
53 compatible = "qcom,msm-qgic2";
54 interrupt-controller;
Michael Bohanc7224532012-01-06 16:02:52 -080055 #interrupt-cells = <3>;
Sathish Ambley4df614c2011-10-07 16:30:46 -070056 reg = <0xF9000000 0x1000>,
57 <0xF9002000 0x1000>;
58 };
Sathish Ambley3d50c762011-10-25 15:26:00 -070059
Sathish Ambleye046b242012-04-09 12:38:05 -070060 msmgpio: gpio@fd510000 {
Michael Bohan0425f6f2012-01-17 14:36:39 -080061 compatible = "qcom,msm-gpio";
Rohit Vaswanib1cc4932012-07-23 21:30:11 -070062 gpio-controller;
63 #gpio-cells = <2>;
Michael Bohan0425f6f2012-01-17 14:36:39 -080064 interrupt-controller;
65 #interrupt-cells = <2>;
Sathish Ambleye046b242012-04-09 12:38:05 -070066 reg = <0xfd510000 0x4000>;
Rohit Vaswani341c2032012-11-08 18:49:29 -080067 ngpio = <146>;
Rohit Vaswanid2001522012-12-05 19:23:44 -080068 interrupts = <0 208 0>;
Rohit Vaswanied0a4ef2012-12-11 15:14:42 -080069 qcom,direct-connect-irqs = <8>;
Michael Bohan0425f6f2012-01-17 14:36:39 -080070 };
71
Joonwoo Park27a61782012-09-18 16:28:50 -070072 wcd9xxx_intc: wcd9xxx-irq {
73 compatible = "qcom,wcd9xxx-irq";
74 interrupt-controller;
75 #interrupt-cells = <1>;
76 interrupt-parent = <&msmgpio>;
77 interrupts = <72 0>;
78 interrupt-names = "cdc-int";
79 };
80
Sathish Ambley098f9bd2011-11-09 16:32:53 -080081 timer {
Syed Rameez Mustafa0824d6c2012-11-29 18:53:56 -080082 compatible = "arm,armv7-timer";
Sathish Ambleyddd099e2012-04-25 13:24:47 -070083 interrupts = <1 2 0 1 3 0>;
Sathish Ambley2f27a172012-03-16 10:46:28 -070084 clock-frequency = <19200000>;
Sathish Ambley098f9bd2011-11-09 16:32:53 -080085 };
86
Abhimanyu Kapur0e17a9c2013-03-08 14:14:40 -080087 qcom,mpm2-sleep-counter@fc4a3000 {
88 compatible = "qcom,mpm2-sleep-counter";
Joel King48ef6d42013-02-19 16:11:03 -080089 reg = <0xfc4a3000 0x1000>;
Abhimanyu Kapur0e17a9c2013-03-08 14:14:40 -080090 clock-frequency = <32768>;
Joel King48ef6d42013-02-19 16:11:03 -080091 };
92
Vinay Kaliab35a0182013-02-16 16:44:34 -080093 msm_vidc: qcom,vidc@fdc00000 {
Praneeth Paladugu4b73ec82012-02-08 12:55:59 -080094 compatible = "qcom,msm-vidc";
95 reg = <0xfdc00000 0xff000>;
96 interrupts = <0 44 0>;
Vinay Kaliab6a3b9c2013-02-12 13:45:01 -080097 qcom,hfi = "venus";
Ashray Kulkarnid3dd0aa2013-03-11 20:07:58 -070098 qcom,has-ocmem;
Praneeth Paladugu4b73ec82012-02-08 12:55:59 -080099 };
100
Deva Ramasubramanianf8ec9d692012-07-12 20:42:12 -0700101 qcom,wfd {
102 compatible = "qcom,msm-wfd";
103 };
104
David Brown225abee2012-02-09 22:28:50 -0800105 serial@f991f000 {
Sathish Ambley3d50c762011-10-25 15:26:00 -0700106 compatible = "qcom,msm-lsuart-v14";
David Brown225abee2012-02-09 22:28:50 -0800107 reg = <0xf991f000 0x1000>;
Michael Bohanc7224532012-01-06 16:02:52 -0800108 interrupts = <0 109 0>;
Stepan Moskovchenko43f11582012-08-08 17:20:38 -0700109 status = "disabled";
Sathish Ambley3d50c762011-10-25 15:26:00 -0700110 };
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +0530111
Sathish Ambley9d69ac32012-03-21 10:28:26 -0700112 serial@f995e000 {
113 compatible = "qcom,msm-lsuart-v14";
114 reg = <0xf995e000 0x1000>;
115 interrupts = <0 114 0>;
Stepan Moskovchenko43f11582012-08-08 17:20:38 -0700116 status = "disabled";
Sathish Ambley9d69ac32012-03-21 10:28:26 -0700117 };
118
Stepan Moskovchenko5269b602012-08-08 17:57:09 -0700119 serial@f991e000 {
120 compatible = "qcom,msm-lsuart-v14";
121 reg = <0xf991e000 0x1000>;
122 interrupts = <0 108 0>;
123 status = "disabled";
Mayank Rana9ba08292013-01-29 14:47:09 +0530124
125 qcom,msm-bus,name = "serial_uart2";
126 qcom,msm-bus,num-cases = <2>;
127 qcom,msm-bus,active-only = <0>;
128 qcom,msm-bus,num-paths = <1>;
129 qcom,msm-bus,vectors-KBps =
130 <84 512 0 0>,
131 <84 512 500 800>;
Stepan Moskovchenko5269b602012-08-08 17:57:09 -0700132 };
133
David Keitel7df02732012-08-17 16:33:06 -0700134 usb_otg: usb@f9a55000 {
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +0530135 compatible = "qcom,hsusb-otg";
Vijayavardhan Vennapusa029c2852013-01-02 20:03:51 +0530136 status = "disabled";
137
David Brown225abee2012-02-09 22:28:50 -0800138 reg = <0xf9a55000 0x400>;
Manu Gautamf8c45642012-08-10 10:20:56 -0700139 interrupts = <0 134 0 0 140 0>;
140 interrupt-names = "core_irq", "async_irq";
Michael Bohane66a3a92012-03-26 12:47:28 -0700141 HSUSB_VDDCX-supply = <&pm8841_s2>;
142 HSUSB_1p8-supply = <&pm8941_l6>;
143 HSUSB_3p3-supply = <&pm8941_l24>;
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +0530144
145 qcom,hsusb-otg-phy-type = <2>;
Manu Gautam4fea0af2012-09-06 12:52:48 -0700146 qcom,hsusb-otg-phy-init-seq = <0x63 0x81 0xffffffff>;
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +0530147 qcom,hsusb-otg-mode = <1>;
Sridhar Parasurama418ce22012-09-26 09:35:21 -0700148 qcom,hsusb-otg-otg-control = <1>;
Manu Gautambd53fba2012-07-31 16:13:06 +0530149 qcom,hsusb-otg-disable-reset;
Manu Gautam0ddbd922012-09-21 17:17:38 +0530150 qcom,hsusb-otg-pnoc-errata-fix;
Manu Gautam2e8ac102012-08-31 11:41:16 -0700151
Gagan Macb2372ae2012-08-20 19:24:32 -0600152 qcom,msm-bus,name = "usb2";
153 qcom,msm-bus,num-cases = <2>;
154 qcom,msm-bus,active-only = <0>;
155 qcom,msm-bus,num-paths = <1>;
156 qcom,msm-bus,vectors-KBps =
Manu Gautam2e8ac102012-08-31 11:41:16 -0700157 <87 512 0 0>,
Gagan Macb2372ae2012-08-20 19:24:32 -0600158 <87 512 60000 960000>;
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +0530159 };
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530160
Krishna Kondab6da6932012-08-19 12:04:05 -0700161 sdcc1: qcom,sdcc@f9824000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530162 cell-index = <1>; /* SDC1 eMMC slot */
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530163 compatible = "qcom,msm-sdcc";
Krishna Konda99783e622012-08-29 10:40:15 -0700164 reg = <0xf9824000 0x800>,
165 <0xf9824800 0x100>,
166 <0xf9804000 0x7000>;
167 reg-names = "core_mem", "dml_mem", "bam_mem";
168 interrupts = <0 123 0>, <0 137 0>;
169 interrupt-names = "core_irq", "bam_irq";
Sujit Reddy Thummab9ff7f02012-05-04 09:57:49 +0530170 vdd-supply = <&pm8941_l20>;
171 vdd-io-supply = <&pm8941_s3>;
172
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700173 qcom,vdd-always-on;
174 qcom,vdd-lpm-sup;
175 qcom,vdd-voltage-level = <2950000 2950000>;
176 qcom,vdd-current-level = <800 500000>;
Sujit Reddy Thummab9ff7f02012-05-04 09:57:49 +0530177
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700178 qcom,vdd-io-always-on;
179 qcom,vdd-io-voltage-level = <1800000 1800000>;
180 qcom,vdd-io-current-level = <250 154000>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530181
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700182 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
183 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
184 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
185 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530186
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530187 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>;
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700188 qcom,sup-voltages = <2950 2950>;
189 qcom,bus-width = <8>;
190 qcom,nonremovable;
191 qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
Sridhar Parasuram15645742012-11-18 12:07:59 -0800192
193 qcom,msm-bus,name = "sdcc1";
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530194 qcom,msm-bus,num-cases = <8>;
Sridhar Parasuram15645742012-11-18 12:07:59 -0800195 qcom,msm-bus,active-only = <0>;
196 qcom,msm-bus,num-paths = <1>;
197 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530198 <78 512 1600 3200>, /* 400 KB/s*/
199 <78 512 80000 160000>, /* 20 MB/s */
200 <78 512 100000 200000>, /* 25 MB/s */
201 <78 512 200000 400000>, /* 50 MB/s */
202 <78 512 400000 800000>, /* 100 MB/s */
203 <78 512 800000 1600000>, /* 200 MB/s */
204 <78 512 2048000 4096000>; /* Max. bandwidth */
205 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Sujit Reddy Thumma3adba2b2012-11-03 09:42:01 +0530206 qcom,dat1-mpm-int = <42>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530207 };
208
Krishna Kondab6da6932012-08-19 12:04:05 -0700209 sdcc2: qcom,sdcc@f98a4000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530210 cell-index = <2>; /* SDC2 SD card slot */
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530211 compatible = "qcom,msm-sdcc";
Krishna Konda99783e622012-08-29 10:40:15 -0700212 reg = <0xf98a4000 0x800>,
213 <0xf98a4800 0x100>,
214 <0xf9884000 0x7000>;
215 reg-names = "core_mem", "dml_mem", "bam_mem";
216 interrupts = <0 125 0>, <0 220 0>;
217 interrupt-names = "core_irq", "bam_irq";
Sujit Reddy Thummab9ff7f02012-05-04 09:57:49 +0530218 vdd-supply = <&pm8941_l21>;
219 vdd-io-supply = <&pm8941_l13>;
220
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700221 qcom,vdd-voltage-level = <2950000 2950000>;
222 qcom,vdd-current-level = <9000 800000>;
Sujit Reddy Thummab9ff7f02012-05-04 09:57:49 +0530223
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700224 qcom,vdd-io-voltage-level = <1800000 2950000>;
225 qcom,vdd-io-current-level = <6 22000>;
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530226
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700227 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
228 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
229 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
230 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530231
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530232 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>;
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700233 qcom,sup-voltages = <2950 2950>;
234 qcom,bus-width = <4>;
235 qcom,xpc;
236 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104";
237 qcom,current-limit = <800>;
Sridhar Parasuram15645742012-11-18 12:07:59 -0800238
239 qcom,msm-bus,name = "sdcc2";
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530240 qcom,msm-bus,num-cases = <8>;
Sridhar Parasuram15645742012-11-18 12:07:59 -0800241 qcom,msm-bus,active-only = <0>;
242 qcom,msm-bus,num-paths = <1>;
243 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530244 <81 512 1600 3200>, /* 400 KB/s*/
245 <81 512 80000 160000>, /* 20 MB/s */
246 <81 512 100000 200000>, /* 25 MB/s */
247 <81 512 200000 400000>, /* 50 MB/s */
248 <81 512 400000 800000>, /* 100 MB/s */
249 <81 512 800000 1600000>, /* 200 MB/s */
250 <81 512 2048000 4096000>; /* Max. bandwidth */
251 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Sujit Reddy Thumma3adba2b2012-11-03 09:42:01 +0530252 qcom,dat1-mpm-int = <44>;
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530253 };
254
Krishna Kondab6da6932012-08-19 12:04:05 -0700255 sdcc3: qcom,sdcc@f9864000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530256 cell-index = <3>; /* SDC3 SDIO slot */
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530257 compatible = "qcom,msm-sdcc";
Krishna Konda99783e622012-08-29 10:40:15 -0700258 reg = <0xf9864000 0x800>,
259 <0xf9864800 0x100>,
260 <0xf9844000 0x7000>;
261 reg-names = "core_mem", "dml_mem", "bam_mem";
Sujit Reddy Thumma3adba2b2012-11-03 09:42:01 +0530262 #address-cells = <0>;
263 interrupt-parent = <&sdcc3>;
264 interrupts = <0 1 2>;
265 #interrupt-cells = <1>;
266 interrupt-map-mask = <0xffffffff>;
267 interrupt-map = <0 &intc 0 127 0
268 1 &intc 0 223 0
269 2 &msmgpio 37 0x8>;
270 interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq";
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530271
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530272 gpios = <&msmgpio 40 0>, /* CLK */
273 <&msmgpio 39 0>, /* CMD */
274 <&msmgpio 38 0>, /* DATA0 */
275 <&msmgpio 37 0>, /* DATA1 */
276 <&msmgpio 36 0>, /* DATA2 */
277 <&msmgpio 35 0>; /* DATA3 */
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700278 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530279
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530280 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700281 qcom,sup-voltages = <1800 1800>;
282 qcom,bus-width = <4>;
283 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50";
Sridhar Parasuram15645742012-11-18 12:07:59 -0800284
285 qcom,msm-bus,name = "sdcc3";
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530286 qcom,msm-bus,num-cases = <8>;
Sridhar Parasuram15645742012-11-18 12:07:59 -0800287 qcom,msm-bus,active-only = <0>;
288 qcom,msm-bus,num-paths = <1>;
289 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530290 <79 512 1600 3200>, /* 400 KB/s*/
291 <79 512 80000 160000>, /* 20 MB/s */
292 <79 512 100000 200000>, /* 25 MB/s */
293 <79 512 200000 400000>, /* 50 MB/s */
294 <79 512 400000 800000>, /* 100 MB/s */
295 <79 512 800000 1600000>, /* 200 MB/s */
296 <79 512 2048000 4096000>; /* Max. bandwidth */
297 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Sujit Reddy Thumma7138b3e2012-06-04 09:10:11 +0530298 status = "disable";
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530299 };
300
Krishna Kondab6da6932012-08-19 12:04:05 -0700301 sdcc4: qcom,sdcc@f98e4000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530302 cell-index = <4>; /* SDC4 SDIO slot */
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530303 compatible = "qcom,msm-sdcc";
Krishna Konda99783e622012-08-29 10:40:15 -0700304 reg = <0xf98e4000 0x800>,
305 <0xf98e4800 0x100>,
306 <0xf98c4000 0x7000>;
307 reg-names = "core_mem", "dml_mem", "bam_mem";
Sujit Reddy Thumma3adba2b2012-11-03 09:42:01 +0530308 #address-cells = <0>;
309 interrupt-parent = <&sdcc4>;
310 interrupts = <0 1 2>;
311 #interrupt-cells = <1>;
312 interrupt-map-mask = <0xffffffff>;
313 interrupt-map = <0 &intc 0 129 0
314 1 &intc 0 226 0
315 2 &msmgpio 95 0x8>;
316 interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq";
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530317
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530318 gpios = <&msmgpio 93 0>, /* CLK */
319 <&msmgpio 91 0>, /* CMD */
320 <&msmgpio 96 0>, /* DATA0 */
321 <&msmgpio 95 0>, /* DATA1 */
322 <&msmgpio 94 0>, /* DATA2 */
323 <&msmgpio 92 0>; /* DATA3 */
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700324 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530325
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530326 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700327 qcom,sup-voltages = <1800 1800>;
328 qcom,bus-width = <4>;
329 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50";
Sridhar Parasuram15645742012-11-18 12:07:59 -0800330
331 qcom,msm-bus,name = "sdcc4";
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530332 qcom,msm-bus,num-cases = <8>;
Sridhar Parasuram15645742012-11-18 12:07:59 -0800333 qcom,msm-bus,active-only = <0>;
334 qcom,msm-bus,num-paths = <1>;
335 qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530336 <80 512 1600 3200>, /* 400 KB/s*/
337 <80 512 80000 160000>, /* 20 MB/s */
338 <80 512 100000 200000>, /* 25 MB/s */
339 <80 512 200000 400000>, /* 50 MB/s */
340 <80 512 400000 800000>, /* 100 MB/s */
341 <80 512 800000 1600000>, /* 200 MB/s */
342 <80 512 2048000 4096000>; /* Max. bandwidth */
343 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Sujit Reddy Thumma7138b3e2012-06-04 09:10:11 +0530344 status = "disable";
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530345 };
Yan He1466daa2011-11-30 17:25:38 -0800346
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700347 sdhc_1: sdhci@f9824900 {
348 qcom,bus-width = <8>;
349 compatible = "qcom,sdhci-msm";
350 reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
351 reg-names = "hc_mem", "core_mem";
352 interrupts = <0 123 0>, <0 138 0>;
353 interrupt-names = "hc_irq", "pwr_irq";
Sahitya Tummala00240122013-02-28 19:50:51 +0530354 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>;
Sahitya Tummala78233942013-02-25 16:14:17 +0530355 qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
Sahitya Tummalaecc8cae2013-03-10 07:04:16 +0530356 qcom,cpu-dma-latency-us = <200>;
Sahitya Tummala9062e002013-03-10 14:13:40 +0530357
358 qcom,msm-bus,name = "sdhc1";
359 qcom,msm-bus,num-cases = <8>;
360 qcom,msm-bus,active-only = <0>;
361 qcom,msm-bus,num-paths = <1>;
362 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
363 <78 512 1600 3200>, /* 400 KB/s*/
364 <78 512 80000 160000>, /* 20 MB/s */
365 <78 512 100000 200000>, /* 25 MB/s */
366 <78 512 200000 400000>, /* 50 MB/s */
367 <78 512 400000 800000>, /* 100 MB/s */
368 <78 512 800000 1600000>, /* 200 MB/s */
369 <78 512 2048000 4096000>; /* Max. bandwidth */
370 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700371 status = "disable";
372 };
373
374 sdhc_2: sdhci@f98a4900 {
375 compatible = "qcom,sdhci-msm";
376 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
377 reg-names = "hc_mem", "core_mem";
378 interrupts = <0 125 0>, <0 221 0>;
379 interrupt-names = "hc_irq", "pwr_irq";
380
Sahitya Tummala00240122013-02-28 19:50:51 +0530381 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700382 qcom,bus-width = <4>;
Sahitya Tummalaecc8cae2013-03-10 07:04:16 +0530383 qcom,cpu-dma-latency-us = <200>;
Sahitya Tummala9062e002013-03-10 14:13:40 +0530384
385 qcom,msm-bus,name = "sdhc2";
386 qcom,msm-bus,num-cases = <8>;
387 qcom,msm-bus,active-only = <0>;
388 qcom,msm-bus,num-paths = <1>;
389 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
390 <81 512 1600 3200>, /* 400 KB/s*/
391 <81 512 80000 160000>, /* 20 MB/s */
392 <81 512 100000 200000>, /* 25 MB/s */
393 <81 512 200000 400000>, /* 50 MB/s */
394 <81 512 400000 800000>, /* 100 MB/s */
395 <81 512 800000 1600000>, /* 200 MB/s */
396 <81 512 2048000 4096000>; /* Max. bandwidth */
397 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700398 status = "disable";
399 };
400
401 sdhc_3: sdhci@f9864900 {
402 compatible = "qcom,sdhci-msm";
403 reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
404 reg-names = "hc_mem", "core_mem";
405 interrupts = <0 127 0>, <0 224 0>;
406 interrupt-names = "hc_irq", "pwr_irq";
407 gpios = <&msmgpio 40 0>, /* CLK */
408 <&msmgpio 39 0>, /* CMD */
409 <&msmgpio 38 0>, /* DATA0 */
410 <&msmgpio 37 0>, /* DATA1 */
411 <&msmgpio 36 0>, /* DATA2 */
412 <&msmgpio 35 0>; /* DATA3 */
413 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
414
Sahitya Tummala00240122013-02-28 19:50:51 +0530415 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700416 qcom,bus-width = <4>;
Sahitya Tummalaecc8cae2013-03-10 07:04:16 +0530417 qcom,cpu-dma-latency-us = <200>;
Sahitya Tummala9062e002013-03-10 14:13:40 +0530418
419 qcom,msm-bus,name = "sdhc3";
420 qcom,msm-bus,num-cases = <8>;
421 qcom,msm-bus,active-only = <0>;
422 qcom,msm-bus,num-paths = <1>;
423 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
424 <79 512 1600 3200>, /* 400 KB/s*/
425 <79 512 80000 160000>, /* 20 MB/s */
426 <79 512 100000 200000>, /* 25 MB/s */
427 <79 512 200000 400000>, /* 50 MB/s */
428 <79 512 400000 800000>, /* 100 MB/s */
429 <79 512 800000 1600000>, /* 200 MB/s */
430 <79 512 2048000 4096000>; /* Max. bandwidth */
431 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700432 status = "disable";
433 };
434
435 sdhc_4: sdhci@f98e4900 {
436 compatible = "qcom,sdhci-msm";
437 reg = <0xf98e4900 0x11c>, <0xf98e4000 0x800>;
438 reg-names = "hc_mem", "core_mem";
439 interrupts = <0 129 0>, <0 227 0>;
440 interrupt-names = "hc_irq", "pwr_irq";
441 gpios = <&msmgpio 93 0>, /* CLK */
442 <&msmgpio 91 0>, /* CMD */
443 <&msmgpio 96 0>, /* DATA0 */
444 <&msmgpio 95 0>, /* DATA1 */
445 <&msmgpio 94 0>, /* DATA2 */
446 <&msmgpio 92 0>; /* DATA3 */
447 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
448
Sahitya Tummala00240122013-02-28 19:50:51 +0530449 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700450 qcom,bus-width = <4>;
Sahitya Tummalaecc8cae2013-03-10 07:04:16 +0530451 qcom,cpu-dma-latency-us = <200>;
Sahitya Tummala9062e002013-03-10 14:13:40 +0530452
453 qcom,msm-bus,name = "sdhc4";
454 qcom,msm-bus,num-cases = <8>;
455 qcom,msm-bus,active-only = <0>;
456 qcom,msm-bus,num-paths = <1>;
457 qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */
458 <80 512 1600 3200>, /* 400 KB/s*/
459 <80 512 80000 160000>, /* 20 MB/s */
460 <80 512 100000 200000>, /* 25 MB/s */
461 <80 512 200000 400000>, /* 50 MB/s */
462 <80 512 400000 800000>, /* 100 MB/s */
463 <80 512 800000 1600000>, /* 200 MB/s */
464 <80 512 2048000 4096000>; /* Max. bandwidth */
465 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700466 status = "disable";
467 };
468
David Brown225abee2012-02-09 22:28:50 -0800469 qcom,sps@f9980000 {
Yan He1466daa2011-11-30 17:25:38 -0800470 compatible = "qcom,msm_sps";
David Brown225abee2012-02-09 22:28:50 -0800471 reg = <0xf9984000 0x15000>,
472 <0xf9999000 0xb000>;
Michael Bohanc7224532012-01-06 16:02:52 -0800473 interrupts = <0 94 0>;
Yan He1466daa2011-11-30 17:25:38 -0800474
475 qcom,bam-dma-res-pipes = <6>;
476 };
477
Gilad Avidov0697ea62013-02-11 16:46:38 -0700478 spi_7: spi_epm: spi@f9966000 {
Sagar Dhariae0bb6502012-08-10 20:25:51 -0600479 compatible = "qcom,spi-qup-v2";
Sagar Dhariae0bb6502012-08-10 20:25:51 -0600480 reg = <0xf9966000 0x1000>;
481 interrupts = <0 104 0>;
482 spi-max-frequency = <19200000>;
483 #address-cells = <1>;
484 #size-cells = <0>;
485 gpios = <&msmgpio 56 0>, /* CLK */
486 <&msmgpio 54 0>, /* MISO */
487 <&msmgpio 53 0>; /* MOSI */
488 cs-gpios = <&msmgpio 55 0>;
489 };
Hariprasad Dhalinarasimhade991f02012-05-31 13:15:51 -0700490
Liron Kuchc5b26a62013-01-09 15:09:14 +0200491 tspp: msm_tspp@f99d8000 {
492 compatible = "qcom,msm_tspp";
493 cell-index = <0>;
494 reg = <0xf99d8000 0x1000>, /* MSM_TSIF0_PHYS */
495 <0xf99d9000 0x1000>, /* MSM_TSIF1_PHYS */
496 <0xf99da000 0x1000>, /* MSM_TSPP_PHYS */
497 <0xf99c4000 0x14000>; /* MSM_TSPP_BAM_PHYS */
498 reg-names = "MSM_TSIF0_PHYS",
499 "MSM_TSIF1_PHYS",
500 "MSM_TSPP_PHYS",
501 "MSM_TSPP_BAM_PHYS";
502 interrupts = <0 153 0>, /* TSIF_TSPP_IRQ */
503 <0 151 0>, /* TSIF0_IRQ */
504 <0 152 0>, /* TSIF1_IRQ */
505 <0 154 0>; /* TSIF_BAM_IRQ */
506 interrupt-names = "TSIF_TSPP_IRQ",
507 "TSIF0_IRQ",
508 "TSIF1_IRQ",
509 "TSIF_BAM_IRQ";
510 qcom,tsif-pclk = "iface_clk";
511 qcom,tsif-ref-clk = "ref_clk";
512 gpios = <&msmgpio 89 0>, /* TSIF0 CLK */
513 <&msmgpio 90 0>, /* TSIF0 EN */
514 <&msmgpio 91 0>, /* TSIF0 DATA */
515 <&msmgpio 92 0>, /* TSIF0 SYNC */
516 <&msmgpio 93 0>, /* TSIF1 CLK */
517 <&msmgpio 94 0>, /* TSIF1 EN */
518 <&msmgpio 95 0>, /* TSIF1 DATA */
519 <&msmgpio 96 0>; /* TSIF1 SYNC */
520 qcom,gpio-names = "tsif_clk",
521 "tsif_en",
522 "tsif_data",
523 "tsif_sync",
524 "tsif_clk",
525 "tsif_en",
526 "tsif_data",
527 "tsif_sync";
528 qcom,gpios-func = <1>;
529 };
530
Joonwoo Park6ecc51a2012-10-20 22:32:32 -0700531 slim_msm: slim@fe12f000 {
Sagar Dhariaa316a962012-03-21 16:13:22 -0600532 cell-index = <1>;
Sagar Dhariad27ab412012-09-27 00:31:51 -0600533 compatible = "qcom,slim-ngd";
Sagar Dhariaa316a962012-03-21 16:13:22 -0600534 reg = <0xfe12f000 0x35000>,
535 <0xfe104000 0x20000>;
536 reg-names = "slimbus_physical", "slimbus_bam_physical";
537 interrupts = <0 163 0 0 164 0>;
538 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
Kiran Kandie8bf5d52012-08-06 16:03:16 -0700539
540 taiko_codec {
541 compatible = "qcom,taiko-slim-pgd";
542 elemental-addr = [00 01 A0 00 17 02];
543
Joonwoo Park27a61782012-09-18 16:28:50 -0700544 interrupt-parent = <&wcd9xxx_intc>;
545 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>;
546
Kiran Kandie8bf5d52012-08-06 16:03:16 -0700547 qcom,cdc-reset-gpio = <&msmgpio 63 0>;
548
549 cdc-vdd-buck-supply = <&pm8941_s2>;
550 qcom,cdc-vdd-buck-voltage = <2150000 2150000>;
551 qcom,cdc-vdd-buck-current = <650000>;
552
553 cdc-vdd-tx-h-supply = <&pm8941_s3>;
554 qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>;
555 qcom,cdc-vdd-tx-h-current = <25000>;
556
557 cdc-vdd-rx-h-supply = <&pm8941_s3>;
558 qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>;
559 qcom,cdc-vdd-rx-h-current = <25000>;
560
561 cdc-vddpx-1-supply = <&pm8941_s3>;
562 qcom,cdc-vddpx-1-voltage = <1800000 1800000>;
563 qcom,cdc-vddpx-1-current = <10000>;
564
565 cdc-vdd-a-1p2v-supply = <&pm8941_l1>;
566 qcom,cdc-vdd-a-1p2v-voltage = <1225000 1225000>;
567 qcom,cdc-vdd-a-1p2v-current = <10000>;
568
569 cdc-vddcx-1-supply = <&pm8941_l1>;
570 qcom,cdc-vddcx-1-voltage = <1225000 1225000>;
571 qcom,cdc-vddcx-1-current = <10000>;
572
573 cdc-vddcx-2-supply = <&pm8941_l1>;
574 qcom,cdc-vddcx-2-voltage = <1225000 1225000>;
575 qcom,cdc-vddcx-2-current = <10000>;
576
577 qcom,cdc-micbias-ldoh-v = <0x3>;
578 qcom,cdc-micbias-cfilt1-mv = <1800>;
579 qcom,cdc-micbias-cfilt2-mv = <2700>;
580 qcom,cdc-micbias-cfilt3-mv = <1800>;
581 qcom,cdc-micbias1-cfilt-sel = <0x0>;
582 qcom,cdc-micbias2-cfilt-sel = <0x1>;
583 qcom,cdc-micbias3-cfilt-sel = <0x2>;
584 qcom,cdc-micbias4-cfilt-sel = <0x2>;
Venkat Sudhira50a3762012-11-26 12:12:15 -0800585 qcom,cdc-mclk-clk-rate = <9600000>;
Kiran Kandie8bf5d52012-08-06 16:03:16 -0700586 qcom,cdc-slim-ifd = "taiko-slim-ifd";
587 qcom,cdc-slim-ifd-elemental-addr = [00 00 A0 00 17 02];
588 };
Sagar Dhariaa316a962012-03-21 16:13:22 -0600589 };
590
Kiran Kandi0121ad12012-08-20 13:01:47 -0700591 sound {
592 compatible = "qcom,msm8974-audio-taiko";
593 qcom,model = "msm8974-taiko-snd-card";
594
595 qcom,audio-routing =
596 "RX_BIAS", "MCLK",
597 "LDO_H", "MCLK",
Joonwoo Park43a3f2d2013-03-12 16:52:39 -0700598 "AIF4 MAD", "MCLK",
Kiran Kandi0121ad12012-08-20 13:01:47 -0700599 "AMIC1", "MIC BIAS1 Internal1",
600 "MIC BIAS1 Internal1", "Handset Mic",
601 "AMIC2", "MIC BIAS2 External",
602 "MIC BIAS2 External", "Headset Mic",
Kiran Kandi8ad43072012-10-22 13:06:43 -0700603 "AMIC3", "MIC BIAS2 External",
604 "MIC BIAS2 External", "ANCRight Headset Mic",
605 "AMIC4", "MIC BIAS2 External",
606 "MIC BIAS2 External", "ANCLeft Headset Mic",
Kiran Kandi0121ad12012-08-20 13:01:47 -0700607 "DMIC1", "MIC BIAS1 External",
608 "MIC BIAS1 External", "Digital Mic1",
609 "DMIC2", "MIC BIAS1 External",
610 "MIC BIAS1 External", "Digital Mic2",
611 "DMIC3", "MIC BIAS3 External",
612 "MIC BIAS3 External", "Digital Mic3",
613 "DMIC4", "MIC BIAS3 External",
614 "MIC BIAS3 External", "Digital Mic4",
615 "DMIC5", "MIC BIAS4 External",
616 "MIC BIAS4 External", "Digital Mic5",
617 "DMIC6", "MIC BIAS4 External",
618 "MIC BIAS4 External", "Digital Mic6";
Kiran Kandi79db1b02012-08-21 13:48:19 -0700619
620 qcom,cdc-mclk-gpios = <&pm8941_gpios 15 0>;
621 taiko-mclk-clk = <&pm8941_clkdiv1>;
622 qcom,taiko-mclk-clk-freq = <9600000>;
Damir Didjusto04d3c362013-01-07 14:30:53 -0800623 prim-auxpcm-gpio-clk = <&msmgpio 65 0>;
624 prim-auxpcm-gpio-sync = <&msmgpio 66 0>;
625 prim-auxpcm-gpio-din = <&msmgpio 67 0>;
626 prim-auxpcm-gpio-dout = <&msmgpio 68 0>;
Kiran Kandi0121ad12012-08-20 13:01:47 -0700627 };
628
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700629 spmi_bus: qcom,spmi@fc4c0000 {
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700630 cell-index = <0>;
631 compatible = "qcom,spmi-pmic-arb";
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700632 reg-names = "core", "intr", "cnfg";
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700633 reg = <0xfc4cf000 0x1000>,
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700634 <0Xfc4cb000 0x1000>,
635 <0Xfc4ca000 0x1000>;
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700636 /* 190,ee0_krait_hlos_spmi_periph_irq */
637 /* 187,channel_0_krait_hlos_trans_done_irq */
638 interrupts = <0 190 0 0 187 0>;
639 qcom,pmic-arb-ee = <0>;
640 qcom,pmic-arb-channel = <0>;
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700641 };
Sagar Dharia218edb92012-01-15 18:03:01 -0700642
Gilad Avidovad837622013-02-15 09:42:49 -0700643 i2c_0: i2c@f9967000 { /* BLSP#11 */
Sagar Dharia218edb92012-01-15 18:03:01 -0700644 cell-index = <0>;
645 compatible = "qcom,i2c-qup";
Sagar Dharia8a73da92012-08-11 16:41:25 -0600646 reg = <0Xf9967000 0x1000>;
Amir Samuelovb5266182012-10-23 09:45:41 +0200647 #address-cells = <1>;
648 #size-cells = <0>;
Sagar Dharia218edb92012-01-15 18:03:01 -0700649 reg-names = "qup_phys_addr";
Sagar Dharia8a73da92012-08-11 16:41:25 -0600650 interrupts = <0 105 0>;
Sagar Dharia218edb92012-01-15 18:03:01 -0700651 interrupt-names = "qup_err_intr";
652 qcom,i2c-bus-freq = <100000>;
Gilad Avidovad837622013-02-15 09:42:49 -0700653 qcom,i2c-src-freq = <50000000>;
Sagar Dharia218edb92012-01-15 18:03:01 -0700654 };
Matt Wagantalle9b715a2012-01-04 18:16:14 -0800655
Gilad Avidovad837622013-02-15 09:42:49 -0700656 i2c_2: i2c@f9924000 {
Amy Malochebc7e9672012-08-15 10:30:40 -0700657 cell-index = <2>;
658 compatible = "qcom,i2c-qup";
659 reg = <0xf9924000 0x1000>;
660 #address-cells = <1>;
661 #size-cells = <0>;
662 reg-names = "qup_phys_addr";
663 interrupts = <0 96 0>;
664 interrupt-names = "qup_err_intr";
665 qcom,i2c-bus-freq = <100000>;
Gilad Avidovad837622013-02-15 09:42:49 -0700666 qcom,i2c-src-freq = <50000000>;
Amy Malochebc7e9672012-08-15 10:30:40 -0700667 };
668
Gilad Avidov0697ea62013-02-11 16:46:38 -0700669 spi_0: spi@f9923000 {
Subbaraman Narayanamurthy3f93ab12012-08-17 19:39:47 -0700670 compatible = "qcom,spi-qup-v2";
671 reg = <0xf9923000 0x1000>;
672 interrupts = <0 95 0>;
673 spi-max-frequency = <19200000>;
674 #address-cells = <1>;
675 #size-cells = <0>;
676 gpios = <&msmgpio 3 0>, /* CLK */
677 <&msmgpio 1 0>, /* MISO */
678 <&msmgpio 0 0>; /* MOSI */
679 cs-gpios = <&msmgpio 9 0>;
680 };
681
Matt Wagantall48523022012-04-23 13:28:42 -0700682 qcom,acpuclk@f9000000 {
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700683 compatible = "qcom,acpuclk-8974";
Matt Wagantallbf9eb2c2012-05-31 09:44:22 -0700684 krait0-supply = <&krait0_vreg>;
685 krait1-supply = <&krait1_vreg>;
686 krait2-supply = <&krait2_vreg>;
687 krait3-supply = <&krait3_vreg>;
David Collins1c91ea72012-05-03 16:17:35 -0700688 krait0_mem-supply = <&pm8841_s1_ao>;
689 krait1_mem-supply = <&pm8841_s1_ao>;
690 krait2_mem-supply = <&pm8841_s1_ao>;
691 krait3_mem-supply = <&pm8841_s1_ao>;
692 krait0_dig-supply = <&pm8841_s2_corner_ao>;
693 krait1_dig-supply = <&pm8841_s2_corner_ao>;
694 krait2_dig-supply = <&pm8841_s2_corner_ao>;
695 krait3_dig-supply = <&pm8841_s2_corner_ao>;
David Collinsaba4b9b2012-11-28 17:18:24 -0800696 krait0_hfpll-supply = <&pm8941_l12_ao>;
697 krait1_hfpll-supply = <&pm8941_l12_ao>;
698 krait2_hfpll-supply = <&pm8941_l12_ao>;
699 krait3_hfpll-supply = <&pm8941_l12_ao>;
700 l2_hfpll-supply = <&pm8941_l12_ao>;
Matt Wagantalle9b715a2012-01-04 18:16:14 -0800701 };
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200702
Vijayavardhan Vennapusaa3de1cc2012-10-23 11:32:27 +0530703 usb3: qcom,ssusb@f9200000 {
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200704 compatible = "qcom,dwc-usb3-msm";
Ido Shayevitz7ad8ded2012-08-28 04:30:58 +0300705 reg = <0xf9200000 0xfc000>,
706 <0xfd4ab000 0x4>;
Vijayavardhan Vennapusab48a4e82013-03-25 09:00:21 +0530707 interrupts = <0 131 0>, <0 179 0>, <0 133 0>;
708 interrupt-names = "irq", "otg_irq", "hs_phy_irq";
Vijayavardhan Vennapusa4cdef832012-11-09 14:46:41 +0530709 ssusb_vdd_dig-supply = <&pm8841_s2_corner>;
Manu Gautam60e01352012-05-29 09:00:34 +0530710 SSUSB_1p8-supply = <&pm8941_l6>;
Vijayavardhan Vennapusa4cdef832012-11-09 14:46:41 +0530711 hsusb_vdd_dig-supply = <&pm8841_s2_corner>;
Manu Gautam60e01352012-05-29 09:00:34 +0530712 HSUSB_1p8-supply = <&pm8941_l6>;
713 HSUSB_3p3-supply = <&pm8941_l24>;
Manu Gautamf1fceddf2012-10-12 14:02:50 +0530714 vbus_dwc3-supply = <&pm8941_mvs1>;
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200715 qcom,dwc-usb3-msm-dbm-eps = <4>;
Vijayavardhan Vennapusa4cdef832012-11-09 14:46:41 +0530716 qcom,vdd-voltage-level = <1 5 7>;
Vijayavardhan Vennapusa22f5d442013-01-01 12:28:02 +0530717 qcom,dwc-hsphy-init = <0x00D195A4>;
Manu Gautam2617deb2012-08-31 17:50:06 -0700718
Gagan Macb2372ae2012-08-20 19:24:32 -0600719 qcom,msm-bus,name = "usb3";
720 qcom,msm-bus,num-cases = <2>;
721 qcom,msm-bus,active-only = <0>;
722 qcom,msm-bus,num-paths = <1>;
723 qcom,msm-bus,vectors-KBps =
Manu Gautam2617deb2012-08-31 17:50:06 -0700724 <61 512 0 0>,
Gagan Macb2372ae2012-08-20 19:24:32 -0600725 <61 512 240000 960000>;
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200726 };
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700727
Vijayavardhan Vennapusae78bb0e2013-01-02 18:57:35 +0530728 ehci: qcom,ehci-host@f9a55000 {
729 compatible = "qcom,ehci-host";
730 status = "disabled";
731 reg = <0xf9a55000 0x400>;
732 interrupts = <0 134 0>, <0 140 0>;
733 interrupt-names = "core_irq", "async_irq";
734 HSUSB_VDDCX-supply = <&pm8841_s2>;
735 HSUSB_1p8-supply = <&pm8941_l6>;
736 HSUSB_3p3-supply = <&pm8941_l24>;
737 qcom,usb2-enable-hsphy2;
738 qcom,usb2-power-budget = <500>;
739 };
740
Matt Wagantallfc727212012-01-06 18:18:25 -0800741 gdsc_oxili_gx: qcom,gdsc@fd8c4024 {
David Collinsf8861902013-01-10 15:38:09 -0800742 parent-supply = <&pm8841_s4_corner>;
Matt Wagantallfc727212012-01-06 18:18:25 -0800743 };
744
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700745 qcom,lpass@fe200000 {
746 compatible = "qcom,pil-q6v5-lpass";
747 reg = <0xfe200000 0x00100>,
Matt Wagantall015b50af2013-03-05 18:51:16 -0800748 <0xfd485100 0x00010>,
749 <0xfc4016c0 0x00004>;
750 reg-names = "qdsp6_base", "halt_base", "restart_reg";
Matt Wagantall6c515982013-01-29 14:58:43 -0800751 vdd_cx-supply = <&pm8841_s2_corner>;
Stephen Boyd1be799e2012-10-17 15:50:42 -0700752 interrupts = <0 162 1>;
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700753
Matt Wagantall6e6b8cd2012-05-24 12:42:24 -0700754 qcom,firmware-name = "adsp";
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700755 };
Tianyi Gouc1e049f82011-11-23 14:20:16 -0800756
Joonwoo Park7ecf08d2012-08-17 11:35:12 -0700757 qcom,msm-adsp-loader {
758 compatible = "qcom,adsp-loader";
Venkat Sudhir480db8a2012-11-09 15:31:50 -0800759 qcom,adsp-state = <0>;
Joonwoo Park7ecf08d2012-08-17 11:35:12 -0700760 };
761
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700762 qcom,msm-pcm {
763 compatible = "qcom,msm-pcm-dsp";
Phani Kumar Uppalapatiebee2a72013-02-19 10:02:40 -0800764 qcom,msm-pcm-dsp-id = <0>;
765 };
766
767 qcom,msm-pcm-low-latency {
768 compatible = "qcom,msm-pcm-dsp";
769 qcom,msm-pcm-dsp-id = <1>;
770 qcom,msm-pcm-low-latency;
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700771 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700772
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700773 qcom,msm-pcm-routing {
774 compatible = "qcom,msm-pcm-routing";
775 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700776
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700777 qcom,msm-pcm-lpa {
778 compatible = "qcom,msm-pcm-lpa";
779 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700780
Harmandeep Singha3453a72012-07-03 12:31:09 -0700781 qcom,msm-compr-dsp {
782 compatible = "qcom,msm-compr-dsp";
783 };
784
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700785 qcom,msm-voip-dsp {
786 compatible = "qcom,msm-voip-dsp";
787 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700788
Phani Kumar Uppalapati9fbe9462012-08-24 15:09:36 -0700789 qcom,msm-pcm-voice {
790 compatible = "qcom,msm-pcm-voice";
791 };
792
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700793 qcom,msm-stub-codec {
794 compatible = "qcom,msm-stub-codec";
795 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700796
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700797 qcom,msm-dai-fe {
798 compatible = "qcom,msm-dai-fe";
799 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700800
Phani Kumar Uppalapati580884a2012-09-24 19:40:27 -0700801 qcom,msm-pcm-afe {
802 compatible = "qcom,msm-pcm-afe";
803 };
804
Harmandeep Singh4be68502012-10-01 18:59:04 -0700805 qcom,msm-dai-q6-hdmi {
806 compatible = "qcom,msm-dai-q6-hdmi";
807 qcom,msm-dai-q6-dev-id = <8>;
808 };
809
Joonwoo Parka078b902013-03-07 16:46:13 -0800810 qcom,msm-lsm-client {
811 compatible = "qcom,msm-lsm-client";
812 };
813
Joonwoo Park6572ac52012-07-10 17:17:00 -0700814 qcom,msm-dai-q6 {
815 compatible = "qcom,msm-dai-q6";
816 qcom,msm-dai-q6-sb-0-rx {
817 compatible = "qcom,msm-dai-q6-dev";
818 qcom,msm-dai-q6-dev-id = <16384>;
819 };
820
821 qcom,msm-dai-q6-sb-0-tx {
822 compatible = "qcom,msm-dai-q6-dev";
823 qcom,msm-dai-q6-dev-id = <16385>;
824 };
Phani Kumar Uppalapati1d303092012-09-24 19:55:56 -0700825
Phani Kumar Uppalapatiefad7312012-10-09 18:43:36 -0700826 qcom,msm-dai-q6-sb-1-rx {
827 compatible = "qcom,msm-dai-q6-dev";
828 qcom,msm-dai-q6-dev-id = <16386>;
829 };
830
831 qcom,msm-dai-q6-sb-1-tx {
832 compatible = "qcom,msm-dai-q6-dev";
833 qcom,msm-dai-q6-dev-id = <16387>;
834 };
835
Kiran Kandi516dea62013-01-17 17:09:45 -0800836 qcom,msm-dai-q6-sb-2-rx {
837 compatible = "qcom,msm-dai-q6-dev";
838 qcom,msm-dai-q6-dev-id = <16388>;
839 };
840
841 qcom,msm-dai-q6-sb-2-tx {
842 compatible = "qcom,msm-dai-q6-dev";
843 qcom,msm-dai-q6-dev-id = <16389>;
844 };
845
Phani Kumar Uppalapatiefad7312012-10-09 18:43:36 -0700846 qcom,msm-dai-q6-sb-3-rx {
847 compatible = "qcom,msm-dai-q6-dev";
848 qcom,msm-dai-q6-dev-id = <16390>;
849 };
850
851 qcom,msm-dai-q6-sb-3-tx {
852 compatible = "qcom,msm-dai-q6-dev";
853 qcom,msm-dai-q6-dev-id = <16391>;
854 };
855
856 qcom,msm-dai-q6-sb-4-rx {
857 compatible = "qcom,msm-dai-q6-dev";
858 qcom,msm-dai-q6-dev-id = <16392>;
859 };
860
861 qcom,msm-dai-q6-sb-4-tx {
862 compatible = "qcom,msm-dai-q6-dev";
863 qcom,msm-dai-q6-dev-id = <16393>;
864 };
865
Joonwoo Park43a3f2d2013-03-12 16:52:39 -0700866 qcom,msm-dai-q6-sb-5-tx {
867 compatible = "qcom,msm-dai-q6-dev";
868 qcom,msm-dai-q6-dev-id = <16395>;
869 };
870
Phani Kumar Uppalapati1d303092012-09-24 19:55:56 -0700871 qcom,msm-dai-q6-bt-sco-rx {
872 compatible = "qcom,msm-dai-q6-dev";
873 qcom,msm-dai-q6-dev-id = <12288>;
874 };
875
876 qcom,msm-dai-q6-bt-sco-tx {
877 compatible = "qcom,msm-dai-q6-dev";
878 qcom,msm-dai-q6-dev-id = <12289>;
879 };
880
Phani Kumar Uppalapatibebe7382012-10-08 19:19:01 -0700881 qcom,msm-dai-q6-int-fm-rx {
882 compatible = "qcom,msm-dai-q6-dev";
883 qcom,msm-dai-q6-dev-id = <12292>;
884 };
885
886 qcom,msm-dai-q6-int-fm-tx {
887 compatible = "qcom,msm-dai-q6-dev";
888 qcom,msm-dai-q6-dev-id = <12293>;
889 };
890
Phani Kumar Uppalapati1d303092012-09-24 19:55:56 -0700891 qcom,msm-dai-q6-be-afe-pcm-rx {
892 compatible = "qcom,msm-dai-q6-dev";
893 qcom,msm-dai-q6-dev-id = <224>;
894 };
895
896 qcom,msm-dai-q6-be-afe-pcm-tx {
897 compatible = "qcom,msm-dai-q6-dev";
898 qcom,msm-dai-q6-dev-id = <225>;
899 };
900
901 qcom,msm-dai-q6-afe-proxy-rx {
902 compatible = "qcom,msm-dai-q6-dev";
903 qcom,msm-dai-q6-dev-id = <241>;
904 };
905
906 qcom,msm-dai-q6-afe-proxy-tx {
907 compatible = "qcom,msm-dai-q6-dev";
908 qcom,msm-dai-q6-dev-id = <240>;
909 };
Mohan Kumar Gubbihalli Lachma Naik984252f2012-12-06 16:13:33 -0800910
911 qcom,msm-dai-q6-incall-record-rx {
912 compatible = "qcom,msm-dai-q6-dev";
913 qcom,msm-dai-q6-dev-id = <32771>;
914 };
915
916 qcom,msm-dai-q6-incall-record-tx {
917 compatible = "qcom,msm-dai-q6-dev";
918 qcom,msm-dai-q6-dev-id = <32772>;
919 };
Mohan Kumar Gubbihalli Lachma Naik72e1b282012-12-19 11:49:07 -0800920
921 qcom,msm-dai-q6-incall-music-rx {
922 compatible = "qcom,msm-dai-q6-dev";
923 qcom,msm-dai-q6-dev-id = <32773>;
924 };
Joonwoo Park6572ac52012-07-10 17:17:00 -0700925 };
926
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700927 qcom,msm-auxpcm {
928 compatible = "qcom,msm-auxpcm-resource";
929 qcom,msm-cpudai-auxpcm-clk = "pcm_clk";
Damir Didjusto04d3c362013-01-07 14:30:53 -0800930 qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
931 qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
932 qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
933 qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
934 qcom,msm-cpudai-auxpcm-slot = <1>, <1>;
935 qcom,msm-cpudai-auxpcm-data = <0>, <0>;
936 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700937
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700938 qcom,msm-auxpcm-rx {
939 qcom,msm-auxpcm-dev-id = <4106>;
940 compatible = "qcom,msm-auxpcm-dev";
941 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700942
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700943 qcom,msm-auxpcm-tx {
944 qcom,msm-auxpcm-dev-id = <4107>;
945 compatible = "qcom,msm-auxpcm-dev";
946 };
947 };
948
Kiran Kandi1a2772e2012-11-16 09:25:36 -0800949 qcom,msm-dai-mi2s {
950 compatible = "qcom,msm-dai-mi2s";
951 qcom,msm-dai-q6-mi2s-quat {
952 compatible = "qcom,msm-dai-q6-mi2s";
953 qcom,msm-dai-q6-mi2s-dev-id = <3>;
954 qcom,msm-mi2s-rx-lines = <1>;
955 qcom,msm-mi2s-tx-lines = <2>;
956 };
957 };
958
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700959 qcom,msm-pcm-hostless {
960 compatible = "qcom,msm-pcm-hostless";
961 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700962
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700963 qcom,msm-ocmem-audio {
964 compatible = "qcom,msm-ocmem-audio";
Gagan Macb2372ae2012-08-20 19:24:32 -0600965 qcom,msm-bus,name = "audio-ocmem";
966 qcom,msm-bus,num-cases = <2>;
967 qcom,msm-bus,active-only = <0>;
968 qcom,msm-bus,num-paths = <1>;
969 qcom,msm-bus,vectors-KBps =
Phani Kumar Uppalapati31492952012-09-25 20:25:53 -0700970 <11 604 0 0>,
Gagan Macb2372ae2012-08-20 19:24:32 -0600971 <11 604 32506 32506>;
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700972 };
973
Naveen Ramaraj07e66912012-10-10 12:26:06 -0700974 qcom,msm-adsp-sensors {
975 compatible = "qcom,msm-adsp-sensors";
Naveen Ramaraj88f23632012-10-10 12:23:29 -0700976 qcom,src-id = <11>;
977 qcom,dst-id = <604>;
978 qcom,ab = <32505856>;
979 qcom,ib = <32505856>;
Naveen Ramaraj07e66912012-10-10 12:26:06 -0700980 };
981
Matt Wagantall4e2599e2012-03-21 22:31:35 -0700982 qcom,mss@fc880000 {
983 compatible = "qcom,pil-q6v5-mss";
984 reg = <0xfc880000 0x100>,
985 <0xfd485000 0x400>,
986 <0xfc820000 0x020>,
Stephen Boyd3da4fd02012-07-06 10:00:12 -0700987 <0xfc401680 0x004>,
988 <0x0d1fc000 0x4000>;
Matt Wagantall1f168152012-09-25 13:26:47 -0700989 reg-names = "qdsp6_base", "halt_base", "rmb_base",
Stephen Boyd3da4fd02012-07-06 10:00:12 -0700990 "restart_reg", "metadata_base";
Matt Wagantall1f168152012-09-25 13:26:47 -0700991
Stephen Boyd3da4fd02012-07-06 10:00:12 -0700992 interrupts = <0 24 1>;
Matt Wagantall4e2599e2012-03-21 22:31:35 -0700993 vdd_mss-supply = <&pm8841_s3>;
Matt Wagantall6c515982013-01-29 14:58:43 -0800994 vdd_cx-supply = <&pm8841_s2_corner>;
Matt Wagantall70315fb2012-12-03 16:33:28 -0800995 vdd_mx-supply = <&pm8841_s1>;
Matt Wagantall6c515982013-01-29 14:58:43 -0800996 vdd_pll-supply = <&pm8941_l12>;
997 qcom,vdd_pll = <1800000>;
Vikram Mulukutla2d4f0862012-11-16 11:57:34 -0800998 qcom,is-loadable;
Matt Wagantall4e2599e2012-03-21 22:31:35 -0700999 qcom,firmware-name = "mba";
Patrick Dalyb830a3f2013-03-11 14:21:34 -07001000 qcom,pil-self-auth;
Seemanta Dutta6e58f542013-03-04 19:28:16 -08001001
1002 /* GPIO input from mss */
1003 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
1004
1005 /* GPIO output to mss */
1006 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001007 };
1008
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001009 qcom,pronto@fb21b000 {
1010 compatible = "qcom,pil-pronto";
1011 reg = <0xfb21b000 0x3000>,
1012 <0xfc401700 0x4>,
1013 <0xfd485300 0xc>;
Matt Wagantall1f168152012-09-25 13:26:47 -07001014 reg-names = "pmu_base", "clk_base", "halt_base";
Stephen Boyd1be799e2012-10-17 15:50:42 -07001015 interrupts = <0 149 1>;
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001016 vdd_pronto_pll-supply = <&pm8941_l12>;
1017
1018 qcom,firmware-name = "wcnss";
1019 };
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07001020
Venkateshwarlu Domakonda54ec3252013-02-18 21:25:57 +05301021 qcom,iris-fm {
1022 compatible = "qcom,iris_fm";
1023 };
1024
Sameer Thalappil37c27af2012-09-05 13:33:06 -07001025 qcom,wcnss-wlan@fb000000 {
1026 compatible = "qcom,wcnss_wlan";
1027 reg = <0xfb000000 0x280000>;
1028 reg-names = "wcnss_mmio";
1029 interrupts = <0 145 0 0 146 0>;
1030 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
1031
1032 qcom,pronto-vddmx-supply = <&pm8841_s1>;
1033 qcom,pronto-vddcx-supply = <&pm8841_s2>;
1034 qcom,pronto-vddpx-supply = <&pm8941_s3>;
1035 qcom,iris-vddxo-supply = <&pm8941_l6>;
1036 qcom,iris-vddrfa-supply = <&pm8941_l11>;
1037 qcom,iris-vddpa-supply = <&pm8941_l19>;
1038 qcom,iris-vdddig-supply = <&pm8941_l3>;
1039
1040 gpios = <&msmgpio 36 0>, <&msmgpio 37 0>, <&msmgpio 38 0>, <&msmgpio 39 0>, <&msmgpio 40 0>;
1041 qcom,has_48mhz_xo;
1042 qcom,has_pronto_hw;
1043 };
1044
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07001045 qcom,ocmem@fdd00000 {
Naveen Ramaraj94455a42012-07-05 16:01:40 -07001046 compatible = "qcom,msm-ocmem";
1047 reg = <0xfdd00000 0x2000>,
1048 <0xfdd02000 0x2000>,
1049 <0xfe039000 0x400>,
1050 <0xfec00000 0x180000>;
1051 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
1052 interrupts = <0 76 0 0 77 0>;
1053 interrupt-names = "ocmem_irq", "dm_irq";
1054 qcom,ocmem-num-regions = <0x3>;
Neeti Desaida238c42013-01-29 14:49:14 -08001055 qcom,ocmem-num-macros = <0x8>;
Naveen Ramarajba3a6262012-08-02 17:14:27 -07001056 qcom,resource-type = <0x706d636f>;
Naveen Ramaraj94455a42012-07-05 16:01:40 -07001057 #address-cells = <1>;
1058 #size-cells = <1>;
1059 ranges = <0x0 0xfec00000 0x180000>;
1060
1061 partition@0 {
1062 reg = <0x0 0x100000>;
1063 qcom,ocmem-part-name = "graphics";
1064 qcom,ocmem-part-min = <0x80000>;
1065 };
1066
1067 partition@80000 {
Naveen Ramaraj20848c92013-02-12 12:02:55 -08001068 reg = <0x100000 0x80000>;
Naveen Ramaraj94455a42012-07-05 16:01:40 -07001069 qcom,ocmem-part-name = "lp_audio";
Naveen Ramaraj20848c92013-02-12 12:02:55 -08001070 qcom,ocmem-part-min = <0x80000>;
Naveen Ramaraj94455a42012-07-05 16:01:40 -07001071 };
1072
1073 partition@100000 {
1074 reg = <0x100000 0x80000>;
1075 qcom,ocmem-part-name = "video";
1076 qcom,ocmem-part-min = <0x55000>;
1077 };
1078
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07001079 };
Mahesh Sivasubramanian3f0d0c72012-05-04 17:35:55 -06001080
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001081 rpm_bus: qcom,rpm-smd {
Mahesh Sivasubramanian3f0d0c72012-05-04 17:35:55 -06001082 compatible = "qcom,rpm-smd";
1083 rpm-channel-name = "rpm_requests";
1084 rpm-channel-type = <15>; /* SMD_APPS_RPM */
1085 };
Hariprasad Dhalinarasimhade991f02012-05-31 13:15:51 -07001086
1087 qcom,msm-rng@f9bff000 {
1088 compatible = "qcom,msm-rng";
1089 reg = <0xf9bff000 0x200>;
1090 };
Ramesh Masavarapufb1f01e2012-06-14 09:40:40 -07001091
1092 qcom,qseecom@fe806000 {
1093 compatible = "qcom,qseecom";
Neeti Desaidb076c52012-11-05 11:48:34 -08001094 reg = <0x7f00000 0x500000>;
1095 reg-names = "secapp-region";
Gagan Macb2372ae2012-08-20 19:24:32 -06001096 qcom,msm-bus,name = "qseecom-noc";
1097 qcom,msm-bus,num-cases = <4>;
1098 qcom,msm-bus,active-only = <0>;
1099 qcom,msm-bus,num-paths = <1>;
1100 qcom,msm-bus,vectors-KBps =
Ramesh Masavarapu4e7b67d2012-09-14 12:12:23 -07001101 <55 512 0 0>,
Gagan Macb2372ae2012-08-20 19:24:32 -06001102 <55 512 3936000 393600>,
1103 <55 512 3936000 393600>,
1104 <55 512 3936000 393600>;
Ramesh Masavarapufb1f01e2012-06-14 09:40:40 -07001105 };
Adrian Salido-Moreno5ef3ac02012-05-14 18:40:47 -07001106
Hanumant72aec702012-06-25 11:51:07 -07001107 qcom,wdt@f9017000 {
1108 compatible = "qcom,msm-watchdog";
1109 reg = <0xf9017000 0x1000>;
1110 interrupts = <0 3 0 0 4 0>;
1111 qcom,bark-time = <11000>;
1112 qcom,pet-time = <10000>;
Mitchel Humpherys1be23802012-11-16 15:52:32 -08001113 qcom,ipi-ping;
Hanumant72aec702012-06-25 11:51:07 -07001114 };
Hariprasad Dhalinarasimha0fc258f2012-07-05 13:01:29 -07001115
Ramesh Masavarapu00847832012-09-12 13:57:37 -07001116 qcom,tz-log@fc03000 {
Hariprasad Dhalinarasimha0fc258f2012-07-05 13:01:29 -07001117 compatible = "qcom,tz-log";
Ramesh Masavarapu00847832012-09-12 13:57:37 -07001118 reg = <0x0fc03000 0x1000>;
Hariprasad Dhalinarasimha0fc258f2012-07-05 13:01:29 -07001119 };
Tianyi Gou828798d2012-05-02 21:12:38 -07001120
1121 qcom,venus@fdce0000 {
1122 compatible = "qcom,pil-venus";
1123 reg = <0xfdce0000 0x4000>,
Tianyi Gou8134f592013-01-24 14:27:09 -08001124 <0xfdc80000 0x400>;
Matt Wagantall1f168152012-09-25 13:26:47 -07001125 reg-names = "wrapper_base", "vbif_base";
Tianyi Gou828798d2012-05-02 21:12:38 -07001126 vdd-supply = <&gdsc_venus>;
1127
1128 qcom,firmware-name = "venus";
Tianyi Gou828798d2012-05-02 21:12:38 -07001129 };
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -07001130
Stepan Moskovchenkoc79a7382012-07-19 17:24:32 -07001131 qcom,cache_erp {
1132 compatible = "qcom,cache_erp";
1133 interrupts = <1 9 0>, <0 2 0>;
1134 interrupt-names = "l1_irq", "l2_irq";
1135 };
1136
Stepan Moskovchenko81f347d2012-09-12 18:53:21 -07001137 qcom,cache_dump {
1138 compatible = "qcom,cache_dump";
1139 qcom,l1-dump-size = <0x100000>;
1140 qcom,l2-dump-size = <0x500000>;
1141 qcom,memory-reservation-type = "EBI1";
1142 qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */
1143 };
1144
Siddartha Mohanadoss4a8544c2013-02-01 19:44:33 -08001145 tsens: tsens@fc4a8000 {
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -07001146 compatible = "qcom,msm-tsens";
1147 reg = <0xfc4a8000 0x2000>,
Siddartha Mohanadoss18c1edd2012-09-11 11:49:21 -07001148 <0xfc4b8000 0x1000>;
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -07001149 reg-names = "tsens_physical", "tsens_eeprom_physical";
1150 interrupts = <0 184 0>;
1151 qcom,sensors = <11>;
Siddartha Mohanadoss205bce62012-07-27 17:17:18 -07001152 qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200
1153 3200 3200>;
Siddartha Mohanadoss3f8cd142013-02-06 17:24:33 -08001154 qcom,calib-mode = "fuse_map1";
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -07001155 };
Laura Abbottf7e44042012-06-22 12:50:32 -07001156
1157 qcom,msm-rtb {
1158 compatible = "qcom,msm-rtb";
1159 qcom,memory-reservation-type = "EBI1";
1160 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
1161 };
Mona Hossainb43e94b2012-05-07 08:52:06 -07001162
Mitchel Humpherys6ae3ae42012-10-30 15:12:52 -07001163 qcom,msm-contig-mem {
1164 compatible = "qcom,msm-contig-mem";
1165 qcom,memory-reservation-type = "EBI1";
1166 qcom,memory-reservation-size = <0x280000>; /* 2.5M EBI1 buffer */
1167 };
1168
Mona Hossainb43e94b2012-05-07 08:52:06 -07001169 qcom,qcedev@fd440000 {
1170 compatible = "qcom,qcedev";
1171 reg = <0xfd440000 0x20000>,
1172 <0xfd444000 0x8000>;
Ramesh Masavarapu97ad00d2012-08-06 16:47:26 -07001173 reg-names = "crypto-base","crypto-bam-base";
Ramesh Masavarapu12759ad2012-09-06 20:11:05 -07001174 interrupts = <0 236 0>;
1175 qcom,bam-pipe-pair = <1>;
Mona Hossain0609e992012-11-29 13:46:25 -08001176 qcom,ce-hw-instance = <1>;
1177 qcom,msm-bus,name = "qcedev-noc";
1178 qcom,msm-bus,num-cases = <2>;
1179 qcom,msm-bus,active-only = <0>;
1180 qcom,msm-bus,num-paths = <1>;
1181 qcom,msm-bus,vectors-KBps =
1182 <56 512 0 0>,
1183 <56 512 3936000 393600>;
Mona Hossainb43e94b2012-05-07 08:52:06 -07001184 };
1185
1186 qcom,qcrypto@fd444000 {
1187 compatible = "qcom,qcrypto";
1188 reg = <0xfd440000 0x20000>,
1189 <0xfd444000 0x8000>;
Ramesh Masavarapu97ad00d2012-08-06 16:47:26 -07001190 reg-names = "crypto-base","crypto-bam-base";
Ramesh Masavarapu12759ad2012-09-06 20:11:05 -07001191 interrupts = <0 236 0>;
1192 qcom,bam-pipe-pair = <2>;
Mona Hossain0609e992012-11-29 13:46:25 -08001193 qcom,ce-hw-instance = <1>;
1194 qcom,msm-bus,name = "qcrypto-noc";
1195 qcom,msm-bus,num-cases = <2>;
1196 qcom,msm-bus,active-only = <0>;
1197 qcom,msm-bus,num-paths = <1>;
1198 qcom,msm-bus,vectors-KBps =
1199 <56 512 0 0>,
1200 <56 512 3936000 393600>;
Mona Hossainb43e94b2012-05-07 08:52:06 -07001201 };
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001202
1203 qcom,usbbam@f9304000 {
1204 compatible = "qcom,usb-bam-msm";
Manu Gautam6afd5872012-07-25 09:16:55 +05301205 reg = <0xf9304000 0x5000>,
Manu Gautam4658d892012-08-20 18:24:52 -07001206 <0xf9a44000 0x11000>,
1207 <0xf92f880c 0x4>;
1208 reg-names = "ssusb", "hsusb", "qscratch_ram1_reg";
Manu Gautam6afd5872012-07-25 09:16:55 +05301209 interrupts = <0 132 0 0 135 0>;
1210 interrupt-names = "ssusb", "hsusb";
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001211 qcom,usb-bam-num-pipes = <16>;
1212 qcom,usb-base-address = <0xf9200000>;
Manu Gautamd4fa0022012-08-28 13:16:36 -07001213 qcom,ignore-core-reset-ack;
Manu Gautamffe5fd82013-01-08 11:36:44 +05301214 qcom,disable-clk-gating;
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001215
Shimrit Malichidbf43d72013-03-16 03:32:27 +02001216 qcom,pipe0 {
1217 label = "ssusb-qdss-in-0";
Manu Gautam6afd5872012-07-25 09:16:55 +05301218 qcom,usb-bam-mem-type = <1>;
Shimrit Malichidbf43d72013-03-16 03:32:27 +02001219 qcom,bam-type = <0>;
1220 qcom,dir = <1>;
1221 qcom,pipe-num = <0>;
1222 qcom,peer-bam = <1>;
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001223 qcom,src-bam-physical-address = <0xfc37C000>;
1224 qcom,src-bam-pipe-index = <0>;
1225 qcom,dst-bam-physical-address = <0xf9304000>;
1226 qcom,dst-bam-pipe-index = <2>;
1227 qcom,data-fifo-offset = <0xf0000>;
Manu Gautam9c70c892012-10-19 16:34:26 +05301228 qcom,data-fifo-size = <0x1800>;
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001229 qcom,descriptor-fifo-offset = <0xf4000>;
1230 qcom,descriptor-fifo-size = <0x1400>;
Manu Gautam31a74aa2012-12-21 17:00:48 +05301231 qcom,reset-bam-on-connect;
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001232 };
Manu Gautam6afd5872012-07-25 09:16:55 +05301233
Shimrit Malichidbf43d72013-03-16 03:32:27 +02001234 qcom,pipe1 {
1235 label = "hsusb-qdss-in-0";
Manu Gautam4658d892012-08-20 18:24:52 -07001236 qcom,usb-bam-mem-type = <1>;
Shimrit Malichidbf43d72013-03-16 03:32:27 +02001237 qcom,bam-type = <1>;
1238 qcom,dir = <1>;
1239 qcom,pipe-num = <0>;
1240 qcom,peer-bam = <1>;
Manu Gautam6afd5872012-07-25 09:16:55 +05301241 qcom,src-bam-physical-address = <0xfc37c000>;
1242 qcom,src-bam-pipe-index = <0>;
1243 qcom,dst-bam-physical-address = <0xf9a44000>;
1244 qcom,dst-bam-pipe-index = <2>;
Manu Gautam4658d892012-08-20 18:24:52 -07001245 qcom,data-fifo-offset = <0xf4000>;
1246 qcom,data-fifo-size = <0x1000>;
1247 qcom,descriptor-fifo-offset = <0xf5000>;
1248 qcom,descriptor-fifo-size = <0x400>;
Manu Gautam6afd5872012-07-25 09:16:55 +05301249 };
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001250 };
Eugene Seahce52ef22012-07-12 12:40:38 -06001251
1252 qcom,msm-thermal {
1253 compatible = "qcom,msm-thermal";
Praveen Chidambaramf57880a2013-02-08 10:03:26 -07001254 qcom,sensor-id = <5>;
Eugene Seahce52ef22012-07-12 12:40:38 -06001255 qcom,poll-ms = <250>;
1256 qcom,limit-temp = <60>;
1257 qcom,temp-hysteresis = <10>;
1258 qcom,freq-step = <2>;
1259 };
Anirudh Ghayalb70740f2012-08-01 09:00:49 +05301260
Jeff Hugo110bced2012-08-21 14:10:27 -06001261 qcom,bam_dmux@fc834000 {
1262 compatible = "qcom,bam_dmux";
1263 reg = <0xfc834000 0x7000>;
1264 interrupts = <0 29 1>;
1265 };
Pushkar Joshie54e93a2012-09-27 12:28:20 -07001266
Hanumant Singhe39a0c32012-09-05 17:57:57 -07001267 qcom,msm-mem-hole {
1268 compatible = "qcom,msm-mem-hole";
Neeti Desaidb076c52012-11-05 11:48:34 -08001269 qcom,memblock-remove = <0x7f00000 0x8000000>; /* Address and Size of Hole */
Hanumant Singhe39a0c32012-09-05 17:57:57 -07001270 };
Jeff Hugo412356e2012-09-27 17:14:23 -06001271
Mayank Rana3d073cf2012-12-18 10:23:27 +05301272 uart7: uart@f995d000 { /*BLSP #2, UART #7 */
Mayank Rana3d073cf2012-12-18 10:23:27 +05301273 compatible = "qcom,msm-hsuart-v14";
1274 status = "disabled";
1275 reg = <0xf995d000 0x1000>,
Saket Saurabh8b344642013-02-19 11:29:34 +05301276 <0xf9944000 0x19000>;
Mayank Rana3d073cf2012-12-18 10:23:27 +05301277 reg-names = "core_mem", "bam_mem";
1278 interrupts = <0 113 0>, <0 239 0>;
1279 interrupt-names = "core_irq", "bam_irq";
1280
1281 qcom,bam-tx-ep-pipe-index = <0>;
1282 qcom,bam-rx-ep-pipe-index = <1>;
Mayank Ranacef12ec2013-01-17 09:58:48 +05301283 qcom,msm-bus,name = "uart7";
1284 qcom,msm-bus,num-cases = <2>;
1285 qcom,msm-bus,active-only = <0>;
1286 qcom,msm-bus,num-paths = <1>;
1287 qcom,msm-bus,vectors-KBps =
1288 <84 512 0 0>,
1289 <84 512 500 800>;
Mayank Rana3d073cf2012-12-18 10:23:27 +05301290 };
1291
Jeff Hugo412356e2012-09-27 17:14:23 -06001292 qcom,smem@fa00000 {
1293 compatible = "qcom,smem";
1294 reg = <0xfa00000 0x200000>,
Stepan Moskovchenkod6ee8262013-02-06 11:26:05 -08001295 <0xf9011000 0x1000>,
Jeff Hugo412356e2012-09-27 17:14:23 -06001296 <0xfc428000 0x4000>;
1297 reg-names = "smem", "irq-reg-base", "aux-mem1";
1298
1299 qcom,smd-modem {
1300 compatible = "qcom,smd";
1301 qcom,smd-edge = <0>;
1302 qcom,smd-irq-offset = <0x8>;
1303 qcom,smd-irq-bitmask = <0x1000>;
1304 qcom,pil-string = "modem";
1305 interrupts = <0 25 1>;
1306 };
1307
1308 qcom,smsm-modem {
1309 compatible = "qcom,smsm";
1310 qcom,smsm-edge = <0>;
1311 qcom,smsm-irq-offset = <0x8>;
1312 qcom,smsm-irq-bitmask = <0x2000>;
1313 interrupts = <0 26 1>;
1314 };
1315
1316 qcom,smd-adsp {
1317 compatible = "qcom,smd";
1318 qcom,smd-edge = <1>;
1319 qcom,smd-irq-offset = <0x8>;
1320 qcom,smd-irq-bitmask = <0x100>;
1321 qcom,pil-string = "adsp";
1322 interrupts = <0 156 1>;
1323 };
1324
1325 qcom,smsm-adsp {
1326 compatible = "qcom,smsm";
1327 qcom,smsm-edge = <1>;
1328 qcom,smsm-irq-offset = <0x8>;
1329 qcom,smsm-irq-bitmask = <0x200>;
1330 interrupts = <0 157 1>;
1331 };
1332
1333 qcom,smd-wcnss {
1334 compatible = "qcom,smd";
1335 qcom,smd-edge = <6>;
1336 qcom,smd-irq-offset = <0x8>;
1337 qcom,smd-irq-bitmask = <0x20000>;
1338 qcom,pil-string = "wcnss";
1339 interrupts = <0 142 1>;
1340 };
1341
1342 qcom,smsm-wcnss {
1343 compatible = "qcom,smsm";
1344 qcom,smsm-edge = <6>;
1345 qcom,smsm-irq-offset = <0x8>;
1346 qcom,smsm-irq-bitmask = <0x80000>;
1347 interrupts = <0 144 1>;
1348 };
1349
1350 qcom,smd-rpm {
1351 compatible = "qcom,smd";
1352 qcom,smd-edge = <15>;
1353 qcom,smd-irq-offset = <0x8>;
1354 qcom,smd-irq-bitmask = <0x1>;
1355 interrupts = <0 168 1>;
1356 qcom,irq-no-suspend;
1357 };
1358 };
Praveen Chidambaram580d8a02013-02-06 16:52:08 -07001359
1360 qcom,bcl {
1361 compatible = "qcom,bcl";
1362 };
Ashay Jaiswal3bd768d2013-02-07 09:42:38 +05301363
1364 qcom,ssm {
1365 compatible = "qcom,ssm";
1366 qcom,channel-name = "SSM_RTR";
1367 };
Jeff Hugod368de02013-02-28 10:54:55 -07001368
1369 sfpb_spinlock: qcom,ipc-spinlock@fd484000 {
1370 compatible = "qcom,ipc-spinlock-sfpb";
Jeff Hugodfad6322013-03-14 14:21:40 -06001371 reg = <0xfd484000 0x400>;
1372 qcom,num-locks = <8>;
Jeff Hugod368de02013-02-28 10:54:55 -07001373 };
1374
1375 ldrex_spinlock: qcom,ipc-spinlock@fa00000 {
1376 compatible = "qcom,ipc-spinlock-ldrex";
1377 reg = <0xfa00000 0x200000>;
1378 status = "disable";
1379 };
Ashwin Chaugule50d59892013-03-12 12:58:51 -04001380
1381 cpu-pmu {
1382 compatible = "qcom,krait-pmu";
1383 qcom,irq-is-percpu;
1384 interrupts = <1 7 0xf00>;
1385 };
1386
1387 l2-pmu {
1388 compatible = "qcom,l2-pmu";
1389 interrupts = <0 1 0>;
1390 };
Sathish Ambley4df614c2011-10-07 16:30:46 -07001391};
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001392
Patrick Dalye8977aa2012-11-06 15:25:58 -08001393&gdsc_venus {
1394 status = "ok";
1395};
1396
1397&gdsc_mdss {
1398 status = "ok";
1399};
1400
1401&gdsc_jpeg {
1402 status = "ok";
1403};
1404
1405&gdsc_vfe {
1406 status = "ok";
1407};
1408
1409&gdsc_oxili_gx {
1410 status = "ok";
1411};
1412
1413&gdsc_oxili_cx {
1414 status = "ok";
1415};
1416
1417&gdsc_usb_hsic {
1418 status = "ok";
1419};
1420
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001421/include/ "msm-pm8x41-rpm-regulator.dtsi"
1422/include/ "msm-pm8841.dtsi"
1423/include/ "msm-pm8941.dtsi"
1424/include/ "msm8974-regulator.dtsi"
Michael Bohanee1f8fe2012-08-03 18:32:16 -07001425/include/ "msm8974-clock.dtsi"