blob: 879e8279a022ff9ef1474213b6dc21a388689452 [file] [log] [blame]
Sathish Ambley9d69ac32012-03-21 10:28:26 -07001/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
2 *
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"
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -070014/include/ "msm8974_pm.dtsi"
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -070015/include/ "msm8974-iommu.dtsi"
Kevin Chan350b6932012-08-01 02:21:00 -070016/include/ "msm8974-camera.dtsi"
Pratik Patelf20bacb2012-07-21 14:46:36 -070017/include/ "msm8974-coresight.dtsi"
Matt Wagantallfc727212012-01-06 18:18:25 -080018/include/ "msm-gdsc.dtsi"
Olav Haugan49173442012-08-01 13:23:18 -070019/include/ "msm8974-ion.dtsi"
Pu Chen1335e872012-08-01 08:45:25 -060020/include/ "msm8974-gpu.dtsi"
Adrian Salido-Morenoa80c69e2012-07-31 18:11:09 -070021/include/ "msm8974-mdss.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
28 intc: interrupt-controller@F9000000 {
29 compatible = "qcom,msm-qgic2";
30 interrupt-controller;
Michael Bohanc7224532012-01-06 16:02:52 -080031 #interrupt-cells = <3>;
Sathish Ambley4df614c2011-10-07 16:30:46 -070032 reg = <0xF9000000 0x1000>,
33 <0xF9002000 0x1000>;
34 };
Sathish Ambley3d50c762011-10-25 15:26:00 -070035
Sathish Ambleye046b242012-04-09 12:38:05 -070036 msmgpio: gpio@fd510000 {
Michael Bohan0425f6f2012-01-17 14:36:39 -080037 compatible = "qcom,msm-gpio";
Rohit Vaswanib1cc4932012-07-23 21:30:11 -070038 gpio-controller;
39 #gpio-cells = <2>;
Michael Bohan0425f6f2012-01-17 14:36:39 -080040 interrupt-controller;
41 #interrupt-cells = <2>;
Sathish Ambleye046b242012-04-09 12:38:05 -070042 reg = <0xfd510000 0x4000>;
Michael Bohan0425f6f2012-01-17 14:36:39 -080043 };
44
Joonwoo Park27a61782012-09-18 16:28:50 -070045 wcd9xxx_intc: wcd9xxx-irq {
46 compatible = "qcom,wcd9xxx-irq";
47 interrupt-controller;
48 #interrupt-cells = <1>;
49 interrupt-parent = <&msmgpio>;
50 interrupts = <72 0>;
51 interrupt-names = "cdc-int";
52 };
53
Sathish Ambley098f9bd2011-11-09 16:32:53 -080054 timer {
Sathish Ambley2f27a172012-03-16 10:46:28 -070055 compatible = "qcom,msm-qtimer", "arm,armv7-timer";
Sathish Ambleyddd099e2012-04-25 13:24:47 -070056 interrupts = <1 2 0 1 3 0>;
Sathish Ambley2f27a172012-03-16 10:46:28 -070057 clock-frequency = <19200000>;
Sathish Ambley098f9bd2011-11-09 16:32:53 -080058 };
59
Praneeth Paladugu4b73ec82012-02-08 12:55:59 -080060 qcom,vidc@fdc00000 {
61 compatible = "qcom,msm-vidc";
62 reg = <0xfdc00000 0xff000>;
63 interrupts = <0 44 0>;
Vinay Kalia68398a42012-06-22 18:36:12 -070064 vidc-cp-map = <0x1000000 0x40000000>;
65 vidc-ns-map = <0x40000000 0x40000000>;
Vinay Kalia40680aa2012-07-23 12:45:39 -070066 load-freq-tbl = <979200 410000000>,
Vinay Kalia42d37ea2012-08-27 23:28:46 -070067 <783360 410000000>,
Vinay Kalia435bbd52012-09-10 17:08:33 -070068 <489600 266670000>,
Vinay Kalia42d37ea2012-08-27 23:28:46 -070069 <244800 133330000>;
Praneeth Paladugu4b73ec82012-02-08 12:55:59 -080070 };
71
Deva Ramasubramanianf8ec9d692012-07-12 20:42:12 -070072 qcom,wfd {
73 compatible = "qcom,msm-wfd";
74 };
75
David Brown225abee2012-02-09 22:28:50 -080076 serial@f991f000 {
Sathish Ambley3d50c762011-10-25 15:26:00 -070077 compatible = "qcom,msm-lsuart-v14";
David Brown225abee2012-02-09 22:28:50 -080078 reg = <0xf991f000 0x1000>;
Michael Bohanc7224532012-01-06 16:02:52 -080079 interrupts = <0 109 0>;
Stepan Moskovchenko43f11582012-08-08 17:20:38 -070080 status = "disabled";
Sathish Ambley3d50c762011-10-25 15:26:00 -070081 };
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +053082
Sathish Ambley9d69ac32012-03-21 10:28:26 -070083 serial@f995e000 {
84 compatible = "qcom,msm-lsuart-v14";
85 reg = <0xf995e000 0x1000>;
86 interrupts = <0 114 0>;
Stepan Moskovchenko43f11582012-08-08 17:20:38 -070087 status = "disabled";
Sathish Ambley9d69ac32012-03-21 10:28:26 -070088 };
89
Stepan Moskovchenko5269b602012-08-08 17:57:09 -070090 serial@f991e000 {
91 compatible = "qcom,msm-lsuart-v14";
92 reg = <0xf991e000 0x1000>;
93 interrupts = <0 108 0>;
94 status = "disabled";
95 };
96
David Keitel7df02732012-08-17 16:33:06 -070097 usb_otg: usb@f9a55000 {
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +053098 compatible = "qcom,hsusb-otg";
David Brown225abee2012-02-09 22:28:50 -080099 reg = <0xf9a55000 0x400>;
Manu Gautamf8c45642012-08-10 10:20:56 -0700100 interrupts = <0 134 0 0 140 0>;
101 interrupt-names = "core_irq", "async_irq";
Michael Bohane66a3a92012-03-26 12:47:28 -0700102 HSUSB_VDDCX-supply = <&pm8841_s2>;
103 HSUSB_1p8-supply = <&pm8941_l6>;
104 HSUSB_3p3-supply = <&pm8941_l24>;
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +0530105
106 qcom,hsusb-otg-phy-type = <2>;
Manu Gautam4fea0af2012-09-06 12:52:48 -0700107 qcom,hsusb-otg-phy-init-seq = <0x63 0x81 0xffffffff>;
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +0530108 qcom,hsusb-otg-mode = <1>;
Sridhar Parasurama418ce22012-09-26 09:35:21 -0700109 qcom,hsusb-otg-otg-control = <1>;
Manu Gautambd53fba2012-07-31 16:13:06 +0530110 qcom,hsusb-otg-disable-reset;
Manu Gautam0ddbd922012-09-21 17:17:38 +0530111 qcom,hsusb-otg-pnoc-errata-fix;
Manu Gautam2e8ac102012-08-31 11:41:16 -0700112
113 qcom,msm_bus,name = "usb2";
114 qcom,msm_bus,num_cases = <2>;
115 qcom,msm_bus,active_only = <0>;
116 qcom,msm_bus,num_paths = <1>;
117 qcom,msm_bus,vectors =
118 <87 512 0 0>,
119 <87 512 60000000 960000000>;
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +0530120 };
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530121
Manu Gautam43c61a12012-08-22 17:09:37 -0700122 android_usb@fc42b0c8 {
123 compatible = "qcom,android-usb";
124 reg = <0xfc42b0c8 0xc8>;
125 };
126
Krishna Kondab6da6932012-08-19 12:04:05 -0700127 sdcc1: qcom,sdcc@f9824000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530128 cell-index = <1>; /* SDC1 eMMC slot */
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530129 compatible = "qcom,msm-sdcc";
Krishna Konda99783e622012-08-29 10:40:15 -0700130 reg = <0xf9824000 0x800>,
131 <0xf9824800 0x100>,
132 <0xf9804000 0x7000>;
133 reg-names = "core_mem", "dml_mem", "bam_mem";
134 interrupts = <0 123 0>, <0 137 0>;
135 interrupt-names = "core_irq", "bam_irq";
Sujit Reddy Thummab9ff7f02012-05-04 09:57:49 +0530136 vdd-supply = <&pm8941_l20>;
137 vdd-io-supply = <&pm8941_s3>;
138
Krishna Kondabc97c322012-09-10 14:42:07 -0700139 qcom,sdcc-vdd-always_on;
140 qcom,sdcc-vdd-lpm_sup;
Sujit Reddy Thummab9ff7f02012-05-04 09:57:49 +0530141 qcom,sdcc-vdd-voltage_level = <2950000 2950000>;
142 qcom,sdcc-vdd-current_level = <800 500000>;
143
144 qcom,sdcc-vdd-io-always_on;
145 qcom,sdcc-vdd-io-voltage_level = <1800000 1800000>;
146 qcom,sdcc-vdd-io-current_level = <250 154000>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530147
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530148 qcom,sdcc-pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
149 qcom,sdcc-pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
150 qcom,sdcc-pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
151 qcom,sdcc-pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
152
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530153 qcom,sdcc-clk-rates = <400000 25000000 50000000 100000000 200000000>;
154 qcom,sdcc-sup-voltages = <2950 2950>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530155 qcom,sdcc-bus-width = <8>;
156 qcom,sdcc-nonremovable;
Sujit Reddy Thumma824b7522012-05-30 13:04:34 +0530157 qcom,sdcc-bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530158 };
159
Krishna Kondab6da6932012-08-19 12:04:05 -0700160 sdcc2: qcom,sdcc@f98a4000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530161 cell-index = <2>; /* SDC2 SD card slot */
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530162 compatible = "qcom,msm-sdcc";
Krishna Konda99783e622012-08-29 10:40:15 -0700163 reg = <0xf98a4000 0x800>,
164 <0xf98a4800 0x100>,
165 <0xf9884000 0x7000>;
166 reg-names = "core_mem", "dml_mem", "bam_mem";
167 interrupts = <0 125 0>, <0 220 0>;
168 interrupt-names = "core_irq", "bam_irq";
Sujit Reddy Thummab9ff7f02012-05-04 09:57:49 +0530169 vdd-supply = <&pm8941_l21>;
170 vdd-io-supply = <&pm8941_l13>;
171
172 qcom,sdcc-vdd-voltage_level = <2950000 2950000>;
173 qcom,sdcc-vdd-current_level = <9000 800000>;
174
175 qcom,sdcc-vdd-io-always_on;
176 qcom,sdcc-vdd-io-lpm_sup;
177 qcom,sdcc-vdd-io-voltage_level = <1800000 2950000>;
178 qcom,sdcc-vdd-io-current_level = <6 22000>;
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530179
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530180 qcom,sdcc-pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
181 qcom,sdcc-pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
182 qcom,sdcc-pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
183 qcom,sdcc-pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
184
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530185 qcom,sdcc-clk-rates = <400000 25000000 50000000 100000000 200000000>;
186 qcom,sdcc-sup-voltages = <2950 2950>;
187 qcom,sdcc-bus-width = <4>;
Sujit Reddy Thumma824b7522012-05-30 13:04:34 +0530188 qcom,sdcc-xpc;
189 qcom,sdcc-bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104";
190 qcom,sdcc-current-limit = <800>;
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530191 };
192
Krishna Kondab6da6932012-08-19 12:04:05 -0700193 sdcc3: qcom,sdcc@f9864000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530194 cell-index = <3>; /* SDC3 SDIO slot */
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530195 compatible = "qcom,msm-sdcc";
Krishna Konda99783e622012-08-29 10:40:15 -0700196 reg = <0xf9864000 0x800>,
197 <0xf9864800 0x100>,
198 <0xf9844000 0x7000>;
199 reg-names = "core_mem", "dml_mem", "bam_mem";
200 interrupts = <0 127 0>, <0 223 0>;
201 interrupt-names = "core_irq", "bam_irq";
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530202
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530203 gpios = <&msmgpio 40 0>, /* CLK */
204 <&msmgpio 39 0>, /* CMD */
205 <&msmgpio 38 0>, /* DATA0 */
206 <&msmgpio 37 0>, /* DATA1 */
207 <&msmgpio 36 0>, /* DATA2 */
208 <&msmgpio 35 0>; /* DATA3 */
209 qcom,sdcc-gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
210
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530211 qcom,sdcc-clk-rates = <400000 25000000 50000000 100000000>;
212 qcom,sdcc-sup-voltages = <1800 1800>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530213 qcom,sdcc-bus-width = <4>;
Sujit Reddy Thumma824b7522012-05-30 13:04:34 +0530214 qcom,sdcc-bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50";
Sujit Reddy Thumma7138b3e2012-06-04 09:10:11 +0530215 status = "disable";
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530216 };
217
Krishna Kondab6da6932012-08-19 12:04:05 -0700218 sdcc4: qcom,sdcc@f98e4000 {
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530219 cell-index = <4>; /* SDC4 SDIO slot */
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530220 compatible = "qcom,msm-sdcc";
Krishna Konda99783e622012-08-29 10:40:15 -0700221 reg = <0xf98e4000 0x800>,
222 <0xf98e4800 0x100>,
223 <0xf98c4000 0x7000>;
224 reg-names = "core_mem", "dml_mem", "bam_mem";
225 interrupts = <0 129 0>, <0 226 0>;
226 interrupt-names = "core_irq", "bam_irq";
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530227
Sujit Reddy Thumma38459152012-06-26 00:07:59 +0530228 gpios = <&msmgpio 93 0>, /* CLK */
229 <&msmgpio 91 0>, /* CMD */
230 <&msmgpio 96 0>, /* DATA0 */
231 <&msmgpio 95 0>, /* DATA1 */
232 <&msmgpio 94 0>, /* DATA2 */
233 <&msmgpio 92 0>; /* DATA3 */
234 qcom,sdcc-gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
235
Sujit Reddy Thumma85fc52c2012-05-02 12:53:45 +0530236 qcom,sdcc-clk-rates = <400000 25000000 50000000 100000000>;
237 qcom,sdcc-sup-voltages = <1800 1800>;
238 qcom,sdcc-bus-width = <4>;
Sujit Reddy Thumma824b7522012-05-30 13:04:34 +0530239 qcom,sdcc-bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50";
Sujit Reddy Thumma7138b3e2012-06-04 09:10:11 +0530240 status = "disable";
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +0530241 };
Yan He1466daa2011-11-30 17:25:38 -0800242
David Brown225abee2012-02-09 22:28:50 -0800243 qcom,sps@f9980000 {
Yan He1466daa2011-11-30 17:25:38 -0800244 compatible = "qcom,msm_sps";
David Brown225abee2012-02-09 22:28:50 -0800245 reg = <0xf9984000 0x15000>,
246 <0xf9999000 0xb000>;
Michael Bohanc7224532012-01-06 16:02:52 -0800247 interrupts = <0 94 0>;
Yan He1466daa2011-11-30 17:25:38 -0800248
249 qcom,bam-dma-res-pipes = <6>;
250 };
251
Sagar Dhariae0bb6502012-08-10 20:25:51 -0600252 spi@f9966000 {
253 compatible = "qcom,spi-qup-v2";
254 cell-index = <7>;
255 reg = <0xf9966000 0x1000>;
256 interrupts = <0 104 0>;
257 spi-max-frequency = <19200000>;
258 #address-cells = <1>;
259 #size-cells = <0>;
260 gpios = <&msmgpio 56 0>, /* CLK */
261 <&msmgpio 54 0>, /* MISO */
262 <&msmgpio 53 0>; /* MOSI */
263 cs-gpios = <&msmgpio 55 0>;
264 };
Hariprasad Dhalinarasimhade991f02012-05-31 13:15:51 -0700265
Sagar Dhariaa316a962012-03-21 16:13:22 -0600266 slim@fe12f000 {
267 cell-index = <1>;
268 compatible = "qcom,slim-msm";
269 reg = <0xfe12f000 0x35000>,
270 <0xfe104000 0x20000>;
271 reg-names = "slimbus_physical", "slimbus_bam_physical";
272 interrupts = <0 163 0 0 164 0>;
273 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
274 qcom,min-clk-gear = <10>;
Sagar Dhariac0d6cf52012-07-31 19:17:26 -0600275 qcom,rxreg-access;
Kiran Kandie8bf5d52012-08-06 16:03:16 -0700276
277 taiko_codec {
278 compatible = "qcom,taiko-slim-pgd";
279 elemental-addr = [00 01 A0 00 17 02];
280
Joonwoo Park27a61782012-09-18 16:28:50 -0700281 interrupt-parent = <&wcd9xxx_intc>;
282 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>;
283
Kiran Kandie8bf5d52012-08-06 16:03:16 -0700284 qcom,cdc-reset-gpio = <&msmgpio 63 0>;
285
286 cdc-vdd-buck-supply = <&pm8941_s2>;
287 qcom,cdc-vdd-buck-voltage = <2150000 2150000>;
288 qcom,cdc-vdd-buck-current = <650000>;
289
290 cdc-vdd-tx-h-supply = <&pm8941_s3>;
291 qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>;
292 qcom,cdc-vdd-tx-h-current = <25000>;
293
294 cdc-vdd-rx-h-supply = <&pm8941_s3>;
295 qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>;
296 qcom,cdc-vdd-rx-h-current = <25000>;
297
298 cdc-vddpx-1-supply = <&pm8941_s3>;
299 qcom,cdc-vddpx-1-voltage = <1800000 1800000>;
300 qcom,cdc-vddpx-1-current = <10000>;
301
302 cdc-vdd-a-1p2v-supply = <&pm8941_l1>;
303 qcom,cdc-vdd-a-1p2v-voltage = <1225000 1225000>;
304 qcom,cdc-vdd-a-1p2v-current = <10000>;
305
306 cdc-vddcx-1-supply = <&pm8941_l1>;
307 qcom,cdc-vddcx-1-voltage = <1225000 1225000>;
308 qcom,cdc-vddcx-1-current = <10000>;
309
310 cdc-vddcx-2-supply = <&pm8941_l1>;
311 qcom,cdc-vddcx-2-voltage = <1225000 1225000>;
312 qcom,cdc-vddcx-2-current = <10000>;
313
314 qcom,cdc-micbias-ldoh-v = <0x3>;
315 qcom,cdc-micbias-cfilt1-mv = <1800>;
316 qcom,cdc-micbias-cfilt2-mv = <2700>;
317 qcom,cdc-micbias-cfilt3-mv = <1800>;
318 qcom,cdc-micbias1-cfilt-sel = <0x0>;
319 qcom,cdc-micbias2-cfilt-sel = <0x1>;
320 qcom,cdc-micbias3-cfilt-sel = <0x2>;
321 qcom,cdc-micbias4-cfilt-sel = <0x2>;
322
323 qcom,cdc-slim-ifd = "taiko-slim-ifd";
324 qcom,cdc-slim-ifd-elemental-addr = [00 00 A0 00 17 02];
325 };
Sagar Dhariaa316a962012-03-21 16:13:22 -0600326 };
327
Kiran Kandi0121ad12012-08-20 13:01:47 -0700328 sound {
329 compatible = "qcom,msm8974-audio-taiko";
330 qcom,model = "msm8974-taiko-snd-card";
331
332 qcom,audio-routing =
333 "RX_BIAS", "MCLK",
334 "LDO_H", "MCLK",
Kiran Kandi0121ad12012-08-20 13:01:47 -0700335 "Ext Spk Bottom Pos", "LINEOUT1",
336 "Ext Spk Bottom Neg", "LINEOUT3",
337 "Ext Spk Top Pos", "LINEOUT2",
338 "Ext Spk Top Neg", "LINEOUT4",
339 "AMIC1", "MIC BIAS1 Internal1",
340 "MIC BIAS1 Internal1", "Handset Mic",
341 "AMIC2", "MIC BIAS2 External",
342 "MIC BIAS2 External", "Headset Mic",
343 "AMIC3", "MIC BIAS3 Internal1",
344 "MIC BIAS3 Internal1", "ANCRight Headset Mic",
345 "AMIC4", "MIC BIAS1 Internal2",
346 "MIC BIAS1 Internal2", "ANCLeft Headset Mic",
347 "DMIC1", "MIC BIAS1 External",
348 "MIC BIAS1 External", "Digital Mic1",
349 "DMIC2", "MIC BIAS1 External",
350 "MIC BIAS1 External", "Digital Mic2",
351 "DMIC3", "MIC BIAS3 External",
352 "MIC BIAS3 External", "Digital Mic3",
353 "DMIC4", "MIC BIAS3 External",
354 "MIC BIAS3 External", "Digital Mic4",
355 "DMIC5", "MIC BIAS4 External",
356 "MIC BIAS4 External", "Digital Mic5",
357 "DMIC6", "MIC BIAS4 External",
358 "MIC BIAS4 External", "Digital Mic6";
Kiran Kandi79db1b02012-08-21 13:48:19 -0700359
360 qcom,cdc-mclk-gpios = <&pm8941_gpios 15 0>;
361 taiko-mclk-clk = <&pm8941_clkdiv1>;
362 qcom,taiko-mclk-clk-freq = <9600000>;
Kiran Kandi0121ad12012-08-20 13:01:47 -0700363 };
364
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700365 spmi_bus: qcom,spmi@fc4c0000 {
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700366 cell-index = <0>;
367 compatible = "qcom,spmi-pmic-arb";
368 reg = <0xfc4cf000 0x1000>,
369 <0Xfc4cb000 0x1000>;
370 /* 190,ee0_krait_hlos_spmi_periph_irq */
371 /* 187,channel_0_krait_hlos_trans_done_irq */
372 interrupts = <0 190 0 0 187 0>;
373 qcom,pmic-arb-ee = <0>;
374 qcom,pmic-arb-channel = <0>;
Gilad Avidov1d175ba2012-08-06 17:05:22 -0600375 qcom,pmic-arb-ppid-map = <0x40400000>, /* BUS */
376 <0x40500001>, /* INT */
377 <0x40600002>, /* SPMI */
378 <0x40800003>, /* PON */
379 <0x42400004>, /* TEMP_ALARM */
380 <0x47000005>, /* PBS_CORE */
381 <0x47100006>, /* PBS_CLIENT0 */
382 <0x47200007>, /* PBS_CLIENT1 */
383 <0x47300008>, /* PBS_CLIENT2 */
384 <0x47400009>, /* PBS_CLIENT3 */
385 <0x4750000a>, /* PBS_CLIENT4 */
386 <0x4760000b>, /* PBS_CLIENT5 */
387 <0x4770000c>, /* PBS_CLIENT6 */
388 <0x4780000d>, /* PBS_CLIENT7 */
389 <0x4a00000e>, /* MPP1 */
390 <0x4a100021>, /* MPP2 */
391 <0x4a20000f>, /* MPP3 */
392 <0x4a300010>, /* MPP4 */
393 <0x51000011>, /* BCLK_GEN_MAIN */
394 <0x51d00012>, /* S4_CTRL */
395 <0x51e00013>, /* S4_PS */
396 <0x51f00014>, /* S4_FREQ */
397 <0x52000015>, /* S5_CTRL */
398 <0x52100016>, /* S5_PS */
399 <0x52200017>, /* S5_FREQ */
400 <0x52300018>, /* S6_CTRL */
401 <0x52400019>, /* S6_PS */
402 <0x5250001a>, /* S6_FREQ */
403 <0x5260001b>, /* S7_CTRL */
404 <0x5270001c>, /* S7_PS */
405 <0x5280001d>, /* S7_FREQ */
406 <0x5290001e>, /* S8_CTRL */
407 <0x52a0001f>, /* S8_PS */
408 <0x52b00020>, /* S8_FREQ */
409 <0x00400022>, /* BUS */
410 <0x00500023>, /* INT */
411 <0x00600024>, /* SPMI */
412 <0x00800025>, /* PON */
413 <0x00b00027>, /* VREG_TFT */
414 <0x01000028>, /* SMBB_CHGR */
415 <0x01100029>, /* SMBB_BUCK */
416 <0x0120002a>, /* SMBB_BAT_IF */
417 <0x0130002b>, /* SMBB_USB_CHGPTH */
418 <0x0140002c>, /* SMBB_DC_CHGPTH */
419 <0x0150002d>, /* SMBB_BOOST */
420 <0x0160002e>, /* SMBB_MISC */
421 <0x0170002f>, /* SMBB_FREQ */
422 <0x02400030>, /* TEMP_ALARM */
423 <0x02800031>, /* COIN */
424 <0x03100032>, /* VADC1_USR */
425 <0x03300033>, /* VADC1_BMS */
426 <0x03400034>, /* VADC2_BTM */
427 <0x03600035>, /* IADC1_USR */
428 <0x03800036>, /* IADC1_BMS */
429 <0x04000037>, /* BMS1 */
430 <0x05700039>, /* DIFF_CLK1 */
431 <0x05c0003b>, /* DIV_CLK2 */
432 <0x0610003d>, /* RTC_ALARM */
433 <0x0620003e>, /* RTC_TIMER */
434 <0x07100040>, /* PBS_CLIENT0 */
435 <0x07200041>, /* PBS_CLIENT1 */
436 <0x07300042>, /* PBS_CLIENT2 */
437 <0x07400043>, /* PBS_CLIENT3 */
438 <0x07500044>, /* PBS_CLIENT4 */
439 <0x07600045>, /* PBS_CLIENT5 */
440 <0x07700046>, /* PBS_CLIENT6 */
441 <0x07800047>, /* PBS_CLIENT7 */
442 <0x07900048>, /* PBS_CLIENT8 */
443 <0x07a00049>, /* PBS_CLIENT9 */
444 <0x07b0004a>, /* PBS_CLIENT10 */
445 <0x07c0004b>, /* PBS_CLIENT11 */
446 <0x07d0004c>, /* PBS_CLIENT12 */
447 <0x07e0004d>, /* PBS_CLIENT13 */
448 <0x07f0004e>, /* PBS_CLIENT14 */
449 <0x0800004f>, /* PBS_CLIENT15 */
450 <0x0a100050>, /* MPP2 */
451 <0x0a300051>, /* MPP4 */
452 <0x0a400052>, /* MPP5 */
453 <0x0a500053>, /* MPP6 */
454 <0x0a600054>, /* MPP7 */
455 <0x0a700055>, /* MPP8 */
456 <0x0c000056>, /* GPIO1 */
457 <0x0c100057>, /* GPIO2 */
458 <0x0c200058>, /* GPIO3 */
459 <0x0c300059>, /* GPIO4 */
460 <0x0c40005a>, /* GPIO5 */
461 <0x0c50005b>, /* GPIO6 */
462 <0x0c60005c>, /* GPIO7 */
463 <0x0c70005d>, /* GPIO8 */
464 <0x0c80005e>, /* GPIO9 */
465 <0x0c90005f>, /* GPIO10 */
466 <0x0ca00060>, /* GPIO11 */
467 <0x0cb00061>, /* GPIO12 */
468 <0x0cc00062>, /* GPIO13 */
469 <0x0cd00063>, /* GPIO14 */
470 <0x0ce00064>, /* GPIO15 */
471 <0x0cf00065>, /* GPIO16 */
472 <0x0d200066>, /* GPIO19 */
473 <0x0d300067>, /* GPIO20 */
474 <0x0d500068>, /* GPIO22 */
475 <0x0d600069>, /* GPIO23 */
476 <0x0d70006a>, /* GPIO24 */
477 <0x0d80006b>, /* GPIO25 */
478 <0x0d90006c>, /* GPIO26 */
479 <0x0da0006d>, /* GPIO27 */
480 <0x0dc0006e>, /* GPIO29 */
481 <0x0dd0006f>, /* GPIO30 */
482 <0x0df00070>, /* GPIO32 */
483 <0x0e000071>, /* GPIO33 */
484 <0x0e100072>, /* GPIO34 */
485 <0x0e200073>, /* GPIO35 */
486 <0x0e300074>, /* GPIO36 */
487 <0x11000075>, /* BUCK_CMN */
488 <0x1a000076>, /* BOOST */
489 <0x1a100077>, /* BOOST_FREQ */
490 <0x1a800078>, /* KEYPAD1 */
491 <0x1b000079>, /* LPG_LUT */
492 <0x1b10007a>, /* LPG_CHAN1 */
493 <0x1b20007b>, /* LPG_CHAN2 */
494 <0x1b30007c>, /* LPG_CHAN3 */
495 <0x1b40007d>, /* LPG_CHAN4 */
496 <0x1b50007e>, /* LPG_CHAN5 */
497 <0x1b60007f>, /* LPG_CHAN6 */
498 <0x1b700080>, /* LPG_CHAN7 */
499 <0x1b800081>, /* LPG_CHAN8 */
500 <0x1bc00082>, /* PWM_3D */
501 <0x1c000083>, /* VIB1 */
502 <0x1d000084>, /* TRI_LED */
503 <0x1d300085>, /* FLASH1 */
504 <0x1d800086>, /* WLED1 */
505 <0x1e200087>, /* KPDBL_MAIN */
506 <0x1e300088>, /* KPDBL_LUT */
507 <0x1e400089>, /* LPG_CHAN9 */
508 <0x1e50008a>, /* LPG_CHAN10 */
509 <0x1e60008b>, /* LPG_CHAN11 */
510 <0x1e70008c>; /* LPG_CHAN12 */
Amy Maloche02a5eae2012-08-10 21:33:59 -0700511
512 qcom,pm8941@1 {
513 qcom,leds@d800 {
514 qcom,name = "wled:backlight";
515 linux,default-trigger = "bkl-trigger";
516 qcom,cs-out-en;
517 qcom,op-fdbck;
518 qcom,default-state = "on";
519 qcom,max-current = <25>;
520 qcom,ctrl-delay-us = <0>;
521 qcom,boost-curr-lim = <3>;
522 qcom,cp-sel = <0>;
523 qcom,switch-freq = <2>;
524 qcom,ovp-val = <2>;
525 qcom,num-strings = <1>;
526 status = "okay";
527 };
528
529 qcom,leds@d900 {
530 status = "disabled";
531 };
532
533 qcom,leds@da00 {
534 status = "disabled";
535 };
536
537 qcom,leds@db00 {
538 status = "disabled";
539 };
540
541 qcom,leds@dc00 {
542 status = "disabled";
543 };
544
545 qcom,leds@dd00 {
546 status = "disabled";
547 };
548
549 qcom,leds@de00 {
550 status = "disabled";
551 };
552
553 qcom,leds@df00 {
554 status = "disabled";
555 };
556
557 qcom,leds@e000 {
558 status = "disabled";
559 };
560
561 qcom,leds@e100 {
562 status = "disabled";
563 };
564 };
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700565 };
Sagar Dharia218edb92012-01-15 18:03:01 -0700566
Sagar Dharia8a73da92012-08-11 16:41:25 -0600567 i2c@f9967000 {
Sagar Dharia218edb92012-01-15 18:03:01 -0700568 cell-index = <0>;
569 compatible = "qcom,i2c-qup";
Sagar Dharia8a73da92012-08-11 16:41:25 -0600570 reg = <0Xf9967000 0x1000>;
Sagar Dharia218edb92012-01-15 18:03:01 -0700571 reg-names = "qup_phys_addr";
Sagar Dharia8a73da92012-08-11 16:41:25 -0600572 interrupts = <0 105 0>;
Sagar Dharia218edb92012-01-15 18:03:01 -0700573 interrupt-names = "qup_err_intr";
574 qcom,i2c-bus-freq = <100000>;
575 qcom,i2c-src-freq = <24000000>;
576 };
Matt Wagantalle9b715a2012-01-04 18:16:14 -0800577
Amy Malochebc7e9672012-08-15 10:30:40 -0700578 i2c@f9924000 {
579 cell-index = <2>;
580 compatible = "qcom,i2c-qup";
581 reg = <0xf9924000 0x1000>;
582 #address-cells = <1>;
583 #size-cells = <0>;
584 reg-names = "qup_phys_addr";
585 interrupts = <0 96 0>;
586 interrupt-names = "qup_err_intr";
587 qcom,i2c-bus-freq = <100000>;
588 qcom,i2c-src-freq = <24000000>;
589 };
590
Subbaraman Narayanamurthy3f93ab12012-08-17 19:39:47 -0700591 spi@f9923000 {
592 cell-index = <0>;
593 compatible = "qcom,spi-qup-v2";
594 reg = <0xf9923000 0x1000>;
595 interrupts = <0 95 0>;
596 spi-max-frequency = <19200000>;
597 #address-cells = <1>;
598 #size-cells = <0>;
599 gpios = <&msmgpio 3 0>, /* CLK */
600 <&msmgpio 1 0>, /* MISO */
601 <&msmgpio 0 0>; /* MOSI */
602 cs-gpios = <&msmgpio 9 0>;
603 };
604
Matt Wagantall48523022012-04-23 13:28:42 -0700605 qcom,acpuclk@f9000000 {
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700606 compatible = "qcom,acpuclk-8974";
Matt Wagantallbf9eb2c2012-05-31 09:44:22 -0700607 krait0-supply = <&krait0_vreg>;
608 krait1-supply = <&krait1_vreg>;
609 krait2-supply = <&krait2_vreg>;
610 krait3-supply = <&krait3_vreg>;
David Collins1c91ea72012-05-03 16:17:35 -0700611 krait0_mem-supply = <&pm8841_s1_ao>;
612 krait1_mem-supply = <&pm8841_s1_ao>;
613 krait2_mem-supply = <&pm8841_s1_ao>;
614 krait3_mem-supply = <&pm8841_s1_ao>;
615 krait0_dig-supply = <&pm8841_s2_corner_ao>;
616 krait1_dig-supply = <&pm8841_s2_corner_ao>;
617 krait2_dig-supply = <&pm8841_s2_corner_ao>;
618 krait3_dig-supply = <&pm8841_s2_corner_ao>;
Matt Wagantall337cdb72012-06-29 12:07:27 -0700619 krait0_hfpll_a-supply = <&pm8941_s2_ao>;
620 krait1_hfpll_a-supply = <&pm8941_s2_ao>;
621 krait2_hfpll_a-supply = <&pm8941_s2_ao>;
622 krait3_hfpll_a-supply = <&pm8941_s2_ao>;
623 l2_hfpll_a-supply = <&pm8941_s2_ao>;
624 krait0_hfpll_b-supply = <&pm8941_l12_ao>;
625 krait1_hfpll_b-supply = <&pm8941_l12_ao>;
626 krait2_hfpll_b-supply = <&pm8941_l12_ao>;
627 krait3_hfpll_b-supply = <&pm8941_l12_ao>;
628 l2_hfpll_b-supply = <&pm8941_l12_ao>;
Matt Wagantalle9b715a2012-01-04 18:16:14 -0800629 };
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200630
Shimrit Malichi57ae1492012-08-06 14:03:45 +0300631 qcom,ssusb@f9200000 {
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200632 compatible = "qcom,dwc-usb3-msm";
Ido Shayevitz7ad8ded2012-08-28 04:30:58 +0300633 reg = <0xf9200000 0xfc000>,
634 <0xfd4ab000 0x4>;
Manu Gautam17206c22012-06-21 10:17:53 +0530635 interrupts = <0 131 0 0 179 0>;
636 interrupt-names = "irq", "otg_irq";
Manu Gautam60e01352012-05-29 09:00:34 +0530637 SSUSB_VDDCX-supply = <&pm8841_s2>;
638 SSUSB_1p8-supply = <&pm8941_l6>;
639 HSUSB_VDDCX-supply = <&pm8841_s2>;
640 HSUSB_1p8-supply = <&pm8941_l6>;
641 HSUSB_3p3-supply = <&pm8941_l24>;
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200642 qcom,dwc-usb3-msm-dbm-eps = <4>;
Manu Gautam2617deb2012-08-31 17:50:06 -0700643
644 qcom,msm_bus,name = "usb3";
645 qcom,msm_bus,num_cases = <2>;
646 qcom,msm_bus,active_only = <0>;
647 qcom,msm_bus,num_paths = <1>;
648 qcom,msm_bus,vectors =
649 <61 512 0 0>,
650 <61 512 240000000 960000000>;
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200651 };
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700652
Matt Wagantallfc727212012-01-06 18:18:25 -0800653 gdsc_oxili_gx: qcom,gdsc@fd8c4024 {
654 parent-supply = <&pm8841_s4>;
655 };
656
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700657 qcom,lpass@fe200000 {
658 compatible = "qcom,pil-q6v5-lpass";
659 reg = <0xfe200000 0x00100>,
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700660 <0xfd485100 0x00010>;
Matt Wagantall1f168152012-09-25 13:26:47 -0700661 reg-names = "qdsp6_base", "halt_base";
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700662
Matt Wagantall6e6b8cd2012-05-24 12:42:24 -0700663 qcom,firmware-name = "adsp";
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700664 };
Tianyi Gouc1e049f82011-11-23 14:20:16 -0800665
Joonwoo Park7ecf08d2012-08-17 11:35:12 -0700666 qcom,msm-adsp-loader {
667 compatible = "qcom,adsp-loader";
668 };
669
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700670 qcom,msm-pcm {
671 compatible = "qcom,msm-pcm-dsp";
672 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700673
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700674 qcom,msm-pcm-routing {
675 compatible = "qcom,msm-pcm-routing";
676 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700677
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700678 qcom,msm-pcm-lpa {
679 compatible = "qcom,msm-pcm-lpa";
680 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700681
Harmandeep Singha3453a72012-07-03 12:31:09 -0700682 qcom,msm-compr-dsp {
683 compatible = "qcom,msm-compr-dsp";
684 };
685
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700686 qcom,msm-voip-dsp {
687 compatible = "qcom,msm-voip-dsp";
688 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700689
Phani Kumar Uppalapati9fbe9462012-08-24 15:09:36 -0700690 qcom,msm-pcm-voice {
691 compatible = "qcom,msm-pcm-voice";
692 };
693
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700694 qcom,msm-stub-codec {
695 compatible = "qcom,msm-stub-codec";
696 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700697
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700698 qcom,msm-dai-fe {
699 compatible = "qcom,msm-dai-fe";
700 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700701
Phani Kumar Uppalapati580884a2012-09-24 19:40:27 -0700702 qcom,msm-pcm-afe {
703 compatible = "qcom,msm-pcm-afe";
704 };
705
Joonwoo Park6572ac52012-07-10 17:17:00 -0700706 qcom,msm-dai-q6 {
707 compatible = "qcom,msm-dai-q6";
708 qcom,msm-dai-q6-sb-0-rx {
709 compatible = "qcom,msm-dai-q6-dev";
710 qcom,msm-dai-q6-dev-id = <16384>;
711 };
712
713 qcom,msm-dai-q6-sb-0-tx {
714 compatible = "qcom,msm-dai-q6-dev";
715 qcom,msm-dai-q6-dev-id = <16385>;
716 };
Phani Kumar Uppalapati1d303092012-09-24 19:55:56 -0700717
718 qcom,msm-dai-q6-bt-sco-rx {
719 compatible = "qcom,msm-dai-q6-dev";
720 qcom,msm-dai-q6-dev-id = <12288>;
721 };
722
723 qcom,msm-dai-q6-bt-sco-tx {
724 compatible = "qcom,msm-dai-q6-dev";
725 qcom,msm-dai-q6-dev-id = <12289>;
726 };
727
728 qcom,msm-dai-q6-be-afe-pcm-rx {
729 compatible = "qcom,msm-dai-q6-dev";
730 qcom,msm-dai-q6-dev-id = <224>;
731 };
732
733 qcom,msm-dai-q6-be-afe-pcm-tx {
734 compatible = "qcom,msm-dai-q6-dev";
735 qcom,msm-dai-q6-dev-id = <225>;
736 };
737
738 qcom,msm-dai-q6-afe-proxy-rx {
739 compatible = "qcom,msm-dai-q6-dev";
740 qcom,msm-dai-q6-dev-id = <241>;
741 };
742
743 qcom,msm-dai-q6-afe-proxy-tx {
744 compatible = "qcom,msm-dai-q6-dev";
745 qcom,msm-dai-q6-dev-id = <240>;
746 };
Joonwoo Park6572ac52012-07-10 17:17:00 -0700747 };
748
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700749 qcom,msm-auxpcm {
750 compatible = "qcom,msm-auxpcm-resource";
751 qcom,msm-cpudai-auxpcm-clk = "pcm_clk";
752 qcom,msm-cpudai-auxpcm-mode = <0>;
753 qcom,msm-cpudai-auxpcm-sync = <1>;
754 qcom,msm-cpudai-auxpcm-frame = <5>;
755 qcom,msm-cpudai-auxpcm-quant = <2>;
756 qcom,msm-cpudai-auxpcm-slot = <1>;
757 qcom,msm-cpudai-auxpcm-data = <0>;
758 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>;
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700759
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700760 qcom,msm-auxpcm-rx {
761 qcom,msm-auxpcm-dev-id = <4106>;
762 compatible = "qcom,msm-auxpcm-dev";
763 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700764
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700765 qcom,msm-auxpcm-tx {
766 qcom,msm-auxpcm-dev-id = <4107>;
767 compatible = "qcom,msm-auxpcm-dev";
768 };
769 };
770
771 qcom,msm-pcm-hostless {
772 compatible = "qcom,msm-pcm-hostless";
773 };
Phani Kumar Uppalapatic6651692012-06-14 20:33:09 -0700774
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700775 qcom,msm-ocmem-audio {
776 compatible = "qcom,msm-ocmem-audio";
Phani Kumar Uppalapati31492952012-09-25 20:25:53 -0700777 qcom,msm_bus,name = "audio-ocmem";
778 qcom,msm_bus,num_cases = <2>;
779 qcom,msm_bus,active_only = <0>;
780 qcom,msm_bus,num_paths = <1>;
781 qcom,msm_bus,vectors =
782 <11 604 0 0>,
783 <11 604 32505856 32505856>;
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700784 };
785
Matt Wagantall4e2599e2012-03-21 22:31:35 -0700786 qcom,mss@fc880000 {
787 compatible = "qcom,pil-q6v5-mss";
788 reg = <0xfc880000 0x100>,
789 <0xfd485000 0x400>,
790 <0xfc820000 0x020>,
Matt Wagantall16bc5cc2012-08-09 21:33:23 -0700791 <0xfc401680 0x004>,
792 <0xfc980008 0x004>;
Matt Wagantall1f168152012-09-25 13:26:47 -0700793 reg-names = "qdsp6_base", "halt_base", "rmb_base",
794 "restart_reg", "clamp_reg";
795
Matt Wagantall4e2599e2012-03-21 22:31:35 -0700796 vdd_mss-supply = <&pm8841_s3>;
797
798 qcom,firmware-name = "mba";
799 qcom,pil-self-auth = <1>;
800 };
801
Matt Wagantalle6e00d52012-03-08 17:39:07 -0800802 qcom,mba@fc820000 {
803 compatible = "qcom,pil-mba";
804 reg = <0xfc820000 0x0020>,
805 <0x0d1fc000 0x4000>;
Matt Wagantall1f168152012-09-25 13:26:47 -0700806 reg-names = "rmb_base", "metadata_base";
Matt Wagantalle6e00d52012-03-08 17:39:07 -0800807
808 qcom,firmware-name = "modem";
809 qcom,depends-on = "mba";
810 };
811
Tianyi Gouc1e049f82011-11-23 14:20:16 -0800812 qcom,pronto@fb21b000 {
813 compatible = "qcom,pil-pronto";
814 reg = <0xfb21b000 0x3000>,
815 <0xfc401700 0x4>,
816 <0xfd485300 0xc>;
Matt Wagantall1f168152012-09-25 13:26:47 -0700817 reg-names = "pmu_base", "clk_base", "halt_base";
Tianyi Gouc1e049f82011-11-23 14:20:16 -0800818 vdd_pronto_pll-supply = <&pm8941_l12>;
819
820 qcom,firmware-name = "wcnss";
821 };
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -0700822
Sameer Thalappil37c27af2012-09-05 13:33:06 -0700823 qcom,wcnss-wlan@fb000000 {
824 compatible = "qcom,wcnss_wlan";
825 reg = <0xfb000000 0x280000>;
826 reg-names = "wcnss_mmio";
827 interrupts = <0 145 0 0 146 0>;
828 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
829
830 qcom,pronto-vddmx-supply = <&pm8841_s1>;
831 qcom,pronto-vddcx-supply = <&pm8841_s2>;
832 qcom,pronto-vddpx-supply = <&pm8941_s3>;
833 qcom,iris-vddxo-supply = <&pm8941_l6>;
834 qcom,iris-vddrfa-supply = <&pm8941_l11>;
835 qcom,iris-vddpa-supply = <&pm8941_l19>;
836 qcom,iris-vdddig-supply = <&pm8941_l3>;
837
838 gpios = <&msmgpio 36 0>, <&msmgpio 37 0>, <&msmgpio 38 0>, <&msmgpio 39 0>, <&msmgpio 40 0>;
839 qcom,has_48mhz_xo;
840 qcom,has_pronto_hw;
841 };
842
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -0700843 qcom,ocmem@fdd00000 {
Naveen Ramaraj94455a42012-07-05 16:01:40 -0700844 compatible = "qcom,msm-ocmem";
845 reg = <0xfdd00000 0x2000>,
846 <0xfdd02000 0x2000>,
847 <0xfe039000 0x400>,
848 <0xfec00000 0x180000>;
849 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
850 interrupts = <0 76 0 0 77 0>;
851 interrupt-names = "ocmem_irq", "dm_irq";
852 qcom,ocmem-num-regions = <0x3>;
Naveen Ramarajba3a6262012-08-02 17:14:27 -0700853 qcom,resource-type = <0x706d636f>;
Naveen Ramaraj94455a42012-07-05 16:01:40 -0700854 #address-cells = <1>;
855 #size-cells = <1>;
856 ranges = <0x0 0xfec00000 0x180000>;
857
858 partition@0 {
859 reg = <0x0 0x100000>;
860 qcom,ocmem-part-name = "graphics";
861 qcom,ocmem-part-min = <0x80000>;
862 };
863
864 partition@80000 {
865 reg = <0x80000 0xA0000>;
866 qcom,ocmem-part-name = "lp_audio";
867 qcom,ocmem-part-min = <0xA0000>;
868 };
869
870 partition@E0000 {
871 reg = <0x120000 0x20000>;
Naveen Ramarajcc4ec152012-05-14 09:55:29 -0700872 qcom,ocmem-part-name = "other_os";
Naveen Ramaraj94455a42012-07-05 16:01:40 -0700873 qcom,ocmem-part-min = <0x20000>;
874 };
875
876 partition@100000 {
877 reg = <0x100000 0x80000>;
878 qcom,ocmem-part-name = "video";
879 qcom,ocmem-part-min = <0x55000>;
880 };
881
882 partition@140000 {
883 reg = <0x140000 0x40000>;
884 qcom,ocmem-part-name = "sensors";
885 qcom,ocmem-part-min = <0x40000>;
886 };
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -0700887 };
Mahesh Sivasubramanian3f0d0c72012-05-04 17:35:55 -0600888
Varad Deshmukh18057ed2012-07-03 16:34:53 -0700889 rpm_bus: qcom,rpm-smd {
Mahesh Sivasubramanian3f0d0c72012-05-04 17:35:55 -0600890 compatible = "qcom,rpm-smd";
891 rpm-channel-name = "rpm_requests";
892 rpm-channel-type = <15>; /* SMD_APPS_RPM */
893 };
Hariprasad Dhalinarasimhade991f02012-05-31 13:15:51 -0700894
895 qcom,msm-rng@f9bff000 {
896 compatible = "qcom,msm-rng";
897 reg = <0xf9bff000 0x200>;
898 };
Ramesh Masavarapufb1f01e2012-06-14 09:40:40 -0700899
900 qcom,qseecom@fe806000 {
901 compatible = "qcom,qseecom";
Ramesh Masavarapu4e7b67d2012-09-14 12:12:23 -0700902 qcom,msm_bus,name = "qseecom-noc";
903 qcom,msm_bus,num_cases = <4>;
904 qcom,msm_bus,active_only = <0>;
905 qcom,msm_bus,num_paths = <1>;
906 qcom,msm_bus,vectors =
907 <55 512 0 0>,
908 <55 512 3936000000 393600000>,
909 <55 512 3936000000 393600000>,
910 <55 512 3936000000 393600000>;
Ramesh Masavarapufb1f01e2012-06-14 09:40:40 -0700911 };
Adrian Salido-Moreno5ef3ac02012-05-14 18:40:47 -0700912
Hanumant72aec702012-06-25 11:51:07 -0700913 qcom,wdt@f9017000 {
914 compatible = "qcom,msm-watchdog";
915 reg = <0xf9017000 0x1000>;
916 interrupts = <0 3 0 0 4 0>;
917 qcom,bark-time = <11000>;
918 qcom,pet-time = <10000>;
919 qcom,ipi-ping = <1>;
920 };
Hariprasad Dhalinarasimha0fc258f2012-07-05 13:01:29 -0700921
Ramesh Masavarapu00847832012-09-12 13:57:37 -0700922 qcom,tz-log@fc03000 {
Hariprasad Dhalinarasimha0fc258f2012-07-05 13:01:29 -0700923 compatible = "qcom,tz-log";
Ramesh Masavarapu00847832012-09-12 13:57:37 -0700924 reg = <0x0fc03000 0x1000>;
Hariprasad Dhalinarasimha0fc258f2012-07-05 13:01:29 -0700925 };
Tianyi Gou828798d2012-05-02 21:12:38 -0700926
927 qcom,venus@fdce0000 {
928 compatible = "qcom,pil-venus";
929 reg = <0xfdce0000 0x4000>,
930 <0xfdc80208 0x8>;
Matt Wagantall1f168152012-09-25 13:26:47 -0700931 reg-names = "wrapper_base", "vbif_base";
Tianyi Gou828798d2012-05-02 21:12:38 -0700932 vdd-supply = <&gdsc_venus>;
933
934 qcom,firmware-name = "venus";
935 qcom,firmware-min-paddr = <0xF500000>;
936 qcom,firmware-max-paddr = <0xFA00000>;
937 };
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -0700938
Stepan Moskovchenkoc79a7382012-07-19 17:24:32 -0700939 qcom,cache_erp {
940 compatible = "qcom,cache_erp";
941 interrupts = <1 9 0>, <0 2 0>;
942 interrupt-names = "l1_irq", "l2_irq";
943 };
944
Stepan Moskovchenko81f347d2012-09-12 18:53:21 -0700945 qcom,cache_dump {
946 compatible = "qcom,cache_dump";
947 qcom,l1-dump-size = <0x100000>;
948 qcom,l2-dump-size = <0x500000>;
949 qcom,memory-reservation-type = "EBI1";
950 qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */
951 };
952
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -0700953 tsens@fc4a8000 {
954 compatible = "qcom,msm-tsens";
955 reg = <0xfc4a8000 0x2000>,
956 <0xfc4b80d0 0x5>;
957 reg-names = "tsens_physical", "tsens_eeprom_physical";
958 interrupts = <0 184 0>;
959 qcom,sensors = <11>;
Siddartha Mohanadoss205bce62012-07-27 17:17:18 -0700960 qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200
961 3200 3200>;
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -0700962 };
Laura Abbottf7e44042012-06-22 12:50:32 -0700963
964 qcom,msm-rtb {
965 compatible = "qcom,msm-rtb";
966 qcom,memory-reservation-type = "EBI1";
967 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
968 };
Mona Hossainb43e94b2012-05-07 08:52:06 -0700969
970 qcom,qcedev@fd440000 {
971 compatible = "qcom,qcedev";
972 reg = <0xfd440000 0x20000>,
973 <0xfd444000 0x8000>;
Ramesh Masavarapu97ad00d2012-08-06 16:47:26 -0700974 reg-names = "crypto-base","crypto-bam-base";
Ramesh Masavarapu12759ad2012-09-06 20:11:05 -0700975 interrupts = <0 236 0>;
976 qcom,bam-pipe-pair = <1>;
Mona Hossainb43e94b2012-05-07 08:52:06 -0700977 };
978
979 qcom,qcrypto@fd444000 {
980 compatible = "qcom,qcrypto";
981 reg = <0xfd440000 0x20000>,
982 <0xfd444000 0x8000>;
Ramesh Masavarapu97ad00d2012-08-06 16:47:26 -0700983 reg-names = "crypto-base","crypto-bam-base";
Ramesh Masavarapu12759ad2012-09-06 20:11:05 -0700984 interrupts = <0 236 0>;
985 qcom,bam-pipe-pair = <2>;
Mona Hossainb43e94b2012-05-07 08:52:06 -0700986 };
Shimrit Malichi57ae1492012-08-06 14:03:45 +0300987
988 qcom,usbbam@f9304000 {
989 compatible = "qcom,usb-bam-msm";
Manu Gautam6afd5872012-07-25 09:16:55 +0530990 reg = <0xf9304000 0x5000>,
Manu Gautam4658d892012-08-20 18:24:52 -0700991 <0xf9a44000 0x11000>,
992 <0xf92f880c 0x4>;
993 reg-names = "ssusb", "hsusb", "qscratch_ram1_reg";
Manu Gautam6afd5872012-07-25 09:16:55 +0530994 interrupts = <0 132 0 0 135 0>;
995 interrupt-names = "ssusb", "hsusb";
Shimrit Malichi57ae1492012-08-06 14:03:45 +0300996 qcom,usb-active-bam = <0>;
Manu Gautam6afd5872012-07-25 09:16:55 +0530997 qcom,usb-total-bam-num = <2>;
Shimrit Malichi57ae1492012-08-06 14:03:45 +0300998 qcom,usb-bam-num-pipes = <16>;
999 qcom,usb-base-address = <0xf9200000>;
Manu Gautamd4fa0022012-08-28 13:16:36 -07001000 qcom,ignore-core-reset-ack;
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001001
1002 qcom,pipe1 {
1003 label = "usb-to-peri-qdss-dwc3";
1004 qcom,usb-bam-type = <0>;
Manu Gautam6afd5872012-07-25 09:16:55 +05301005 qcom,usb-bam-mem-type = <1>;
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001006 qcom,src-bam-physical-address = <0>;
1007 qcom,src-bam-pipe-index = <0>;
1008 qcom,dst-bam-physical-address = <0>;
1009 qcom,dst-bam-pipe-index = <0>;
1010 qcom,data-fifo-offset = <0>;
1011 qcom,data-fifo-size = <0>;
1012 qcom,descriptor-fifo-offset = <0>;
1013 qcom,descriptor-fifo-size = <0>;
1014 };
1015
1016 qcom,pipe2 {
1017 label = "peri-to-usb-qdss-dwc3";
1018 qcom,usb-bam-type = <0>;
Manu Gautam6afd5872012-07-25 09:16:55 +05301019 qcom,usb-bam-mem-type = <1>;
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001020 qcom,src-bam-physical-address = <0xfc37C000>;
1021 qcom,src-bam-pipe-index = <0>;
1022 qcom,dst-bam-physical-address = <0xf9304000>;
1023 qcom,dst-bam-pipe-index = <2>;
1024 qcom,data-fifo-offset = <0xf0000>;
1025 qcom,data-fifo-size = <0x4000>;
1026 qcom,descriptor-fifo-offset = <0xf4000>;
1027 qcom,descriptor-fifo-size = <0x1400>;
1028 };
Manu Gautam6afd5872012-07-25 09:16:55 +05301029
1030 qcom,pipe3 {
1031 label = "usb-to-peri-qdss-hsusb";
1032 qcom,usb-bam-type = <1>;
Manu Gautam4658d892012-08-20 18:24:52 -07001033 qcom,usb-bam-mem-type = <1>;
Manu Gautam6afd5872012-07-25 09:16:55 +05301034 qcom,src-bam-physical-address = <0>;
1035 qcom,src-bam-pipe-index = <0>;
1036 qcom,dst-bam-physical-address = <0>;
1037 qcom,dst-bam-pipe-index = <0>;
1038 qcom,data-fifo-offset = <0>;
1039 qcom,data-fifo-size = <0>;
1040 qcom,descriptor-fifo-offset = <0>;
1041 qcom,descriptor-fifo-size = <0>;
1042 };
1043
1044 qcom,pipe4 {
1045 label = "peri-to-usb-qdss-hsusb";
1046 qcom,usb-bam-type = <1>;
Manu Gautam4658d892012-08-20 18:24:52 -07001047 qcom,usb-bam-mem-type = <1>;
Manu Gautam6afd5872012-07-25 09:16:55 +05301048 qcom,src-bam-physical-address = <0xfc37c000>;
1049 qcom,src-bam-pipe-index = <0>;
1050 qcom,dst-bam-physical-address = <0xf9a44000>;
1051 qcom,dst-bam-pipe-index = <2>;
Manu Gautam4658d892012-08-20 18:24:52 -07001052 qcom,data-fifo-offset = <0xf4000>;
1053 qcom,data-fifo-size = <0x1000>;
1054 qcom,descriptor-fifo-offset = <0xf5000>;
1055 qcom,descriptor-fifo-size = <0x400>;
Manu Gautam6afd5872012-07-25 09:16:55 +05301056 };
Shimrit Malichi57ae1492012-08-06 14:03:45 +03001057 };
Eugene Seahce52ef22012-07-12 12:40:38 -06001058
1059 qcom,msm-thermal {
1060 compatible = "qcom,msm-thermal";
1061 qcom,sensor-id = <0>;
1062 qcom,poll-ms = <250>;
1063 qcom,limit-temp = <60>;
1064 qcom,temp-hysteresis = <10>;
1065 qcom,freq-step = <2>;
1066 };
Anirudh Ghayalb70740f2012-08-01 09:00:49 +05301067
Jeff Hugo110bced2012-08-21 14:10:27 -06001068 qcom,bam_dmux@fc834000 {
1069 compatible = "qcom,bam_dmux";
1070 reg = <0xfc834000 0x7000>;
1071 interrupts = <0 29 1>;
1072 };
Pushkar Joshie54e93a2012-09-27 12:28:20 -07001073
1074 qcom,msm-wdog-debug@fc401000 {
1075 compatible = "qcom,msm-wdog-debug";
1076 reg = <0xfc401000 0x1000>;
1077 };
1078
Sathish Ambley4df614c2011-10-07 16:30:46 -07001079};
Varad Deshmukh18057ed2012-07-03 16:34:53 -07001080
1081/include/ "msm-pm8x41-rpm-regulator.dtsi"
1082/include/ "msm-pm8841.dtsi"
1083/include/ "msm-pm8941.dtsi"
1084/include/ "msm8974-regulator.dtsi"
Michael Bohanee1f8fe2012-08-03 18:32:16 -07001085/include/ "msm8974-clock.dtsi"