blob: 7e6c6d63f3953e8aab6872f31d945a4835076e34 [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;
Deva Ramasubramanian74b1dda2013-03-27 13:16:17 -070099 qcom,max-hw-load = <1224450>; /* 4k @ 30 + 1080p @ 30*/
Praneeth Paladugu4b73ec82012-02-08 12:55:59 -0800100 };
101
Arun Menona3914662013-03-22 10:12:25 -0700102 qcom,vidc {
103 compatible = "qcom,msm-vidc";
104 qcom,hfi = "q6";
105 };
106
Deva Ramasubramanianf8ec9d692012-07-12 20:42:12 -0700107 qcom,wfd {
108 compatible = "qcom,msm-wfd";
109 };
110
David Brown225abee2012-02-09 22:28:50 -0800111 serial@f991f000 {
Sathish Ambley3d50c762011-10-25 15:26:00 -0700112 compatible = "qcom,msm-lsuart-v14";
David Brown225abee2012-02-09 22:28:50 -0800113 reg = <0xf991f000 0x1000>;
Michael Bohanc7224532012-01-06 16:02:52 -0800114 interrupts = <0 109 0>;
Stepan Moskovchenko43f11582012-08-08 17:20:38 -0700115 status = "disabled";
Sathish Ambley3d50c762011-10-25 15:26:00 -0700116 };
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +0530117
Sathish Ambley9d69ac32012-03-21 10:28:26 -0700118 serial@f995e000 {
119 compatible = "qcom,msm-lsuart-v14";
120 reg = <0xf995e000 0x1000>;
121 interrupts = <0 114 0>;
Stepan Moskovchenko43f11582012-08-08 17:20:38 -0700122 status = "disabled";
Sathish Ambley9d69ac32012-03-21 10:28:26 -0700123 };
124
Stepan Moskovchenko5269b602012-08-08 17:57:09 -0700125 serial@f991e000 {
126 compatible = "qcom,msm-lsuart-v14";
127 reg = <0xf991e000 0x1000>;
128 interrupts = <0 108 0>;
129 status = "disabled";
Mayank Rana9ba08292013-01-29 14:47:09 +0530130
131 qcom,msm-bus,name = "serial_uart2";
132 qcom,msm-bus,num-cases = <2>;
133 qcom,msm-bus,active-only = <0>;
134 qcom,msm-bus,num-paths = <1>;
135 qcom,msm-bus,vectors-KBps =
136 <84 512 0 0>,
137 <84 512 500 800>;
Stepan Moskovchenko5269b602012-08-08 17:57:09 -0700138 };
139
David Keitel7df02732012-08-17 16:33:06 -0700140 usb_otg: usb@f9a55000 {
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +0530141 compatible = "qcom,hsusb-otg";
Vijayavardhan Vennapusa029c2852013-01-02 20:03:51 +0530142 status = "disabled";
143
David Brown225abee2012-02-09 22:28:50 -0800144 reg = <0xf9a55000 0x400>;
Manu Gautamf8c45642012-08-10 10:20:56 -0700145 interrupts = <0 134 0 0 140 0>;
146 interrupt-names = "core_irq", "async_irq";
Manu Gautam304631a2013-04-03 11:15:46 +0530147 HSUSB_VDDCX-supply = <&pm8841_s2_corner>;
Michael Bohane66a3a92012-03-26 12:47:28 -0700148 HSUSB_1p8-supply = <&pm8941_l6>;
149 HSUSB_3p3-supply = <&pm8941_l24>;
Manu Gautam304631a2013-04-03 11:15:46 +0530150 qcom,vdd-voltage-level = <1 5 7>;
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +0530151
152 qcom,hsusb-otg-phy-type = <2>;
Manu Gautam4fea0af2012-09-06 12:52:48 -0700153 qcom,hsusb-otg-phy-init-seq = <0x63 0x81 0xffffffff>;
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +0530154 qcom,hsusb-otg-mode = <1>;
Sridhar Parasurama418ce22012-09-26 09:35:21 -0700155 qcom,hsusb-otg-otg-control = <1>;
Manu Gautambd53fba2012-07-31 16:13:06 +0530156 qcom,hsusb-otg-disable-reset;
Manu Gautam0ddbd922012-09-21 17:17:38 +0530157 qcom,hsusb-otg-pnoc-errata-fix;
Manu Gautam2e8ac102012-08-31 11:41:16 -0700158
Gagan Macb2372ae2012-08-20 19:24:32 -0600159 qcom,msm-bus,name = "usb2";
160 qcom,msm-bus,num-cases = <2>;
161 qcom,msm-bus,active-only = <0>;
162 qcom,msm-bus,num-paths = <1>;
163 qcom,msm-bus,vectors-KBps =
Manu Gautam2e8ac102012-08-31 11:41:16 -0700164 <87 512 0 0>,
Gagan Macb2372ae2012-08-20 19:24:32 -0600165 <87 512 60000 960000>;
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +0530166 };
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530167
Krishna Kondab6da6932012-08-19 12:04:05 -0700168 sdcc1: qcom,sdcc@f9824000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530169 cell-index = <1>; /* SDC1 eMMC slot */
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530170 compatible = "qcom,msm-sdcc";
Krishna Konda99783e622012-08-29 10:40:15 -0700171 reg = <0xf9824000 0x800>,
172 <0xf9824800 0x100>,
173 <0xf9804000 0x7000>;
174 reg-names = "core_mem", "dml_mem", "bam_mem";
175 interrupts = <0 123 0>, <0 137 0>;
176 interrupt-names = "core_irq", "bam_irq";
Sujit Reddy Thummab9ff7f02012-05-04 09:57:49 +0530177 vdd-supply = <&pm8941_l20>;
178 vdd-io-supply = <&pm8941_s3>;
179
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700180 qcom,vdd-always-on;
181 qcom,vdd-lpm-sup;
182 qcom,vdd-voltage-level = <2950000 2950000>;
183 qcom,vdd-current-level = <800 500000>;
Sujit Reddy Thummab9ff7f02012-05-04 09:57:49 +0530184
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700185 qcom,vdd-io-always-on;
186 qcom,vdd-io-voltage-level = <1800000 1800000>;
187 qcom,vdd-io-current-level = <250 154000>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530188
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700189 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
190 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
191 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
192 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530193
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530194 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>;
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700195 qcom,sup-voltages = <2950 2950>;
196 qcom,bus-width = <8>;
197 qcom,nonremovable;
198 qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
Sridhar Parasuram15645742012-11-18 12:07:59 -0800199
200 qcom,msm-bus,name = "sdcc1";
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530201 qcom,msm-bus,num-cases = <8>;
Sridhar Parasuram15645742012-11-18 12:07:59 -0800202 qcom,msm-bus,active-only = <0>;
203 qcom,msm-bus,num-paths = <1>;
204 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530205 <78 512 1600 3200>, /* 400 KB/s*/
206 <78 512 80000 160000>, /* 20 MB/s */
207 <78 512 100000 200000>, /* 25 MB/s */
208 <78 512 200000 400000>, /* 50 MB/s */
209 <78 512 400000 800000>, /* 100 MB/s */
210 <78 512 800000 1600000>, /* 200 MB/s */
211 <78 512 2048000 4096000>; /* Max. bandwidth */
212 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Sujit Reddy Thumma3adba2b2012-11-03 09:42:01 +0530213 qcom,dat1-mpm-int = <42>;
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800214 status = "disable";
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530215 };
216
Krishna Kondab6da6932012-08-19 12:04:05 -0700217 sdcc2: qcom,sdcc@f98a4000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530218 cell-index = <2>; /* SDC2 SD card slot */
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530219 compatible = "qcom,msm-sdcc";
Krishna Konda99783e622012-08-29 10:40:15 -0700220 reg = <0xf98a4000 0x800>,
221 <0xf98a4800 0x100>,
222 <0xf9884000 0x7000>;
223 reg-names = "core_mem", "dml_mem", "bam_mem";
224 interrupts = <0 125 0>, <0 220 0>;
225 interrupt-names = "core_irq", "bam_irq";
Sujit Reddy Thummab9ff7f02012-05-04 09:57:49 +0530226 vdd-supply = <&pm8941_l21>;
227 vdd-io-supply = <&pm8941_l13>;
228
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700229 qcom,vdd-voltage-level = <2950000 2950000>;
230 qcom,vdd-current-level = <9000 800000>;
Sujit Reddy Thummab9ff7f02012-05-04 09:57:49 +0530231
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700232 qcom,vdd-io-voltage-level = <1800000 2950000>;
233 qcom,vdd-io-current-level = <6 22000>;
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530234
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700235 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
236 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
237 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
238 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530239
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530240 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>;
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700241 qcom,sup-voltages = <2950 2950>;
242 qcom,bus-width = <4>;
243 qcom,xpc;
244 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104";
245 qcom,current-limit = <800>;
Sridhar Parasuram15645742012-11-18 12:07:59 -0800246
247 qcom,msm-bus,name = "sdcc2";
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530248 qcom,msm-bus,num-cases = <8>;
Sridhar Parasuram15645742012-11-18 12:07:59 -0800249 qcom,msm-bus,active-only = <0>;
250 qcom,msm-bus,num-paths = <1>;
251 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530252 <81 512 1600 3200>, /* 400 KB/s*/
253 <81 512 80000 160000>, /* 20 MB/s */
254 <81 512 100000 200000>, /* 25 MB/s */
255 <81 512 200000 400000>, /* 50 MB/s */
256 <81 512 400000 800000>, /* 100 MB/s */
257 <81 512 800000 1600000>, /* 200 MB/s */
258 <81 512 2048000 4096000>; /* Max. bandwidth */
259 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Sujit Reddy Thumma3adba2b2012-11-03 09:42:01 +0530260 qcom,dat1-mpm-int = <44>;
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800261 status = "disable";
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530262 };
263
Krishna Kondab6da6932012-08-19 12:04:05 -0700264 sdcc3: qcom,sdcc@f9864000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530265 cell-index = <3>; /* SDC3 SDIO slot */
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530266 compatible = "qcom,msm-sdcc";
Krishna Konda99783e622012-08-29 10:40:15 -0700267 reg = <0xf9864000 0x800>,
268 <0xf9864800 0x100>,
269 <0xf9844000 0x7000>;
270 reg-names = "core_mem", "dml_mem", "bam_mem";
Sujit Reddy Thumma3adba2b2012-11-03 09:42:01 +0530271 #address-cells = <0>;
272 interrupt-parent = <&sdcc3>;
273 interrupts = <0 1 2>;
274 #interrupt-cells = <1>;
275 interrupt-map-mask = <0xffffffff>;
276 interrupt-map = <0 &intc 0 127 0
277 1 &intc 0 223 0
278 2 &msmgpio 37 0x8>;
279 interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq";
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530280
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530281 gpios = <&msmgpio 40 0>, /* CLK */
282 <&msmgpio 39 0>, /* CMD */
283 <&msmgpio 38 0>, /* DATA0 */
284 <&msmgpio 37 0>, /* DATA1 */
285 <&msmgpio 36 0>, /* DATA2 */
286 <&msmgpio 35 0>; /* DATA3 */
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700287 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530288
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530289 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700290 qcom,sup-voltages = <1800 1800>;
291 qcom,bus-width = <4>;
292 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50";
Sridhar Parasuram15645742012-11-18 12:07:59 -0800293
294 qcom,msm-bus,name = "sdcc3";
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530295 qcom,msm-bus,num-cases = <8>;
Sridhar Parasuram15645742012-11-18 12:07:59 -0800296 qcom,msm-bus,active-only = <0>;
297 qcom,msm-bus,num-paths = <1>;
298 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530299 <79 512 1600 3200>, /* 400 KB/s*/
300 <79 512 80000 160000>, /* 20 MB/s */
301 <79 512 100000 200000>, /* 25 MB/s */
302 <79 512 200000 400000>, /* 50 MB/s */
303 <79 512 400000 800000>, /* 100 MB/s */
304 <79 512 800000 1600000>, /* 200 MB/s */
305 <79 512 2048000 4096000>; /* Max. bandwidth */
306 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Sujit Reddy Thumma7138b3e2012-06-04 09:10:11 +0530307 status = "disable";
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530308 };
309
Krishna Kondab6da6932012-08-19 12:04:05 -0700310 sdcc4: qcom,sdcc@f98e4000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530311 cell-index = <4>; /* SDC4 SDIO slot */
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530312 compatible = "qcom,msm-sdcc";
Krishna Konda99783e622012-08-29 10:40:15 -0700313 reg = <0xf98e4000 0x800>,
314 <0xf98e4800 0x100>,
315 <0xf98c4000 0x7000>;
316 reg-names = "core_mem", "dml_mem", "bam_mem";
Sujit Reddy Thumma3adba2b2012-11-03 09:42:01 +0530317 #address-cells = <0>;
318 interrupt-parent = <&sdcc4>;
319 interrupts = <0 1 2>;
320 #interrupt-cells = <1>;
321 interrupt-map-mask = <0xffffffff>;
322 interrupt-map = <0 &intc 0 129 0
323 1 &intc 0 226 0
324 2 &msmgpio 95 0x8>;
325 interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq";
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530326
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530327 gpios = <&msmgpio 93 0>, /* CLK */
328 <&msmgpio 91 0>, /* CMD */
329 <&msmgpio 96 0>, /* DATA0 */
330 <&msmgpio 95 0>, /* DATA1 */
331 <&msmgpio 94 0>, /* DATA2 */
332 <&msmgpio 92 0>; /* DATA3 */
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700333 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530334
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530335 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
Oluwafemi Adeyemi6cdfdb82012-11-02 13:36:29 -0700336 qcom,sup-voltages = <1800 1800>;
337 qcom,bus-width = <4>;
338 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50";
Sridhar Parasuram15645742012-11-18 12:07:59 -0800339
340 qcom,msm-bus,name = "sdcc4";
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530341 qcom,msm-bus,num-cases = <8>;
Sridhar Parasuram15645742012-11-18 12:07:59 -0800342 qcom,msm-bus,active-only = <0>;
343 qcom,msm-bus,num-paths = <1>;
344 qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */
Sujit Reddy Thumma1443c832012-11-26 12:26:56 +0530345 <80 512 1600 3200>, /* 400 KB/s*/
346 <80 512 80000 160000>, /* 20 MB/s */
347 <80 512 100000 200000>, /* 25 MB/s */
348 <80 512 200000 400000>, /* 50 MB/s */
349 <80 512 400000 800000>, /* 100 MB/s */
350 <80 512 800000 1600000>, /* 200 MB/s */
351 <80 512 2048000 4096000>; /* Max. bandwidth */
352 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Sujit Reddy Thumma7138b3e2012-06-04 09:10:11 +0530353 status = "disable";
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530354 };
Yan He1466daa2011-11-30 17:25:38 -0800355
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700356 sdhc_1: sdhci@f9824900 {
357 qcom,bus-width = <8>;
358 compatible = "qcom,sdhci-msm";
359 reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
360 reg-names = "hc_mem", "core_mem";
361 interrupts = <0 123 0>, <0 138 0>;
362 interrupt-names = "hc_irq", "pwr_irq";
Sahitya Tummala00240122013-02-28 19:50:51 +0530363 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>;
Sahitya Tummala78233942013-02-25 16:14:17 +0530364 qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
Sahitya Tummalaecc8cae2013-03-10 07:04:16 +0530365 qcom,cpu-dma-latency-us = <200>;
Sahitya Tummala9062e002013-03-10 14:13:40 +0530366
367 qcom,msm-bus,name = "sdhc1";
368 qcom,msm-bus,num-cases = <8>;
369 qcom,msm-bus,active-only = <0>;
370 qcom,msm-bus,num-paths = <1>;
371 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
372 <78 512 1600 3200>, /* 400 KB/s*/
373 <78 512 80000 160000>, /* 20 MB/s */
374 <78 512 100000 200000>, /* 25 MB/s */
375 <78 512 200000 400000>, /* 50 MB/s */
376 <78 512 400000 800000>, /* 100 MB/s */
377 <78 512 800000 1600000>, /* 200 MB/s */
378 <78 512 2048000 4096000>; /* Max. bandwidth */
379 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700380 status = "disable";
381 };
382
383 sdhc_2: sdhci@f98a4900 {
384 compatible = "qcom,sdhci-msm";
385 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
386 reg-names = "hc_mem", "core_mem";
387 interrupts = <0 125 0>, <0 221 0>;
388 interrupt-names = "hc_irq", "pwr_irq";
389
Sahitya Tummala00240122013-02-28 19:50:51 +0530390 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700391 qcom,bus-width = <4>;
Sahitya Tummalaecc8cae2013-03-10 07:04:16 +0530392 qcom,cpu-dma-latency-us = <200>;
Sahitya Tummala9062e002013-03-10 14:13:40 +0530393
394 qcom,msm-bus,name = "sdhc2";
395 qcom,msm-bus,num-cases = <8>;
396 qcom,msm-bus,active-only = <0>;
397 qcom,msm-bus,num-paths = <1>;
398 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
399 <81 512 1600 3200>, /* 400 KB/s*/
400 <81 512 80000 160000>, /* 20 MB/s */
401 <81 512 100000 200000>, /* 25 MB/s */
402 <81 512 200000 400000>, /* 50 MB/s */
403 <81 512 400000 800000>, /* 100 MB/s */
404 <81 512 800000 1600000>, /* 200 MB/s */
405 <81 512 2048000 4096000>; /* Max. bandwidth */
406 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700407 status = "disable";
408 };
409
410 sdhc_3: sdhci@f9864900 {
411 compatible = "qcom,sdhci-msm";
412 reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
413 reg-names = "hc_mem", "core_mem";
414 interrupts = <0 127 0>, <0 224 0>;
415 interrupt-names = "hc_irq", "pwr_irq";
416 gpios = <&msmgpio 40 0>, /* CLK */
417 <&msmgpio 39 0>, /* CMD */
418 <&msmgpio 38 0>, /* DATA0 */
419 <&msmgpio 37 0>, /* DATA1 */
420 <&msmgpio 36 0>, /* DATA2 */
421 <&msmgpio 35 0>; /* DATA3 */
422 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
423
Sahitya Tummala00240122013-02-28 19:50:51 +0530424 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700425 qcom,bus-width = <4>;
Sahitya Tummalaecc8cae2013-03-10 07:04:16 +0530426 qcom,cpu-dma-latency-us = <200>;
Sahitya Tummala9062e002013-03-10 14:13:40 +0530427
428 qcom,msm-bus,name = "sdhc3";
429 qcom,msm-bus,num-cases = <8>;
430 qcom,msm-bus,active-only = <0>;
431 qcom,msm-bus,num-paths = <1>;
432 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
433 <79 512 1600 3200>, /* 400 KB/s*/
434 <79 512 80000 160000>, /* 20 MB/s */
435 <79 512 100000 200000>, /* 25 MB/s */
436 <79 512 200000 400000>, /* 50 MB/s */
437 <79 512 400000 800000>, /* 100 MB/s */
438 <79 512 800000 1600000>, /* 200 MB/s */
439 <79 512 2048000 4096000>; /* Max. bandwidth */
440 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700441 status = "disable";
442 };
443
444 sdhc_4: sdhci@f98e4900 {
445 compatible = "qcom,sdhci-msm";
446 reg = <0xf98e4900 0x11c>, <0xf98e4000 0x800>;
447 reg-names = "hc_mem", "core_mem";
448 interrupts = <0 129 0>, <0 227 0>;
449 interrupt-names = "hc_irq", "pwr_irq";
450 gpios = <&msmgpio 93 0>, /* CLK */
451 <&msmgpio 91 0>, /* CMD */
452 <&msmgpio 96 0>, /* DATA0 */
453 <&msmgpio 95 0>, /* DATA1 */
454 <&msmgpio 94 0>, /* DATA2 */
455 <&msmgpio 92 0>; /* DATA3 */
456 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
457
Sahitya Tummala00240122013-02-28 19:50:51 +0530458 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700459 qcom,bus-width = <4>;
Sahitya Tummalaecc8cae2013-03-10 07:04:16 +0530460 qcom,cpu-dma-latency-us = <200>;
Sahitya Tummala9062e002013-03-10 14:13:40 +0530461
462 qcom,msm-bus,name = "sdhc4";
463 qcom,msm-bus,num-cases = <8>;
464 qcom,msm-bus,active-only = <0>;
465 qcom,msm-bus,num-paths = <1>;
466 qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */
467 <80 512 1600 3200>, /* 400 KB/s*/
468 <80 512 80000 160000>, /* 20 MB/s */
469 <80 512 100000 200000>, /* 25 MB/s */
470 <80 512 200000 400000>, /* 50 MB/s */
471 <80 512 400000 800000>, /* 100 MB/s */
472 <80 512 800000 1600000>, /* 200 MB/s */
473 <80 512 2048000 4096000>; /* Max. bandwidth */
474 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700475 status = "disable";
476 };
477
David Brown225abee2012-02-09 22:28:50 -0800478 qcom,sps@f9980000 {
Yan He1466daa2011-11-30 17:25:38 -0800479 compatible = "qcom,msm_sps";
David Brown225abee2012-02-09 22:28:50 -0800480 reg = <0xf9984000 0x15000>,
481 <0xf9999000 0xb000>;
Michael Bohanc7224532012-01-06 16:02:52 -0800482 interrupts = <0 94 0>;
Yan He1466daa2011-11-30 17:25:38 -0800483
484 qcom,bam-dma-res-pipes = <6>;
485 };
486
Gilad Avidov0697ea62013-02-11 16:46:38 -0700487 spi_7: spi_epm: spi@f9966000 {
Sagar Dhariae0bb6502012-08-10 20:25:51 -0600488 compatible = "qcom,spi-qup-v2";
Sagar Dhariae0bb6502012-08-10 20:25:51 -0600489 reg = <0xf9966000 0x1000>;
490 interrupts = <0 104 0>;
491 spi-max-frequency = <19200000>;
492 #address-cells = <1>;
493 #size-cells = <0>;
494 gpios = <&msmgpio 56 0>, /* CLK */
495 <&msmgpio 54 0>, /* MISO */
496 <&msmgpio 53 0>; /* MOSI */
497 cs-gpios = <&msmgpio 55 0>;
498 };
Hariprasad Dhalinarasimhade991f02012-05-31 13:15:51 -0700499
Liron Kuchc5b26a62013-01-09 15:09:14 +0200500 tspp: msm_tspp@f99d8000 {
501 compatible = "qcom,msm_tspp";
502 cell-index = <0>;
503 reg = <0xf99d8000 0x1000>, /* MSM_TSIF0_PHYS */
504 <0xf99d9000 0x1000>, /* MSM_TSIF1_PHYS */
505 <0xf99da000 0x1000>, /* MSM_TSPP_PHYS */
506 <0xf99c4000 0x14000>; /* MSM_TSPP_BAM_PHYS */
507 reg-names = "MSM_TSIF0_PHYS",
508 "MSM_TSIF1_PHYS",
509 "MSM_TSPP_PHYS",
510 "MSM_TSPP_BAM_PHYS";
511 interrupts = <0 153 0>, /* TSIF_TSPP_IRQ */
512 <0 151 0>, /* TSIF0_IRQ */
513 <0 152 0>, /* TSIF1_IRQ */
514 <0 154 0>; /* TSIF_BAM_IRQ */
515 interrupt-names = "TSIF_TSPP_IRQ",
516 "TSIF0_IRQ",
517 "TSIF1_IRQ",
518 "TSIF_BAM_IRQ";
519 qcom,tsif-pclk = "iface_clk";
520 qcom,tsif-ref-clk = "ref_clk";
521 gpios = <&msmgpio 89 0>, /* TSIF0 CLK */
522 <&msmgpio 90 0>, /* TSIF0 EN */
523 <&msmgpio 91 0>, /* TSIF0 DATA */
524 <&msmgpio 92 0>, /* TSIF0 SYNC */
525 <&msmgpio 93 0>, /* TSIF1 CLK */
526 <&msmgpio 94 0>, /* TSIF1 EN */
527 <&msmgpio 95 0>, /* TSIF1 DATA */
528 <&msmgpio 96 0>; /* TSIF1 SYNC */
529 qcom,gpio-names = "tsif_clk",
530 "tsif_en",
531 "tsif_data",
532 "tsif_sync",
533 "tsif_clk",
534 "tsif_en",
535 "tsif_data",
536 "tsif_sync";
537 qcom,gpios-func = <1>;
538 };
539
Joonwoo Park6ecc51a2012-10-20 22:32:32 -0700540 slim_msm: slim@fe12f000 {
Sagar Dhariaa316a962012-03-21 16:13:22 -0600541 cell-index = <1>;
Sagar Dhariad27ab412012-09-27 00:31:51 -0600542 compatible = "qcom,slim-ngd";
Sagar Dhariaa316a962012-03-21 16:13:22 -0600543 reg = <0xfe12f000 0x35000>,
544 <0xfe104000 0x20000>;
545 reg-names = "slimbus_physical", "slimbus_bam_physical";
546 interrupts = <0 163 0 0 164 0>;
547 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
Kiran Kandie8bf5d52012-08-06 16:03:16 -0700548
549 taiko_codec {
550 compatible = "qcom,taiko-slim-pgd";
551 elemental-addr = [00 01 A0 00 17 02];
552
Joonwoo Park27a61782012-09-18 16:28:50 -0700553 interrupt-parent = <&wcd9xxx_intc>;
554 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>;
555
Kiran Kandie8bf5d52012-08-06 16:03:16 -0700556 qcom,cdc-reset-gpio = <&msmgpio 63 0>;
557
558 cdc-vdd-buck-supply = <&pm8941_s2>;
559 qcom,cdc-vdd-buck-voltage = <2150000 2150000>;
560 qcom,cdc-vdd-buck-current = <650000>;
561
562 cdc-vdd-tx-h-supply = <&pm8941_s3>;
563 qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>;
564 qcom,cdc-vdd-tx-h-current = <25000>;
565
566 cdc-vdd-rx-h-supply = <&pm8941_s3>;
567 qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>;
568 qcom,cdc-vdd-rx-h-current = <25000>;
569
570 cdc-vddpx-1-supply = <&pm8941_s3>;
571 qcom,cdc-vddpx-1-voltage = <1800000 1800000>;
572 qcom,cdc-vddpx-1-current = <10000>;
573
574 cdc-vdd-a-1p2v-supply = <&pm8941_l1>;
575 qcom,cdc-vdd-a-1p2v-voltage = <1225000 1225000>;
576 qcom,cdc-vdd-a-1p2v-current = <10000>;
577
578 cdc-vddcx-1-supply = <&pm8941_l1>;
579 qcom,cdc-vddcx-1-voltage = <1225000 1225000>;
580 qcom,cdc-vddcx-1-current = <10000>;
581
582 cdc-vddcx-2-supply = <&pm8941_l1>;
583 qcom,cdc-vddcx-2-voltage = <1225000 1225000>;
584 qcom,cdc-vddcx-2-current = <10000>;
585
586 qcom,cdc-micbias-ldoh-v = <0x3>;
587 qcom,cdc-micbias-cfilt1-mv = <1800>;
588 qcom,cdc-micbias-cfilt2-mv = <2700>;
589 qcom,cdc-micbias-cfilt3-mv = <1800>;
590 qcom,cdc-micbias1-cfilt-sel = <0x0>;
591 qcom,cdc-micbias2-cfilt-sel = <0x1>;
592 qcom,cdc-micbias3-cfilt-sel = <0x2>;
593 qcom,cdc-micbias4-cfilt-sel = <0x2>;
Venkat Sudhira50a3762012-11-26 12:12:15 -0800594 qcom,cdc-mclk-clk-rate = <9600000>;
Kiran Kandie8bf5d52012-08-06 16:03:16 -0700595 qcom,cdc-slim-ifd = "taiko-slim-ifd";
596 qcom,cdc-slim-ifd-elemental-addr = [00 00 A0 00 17 02];
Damir Didjusto338805a2013-03-28 16:02:14 -0700597 qcom,cdc-dmic-sample-rate = <4800000>;
Kiran Kandie8bf5d52012-08-06 16:03:16 -0700598 };
Sagar Dhariaa316a962012-03-21 16:13:22 -0600599 };
600
Kiran Kandi0121ad12012-08-20 13:01:47 -0700601 sound {
602 compatible = "qcom,msm8974-audio-taiko";
603 qcom,model = "msm8974-taiko-snd-card";
604
605 qcom,audio-routing =
606 "RX_BIAS", "MCLK",
607 "LDO_H", "MCLK",
Joonwoo Park43a3f2d2013-03-12 16:52:39 -0700608 "AIF4 MAD", "MCLK",
Kiran Kandi0121ad12012-08-20 13:01:47 -0700609 "AMIC1", "MIC BIAS1 Internal1",
610 "MIC BIAS1 Internal1", "Handset Mic",
611 "AMIC2", "MIC BIAS2 External",
612 "MIC BIAS2 External", "Headset Mic",
Kiran Kandi8ad43072012-10-22 13:06:43 -0700613 "AMIC3", "MIC BIAS2 External",
614 "MIC BIAS2 External", "ANCRight Headset Mic",
615 "AMIC4", "MIC BIAS2 External",
616 "MIC BIAS2 External", "ANCLeft Headset Mic",
Kiran Kandi0121ad12012-08-20 13:01:47 -0700617 "DMIC1", "MIC BIAS1 External",
618 "MIC BIAS1 External", "Digital Mic1",
619 "DMIC2", "MIC BIAS1 External",
620 "MIC BIAS1 External", "Digital Mic2",
621 "DMIC3", "MIC BIAS3 External",
622 "MIC BIAS3 External", "Digital Mic3",
623 "DMIC4", "MIC BIAS3 External",
624 "MIC BIAS3 External", "Digital Mic4",
625 "DMIC5", "MIC BIAS4 External",
626 "MIC BIAS4 External", "Digital Mic5",
627 "DMIC6", "MIC BIAS4 External",
628 "MIC BIAS4 External", "Digital Mic6";
Kiran Kandi79db1b02012-08-21 13:48:19 -0700629
630 qcom,cdc-mclk-gpios = <&pm8941_gpios 15 0>;
631 taiko-mclk-clk = <&pm8941_clkdiv1>;
632 qcom,taiko-mclk-clk-freq = <9600000>;
Damir Didjusto04d3c362013-01-07 14:30:53 -0800633 prim-auxpcm-gpio-clk = <&msmgpio 65 0>;
634 prim-auxpcm-gpio-sync = <&msmgpio 66 0>;
635 prim-auxpcm-gpio-din = <&msmgpio 67 0>;
636 prim-auxpcm-gpio-dout = <&msmgpio 68 0>;
Kiran Kandi0121ad12012-08-20 13:01:47 -0700637 };
638
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700639 spmi_bus: qcom,spmi@fc4c0000 {
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700640 cell-index = <0>;
641 compatible = "qcom,spmi-pmic-arb";
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700642 reg-names = "core", "intr", "cnfg";
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700643 reg = <0xfc4cf000 0x1000>,
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700644 <0Xfc4cb000 0x1000>,
645 <0Xfc4ca000 0x1000>;
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700646 /* 190,ee0_krait_hlos_spmi_periph_irq */
647 /* 187,channel_0_krait_hlos_trans_done_irq */
648 interrupts = <0 190 0 0 187 0>;
649 qcom,pmic-arb-ee = <0>;
650 qcom,pmic-arb-channel = <0>;
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700651 };
Sagar Dharia218edb92012-01-15 18:03:01 -0700652
Gilad Avidovad837622013-02-15 09:42:49 -0700653 i2c_0: i2c@f9967000 { /* BLSP#11 */
Sagar Dharia218edb92012-01-15 18:03:01 -0700654 cell-index = <0>;
655 compatible = "qcom,i2c-qup";
Sagar Dharia8a73da92012-08-11 16:41:25 -0600656 reg = <0Xf9967000 0x1000>;
Amir Samuelovb5266182012-10-23 09:45:41 +0200657 #address-cells = <1>;
658 #size-cells = <0>;
Sagar Dharia218edb92012-01-15 18:03:01 -0700659 reg-names = "qup_phys_addr";
Sagar Dharia8a73da92012-08-11 16:41:25 -0600660 interrupts = <0 105 0>;
Sagar Dharia218edb92012-01-15 18:03:01 -0700661 interrupt-names = "qup_err_intr";
662 qcom,i2c-bus-freq = <100000>;
Gilad Avidovad837622013-02-15 09:42:49 -0700663 qcom,i2c-src-freq = <50000000>;
Sagar Dharia218edb92012-01-15 18:03:01 -0700664 };
Matt Wagantalle9b715a2012-01-04 18:16:14 -0800665
Gilad Avidovad837622013-02-15 09:42:49 -0700666 i2c_2: i2c@f9924000 {
Amy Malochebc7e9672012-08-15 10:30:40 -0700667 cell-index = <2>;
668 compatible = "qcom,i2c-qup";
669 reg = <0xf9924000 0x1000>;
670 #address-cells = <1>;
671 #size-cells = <0>;
672 reg-names = "qup_phys_addr";
673 interrupts = <0 96 0>;
674 interrupt-names = "qup_err_intr";
675 qcom,i2c-bus-freq = <100000>;
Gilad Avidovad837622013-02-15 09:42:49 -0700676 qcom,i2c-src-freq = <50000000>;
Amy Malochebc7e9672012-08-15 10:30:40 -0700677 };
678
Gilad Avidov0697ea62013-02-11 16:46:38 -0700679 spi_0: spi@f9923000 {
Subbaraman Narayanamurthy3f93ab12012-08-17 19:39:47 -0700680 compatible = "qcom,spi-qup-v2";
681 reg = <0xf9923000 0x1000>;
682 interrupts = <0 95 0>;
683 spi-max-frequency = <19200000>;
684 #address-cells = <1>;
685 #size-cells = <0>;
686 gpios = <&msmgpio 3 0>, /* CLK */
687 <&msmgpio 1 0>, /* MISO */
688 <&msmgpio 0 0>; /* MOSI */
689 cs-gpios = <&msmgpio 9 0>;
690 };
691
Matt Wagantall48523022012-04-23 13:28:42 -0700692 qcom,acpuclk@f9000000 {
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700693 compatible = "qcom,acpuclk-8974";
Matt Wagantallbf9eb2c2012-05-31 09:44:22 -0700694 krait0-supply = <&krait0_vreg>;
695 krait1-supply = <&krait1_vreg>;
696 krait2-supply = <&krait2_vreg>;
697 krait3-supply = <&krait3_vreg>;
David Collins1c91ea72012-05-03 16:17:35 -0700698 krait0_mem-supply = <&pm8841_s1_ao>;
699 krait1_mem-supply = <&pm8841_s1_ao>;
700 krait2_mem-supply = <&pm8841_s1_ao>;
701 krait3_mem-supply = <&pm8841_s1_ao>;
702 krait0_dig-supply = <&pm8841_s2_corner_ao>;
703 krait1_dig-supply = <&pm8841_s2_corner_ao>;
704 krait2_dig-supply = <&pm8841_s2_corner_ao>;
705 krait3_dig-supply = <&pm8841_s2_corner_ao>;
David Collinsaba4b9b2012-11-28 17:18:24 -0800706 krait0_hfpll-supply = <&pm8941_l12_ao>;
707 krait1_hfpll-supply = <&pm8941_l12_ao>;
708 krait2_hfpll-supply = <&pm8941_l12_ao>;
709 krait3_hfpll-supply = <&pm8941_l12_ao>;
710 l2_hfpll-supply = <&pm8941_l12_ao>;
Matt Wagantalle9b715a2012-01-04 18:16:14 -0800711 };
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200712
Vijayavardhan Vennapusaa3de1cc2012-10-23 11:32:27 +0530713 usb3: qcom,ssusb@f9200000 {
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200714 compatible = "qcom,dwc-usb3-msm";
Ido Shayevitz7ad8ded2012-08-28 04:30:58 +0300715 reg = <0xf9200000 0xfc000>,
716 <0xfd4ab000 0x4>;
Vijayavardhan Vennapusa8eb68732013-03-26 13:05:38 +0530717 #address-cells = <1>;
718 #size-cells = <1>;
719 ranges;
720 interrupts = <0 133 0>;
721 interrupt-names = "hs_phy_irq";
Vijayavardhan Vennapusa4cdef832012-11-09 14:46:41 +0530722 ssusb_vdd_dig-supply = <&pm8841_s2_corner>;
Manu Gautam60e01352012-05-29 09:00:34 +0530723 SSUSB_1p8-supply = <&pm8941_l6>;
Vijayavardhan Vennapusa4cdef832012-11-09 14:46:41 +0530724 hsusb_vdd_dig-supply = <&pm8841_s2_corner>;
Manu Gautam60e01352012-05-29 09:00:34 +0530725 HSUSB_1p8-supply = <&pm8941_l6>;
726 HSUSB_3p3-supply = <&pm8941_l24>;
Manu Gautamf1fceddf2012-10-12 14:02:50 +0530727 vbus_dwc3-supply = <&pm8941_mvs1>;
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200728 qcom,dwc-usb3-msm-dbm-eps = <4>;
Vijayavardhan Vennapusa4cdef832012-11-09 14:46:41 +0530729 qcom,vdd-voltage-level = <1 5 7>;
Vijayavardhan Vennapusa22f5d442013-01-01 12:28:02 +0530730 qcom,dwc-hsphy-init = <0x00D195A4>;
Manu Gautam2617deb2012-08-31 17:50:06 -0700731
Gagan Macb2372ae2012-08-20 19:24:32 -0600732 qcom,msm-bus,name = "usb3";
733 qcom,msm-bus,num-cases = <2>;
734 qcom,msm-bus,active-only = <0>;
735 qcom,msm-bus,num-paths = <1>;
736 qcom,msm-bus,vectors-KBps =
Manu Gautam2617deb2012-08-31 17:50:06 -0700737 <61 512 0 0>,
Gagan Macb2372ae2012-08-20 19:24:32 -0600738 <61 512 240000 960000>;
Vijayavardhan Vennapusa8eb68732013-03-26 13:05:38 +0530739 dwc3@f9200000 {
740 compatible = "synopsys,dwc3";
741 reg = <0xf9200000 0xfc000>;
742 interrupt-parent = <&intc>;
743 interrupts = <0 131 0>, <0 179 0>;
744 interrupt-names = "irq", "otg_irq";
745 tx-fifo-resize;
746 };
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200747 };
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700748
Vijayavardhan Vennapusae78bb0e2013-01-02 18:57:35 +0530749 ehci: qcom,ehci-host@f9a55000 {
750 compatible = "qcom,ehci-host";
751 status = "disabled";
752 reg = <0xf9a55000 0x400>;
753 interrupts = <0 134 0>, <0 140 0>;
754 interrupt-names = "core_irq", "async_irq";
755 HSUSB_VDDCX-supply = <&pm8841_s2>;
756 HSUSB_1p8-supply = <&pm8941_l6>;
757 HSUSB_3p3-supply = <&pm8941_l24>;
758 qcom,usb2-enable-hsphy2;
759 qcom,usb2-power-budget = <500>;
760 };
761
Matt Wagantallfc727212012-01-06 18:18:25 -0800762 gdsc_oxili_gx: qcom,gdsc@fd8c4024 {
David Collinsf8861902013-01-10 15:38:09 -0800763 parent-supply = <&pm8841_s4_corner>;
Matt Wagantallfc727212012-01-06 18:18:25 -0800764 };
765
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700766 qcom,lpass@fe200000 {
767 compatible = "qcom,pil-q6v5-lpass";
768 reg = <0xfe200000 0x00100>,
Matt Wagantall015b50af2013-03-05 18:51:16 -0800769 <0xfd485100 0x00010>,
770 <0xfc4016c0 0x00004>;
771 reg-names = "qdsp6_base", "halt_base", "restart_reg";
Matt Wagantall6c515982013-01-29 14:58:43 -0800772 vdd_cx-supply = <&pm8841_s2_corner>;
Stephen Boyd1be799e2012-10-17 15:50:42 -0700773 interrupts = <0 162 1>;
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700774
Matt Wagantall6e6b8cd2012-05-24 12:42:24 -0700775 qcom,firmware-name = "adsp";
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700776 };
Tianyi Gouc1e049f82011-11-23 14:20:16 -0800777
Joonwoo Park7ecf08d2012-08-17 11:35:12 -0700778 qcom,msm-adsp-loader {
779 compatible = "qcom,adsp-loader";
Venkat Sudhir480db8a2012-11-09 15:31:50 -0800780 qcom,adsp-state = <0>;
Joonwoo Park7ecf08d2012-08-17 11:35:12 -0700781 };
782
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700783 qcom,msm-pcm {
784 compatible = "qcom,msm-pcm-dsp";
Phani Kumar Uppalapatiebee2a72013-02-19 10:02:40 -0800785 qcom,msm-pcm-dsp-id = <0>;
786 };
787
788 qcom,msm-pcm-low-latency {
789 compatible = "qcom,msm-pcm-dsp";
790 qcom,msm-pcm-dsp-id = <1>;
791 qcom,msm-pcm-low-latency;
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700792 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700793
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700794 qcom,msm-pcm-routing {
795 compatible = "qcom,msm-pcm-routing";
796 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700797
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700798 qcom,msm-pcm-lpa {
799 compatible = "qcom,msm-pcm-lpa";
800 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700801
Harmandeep Singha3453a72012-07-03 12:31:09 -0700802 qcom,msm-compr-dsp {
803 compatible = "qcom,msm-compr-dsp";
804 };
805
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700806 qcom,msm-voip-dsp {
807 compatible = "qcom,msm-voip-dsp";
808 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700809
Phani Kumar Uppalapati9fbe9462012-08-24 15:09:36 -0700810 qcom,msm-pcm-voice {
811 compatible = "qcom,msm-pcm-voice";
812 };
813
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700814 qcom,msm-stub-codec {
815 compatible = "qcom,msm-stub-codec";
816 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700817
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700818 qcom,msm-dai-fe {
819 compatible = "qcom,msm-dai-fe";
820 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700821
Phani Kumar Uppalapati580884a2012-09-24 19:40:27 -0700822 qcom,msm-pcm-afe {
823 compatible = "qcom,msm-pcm-afe";
824 };
825
Harmandeep Singh4be68502012-10-01 18:59:04 -0700826 qcom,msm-dai-q6-hdmi {
827 compatible = "qcom,msm-dai-q6-hdmi";
828 qcom,msm-dai-q6-dev-id = <8>;
829 };
830
Joonwoo Parka078b902013-03-07 16:46:13 -0800831 qcom,msm-lsm-client {
832 compatible = "qcom,msm-lsm-client";
833 };
834
Joonwoo Park6572ac52012-07-10 17:17:00 -0700835 qcom,msm-dai-q6 {
836 compatible = "qcom,msm-dai-q6";
837 qcom,msm-dai-q6-sb-0-rx {
838 compatible = "qcom,msm-dai-q6-dev";
839 qcom,msm-dai-q6-dev-id = <16384>;
840 };
841
842 qcom,msm-dai-q6-sb-0-tx {
843 compatible = "qcom,msm-dai-q6-dev";
844 qcom,msm-dai-q6-dev-id = <16385>;
845 };
Phani Kumar Uppalapati1d303092012-09-24 19:55:56 -0700846
Phani Kumar Uppalapatiefad7312012-10-09 18:43:36 -0700847 qcom,msm-dai-q6-sb-1-rx {
848 compatible = "qcom,msm-dai-q6-dev";
849 qcom,msm-dai-q6-dev-id = <16386>;
850 };
851
852 qcom,msm-dai-q6-sb-1-tx {
853 compatible = "qcom,msm-dai-q6-dev";
854 qcom,msm-dai-q6-dev-id = <16387>;
855 };
856
Kiran Kandi516dea62013-01-17 17:09:45 -0800857 qcom,msm-dai-q6-sb-2-rx {
858 compatible = "qcom,msm-dai-q6-dev";
859 qcom,msm-dai-q6-dev-id = <16388>;
860 };
861
862 qcom,msm-dai-q6-sb-2-tx {
863 compatible = "qcom,msm-dai-q6-dev";
864 qcom,msm-dai-q6-dev-id = <16389>;
865 };
866
Phani Kumar Uppalapatiefad7312012-10-09 18:43:36 -0700867 qcom,msm-dai-q6-sb-3-rx {
868 compatible = "qcom,msm-dai-q6-dev";
869 qcom,msm-dai-q6-dev-id = <16390>;
870 };
871
872 qcom,msm-dai-q6-sb-3-tx {
873 compatible = "qcom,msm-dai-q6-dev";
874 qcom,msm-dai-q6-dev-id = <16391>;
875 };
876
877 qcom,msm-dai-q6-sb-4-rx {
878 compatible = "qcom,msm-dai-q6-dev";
879 qcom,msm-dai-q6-dev-id = <16392>;
880 };
881
882 qcom,msm-dai-q6-sb-4-tx {
883 compatible = "qcom,msm-dai-q6-dev";
884 qcom,msm-dai-q6-dev-id = <16393>;
885 };
886
Joonwoo Park43a3f2d2013-03-12 16:52:39 -0700887 qcom,msm-dai-q6-sb-5-tx {
888 compatible = "qcom,msm-dai-q6-dev";
889 qcom,msm-dai-q6-dev-id = <16395>;
890 };
891
Phani Kumar Uppalapati1d303092012-09-24 19:55:56 -0700892 qcom,msm-dai-q6-bt-sco-rx {
893 compatible = "qcom,msm-dai-q6-dev";
894 qcom,msm-dai-q6-dev-id = <12288>;
895 };
896
897 qcom,msm-dai-q6-bt-sco-tx {
898 compatible = "qcom,msm-dai-q6-dev";
899 qcom,msm-dai-q6-dev-id = <12289>;
900 };
901
Phani Kumar Uppalapatibebe7382012-10-08 19:19:01 -0700902 qcom,msm-dai-q6-int-fm-rx {
903 compatible = "qcom,msm-dai-q6-dev";
904 qcom,msm-dai-q6-dev-id = <12292>;
905 };
906
907 qcom,msm-dai-q6-int-fm-tx {
908 compatible = "qcom,msm-dai-q6-dev";
909 qcom,msm-dai-q6-dev-id = <12293>;
910 };
911
Phani Kumar Uppalapati1d303092012-09-24 19:55:56 -0700912 qcom,msm-dai-q6-be-afe-pcm-rx {
913 compatible = "qcom,msm-dai-q6-dev";
914 qcom,msm-dai-q6-dev-id = <224>;
915 };
916
917 qcom,msm-dai-q6-be-afe-pcm-tx {
918 compatible = "qcom,msm-dai-q6-dev";
919 qcom,msm-dai-q6-dev-id = <225>;
920 };
921
922 qcom,msm-dai-q6-afe-proxy-rx {
923 compatible = "qcom,msm-dai-q6-dev";
924 qcom,msm-dai-q6-dev-id = <241>;
925 };
926
927 qcom,msm-dai-q6-afe-proxy-tx {
928 compatible = "qcom,msm-dai-q6-dev";
929 qcom,msm-dai-q6-dev-id = <240>;
930 };
Mohan Kumar Gubbihalli Lachma Naik984252f2012-12-06 16:13:33 -0800931
932 qcom,msm-dai-q6-incall-record-rx {
933 compatible = "qcom,msm-dai-q6-dev";
934 qcom,msm-dai-q6-dev-id = <32771>;
935 };
936
937 qcom,msm-dai-q6-incall-record-tx {
938 compatible = "qcom,msm-dai-q6-dev";
939 qcom,msm-dai-q6-dev-id = <32772>;
940 };
Mohan Kumar Gubbihalli Lachma Naik72e1b282012-12-19 11:49:07 -0800941
942 qcom,msm-dai-q6-incall-music-rx {
943 compatible = "qcom,msm-dai-q6-dev";
944 qcom,msm-dai-q6-dev-id = <32773>;
945 };
Joonwoo Park6572ac52012-07-10 17:17:00 -0700946 };
947
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700948 qcom,msm-auxpcm {
949 compatible = "qcom,msm-auxpcm-resource";
950 qcom,msm-cpudai-auxpcm-clk = "pcm_clk";
Damir Didjusto04d3c362013-01-07 14:30:53 -0800951 qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
952 qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
953 qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
954 qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
955 qcom,msm-cpudai-auxpcm-slot = <1>, <1>;
956 qcom,msm-cpudai-auxpcm-data = <0>, <0>;
957 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700958
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700959 qcom,msm-auxpcm-rx {
960 qcom,msm-auxpcm-dev-id = <4106>;
961 compatible = "qcom,msm-auxpcm-dev";
962 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700963
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700964 qcom,msm-auxpcm-tx {
965 qcom,msm-auxpcm-dev-id = <4107>;
966 compatible = "qcom,msm-auxpcm-dev";
967 };
968 };
969
Kiran Kandi1a2772e2012-11-16 09:25:36 -0800970 qcom,msm-dai-mi2s {
971 compatible = "qcom,msm-dai-mi2s";
972 qcom,msm-dai-q6-mi2s-quat {
973 compatible = "qcom,msm-dai-q6-mi2s";
974 qcom,msm-dai-q6-mi2s-dev-id = <3>;
975 qcom,msm-mi2s-rx-lines = <1>;
976 qcom,msm-mi2s-tx-lines = <2>;
977 };
978 };
979
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700980 qcom,msm-pcm-hostless {
981 compatible = "qcom,msm-pcm-hostless";
982 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700983
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700984 qcom,msm-ocmem-audio {
985 compatible = "qcom,msm-ocmem-audio";
Gagan Macb2372ae2012-08-20 19:24:32 -0600986 qcom,msm-bus,name = "audio-ocmem";
987 qcom,msm-bus,num-cases = <2>;
988 qcom,msm-bus,active-only = <0>;
989 qcom,msm-bus,num-paths = <1>;
990 qcom,msm-bus,vectors-KBps =
Phani Kumar Uppalapati31492952012-09-25 20:25:53 -0700991 <11 604 0 0>,
Gagan Macb2372ae2012-08-20 19:24:32 -0600992 <11 604 32506 32506>;
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700993 };
994
Naveen Ramaraj07e66912012-10-10 12:26:06 -0700995 qcom,msm-adsp-sensors {
996 compatible = "qcom,msm-adsp-sensors";
Naveen Ramaraj88f23632012-10-10 12:23:29 -0700997 qcom,src-id = <11>;
998 qcom,dst-id = <604>;
999 qcom,ab = <32505856>;
1000 qcom,ib = <32505856>;
Naveen Ramaraj07e66912012-10-10 12:26:06 -07001001 };
1002
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001003 qcom,mss@fc880000 {
1004 compatible = "qcom,pil-q6v5-mss";
1005 reg = <0xfc880000 0x100>,
1006 <0xfd485000 0x400>,
1007 <0xfc820000 0x020>,
Matt Wagantall724b2bb2013-03-18 14:54:06 -07001008 <0xfc401680 0x004>;
Matt Wagantall1f168152012-09-25 13:26:47 -07001009 reg-names = "qdsp6_base", "halt_base", "rmb_base",
Matt Wagantall724b2bb2013-03-18 14:54:06 -07001010 "restart_reg";
Matt Wagantall1f168152012-09-25 13:26:47 -07001011
Stephen Boyd3da4fd02012-07-06 10:00:12 -07001012 interrupts = <0 24 1>;
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001013 vdd_mss-supply = <&pm8841_s3>;
Matt Wagantall6c515982013-01-29 14:58:43 -08001014 vdd_cx-supply = <&pm8841_s2_corner>;
Matt Wagantall70315fb2012-12-03 16:33:28 -08001015 vdd_mx-supply = <&pm8841_s1>;
Matt Wagantall6c515982013-01-29 14:58:43 -08001016 vdd_pll-supply = <&pm8941_l12>;
1017 qcom,vdd_pll = <1800000>;
Vikram Mulukutla2d4f0862012-11-16 11:57:34 -08001018 qcom,is-loadable;
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001019 qcom,firmware-name = "mba";
Patrick Dalyb830a3f2013-03-11 14:21:34 -07001020 qcom,pil-self-auth;
Seemanta Dutta6e58f542013-03-04 19:28:16 -08001021
1022 /* GPIO input from mss */
1023 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
1024
1025 /* GPIO output to mss */
1026 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
Matt Wagantall4e2599e2012-03-21 22:31:35 -07001027 };
1028
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001029 qcom,pronto@fb21b000 {
1030 compatible = "qcom,pil-pronto";
1031 reg = <0xfb21b000 0x3000>,
1032 <0xfc401700 0x4>,
1033 <0xfd485300 0xc>;
Matt Wagantall1f168152012-09-25 13:26:47 -07001034 reg-names = "pmu_base", "clk_base", "halt_base";
Stephen Boyd1be799e2012-10-17 15:50:42 -07001035 interrupts = <0 149 1>;
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001036 vdd_pronto_pll-supply = <&pm8941_l12>;
1037
1038 qcom,firmware-name = "wcnss";
Sameer Thalappila1f7add2013-03-28 13:55:45 -07001039
1040 /* GPIO input from wcnss */
1041 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>;
1042
1043 /* GPIO output to wcnss */
1044 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>;
Tianyi Gouc1e049f82011-11-23 14:20:16 -08001045 };
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07001046
Venkateshwarlu Domakonda54ec3252013-02-18 21:25:57 +05301047 qcom,iris-fm {
1048 compatible = "qcom,iris_fm";
1049 };
1050
Sameer Thalappil37c27af2012-09-05 13:33:06 -07001051 qcom,wcnss-wlan@fb000000 {
1052 compatible = "qcom,wcnss_wlan";
1053 reg = <0xfb000000 0x280000>;
1054 reg-names = "wcnss_mmio";
1055 interrupts = <0 145 0 0 146 0>;
1056 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
1057
1058 qcom,pronto-vddmx-supply = <&pm8841_s1>;
1059 qcom,pronto-vddcx-supply = <&pm8841_s2>;
1060 qcom,pronto-vddpx-supply = <&pm8941_s3>;
1061 qcom,iris-vddxo-supply = <&pm8941_l6>;
1062 qcom,iris-vddrfa-supply = <&pm8941_l11>;
1063 qcom,iris-vddpa-supply = <&pm8941_l19>;
1064 qcom,iris-vdddig-supply = <&pm8941_l3>;
1065
1066 gpios = <&msmgpio 36 0>, <&msmgpio 37 0>, <&msmgpio 38 0>, <&msmgpio 39 0>, <&msmgpio 40 0>;
1067 qcom,has_48mhz_xo;
1068 qcom,has_pronto_hw;
1069 };
1070
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07001071 qcom,ocmem@fdd00000 {
Naveen Ramaraj94455a42012-07-05 16:01:40 -07001072 compatible = "qcom,msm-ocmem";
1073 reg = <0xfdd00000 0x2000>,
1074 <0xfdd02000 0x2000>,
1075 <0xfe039000 0x400>,
1076 <0xfec00000 0x180000>;
1077 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
1078 interrupts = <0 76 0 0 77 0>;
1079 interrupt-names = "ocmem_irq", "dm_irq";
1080 qcom,ocmem-num-regions = <0x3>;
Neeti Desaida238c42013-01-29 14:49:14 -08001081 qcom,ocmem-num-macros = <0x8>;
Naveen Ramarajba3a6262012-08-02 17:14:27 -07001082 qcom,resource-type = <0x706d636f>;
Naveen Ramaraj94455a42012-07-05 16:01:40 -07001083 #address-cells = <1>;
1084 #size-cells = <1>;
1085 ranges = <0x0 0xfec00000 0x180000>;
1086
1087 partition@0 {
1088 reg = <0x0 0x100000>;
1089 qcom,ocmem-part-name = "graphics";
1090 qcom,ocmem-part-min = <0x80000>;
1091 };
1092
1093 partition@80000 {
Naveen Ramaraj20848c92013-02-12 12:02:55 -08001094 reg = <0x100000 0x80000>;
Naveen Ramaraj94455a42012-07-05 16:01:40 -07001095 qcom,ocmem-part-name = "lp_audio";
Naveen Ramaraj20848c92013-02-12 12:02:55 -08001096 qcom,ocmem-part-min = <0x80000>;
Naveen Ramaraj94455a42012-07-05 16:01:40 -07001097 };
1098
1099 partition@100000 {
1100 reg = <0x100000 0x80000>;
1101 qcom,ocmem-part-name = "video";
1102 qcom,ocmem-part-min = <0x55000>;
1103 };
1104
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07001105 };
Mahesh Sivasubramanian3f0d0c72012-05-04 17:35:55 -06001106
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001107 rpm_bus: qcom,rpm-smd {
Mahesh Sivasubramanian3f0d0c72012-05-04 17:35:55 -06001108 compatible = "qcom,rpm-smd";
1109 rpm-channel-name = "rpm_requests";
1110 rpm-channel-type = <15>; /* SMD_APPS_RPM */
1111 };
Hariprasad Dhalinarasimhade991f02012-05-31 13:15:51 -07001112
1113 qcom,msm-rng@f9bff000 {
1114 compatible = "qcom,msm-rng";
1115 reg = <0xf9bff000 0x200>;
1116 };
Ramesh Masavarapufb1f01e2012-06-14 09:40:40 -07001117
1118 qcom,qseecom@fe806000 {
1119 compatible = "qcom,qseecom";
Neeti Desaidb076c52012-11-05 11:48:34 -08001120 reg = <0x7f00000 0x500000>;
1121 reg-names = "secapp-region";
Mona Hossain63917b62013-03-27 13:37:51 -07001122 qcom,disk-encrypt-pipe-pair = <2>;
1123 qcom,hlos-ce-hw-instance = <1>;
1124 qcom,qsee-ce-hw-instance = <0>;
Gagan Macb2372ae2012-08-20 19:24:32 -06001125 qcom,msm-bus,name = "qseecom-noc";
1126 qcom,msm-bus,num-cases = <4>;
1127 qcom,msm-bus,active-only = <0>;
1128 qcom,msm-bus,num-paths = <1>;
1129 qcom,msm-bus,vectors-KBps =
Ramesh Masavarapu4e7b67d2012-09-14 12:12:23 -07001130 <55 512 0 0>,
Gagan Macb2372ae2012-08-20 19:24:32 -06001131 <55 512 3936000 393600>,
1132 <55 512 3936000 393600>,
1133 <55 512 3936000 393600>;
Ramesh Masavarapufb1f01e2012-06-14 09:40:40 -07001134 };
Adrian Salido-Moreno5ef3ac02012-05-14 18:40:47 -07001135
Hanumant72aec702012-06-25 11:51:07 -07001136 qcom,wdt@f9017000 {
1137 compatible = "qcom,msm-watchdog";
1138 reg = <0xf9017000 0x1000>;
1139 interrupts = <0 3 0 0 4 0>;
1140 qcom,bark-time = <11000>;
1141 qcom,pet-time = <10000>;
Mitchel Humpherys1be23802012-11-16 15:52:32 -08001142 qcom,ipi-ping;
Hanumant72aec702012-06-25 11:51:07 -07001143 };
Hariprasad Dhalinarasimha0fc258f2012-07-05 13:01:29 -07001144
Mona Hossain3028c3802013-03-21 17:08:08 -07001145 qcom,tz-log@fe805720 {
Hariprasad Dhalinarasimha0fc258f2012-07-05 13:01:29 -07001146 compatible = "qcom,tz-log";
Mona Hossain3028c3802013-03-21 17:08:08 -07001147 reg = <0xfe805720 0x1000>;
Hariprasad Dhalinarasimha0fc258f2012-07-05 13:01:29 -07001148 };
Tianyi Gou828798d2012-05-02 21:12:38 -07001149
1150 qcom,venus@fdce0000 {
1151 compatible = "qcom,pil-venus";
1152 reg = <0xfdce0000 0x4000>,
Tianyi Gou8134f592013-01-24 14:27:09 -08001153 <0xfdc80000 0x400>;
Matt Wagantall1f168152012-09-25 13:26:47 -07001154 reg-names = "wrapper_base", "vbif_base";
Tianyi Gou828798d2012-05-02 21:12:38 -07001155 vdd-supply = <&gdsc_venus>;
1156
1157 qcom,firmware-name = "venus";
Tianyi Gou828798d2012-05-02 21:12:38 -07001158 };
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -07001159
Stepan Moskovchenkoc79a7382012-07-19 17:24:32 -07001160 qcom,cache_erp {
1161 compatible = "qcom,cache_erp";
1162 interrupts = <1 9 0>, <0 2 0>;
1163 interrupt-names = "l1_irq", "l2_irq";
1164 };
1165
Stepan Moskovchenko81f347d2012-09-12 18:53:21 -07001166 qcom,cache_dump {
1167 compatible = "qcom,cache_dump";
1168 qcom,l1-dump-size = <0x100000>;
1169 qcom,l2-dump-size = <0x500000>;
1170 qcom,memory-reservation-type = "EBI1";
1171 qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */
1172 };
1173
Siddartha Mohanadoss4a8544c2013-02-01 19:44:33 -08001174 tsens: tsens@fc4a8000 {
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -07001175 compatible = "qcom,msm-tsens";
1176 reg = <0xfc4a8000 0x2000>,
Siddartha Mohanadoss18c1edd2012-09-11 11:49:21 -07001177 <0xfc4b8000 0x1000>;
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -07001178 reg-names = "tsens_physical", "tsens_eeprom_physical";
1179 interrupts = <0 184 0>;
1180 qcom,sensors = <11>;
Siddartha Mohanadoss205bce62012-07-27 17:17:18 -07001181 qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200
1182 3200 3200>;
Siddartha Mohanadoss3f8cd142013-02-06 17:24:33 -08001183 qcom,calib-mode = "fuse_map1";
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -07001184 };
Laura Abbottf7e44042012-06-22 12:50:32 -07001185
1186 qcom,msm-rtb {
1187 compatible = "qcom,msm-rtb";
1188 qcom,memory-reservation-type = "EBI1";
1189 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
1190 };
Mona Hossainb43e94b2012-05-07 08:52:06 -07001191
Mitchel Humpherys6ae3ae42012-10-30 15:12:52 -07001192 qcom,msm-contig-mem {
1193 compatible = "qcom,msm-contig-mem";
1194 qcom,memory-reservation-type = "EBI1";
1195 qcom,memory-reservation-size = <0x280000>; /* 2.5M EBI1 buffer */
1196 };
1197
Mona Hossainb43e94b2012-05-07 08:52:06 -07001198 qcom,qcedev@fd440000 {
1199 compatible = "qcom,qcedev";
1200 reg = <0xfd440000 0x20000>,
1201 <0xfd444000 0x8000>;
Ramesh Masavarapu97ad00d2012-08-06 16:47:26 -07001202 reg-names = "crypto-base","crypto-bam-base";
Ramesh Masavarapu12759ad2012-09-06 20:11:05 -07001203 interrupts = <0 236 0>;
1204 qcom,bam-pipe-pair = <1>;
Mona Hossain0609e992012-11-29 13:46:25 -08001205 qcom,ce-hw-instance = <1>;
1206 qcom,msm-bus,name = "qcedev-noc";
1207 qcom,msm-bus,num-cases = <2>;
1208 qcom,msm-bus,active-only = <0>;
1209 qcom,msm-bus,num-paths = <1>;
1210 qcom,msm-bus,vectors-KBps =
1211 <56 512 0 0>,
1212 <56 512 3936000 393600>;
Mona Hossainb43e94b2012-05-07 08:52:06 -07001213 };
1214
1215 qcom,qcrypto@fd444000 {
1216 compatible = "qcom,qcrypto";
1217 reg = <0xfd440000 0x20000>,
1218 <0xfd444000 0x8000>;
Ramesh Masavarapu97ad00d2012-08-06 16:47:26 -07001219 reg-names = "crypto-base","crypto-bam-base";
Ramesh Masavarapu12759ad2012-09-06 20:11:05 -07001220 interrupts = <0 236 0>;
1221 qcom,bam-pipe-pair = <2>;
Mona Hossain0609e992012-11-29 13:46:25 -08001222 qcom,ce-hw-instance = <1>;
1223 qcom,msm-bus,name = "qcrypto-noc";
1224 qcom,msm-bus,num-cases = <2>;
1225 qcom,msm-bus,active-only = <0>;
1226 qcom,msm-bus,num-paths = <1>;
1227 qcom,msm-bus,vectors-KBps =
1228 <56 512 0 0>,
1229 <56 512 3936000 393600>;
Mona Hossainb43e94b2012-05-07 08:52:06 -07001230 };
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001231
1232 qcom,usbbam@f9304000 {
1233 compatible = "qcom,usb-bam-msm";
Manu Gautam6afd5872012-07-25 09:16:55 +05301234 reg = <0xf9304000 0x5000>,
Manu Gautam4658d892012-08-20 18:24:52 -07001235 <0xf9a44000 0x11000>,
1236 <0xf92f880c 0x4>;
1237 reg-names = "ssusb", "hsusb", "qscratch_ram1_reg";
Manu Gautam6afd5872012-07-25 09:16:55 +05301238 interrupts = <0 132 0 0 135 0>;
1239 interrupt-names = "ssusb", "hsusb";
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001240 qcom,usb-bam-num-pipes = <16>;
Vamsi Krishnafd09ddd2013-03-27 15:39:49 -07001241 qcom,usb-bam-fifo-baseaddr = <0xf9200000>;
Manu Gautamd4fa0022012-08-28 13:16:36 -07001242 qcom,ignore-core-reset-ack;
Manu Gautamffe5fd82013-01-08 11:36:44 +05301243 qcom,disable-clk-gating;
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001244
Shimrit Malichidbf43d72013-03-16 03:32:27 +02001245 qcom,pipe0 {
1246 label = "ssusb-qdss-in-0";
Manu Gautam6afd5872012-07-25 09:16:55 +05301247 qcom,usb-bam-mem-type = <1>;
Shimrit Malichidbf43d72013-03-16 03:32:27 +02001248 qcom,bam-type = <0>;
1249 qcom,dir = <1>;
1250 qcom,pipe-num = <0>;
1251 qcom,peer-bam = <1>;
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001252 qcom,src-bam-physical-address = <0xfc37C000>;
1253 qcom,src-bam-pipe-index = <0>;
1254 qcom,dst-bam-physical-address = <0xf9304000>;
1255 qcom,dst-bam-pipe-index = <2>;
1256 qcom,data-fifo-offset = <0xf0000>;
Manu Gautam9c70c892012-10-19 16:34:26 +05301257 qcom,data-fifo-size = <0x1800>;
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001258 qcom,descriptor-fifo-offset = <0xf4000>;
1259 qcom,descriptor-fifo-size = <0x1400>;
Manu Gautam31a74aa2012-12-21 17:00:48 +05301260 qcom,reset-bam-on-connect;
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001261 };
Manu Gautam6afd5872012-07-25 09:16:55 +05301262
Shimrit Malichidbf43d72013-03-16 03:32:27 +02001263 qcom,pipe1 {
1264 label = "hsusb-qdss-in-0";
Manu Gautam4658d892012-08-20 18:24:52 -07001265 qcom,usb-bam-mem-type = <1>;
Shimrit Malichidbf43d72013-03-16 03:32:27 +02001266 qcom,bam-type = <1>;
1267 qcom,dir = <1>;
1268 qcom,pipe-num = <0>;
1269 qcom,peer-bam = <1>;
Manu Gautam6afd5872012-07-25 09:16:55 +05301270 qcom,src-bam-physical-address = <0xfc37c000>;
1271 qcom,src-bam-pipe-index = <0>;
1272 qcom,dst-bam-physical-address = <0xf9a44000>;
1273 qcom,dst-bam-pipe-index = <2>;
Manu Gautam4658d892012-08-20 18:24:52 -07001274 qcom,data-fifo-offset = <0xf4000>;
1275 qcom,data-fifo-size = <0x1000>;
1276 qcom,descriptor-fifo-offset = <0xf5000>;
1277 qcom,descriptor-fifo-size = <0x400>;
Manu Gautam6afd5872012-07-25 09:16:55 +05301278 };
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001279 };
Eugene Seahce52ef22012-07-12 12:40:38 -06001280
1281 qcom,msm-thermal {
1282 compatible = "qcom,msm-thermal";
Praveen Chidambaramf57880a2013-02-08 10:03:26 -07001283 qcom,sensor-id = <5>;
Eugene Seahce52ef22012-07-12 12:40:38 -06001284 qcom,poll-ms = <250>;
1285 qcom,limit-temp = <60>;
1286 qcom,temp-hysteresis = <10>;
1287 qcom,freq-step = <2>;
1288 };
Anirudh Ghayalb70740f2012-08-01 09:00:49 +05301289
Jeff Hugo110bced2012-08-21 14:10:27 -06001290 qcom,bam_dmux@fc834000 {
1291 compatible = "qcom,bam_dmux";
1292 reg = <0xfc834000 0x7000>;
1293 interrupts = <0 29 1>;
Jeff Hugo7f6b7c12013-03-27 12:56:18 -06001294 qcom,rx-ring-size = <64>;
Jeff Hugo110bced2012-08-21 14:10:27 -06001295 };
Pushkar Joshie54e93a2012-09-27 12:28:20 -07001296
Hanumant Singhe39a0c32012-09-05 17:57:57 -07001297 qcom,msm-mem-hole {
1298 compatible = "qcom,msm-mem-hole";
Neeti Desaidb076c52012-11-05 11:48:34 -08001299 qcom,memblock-remove = <0x7f00000 0x8000000>; /* Address and Size of Hole */
Hanumant Singhe39a0c32012-09-05 17:57:57 -07001300 };
Jeff Hugo412356e2012-09-27 17:14:23 -06001301
Mayank Rana3d073cf2012-12-18 10:23:27 +05301302 uart7: uart@f995d000 { /*BLSP #2, UART #7 */
Mayank Rana3d073cf2012-12-18 10:23:27 +05301303 compatible = "qcom,msm-hsuart-v14";
1304 status = "disabled";
1305 reg = <0xf995d000 0x1000>,
Saket Saurabh8b344642013-02-19 11:29:34 +05301306 <0xf9944000 0x19000>;
Mayank Rana3d073cf2012-12-18 10:23:27 +05301307 reg-names = "core_mem", "bam_mem";
1308 interrupts = <0 113 0>, <0 239 0>;
1309 interrupt-names = "core_irq", "bam_irq";
1310
1311 qcom,bam-tx-ep-pipe-index = <0>;
1312 qcom,bam-rx-ep-pipe-index = <1>;
Mayank Ranacef12ec2013-01-17 09:58:48 +05301313 qcom,msm-bus,name = "uart7";
1314 qcom,msm-bus,num-cases = <2>;
1315 qcom,msm-bus,active-only = <0>;
1316 qcom,msm-bus,num-paths = <1>;
1317 qcom,msm-bus,vectors-KBps =
1318 <84 512 0 0>,
1319 <84 512 500 800>;
Mayank Rana3d073cf2012-12-18 10:23:27 +05301320 };
1321
Jeff Hugo412356e2012-09-27 17:14:23 -06001322 qcom,smem@fa00000 {
1323 compatible = "qcom,smem";
1324 reg = <0xfa00000 0x200000>,
Stepan Moskovchenkod6ee8262013-02-06 11:26:05 -08001325 <0xf9011000 0x1000>,
Jeff Hugo412356e2012-09-27 17:14:23 -06001326 <0xfc428000 0x4000>;
1327 reg-names = "smem", "irq-reg-base", "aux-mem1";
1328
1329 qcom,smd-modem {
1330 compatible = "qcom,smd";
1331 qcom,smd-edge = <0>;
1332 qcom,smd-irq-offset = <0x8>;
1333 qcom,smd-irq-bitmask = <0x1000>;
1334 qcom,pil-string = "modem";
1335 interrupts = <0 25 1>;
1336 };
1337
1338 qcom,smsm-modem {
1339 compatible = "qcom,smsm";
1340 qcom,smsm-edge = <0>;
1341 qcom,smsm-irq-offset = <0x8>;
1342 qcom,smsm-irq-bitmask = <0x2000>;
1343 interrupts = <0 26 1>;
1344 };
1345
1346 qcom,smd-adsp {
1347 compatible = "qcom,smd";
1348 qcom,smd-edge = <1>;
1349 qcom,smd-irq-offset = <0x8>;
1350 qcom,smd-irq-bitmask = <0x100>;
1351 qcom,pil-string = "adsp";
1352 interrupts = <0 156 1>;
1353 };
1354
1355 qcom,smsm-adsp {
1356 compatible = "qcom,smsm";
1357 qcom,smsm-edge = <1>;
1358 qcom,smsm-irq-offset = <0x8>;
1359 qcom,smsm-irq-bitmask = <0x200>;
1360 interrupts = <0 157 1>;
1361 };
1362
1363 qcom,smd-wcnss {
1364 compatible = "qcom,smd";
1365 qcom,smd-edge = <6>;
1366 qcom,smd-irq-offset = <0x8>;
1367 qcom,smd-irq-bitmask = <0x20000>;
1368 qcom,pil-string = "wcnss";
1369 interrupts = <0 142 1>;
1370 };
1371
1372 qcom,smsm-wcnss {
1373 compatible = "qcom,smsm";
1374 qcom,smsm-edge = <6>;
1375 qcom,smsm-irq-offset = <0x8>;
1376 qcom,smsm-irq-bitmask = <0x80000>;
1377 interrupts = <0 144 1>;
1378 };
1379
1380 qcom,smd-rpm {
1381 compatible = "qcom,smd";
1382 qcom,smd-edge = <15>;
1383 qcom,smd-irq-offset = <0x8>;
1384 qcom,smd-irq-bitmask = <0x1>;
1385 interrupts = <0 168 1>;
1386 qcom,irq-no-suspend;
1387 };
1388 };
Praveen Chidambaram580d8a02013-02-06 16:52:08 -07001389
1390 qcom,bcl {
1391 compatible = "qcom,bcl";
1392 };
Ashay Jaiswal3bd768d2013-02-07 09:42:38 +05301393
1394 qcom,ssm {
1395 compatible = "qcom,ssm";
1396 qcom,channel-name = "SSM_RTR";
1397 };
Jeff Hugod368de02013-02-28 10:54:55 -07001398
1399 sfpb_spinlock: qcom,ipc-spinlock@fd484000 {
1400 compatible = "qcom,ipc-spinlock-sfpb";
Jeff Hugodfad6322013-03-14 14:21:40 -06001401 reg = <0xfd484000 0x400>;
1402 qcom,num-locks = <8>;
Jeff Hugod368de02013-02-28 10:54:55 -07001403 };
1404
1405 ldrex_spinlock: qcom,ipc-spinlock@fa00000 {
1406 compatible = "qcom,ipc-spinlock-ldrex";
1407 reg = <0xfa00000 0x200000>;
1408 status = "disable";
1409 };
Ashwin Chaugule50d59892013-03-12 12:58:51 -04001410
1411 cpu-pmu {
1412 compatible = "qcom,krait-pmu";
1413 qcom,irq-is-percpu;
1414 interrupts = <1 7 0xf00>;
1415 };
1416
1417 l2-pmu {
1418 compatible = "qcom,l2-pmu";
1419 interrupts = <0 1 0>;
1420 };
Sathish Ambley4df614c2011-10-07 16:30:46 -07001421};
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001422
Patrick Dalye8977aa2012-11-06 15:25:58 -08001423&gdsc_venus {
1424 status = "ok";
1425};
1426
1427&gdsc_mdss {
1428 status = "ok";
1429};
1430
1431&gdsc_jpeg {
1432 status = "ok";
1433};
1434
1435&gdsc_vfe {
1436 status = "ok";
1437};
1438
1439&gdsc_oxili_gx {
1440 status = "ok";
1441};
1442
1443&gdsc_oxili_cx {
1444 status = "ok";
1445};
1446
1447&gdsc_usb_hsic {
1448 status = "ok";
1449};
1450
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001451/include/ "msm-pm8x41-rpm-regulator.dtsi"
1452/include/ "msm-pm8841.dtsi"
1453/include/ "msm-pm8941.dtsi"
1454/include/ "msm8974-regulator.dtsi"
Michael Bohanee1f8fe2012-08-03 18:32:16 -07001455/include/ "msm8974-clock.dtsi"