blob: 84952767654d567aa1ca705ae43d944ebc6cb4a9 [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
Laxminath Kasam965531a2015-02-10 22:05:35 +0530631 qcom,avtimer@fe053000 {
632 compatible = "qcom,avtimer";
633 reg = <0xfe053008 0x4>,
634 <0xfe05300c 0x4>;
635 reg-names = "avtimer_lsb_addr", "avtimer_msb_addr";
636 };
637
Sheng Fangb6a06482013-03-20 13:21:36 +0800638 qcom,wcnss-wlan@fb000000 {
639 compatible = "qcom,wcnss_wlan";
Sameer Thalappil58281ca2013-04-10 18:50:18 -0700640 reg = <0xfb000000 0x280000>,
641 <0xf9011008 0x04>;
642 reg-names = "wcnss_mmio", "wcnss_fiq";
Sheng Fangb6a06482013-03-20 13:21:36 +0800643 interrupts = <0 145 0 0 146 0>;
644 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
645
646 qcom,pronto-vddmx-supply = <&pm8226_l3>;
647 qcom,pronto-vddcx-supply = <&pm8226_s1>;
648 qcom,pronto-vddpx-supply = <&pm8226_l6>;
649 qcom,iris-vddxo-supply = <&pm8226_l10>;
650 qcom,iris-vddrfa-supply = <&pm8226_l24>;
651 qcom,iris-vddpa-supply = <&pm8226_l16>;
652 qcom,iris-vdddig-supply = <&pm8226_l24>;
653
654 gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>;
Sameer Thalappil820f87b2013-05-21 20:40:54 -0700655 qcom,has-pronto-hw;
656 qcom,has-autodetect-xo;
Sameer Thalappilf6fb1892013-09-06 17:33:30 -0700657 qcom,wcnss-adc_tm = <&pm8226_adc_tm>;
Sheng Fangb6a06482013-03-20 13:21:36 +0800658 };
rockiec44833a32013-03-21 02:06:14 +0800659
660 qcom,msm-adsp-sensors {
661 compatible = "qcom,msm-adsp-sensors";
662 qcom,src-id = <11>;
663 qcom,dst-id = <604>;
664 qcom,ab = <32505856>;
665 qcom,ib = <32505856>;
666 };
667
Mitchel Humpherys5fe1c9b2012-10-09 17:30:19 -0700668 qcom,wdt@f9017000 {
669 compatible = "qcom,msm-watchdog";
670 reg = <0xf9017000 0x1000>;
671 interrupts = <0 3 0>, <0 4 0>;
672 qcom,bark-time = <11000>;
673 qcom,pet-time = <10000>;
Mitchel Humpherys1be23802012-11-16 15:52:32 -0800674 qcom,ipi-ping;
Mitchel Humpherys5fe1c9b2012-10-09 17:30:19 -0700675 };
676
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600677 qcom,smem@fa00000 {
678 compatible = "qcom,smem";
Jeff Hugo41e5c2f2013-04-26 11:38:32 -0600679 reg = <0xfa00000 0x100000>,
Stepan Moskovchenkod6ee8262013-02-06 11:26:05 -0800680 <0xf9011000 0x1000>,
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600681 <0xfc428000 0x4000>;
682 reg-names = "smem", "irq-reg-base", "aux-mem1";
683
684 qcom,smd-modem {
685 compatible = "qcom,smd";
686 qcom,smd-edge = <0>;
687 qcom,smd-irq-offset = <0x8>;
688 qcom,smd-irq-bitmask = <0x1000>;
689 qcom,pil-string = "modem";
690 interrupts = <0 25 1>;
David Ngb715e322012-12-01 12:57:08 -0800691 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600692
693 qcom,smsm-modem {
694 compatible = "qcom,smsm";
695 qcom,smsm-edge = <0>;
696 qcom,smsm-irq-offset = <0x8>;
697 qcom,smsm-irq-bitmask = <0x2000>;
698 interrupts = <0 26 1>;
David Ngb715e322012-12-01 12:57:08 -0800699 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600700
701 qcom,smd-adsp {
702 compatible = "qcom,smd";
703 qcom,smd-edge = <1>;
704 qcom,smd-irq-offset = <0x8>;
705 qcom,smd-irq-bitmask = <0x100>;
706 qcom,pil-string = "adsp";
707 interrupts = <0 156 1>;
David Ngb715e322012-12-01 12:57:08 -0800708 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600709
710 qcom,smsm-adsp {
711 compatible = "qcom,smsm";
712 qcom,smsm-edge = <1>;
713 qcom,smsm-irq-offset = <0x8>;
714 qcom,smsm-irq-bitmask = <0x200>;
715 interrupts = <0 157 1>;
David Ngb715e322012-12-01 12:57:08 -0800716 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600717
718 qcom,smd-wcnss {
719 compatible = "qcom,smd";
720 qcom,smd-edge = <6>;
721 qcom,smd-irq-offset = <0x8>;
722 qcom,smd-irq-bitmask = <0x20000>;
723 qcom,pil-string = "wcnss";
724 interrupts = <0 142 1>;
David Ngb715e322012-12-01 12:57:08 -0800725 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600726
727 qcom,smsm-wcnss {
728 compatible = "qcom,smsm";
729 qcom,smsm-edge = <6>;
730 qcom,smsm-irq-offset = <0x8>;
731 qcom,smsm-irq-bitmask = <0x80000>;
732 interrupts = <0 144 1>;
David Ngb715e322012-12-01 12:57:08 -0800733 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600734
735 qcom,smd-rpm {
736 compatible = "qcom,smd";
737 qcom,smd-edge = <15>;
738 qcom,smd-irq-offset = <0x8>;
739 qcom,smd-irq-bitmask = <0x1>;
740 interrupts = <0 168 1>;
741 qcom,irq-no-suspend;
David Ngb715e322012-12-01 12:57:08 -0800742 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600743 };
744
Praveen Chidambaramc8af25e2012-12-19 11:27:36 -0700745 rpm_bus: qcom,rpm-smd {
746 compatible = "qcom,rpm-smd";
747 rpm-channel-name = "rpm_requests";
748 rpm-channel-type = <15>; /* SMD_APPS_RPM */
Praveen Chidambaramc8af25e2012-12-19 11:27:36 -0700749 };
750
Jennifer Liu86687d52013-05-29 15:51:40 -0700751 qcom,bcl {
752 compatible = "qcom,bcl";
753 };
754
Pratibhasagar Vc20526a2013-10-09 18:59:45 +0530755 rmtfs_sharedmem {
756 compatible = "qcom,sharedmem-uio";
757 reg = <0x0fd80000 0x00180000>;
758 reg-names = "rmtfs";
759 };
760
761 dsp_sharedmem {
762 compatible = "qcom,sharedmem-uio";
763 reg = <0x0fd60000 0x00020000>;
764 reg-names = "rfsa_dsp";
765 };
766
767 mdm_sharedmem {
768 compatible = "qcom,sharedmem-uio";
769 reg = <0x0fd60000 0x00020000>;
770 reg-names = "rfsa_mdm";
771 };
772
Asutosh Das99912e62012-12-06 12:38:46 +0530773 sdcc1: qcom,sdcc@f9824000 {
774 cell-index = <1>; /* SDC1 eMMC slot */
775 compatible = "qcom,msm-sdcc";
776
Asutosh Das6b82fc52012-11-23 12:00:26 +0530777 reg = <0xf9824000 0x800>,
778 <0xf9824800 0x100>,
779 <0xf9804000 0x7000>;
780 reg-names = "core_mem", "dml_mem", "bam_mem";
781 interrupts = <0 123 0>, <0 137 0>;
782 interrupt-names = "core_irq", "bam_irq";
Asutosh Das99912e62012-12-06 12:38:46 +0530783
784 qcom,bus-width = <8>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700785
Asutosh Das5701e102014-03-28 11:40:41 +0530786 qcom,cpu-dma-latency-us = <701>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700787 qcom,msm-bus,name = "sdcc1";
788 qcom,msm-bus,num-cases = <8>;
789 qcom,msm-bus,num-paths = <1>;
790 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
791 <78 512 1600 3200>, /* 400 KB/s*/
792 <78 512 80000 160000>, /* 20 MB/s */
793 <78 512 100000 200000>, /* 25 MB/s */
794 <78 512 200000 400000>, /* 50 MB/s */
795 <78 512 400000 800000>, /* 100 MB/s */
796 <78 512 400000 800000>, /* 200 MB/s */
797 <78 512 2048000 4096000>; /* Max. bandwidth */
798 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
799 100000000 200000000 4294967295>;
800
Asutosh Das99912e62012-12-06 12:38:46 +0530801 status = "disabled";
802 };
803
Sahitya Tummala9e001362013-03-28 11:00:55 +0530804 sdhc_1: sdhci@f9824900 {
805 compatible = "qcom,sdhci-msm";
806 reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
807 reg-names = "hc_mem", "core_mem";
808
809 interrupts = <0 123 0>, <0 138 0>;
810 interrupt-names = "hc_irq", "pwr_irq";
811
812 qcom,bus-width = <8>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700813
Asutosh Das5701e102014-03-28 11:40:41 +0530814 qcom,cpu-dma-latency-us = <701>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700815 qcom,msm-bus,name = "sdhc1";
816 qcom,msm-bus,num-cases = <8>;
817 qcom,msm-bus,num-paths = <1>;
818 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
819 <78 512 1600 3200>, /* 400 KB/s*/
820 <78 512 80000 160000>, /* 20 MB/s */
821 <78 512 100000 200000>, /* 25 MB/s */
822 <78 512 200000 400000>, /* 50 MB/s */
823 <78 512 400000 800000>, /* 100 MB/s */
824 <78 512 400000 800000>, /* 200 MB/s */
825 <78 512 2048000 4096000>; /* Max. bandwidth */
826 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
827 100000000 200000000 4294967295>;
828
Sahitya Tummala9e001362013-03-28 11:00:55 +0530829 status = "disabled";
830 };
831
Asutosh Das99912e62012-12-06 12:38:46 +0530832 sdcc2: qcom,sdcc@f98a4000 {
833 cell-index = <2>; /* SDC2 SD card slot */
834 compatible = "qcom,msm-sdcc";
835
Asutosh Das6b82fc52012-11-23 12:00:26 +0530836 reg = <0xf98a4000 0x800>,
837 <0xf98a4800 0x100>,
838 <0xf9884000 0x7000>;
839 reg-names = "core_mem", "dml_mem", "bam_mem";
840 interrupts = <0 125 0>, <0 220 0>;
841 interrupt-names = "core_irq", "bam_irq";
Asutosh Das99912e62012-12-06 12:38:46 +0530842
843 qcom,bus-width = <4>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700844
Asutosh Das5701e102014-03-28 11:40:41 +0530845 qcom,cpu-dma-latency-us = <701>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700846 qcom,msm-bus,name = "sdcc2";
847 qcom,msm-bus,num-cases = <8>;
848 qcom,msm-bus,num-paths = <1>;
849 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
850 <81 512 1600 3200>, /* 400 KB/s*/
851 <81 512 80000 160000>, /* 20 MB/s */
852 <81 512 100000 200000>, /* 25 MB/s */
853 <81 512 200000 400000>, /* 50 MB/s */
854 <81 512 400000 800000>, /* 100 MB/s */
855 <81 512 400000 800000>, /* 200 MB/s */
856 <81 512 2048000 4096000>; /* Max. bandwidth */
857 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
858 100000000 200000000 4294967295>;
859
Asutosh Das99912e62012-12-06 12:38:46 +0530860 status = "disabled";
861 };
Kenneth Heitkee5804002012-11-15 17:50:07 -0700862
Sahitya Tummala9e001362013-03-28 11:00:55 +0530863 sdhc_2: sdhci@f98a4900 {
864 compatible = "qcom,sdhci-msm";
865 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
866 reg-names = "hc_mem", "core_mem";
867
868 interrupts = <0 125 0>, <0 221 0>;
869 interrupt-names = "hc_irq", "pwr_irq";
870
871 qcom,bus-width = <4>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700872
Asutosh Das5701e102014-03-28 11:40:41 +0530873 qcom,cpu-dma-latency-us = <701>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700874 qcom,msm-bus,name = "sdhc2";
875 qcom,msm-bus,num-cases = <8>;
876 qcom,msm-bus,num-paths = <1>;
877 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
878 <81 512 1600 3200>, /* 400 KB/s*/
879 <81 512 80000 160000>, /* 20 MB/s */
880 <81 512 100000 200000>, /* 25 MB/s */
881 <81 512 200000 400000>, /* 50 MB/s */
882 <81 512 400000 800000>, /* 100 MB/s */
883 <81 512 400000 800000>, /* 200 MB/s */
884 <81 512 2048000 4096000>; /* Max. bandwidth */
885 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
886 100000000 200000000 4294967295>;
887
Sahitya Tummala9e001362013-03-28 11:00:55 +0530888 status = "disabled";
889 };
890
Krishna Kondaf92e4262013-07-08 16:21:57 -0700891 sdcc3: qcom,sdcc@f9864000 {
892 cell-index = <3>;
893 compatible = "qcom,msm-sdcc";
894 reg = <0xf9864000 0x800>,
895 <0xf9864800 0x100>,
896 <0xf9844000 0x7000>;
897 reg-names = "core_mem", "dml_mem", "bam_mem";
898
899 qcom,bus-width = <4>;
Asutosh Das5701e102014-03-28 11:40:41 +0530900 qcom,cpu-dma-latency-us = <701>;
Krishna Kondaf92e4262013-07-08 16:21:57 -0700901 gpios = <&msmgpio 44 0>, /* CLK */
902 <&msmgpio 43 0>, /* CMD */
903 <&msmgpio 42 0>, /* DATA0 */
904 <&msmgpio 41 0>, /* DATA1 */
905 <&msmgpio 40 0>, /* DATA2 */
906 <&msmgpio 39 0>; /* DATA3 */
907 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
908
909 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
910
911 qcom,msm-bus,name = "sdcc3";
912 qcom,msm-bus,num-cases = <8>;
913 qcom,msm-bus,num-paths = <1>;
914 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
915 <79 512 1600 3200>, /* 400 KB/s*/
916 <79 512 80000 160000>, /* 20 MB/s */
917 <79 512 100000 200000>, /* 25 MB/s */
918 <79 512 200000 400000>, /* 50 MB/s */
919 <79 512 400000 800000>, /* 100 MB/s */
920 <79 512 400000 800000>, /* 200 MB/s */
921 <79 512 2048000 4096000>; /* Max. bandwidth */
922 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
923 100000000 200000000 4294967295>;
924
925 #address-cells = <0>;
926 interrupt-parent = <&sdcc3>;
927 interrupts = <0 1 2>;
928 #interrupt-cells = <1>;
929 interrupt-map-mask = <0xffffffff>;
930 interrupt-map = <0 &intc 0 127 0
931 1 &intc 0 223 0
932 2 &msmgpio 41 0x8>;
933 interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq";
934
935 status = "disabled";
936 };
937
938 sdhc_3: sdhci@f9864900 {
939 compatible = "qcom,sdhci-msm";
940 reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
941 reg-names = "hc_mem", "core_mem";
942
943 qcom,bus-width = <4>;
Asutosh Das5701e102014-03-28 11:40:41 +0530944 qcom,cpu-dma-latency-us = <701>;
Krishna Kondaf92e4262013-07-08 16:21:57 -0700945 gpios = <&msmgpio 44 0>, /* CLK */
946 <&msmgpio 43 0>, /* CMD */
947 <&msmgpio 42 0>, /* DATA0 */
948 <&msmgpio 41 0>, /* DATA1 */
949 <&msmgpio 40 0>, /* DATA2 */
950 <&msmgpio 39 0>; /* DATA3 */
951 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
952
953 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
954
955 qcom,msm-bus,name = "sdhc3";
956 qcom,msm-bus,num-cases = <8>;
957 qcom,msm-bus,num-paths = <1>;
958 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
959 <79 512 1600 3200>, /* 400 KB/s*/
960 <79 512 80000 160000>, /* 20 MB/s */
961 <79 512 100000 200000>, /* 25 MB/s */
962 <79 512 200000 400000>, /* 50 MB/s */
963 <79 512 400000 800000>, /* 100 MB/s */
964 <79 512 400000 800000>, /* 200 MB/s */
965 <79 512 2048000 4096000>; /* Max. bandwidth */
966 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
967 100000000 200000000 4294967295>;
968
969 #address-cells = <0>;
970 interrupt-parent = <&sdhc_3>;
971 interrupts = <0 1 2>;
972 #interrupt-cells = <1>;
973 interrupt-map-mask = <0xffffffff>;
974 interrupt-map = <0 &intc 0 127 0
975 1 &intc 0 224 0
976 2 &msmgpio 41 0x8>;
977 interrupt-names = "hc_irq", "pwr_irq", "sdiowakeup_irq";
978
979 status = "disabled";
980 };
981
Kenneth Heitkee5804002012-11-15 17:50:07 -0700982 spmi_bus: qcom,spmi@fc4c0000 {
983 cell-index = <0>;
984 compatible = "qcom,spmi-pmic-arb";
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700985 reg-names = "core", "intr", "cnfg";
Kenneth Heitkee5804002012-11-15 17:50:07 -0700986 reg = <0xfc4cf000 0x1000>,
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700987 <0Xfc4cb000 0x1000>,
988 <0Xfc4ca000 0x1000>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700989 /* 190,ee0_krait_hlos_spmi_periph_irq */
990 /* 187,channel_0_krait_hlos_trans_done_irq */
991 interrupts = <0 190 0>, <0 187 0>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700992 qcom,pmic-arb-ee = <0>;
993 qcom,pmic-arb-channel = <0>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700994 };
995
Madan Mohan Koyyalamudi2d7c6f52013-06-19 17:49:45 -0700996 i2c@f9925000 { /* BLSP-1 QUP-3 */
997 cell-index = <2>;
998 compatible = "qcom,i2c-qup";
999 reg = <0xf9925000 0x1000>;
1000 #address-cells = <1>;
1001 #size-cells = <0>;
1002 reg-names = "qup_phys_addr";
1003 interrupts = <0 97 0>;
1004 interrupt-names = "qup_err_intr";
1005 qcom,i2c-bus-freq = <400000>;
1006 qcom,i2c-src-freq = <19200000>;
Houston Hoffmanbf7baa92013-11-27 10:53:23 -08001007 qcom,sda-gpio = <&msmgpio 10 0>;
1008 qcom,scl-gpio = <&msmgpio 11 0>;
1009 qcom,master-id = <86>;
Madan Mohan Koyyalamudi2d7c6f52013-06-19 17:49:45 -07001010 };
Ke Liuee28af42013-11-07 16:40:00 -08001011 i2c_0: i2c@f9926000 { /* BLSP-1 QUP-4 */
Gilad Avidov28e18eb2012-11-21 18:13:25 -07001012 cell-index = <0>;
1013 compatible = "qcom,i2c-qup";
1014 reg = <0xf9926000 0x1000>;
1015 #address-cells = <1>;
1016 #size-cells = <0>;
1017 reg-names = "qup_phys_addr";
1018 interrupts = <0 98 0>;
1019 interrupt-names = "qup_err_intr";
1020 qcom,i2c-bus-freq = <100000>;
Ke Liuee28af42013-11-07 16:40:00 -08001021 qcom,i2c-src-freq = <19200000>;
1022 qcom,master-id = <86>;
Gilad Avidov28e18eb2012-11-21 18:13:25 -07001023 };
Patrick Daly99a52ca2012-10-23 12:00:45 -07001024
Amy Maloche41708ba2013-03-03 15:19:27 -08001025 i2c@f9927000 { /* BLSP1 QUP5 */
1026 cell-index = <5>;
1027 compatible = "qcom,i2c-qup";
1028 #address-cells = <1>;
1029 #size-cells = <0>;
1030 reg-names = "qup_phys_addr";
1031 reg = <0xf9927000 0x1000>;
1032 interrupt-names = "qup_err_intr";
1033 interrupts = <0 99 0>;
Amy Maloche118e5d62013-05-01 14:53:35 -07001034 qcom,i2c-bus-freq = <384000>;
Amy Maloche41708ba2013-03-03 15:19:27 -08001035 qcom,i2c-src-freq = <19200000>;
Amy Malochebf346092013-07-31 12:57:28 -07001036 qcom,sda-gpio = <&msmgpio 18 0>;
1037 qcom,scl-gpio = <&msmgpio 19 0>;
Amy Maloche41708ba2013-03-03 15:19:27 -08001038 };
1039
Patrick Daly784c5f62013-07-23 19:33:32 -07001040 qcom,clock-a7@f9011050 {
1041 compatible = "qcom,clock-a7-8226";
Patrick Daly4fd80f42013-06-18 11:09:15 -07001042 reg = <0xf9011050 0x8>;
Patrick Daly784c5f62013-07-23 19:33:32 -07001043 reg-names = "rcg-base";
1044 clock-names = "clk-4", "clk-5";
1045 qcom,speed0-bin-v0 =
1046 < 0 0>,
Ke Liu9102dcf2014-02-10 11:50:28 -08001047 < 384000000 1>,
1048 < 787200000 2>,
1049 <1190400000 3>;
Patrick Daly784c5f62013-07-23 19:33:32 -07001050
1051 cpu-vdd-supply = <&apc_vreg_corner>;
1052 };
1053
Saravana Kannan4bbc9932013-11-24 03:45:00 -08001054 qcom,cpubw {
1055 compatible = "qcom,cpubw";
1056 qcom,cpu-mem-ports = <1 512>;
1057 qcom,bw-tbl =
1058 < 1525 /* 200 MHz */ >,
1059 < 2441 /* 320 MHz */ >,
1060 < 3051 /* 400 MHz */ >,
1061 < 4066 /* 533 MHz */ >;
1062 };
1063
Patrick Daly784c5f62013-07-23 19:33:32 -07001064 qcom,msm-cpufreq@0 {
1065 reg = <0 4>;
1066 compatible = "qcom,msm-cpufreq";
Patrick Daly784c5f62013-07-23 19:33:32 -07001067 qcom,cpufreq-table =
Saravana Kannan4bbc9932013-11-24 03:45:00 -08001068 < 300000 1525 >,
1069 < 384000 1525 >,
1070 < 600000 1525 >,
Taniya Dasd464ab12014-04-08 12:35:27 +05301071 < 787200 1525 >,
Saravana Kannan4bbc9932013-11-24 03:45:00 -08001072 < 998400 4066 >,
1073 < 1094400 4066 >,
1074 < 1190400 4066 >,
1075 < 1305600 4066 >,
1076 < 1344000 4066 >,
1077 < 1401600 4066 >,
1078 < 1497600 4066 >,
Patrick Dalycd999822014-01-17 15:16:52 -08001079 < 1593600 4066 >,
1080 < 1689600 4066 >,
1081 < 1785600 4066 >;
Patrick Daly99a52ca2012-10-23 12:00:45 -07001082 };
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001083
1084 qcom,ocmem@fdd00000 {
1085 compatible = "qcom,msm-ocmem";
1086 reg = <0xfdd00000 0x2000>,
1087 <0xfdd02000 0x2000>,
1088 <0xfe039000 0x400>,
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001089 <0xfec00000 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001090 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
1091 interrupts = <0 76 0 0 77 0>;
1092 interrupt-names = "ocmem_irq", "dm_irq";
1093 qcom,ocmem-num-regions = <0x1>;
1094 qcom,ocmem-num-macros = <0x2>;
1095 qcom,resource-type = <0x706d636f>;
1096 #address-cells = <1>;
1097 #size-cells = <1>;
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001098 ranges = <0x0 0xfec00000 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001099
1100 partition@0 {
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001101 reg = <0x0 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001102 qcom,ocmem-part-name = "graphics";
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001103 qcom,ocmem-part-min = <0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001104 };
1105 };
1106
Patrick Dalyb83f0b02013-01-09 12:36:19 -08001107 qcom,venus@fdce0000 {
1108 compatible = "qcom,pil-venus";
1109 reg = <0xfdce0000 0x4000>,
1110 <0xfdc80000 0x400>;
1111 reg-names = "wrapper_base", "vbif_base";
1112 vdd-supply = <&gdsc_venus>;
1113
1114 qcom,firmware-name = "venus";
1115 };
Patrick Daly1e3bc6c2013-01-09 12:34:25 -08001116
1117 qcom,pronto@fb21b000 {
1118 compatible = "qcom,pil-pronto";
1119 reg = <0xfb21b000 0x3000>,
1120 <0xfc401700 0x4>,
1121 <0xfd485300 0xc>;
1122 reg-names = "pmu_base", "clk_base", "halt_base";
1123 interrupts = <0 149 1>;
David Keitel7184c6e2013-02-11 13:23:04 -08001124 vdd_pronto_pll-supply = <&pm8226_l8>;
Patrick Daly1e3bc6c2013-01-09 12:34:25 -08001125
1126 qcom,firmware-name = "wcnss";
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -07001127
Sameer Thalappil4ba86302013-04-05 17:36:54 -07001128 /* GPIO inputs from wcnss */
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -07001129 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>;
Sameer Thalappilb1e03c02013-04-29 14:52:00 -07001130 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>;
Sameer Thalappil4ba86302013-04-05 17:36:54 -07001131 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>;
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -07001132
1133 /* GPIO output to wcnss */
1134 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>;
Patrick Daly1e3bc6c2013-01-09 12:34:25 -08001135 };
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001136
Sheng Fang0a85b0d2013-03-19 08:16:51 +08001137 qcom,iris-fm {
1138 compatible = "qcom,iris_fm";
1139 };
1140
Patrick Daly4df59842013-01-09 12:31:40 -08001141 qcom,lpass@fe200000 {
1142 compatible = "qcom,pil-q6v5-lpass";
1143 reg = <0xfe200000 0x00100>,
Matt Wagantall015b50af2013-03-05 18:51:16 -08001144 <0xfd485100 0x00010>,
1145 <0xfc4016c0 0x00004>;
1146 reg-names = "qdsp6_base", "halt_base", "restart_reg";
David Keitelf4c8b8b2013-02-25 15:25:27 -08001147 vdd_cx-supply = <&pm8226_s1_corner>;
Patrick Daly4df59842013-01-09 12:31:40 -08001148 interrupts = <0 162 1>;
1149
1150 qcom,firmware-name = "adsp";
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -07001151
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -07001152 /* GPIO inputs from lpass */
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -07001153 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -07001154 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
Ravishankar Sarawadi7edc9d72013-04-09 18:15:03 -07001155 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -07001156
1157 /* GPIO output to lpass */
1158 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
Patrick Daly4df59842013-01-09 12:31:40 -08001159 };
1160
Patrick Daly742337f2013-01-29 12:06:06 -08001161 qcom,mss@fc880000 {
1162 compatible = "qcom,pil-q6v5-mss";
1163 reg = <0xfc880000 0x100>,
1164 <0xfd485000 0x400>,
1165 <0xfc820000 0x020>,
1166 <0xfc401680 0x004>,
Patrick Daly742337f2013-01-29 12:06:06 -08001167 <0xfd485194 0x4>;
1168 reg-names = "qdsp6_base", "halt_base", "rmb_base",
Matt Wagantall724b2bb2013-03-18 14:54:06 -07001169 "restart_reg", "cxrail_bhs_reg";
Patrick Daly742337f2013-01-29 12:06:06 -08001170
1171 interrupts = <0 24 1>;
Patrick Daly742337f2013-01-29 12:06:06 -08001172 vdd_cx-supply = <&pm8226_s1_corner>;
1173 vdd_mx-supply = <&pm8226_l3>;
1174 vdd_pll-supply = <&pm8226_l8>;
1175 qcom,vdd_pll = <1800000>;
1176
1177 qcom,is-loadable;
1178 qcom,firmware-name = "mba";
1179 qcom,pil-self-auth;
Patrick Dalyfe258e22013-03-22 21:02:14 -07001180
Seemanta Duttaa0f253e2013-01-16 18:54:40 -08001181 /* GPIO inputs from mss */
Patrick Dalyfe258e22013-03-22 21:02:14 -07001182 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
Seemanta Dutta9fb72ed2013-01-25 14:22:15 -08001183 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
Seemanta Duttaa0f253e2013-01-16 18:54:40 -08001184 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
Seemanta Dutta0adbbf02013-03-12 17:26:17 -07001185 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>;
Patrick Dalyfe258e22013-03-22 21:02:14 -07001186
1187 /* GPIO output to mss */
1188 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
Patrick Daly742337f2013-01-29 12:06:06 -08001189 };
1190
Neeti Desaif82314e2013-08-09 15:59:54 -07001191 memory_hole: qcom,msm-mem-hole {
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001192 compatible = "qcom,msm-mem-hole";
Neeti Desai183b33d2013-08-09 14:58:38 -07001193 qcom,memblock-remove = <0x08400000 0x4000000
1194 0x0d200000 0x2300000
1195 0x0fa00000 0x500000>; /* Address and Size of Hole */
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001196 };
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001197
1198 tsens: tsens@fc4a8000 {
1199 compatible = "qcom,msm-tsens";
1200 reg = <0xfc4a8000 0x2000>,
Siddartha Mohanadoss6ddc1922013-07-08 17:40:11 -07001201 <0xfc4bc000 0x1000>;
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001202 reg-names = "tsens_physical", "tsens_eeprom_physical";
1203 interrupts = <0 184 0>;
Siddartha Mohanadoss9a4e94a2013-03-06 19:15:59 -08001204 qcom,sensors = <4>;
1205 qcom,slope = <2901 2846 3038 2955>;
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001206 qcom,calib-mode = "fuse_map2";
1207 };
Praveen Chidambarama03bda52013-02-12 21:23:13 -07001208
1209 qcom,msm-thermal {
1210 compatible = "qcom,msm-thermal";
1211 qcom,sensor-id = <0>;
1212 qcom,poll-ms = <250>;
1213 qcom,limit-temp = <60>;
1214 qcom,temp-hysteresis = <10>;
1215 qcom,freq-step = <2>;
Praveen Chidambarama7435ce2013-05-03 12:52:42 -06001216 qcom,freq-control-mask = <0xf>;
Jennifer Liu003438d2013-06-21 11:24:20 -07001217 qcom,core-limit-temp = <80>;
1218 qcom,core-temp-hysteresis = <10>;
1219 qcom,core-control-mask = <0xe>;
Jennifer Liuf2515e32013-09-24 10:28:22 -07001220 qcom,hotplug-temp = <110>;
1221 qcom,hotplug-temp-hysteresis = <20>;
1222 qcom,cpu-sensors = "tsens_tz_sensor5", "tsens_tz_sensor5",
1223 "tsens_tz_sensor2", "tsens_tz_sensor2";
Jennifer Liu53bb5642013-06-26 10:42:42 -07001224 qcom,vdd-restriction-temp = <5>;
1225 qcom,vdd-restriction-temp-hysteresis = <10>;
1226 vdd-dig-supply = <&pm8226_s1_floor_corner>;
1227
1228 qcom,vdd-dig-rstr{
1229 qcom,vdd-rstr-reg = "vdd-dig";
1230 qcom,levels = <5 7 7>; /* Nominal, Super Turbo, Super Turbo */
1231 qcom,min-level = <1>; /* No Request */
1232 };
1233
1234 qcom,vdd-apps-rstr{
1235 qcom,vdd-rstr-reg = "vdd-apps";
1236 qcom,levels = <600000 787200 998400>;
1237 qcom,freq-req;
1238 };
Praveen Chidambarama03bda52013-02-12 21:23:13 -07001239 };
1240
Gilad Avidovd59217c2013-02-01 13:45:59 -07001241 spi_0: spi@f9923000 { /* BLSP1 QUP1 */
1242 compatible = "qcom,spi-qup-v2";
1243 #address-cells = <1>;
1244 #size-cells = <0>;
1245 reg-names = "spi_physical", "spi_bam_physical";
1246 reg = <0xf9923000 0x1000>,
1247 <0xf9904000 0xF000>;
1248 interrupt-names = "spi_irq", "spi_bam_irq";
1249 interrupts = <0 95 0>, <0 238 0>;
1250 spi-max-frequency = <19200000>;
1251
Gilad Avidovcff4ca72013-07-01 17:35:36 -06001252 qcom,gpio-mosi = <&msmgpio 0 0>;
1253 qcom,gpio-miso = <&msmgpio 1 0>;
1254 qcom,gpio-clk = <&msmgpio 3 0>;
1255 qcom,gpio-cs0 = <&msmgpio 22 0>;
Gilad Avidovd59217c2013-02-01 13:45:59 -07001256
1257 qcom,infinite-mode = <0>;
1258 qcom,use-bam;
1259 qcom,ver-reg-exists;
1260 qcom,bam-consumer-pipe-index = <12>;
1261 qcom,bam-producer-pipe-index = <13>;
Gilad Avidovcff4ca72013-07-01 17:35:36 -06001262 qcom,master-id = <86>;
Gilad Avidovd59217c2013-02-01 13:45:59 -07001263 };
1264
Jeff Hugo72e10912013-03-05 11:17:38 -07001265 qcom,bam_dmux@fc834000 {
1266 compatible = "qcom,bam_dmux";
1267 reg = <0xfc834000 0x7000>;
1268 interrupts = <0 29 1>;
1269 };
Pushkar Joshi4f3aa0b2013-03-07 22:44:04 -08001270
1271 qcom,msm-rtb {
1272 compatible = "qcom,msm-rtb";
1273 qcom,memory-reservation-type = "EBI1";
1274 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
1275 };
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001276
Hariprasad Dhalinarasimhab548ee52013-03-11 19:06:30 -07001277 qcom,msm-rng@f9bff000 {
1278 compatible = "qcom,msm-rng";
1279 reg = <0xf9bff000 0x200>;
1280 qcom,msm-rng-iface-clk;
Hariprasad Dhalinarasimhae799fb72013-06-03 13:51:38 -07001281 qcom,msm-bus,name = "msm-rng-noc";
1282 qcom,msm-bus,num-cases = <2>;
1283 qcom,msm-bus,num-paths = <1>;
1284 qcom,msm-bus,vectors-KBps =
Sana Venkat Rajufb66bf12014-02-10 14:28:49 +05301285 <54 618 0 0>,
1286 <54 618 0 800>;
Hariprasad Dhalinarasimhab548ee52013-03-11 19:06:30 -07001287 };
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001288
Hariprasad Dhalinarasimha4ba4d802013-03-21 13:03:09 -07001289 qcom,tz-log@fe805720 {
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001290 compatible = "qcom,tz-log";
Hariprasad Dhalinarasimha4ba4d802013-03-21 13:03:09 -07001291 reg = <0x0fe805720 0x1000>;
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001292 };
Pushkar Joshi85a53192013-03-11 11:15:15 -07001293
Pratik Patelf2945ef2013-06-13 23:52:05 -07001294 jtag_fuse: jtagfuse@fc4be024 {
1295 compatible = "qcom,jtag-fuse";
1296 reg = <0xfc4be024 0x8>;
1297 reg-names = "fuse-base";
1298 };
1299
Pushkar Joshi85a53192013-03-11 11:15:15 -07001300 jtag_mm0: jtagmm@fc33c000 {
1301 compatible = "qcom,jtag-mm";
1302 reg = <0xfc33c000 0x1000>,
1303 <0xfc330000 0x1000>;
1304 reg-names = "etm-base","debug-base";
1305 };
1306
1307 jtag_mm1: jtagmm@fc33d000 {
1308 compatible = "qcom,jtag-mm";
1309 reg = <0xfc33d000 0x1000>,
1310 <0xfc332000 0x1000>;
1311 reg-names = "etm-base","debug-base";
1312 };
1313
1314 jtag_mm2: jtagmm@fc33e000 {
1315 compatible = "qcom,jtag-mm";
1316 reg = <0xfc33e000 0x1000>,
1317 <0xfc334000 0x1000>;
1318 reg-names = "etm-base","debug-base";
1319 };
1320
1321 jtag_mm3: jtagmm@fc33f000 {
1322 compatible = "qcom,jtag-mm";
1323 reg = <0xfc33f000 0x1000>,
1324 <0xfc336000 0x1000>;
1325 reg-names = "etm-base","debug-base";
1326 };
Jeff Hugo2be6bb022013-03-11 10:17:34 -06001327
1328 qcom,ipc-spinlock@fd484000 {
1329 compatible = "qcom,ipc-spinlock-sfpb";
1330 reg = <0xfd484000 0x400>;
1331 qcom,num-locks = <8>;
1332 };
Hariprasad Dhalinarasimha805ea4d2013-03-14 11:16:12 -07001333
1334 qcom,qseecom@d980000 {
1335 compatible = "qcom,qseecom";
1336 reg = <0xd980000 0x256000>;
1337 reg-names = "secapp-region";
1338 qcom,disk-encrypt-pipe-pair = <2>;
1339 qcom,hlos-ce-hw-instance = <0>;
1340 qcom,qsee-ce-hw-instance = <0>;
Zhen Kongb231caa2014-01-08 09:39:02 -08001341 qcom,support-bus-scaling;
Hariprasad Dhalinarasimha805ea4d2013-03-14 11:16:12 -07001342 qcom,msm-bus,name = "qseecom-noc";
1343 qcom,msm-bus,num-cases = <4>;
1344 qcom,msm-bus,active-only = <0>;
1345 qcom,msm-bus,num-paths = <1>;
Zhen Kong42c90852014-03-25 11:40:49 -07001346 qcom,support-fde;
Hariprasad Dhalinarasimha805ea4d2013-03-14 11:16:12 -07001347 qcom,msm-bus,vectors-KBps =
1348 <55 512 0 0>,
Zhen Kongb231caa2014-01-08 09:39:02 -08001349 <55 512 0 0>,
1350 <55 512 120000 1200000>,
1351 <55 512 393600 3936000>;
Hariprasad Dhalinarasimha805ea4d2013-03-14 11:16:12 -07001352 };
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001353
1354 qcom,qcrypto@fd404000 {
1355 compatible = "qcom,qcrypto";
1356 reg = <0xfd400000 0x20000>,
1357 <0xfd404000 0x8000>;
1358 reg-names = "crypto-base","crypto-bam-base";
1359 interrupts = <0 207 0>;
1360 qcom,bam-pipe-pair = <2>;
1361 qcom,ce-hw-instance = <0>;
Zhen Kong62408f52014-03-25 12:33:03 -07001362 qcom,ce-device = <0>;
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001363 qcom,ce-hw-shared;
1364 qcom,msm-bus,name = "qcrypto-noc";
1365 qcom,msm-bus,num-cases = <2>;
1366 qcom,msm-bus,active-only = <0>;
1367 qcom,msm-bus,num-paths = <1>;
1368 qcom,msm-bus,vectors-KBps =
Hariprasad Dhalinarasimhaa2d749e2013-05-14 13:00:06 -07001369 <55 512 0 0>,
1370 <55 512 3936000 393600>;
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001371 };
1372
1373 qcom,qcedev@fd400000 {
1374 compatible = "qcom,qcedev";
1375 reg = <0xfd400000 0x20000>,
1376 <0xfd404000 0x8000>;
1377 reg-names = "crypto-base","crypto-bam-base";
1378 interrupts = <0 207 0>;
1379 qcom,bam-pipe-pair = <1>;
1380 qcom,ce-hw-instance = <0>;
Zhen Kong62408f52014-03-25 12:33:03 -07001381 qcom,ce-device = <0>;
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001382 qcom,ce-hw-shared;
1383 qcom,msm-bus,name = "qcedev-noc";
1384 qcom,msm-bus,num-cases = <2>;
1385 qcom,msm-bus,active-only = <0>;
1386 qcom,msm-bus,num-paths = <1>;
1387 qcom,msm-bus,vectors-KBps =
Hariprasad Dhalinarasimhaa2d749e2013-05-14 13:00:06 -07001388 <55 512 0 0>,
1389 <55 512 3936000 393600>;
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001390 };
Neil Leeder45fb9f62013-06-04 10:46:41 -04001391
1392 cpu-pmu {
1393 compatible = "arm,cortex-a7-pmu";
1394 qcom,irq-is-percpu;
1395 interrupts = <1 7 0xf00>;
1396 };
Neil Leeder763bab52014-04-01 16:32:53 -04001397
1398 bimc_sharedmem {
1399 compatible = "qcom,sharedmem-uio";
1400 reg = <0xfc380000 0x00100000>;
1401 reg-names = "bimc";
1402 };
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -07001403};
David Collins37ddb972012-10-17 15:00:26 -07001404
Patrick Dalye8977aa2012-11-06 15:25:58 -08001405&gdsc_venus {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001406 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001407 status = "ok";
1408};
1409
1410&gdsc_mdss {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001411 qcom,clock-names = "core_clk", "lut_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001412 status = "ok";
1413};
1414
1415&gdsc_jpeg {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001416 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001417 status = "ok";
1418};
1419
1420&gdsc_vfe {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001421 qcom,clock-names = "core_clk", "csi_clk", "cpp_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001422 status = "ok";
1423};
1424
1425&gdsc_oxili_cx {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001426 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001427 status = "ok";
1428};
1429
1430&gdsc_usb_hsic {
1431 status = "ok";
1432};
1433
David Keitel376b2682013-03-05 18:40:01 -08001434/include/ "msm-pm8226-rpm-regulator.dtsi"
Kenneth Heitkebea6ca22013-02-07 17:23:21 -07001435/include/ "msm-pm8226.dtsi"
David Keitel7184c6e2013-02-11 13:23:04 -08001436/include/ "msm8226-regulator.dtsi"
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001437
1438&pm8226_vadc {
1439 chan@0 {
1440 label = "usb_in";
1441 reg = <0>;
1442 qcom,decimation = <0>;
1443 qcom,pre-div-channel-scaling = <4>;
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@2 {
1451 label = "vchg_sns";
1452 reg = <2>;
1453 qcom,decimation = <0>;
1454 qcom,pre-div-channel-scaling = <3>;
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@5 {
1462 label = "vcoin";
1463 reg = <5>;
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@6 {
1473 label = "vbat_sns";
1474 reg = <6>;
1475 qcom,decimation = <0>;
1476 qcom,pre-div-channel-scaling = <1>;
1477 qcom,calibration-type = "absolute";
1478 qcom,scale-function = <0>;
1479 qcom,hw-settle-time = <0>;
1480 qcom,fast-avg-setup = <0>;
1481 };
1482
1483 chan@7 {
1484 label = "vph_pwr";
1485 reg = <7>;
1486 qcom,decimation = <0>;
1487 qcom,pre-div-channel-scaling = <1>;
1488 qcom,calibration-type = "absolute";
1489 qcom,scale-function = <0>;
1490 qcom,hw-settle-time = <0>;
1491 qcom,fast-avg-setup = <0>;
1492 };
1493
1494 chan@30 {
1495 label = "batt_therm";
1496 reg = <0x30>;
1497 qcom,decimation = <0>;
1498 qcom,pre-div-channel-scaling = <0>;
1499 qcom,calibration-type = "ratiometric";
1500 qcom,scale-function = <1>;
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 };
1504
1505 chan@31 {
1506 label = "batt_id";
1507 reg = <0x31>;
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 };
1515
1516 chan@b2 {
1517 label = "xo_therm_pu2";
1518 reg = <0xb2>;
1519 qcom,decimation = <0>;
1520 qcom,pre-div-channel-scaling = <0>;
1521 qcom,calibration-type = "ratiometric";
1522 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -08001523 qcom,hw-settle-time = <2>;
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001524 qcom,fast-avg-setup = <0>;
1525 };
David Keitelc51a7e52013-03-02 00:14:48 -08001526
Siddartha Mohanadoss3cb76152013-04-12 16:17:02 -07001527 chan@39 {
1528 label = "usb_id_nopull";
1529 reg = <0x39>;
1530 qcom,decimation = <0>;
1531 qcom,pre-div-channel-scaling = <0>;
1532 qcom,calibration-type = "ratiometric";
1533 qcom,scale-function = <0>;
1534 qcom,hw-settle-time = <2>;
1535 qcom,fast-avg-setup = <0>;
1536 };
David Keitelc51a7e52013-03-02 00:14:48 -08001537};
1538
Siddartha Mohanadoss8aea3172013-05-09 11:49:37 -07001539&pm8226_adc_tm {
1540 /* Channel Node */
1541 chan@30 {
1542 label = "batt_therm";
1543 reg = <0x30>;
1544 qcom,decimation = <0>;
1545 qcom,pre-div-channel-scaling = <0>;
1546 qcom,calibration-type = "ratiometric";
1547 qcom,scale-function = <1>;
1548 qcom,hw-settle-time = <2>;
1549 qcom,fast-avg-setup = <3>;
1550 qcom,btm-channel-number = <0x48>;
Siddartha Mohanadoss58ffe0e2014-02-11 17:40:13 -08001551 qcom,meas-interval-timer-idx = <2>;
Siddartha Mohanadoss8aea3172013-05-09 11:49:37 -07001552 };
1553
1554 chan@8 {
1555 label = "die_temp";
1556 reg = <8>;
1557 qcom,decimation = <0>;
1558 qcom,pre-div-channel-scaling = <0>;
1559 qcom,calibration-type = "absolute";
1560 qcom,scale-function = <3>;
1561 qcom,hw-settle-time = <0>;
1562 qcom,fast-avg-setup = <3>;
1563 qcom,btm-channel-number = <0x68>;
1564 };
1565
1566 chan@6 {
1567 label = "vbat_sns";
1568 reg = <6>;
1569 qcom,decimation = <0>;
1570 qcom,pre-div-channel-scaling = <1>;
1571 qcom,calibration-type = "absolute";
1572 qcom,scale-function = <0>;
1573 qcom,hw-settle-time = <0>;
1574 qcom,fast-avg-setup = <3>;
1575 qcom,btm-channel-number = <0x70>;
1576 };
1577
1578 chan@14 {
1579 label = "pa_therm0";
1580 reg = <0x14>;
1581 qcom,decimation = <0>;
1582 qcom,pre-div-channel-scaling = <0>;
1583 qcom,calibration-type = "ratiometric";
1584 qcom,scale-function = <2>;
1585 qcom,hw-settle-time = <2>;
1586 qcom,fast-avg-setup = <0>;
1587 qcom,btm-channel-number = <0x78>;
1588 qcom,thermal-node;
1589 };
1590
1591 chan@17 {
1592 label = "pa_therm1";
1593 reg = <0x17>;
1594 qcom,decimation = <0>;
1595 qcom,pre-div-channel-scaling = <0>;
1596 qcom,calibration-type = "ratiometric";
1597 qcom,scale-function = <2>;
1598 qcom,hw-settle-time = <2>;
1599 qcom,fast-avg-setup = <0>;
1600 qcom,btm-channel-number = <0x80>;
1601 qcom,thermal-node;
1602 };
1603};
1604
David Keitelc51a7e52013-03-02 00:14:48 -08001605&pm8226_chg {
1606 status = "ok";
1607
David Keitele89d4782013-03-27 11:29:59 -07001608 qcom,chgr@1000 {
David Keitelc51a7e52013-03-02 00:14:48 -08001609 status = "ok";
1610 };
1611
David Keitele89d4782013-03-27 11:29:59 -07001612 qcom,buck@1100 {
David Keitelc51a7e52013-03-02 00:14:48 -08001613 status = "ok";
1614 };
1615
David Keitele89d4782013-03-27 11:29:59 -07001616 qcom,bat-if@1200 {
Fenglin Wu009098a2013-03-08 15:50:51 -08001617 status = "ok";
1618 };
1619
David Keitele89d4782013-03-27 11:29:59 -07001620 qcom,usb-chgpth@1300 {
David Keitelc51a7e52013-03-02 00:14:48 -08001621 status = "ok";
1622 };
1623
David Keitele89d4782013-03-27 11:29:59 -07001624 qcom,boost@1500 {
David Keitelc51a7e52013-03-02 00:14:48 -08001625 status = "ok";
1626 };
1627
1628 qcom,chg-misc@1600 {
1629 status = "ok";
1630 };
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001631};