blob: ceba86b8c8531b58d040d383c36680ddb0510447 [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";
Pavankumar Kondeticca5da82014-04-01 16:43:11 +0530303 qcom,android-usb-uicc-nluns = <1>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700304 };
305
Pavankumar Kondetifc6985d2014-02-12 09:48:58 +0530306 smsc_hub: hsic_hub {
Pavankumar Kondetic4cea362013-09-24 15:48:20 +0530307 status = "disabled";
Pavankumar Kondetifc6985d2014-02-12 09:48:58 +0530308 compatible = "qcom,hsic-smsc-hub";
309 smsc,model-id = <0>;
310 #address-cells = <1>;
311 #size-cells = <1>;
312 ranges;
Pavankumar Kondetic4cea362013-09-24 15:48:20 +0530313
Pavankumar Kondetifc6985d2014-02-12 09:48:58 +0530314 hsic_host: hsic@f9a00000 {
315 compatible = "qcom,hsic-host";
316 reg = <0xf9a00000 0x400>;
317 #address-cells = <0>;
318 interrupt-parent = <&hsic_host>;
319 interrupts = <0 1 2>;
320 #interrupt-cells = <1>;
321 interrupt-map-mask = <0xffffffff>;
322 interrupt-map = <0 &intc 0 136 0
323 1 &intc 0 148 0
324 2 &msmgpio 115 0x8>;
325 interrupt-names = "core_irq", "async_irq", "wakeup";
326 hsic_vdd_dig-supply = <&pm8226_s1_corner>;
327 HSIC_GDSC-supply = <&gdsc_usb_hsic>;
328 hsic,strobe-gpio = <&msmgpio 115 0x00>;
329 hsic,data-gpio = <&msmgpio 116 0x00>;
330 hsic,ignore-cal-pad-config;
331 hsic,strobe-pad-offset = <0x2050>;
332 hsic,data-pad-offset = <0x2054>;
333 qcom,phy-susp-sof-workaround;
334 hsic,vdd-voltage-level = <1 5 7>;
335
336 qcom,msm-bus,name = "hsic";
337 qcom,msm-bus,num-cases = <2>;
338 qcom,msm-bus,num-paths = <1>;
339 qcom,msm-bus,vectors-KBps =
Pavankumar Kondetic4cea362013-09-24 15:48:20 +0530340 <85 512 0 0>,
341 <85 512 40000 160000>;
Pavankumar Kondetifc6985d2014-02-12 09:48:58 +0530342 };
Pavankumar Kondetic4cea362013-09-24 15:48:20 +0530343 };
344
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800345 wcd9xxx_intc: wcd9xxx-irq {
346 compatible = "qcom,wcd9xxx-irq";
347 interrupt-controller;
348 #interrupt-cells = <1>;
349 interrupt-parent = <&msmgpio>;
350 interrupts = <68 0>;
351 interrupt-names = "cdc-int";
352 };
353
Phani Kumar Uppalapati5f285bf2013-05-05 23:36:57 -0700354 slim_msm: slim@fe12f000 {
Bhalchandra Gajarefb785972012-12-06 19:25:10 -0800355 cell-index = <1>;
356 compatible = "qcom,slim-ngd";
357 reg = <0xfe12f000 0x35000>,
358 <0xfe104000 0x20000>;
359 reg-names = "slimbus_physical", "slimbus_bam_physical";
360 interrupts = <0 163 0>, <0 164 0>;
361 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800362
363 tapan_codec {
364 compatible = "qcom,tapan-slim-pgd";
365 elemental-addr = [00 01 E0 00 17 02];
366
367 interrupt-parent = <&wcd9xxx_intc>;
368 interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
369 17 18 19 20 21 22 23 24 25 26 27 28>;
370 qcom,cdc-reset-gpio = <&msmgpio 72 0>;
371
David Keitel7184c6e2013-02-11 13:23:04 -0800372 cdc-vdd-buck-supply = <&pm8226_s4>;
Bhalchandra Gajare482ef672013-06-20 15:28:59 -0700373 qcom,cdc-vdd-buck-voltage = <1800000 2150000>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800374 qcom,cdc-vdd-buck-current = <650000>;
375
David Keitel7184c6e2013-02-11 13:23:04 -0800376 cdc-vdd-h-supply = <&pm8226_l6>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800377 qcom,cdc-vdd-h-voltage = <1800000 1800000>;
378 qcom,cdc-vdd-h-current = <25000>;
379
David Keitel7184c6e2013-02-11 13:23:04 -0800380 cdc-vdd-px-supply = <&pm8226_l6>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800381 qcom,cdc-vdd-px-voltage = <1800000 1800000>;
382 qcom,cdc-vdd-px-current = <25000>;
383
David Keitel7184c6e2013-02-11 13:23:04 -0800384 cdc-vdd-cx-supply = <&pm8226_l4>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800385 qcom,cdc-vdd-cx-voltage = <1200000 1200000>;
Bhalchandra Gajare4962c6e2013-08-15 13:02:49 -0700386 qcom,cdc-vdd-cx-current = <2000>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800387
Bhalchandra Gajare075e9c52013-07-03 14:23:48 -0700388 cdc-vdd-buckhelper-supply = <&pm8226_l25>;
389 qcom,cdc-vdd-buckhelper-voltage = <1775000 2125000>;
390 qcom,cdc-vdd-buckhelper-current = <10000>;
391
392 qcom,cdc-static-supplies = "cdc-vdd-h",
Joonwoo Park73239212013-04-10 15:11:06 -0700393 "cdc-vdd-px",
Joonwoo Park73239212013-04-10 15:11:06 -0700394 "cdc-vdd-cx";
395
Bhalchandra Gajare075e9c52013-07-03 14:23:48 -0700396 qcom,cdc-cp-supplies = "cdc-vdd-buck",
397 "cdc-vdd-buckhelper";
398
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800399 qcom,cdc-micbias-ldoh-v = <0x3>;
400 qcom,cdc-micbias-cfilt1-mv = <1800>;
Phani Kumar Uppalapatiab0d98a2013-05-21 23:04:15 -0700401 qcom,cdc-micbias-cfilt2-mv = <2700>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800402 qcom,cdc-micbias-cfilt3-mv = <1800>;
403
404 qcom,cdc-micbias1-cfilt-sel = <0x0>;
405 qcom,cdc-micbias2-cfilt-sel = <0x1>;
406 qcom,cdc-micbias3-cfilt-sel = <0x2>;
407
408 qcom,cdc-mclk-clk-rate = <9600000>;
409 qcom,cdc-slim-ifd = "tapan-slim-ifd";
410 qcom,cdc-slim-ifd-elemental-addr = [00 00 E0 00 17 02];
411 };
Bhalchandra Gajarefb785972012-12-06 19:25:10 -0800412 };
413
Bhalchandra Gajaree1915b82012-12-12 17:28:39 -0800414 qcom,msm-adsp-loader {
415 compatible = "qcom,adsp-loader";
416 qcom,adsp-state = <0>;
417 };
418
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800419 sound {
420 compatible = "qcom,msm8226-audio-tapan";
421 qcom,model = "msm8226-tapan-snd-card";
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800422 qcom,tapan-mclk-clk-freq = <9600000>;
Banajit Goswamif9921532013-05-10 11:24:52 -0700423 qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>;
424 qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>;
425 qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>;
426 qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>;
427 qcom,prim-auxpcm-gpio-set = "prim-gpio-prim";
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800428 };
429
Phani Kumar Uppalapatic2f9c222013-05-09 19:17:58 -0700430 sound-9302 {
431 compatible = "qcom,msm8226-audio-tapan";
432 qcom,model = "msm8226-tapan9302-snd-card";
433 qcom,tapan-mclk-clk-freq = <9600000>;
434 qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>;
435 qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>;
436 qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>;
437 qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>;
438 qcom,prim-auxpcm-gpio-set = "prim-gpio-prim";
439 qcom,tapan-codec-9302;
440 };
441
Krishnankutty Kolathappilly01a3f9b2013-12-12 17:00:15 -0800442 qti,msm-pcm {
443 compatible = "qti,msm-pcm-dsp";
444 qti,msm-pcm-dsp-id = <0>;
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800445 };
446
447 qcom,msm-pcm-routing {
448 compatible = "qcom,msm-pcm-routing";
449 };
450
Krishnankutty Kolathappilly01a3f9b2013-12-12 17:00:15 -0800451 qti,msm-pcm-low-latency {
452 compatible = "qti,msm-pcm-dsp";
453 qti,msm-pcm-dsp-id = <1>;
454 qti,msm-pcm-low-latency;
Krishnankutty Kolathappilly22dc25b2013-11-25 12:11:07 -0800455 qti,latency-level = "regular";
Bhalchandra Gajare18468a62013-03-11 18:32:49 -0700456 };
457
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800458 qcom,msm-pcm-lpa {
459 compatible = "qcom,msm-pcm-lpa";
460 };
461
462 qcom,msm-compr-dsp {
463 compatible = "qcom,msm-compr-dsp";
464 };
465
Haynes Mathew George1ccabc52013-09-17 14:36:48 -0700466 qcom,msm-compress-dsp {
467 compatible = "qcom,msm-compress-dsp";
468 };
469
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800470 qcom,msm-voip-dsp {
471 compatible = "qcom,msm-voip-dsp";
472 };
473
474 qcom,msm-pcm-voice {
475 compatible = "qcom,msm-pcm-voice";
476 };
477
478 qcom,msm-stub-codec {
479 compatible = "qcom,msm-stub-codec";
480 };
481
482 qcom,msm-dai-fe {
483 compatible = "qcom,msm-dai-fe";
484 };
485
486 qcom,msm-pcm-afe {
487 compatible = "qcom,msm-pcm-afe";
488 };
489
490 qcom,msm-dai-q6-hdmi {
491 compatible = "qcom,msm-dai-q6-hdmi";
492 qcom,msm-dai-q6-dev-id = <8>;
493 };
494
Venkat Sudhir178d1ae2013-09-11 14:05:09 -0700495 qcom,msm-lsm-client {
496 compatible = "qcom,msm-lsm-client";
497 };
498
Satya Krishna Pindiproli1da8ba02014-02-19 14:33:37 +0530499 qti,msm-pcm-loopback {
500 compatible = "qti,msm-pcm-loopback";
501 };
502
Vicky Sehrawat3174aee2014-02-14 14:36:05 -0800503 qcom,msm-voice-svc {
504 compatible = "qcom,msm-voice-svc";
505 };
506
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800507 qcom,msm-dai-q6 {
508 compatible = "qcom,msm-dai-q6";
509 qcom,msm-dai-q6-sb-0-rx {
510 compatible = "qcom,msm-dai-q6-dev";
511 qcom,msm-dai-q6-dev-id = <16384>;
512 };
513
514 qcom,msm-dai-q6-sb-0-tx {
515 compatible = "qcom,msm-dai-q6-dev";
516 qcom,msm-dai-q6-dev-id = <16385>;
517 };
518
519 qcom,msm-dai-q6-sb-1-rx {
520 compatible = "qcom,msm-dai-q6-dev";
521 qcom,msm-dai-q6-dev-id = <16386>;
522 };
523
524 qcom,msm-dai-q6-sb-1-tx {
525 compatible = "qcom,msm-dai-q6-dev";
526 qcom,msm-dai-q6-dev-id = <16387>;
527 };
528
529 qcom,msm-dai-q6-sb-3-rx {
530 compatible = "qcom,msm-dai-q6-dev";
531 qcom,msm-dai-q6-dev-id = <16390>;
532 };
533
534 qcom,msm-dai-q6-sb-3-tx {
535 compatible = "qcom,msm-dai-q6-dev";
536 qcom,msm-dai-q6-dev-id = <16391>;
537 };
538
539 qcom,msm-dai-q6-sb-4-rx {
540 compatible = "qcom,msm-dai-q6-dev";
541 qcom,msm-dai-q6-dev-id = <16392>;
542 };
543
544 qcom,msm-dai-q6-sb-4-tx {
545 compatible = "qcom,msm-dai-q6-dev";
546 qcom,msm-dai-q6-dev-id = <16393>;
547 };
548
Venkat Sudhir178d1ae2013-09-11 14:05:09 -0700549 qcom,msm-dai-q6-sb-5-tx {
550 compatible = "qcom,msm-dai-q6-dev";
551 qcom,msm-dai-q6-dev-id = <16395>;
552 };
553
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800554 qcom,msm-dai-q6-bt-sco-rx {
555 compatible = "qcom,msm-dai-q6-dev";
556 qcom,msm-dai-q6-dev-id = <12288>;
557 };
558
559 qcom,msm-dai-q6-bt-sco-tx {
560 compatible = "qcom,msm-dai-q6-dev";
561 qcom,msm-dai-q6-dev-id = <12289>;
562 };
563
564 qcom,msm-dai-q6-int-fm-rx {
565 compatible = "qcom,msm-dai-q6-dev";
566 qcom,msm-dai-q6-dev-id = <12292>;
567 };
568
569 qcom,msm-dai-q6-int-fm-tx {
570 compatible = "qcom,msm-dai-q6-dev";
571 qcom,msm-dai-q6-dev-id = <12293>;
572 };
573
574 qcom,msm-dai-q6-be-afe-pcm-rx {
575 compatible = "qcom,msm-dai-q6-dev";
576 qcom,msm-dai-q6-dev-id = <224>;
577 };
578
579 qcom,msm-dai-q6-be-afe-pcm-tx {
580 compatible = "qcom,msm-dai-q6-dev";
581 qcom,msm-dai-q6-dev-id = <225>;
582 };
583
584 qcom,msm-dai-q6-afe-proxy-rx {
585 compatible = "qcom,msm-dai-q6-dev";
586 qcom,msm-dai-q6-dev-id = <241>;
587 };
588
589 qcom,msm-dai-q6-afe-proxy-tx {
590 compatible = "qcom,msm-dai-q6-dev";
591 qcom,msm-dai-q6-dev-id = <240>;
592 };
Vicky Sehrawat2ef554c2013-03-12 17:24:20 -0700593
594 qcom,msm-dai-q6-incall-record-rx {
595 compatible = "qcom,msm-dai-q6-dev";
596 qcom,msm-dai-q6-dev-id = <32771>;
597 };
598
599 qcom,msm-dai-q6-incall-record-tx {
600 compatible = "qcom,msm-dai-q6-dev";
601 qcom,msm-dai-q6-dev-id = <32772>;
602 };
603
604 qcom,msm-dai-q6-incall-music-rx {
605 compatible = "qcom,msm-dai-q6-dev";
606 qcom,msm-dai-q6-dev-id = <32773>;
607 };
Vicky Sehrawat5ac670f2013-05-17 16:32:13 -0700608
609 qcom,msm-dai-q6-incall-music-2-rx {
610 compatible = "qcom,msm-dai-q6-dev";
611 qcom,msm-dai-q6-dev-id = <32770>;
612 };
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800613 };
614
615 qcom,msm-pcm-hostless {
616 compatible = "qcom,msm-pcm-hostless";
617 };
618
Patrick Laiafd82122013-06-15 22:50:04 -0700619 qcom,msm-pri-auxpcm {
620 compatible = "qcom,msm-auxpcm-dev";
Banajit Goswamif9921532013-05-10 11:24:52 -0700621 qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
622 qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
623 qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
624 qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
625 qcom,msm-cpudai-auxpcm-slot = <1>, <1>;
626 qcom,msm-cpudai-auxpcm-data = <0>, <0>;
627 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
Patrick Laiafd82122013-06-15 22:50:04 -0700628 qcom,msm-auxpcm-interface = "primary";
Banajit Goswamif9921532013-05-10 11:24:52 -0700629 };
630
Sheng Fangb6a06482013-03-20 13:21:36 +0800631 qcom,wcnss-wlan@fb000000 {
632 compatible = "qcom,wcnss_wlan";
Sameer Thalappil58281ca2013-04-10 18:50:18 -0700633 reg = <0xfb000000 0x280000>,
634 <0xf9011008 0x04>;
635 reg-names = "wcnss_mmio", "wcnss_fiq";
Sheng Fangb6a06482013-03-20 13:21:36 +0800636 interrupts = <0 145 0 0 146 0>;
637 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
638
639 qcom,pronto-vddmx-supply = <&pm8226_l3>;
640 qcom,pronto-vddcx-supply = <&pm8226_s1>;
641 qcom,pronto-vddpx-supply = <&pm8226_l6>;
642 qcom,iris-vddxo-supply = <&pm8226_l10>;
643 qcom,iris-vddrfa-supply = <&pm8226_l24>;
644 qcom,iris-vddpa-supply = <&pm8226_l16>;
645 qcom,iris-vdddig-supply = <&pm8226_l24>;
646
647 gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>;
Sameer Thalappil820f87b2013-05-21 20:40:54 -0700648 qcom,has-pronto-hw;
649 qcom,has-autodetect-xo;
Sameer Thalappilf6fb1892013-09-06 17:33:30 -0700650 qcom,wcnss-adc_tm = <&pm8226_adc_tm>;
Sheng Fangb6a06482013-03-20 13:21:36 +0800651 };
rockiec44833a32013-03-21 02:06:14 +0800652
653 qcom,msm-adsp-sensors {
654 compatible = "qcom,msm-adsp-sensors";
655 qcom,src-id = <11>;
656 qcom,dst-id = <604>;
657 qcom,ab = <32505856>;
658 qcom,ib = <32505856>;
659 };
660
Mitchel Humpherys5fe1c9b2012-10-09 17:30:19 -0700661 qcom,wdt@f9017000 {
662 compatible = "qcom,msm-watchdog";
663 reg = <0xf9017000 0x1000>;
664 interrupts = <0 3 0>, <0 4 0>;
665 qcom,bark-time = <11000>;
666 qcom,pet-time = <10000>;
Mitchel Humpherys1be23802012-11-16 15:52:32 -0800667 qcom,ipi-ping;
Mitchel Humpherys5fe1c9b2012-10-09 17:30:19 -0700668 };
669
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600670 qcom,smem@fa00000 {
671 compatible = "qcom,smem";
Jeff Hugo41e5c2f2013-04-26 11:38:32 -0600672 reg = <0xfa00000 0x100000>,
Stepan Moskovchenkod6ee8262013-02-06 11:26:05 -0800673 <0xf9011000 0x1000>,
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600674 <0xfc428000 0x4000>;
675 reg-names = "smem", "irq-reg-base", "aux-mem1";
676
677 qcom,smd-modem {
678 compatible = "qcom,smd";
679 qcom,smd-edge = <0>;
680 qcom,smd-irq-offset = <0x8>;
681 qcom,smd-irq-bitmask = <0x1000>;
682 qcom,pil-string = "modem";
683 interrupts = <0 25 1>;
David Ngb715e322012-12-01 12:57:08 -0800684 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600685
686 qcom,smsm-modem {
687 compatible = "qcom,smsm";
688 qcom,smsm-edge = <0>;
689 qcom,smsm-irq-offset = <0x8>;
690 qcom,smsm-irq-bitmask = <0x2000>;
691 interrupts = <0 26 1>;
David Ngb715e322012-12-01 12:57:08 -0800692 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600693
694 qcom,smd-adsp {
695 compatible = "qcom,smd";
696 qcom,smd-edge = <1>;
697 qcom,smd-irq-offset = <0x8>;
698 qcom,smd-irq-bitmask = <0x100>;
699 qcom,pil-string = "adsp";
700 interrupts = <0 156 1>;
David Ngb715e322012-12-01 12:57:08 -0800701 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600702
703 qcom,smsm-adsp {
704 compatible = "qcom,smsm";
705 qcom,smsm-edge = <1>;
706 qcom,smsm-irq-offset = <0x8>;
707 qcom,smsm-irq-bitmask = <0x200>;
708 interrupts = <0 157 1>;
David Ngb715e322012-12-01 12:57:08 -0800709 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600710
711 qcom,smd-wcnss {
712 compatible = "qcom,smd";
713 qcom,smd-edge = <6>;
714 qcom,smd-irq-offset = <0x8>;
715 qcom,smd-irq-bitmask = <0x20000>;
716 qcom,pil-string = "wcnss";
717 interrupts = <0 142 1>;
David Ngb715e322012-12-01 12:57:08 -0800718 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600719
720 qcom,smsm-wcnss {
721 compatible = "qcom,smsm";
722 qcom,smsm-edge = <6>;
723 qcom,smsm-irq-offset = <0x8>;
724 qcom,smsm-irq-bitmask = <0x80000>;
725 interrupts = <0 144 1>;
David Ngb715e322012-12-01 12:57:08 -0800726 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600727
728 qcom,smd-rpm {
729 compatible = "qcom,smd";
730 qcom,smd-edge = <15>;
731 qcom,smd-irq-offset = <0x8>;
732 qcom,smd-irq-bitmask = <0x1>;
733 interrupts = <0 168 1>;
734 qcom,irq-no-suspend;
David Ngb715e322012-12-01 12:57:08 -0800735 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600736 };
737
Praveen Chidambaramc8af25e2012-12-19 11:27:36 -0700738 rpm_bus: qcom,rpm-smd {
739 compatible = "qcom,rpm-smd";
740 rpm-channel-name = "rpm_requests";
741 rpm-channel-type = <15>; /* SMD_APPS_RPM */
Praveen Chidambaramc8af25e2012-12-19 11:27:36 -0700742 };
743
Jennifer Liu86687d52013-05-29 15:51:40 -0700744 qcom,bcl {
745 compatible = "qcom,bcl";
746 };
747
Pratibhasagar Vc20526a2013-10-09 18:59:45 +0530748 rmtfs_sharedmem {
749 compatible = "qcom,sharedmem-uio";
750 reg = <0x0fd80000 0x00180000>;
751 reg-names = "rmtfs";
752 };
753
754 dsp_sharedmem {
755 compatible = "qcom,sharedmem-uio";
756 reg = <0x0fd60000 0x00020000>;
757 reg-names = "rfsa_dsp";
758 };
759
760 mdm_sharedmem {
761 compatible = "qcom,sharedmem-uio";
762 reg = <0x0fd60000 0x00020000>;
763 reg-names = "rfsa_mdm";
764 };
765
Asutosh Das99912e62012-12-06 12:38:46 +0530766 sdcc1: qcom,sdcc@f9824000 {
767 cell-index = <1>; /* SDC1 eMMC slot */
768 compatible = "qcom,msm-sdcc";
769
Asutosh Das6b82fc52012-11-23 12:00:26 +0530770 reg = <0xf9824000 0x800>,
771 <0xf9824800 0x100>,
772 <0xf9804000 0x7000>;
773 reg-names = "core_mem", "dml_mem", "bam_mem";
774 interrupts = <0 123 0>, <0 137 0>;
775 interrupt-names = "core_irq", "bam_irq";
Asutosh Das99912e62012-12-06 12:38:46 +0530776
777 qcom,bus-width = <8>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700778
779 qcom,msm-bus,name = "sdcc1";
780 qcom,msm-bus,num-cases = <8>;
781 qcom,msm-bus,num-paths = <1>;
782 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
783 <78 512 1600 3200>, /* 400 KB/s*/
784 <78 512 80000 160000>, /* 20 MB/s */
785 <78 512 100000 200000>, /* 25 MB/s */
786 <78 512 200000 400000>, /* 50 MB/s */
787 <78 512 400000 800000>, /* 100 MB/s */
788 <78 512 400000 800000>, /* 200 MB/s */
789 <78 512 2048000 4096000>; /* Max. bandwidth */
790 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
791 100000000 200000000 4294967295>;
792
Asutosh Das99912e62012-12-06 12:38:46 +0530793 status = "disabled";
794 };
795
Sahitya Tummala9e001362013-03-28 11:00:55 +0530796 sdhc_1: sdhci@f9824900 {
797 compatible = "qcom,sdhci-msm";
798 reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
799 reg-names = "hc_mem", "core_mem";
800
801 interrupts = <0 123 0>, <0 138 0>;
802 interrupt-names = "hc_irq", "pwr_irq";
803
804 qcom,bus-width = <8>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700805
806 qcom,msm-bus,name = "sdhc1";
807 qcom,msm-bus,num-cases = <8>;
808 qcom,msm-bus,num-paths = <1>;
809 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
810 <78 512 1600 3200>, /* 400 KB/s*/
811 <78 512 80000 160000>, /* 20 MB/s */
812 <78 512 100000 200000>, /* 25 MB/s */
813 <78 512 200000 400000>, /* 50 MB/s */
814 <78 512 400000 800000>, /* 100 MB/s */
815 <78 512 400000 800000>, /* 200 MB/s */
816 <78 512 2048000 4096000>; /* Max. bandwidth */
817 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
818 100000000 200000000 4294967295>;
819
Sahitya Tummala9e001362013-03-28 11:00:55 +0530820 status = "disabled";
821 };
822
Asutosh Das99912e62012-12-06 12:38:46 +0530823 sdcc2: qcom,sdcc@f98a4000 {
824 cell-index = <2>; /* SDC2 SD card slot */
825 compatible = "qcom,msm-sdcc";
826
Asutosh Das6b82fc52012-11-23 12:00:26 +0530827 reg = <0xf98a4000 0x800>,
828 <0xf98a4800 0x100>,
829 <0xf9884000 0x7000>;
830 reg-names = "core_mem", "dml_mem", "bam_mem";
831 interrupts = <0 125 0>, <0 220 0>;
832 interrupt-names = "core_irq", "bam_irq";
Asutosh Das99912e62012-12-06 12:38:46 +0530833
834 qcom,bus-width = <4>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700835
836 qcom,msm-bus,name = "sdcc2";
837 qcom,msm-bus,num-cases = <8>;
838 qcom,msm-bus,num-paths = <1>;
839 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
840 <81 512 1600 3200>, /* 400 KB/s*/
841 <81 512 80000 160000>, /* 20 MB/s */
842 <81 512 100000 200000>, /* 25 MB/s */
843 <81 512 200000 400000>, /* 50 MB/s */
844 <81 512 400000 800000>, /* 100 MB/s */
845 <81 512 400000 800000>, /* 200 MB/s */
846 <81 512 2048000 4096000>; /* Max. bandwidth */
847 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
848 100000000 200000000 4294967295>;
849
Asutosh Das99912e62012-12-06 12:38:46 +0530850 status = "disabled";
851 };
Kenneth Heitkee5804002012-11-15 17:50:07 -0700852
Sahitya Tummala9e001362013-03-28 11:00:55 +0530853 sdhc_2: sdhci@f98a4900 {
854 compatible = "qcom,sdhci-msm";
855 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
856 reg-names = "hc_mem", "core_mem";
857
858 interrupts = <0 125 0>, <0 221 0>;
859 interrupt-names = "hc_irq", "pwr_irq";
860
861 qcom,bus-width = <4>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700862
863 qcom,msm-bus,name = "sdhc2";
864 qcom,msm-bus,num-cases = <8>;
865 qcom,msm-bus,num-paths = <1>;
866 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
867 <81 512 1600 3200>, /* 400 KB/s*/
868 <81 512 80000 160000>, /* 20 MB/s */
869 <81 512 100000 200000>, /* 25 MB/s */
870 <81 512 200000 400000>, /* 50 MB/s */
871 <81 512 400000 800000>, /* 100 MB/s */
872 <81 512 400000 800000>, /* 200 MB/s */
873 <81 512 2048000 4096000>; /* Max. bandwidth */
874 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
875 100000000 200000000 4294967295>;
876
Sahitya Tummala9e001362013-03-28 11:00:55 +0530877 status = "disabled";
878 };
879
Krishna Kondaf92e4262013-07-08 16:21:57 -0700880 sdcc3: qcom,sdcc@f9864000 {
881 cell-index = <3>;
882 compatible = "qcom,msm-sdcc";
883 reg = <0xf9864000 0x800>,
884 <0xf9864800 0x100>,
885 <0xf9844000 0x7000>;
886 reg-names = "core_mem", "dml_mem", "bam_mem";
887
888 qcom,bus-width = <4>;
889 gpios = <&msmgpio 44 0>, /* CLK */
890 <&msmgpio 43 0>, /* CMD */
891 <&msmgpio 42 0>, /* DATA0 */
892 <&msmgpio 41 0>, /* DATA1 */
893 <&msmgpio 40 0>, /* DATA2 */
894 <&msmgpio 39 0>; /* DATA3 */
895 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
896
897 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
898
899 qcom,msm-bus,name = "sdcc3";
900 qcom,msm-bus,num-cases = <8>;
901 qcom,msm-bus,num-paths = <1>;
902 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
903 <79 512 1600 3200>, /* 400 KB/s*/
904 <79 512 80000 160000>, /* 20 MB/s */
905 <79 512 100000 200000>, /* 25 MB/s */
906 <79 512 200000 400000>, /* 50 MB/s */
907 <79 512 400000 800000>, /* 100 MB/s */
908 <79 512 400000 800000>, /* 200 MB/s */
909 <79 512 2048000 4096000>; /* Max. bandwidth */
910 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
911 100000000 200000000 4294967295>;
912
913 #address-cells = <0>;
914 interrupt-parent = <&sdcc3>;
915 interrupts = <0 1 2>;
916 #interrupt-cells = <1>;
917 interrupt-map-mask = <0xffffffff>;
918 interrupt-map = <0 &intc 0 127 0
919 1 &intc 0 223 0
920 2 &msmgpio 41 0x8>;
921 interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq";
922
923 status = "disabled";
924 };
925
926 sdhc_3: sdhci@f9864900 {
927 compatible = "qcom,sdhci-msm";
928 reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
929 reg-names = "hc_mem", "core_mem";
930
931 qcom,bus-width = <4>;
932 gpios = <&msmgpio 44 0>, /* CLK */
933 <&msmgpio 43 0>, /* CMD */
934 <&msmgpio 42 0>, /* DATA0 */
935 <&msmgpio 41 0>, /* DATA1 */
936 <&msmgpio 40 0>, /* DATA2 */
937 <&msmgpio 39 0>; /* DATA3 */
938 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
939
940 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
941
942 qcom,msm-bus,name = "sdhc3";
943 qcom,msm-bus,num-cases = <8>;
944 qcom,msm-bus,num-paths = <1>;
945 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
946 <79 512 1600 3200>, /* 400 KB/s*/
947 <79 512 80000 160000>, /* 20 MB/s */
948 <79 512 100000 200000>, /* 25 MB/s */
949 <79 512 200000 400000>, /* 50 MB/s */
950 <79 512 400000 800000>, /* 100 MB/s */
951 <79 512 400000 800000>, /* 200 MB/s */
952 <79 512 2048000 4096000>; /* Max. bandwidth */
953 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
954 100000000 200000000 4294967295>;
955
956 #address-cells = <0>;
957 interrupt-parent = <&sdhc_3>;
958 interrupts = <0 1 2>;
959 #interrupt-cells = <1>;
960 interrupt-map-mask = <0xffffffff>;
961 interrupt-map = <0 &intc 0 127 0
962 1 &intc 0 224 0
963 2 &msmgpio 41 0x8>;
964 interrupt-names = "hc_irq", "pwr_irq", "sdiowakeup_irq";
965
966 status = "disabled";
967 };
968
Kenneth Heitkee5804002012-11-15 17:50:07 -0700969 spmi_bus: qcom,spmi@fc4c0000 {
970 cell-index = <0>;
971 compatible = "qcom,spmi-pmic-arb";
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700972 reg-names = "core", "intr", "cnfg";
Kenneth Heitkee5804002012-11-15 17:50:07 -0700973 reg = <0xfc4cf000 0x1000>,
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700974 <0Xfc4cb000 0x1000>,
975 <0Xfc4ca000 0x1000>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700976 /* 190,ee0_krait_hlos_spmi_periph_irq */
977 /* 187,channel_0_krait_hlos_trans_done_irq */
978 interrupts = <0 190 0>, <0 187 0>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700979 qcom,pmic-arb-ee = <0>;
980 qcom,pmic-arb-channel = <0>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700981 };
982
Madan Mohan Koyyalamudi2d7c6f52013-06-19 17:49:45 -0700983 i2c@f9925000 { /* BLSP-1 QUP-3 */
984 cell-index = <2>;
985 compatible = "qcom,i2c-qup";
986 reg = <0xf9925000 0x1000>;
987 #address-cells = <1>;
988 #size-cells = <0>;
989 reg-names = "qup_phys_addr";
990 interrupts = <0 97 0>;
991 interrupt-names = "qup_err_intr";
992 qcom,i2c-bus-freq = <400000>;
993 qcom,i2c-src-freq = <19200000>;
Houston Hoffmanbf7baa92013-11-27 10:53:23 -0800994 qcom,sda-gpio = <&msmgpio 10 0>;
995 qcom,scl-gpio = <&msmgpio 11 0>;
996 qcom,master-id = <86>;
Madan Mohan Koyyalamudi2d7c6f52013-06-19 17:49:45 -0700997 };
Ke Liuee28af42013-11-07 16:40:00 -0800998 i2c_0: i2c@f9926000 { /* BLSP-1 QUP-4 */
Gilad Avidov28e18eb2012-11-21 18:13:25 -0700999 cell-index = <0>;
1000 compatible = "qcom,i2c-qup";
1001 reg = <0xf9926000 0x1000>;
1002 #address-cells = <1>;
1003 #size-cells = <0>;
1004 reg-names = "qup_phys_addr";
1005 interrupts = <0 98 0>;
1006 interrupt-names = "qup_err_intr";
1007 qcom,i2c-bus-freq = <100000>;
Ke Liuee28af42013-11-07 16:40:00 -08001008 qcom,i2c-src-freq = <19200000>;
1009 qcom,master-id = <86>;
Gilad Avidov28e18eb2012-11-21 18:13:25 -07001010 };
Patrick Daly99a52ca2012-10-23 12:00:45 -07001011
Amy Maloche41708ba2013-03-03 15:19:27 -08001012 i2c@f9927000 { /* BLSP1 QUP5 */
1013 cell-index = <5>;
1014 compatible = "qcom,i2c-qup";
1015 #address-cells = <1>;
1016 #size-cells = <0>;
1017 reg-names = "qup_phys_addr";
1018 reg = <0xf9927000 0x1000>;
1019 interrupt-names = "qup_err_intr";
1020 interrupts = <0 99 0>;
Amy Maloche118e5d62013-05-01 14:53:35 -07001021 qcom,i2c-bus-freq = <384000>;
Amy Maloche41708ba2013-03-03 15:19:27 -08001022 qcom,i2c-src-freq = <19200000>;
Amy Malochebf346092013-07-31 12:57:28 -07001023 qcom,sda-gpio = <&msmgpio 18 0>;
1024 qcom,scl-gpio = <&msmgpio 19 0>;
Amy Maloche41708ba2013-03-03 15:19:27 -08001025 };
1026
Patrick Daly784c5f62013-07-23 19:33:32 -07001027 qcom,clock-a7@f9011050 {
1028 compatible = "qcom,clock-a7-8226";
Patrick Daly4fd80f42013-06-18 11:09:15 -07001029 reg = <0xf9011050 0x8>;
Patrick Daly784c5f62013-07-23 19:33:32 -07001030 reg-names = "rcg-base";
1031 clock-names = "clk-4", "clk-5";
1032 qcom,speed0-bin-v0 =
1033 < 0 0>,
Ke Liu9102dcf2014-02-10 11:50:28 -08001034 < 384000000 1>,
1035 < 787200000 2>,
1036 <1190400000 3>;
Patrick Daly784c5f62013-07-23 19:33:32 -07001037
1038 cpu-vdd-supply = <&apc_vreg_corner>;
1039 };
1040
Saravana Kannan4bbc9932013-11-24 03:45:00 -08001041 qcom,cpubw {
1042 compatible = "qcom,cpubw";
1043 qcom,cpu-mem-ports = <1 512>;
1044 qcom,bw-tbl =
1045 < 1525 /* 200 MHz */ >,
1046 < 2441 /* 320 MHz */ >,
1047 < 3051 /* 400 MHz */ >,
1048 < 4066 /* 533 MHz */ >;
1049 };
1050
Patrick Daly784c5f62013-07-23 19:33:32 -07001051 qcom,msm-cpufreq@0 {
1052 reg = <0 4>;
1053 compatible = "qcom,msm-cpufreq";
Patrick Daly784c5f62013-07-23 19:33:32 -07001054 qcom,cpufreq-table =
Saravana Kannan4bbc9932013-11-24 03:45:00 -08001055 < 300000 1525 >,
1056 < 384000 1525 >,
1057 < 600000 1525 >,
1058 < 787200 3051 >,
1059 < 998400 4066 >,
1060 < 1094400 4066 >,
1061 < 1190400 4066 >,
1062 < 1305600 4066 >,
1063 < 1344000 4066 >,
1064 < 1401600 4066 >,
1065 < 1497600 4066 >,
Patrick Dalycd999822014-01-17 15:16:52 -08001066 < 1593600 4066 >,
1067 < 1689600 4066 >,
1068 < 1785600 4066 >;
Patrick Daly99a52ca2012-10-23 12:00:45 -07001069 };
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001070
1071 qcom,ocmem@fdd00000 {
1072 compatible = "qcom,msm-ocmem";
1073 reg = <0xfdd00000 0x2000>,
1074 <0xfdd02000 0x2000>,
1075 <0xfe039000 0x400>,
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001076 <0xfec00000 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001077 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
1078 interrupts = <0 76 0 0 77 0>;
1079 interrupt-names = "ocmem_irq", "dm_irq";
1080 qcom,ocmem-num-regions = <0x1>;
1081 qcom,ocmem-num-macros = <0x2>;
1082 qcom,resource-type = <0x706d636f>;
1083 #address-cells = <1>;
1084 #size-cells = <1>;
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001085 ranges = <0x0 0xfec00000 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001086
1087 partition@0 {
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001088 reg = <0x0 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001089 qcom,ocmem-part-name = "graphics";
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001090 qcom,ocmem-part-min = <0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001091 };
1092 };
1093
Patrick Dalyb83f0b02013-01-09 12:36:19 -08001094 qcom,venus@fdce0000 {
1095 compatible = "qcom,pil-venus";
1096 reg = <0xfdce0000 0x4000>,
1097 <0xfdc80000 0x400>;
1098 reg-names = "wrapper_base", "vbif_base";
1099 vdd-supply = <&gdsc_venus>;
1100
1101 qcom,firmware-name = "venus";
1102 };
Patrick Daly1e3bc6c2013-01-09 12:34:25 -08001103
1104 qcom,pronto@fb21b000 {
1105 compatible = "qcom,pil-pronto";
1106 reg = <0xfb21b000 0x3000>,
1107 <0xfc401700 0x4>,
1108 <0xfd485300 0xc>;
1109 reg-names = "pmu_base", "clk_base", "halt_base";
1110 interrupts = <0 149 1>;
David Keitel7184c6e2013-02-11 13:23:04 -08001111 vdd_pronto_pll-supply = <&pm8226_l8>;
Patrick Daly1e3bc6c2013-01-09 12:34:25 -08001112
1113 qcom,firmware-name = "wcnss";
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -07001114
Sameer Thalappil4ba86302013-04-05 17:36:54 -07001115 /* GPIO inputs from wcnss */
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -07001116 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>;
Sameer Thalappilb1e03c02013-04-29 14:52:00 -07001117 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>;
Sameer Thalappil4ba86302013-04-05 17:36:54 -07001118 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>;
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -07001119
1120 /* GPIO output to wcnss */
1121 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>;
Patrick Daly1e3bc6c2013-01-09 12:34:25 -08001122 };
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001123
Sheng Fang0a85b0d2013-03-19 08:16:51 +08001124 qcom,iris-fm {
1125 compatible = "qcom,iris_fm";
1126 };
1127
Patrick Daly4df59842013-01-09 12:31:40 -08001128 qcom,lpass@fe200000 {
1129 compatible = "qcom,pil-q6v5-lpass";
1130 reg = <0xfe200000 0x00100>,
Matt Wagantall015b50af2013-03-05 18:51:16 -08001131 <0xfd485100 0x00010>,
1132 <0xfc4016c0 0x00004>;
1133 reg-names = "qdsp6_base", "halt_base", "restart_reg";
David Keitelf4c8b8b2013-02-25 15:25:27 -08001134 vdd_cx-supply = <&pm8226_s1_corner>;
Patrick Daly4df59842013-01-09 12:31:40 -08001135 interrupts = <0 162 1>;
1136
1137 qcom,firmware-name = "adsp";
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -07001138
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -07001139 /* GPIO inputs from lpass */
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -07001140 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -07001141 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
Ravishankar Sarawadi7edc9d72013-04-09 18:15:03 -07001142 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -07001143
1144 /* GPIO output to lpass */
1145 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
Patrick Daly4df59842013-01-09 12:31:40 -08001146 };
1147
Patrick Daly742337f2013-01-29 12:06:06 -08001148 qcom,mss@fc880000 {
1149 compatible = "qcom,pil-q6v5-mss";
1150 reg = <0xfc880000 0x100>,
1151 <0xfd485000 0x400>,
1152 <0xfc820000 0x020>,
1153 <0xfc401680 0x004>,
Patrick Daly742337f2013-01-29 12:06:06 -08001154 <0xfd485194 0x4>;
1155 reg-names = "qdsp6_base", "halt_base", "rmb_base",
Matt Wagantall724b2bb2013-03-18 14:54:06 -07001156 "restart_reg", "cxrail_bhs_reg";
Patrick Daly742337f2013-01-29 12:06:06 -08001157
1158 interrupts = <0 24 1>;
Patrick Daly742337f2013-01-29 12:06:06 -08001159 vdd_cx-supply = <&pm8226_s1_corner>;
1160 vdd_mx-supply = <&pm8226_l3>;
1161 vdd_pll-supply = <&pm8226_l8>;
1162 qcom,vdd_pll = <1800000>;
1163
1164 qcom,is-loadable;
1165 qcom,firmware-name = "mba";
1166 qcom,pil-self-auth;
Patrick Dalyfe258e22013-03-22 21:02:14 -07001167
Seemanta Duttaa0f253e2013-01-16 18:54:40 -08001168 /* GPIO inputs from mss */
Patrick Dalyfe258e22013-03-22 21:02:14 -07001169 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
Seemanta Dutta9fb72ed2013-01-25 14:22:15 -08001170 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
Seemanta Duttaa0f253e2013-01-16 18:54:40 -08001171 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
Seemanta Dutta0adbbf02013-03-12 17:26:17 -07001172 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>;
Patrick Dalyfe258e22013-03-22 21:02:14 -07001173
1174 /* GPIO output to mss */
1175 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
Patrick Daly742337f2013-01-29 12:06:06 -08001176 };
1177
Neeti Desaif82314e2013-08-09 15:59:54 -07001178 memory_hole: qcom,msm-mem-hole {
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001179 compatible = "qcom,msm-mem-hole";
Neeti Desai183b33d2013-08-09 14:58:38 -07001180 qcom,memblock-remove = <0x08400000 0x4000000
1181 0x0d200000 0x2300000
1182 0x0fa00000 0x500000>; /* Address and Size of Hole */
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001183 };
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001184
1185 tsens: tsens@fc4a8000 {
1186 compatible = "qcom,msm-tsens";
1187 reg = <0xfc4a8000 0x2000>,
Siddartha Mohanadoss6ddc1922013-07-08 17:40:11 -07001188 <0xfc4bc000 0x1000>;
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001189 reg-names = "tsens_physical", "tsens_eeprom_physical";
1190 interrupts = <0 184 0>;
Siddartha Mohanadoss9a4e94a2013-03-06 19:15:59 -08001191 qcom,sensors = <4>;
1192 qcom,slope = <2901 2846 3038 2955>;
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001193 qcom,calib-mode = "fuse_map2";
1194 };
Praveen Chidambarama03bda52013-02-12 21:23:13 -07001195
1196 qcom,msm-thermal {
1197 compatible = "qcom,msm-thermal";
1198 qcom,sensor-id = <0>;
1199 qcom,poll-ms = <250>;
1200 qcom,limit-temp = <60>;
1201 qcom,temp-hysteresis = <10>;
1202 qcom,freq-step = <2>;
Praveen Chidambarama7435ce2013-05-03 12:52:42 -06001203 qcom,freq-control-mask = <0xf>;
Jennifer Liu003438d2013-06-21 11:24:20 -07001204 qcom,core-limit-temp = <80>;
1205 qcom,core-temp-hysteresis = <10>;
1206 qcom,core-control-mask = <0xe>;
Jennifer Liuf2515e32013-09-24 10:28:22 -07001207 qcom,hotplug-temp = <110>;
1208 qcom,hotplug-temp-hysteresis = <20>;
1209 qcom,cpu-sensors = "tsens_tz_sensor5", "tsens_tz_sensor5",
1210 "tsens_tz_sensor2", "tsens_tz_sensor2";
Jennifer Liu53bb5642013-06-26 10:42:42 -07001211 qcom,vdd-restriction-temp = <5>;
1212 qcom,vdd-restriction-temp-hysteresis = <10>;
1213 vdd-dig-supply = <&pm8226_s1_floor_corner>;
1214
1215 qcom,vdd-dig-rstr{
1216 qcom,vdd-rstr-reg = "vdd-dig";
1217 qcom,levels = <5 7 7>; /* Nominal, Super Turbo, Super Turbo */
1218 qcom,min-level = <1>; /* No Request */
1219 };
1220
1221 qcom,vdd-apps-rstr{
1222 qcom,vdd-rstr-reg = "vdd-apps";
1223 qcom,levels = <600000 787200 998400>;
1224 qcom,freq-req;
1225 };
Praveen Chidambarama03bda52013-02-12 21:23:13 -07001226 };
1227
Gilad Avidovd59217c2013-02-01 13:45:59 -07001228 spi_0: spi@f9923000 { /* BLSP1 QUP1 */
1229 compatible = "qcom,spi-qup-v2";
1230 #address-cells = <1>;
1231 #size-cells = <0>;
1232 reg-names = "spi_physical", "spi_bam_physical";
1233 reg = <0xf9923000 0x1000>,
1234 <0xf9904000 0xF000>;
1235 interrupt-names = "spi_irq", "spi_bam_irq";
1236 interrupts = <0 95 0>, <0 238 0>;
1237 spi-max-frequency = <19200000>;
1238
Gilad Avidovcff4ca72013-07-01 17:35:36 -06001239 qcom,gpio-mosi = <&msmgpio 0 0>;
1240 qcom,gpio-miso = <&msmgpio 1 0>;
1241 qcom,gpio-clk = <&msmgpio 3 0>;
1242 qcom,gpio-cs0 = <&msmgpio 22 0>;
Gilad Avidovd59217c2013-02-01 13:45:59 -07001243
1244 qcom,infinite-mode = <0>;
1245 qcom,use-bam;
1246 qcom,ver-reg-exists;
1247 qcom,bam-consumer-pipe-index = <12>;
1248 qcom,bam-producer-pipe-index = <13>;
Gilad Avidovcff4ca72013-07-01 17:35:36 -06001249 qcom,master-id = <86>;
Gilad Avidovd59217c2013-02-01 13:45:59 -07001250 };
1251
Jeff Hugo72e10912013-03-05 11:17:38 -07001252 qcom,bam_dmux@fc834000 {
1253 compatible = "qcom,bam_dmux";
1254 reg = <0xfc834000 0x7000>;
1255 interrupts = <0 29 1>;
1256 };
Pushkar Joshi4f3aa0b2013-03-07 22:44:04 -08001257
1258 qcom,msm-rtb {
1259 compatible = "qcom,msm-rtb";
1260 qcom,memory-reservation-type = "EBI1";
1261 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
1262 };
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001263
Hariprasad Dhalinarasimhab548ee52013-03-11 19:06:30 -07001264 qcom,msm-rng@f9bff000 {
1265 compatible = "qcom,msm-rng";
1266 reg = <0xf9bff000 0x200>;
1267 qcom,msm-rng-iface-clk;
Hariprasad Dhalinarasimhae799fb72013-06-03 13:51:38 -07001268 qcom,msm-bus,name = "msm-rng-noc";
1269 qcom,msm-bus,num-cases = <2>;
1270 qcom,msm-bus,num-paths = <1>;
1271 qcom,msm-bus,vectors-KBps =
Sana Venkat Rajufb66bf12014-02-10 14:28:49 +05301272 <54 618 0 0>,
1273 <54 618 0 800>;
Hariprasad Dhalinarasimhab548ee52013-03-11 19:06:30 -07001274 };
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001275
Hariprasad Dhalinarasimha4ba4d802013-03-21 13:03:09 -07001276 qcom,tz-log@fe805720 {
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001277 compatible = "qcom,tz-log";
Hariprasad Dhalinarasimha4ba4d802013-03-21 13:03:09 -07001278 reg = <0x0fe805720 0x1000>;
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001279 };
Pushkar Joshi85a53192013-03-11 11:15:15 -07001280
Pratik Patelf2945ef2013-06-13 23:52:05 -07001281 jtag_fuse: jtagfuse@fc4be024 {
1282 compatible = "qcom,jtag-fuse";
1283 reg = <0xfc4be024 0x8>;
1284 reg-names = "fuse-base";
1285 };
1286
Pushkar Joshi85a53192013-03-11 11:15:15 -07001287 jtag_mm0: jtagmm@fc33c000 {
1288 compatible = "qcom,jtag-mm";
1289 reg = <0xfc33c000 0x1000>,
1290 <0xfc330000 0x1000>;
1291 reg-names = "etm-base","debug-base";
1292 };
1293
1294 jtag_mm1: jtagmm@fc33d000 {
1295 compatible = "qcom,jtag-mm";
1296 reg = <0xfc33d000 0x1000>,
1297 <0xfc332000 0x1000>;
1298 reg-names = "etm-base","debug-base";
1299 };
1300
1301 jtag_mm2: jtagmm@fc33e000 {
1302 compatible = "qcom,jtag-mm";
1303 reg = <0xfc33e000 0x1000>,
1304 <0xfc334000 0x1000>;
1305 reg-names = "etm-base","debug-base";
1306 };
1307
1308 jtag_mm3: jtagmm@fc33f000 {
1309 compatible = "qcom,jtag-mm";
1310 reg = <0xfc33f000 0x1000>,
1311 <0xfc336000 0x1000>;
1312 reg-names = "etm-base","debug-base";
1313 };
Jeff Hugo2be6bb022013-03-11 10:17:34 -06001314
1315 qcom,ipc-spinlock@fd484000 {
1316 compatible = "qcom,ipc-spinlock-sfpb";
1317 reg = <0xfd484000 0x400>;
1318 qcom,num-locks = <8>;
1319 };
Hariprasad Dhalinarasimha805ea4d2013-03-14 11:16:12 -07001320
1321 qcom,qseecom@d980000 {
1322 compatible = "qcom,qseecom";
1323 reg = <0xd980000 0x256000>;
1324 reg-names = "secapp-region";
1325 qcom,disk-encrypt-pipe-pair = <2>;
1326 qcom,hlos-ce-hw-instance = <0>;
1327 qcom,qsee-ce-hw-instance = <0>;
Zhen Kongb231caa2014-01-08 09:39:02 -08001328 qcom,support-bus-scaling;
Hariprasad Dhalinarasimha805ea4d2013-03-14 11:16:12 -07001329 qcom,msm-bus,name = "qseecom-noc";
1330 qcom,msm-bus,num-cases = <4>;
1331 qcom,msm-bus,active-only = <0>;
1332 qcom,msm-bus,num-paths = <1>;
1333 qcom,msm-bus,vectors-KBps =
1334 <55 512 0 0>,
Zhen Kongb231caa2014-01-08 09:39:02 -08001335 <55 512 0 0>,
1336 <55 512 120000 1200000>,
1337 <55 512 393600 3936000>;
Hariprasad Dhalinarasimha805ea4d2013-03-14 11:16:12 -07001338 };
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001339
1340 qcom,qcrypto@fd404000 {
1341 compatible = "qcom,qcrypto";
1342 reg = <0xfd400000 0x20000>,
1343 <0xfd404000 0x8000>;
1344 reg-names = "crypto-base","crypto-bam-base";
1345 interrupts = <0 207 0>;
1346 qcom,bam-pipe-pair = <2>;
1347 qcom,ce-hw-instance = <0>;
1348 qcom,ce-hw-shared;
1349 qcom,msm-bus,name = "qcrypto-noc";
1350 qcom,msm-bus,num-cases = <2>;
1351 qcom,msm-bus,active-only = <0>;
1352 qcom,msm-bus,num-paths = <1>;
1353 qcom,msm-bus,vectors-KBps =
Hariprasad Dhalinarasimhaa2d749e2013-05-14 13:00:06 -07001354 <55 512 0 0>,
1355 <55 512 3936000 393600>;
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001356 };
1357
1358 qcom,qcedev@fd400000 {
1359 compatible = "qcom,qcedev";
1360 reg = <0xfd400000 0x20000>,
1361 <0xfd404000 0x8000>;
1362 reg-names = "crypto-base","crypto-bam-base";
1363 interrupts = <0 207 0>;
1364 qcom,bam-pipe-pair = <1>;
1365 qcom,ce-hw-instance = <0>;
1366 qcom,ce-hw-shared;
1367 qcom,msm-bus,name = "qcedev-noc";
1368 qcom,msm-bus,num-cases = <2>;
1369 qcom,msm-bus,active-only = <0>;
1370 qcom,msm-bus,num-paths = <1>;
1371 qcom,msm-bus,vectors-KBps =
Hariprasad Dhalinarasimhaa2d749e2013-05-14 13:00:06 -07001372 <55 512 0 0>,
1373 <55 512 3936000 393600>;
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001374 };
Neil Leeder45fb9f62013-06-04 10:46:41 -04001375
1376 cpu-pmu {
1377 compatible = "arm,cortex-a7-pmu";
1378 qcom,irq-is-percpu;
1379 interrupts = <1 7 0xf00>;
1380 };
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -07001381};
David Collins37ddb972012-10-17 15:00:26 -07001382
Patrick Dalye8977aa2012-11-06 15:25:58 -08001383&gdsc_venus {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001384 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001385 status = "ok";
1386};
1387
1388&gdsc_mdss {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001389 qcom,clock-names = "core_clk", "lut_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001390 status = "ok";
1391};
1392
1393&gdsc_jpeg {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001394 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001395 status = "ok";
1396};
1397
1398&gdsc_vfe {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001399 qcom,clock-names = "core_clk", "csi_clk", "cpp_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001400 status = "ok";
1401};
1402
1403&gdsc_oxili_cx {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001404 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001405 status = "ok";
1406};
1407
1408&gdsc_usb_hsic {
1409 status = "ok";
1410};
1411
David Keitel376b2682013-03-05 18:40:01 -08001412/include/ "msm-pm8226-rpm-regulator.dtsi"
Kenneth Heitkebea6ca22013-02-07 17:23:21 -07001413/include/ "msm-pm8226.dtsi"
David Keitel7184c6e2013-02-11 13:23:04 -08001414/include/ "msm8226-regulator.dtsi"
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001415
1416&pm8226_vadc {
1417 chan@0 {
1418 label = "usb_in";
1419 reg = <0>;
1420 qcom,decimation = <0>;
1421 qcom,pre-div-channel-scaling = <4>;
1422 qcom,calibration-type = "absolute";
1423 qcom,scale-function = <0>;
1424 qcom,hw-settle-time = <0>;
1425 qcom,fast-avg-setup = <0>;
1426 };
1427
1428 chan@2 {
1429 label = "vchg_sns";
1430 reg = <2>;
1431 qcom,decimation = <0>;
1432 qcom,pre-div-channel-scaling = <3>;
1433 qcom,calibration-type = "absolute";
1434 qcom,scale-function = <0>;
1435 qcom,hw-settle-time = <0>;
1436 qcom,fast-avg-setup = <0>;
1437 };
1438
1439 chan@5 {
1440 label = "vcoin";
1441 reg = <5>;
1442 qcom,decimation = <0>;
1443 qcom,pre-div-channel-scaling = <1>;
1444 qcom,calibration-type = "absolute";
1445 qcom,scale-function = <0>;
1446 qcom,hw-settle-time = <0>;
1447 qcom,fast-avg-setup = <0>;
1448 };
1449
1450 chan@6 {
1451 label = "vbat_sns";
1452 reg = <6>;
1453 qcom,decimation = <0>;
1454 qcom,pre-div-channel-scaling = <1>;
1455 qcom,calibration-type = "absolute";
1456 qcom,scale-function = <0>;
1457 qcom,hw-settle-time = <0>;
1458 qcom,fast-avg-setup = <0>;
1459 };
1460
1461 chan@7 {
1462 label = "vph_pwr";
1463 reg = <7>;
1464 qcom,decimation = <0>;
1465 qcom,pre-div-channel-scaling = <1>;
1466 qcom,calibration-type = "absolute";
1467 qcom,scale-function = <0>;
1468 qcom,hw-settle-time = <0>;
1469 qcom,fast-avg-setup = <0>;
1470 };
1471
1472 chan@30 {
1473 label = "batt_therm";
1474 reg = <0x30>;
1475 qcom,decimation = <0>;
1476 qcom,pre-div-channel-scaling = <0>;
1477 qcom,calibration-type = "ratiometric";
1478 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -08001479 qcom,hw-settle-time = <2>;
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001480 qcom,fast-avg-setup = <0>;
1481 };
1482
1483 chan@31 {
1484 label = "batt_id";
1485 reg = <0x31>;
1486 qcom,decimation = <0>;
1487 qcom,pre-div-channel-scaling = <0>;
1488 qcom,calibration-type = "ratiometric";
1489 qcom,scale-function = <0>;
1490 qcom,hw-settle-time = <2>;
1491 qcom,fast-avg-setup = <0>;
1492 };
1493
1494 chan@b2 {
1495 label = "xo_therm_pu2";
1496 reg = <0xb2>;
1497 qcom,decimation = <0>;
1498 qcom,pre-div-channel-scaling = <0>;
1499 qcom,calibration-type = "ratiometric";
1500 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -08001501 qcom,hw-settle-time = <2>;
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001502 qcom,fast-avg-setup = <0>;
1503 };
David Keitelc51a7e52013-03-02 00:14:48 -08001504
Siddartha Mohanadoss3cb76152013-04-12 16:17:02 -07001505 chan@39 {
1506 label = "usb_id_nopull";
1507 reg = <0x39>;
1508 qcom,decimation = <0>;
1509 qcom,pre-div-channel-scaling = <0>;
1510 qcom,calibration-type = "ratiometric";
1511 qcom,scale-function = <0>;
1512 qcom,hw-settle-time = <2>;
1513 qcom,fast-avg-setup = <0>;
1514 };
David Keitelc51a7e52013-03-02 00:14:48 -08001515};
1516
Siddartha Mohanadoss8aea3172013-05-09 11:49:37 -07001517&pm8226_adc_tm {
1518 /* Channel Node */
1519 chan@30 {
1520 label = "batt_therm";
1521 reg = <0x30>;
1522 qcom,decimation = <0>;
1523 qcom,pre-div-channel-scaling = <0>;
1524 qcom,calibration-type = "ratiometric";
1525 qcom,scale-function = <1>;
1526 qcom,hw-settle-time = <2>;
1527 qcom,fast-avg-setup = <3>;
1528 qcom,btm-channel-number = <0x48>;
Siddartha Mohanadoss58ffe0e2014-02-11 17:40:13 -08001529 qcom,meas-interval-timer-idx = <2>;
Siddartha Mohanadoss8aea3172013-05-09 11:49:37 -07001530 };
1531
1532 chan@8 {
1533 label = "die_temp";
1534 reg = <8>;
1535 qcom,decimation = <0>;
1536 qcom,pre-div-channel-scaling = <0>;
1537 qcom,calibration-type = "absolute";
1538 qcom,scale-function = <3>;
1539 qcom,hw-settle-time = <0>;
1540 qcom,fast-avg-setup = <3>;
1541 qcom,btm-channel-number = <0x68>;
1542 };
1543
1544 chan@6 {
1545 label = "vbat_sns";
1546 reg = <6>;
1547 qcom,decimation = <0>;
1548 qcom,pre-div-channel-scaling = <1>;
1549 qcom,calibration-type = "absolute";
1550 qcom,scale-function = <0>;
1551 qcom,hw-settle-time = <0>;
1552 qcom,fast-avg-setup = <3>;
1553 qcom,btm-channel-number = <0x70>;
1554 };
1555
1556 chan@14 {
1557 label = "pa_therm0";
1558 reg = <0x14>;
1559 qcom,decimation = <0>;
1560 qcom,pre-div-channel-scaling = <0>;
1561 qcom,calibration-type = "ratiometric";
1562 qcom,scale-function = <2>;
1563 qcom,hw-settle-time = <2>;
1564 qcom,fast-avg-setup = <0>;
1565 qcom,btm-channel-number = <0x78>;
1566 qcom,thermal-node;
1567 };
1568
1569 chan@17 {
1570 label = "pa_therm1";
1571 reg = <0x17>;
1572 qcom,decimation = <0>;
1573 qcom,pre-div-channel-scaling = <0>;
1574 qcom,calibration-type = "ratiometric";
1575 qcom,scale-function = <2>;
1576 qcom,hw-settle-time = <2>;
1577 qcom,fast-avg-setup = <0>;
1578 qcom,btm-channel-number = <0x80>;
1579 qcom,thermal-node;
1580 };
1581};
1582
David Keitelc51a7e52013-03-02 00:14:48 -08001583&pm8226_chg {
1584 status = "ok";
1585
David Keitele89d4782013-03-27 11:29:59 -07001586 qcom,chgr@1000 {
David Keitelc51a7e52013-03-02 00:14:48 -08001587 status = "ok";
1588 };
1589
David Keitele89d4782013-03-27 11:29:59 -07001590 qcom,buck@1100 {
David Keitelc51a7e52013-03-02 00:14:48 -08001591 status = "ok";
1592 };
1593
David Keitele89d4782013-03-27 11:29:59 -07001594 qcom,bat-if@1200 {
Fenglin Wu009098a2013-03-08 15:50:51 -08001595 status = "ok";
1596 };
1597
David Keitele89d4782013-03-27 11:29:59 -07001598 qcom,usb-chgpth@1300 {
David Keitelc51a7e52013-03-02 00:14:48 -08001599 status = "ok";
1600 };
1601
David Keitele89d4782013-03-27 11:29:59 -07001602 qcom,boost@1500 {
David Keitelc51a7e52013-03-02 00:14:48 -08001603 status = "ok";
1604 };
1605
1606 qcom,chg-misc@1600 {
1607 status = "ok";
1608 };
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001609};