blob: 1b34bef809ed3c05f7a12a3a8b4c0ae7e6a99e9c [file] [log] [blame]
Patrick Dalycd999822014-01-17 15:16:52 -08001/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -07002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13/include/ "skeleton.dtsi"
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070014
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -070015/ {
16 model = "Qualcomm MSM 8226";
17 compatible = "qcom,msm8226";
18 interrupt-parent = <&intc>;
19
Gilad Avidovd59217c2013-02-01 13:45:59 -070020 aliases {
21 spi0 = &spi_0;
Sahitya Tummala9e001362013-03-28 11:00:55 +053022 sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
23 sdhc2 = &sdhc_2; /* SDC2 SD card slot */
Krishna Kondaf92e4262013-07-08 16:21:57 -070024 sdhc3 = &sdhc_3; /* SDC3 SDIO slot */
Gilad Avidovd59217c2013-02-01 13:45:59 -070025 };
26
Laura Abbottf3196b22013-03-11 16:22:34 -070027 memory {
28 secure_mem: secure_region {
29 linux,contiguous-region;
Shalaj Jain5ce2fde2013-05-10 13:22:33 -070030 reg = <0 0x6D00000>;
Laura Abbottf3196b22013-03-11 16:22:34 -070031 label = "secure_mem";
32 };
Laura Abbott429e82b2013-03-25 13:03:06 -070033
Krupal Divvela756ee0f2013-06-12 03:42:55 +053034 adsp_mem: adsp_region {
35 linux,contiguous-region;
Maheshwar Ajjac5c35a82013-09-04 15:04:54 +053036 reg = <0 0x2a00000>;
Krupal Divvela756ee0f2013-06-12 03:42:55 +053037 label = "adsp_mem";
38 };
39
Laura Abbott429e82b2013-03-25 13:03:06 -070040 qsecom_mem: qsecom_region {
41 linux,contiguous-region;
Deva Ramasubramaniande4eefd2013-10-31 12:30:35 -070042 reg = <0 0xd00000>;
Laura Abbott429e82b2013-03-25 13:03:06 -070043 label = "qsecom_mem";
44 };
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070045 };
Laura Abbott429e82b2013-03-25 13:03:06 -070046
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070047 soc: soc { };
48};
49
50/include/ "msm8226-ion.dtsi"
51/include/ "msm8226-camera.dtsi"
52/include/ "msm-gdsc.dtsi"
53/include/ "msm8226-iommu.dtsi"
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070054/include/ "msm8226-smp2p.dtsi"
55/include/ "msm8226-gpu.dtsi"
56/include/ "msm8226-bus.dtsi"
57/include/ "msm8226-mdss.dtsi"
58/include/ "msm8226-coresight.dtsi"
59/include/ "msm8226-iommu-domains.dtsi"
Aparna Dasb8159562013-06-07 17:55:34 -070060/include/ "msm-rdbg.dtsi"
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070061
62&soc {
63 #address-cells = <1>;
64 #size-cells = <1>;
65 ranges;
66
67 intc: interrupt-controller@f9000000 {
68 compatible = "qcom,msm-qgic2";
69 interrupt-controller;
70 #interrupt-cells = <3>;
71 reg = <0xF9000000 0x1000>,
72 <0xF9002000 0x1000>;
73 };
74
75 msmgpio: gpio@fd510000 {
76 compatible = "qcom,msm-gpio";
77 interrupt-controller;
78 #interrupt-cells = <2>;
79 reg = <0xfd510000 0x4000>;
80 gpio-controller;
81 #gpio-cells = <2>;
82 ngpio = <117>;
83 interrupts = <0 208 0>;
84 qcom,direct-connect-irqs = <8>;
Laura Abbottf3196b22013-03-11 16:22:34 -070085 };
86
Abhimanyu Kapur58d303a72013-04-30 16:13:41 -070087 qcom,mpm2-sleep-counter@fc4a3000 {
88 compatible = "qcom,mpm2-sleep-counter";
89 reg = <0xfc4a3000 0x1000>;
90 clock-frequency = <32768>;
91 };
92
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -070093 timer {
Syed Rameez Mustafa0824d6c2012-11-29 18:53:56 -080094 compatible = "arm,armv7-timer";
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -070095 interrupts = <1 2 0 1 3 0>;
96 clock-frequency = <19200000>;
97 };
98
Stephen Boyd72759f62013-04-10 14:20:27 -070099 timer@f9020000 {
100 #address-cells = <1>;
101 #size-cells = <1>;
102 ranges;
103 compatible = "arm,armv7-timer-mem";
104 reg = <0xf9020000 0x1000>;
105 clock-frequency = <19200000>;
106
107 frame@f9021000 {
108 frame-number = <0>;
109 interrupts = <0 8 0x4>,
110 <0 7 0x4>;
111 reg = <0xf9021000 0x1000>,
112 <0xf9022000 0x1000>;
113 };
114
115 frame@f9023000 {
116 frame-number = <1>;
117 interrupts = <0 9 0x4>;
118 reg = <0xf9023000 0x1000>;
119 status = "disabled";
120 };
121
122 frame@f9024000 {
123 frame-number = <2>;
124 interrupts = <0 10 0x4>;
125 reg = <0xf9024000 0x1000>;
126 status = "disabled";
127 };
128
129 frame@f9025000 {
130 frame-number = <3>;
131 interrupts = <0 11 0x4>;
132 reg = <0xf9025000 0x1000>;
133 status = "disabled";
134 };
135
136 frame@f9026000 {
137 frame-number = <4>;
138 interrupts = <0 12 0x4>;
139 reg = <0xf9026000 0x1000>;
140 status = "disabled";
141 };
142
143 frame@f9027000 {
144 frame-number = <5>;
145 interrupts = <0 13 0x4>;
146 reg = <0xf9027000 0x1000>;
147 status = "disabled";
148 };
149
150 frame@f9028000 {
151 frame-number = <6>;
152 interrupts = <0 14 0x4>;
153 reg = <0xf9028000 0x1000>;
154 status = "disabled";
155 };
156 };
157
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -0800158 qcom,vidc@fdc00000 {
159 compatible = "qcom,msm-vidc";
160 reg = <0xfdc00000 0xff000>;
161 interrupts = <0 44 0>;
Sachin Shah2863bbf2013-09-12 14:27:52 -0700162 vdd-supply = <&gdsc_venus>;
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -0800163 qcom,load-freq-tbl = <352800 160000000>,
164 <244800 133330000>,
165 <108000 66700000>;
166 qcom,hfi = "venus";
167 qcom,bus-ports = <1>;
168 qcom,reg-presets = <0xE0024 0x0>,
169 <0x80124 0x3>,
170 <0xE0020 0x5555556>,
171 <0x800B0 0x10101001>,
172 <0x800B4 0x00101010>,
173 <0x800C0 0x1010100f>,
174 <0x800C4 0x00101010>,
175 <0x800D0 0x00000010>,
176 <0x800D4 0x00000010>,
177 <0x800D8 0x00000707>;
178 qcom,enc-ddr-ab-ib = <0 0>,
179 <129000 142000>,
180 <384000 422000>,
181 <866000 953000>;
182 qcom,dec-ddr-ab-ib = <0 0>,
183 <103000 134000>,
184 <268000 348000>,
185 <505000 657000>;
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -0800186 qcom,buffer-type-tz-usage-table = <0x1 0x1>,
Cullum Baldwin673f9862013-10-25 17:39:47 -0700187 <0x6 0x2>,
188 <0x7C0 0x3>;
Deva Ramasubramanian74b1dda2013-03-27 13:16:17 -0700189 qcom,max-hw-load = <352800>; /* 720p @ 30 + 1080p @ 30 */
Eric Hoa00e2da2013-06-20 17:41:57 -0700190 qcom,vidc-iommu-domains {
191 qcom,domain-ns {
192 qcom,vidc-domain-phandle = <&venus_domain_ns>;
Praneeth Paladugu34a025d2013-09-20 16:53:23 -0700193 qcom,vidc-partition-buffer-types = <0x7ff>,
194 <0x800>;
Eric Hoa00e2da2013-06-20 17:41:57 -0700195 };
196
197 qcom,domain-cp {
198 qcom,vidc-domain-phandle = <&venus_domain_cp>;
Praneeth Paladugu34a025d2013-09-20 16:53:23 -0700199 qcom,vidc-partition-buffer-types = <0x6>,
200 <0x7c1>;
Eric Hoa00e2da2013-06-20 17:41:57 -0700201 };
202 };
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -0800203 };
204
Maheshwar Ajjac5c35a82013-09-04 15:04:54 +0530205 qcom,vidc {
206 compatible = "qcom,msm-vidc";
207 qcom,hfi = "q6";
208 qcom,max-hw-load = <108000>; /* 720p @ 30 * 1 */
209 };
210
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -0800211 qcom,wfd {
212 compatible = "qcom,msm-wfd";
213 };
214
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700215 serial@f991f000 {
216 compatible = "qcom,msm-lsuart-v14";
217 reg = <0xf991f000 0x1000>;
218 interrupts = <0 109 0>;
219 status = "disabled";
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700220
Dilip Kota2b7d2ad2013-11-01 20:44:17 +0530221 qcom,msm-bus,name = "blsp1_uart2";
222 qcom,msm-bus,num-cases = <2>;
223 qcom,msm-bus,num-paths = <1>;
224 qcom,msm-bus,vectors-KBps =
225 <86 512 0 0>,
226 <86 512 500 800>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700227 };
228
Abhimanyu Kapur032b1f42013-01-18 00:10:50 -0800229 qcom,msm-imem@fe805000 {
230 compatible = "qcom,msm-imem";
231 reg = <0xfe805000 0x1000>; /* Address and size of IMEM */
232 };
233
Yan He7c06ce32012-12-03 17:12:31 -0800234 qcom,sps@f9984000 {
235 compatible = "qcom,msm_sps";
236 reg = <0xf9984000 0x15000>,
237 <0xf9999000 0xb000>;
238 interrupts = <0 94 0>;
239 };
240
Vamsi Krishna840835b2013-04-01 22:01:05 -0700241 qcom,usbbam@f9a44000 {
242 compatible = "qcom,usb-bam-msm";
243 reg = <0xf9a44000 0x11000>;
244 reg-names = "hsusb";
245 interrupts = <0 135 0>;
246 interrupt-names = "hsusb";
247 qcom,usb-bam-num-pipes = <16>;
248 qcom,usb-bam-fifo-baseaddr = <0xfe803000>;
249 qcom,ignore-core-reset-ack;
250 qcom,disable-clk-gating;
251
252 qcom,pipe0 {
253 label = "hsusb-qdss-in-0";
254 qcom,usb-bam-mem-type = <3>;
255 qcom,bam-type = <1>;
256 qcom,dir = <1>;
257 qcom,pipe-num = <0>;
258 qcom,peer-bam = <1>;
259 qcom,src-bam-physical-address = <0xfc37c000>;
260 qcom,src-bam-pipe-index = <0>;
261 qcom,dst-bam-physical-address = <0xf9a44000>;
262 qcom,dst-bam-pipe-index = <2>;
263 qcom,data-fifo-offset = <0x0>;
264 qcom,data-fifo-size = <0x600>;
265 qcom,descriptor-fifo-offset = <0x600>;
266 qcom,descriptor-fifo-size = <0x200>;
267 };
268 };
269
Manu Gautam41334e92013-06-04 17:49:25 +0530270 usb_otg: usb@f9a55000 {
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700271 compatible = "qcom,hsusb-otg";
272 reg = <0xf9a55000 0x400>;
Mayank Ranaac2a54f2013-01-17 10:14:35 +0530273 interrupts = <0 134 0>, <0 140 0>;
274 interrupt-names = "core_irq", "async_irq";
Mayank Rana8335a772013-03-06 10:12:27 +0530275 hsusb_vdd_dig-supply = <&pm8226_s1_corner>;
David Keitel7184c6e2013-02-11 13:23:04 -0800276 HSUSB_1p8-supply = <&pm8226_l10>;
277 HSUSB_3p3-supply = <&pm8226_l20>;
Mayank Rana8335a772013-03-06 10:12:27 +0530278 qcom,vdd-voltage-level = <1 5 7>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700279
Vamsi Krishna1f265912013-04-22 22:50:06 -0700280 qcom,hsusb-otg-phy-init-seq =
281 <0x44 0x80 0x68 0x81 0x24 0x82 0x13 0x83 0xffffffff>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700282 qcom,hsusb-otg-phy-type = <2>;
283 qcom,hsusb-otg-mode = <1>;
Vamsi Krishna0d564102013-03-02 15:26:55 -0800284 qcom,hsusb-otg-otg-control = <2>;
Saket Saurabhb39f0f92014-02-19 11:52:17 +0530285 qcom,hsusb-otg-disable-reset;
Mayank Rana15f01b52013-03-08 18:28:56 +0530286 qcom,dp-manual-pullup;
Vijayavardhan Vennapusa189184d2014-02-17 11:14:59 +0530287 qcom,usbin-vadc = <&pm8226_vadc>;
Mayank Rana5403e2a2013-02-26 11:18:39 +0530288
Manu Gautam41334e92013-06-04 17:49:25 +0530289 qcom,msm-bus,name = "usb";
Manu Gautam861c5852013-06-20 16:21:05 +0530290 qcom,msm-bus,num-cases = <3>;
Mayank Rana5403e2a2013-02-26 11:18:39 +0530291 qcom,msm-bus,num-paths = <1>;
292 qcom,msm-bus,vectors-KBps =
293 <87 512 0 0>,
Manu Gautam861c5852013-06-20 16:21:05 +0530294 <87 512 60000 960000>,
295 <87 512 6000 6000>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700296 };
297
Mayank Ranaf8bfadb2013-07-25 12:01:25 +0530298 android_usb: android_usb@fe8050c8 {
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700299 compatible = "qcom,android-usb";
Mayank Rana6bd9a272013-01-29 16:23:23 +0530300 reg = <0xfe8050c8 0xc8>;
Manu Gautam1bdb7802013-05-22 12:48:35 +0530301 qcom,android-usb-swfi-latency = <1>;
Mayank Rana5f864fa2013-11-11 14:21:05 +0530302 qcom,streaming-func = "rndis";
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700303 };
304
Pavankumar Kondetifc6985d2014-02-12 09:48:58 +0530305 smsc_hub: hsic_hub {
Pavankumar Kondetic4cea362013-09-24 15:48:20 +0530306 status = "disabled";
Pavankumar Kondetifc6985d2014-02-12 09:48:58 +0530307 compatible = "qcom,hsic-smsc-hub";
308 smsc,model-id = <0>;
309 #address-cells = <1>;
310 #size-cells = <1>;
311 ranges;
Pavankumar Kondetic4cea362013-09-24 15:48:20 +0530312
Pavankumar Kondetifc6985d2014-02-12 09:48:58 +0530313 hsic_host: hsic@f9a00000 {
314 compatible = "qcom,hsic-host";
315 reg = <0xf9a00000 0x400>;
316 #address-cells = <0>;
317 interrupt-parent = <&hsic_host>;
318 interrupts = <0 1 2>;
319 #interrupt-cells = <1>;
320 interrupt-map-mask = <0xffffffff>;
321 interrupt-map = <0 &intc 0 136 0
322 1 &intc 0 148 0
323 2 &msmgpio 115 0x8>;
324 interrupt-names = "core_irq", "async_irq", "wakeup";
325 hsic_vdd_dig-supply = <&pm8226_s1_corner>;
326 HSIC_GDSC-supply = <&gdsc_usb_hsic>;
327 hsic,strobe-gpio = <&msmgpio 115 0x00>;
328 hsic,data-gpio = <&msmgpio 116 0x00>;
329 hsic,ignore-cal-pad-config;
330 hsic,strobe-pad-offset = <0x2050>;
331 hsic,data-pad-offset = <0x2054>;
332 qcom,phy-susp-sof-workaround;
333 hsic,vdd-voltage-level = <1 5 7>;
334
335 qcom,msm-bus,name = "hsic";
336 qcom,msm-bus,num-cases = <2>;
337 qcom,msm-bus,num-paths = <1>;
338 qcom,msm-bus,vectors-KBps =
Pavankumar Kondetic4cea362013-09-24 15:48:20 +0530339 <85 512 0 0>,
340 <85 512 40000 160000>;
Pavankumar Kondetifc6985d2014-02-12 09:48:58 +0530341 };
Pavankumar Kondetic4cea362013-09-24 15:48:20 +0530342 };
343
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800344 wcd9xxx_intc: wcd9xxx-irq {
345 compatible = "qcom,wcd9xxx-irq";
346 interrupt-controller;
347 #interrupt-cells = <1>;
348 interrupt-parent = <&msmgpio>;
349 interrupts = <68 0>;
350 interrupt-names = "cdc-int";
351 };
352
Phani Kumar Uppalapati5f285bf2013-05-05 23:36:57 -0700353 slim_msm: slim@fe12f000 {
Bhalchandra Gajarefb785972012-12-06 19:25:10 -0800354 cell-index = <1>;
355 compatible = "qcom,slim-ngd";
356 reg = <0xfe12f000 0x35000>,
357 <0xfe104000 0x20000>;
358 reg-names = "slimbus_physical", "slimbus_bam_physical";
359 interrupts = <0 163 0>, <0 164 0>;
360 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800361
362 tapan_codec {
363 compatible = "qcom,tapan-slim-pgd";
364 elemental-addr = [00 01 E0 00 17 02];
365
366 interrupt-parent = <&wcd9xxx_intc>;
367 interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
368 17 18 19 20 21 22 23 24 25 26 27 28>;
369 qcom,cdc-reset-gpio = <&msmgpio 72 0>;
370
David Keitel7184c6e2013-02-11 13:23:04 -0800371 cdc-vdd-buck-supply = <&pm8226_s4>;
Bhalchandra Gajare482ef672013-06-20 15:28:59 -0700372 qcom,cdc-vdd-buck-voltage = <1800000 2150000>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800373 qcom,cdc-vdd-buck-current = <650000>;
374
David Keitel7184c6e2013-02-11 13:23:04 -0800375 cdc-vdd-h-supply = <&pm8226_l6>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800376 qcom,cdc-vdd-h-voltage = <1800000 1800000>;
377 qcom,cdc-vdd-h-current = <25000>;
378
David Keitel7184c6e2013-02-11 13:23:04 -0800379 cdc-vdd-px-supply = <&pm8226_l6>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800380 qcom,cdc-vdd-px-voltage = <1800000 1800000>;
381 qcom,cdc-vdd-px-current = <25000>;
382
David Keitel7184c6e2013-02-11 13:23:04 -0800383 cdc-vdd-cx-supply = <&pm8226_l4>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800384 qcom,cdc-vdd-cx-voltage = <1200000 1200000>;
Bhalchandra Gajare4962c6e2013-08-15 13:02:49 -0700385 qcom,cdc-vdd-cx-current = <2000>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800386
Bhalchandra Gajare075e9c52013-07-03 14:23:48 -0700387 cdc-vdd-buckhelper-supply = <&pm8226_l25>;
388 qcom,cdc-vdd-buckhelper-voltage = <1775000 2125000>;
389 qcom,cdc-vdd-buckhelper-current = <10000>;
390
391 qcom,cdc-static-supplies = "cdc-vdd-h",
Joonwoo Park73239212013-04-10 15:11:06 -0700392 "cdc-vdd-px",
Joonwoo Park73239212013-04-10 15:11:06 -0700393 "cdc-vdd-cx";
394
Bhalchandra Gajare075e9c52013-07-03 14:23:48 -0700395 qcom,cdc-cp-supplies = "cdc-vdd-buck",
396 "cdc-vdd-buckhelper";
397
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800398 qcom,cdc-micbias-ldoh-v = <0x3>;
399 qcom,cdc-micbias-cfilt1-mv = <1800>;
Phani Kumar Uppalapatiab0d98a2013-05-21 23:04:15 -0700400 qcom,cdc-micbias-cfilt2-mv = <2700>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800401 qcom,cdc-micbias-cfilt3-mv = <1800>;
402
403 qcom,cdc-micbias1-cfilt-sel = <0x0>;
404 qcom,cdc-micbias2-cfilt-sel = <0x1>;
405 qcom,cdc-micbias3-cfilt-sel = <0x2>;
406
407 qcom,cdc-mclk-clk-rate = <9600000>;
408 qcom,cdc-slim-ifd = "tapan-slim-ifd";
409 qcom,cdc-slim-ifd-elemental-addr = [00 00 E0 00 17 02];
410 };
Bhalchandra Gajarefb785972012-12-06 19:25:10 -0800411 };
412
Bhalchandra Gajaree1915b82012-12-12 17:28:39 -0800413 qcom,msm-adsp-loader {
414 compatible = "qcom,adsp-loader";
415 qcom,adsp-state = <0>;
416 };
417
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800418 sound {
419 compatible = "qcom,msm8226-audio-tapan";
420 qcom,model = "msm8226-tapan-snd-card";
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800421 qcom,tapan-mclk-clk-freq = <9600000>;
Banajit Goswamif9921532013-05-10 11:24:52 -0700422 qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>;
423 qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>;
424 qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>;
425 qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>;
426 qcom,prim-auxpcm-gpio-set = "prim-gpio-prim";
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800427 };
428
Phani Kumar Uppalapatic2f9c222013-05-09 19:17:58 -0700429 sound-9302 {
430 compatible = "qcom,msm8226-audio-tapan";
431 qcom,model = "msm8226-tapan9302-snd-card";
432 qcom,tapan-mclk-clk-freq = <9600000>;
433 qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>;
434 qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>;
435 qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>;
436 qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>;
437 qcom,prim-auxpcm-gpio-set = "prim-gpio-prim";
438 qcom,tapan-codec-9302;
439 };
440
Krishnankutty Kolathappilly01a3f9b2013-12-12 17:00:15 -0800441 qti,msm-pcm {
442 compatible = "qti,msm-pcm-dsp";
443 qti,msm-pcm-dsp-id = <0>;
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800444 };
445
446 qcom,msm-pcm-routing {
447 compatible = "qcom,msm-pcm-routing";
448 };
449
Krishnankutty Kolathappilly01a3f9b2013-12-12 17:00:15 -0800450 qti,msm-pcm-low-latency {
451 compatible = "qti,msm-pcm-dsp";
452 qti,msm-pcm-dsp-id = <1>;
453 qti,msm-pcm-low-latency;
Krishnankutty Kolathappilly22dc25b2013-11-25 12:11:07 -0800454 qti,latency-level = "regular";
Bhalchandra Gajare18468a62013-03-11 18:32:49 -0700455 };
456
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800457 qcom,msm-pcm-lpa {
458 compatible = "qcom,msm-pcm-lpa";
459 };
460
461 qcom,msm-compr-dsp {
462 compatible = "qcom,msm-compr-dsp";
463 };
464
Haynes Mathew George1ccabc52013-09-17 14:36:48 -0700465 qcom,msm-compress-dsp {
466 compatible = "qcom,msm-compress-dsp";
467 };
468
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800469 qcom,msm-voip-dsp {
470 compatible = "qcom,msm-voip-dsp";
471 };
472
473 qcom,msm-pcm-voice {
474 compatible = "qcom,msm-pcm-voice";
475 };
476
477 qcom,msm-stub-codec {
478 compatible = "qcom,msm-stub-codec";
479 };
480
481 qcom,msm-dai-fe {
482 compatible = "qcom,msm-dai-fe";
483 };
484
485 qcom,msm-pcm-afe {
486 compatible = "qcom,msm-pcm-afe";
487 };
488
489 qcom,msm-dai-q6-hdmi {
490 compatible = "qcom,msm-dai-q6-hdmi";
491 qcom,msm-dai-q6-dev-id = <8>;
492 };
493
Venkat Sudhir178d1ae2013-09-11 14:05:09 -0700494 qcom,msm-lsm-client {
495 compatible = "qcom,msm-lsm-client";
496 };
497
Satya Krishna Pindiproli1da8ba02014-02-19 14:33:37 +0530498 qti,msm-pcm-loopback {
499 compatible = "qti,msm-pcm-loopback";
500 };
501
Vicky Sehrawat3174aee2014-02-14 14:36:05 -0800502 qcom,msm-voice-svc {
503 compatible = "qcom,msm-voice-svc";
504 };
505
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800506 qcom,msm-dai-q6 {
507 compatible = "qcom,msm-dai-q6";
508 qcom,msm-dai-q6-sb-0-rx {
509 compatible = "qcom,msm-dai-q6-dev";
510 qcom,msm-dai-q6-dev-id = <16384>;
511 };
512
513 qcom,msm-dai-q6-sb-0-tx {
514 compatible = "qcom,msm-dai-q6-dev";
515 qcom,msm-dai-q6-dev-id = <16385>;
516 };
517
518 qcom,msm-dai-q6-sb-1-rx {
519 compatible = "qcom,msm-dai-q6-dev";
520 qcom,msm-dai-q6-dev-id = <16386>;
521 };
522
523 qcom,msm-dai-q6-sb-1-tx {
524 compatible = "qcom,msm-dai-q6-dev";
525 qcom,msm-dai-q6-dev-id = <16387>;
526 };
527
528 qcom,msm-dai-q6-sb-3-rx {
529 compatible = "qcom,msm-dai-q6-dev";
530 qcom,msm-dai-q6-dev-id = <16390>;
531 };
532
533 qcom,msm-dai-q6-sb-3-tx {
534 compatible = "qcom,msm-dai-q6-dev";
535 qcom,msm-dai-q6-dev-id = <16391>;
536 };
537
538 qcom,msm-dai-q6-sb-4-rx {
539 compatible = "qcom,msm-dai-q6-dev";
540 qcom,msm-dai-q6-dev-id = <16392>;
541 };
542
543 qcom,msm-dai-q6-sb-4-tx {
544 compatible = "qcom,msm-dai-q6-dev";
545 qcom,msm-dai-q6-dev-id = <16393>;
546 };
547
Venkat Sudhir178d1ae2013-09-11 14:05:09 -0700548 qcom,msm-dai-q6-sb-5-tx {
549 compatible = "qcom,msm-dai-q6-dev";
550 qcom,msm-dai-q6-dev-id = <16395>;
551 };
552
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800553 qcom,msm-dai-q6-bt-sco-rx {
554 compatible = "qcom,msm-dai-q6-dev";
555 qcom,msm-dai-q6-dev-id = <12288>;
556 };
557
558 qcom,msm-dai-q6-bt-sco-tx {
559 compatible = "qcom,msm-dai-q6-dev";
560 qcom,msm-dai-q6-dev-id = <12289>;
561 };
562
563 qcom,msm-dai-q6-int-fm-rx {
564 compatible = "qcom,msm-dai-q6-dev";
565 qcom,msm-dai-q6-dev-id = <12292>;
566 };
567
568 qcom,msm-dai-q6-int-fm-tx {
569 compatible = "qcom,msm-dai-q6-dev";
570 qcom,msm-dai-q6-dev-id = <12293>;
571 };
572
573 qcom,msm-dai-q6-be-afe-pcm-rx {
574 compatible = "qcom,msm-dai-q6-dev";
575 qcom,msm-dai-q6-dev-id = <224>;
576 };
577
578 qcom,msm-dai-q6-be-afe-pcm-tx {
579 compatible = "qcom,msm-dai-q6-dev";
580 qcom,msm-dai-q6-dev-id = <225>;
581 };
582
583 qcom,msm-dai-q6-afe-proxy-rx {
584 compatible = "qcom,msm-dai-q6-dev";
585 qcom,msm-dai-q6-dev-id = <241>;
586 };
587
588 qcom,msm-dai-q6-afe-proxy-tx {
589 compatible = "qcom,msm-dai-q6-dev";
590 qcom,msm-dai-q6-dev-id = <240>;
591 };
Vicky Sehrawat2ef554c2013-03-12 17:24:20 -0700592
593 qcom,msm-dai-q6-incall-record-rx {
594 compatible = "qcom,msm-dai-q6-dev";
595 qcom,msm-dai-q6-dev-id = <32771>;
596 };
597
598 qcom,msm-dai-q6-incall-record-tx {
599 compatible = "qcom,msm-dai-q6-dev";
600 qcom,msm-dai-q6-dev-id = <32772>;
601 };
602
603 qcom,msm-dai-q6-incall-music-rx {
604 compatible = "qcom,msm-dai-q6-dev";
605 qcom,msm-dai-q6-dev-id = <32773>;
606 };
Vicky Sehrawat5ac670f2013-05-17 16:32:13 -0700607
608 qcom,msm-dai-q6-incall-music-2-rx {
609 compatible = "qcom,msm-dai-q6-dev";
610 qcom,msm-dai-q6-dev-id = <32770>;
611 };
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800612 };
613
614 qcom,msm-pcm-hostless {
615 compatible = "qcom,msm-pcm-hostless";
616 };
617
Patrick Laiafd82122013-06-15 22:50:04 -0700618 qcom,msm-pri-auxpcm {
619 compatible = "qcom,msm-auxpcm-dev";
Banajit Goswamif9921532013-05-10 11:24:52 -0700620 qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
621 qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
622 qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
623 qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
624 qcom,msm-cpudai-auxpcm-slot = <1>, <1>;
625 qcom,msm-cpudai-auxpcm-data = <0>, <0>;
626 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
Patrick Laiafd82122013-06-15 22:50:04 -0700627 qcom,msm-auxpcm-interface = "primary";
Banajit Goswamif9921532013-05-10 11:24:52 -0700628 };
629
Sheng Fangb6a06482013-03-20 13:21:36 +0800630 qcom,wcnss-wlan@fb000000 {
631 compatible = "qcom,wcnss_wlan";
Sameer Thalappil58281ca2013-04-10 18:50:18 -0700632 reg = <0xfb000000 0x280000>,
633 <0xf9011008 0x04>;
634 reg-names = "wcnss_mmio", "wcnss_fiq";
Sheng Fangb6a06482013-03-20 13:21:36 +0800635 interrupts = <0 145 0 0 146 0>;
636 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
637
638 qcom,pronto-vddmx-supply = <&pm8226_l3>;
639 qcom,pronto-vddcx-supply = <&pm8226_s1>;
640 qcom,pronto-vddpx-supply = <&pm8226_l6>;
641 qcom,iris-vddxo-supply = <&pm8226_l10>;
642 qcom,iris-vddrfa-supply = <&pm8226_l24>;
643 qcom,iris-vddpa-supply = <&pm8226_l16>;
644 qcom,iris-vdddig-supply = <&pm8226_l24>;
645
646 gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>;
Sameer Thalappil820f87b2013-05-21 20:40:54 -0700647 qcom,has-pronto-hw;
648 qcom,has-autodetect-xo;
Sameer Thalappilf6fb1892013-09-06 17:33:30 -0700649 qcom,wcnss-adc_tm = <&pm8226_adc_tm>;
Sheng Fangb6a06482013-03-20 13:21:36 +0800650 };
rockiec44833a32013-03-21 02:06:14 +0800651
652 qcom,msm-adsp-sensors {
653 compatible = "qcom,msm-adsp-sensors";
654 qcom,src-id = <11>;
655 qcom,dst-id = <604>;
656 qcom,ab = <32505856>;
657 qcom,ib = <32505856>;
658 };
659
Mitchel Humpherys5fe1c9b2012-10-09 17:30:19 -0700660 qcom,wdt@f9017000 {
661 compatible = "qcom,msm-watchdog";
662 reg = <0xf9017000 0x1000>;
663 interrupts = <0 3 0>, <0 4 0>;
664 qcom,bark-time = <11000>;
665 qcom,pet-time = <10000>;
Mitchel Humpherys1be23802012-11-16 15:52:32 -0800666 qcom,ipi-ping;
Mitchel Humpherys5fe1c9b2012-10-09 17:30:19 -0700667 };
668
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600669 qcom,smem@fa00000 {
670 compatible = "qcom,smem";
Jeff Hugo41e5c2f2013-04-26 11:38:32 -0600671 reg = <0xfa00000 0x100000>,
Stepan Moskovchenkod6ee8262013-02-06 11:26:05 -0800672 <0xf9011000 0x1000>,
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600673 <0xfc428000 0x4000>;
674 reg-names = "smem", "irq-reg-base", "aux-mem1";
675
676 qcom,smd-modem {
677 compatible = "qcom,smd";
678 qcom,smd-edge = <0>;
679 qcom,smd-irq-offset = <0x8>;
680 qcom,smd-irq-bitmask = <0x1000>;
681 qcom,pil-string = "modem";
682 interrupts = <0 25 1>;
David Ngb715e322012-12-01 12:57:08 -0800683 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600684
685 qcom,smsm-modem {
686 compatible = "qcom,smsm";
687 qcom,smsm-edge = <0>;
688 qcom,smsm-irq-offset = <0x8>;
689 qcom,smsm-irq-bitmask = <0x2000>;
690 interrupts = <0 26 1>;
David Ngb715e322012-12-01 12:57:08 -0800691 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600692
693 qcom,smd-adsp {
694 compatible = "qcom,smd";
695 qcom,smd-edge = <1>;
696 qcom,smd-irq-offset = <0x8>;
697 qcom,smd-irq-bitmask = <0x100>;
698 qcom,pil-string = "adsp";
699 interrupts = <0 156 1>;
David Ngb715e322012-12-01 12:57:08 -0800700 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600701
702 qcom,smsm-adsp {
703 compatible = "qcom,smsm";
704 qcom,smsm-edge = <1>;
705 qcom,smsm-irq-offset = <0x8>;
706 qcom,smsm-irq-bitmask = <0x200>;
707 interrupts = <0 157 1>;
David Ngb715e322012-12-01 12:57:08 -0800708 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600709
710 qcom,smd-wcnss {
711 compatible = "qcom,smd";
712 qcom,smd-edge = <6>;
713 qcom,smd-irq-offset = <0x8>;
714 qcom,smd-irq-bitmask = <0x20000>;
715 qcom,pil-string = "wcnss";
716 interrupts = <0 142 1>;
David Ngb715e322012-12-01 12:57:08 -0800717 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600718
719 qcom,smsm-wcnss {
720 compatible = "qcom,smsm";
721 qcom,smsm-edge = <6>;
722 qcom,smsm-irq-offset = <0x8>;
723 qcom,smsm-irq-bitmask = <0x80000>;
724 interrupts = <0 144 1>;
David Ngb715e322012-12-01 12:57:08 -0800725 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600726
727 qcom,smd-rpm {
728 compatible = "qcom,smd";
729 qcom,smd-edge = <15>;
730 qcom,smd-irq-offset = <0x8>;
731 qcom,smd-irq-bitmask = <0x1>;
732 interrupts = <0 168 1>;
733 qcom,irq-no-suspend;
David Ngb715e322012-12-01 12:57:08 -0800734 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600735 };
736
Praveen Chidambaramc8af25e2012-12-19 11:27:36 -0700737 rpm_bus: qcom,rpm-smd {
738 compatible = "qcom,rpm-smd";
739 rpm-channel-name = "rpm_requests";
740 rpm-channel-type = <15>; /* SMD_APPS_RPM */
Praveen Chidambaramc8af25e2012-12-19 11:27:36 -0700741 };
742
Jennifer Liu86687d52013-05-29 15:51:40 -0700743 qcom,bcl {
744 compatible = "qcom,bcl";
745 };
746
Pratibhasagar Vc20526a2013-10-09 18:59:45 +0530747 rmtfs_sharedmem {
748 compatible = "qcom,sharedmem-uio";
749 reg = <0x0fd80000 0x00180000>;
750 reg-names = "rmtfs";
751 };
752
753 dsp_sharedmem {
754 compatible = "qcom,sharedmem-uio";
755 reg = <0x0fd60000 0x00020000>;
756 reg-names = "rfsa_dsp";
757 };
758
759 mdm_sharedmem {
760 compatible = "qcom,sharedmem-uio";
761 reg = <0x0fd60000 0x00020000>;
762 reg-names = "rfsa_mdm";
763 };
764
Asutosh Das99912e62012-12-06 12:38:46 +0530765 sdcc1: qcom,sdcc@f9824000 {
766 cell-index = <1>; /* SDC1 eMMC slot */
767 compatible = "qcom,msm-sdcc";
768
Asutosh Das6b82fc52012-11-23 12:00:26 +0530769 reg = <0xf9824000 0x800>,
770 <0xf9824800 0x100>,
771 <0xf9804000 0x7000>;
772 reg-names = "core_mem", "dml_mem", "bam_mem";
773 interrupts = <0 123 0>, <0 137 0>;
774 interrupt-names = "core_irq", "bam_irq";
Asutosh Das99912e62012-12-06 12:38:46 +0530775
776 qcom,bus-width = <8>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700777
778 qcom,msm-bus,name = "sdcc1";
779 qcom,msm-bus,num-cases = <8>;
780 qcom,msm-bus,num-paths = <1>;
781 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
782 <78 512 1600 3200>, /* 400 KB/s*/
783 <78 512 80000 160000>, /* 20 MB/s */
784 <78 512 100000 200000>, /* 25 MB/s */
785 <78 512 200000 400000>, /* 50 MB/s */
786 <78 512 400000 800000>, /* 100 MB/s */
787 <78 512 400000 800000>, /* 200 MB/s */
788 <78 512 2048000 4096000>; /* Max. bandwidth */
789 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
790 100000000 200000000 4294967295>;
791
Asutosh Das99912e62012-12-06 12:38:46 +0530792 status = "disabled";
793 };
794
Sahitya Tummala9e001362013-03-28 11:00:55 +0530795 sdhc_1: sdhci@f9824900 {
796 compatible = "qcom,sdhci-msm";
797 reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
798 reg-names = "hc_mem", "core_mem";
799
800 interrupts = <0 123 0>, <0 138 0>;
801 interrupt-names = "hc_irq", "pwr_irq";
802
803 qcom,bus-width = <8>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700804
805 qcom,msm-bus,name = "sdhc1";
806 qcom,msm-bus,num-cases = <8>;
807 qcom,msm-bus,num-paths = <1>;
808 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
809 <78 512 1600 3200>, /* 400 KB/s*/
810 <78 512 80000 160000>, /* 20 MB/s */
811 <78 512 100000 200000>, /* 25 MB/s */
812 <78 512 200000 400000>, /* 50 MB/s */
813 <78 512 400000 800000>, /* 100 MB/s */
814 <78 512 400000 800000>, /* 200 MB/s */
815 <78 512 2048000 4096000>; /* Max. bandwidth */
816 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
817 100000000 200000000 4294967295>;
818
Sahitya Tummala9e001362013-03-28 11:00:55 +0530819 status = "disabled";
820 };
821
Asutosh Das99912e62012-12-06 12:38:46 +0530822 sdcc2: qcom,sdcc@f98a4000 {
823 cell-index = <2>; /* SDC2 SD card slot */
824 compatible = "qcom,msm-sdcc";
825
Asutosh Das6b82fc52012-11-23 12:00:26 +0530826 reg = <0xf98a4000 0x800>,
827 <0xf98a4800 0x100>,
828 <0xf9884000 0x7000>;
829 reg-names = "core_mem", "dml_mem", "bam_mem";
830 interrupts = <0 125 0>, <0 220 0>;
831 interrupt-names = "core_irq", "bam_irq";
Asutosh Das99912e62012-12-06 12:38:46 +0530832
833 qcom,bus-width = <4>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700834
835 qcom,msm-bus,name = "sdcc2";
836 qcom,msm-bus,num-cases = <8>;
837 qcom,msm-bus,num-paths = <1>;
838 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
839 <81 512 1600 3200>, /* 400 KB/s*/
840 <81 512 80000 160000>, /* 20 MB/s */
841 <81 512 100000 200000>, /* 25 MB/s */
842 <81 512 200000 400000>, /* 50 MB/s */
843 <81 512 400000 800000>, /* 100 MB/s */
844 <81 512 400000 800000>, /* 200 MB/s */
845 <81 512 2048000 4096000>; /* Max. bandwidth */
846 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
847 100000000 200000000 4294967295>;
848
Asutosh Das99912e62012-12-06 12:38:46 +0530849 status = "disabled";
850 };
Kenneth Heitkee5804002012-11-15 17:50:07 -0700851
Sahitya Tummala9e001362013-03-28 11:00:55 +0530852 sdhc_2: sdhci@f98a4900 {
853 compatible = "qcom,sdhci-msm";
854 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
855 reg-names = "hc_mem", "core_mem";
856
857 interrupts = <0 125 0>, <0 221 0>;
858 interrupt-names = "hc_irq", "pwr_irq";
859
860 qcom,bus-width = <4>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700861
862 qcom,msm-bus,name = "sdhc2";
863 qcom,msm-bus,num-cases = <8>;
864 qcom,msm-bus,num-paths = <1>;
865 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
866 <81 512 1600 3200>, /* 400 KB/s*/
867 <81 512 80000 160000>, /* 20 MB/s */
868 <81 512 100000 200000>, /* 25 MB/s */
869 <81 512 200000 400000>, /* 50 MB/s */
870 <81 512 400000 800000>, /* 100 MB/s */
871 <81 512 400000 800000>, /* 200 MB/s */
872 <81 512 2048000 4096000>; /* Max. bandwidth */
873 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
874 100000000 200000000 4294967295>;
875
Sahitya Tummala9e001362013-03-28 11:00:55 +0530876 status = "disabled";
877 };
878
Krishna Kondaf92e4262013-07-08 16:21:57 -0700879 sdcc3: qcom,sdcc@f9864000 {
880 cell-index = <3>;
881 compatible = "qcom,msm-sdcc";
882 reg = <0xf9864000 0x800>,
883 <0xf9864800 0x100>,
884 <0xf9844000 0x7000>;
885 reg-names = "core_mem", "dml_mem", "bam_mem";
886
887 qcom,bus-width = <4>;
888 gpios = <&msmgpio 44 0>, /* CLK */
889 <&msmgpio 43 0>, /* CMD */
890 <&msmgpio 42 0>, /* DATA0 */
891 <&msmgpio 41 0>, /* DATA1 */
892 <&msmgpio 40 0>, /* DATA2 */
893 <&msmgpio 39 0>; /* DATA3 */
894 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
895
896 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
897
898 qcom,msm-bus,name = "sdcc3";
899 qcom,msm-bus,num-cases = <8>;
900 qcom,msm-bus,num-paths = <1>;
901 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
902 <79 512 1600 3200>, /* 400 KB/s*/
903 <79 512 80000 160000>, /* 20 MB/s */
904 <79 512 100000 200000>, /* 25 MB/s */
905 <79 512 200000 400000>, /* 50 MB/s */
906 <79 512 400000 800000>, /* 100 MB/s */
907 <79 512 400000 800000>, /* 200 MB/s */
908 <79 512 2048000 4096000>; /* Max. bandwidth */
909 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
910 100000000 200000000 4294967295>;
911
912 #address-cells = <0>;
913 interrupt-parent = <&sdcc3>;
914 interrupts = <0 1 2>;
915 #interrupt-cells = <1>;
916 interrupt-map-mask = <0xffffffff>;
917 interrupt-map = <0 &intc 0 127 0
918 1 &intc 0 223 0
919 2 &msmgpio 41 0x8>;
920 interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq";
921
922 status = "disabled";
923 };
924
925 sdhc_3: sdhci@f9864900 {
926 compatible = "qcom,sdhci-msm";
927 reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
928 reg-names = "hc_mem", "core_mem";
929
930 qcom,bus-width = <4>;
931 gpios = <&msmgpio 44 0>, /* CLK */
932 <&msmgpio 43 0>, /* CMD */
933 <&msmgpio 42 0>, /* DATA0 */
934 <&msmgpio 41 0>, /* DATA1 */
935 <&msmgpio 40 0>, /* DATA2 */
936 <&msmgpio 39 0>; /* DATA3 */
937 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
938
939 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
940
941 qcom,msm-bus,name = "sdhc3";
942 qcom,msm-bus,num-cases = <8>;
943 qcom,msm-bus,num-paths = <1>;
944 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
945 <79 512 1600 3200>, /* 400 KB/s*/
946 <79 512 80000 160000>, /* 20 MB/s */
947 <79 512 100000 200000>, /* 25 MB/s */
948 <79 512 200000 400000>, /* 50 MB/s */
949 <79 512 400000 800000>, /* 100 MB/s */
950 <79 512 400000 800000>, /* 200 MB/s */
951 <79 512 2048000 4096000>; /* Max. bandwidth */
952 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
953 100000000 200000000 4294967295>;
954
955 #address-cells = <0>;
956 interrupt-parent = <&sdhc_3>;
957 interrupts = <0 1 2>;
958 #interrupt-cells = <1>;
959 interrupt-map-mask = <0xffffffff>;
960 interrupt-map = <0 &intc 0 127 0
961 1 &intc 0 224 0
962 2 &msmgpio 41 0x8>;
963 interrupt-names = "hc_irq", "pwr_irq", "sdiowakeup_irq";
964
965 status = "disabled";
966 };
967
Kenneth Heitkee5804002012-11-15 17:50:07 -0700968 spmi_bus: qcom,spmi@fc4c0000 {
969 cell-index = <0>;
970 compatible = "qcom,spmi-pmic-arb";
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700971 reg-names = "core", "intr", "cnfg";
Kenneth Heitkee5804002012-11-15 17:50:07 -0700972 reg = <0xfc4cf000 0x1000>,
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700973 <0Xfc4cb000 0x1000>,
974 <0Xfc4ca000 0x1000>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700975 /* 190,ee0_krait_hlos_spmi_periph_irq */
976 /* 187,channel_0_krait_hlos_trans_done_irq */
977 interrupts = <0 190 0>, <0 187 0>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700978 qcom,pmic-arb-ee = <0>;
979 qcom,pmic-arb-channel = <0>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700980 };
981
Madan Mohan Koyyalamudi2d7c6f52013-06-19 17:49:45 -0700982 i2c@f9925000 { /* BLSP-1 QUP-3 */
983 cell-index = <2>;
984 compatible = "qcom,i2c-qup";
985 reg = <0xf9925000 0x1000>;
986 #address-cells = <1>;
987 #size-cells = <0>;
988 reg-names = "qup_phys_addr";
989 interrupts = <0 97 0>;
990 interrupt-names = "qup_err_intr";
991 qcom,i2c-bus-freq = <400000>;
992 qcom,i2c-src-freq = <19200000>;
Houston Hoffmanbf7baa92013-11-27 10:53:23 -0800993 qcom,sda-gpio = <&msmgpio 10 0>;
994 qcom,scl-gpio = <&msmgpio 11 0>;
995 qcom,master-id = <86>;
Madan Mohan Koyyalamudi2d7c6f52013-06-19 17:49:45 -0700996 };
Ke Liuee28af42013-11-07 16:40:00 -0800997 i2c_0: i2c@f9926000 { /* BLSP-1 QUP-4 */
Gilad Avidov28e18eb2012-11-21 18:13:25 -0700998 cell-index = <0>;
999 compatible = "qcom,i2c-qup";
1000 reg = <0xf9926000 0x1000>;
1001 #address-cells = <1>;
1002 #size-cells = <0>;
1003 reg-names = "qup_phys_addr";
1004 interrupts = <0 98 0>;
1005 interrupt-names = "qup_err_intr";
1006 qcom,i2c-bus-freq = <100000>;
Ke Liuee28af42013-11-07 16:40:00 -08001007 qcom,i2c-src-freq = <19200000>;
1008 qcom,master-id = <86>;
Gilad Avidov28e18eb2012-11-21 18:13:25 -07001009 };
Patrick Daly99a52ca2012-10-23 12:00:45 -07001010
Amy Maloche41708ba2013-03-03 15:19:27 -08001011 i2c@f9927000 { /* BLSP1 QUP5 */
1012 cell-index = <5>;
1013 compatible = "qcom,i2c-qup";
1014 #address-cells = <1>;
1015 #size-cells = <0>;
1016 reg-names = "qup_phys_addr";
1017 reg = <0xf9927000 0x1000>;
1018 interrupt-names = "qup_err_intr";
1019 interrupts = <0 99 0>;
Amy Maloche118e5d62013-05-01 14:53:35 -07001020 qcom,i2c-bus-freq = <384000>;
Amy Maloche41708ba2013-03-03 15:19:27 -08001021 qcom,i2c-src-freq = <19200000>;
Amy Malochebf346092013-07-31 12:57:28 -07001022 qcom,sda-gpio = <&msmgpio 18 0>;
1023 qcom,scl-gpio = <&msmgpio 19 0>;
Amy Maloche41708ba2013-03-03 15:19:27 -08001024 };
1025
Patrick Daly784c5f62013-07-23 19:33:32 -07001026 qcom,clock-a7@f9011050 {
1027 compatible = "qcom,clock-a7-8226";
Patrick Daly4fd80f42013-06-18 11:09:15 -07001028 reg = <0xf9011050 0x8>;
Patrick Daly784c5f62013-07-23 19:33:32 -07001029 reg-names = "rcg-base";
1030 clock-names = "clk-4", "clk-5";
1031 qcom,speed0-bin-v0 =
1032 < 0 0>,
Ke Liu9102dcf2014-02-10 11:50:28 -08001033 < 384000000 1>,
1034 < 787200000 2>,
1035 <1190400000 3>;
Patrick Daly784c5f62013-07-23 19:33:32 -07001036
1037 cpu-vdd-supply = <&apc_vreg_corner>;
1038 };
1039
Saravana Kannan4bbc9932013-11-24 03:45:00 -08001040 qcom,cpubw {
1041 compatible = "qcom,cpubw";
1042 qcom,cpu-mem-ports = <1 512>;
1043 qcom,bw-tbl =
1044 < 1525 /* 200 MHz */ >,
1045 < 2441 /* 320 MHz */ >,
1046 < 3051 /* 400 MHz */ >,
1047 < 4066 /* 533 MHz */ >;
1048 };
1049
Patrick Daly784c5f62013-07-23 19:33:32 -07001050 qcom,msm-cpufreq@0 {
1051 reg = <0 4>;
1052 compatible = "qcom,msm-cpufreq";
Patrick Daly784c5f62013-07-23 19:33:32 -07001053 qcom,cpufreq-table =
Saravana Kannan4bbc9932013-11-24 03:45:00 -08001054 < 300000 1525 >,
1055 < 384000 1525 >,
1056 < 600000 1525 >,
1057 < 787200 3051 >,
1058 < 998400 4066 >,
1059 < 1094400 4066 >,
1060 < 1190400 4066 >,
1061 < 1305600 4066 >,
1062 < 1344000 4066 >,
1063 < 1401600 4066 >,
1064 < 1497600 4066 >,
Patrick Dalycd999822014-01-17 15:16:52 -08001065 < 1593600 4066 >,
1066 < 1689600 4066 >,
1067 < 1785600 4066 >;
Patrick Daly99a52ca2012-10-23 12:00:45 -07001068 };
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001069
1070 qcom,ocmem@fdd00000 {
1071 compatible = "qcom,msm-ocmem";
1072 reg = <0xfdd00000 0x2000>,
1073 <0xfdd02000 0x2000>,
1074 <0xfe039000 0x400>,
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001075 <0xfec00000 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001076 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
1077 interrupts = <0 76 0 0 77 0>;
1078 interrupt-names = "ocmem_irq", "dm_irq";
1079 qcom,ocmem-num-regions = <0x1>;
1080 qcom,ocmem-num-macros = <0x2>;
1081 qcom,resource-type = <0x706d636f>;
1082 #address-cells = <1>;
1083 #size-cells = <1>;
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001084 ranges = <0x0 0xfec00000 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001085
1086 partition@0 {
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001087 reg = <0x0 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001088 qcom,ocmem-part-name = "graphics";
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001089 qcom,ocmem-part-min = <0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001090 };
1091 };
1092
Patrick Dalyb83f0b02013-01-09 12:36:19 -08001093 qcom,venus@fdce0000 {
1094 compatible = "qcom,pil-venus";
1095 reg = <0xfdce0000 0x4000>,
1096 <0xfdc80000 0x400>;
1097 reg-names = "wrapper_base", "vbif_base";
1098 vdd-supply = <&gdsc_venus>;
1099
1100 qcom,firmware-name = "venus";
1101 };
Patrick Daly1e3bc6c2013-01-09 12:34:25 -08001102
1103 qcom,pronto@fb21b000 {
1104 compatible = "qcom,pil-pronto";
1105 reg = <0xfb21b000 0x3000>,
1106 <0xfc401700 0x4>,
1107 <0xfd485300 0xc>;
1108 reg-names = "pmu_base", "clk_base", "halt_base";
1109 interrupts = <0 149 1>;
David Keitel7184c6e2013-02-11 13:23:04 -08001110 vdd_pronto_pll-supply = <&pm8226_l8>;
Patrick Daly1e3bc6c2013-01-09 12:34:25 -08001111
1112 qcom,firmware-name = "wcnss";
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -07001113
Sameer Thalappil4ba86302013-04-05 17:36:54 -07001114 /* GPIO inputs from wcnss */
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -07001115 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>;
Sameer Thalappilb1e03c02013-04-29 14:52:00 -07001116 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>;
Sameer Thalappil4ba86302013-04-05 17:36:54 -07001117 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>;
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -07001118
1119 /* GPIO output to wcnss */
1120 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>;
Patrick Daly1e3bc6c2013-01-09 12:34:25 -08001121 };
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001122
Sheng Fang0a85b0d2013-03-19 08:16:51 +08001123 qcom,iris-fm {
1124 compatible = "qcom,iris_fm";
1125 };
1126
Patrick Daly4df59842013-01-09 12:31:40 -08001127 qcom,lpass@fe200000 {
1128 compatible = "qcom,pil-q6v5-lpass";
1129 reg = <0xfe200000 0x00100>,
Matt Wagantall015b50af2013-03-05 18:51:16 -08001130 <0xfd485100 0x00010>,
1131 <0xfc4016c0 0x00004>;
1132 reg-names = "qdsp6_base", "halt_base", "restart_reg";
David Keitelf4c8b8b2013-02-25 15:25:27 -08001133 vdd_cx-supply = <&pm8226_s1_corner>;
Patrick Daly4df59842013-01-09 12:31:40 -08001134 interrupts = <0 162 1>;
1135
1136 qcom,firmware-name = "adsp";
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -07001137
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -07001138 /* GPIO inputs from lpass */
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -07001139 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -07001140 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
Ravishankar Sarawadi7edc9d72013-04-09 18:15:03 -07001141 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -07001142
1143 /* GPIO output to lpass */
1144 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
Patrick Daly4df59842013-01-09 12:31:40 -08001145 };
1146
Patrick Daly742337f2013-01-29 12:06:06 -08001147 qcom,mss@fc880000 {
1148 compatible = "qcom,pil-q6v5-mss";
1149 reg = <0xfc880000 0x100>,
1150 <0xfd485000 0x400>,
1151 <0xfc820000 0x020>,
1152 <0xfc401680 0x004>,
Patrick Daly742337f2013-01-29 12:06:06 -08001153 <0xfd485194 0x4>;
1154 reg-names = "qdsp6_base", "halt_base", "rmb_base",
Matt Wagantall724b2bb2013-03-18 14:54:06 -07001155 "restart_reg", "cxrail_bhs_reg";
Patrick Daly742337f2013-01-29 12:06:06 -08001156
1157 interrupts = <0 24 1>;
Patrick Daly742337f2013-01-29 12:06:06 -08001158 vdd_cx-supply = <&pm8226_s1_corner>;
1159 vdd_mx-supply = <&pm8226_l3>;
1160 vdd_pll-supply = <&pm8226_l8>;
1161 qcom,vdd_pll = <1800000>;
1162
1163 qcom,is-loadable;
1164 qcom,firmware-name = "mba";
1165 qcom,pil-self-auth;
Patrick Dalyfe258e22013-03-22 21:02:14 -07001166
Seemanta Duttaa0f253e2013-01-16 18:54:40 -08001167 /* GPIO inputs from mss */
Patrick Dalyfe258e22013-03-22 21:02:14 -07001168 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
Seemanta Dutta9fb72ed2013-01-25 14:22:15 -08001169 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
Seemanta Duttaa0f253e2013-01-16 18:54:40 -08001170 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
Seemanta Dutta0adbbf02013-03-12 17:26:17 -07001171 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>;
Patrick Dalyfe258e22013-03-22 21:02:14 -07001172
1173 /* GPIO output to mss */
1174 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
Patrick Daly742337f2013-01-29 12:06:06 -08001175 };
1176
Neeti Desaif82314e2013-08-09 15:59:54 -07001177 memory_hole: qcom,msm-mem-hole {
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001178 compatible = "qcom,msm-mem-hole";
Neeti Desai183b33d2013-08-09 14:58:38 -07001179 qcom,memblock-remove = <0x08400000 0x4000000
1180 0x0d200000 0x2300000
1181 0x0fa00000 0x500000>; /* Address and Size of Hole */
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001182 };
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001183
1184 tsens: tsens@fc4a8000 {
1185 compatible = "qcom,msm-tsens";
1186 reg = <0xfc4a8000 0x2000>,
Siddartha Mohanadoss6ddc1922013-07-08 17:40:11 -07001187 <0xfc4bc000 0x1000>;
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001188 reg-names = "tsens_physical", "tsens_eeprom_physical";
1189 interrupts = <0 184 0>;
Siddartha Mohanadoss9a4e94a2013-03-06 19:15:59 -08001190 qcom,sensors = <4>;
1191 qcom,slope = <2901 2846 3038 2955>;
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001192 qcom,calib-mode = "fuse_map2";
1193 };
Praveen Chidambarama03bda52013-02-12 21:23:13 -07001194
1195 qcom,msm-thermal {
1196 compatible = "qcom,msm-thermal";
1197 qcom,sensor-id = <0>;
1198 qcom,poll-ms = <250>;
1199 qcom,limit-temp = <60>;
1200 qcom,temp-hysteresis = <10>;
1201 qcom,freq-step = <2>;
Praveen Chidambarama7435ce2013-05-03 12:52:42 -06001202 qcom,freq-control-mask = <0xf>;
Jennifer Liu003438d2013-06-21 11:24:20 -07001203 qcom,core-limit-temp = <80>;
1204 qcom,core-temp-hysteresis = <10>;
1205 qcom,core-control-mask = <0xe>;
Jennifer Liuf2515e32013-09-24 10:28:22 -07001206 qcom,hotplug-temp = <110>;
1207 qcom,hotplug-temp-hysteresis = <20>;
1208 qcom,cpu-sensors = "tsens_tz_sensor5", "tsens_tz_sensor5",
1209 "tsens_tz_sensor2", "tsens_tz_sensor2";
Jennifer Liu53bb5642013-06-26 10:42:42 -07001210 qcom,vdd-restriction-temp = <5>;
1211 qcom,vdd-restriction-temp-hysteresis = <10>;
1212 vdd-dig-supply = <&pm8226_s1_floor_corner>;
1213
1214 qcom,vdd-dig-rstr{
1215 qcom,vdd-rstr-reg = "vdd-dig";
1216 qcom,levels = <5 7 7>; /* Nominal, Super Turbo, Super Turbo */
1217 qcom,min-level = <1>; /* No Request */
1218 };
1219
1220 qcom,vdd-apps-rstr{
1221 qcom,vdd-rstr-reg = "vdd-apps";
1222 qcom,levels = <600000 787200 998400>;
1223 qcom,freq-req;
1224 };
Praveen Chidambarama03bda52013-02-12 21:23:13 -07001225 };
1226
Gilad Avidovd59217c2013-02-01 13:45:59 -07001227 spi_0: spi@f9923000 { /* BLSP1 QUP1 */
1228 compatible = "qcom,spi-qup-v2";
1229 #address-cells = <1>;
1230 #size-cells = <0>;
1231 reg-names = "spi_physical", "spi_bam_physical";
1232 reg = <0xf9923000 0x1000>,
1233 <0xf9904000 0xF000>;
1234 interrupt-names = "spi_irq", "spi_bam_irq";
1235 interrupts = <0 95 0>, <0 238 0>;
1236 spi-max-frequency = <19200000>;
1237
Gilad Avidovcff4ca72013-07-01 17:35:36 -06001238 qcom,gpio-mosi = <&msmgpio 0 0>;
1239 qcom,gpio-miso = <&msmgpio 1 0>;
1240 qcom,gpio-clk = <&msmgpio 3 0>;
1241 qcom,gpio-cs0 = <&msmgpio 22 0>;
Gilad Avidovd59217c2013-02-01 13:45:59 -07001242
1243 qcom,infinite-mode = <0>;
1244 qcom,use-bam;
1245 qcom,ver-reg-exists;
1246 qcom,bam-consumer-pipe-index = <12>;
1247 qcom,bam-producer-pipe-index = <13>;
Gilad Avidovcff4ca72013-07-01 17:35:36 -06001248 qcom,master-id = <86>;
Gilad Avidovd59217c2013-02-01 13:45:59 -07001249 };
1250
Jeff Hugo72e10912013-03-05 11:17:38 -07001251 qcom,bam_dmux@fc834000 {
1252 compatible = "qcom,bam_dmux";
1253 reg = <0xfc834000 0x7000>;
1254 interrupts = <0 29 1>;
1255 };
Pushkar Joshi4f3aa0b2013-03-07 22:44:04 -08001256
1257 qcom,msm-rtb {
1258 compatible = "qcom,msm-rtb";
1259 qcom,memory-reservation-type = "EBI1";
1260 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
1261 };
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001262
Hariprasad Dhalinarasimhab548ee52013-03-11 19:06:30 -07001263 qcom,msm-rng@f9bff000 {
1264 compatible = "qcom,msm-rng";
1265 reg = <0xf9bff000 0x200>;
1266 qcom,msm-rng-iface-clk;
Hariprasad Dhalinarasimhae799fb72013-06-03 13:51:38 -07001267 qcom,msm-bus,name = "msm-rng-noc";
1268 qcom,msm-bus,num-cases = <2>;
1269 qcom,msm-bus,num-paths = <1>;
1270 qcom,msm-bus,vectors-KBps =
Sana Venkat Rajufb66bf12014-02-10 14:28:49 +05301271 <54 618 0 0>,
1272 <54 618 0 800>;
Hariprasad Dhalinarasimhab548ee52013-03-11 19:06:30 -07001273 };
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001274
Hariprasad Dhalinarasimha4ba4d802013-03-21 13:03:09 -07001275 qcom,tz-log@fe805720 {
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001276 compatible = "qcom,tz-log";
Hariprasad Dhalinarasimha4ba4d802013-03-21 13:03:09 -07001277 reg = <0x0fe805720 0x1000>;
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001278 };
Pushkar Joshi85a53192013-03-11 11:15:15 -07001279
Pratik Patelf2945ef2013-06-13 23:52:05 -07001280 jtag_fuse: jtagfuse@fc4be024 {
1281 compatible = "qcom,jtag-fuse";
1282 reg = <0xfc4be024 0x8>;
1283 reg-names = "fuse-base";
1284 };
1285
Pushkar Joshi85a53192013-03-11 11:15:15 -07001286 jtag_mm0: jtagmm@fc33c000 {
1287 compatible = "qcom,jtag-mm";
1288 reg = <0xfc33c000 0x1000>,
1289 <0xfc330000 0x1000>;
1290 reg-names = "etm-base","debug-base";
1291 };
1292
1293 jtag_mm1: jtagmm@fc33d000 {
1294 compatible = "qcom,jtag-mm";
1295 reg = <0xfc33d000 0x1000>,
1296 <0xfc332000 0x1000>;
1297 reg-names = "etm-base","debug-base";
1298 };
1299
1300 jtag_mm2: jtagmm@fc33e000 {
1301 compatible = "qcom,jtag-mm";
1302 reg = <0xfc33e000 0x1000>,
1303 <0xfc334000 0x1000>;
1304 reg-names = "etm-base","debug-base";
1305 };
1306
1307 jtag_mm3: jtagmm@fc33f000 {
1308 compatible = "qcom,jtag-mm";
1309 reg = <0xfc33f000 0x1000>,
1310 <0xfc336000 0x1000>;
1311 reg-names = "etm-base","debug-base";
1312 };
Jeff Hugo2be6bb022013-03-11 10:17:34 -06001313
1314 qcom,ipc-spinlock@fd484000 {
1315 compatible = "qcom,ipc-spinlock-sfpb";
1316 reg = <0xfd484000 0x400>;
1317 qcom,num-locks = <8>;
1318 };
Hariprasad Dhalinarasimha805ea4d2013-03-14 11:16:12 -07001319
1320 qcom,qseecom@d980000 {
1321 compatible = "qcom,qseecom";
1322 reg = <0xd980000 0x256000>;
1323 reg-names = "secapp-region";
1324 qcom,disk-encrypt-pipe-pair = <2>;
1325 qcom,hlos-ce-hw-instance = <0>;
1326 qcom,qsee-ce-hw-instance = <0>;
Zhen Kongb231caa2014-01-08 09:39:02 -08001327 qcom,support-bus-scaling;
Hariprasad Dhalinarasimha805ea4d2013-03-14 11:16:12 -07001328 qcom,msm-bus,name = "qseecom-noc";
1329 qcom,msm-bus,num-cases = <4>;
1330 qcom,msm-bus,active-only = <0>;
1331 qcom,msm-bus,num-paths = <1>;
1332 qcom,msm-bus,vectors-KBps =
1333 <55 512 0 0>,
Zhen Kongb231caa2014-01-08 09:39:02 -08001334 <55 512 0 0>,
1335 <55 512 120000 1200000>,
1336 <55 512 393600 3936000>;
Hariprasad Dhalinarasimha805ea4d2013-03-14 11:16:12 -07001337 };
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001338
1339 qcom,qcrypto@fd404000 {
1340 compatible = "qcom,qcrypto";
1341 reg = <0xfd400000 0x20000>,
1342 <0xfd404000 0x8000>;
1343 reg-names = "crypto-base","crypto-bam-base";
1344 interrupts = <0 207 0>;
1345 qcom,bam-pipe-pair = <2>;
1346 qcom,ce-hw-instance = <0>;
1347 qcom,ce-hw-shared;
1348 qcom,msm-bus,name = "qcrypto-noc";
1349 qcom,msm-bus,num-cases = <2>;
1350 qcom,msm-bus,active-only = <0>;
1351 qcom,msm-bus,num-paths = <1>;
1352 qcom,msm-bus,vectors-KBps =
Hariprasad Dhalinarasimhaa2d749e2013-05-14 13:00:06 -07001353 <55 512 0 0>,
1354 <55 512 3936000 393600>;
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001355 };
1356
1357 qcom,qcedev@fd400000 {
1358 compatible = "qcom,qcedev";
1359 reg = <0xfd400000 0x20000>,
1360 <0xfd404000 0x8000>;
1361 reg-names = "crypto-base","crypto-bam-base";
1362 interrupts = <0 207 0>;
1363 qcom,bam-pipe-pair = <1>;
1364 qcom,ce-hw-instance = <0>;
1365 qcom,ce-hw-shared;
1366 qcom,msm-bus,name = "qcedev-noc";
1367 qcom,msm-bus,num-cases = <2>;
1368 qcom,msm-bus,active-only = <0>;
1369 qcom,msm-bus,num-paths = <1>;
1370 qcom,msm-bus,vectors-KBps =
Hariprasad Dhalinarasimhaa2d749e2013-05-14 13:00:06 -07001371 <55 512 0 0>,
1372 <55 512 3936000 393600>;
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001373 };
Neil Leeder45fb9f62013-06-04 10:46:41 -04001374
1375 cpu-pmu {
1376 compatible = "arm,cortex-a7-pmu";
1377 qcom,irq-is-percpu;
1378 interrupts = <1 7 0xf00>;
1379 };
Neil Leeder763bab52014-04-01 16:32:53 -04001380
1381 bimc_sharedmem {
1382 compatible = "qcom,sharedmem-uio";
1383 reg = <0xfc380000 0x00100000>;
1384 reg-names = "bimc";
1385 };
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -07001386};
David Collins37ddb972012-10-17 15:00:26 -07001387
Patrick Dalye8977aa2012-11-06 15:25:58 -08001388&gdsc_venus {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001389 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001390 status = "ok";
1391};
1392
1393&gdsc_mdss {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001394 qcom,clock-names = "core_clk", "lut_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001395 status = "ok";
1396};
1397
1398&gdsc_jpeg {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001399 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001400 status = "ok";
1401};
1402
1403&gdsc_vfe {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001404 qcom,clock-names = "core_clk", "csi_clk", "cpp_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001405 status = "ok";
1406};
1407
1408&gdsc_oxili_cx {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001409 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001410 status = "ok";
1411};
1412
1413&gdsc_usb_hsic {
1414 status = "ok";
1415};
1416
David Keitel376b2682013-03-05 18:40:01 -08001417/include/ "msm-pm8226-rpm-regulator.dtsi"
Kenneth Heitkebea6ca22013-02-07 17:23:21 -07001418/include/ "msm-pm8226.dtsi"
David Keitel7184c6e2013-02-11 13:23:04 -08001419/include/ "msm8226-regulator.dtsi"
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001420
1421&pm8226_vadc {
1422 chan@0 {
1423 label = "usb_in";
1424 reg = <0>;
1425 qcom,decimation = <0>;
1426 qcom,pre-div-channel-scaling = <4>;
1427 qcom,calibration-type = "absolute";
1428 qcom,scale-function = <0>;
1429 qcom,hw-settle-time = <0>;
1430 qcom,fast-avg-setup = <0>;
1431 };
1432
1433 chan@2 {
1434 label = "vchg_sns";
1435 reg = <2>;
1436 qcom,decimation = <0>;
1437 qcom,pre-div-channel-scaling = <3>;
1438 qcom,calibration-type = "absolute";
1439 qcom,scale-function = <0>;
1440 qcom,hw-settle-time = <0>;
1441 qcom,fast-avg-setup = <0>;
1442 };
1443
1444 chan@5 {
1445 label = "vcoin";
1446 reg = <5>;
1447 qcom,decimation = <0>;
1448 qcom,pre-div-channel-scaling = <1>;
1449 qcom,calibration-type = "absolute";
1450 qcom,scale-function = <0>;
1451 qcom,hw-settle-time = <0>;
1452 qcom,fast-avg-setup = <0>;
1453 };
1454
1455 chan@6 {
1456 label = "vbat_sns";
1457 reg = <6>;
1458 qcom,decimation = <0>;
1459 qcom,pre-div-channel-scaling = <1>;
1460 qcom,calibration-type = "absolute";
1461 qcom,scale-function = <0>;
1462 qcom,hw-settle-time = <0>;
1463 qcom,fast-avg-setup = <0>;
1464 };
1465
1466 chan@7 {
1467 label = "vph_pwr";
1468 reg = <7>;
1469 qcom,decimation = <0>;
1470 qcom,pre-div-channel-scaling = <1>;
1471 qcom,calibration-type = "absolute";
1472 qcom,scale-function = <0>;
1473 qcom,hw-settle-time = <0>;
1474 qcom,fast-avg-setup = <0>;
1475 };
1476
1477 chan@30 {
1478 label = "batt_therm";
1479 reg = <0x30>;
1480 qcom,decimation = <0>;
1481 qcom,pre-div-channel-scaling = <0>;
1482 qcom,calibration-type = "ratiometric";
1483 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -08001484 qcom,hw-settle-time = <2>;
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001485 qcom,fast-avg-setup = <0>;
1486 };
1487
1488 chan@31 {
1489 label = "batt_id";
1490 reg = <0x31>;
1491 qcom,decimation = <0>;
1492 qcom,pre-div-channel-scaling = <0>;
1493 qcom,calibration-type = "ratiometric";
1494 qcom,scale-function = <0>;
1495 qcom,hw-settle-time = <2>;
1496 qcom,fast-avg-setup = <0>;
1497 };
1498
1499 chan@b2 {
1500 label = "xo_therm_pu2";
1501 reg = <0xb2>;
1502 qcom,decimation = <0>;
1503 qcom,pre-div-channel-scaling = <0>;
1504 qcom,calibration-type = "ratiometric";
1505 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -08001506 qcom,hw-settle-time = <2>;
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001507 qcom,fast-avg-setup = <0>;
1508 };
David Keitelc51a7e52013-03-02 00:14:48 -08001509
Siddartha Mohanadoss3cb76152013-04-12 16:17:02 -07001510 chan@39 {
1511 label = "usb_id_nopull";
1512 reg = <0x39>;
1513 qcom,decimation = <0>;
1514 qcom,pre-div-channel-scaling = <0>;
1515 qcom,calibration-type = "ratiometric";
1516 qcom,scale-function = <0>;
1517 qcom,hw-settle-time = <2>;
1518 qcom,fast-avg-setup = <0>;
1519 };
David Keitelc51a7e52013-03-02 00:14:48 -08001520};
1521
Siddartha Mohanadoss8aea3172013-05-09 11:49:37 -07001522&pm8226_adc_tm {
1523 /* Channel Node */
1524 chan@30 {
1525 label = "batt_therm";
1526 reg = <0x30>;
1527 qcom,decimation = <0>;
1528 qcom,pre-div-channel-scaling = <0>;
1529 qcom,calibration-type = "ratiometric";
1530 qcom,scale-function = <1>;
1531 qcom,hw-settle-time = <2>;
1532 qcom,fast-avg-setup = <3>;
1533 qcom,btm-channel-number = <0x48>;
Siddartha Mohanadoss58ffe0e2014-02-11 17:40:13 -08001534 qcom,meas-interval-timer-idx = <2>;
Siddartha Mohanadoss8aea3172013-05-09 11:49:37 -07001535 };
1536
1537 chan@8 {
1538 label = "die_temp";
1539 reg = <8>;
1540 qcom,decimation = <0>;
1541 qcom,pre-div-channel-scaling = <0>;
1542 qcom,calibration-type = "absolute";
1543 qcom,scale-function = <3>;
1544 qcom,hw-settle-time = <0>;
1545 qcom,fast-avg-setup = <3>;
1546 qcom,btm-channel-number = <0x68>;
1547 };
1548
1549 chan@6 {
1550 label = "vbat_sns";
1551 reg = <6>;
1552 qcom,decimation = <0>;
1553 qcom,pre-div-channel-scaling = <1>;
1554 qcom,calibration-type = "absolute";
1555 qcom,scale-function = <0>;
1556 qcom,hw-settle-time = <0>;
1557 qcom,fast-avg-setup = <3>;
1558 qcom,btm-channel-number = <0x70>;
1559 };
1560
1561 chan@14 {
1562 label = "pa_therm0";
1563 reg = <0x14>;
1564 qcom,decimation = <0>;
1565 qcom,pre-div-channel-scaling = <0>;
1566 qcom,calibration-type = "ratiometric";
1567 qcom,scale-function = <2>;
1568 qcom,hw-settle-time = <2>;
1569 qcom,fast-avg-setup = <0>;
1570 qcom,btm-channel-number = <0x78>;
1571 qcom,thermal-node;
1572 };
1573
1574 chan@17 {
1575 label = "pa_therm1";
1576 reg = <0x17>;
1577 qcom,decimation = <0>;
1578 qcom,pre-div-channel-scaling = <0>;
1579 qcom,calibration-type = "ratiometric";
1580 qcom,scale-function = <2>;
1581 qcom,hw-settle-time = <2>;
1582 qcom,fast-avg-setup = <0>;
1583 qcom,btm-channel-number = <0x80>;
1584 qcom,thermal-node;
1585 };
1586};
1587
David Keitelc51a7e52013-03-02 00:14:48 -08001588&pm8226_chg {
1589 status = "ok";
1590
David Keitele89d4782013-03-27 11:29:59 -07001591 qcom,chgr@1000 {
David Keitelc51a7e52013-03-02 00:14:48 -08001592 status = "ok";
1593 };
1594
David Keitele89d4782013-03-27 11:29:59 -07001595 qcom,buck@1100 {
David Keitelc51a7e52013-03-02 00:14:48 -08001596 status = "ok";
1597 };
1598
David Keitele89d4782013-03-27 11:29:59 -07001599 qcom,bat-if@1200 {
Fenglin Wu009098a2013-03-08 15:50:51 -08001600 status = "ok";
1601 };
1602
David Keitele89d4782013-03-27 11:29:59 -07001603 qcom,usb-chgpth@1300 {
David Keitelc51a7e52013-03-02 00:14:48 -08001604 status = "ok";
1605 };
1606
David Keitele89d4782013-03-27 11:29:59 -07001607 qcom,boost@1500 {
David Keitelc51a7e52013-03-02 00:14:48 -08001608 status = "ok";
1609 };
1610
1611 qcom,chg-misc@1600 {
1612 status = "ok";
1613 };
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001614};