blob: 02c842cc188d97e3f9ade1251f02385ff67234cf [file] [log] [blame]
Mitchel Humpherys85d08692012-10-23 12:56:35 -07001/* Copyright (c) 2012-2013, 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"
60
61&soc {
62 #address-cells = <1>;
63 #size-cells = <1>;
64 ranges;
65
66 intc: interrupt-controller@f9000000 {
67 compatible = "qcom,msm-qgic2";
68 interrupt-controller;
69 #interrupt-cells = <3>;
70 reg = <0xF9000000 0x1000>,
71 <0xF9002000 0x1000>;
72 };
73
74 msmgpio: gpio@fd510000 {
75 compatible = "qcom,msm-gpio";
76 interrupt-controller;
77 #interrupt-cells = <2>;
78 reg = <0xfd510000 0x4000>;
79 gpio-controller;
80 #gpio-cells = <2>;
81 ngpio = <117>;
82 interrupts = <0 208 0>;
83 qcom,direct-connect-irqs = <8>;
Laura Abbottf3196b22013-03-11 16:22:34 -070084 };
85
Abhimanyu Kapur58d303a72013-04-30 16:13:41 -070086 qcom,mpm2-sleep-counter@fc4a3000 {
87 compatible = "qcom,mpm2-sleep-counter";
88 reg = <0xfc4a3000 0x1000>;
89 clock-frequency = <32768>;
90 };
91
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -070092 timer {
Syed Rameez Mustafa0824d6c2012-11-29 18:53:56 -080093 compatible = "arm,armv7-timer";
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -070094 interrupts = <1 2 0 1 3 0>;
95 clock-frequency = <19200000>;
96 };
97
Stephen Boyd72759f62013-04-10 14:20:27 -070098 timer@f9020000 {
99 #address-cells = <1>;
100 #size-cells = <1>;
101 ranges;
102 compatible = "arm,armv7-timer-mem";
103 reg = <0xf9020000 0x1000>;
104 clock-frequency = <19200000>;
105
106 frame@f9021000 {
107 frame-number = <0>;
108 interrupts = <0 8 0x4>,
109 <0 7 0x4>;
110 reg = <0xf9021000 0x1000>,
111 <0xf9022000 0x1000>;
112 };
113
114 frame@f9023000 {
115 frame-number = <1>;
116 interrupts = <0 9 0x4>;
117 reg = <0xf9023000 0x1000>;
118 status = "disabled";
119 };
120
121 frame@f9024000 {
122 frame-number = <2>;
123 interrupts = <0 10 0x4>;
124 reg = <0xf9024000 0x1000>;
125 status = "disabled";
126 };
127
128 frame@f9025000 {
129 frame-number = <3>;
130 interrupts = <0 11 0x4>;
131 reg = <0xf9025000 0x1000>;
132 status = "disabled";
133 };
134
135 frame@f9026000 {
136 frame-number = <4>;
137 interrupts = <0 12 0x4>;
138 reg = <0xf9026000 0x1000>;
139 status = "disabled";
140 };
141
142 frame@f9027000 {
143 frame-number = <5>;
144 interrupts = <0 13 0x4>;
145 reg = <0xf9027000 0x1000>;
146 status = "disabled";
147 };
148
149 frame@f9028000 {
150 frame-number = <6>;
151 interrupts = <0 14 0x4>;
152 reg = <0xf9028000 0x1000>;
153 status = "disabled";
154 };
155 };
156
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -0800157 qcom,vidc@fdc00000 {
158 compatible = "qcom,msm-vidc";
159 reg = <0xfdc00000 0xff000>;
160 interrupts = <0 44 0>;
Sachin Shah2863bbf2013-09-12 14:27:52 -0700161 vdd-supply = <&gdsc_venus>;
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -0800162 qcom,load-freq-tbl = <352800 160000000>,
163 <244800 133330000>,
164 <108000 66700000>;
165 qcom,hfi = "venus";
166 qcom,bus-ports = <1>;
167 qcom,reg-presets = <0xE0024 0x0>,
168 <0x80124 0x3>,
169 <0xE0020 0x5555556>,
170 <0x800B0 0x10101001>,
171 <0x800B4 0x00101010>,
172 <0x800C0 0x1010100f>,
173 <0x800C4 0x00101010>,
174 <0x800D0 0x00000010>,
175 <0x800D4 0x00000010>,
176 <0x800D8 0x00000707>;
177 qcom,enc-ddr-ab-ib = <0 0>,
178 <129000 142000>,
179 <384000 422000>,
180 <866000 953000>;
181 qcom,dec-ddr-ab-ib = <0 0>,
182 <103000 134000>,
183 <268000 348000>,
184 <505000 657000>;
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -0800185 qcom,buffer-type-tz-usage-table = <0x1 0x1>,
Cullum Baldwin673f9862013-10-25 17:39:47 -0700186 <0x6 0x2>,
187 <0x7C0 0x3>;
Deva Ramasubramanian74b1dda2013-03-27 13:16:17 -0700188 qcom,max-hw-load = <352800>; /* 720p @ 30 + 1080p @ 30 */
Eric Hoa00e2da2013-06-20 17:41:57 -0700189 qcom,vidc-iommu-domains {
190 qcom,domain-ns {
191 qcom,vidc-domain-phandle = <&venus_domain_ns>;
Praneeth Paladugu34a025d2013-09-20 16:53:23 -0700192 qcom,vidc-partition-buffer-types = <0x7ff>,
193 <0x800>;
Eric Hoa00e2da2013-06-20 17:41:57 -0700194 };
195
196 qcom,domain-cp {
197 qcom,vidc-domain-phandle = <&venus_domain_cp>;
Praneeth Paladugu34a025d2013-09-20 16:53:23 -0700198 qcom,vidc-partition-buffer-types = <0x6>,
199 <0x7c1>;
Eric Hoa00e2da2013-06-20 17:41:57 -0700200 };
201 };
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -0800202 };
203
Maheshwar Ajjac5c35a82013-09-04 15:04:54 +0530204 qcom,vidc {
205 compatible = "qcom,msm-vidc";
206 qcom,hfi = "q6";
207 qcom,max-hw-load = <108000>; /* 720p @ 30 * 1 */
208 };
209
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -0800210 qcom,wfd {
211 compatible = "qcom,msm-wfd";
212 };
213
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700214 serial@f991f000 {
215 compatible = "qcom,msm-lsuart-v14";
216 reg = <0xf991f000 0x1000>;
217 interrupts = <0 109 0>;
218 status = "disabled";
219 };
220
221 serial@f995e000 {
222 compatible = "qcom,msm-lsuart-v14";
223 reg = <0xf995e000 0x1000>;
224 interrupts = <0 114 0>;
225 status = "disabled";
226 };
227
Abhimanyu Kapur032b1f42013-01-18 00:10:50 -0800228 qcom,msm-imem@fe805000 {
229 compatible = "qcom,msm-imem";
230 reg = <0xfe805000 0x1000>; /* Address and size of IMEM */
231 };
232
Yan He7c06ce32012-12-03 17:12:31 -0800233 qcom,sps@f9984000 {
234 compatible = "qcom,msm_sps";
235 reg = <0xf9984000 0x15000>,
236 <0xf9999000 0xb000>;
237 interrupts = <0 94 0>;
238 };
239
Vamsi Krishna840835b2013-04-01 22:01:05 -0700240 qcom,usbbam@f9a44000 {
241 compatible = "qcom,usb-bam-msm";
242 reg = <0xf9a44000 0x11000>;
243 reg-names = "hsusb";
244 interrupts = <0 135 0>;
245 interrupt-names = "hsusb";
246 qcom,usb-bam-num-pipes = <16>;
247 qcom,usb-bam-fifo-baseaddr = <0xfe803000>;
248 qcom,ignore-core-reset-ack;
249 qcom,disable-clk-gating;
250
251 qcom,pipe0 {
252 label = "hsusb-qdss-in-0";
253 qcom,usb-bam-mem-type = <3>;
254 qcom,bam-type = <1>;
255 qcom,dir = <1>;
256 qcom,pipe-num = <0>;
257 qcom,peer-bam = <1>;
258 qcom,src-bam-physical-address = <0xfc37c000>;
259 qcom,src-bam-pipe-index = <0>;
260 qcom,dst-bam-physical-address = <0xf9a44000>;
261 qcom,dst-bam-pipe-index = <2>;
262 qcom,data-fifo-offset = <0x0>;
263 qcom,data-fifo-size = <0x600>;
264 qcom,descriptor-fifo-offset = <0x600>;
265 qcom,descriptor-fifo-size = <0x200>;
266 };
267 };
268
Manu Gautam41334e92013-06-04 17:49:25 +0530269 usb_otg: usb@f9a55000 {
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700270 compatible = "qcom,hsusb-otg";
271 reg = <0xf9a55000 0x400>;
Mayank Ranaac2a54f2013-01-17 10:14:35 +0530272 interrupts = <0 134 0>, <0 140 0>;
273 interrupt-names = "core_irq", "async_irq";
Mayank Rana8335a772013-03-06 10:12:27 +0530274 hsusb_vdd_dig-supply = <&pm8226_s1_corner>;
David Keitel7184c6e2013-02-11 13:23:04 -0800275 HSUSB_1p8-supply = <&pm8226_l10>;
276 HSUSB_3p3-supply = <&pm8226_l20>;
Mayank Rana8335a772013-03-06 10:12:27 +0530277 qcom,vdd-voltage-level = <1 5 7>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700278
Vamsi Krishna1f265912013-04-22 22:50:06 -0700279 qcom,hsusb-otg-phy-init-seq =
280 <0x44 0x80 0x68 0x81 0x24 0x82 0x13 0x83 0xffffffff>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700281 qcom,hsusb-otg-phy-type = <2>;
282 qcom,hsusb-otg-mode = <1>;
Vamsi Krishna0d564102013-03-02 15:26:55 -0800283 qcom,hsusb-otg-otg-control = <2>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700284 qcom,hsusb-otg-disable-reset;
Mayank Rana15f01b52013-03-08 18:28:56 +0530285 qcom,dp-manual-pullup;
Mayank Rana5f864fa2013-11-11 14:21:05 +0530286 qcom,ahb-async-bridge-bypass;
Mayank Rana5403e2a2013-02-26 11:18:39 +0530287
Manu Gautam41334e92013-06-04 17:49:25 +0530288 qcom,msm-bus,name = "usb";
Manu Gautam861c5852013-06-20 16:21:05 +0530289 qcom,msm-bus,num-cases = <3>;
Mayank Rana5403e2a2013-02-26 11:18:39 +0530290 qcom,msm-bus,num-paths = <1>;
291 qcom,msm-bus,vectors-KBps =
292 <87 512 0 0>,
Manu Gautam861c5852013-06-20 16:21:05 +0530293 <87 512 60000 960000>,
294 <87 512 6000 6000>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700295 };
296
Mayank Ranaf8bfadb2013-07-25 12:01:25 +0530297 android_usb: android_usb@fe8050c8 {
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700298 compatible = "qcom,android-usb";
Mayank Rana6bd9a272013-01-29 16:23:23 +0530299 reg = <0xfe8050c8 0xc8>;
Manu Gautam1bdb7802013-05-22 12:48:35 +0530300 qcom,android-usb-swfi-latency = <1>;
Mayank Rana5f864fa2013-11-11 14:21:05 +0530301 qcom,streaming-func = "rndis";
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700302 };
303
Pavankumar Kondetic4cea362013-09-24 15:48:20 +0530304 hsic_host: hsic@f9a00000 {
305 status = "disabled";
306 compatible = "qcom,hsic-host";
307 reg = <0xf9a00000 0x400>;
308 #address-cells = <0>;
309 interrupt-parent = <&hsic_host>;
310 interrupts = <0 1 2>;
311 #interrupt-cells = <1>;
312 interrupt-map-mask = <0xffffffff>;
313 interrupt-map = <0 &intc 0 136 0
314 1 &intc 0 148 0
315 2 &msmgpio 115 0x8>;
316 interrupt-names = "core_irq", "async_irq", "wakeup";
317 hsic_vdd_dig-supply = <&pm8226_s1_corner>;
318 HSIC_GDSC-supply = <&gdsc_usb_hsic>;
319 hsic,strobe-gpio = <&msmgpio 115 0x00>;
320 hsic,data-gpio = <&msmgpio 116 0x00>;
321 hsic,ignore-cal-pad-config;
322 hsic,strobe-pad-offset = <0x2050>;
323 hsic,data-pad-offset = <0x2054>;
324 qcom,phy-susp-sof-workaround;
325 hsic,vdd-voltage-level = <1 5 7>;
326
327 qcom,msm-bus,name = "hsic";
328 qcom,msm-bus,num-cases = <2>;
329 qcom,msm-bus,num-paths = <1>;
330 qcom,msm-bus,vectors-KBps =
331 <85 512 0 0>,
332 <85 512 40000 160000>;
333 };
334
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800335 wcd9xxx_intc: wcd9xxx-irq {
336 compatible = "qcom,wcd9xxx-irq";
337 interrupt-controller;
338 #interrupt-cells = <1>;
339 interrupt-parent = <&msmgpio>;
340 interrupts = <68 0>;
341 interrupt-names = "cdc-int";
342 };
343
Phani Kumar Uppalapati5f285bf2013-05-05 23:36:57 -0700344 slim_msm: slim@fe12f000 {
Bhalchandra Gajarefb785972012-12-06 19:25:10 -0800345 cell-index = <1>;
346 compatible = "qcom,slim-ngd";
347 reg = <0xfe12f000 0x35000>,
348 <0xfe104000 0x20000>;
349 reg-names = "slimbus_physical", "slimbus_bam_physical";
350 interrupts = <0 163 0>, <0 164 0>;
351 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800352
353 tapan_codec {
354 compatible = "qcom,tapan-slim-pgd";
355 elemental-addr = [00 01 E0 00 17 02];
356
357 interrupt-parent = <&wcd9xxx_intc>;
358 interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
359 17 18 19 20 21 22 23 24 25 26 27 28>;
360 qcom,cdc-reset-gpio = <&msmgpio 72 0>;
361
David Keitel7184c6e2013-02-11 13:23:04 -0800362 cdc-vdd-buck-supply = <&pm8226_s4>;
Bhalchandra Gajare482ef672013-06-20 15:28:59 -0700363 qcom,cdc-vdd-buck-voltage = <1800000 2150000>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800364 qcom,cdc-vdd-buck-current = <650000>;
365
David Keitel7184c6e2013-02-11 13:23:04 -0800366 cdc-vdd-h-supply = <&pm8226_l6>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800367 qcom,cdc-vdd-h-voltage = <1800000 1800000>;
368 qcom,cdc-vdd-h-current = <25000>;
369
David Keitel7184c6e2013-02-11 13:23:04 -0800370 cdc-vdd-px-supply = <&pm8226_l6>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800371 qcom,cdc-vdd-px-voltage = <1800000 1800000>;
372 qcom,cdc-vdd-px-current = <25000>;
373
David Keitel7184c6e2013-02-11 13:23:04 -0800374 cdc-vdd-cx-supply = <&pm8226_l4>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800375 qcom,cdc-vdd-cx-voltage = <1200000 1200000>;
Bhalchandra Gajare4962c6e2013-08-15 13:02:49 -0700376 qcom,cdc-vdd-cx-current = <2000>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800377
Bhalchandra Gajare075e9c52013-07-03 14:23:48 -0700378 cdc-vdd-buckhelper-supply = <&pm8226_l25>;
379 qcom,cdc-vdd-buckhelper-voltage = <1775000 2125000>;
380 qcom,cdc-vdd-buckhelper-current = <10000>;
381
382 qcom,cdc-static-supplies = "cdc-vdd-h",
Joonwoo Park73239212013-04-10 15:11:06 -0700383 "cdc-vdd-px",
Joonwoo Park73239212013-04-10 15:11:06 -0700384 "cdc-vdd-cx";
385
Bhalchandra Gajare075e9c52013-07-03 14:23:48 -0700386 qcom,cdc-cp-supplies = "cdc-vdd-buck",
387 "cdc-vdd-buckhelper";
388
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800389 qcom,cdc-micbias-ldoh-v = <0x3>;
390 qcom,cdc-micbias-cfilt1-mv = <1800>;
Phani Kumar Uppalapatiab0d98a2013-05-21 23:04:15 -0700391 qcom,cdc-micbias-cfilt2-mv = <2700>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800392 qcom,cdc-micbias-cfilt3-mv = <1800>;
393
394 qcom,cdc-micbias1-cfilt-sel = <0x0>;
395 qcom,cdc-micbias2-cfilt-sel = <0x1>;
396 qcom,cdc-micbias3-cfilt-sel = <0x2>;
397
398 qcom,cdc-mclk-clk-rate = <9600000>;
399 qcom,cdc-slim-ifd = "tapan-slim-ifd";
400 qcom,cdc-slim-ifd-elemental-addr = [00 00 E0 00 17 02];
401 };
Bhalchandra Gajarefb785972012-12-06 19:25:10 -0800402 };
403
Bhalchandra Gajaree1915b82012-12-12 17:28:39 -0800404 qcom,msm-adsp-loader {
405 compatible = "qcom,adsp-loader";
406 qcom,adsp-state = <0>;
407 };
408
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800409 sound {
410 compatible = "qcom,msm8226-audio-tapan";
411 qcom,model = "msm8226-tapan-snd-card";
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800412 qcom,tapan-mclk-clk-freq = <9600000>;
Banajit Goswamif9921532013-05-10 11:24:52 -0700413 qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>;
414 qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>;
415 qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>;
416 qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>;
417 qcom,prim-auxpcm-gpio-set = "prim-gpio-prim";
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800418 };
419
Phani Kumar Uppalapatic2f9c222013-05-09 19:17:58 -0700420 sound-9302 {
421 compatible = "qcom,msm8226-audio-tapan";
422 qcom,model = "msm8226-tapan9302-snd-card";
423 qcom,tapan-mclk-clk-freq = <9600000>;
424 qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>;
425 qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>;
426 qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>;
427 qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>;
428 qcom,prim-auxpcm-gpio-set = "prim-gpio-prim";
429 qcom,tapan-codec-9302;
430 };
431
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800432 qcom,msm-pcm {
433 compatible = "qcom,msm-pcm-dsp";
Bhalchandra Gajare510d4422013-03-01 21:07:12 -0800434 qcom,msm-pcm-dsp-id = <0>;
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800435 };
436
437 qcom,msm-pcm-routing {
438 compatible = "qcom,msm-pcm-routing";
439 };
440
Bhalchandra Gajare18468a62013-03-11 18:32:49 -0700441 qcom,msm-pcm-low-latency {
442 compatible = "qcom,msm-pcm-dsp";
443 qcom,msm-pcm-dsp-id = <1>;
444 qcom,msm-pcm-low-latency;
445 };
446
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800447 qcom,msm-pcm-lpa {
448 compatible = "qcom,msm-pcm-lpa";
449 };
450
451 qcom,msm-compr-dsp {
452 compatible = "qcom,msm-compr-dsp";
453 };
454
Haynes Mathew George1ccabc52013-09-17 14:36:48 -0700455 qcom,msm-compress-dsp {
456 compatible = "qcom,msm-compress-dsp";
457 };
458
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800459 qcom,msm-voip-dsp {
460 compatible = "qcom,msm-voip-dsp";
461 };
462
463 qcom,msm-pcm-voice {
464 compatible = "qcom,msm-pcm-voice";
465 };
466
467 qcom,msm-stub-codec {
468 compatible = "qcom,msm-stub-codec";
469 };
470
471 qcom,msm-dai-fe {
472 compatible = "qcom,msm-dai-fe";
473 };
474
475 qcom,msm-pcm-afe {
476 compatible = "qcom,msm-pcm-afe";
477 };
478
479 qcom,msm-dai-q6-hdmi {
480 compatible = "qcom,msm-dai-q6-hdmi";
481 qcom,msm-dai-q6-dev-id = <8>;
482 };
483
Venkat Sudhir178d1ae2013-09-11 14:05:09 -0700484 qcom,msm-lsm-client {
485 compatible = "qcom,msm-lsm-client";
486 };
487
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800488 qcom,msm-dai-q6 {
489 compatible = "qcom,msm-dai-q6";
490 qcom,msm-dai-q6-sb-0-rx {
491 compatible = "qcom,msm-dai-q6-dev";
492 qcom,msm-dai-q6-dev-id = <16384>;
493 };
494
495 qcom,msm-dai-q6-sb-0-tx {
496 compatible = "qcom,msm-dai-q6-dev";
497 qcom,msm-dai-q6-dev-id = <16385>;
498 };
499
500 qcom,msm-dai-q6-sb-1-rx {
501 compatible = "qcom,msm-dai-q6-dev";
502 qcom,msm-dai-q6-dev-id = <16386>;
503 };
504
505 qcom,msm-dai-q6-sb-1-tx {
506 compatible = "qcom,msm-dai-q6-dev";
507 qcom,msm-dai-q6-dev-id = <16387>;
508 };
509
510 qcom,msm-dai-q6-sb-3-rx {
511 compatible = "qcom,msm-dai-q6-dev";
512 qcom,msm-dai-q6-dev-id = <16390>;
513 };
514
515 qcom,msm-dai-q6-sb-3-tx {
516 compatible = "qcom,msm-dai-q6-dev";
517 qcom,msm-dai-q6-dev-id = <16391>;
518 };
519
520 qcom,msm-dai-q6-sb-4-rx {
521 compatible = "qcom,msm-dai-q6-dev";
522 qcom,msm-dai-q6-dev-id = <16392>;
523 };
524
525 qcom,msm-dai-q6-sb-4-tx {
526 compatible = "qcom,msm-dai-q6-dev";
527 qcom,msm-dai-q6-dev-id = <16393>;
528 };
529
Venkat Sudhir178d1ae2013-09-11 14:05:09 -0700530 qcom,msm-dai-q6-sb-5-tx {
531 compatible = "qcom,msm-dai-q6-dev";
532 qcom,msm-dai-q6-dev-id = <16395>;
533 };
534
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800535 qcom,msm-dai-q6-bt-sco-rx {
536 compatible = "qcom,msm-dai-q6-dev";
537 qcom,msm-dai-q6-dev-id = <12288>;
538 };
539
540 qcom,msm-dai-q6-bt-sco-tx {
541 compatible = "qcom,msm-dai-q6-dev";
542 qcom,msm-dai-q6-dev-id = <12289>;
543 };
544
545 qcom,msm-dai-q6-int-fm-rx {
546 compatible = "qcom,msm-dai-q6-dev";
547 qcom,msm-dai-q6-dev-id = <12292>;
548 };
549
550 qcom,msm-dai-q6-int-fm-tx {
551 compatible = "qcom,msm-dai-q6-dev";
552 qcom,msm-dai-q6-dev-id = <12293>;
553 };
554
555 qcom,msm-dai-q6-be-afe-pcm-rx {
556 compatible = "qcom,msm-dai-q6-dev";
557 qcom,msm-dai-q6-dev-id = <224>;
558 };
559
560 qcom,msm-dai-q6-be-afe-pcm-tx {
561 compatible = "qcom,msm-dai-q6-dev";
562 qcom,msm-dai-q6-dev-id = <225>;
563 };
564
565 qcom,msm-dai-q6-afe-proxy-rx {
566 compatible = "qcom,msm-dai-q6-dev";
567 qcom,msm-dai-q6-dev-id = <241>;
568 };
569
570 qcom,msm-dai-q6-afe-proxy-tx {
571 compatible = "qcom,msm-dai-q6-dev";
572 qcom,msm-dai-q6-dev-id = <240>;
573 };
Vicky Sehrawat2ef554c2013-03-12 17:24:20 -0700574
575 qcom,msm-dai-q6-incall-record-rx {
576 compatible = "qcom,msm-dai-q6-dev";
577 qcom,msm-dai-q6-dev-id = <32771>;
578 };
579
580 qcom,msm-dai-q6-incall-record-tx {
581 compatible = "qcom,msm-dai-q6-dev";
582 qcom,msm-dai-q6-dev-id = <32772>;
583 };
584
585 qcom,msm-dai-q6-incall-music-rx {
586 compatible = "qcom,msm-dai-q6-dev";
587 qcom,msm-dai-q6-dev-id = <32773>;
588 };
Vicky Sehrawat5ac670f2013-05-17 16:32:13 -0700589
590 qcom,msm-dai-q6-incall-music-2-rx {
591 compatible = "qcom,msm-dai-q6-dev";
592 qcom,msm-dai-q6-dev-id = <32770>;
593 };
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800594 };
595
596 qcom,msm-pcm-hostless {
597 compatible = "qcom,msm-pcm-hostless";
598 };
599
Patrick Laiafd82122013-06-15 22:50:04 -0700600 qcom,msm-pri-auxpcm {
601 compatible = "qcom,msm-auxpcm-dev";
Banajit Goswamif9921532013-05-10 11:24:52 -0700602 qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
603 qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
604 qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
605 qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
606 qcom,msm-cpudai-auxpcm-slot = <1>, <1>;
607 qcom,msm-cpudai-auxpcm-data = <0>, <0>;
608 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
Patrick Laiafd82122013-06-15 22:50:04 -0700609 qcom,msm-auxpcm-interface = "primary";
Banajit Goswamif9921532013-05-10 11:24:52 -0700610 };
611
Sheng Fangb6a06482013-03-20 13:21:36 +0800612 qcom,wcnss-wlan@fb000000 {
613 compatible = "qcom,wcnss_wlan";
Sameer Thalappil58281ca2013-04-10 18:50:18 -0700614 reg = <0xfb000000 0x280000>,
615 <0xf9011008 0x04>;
616 reg-names = "wcnss_mmio", "wcnss_fiq";
Sheng Fangb6a06482013-03-20 13:21:36 +0800617 interrupts = <0 145 0 0 146 0>;
618 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
619
620 qcom,pronto-vddmx-supply = <&pm8226_l3>;
621 qcom,pronto-vddcx-supply = <&pm8226_s1>;
622 qcom,pronto-vddpx-supply = <&pm8226_l6>;
623 qcom,iris-vddxo-supply = <&pm8226_l10>;
624 qcom,iris-vddrfa-supply = <&pm8226_l24>;
625 qcom,iris-vddpa-supply = <&pm8226_l16>;
626 qcom,iris-vdddig-supply = <&pm8226_l24>;
627
628 gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>;
Sameer Thalappil820f87b2013-05-21 20:40:54 -0700629 qcom,has-pronto-hw;
630 qcom,has-autodetect-xo;
Sameer Thalappilf6fb1892013-09-06 17:33:30 -0700631 qcom,wcnss-adc_tm = <&pm8226_adc_tm>;
Sheng Fangb6a06482013-03-20 13:21:36 +0800632 };
rockiec44833a32013-03-21 02:06:14 +0800633
634 qcom,msm-adsp-sensors {
635 compatible = "qcom,msm-adsp-sensors";
636 qcom,src-id = <11>;
637 qcom,dst-id = <604>;
638 qcom,ab = <32505856>;
639 qcom,ib = <32505856>;
640 };
641
Mitchel Humpherys5fe1c9b2012-10-09 17:30:19 -0700642 qcom,wdt@f9017000 {
643 compatible = "qcom,msm-watchdog";
644 reg = <0xf9017000 0x1000>;
645 interrupts = <0 3 0>, <0 4 0>;
646 qcom,bark-time = <11000>;
647 qcom,pet-time = <10000>;
Mitchel Humpherys1be23802012-11-16 15:52:32 -0800648 qcom,ipi-ping;
Mitchel Humpherys5fe1c9b2012-10-09 17:30:19 -0700649 };
650
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600651 qcom,smem@fa00000 {
652 compatible = "qcom,smem";
Jeff Hugo41e5c2f2013-04-26 11:38:32 -0600653 reg = <0xfa00000 0x100000>,
Stepan Moskovchenkod6ee8262013-02-06 11:26:05 -0800654 <0xf9011000 0x1000>,
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600655 <0xfc428000 0x4000>;
656 reg-names = "smem", "irq-reg-base", "aux-mem1";
657
658 qcom,smd-modem {
659 compatible = "qcom,smd";
660 qcom,smd-edge = <0>;
661 qcom,smd-irq-offset = <0x8>;
662 qcom,smd-irq-bitmask = <0x1000>;
663 qcom,pil-string = "modem";
664 interrupts = <0 25 1>;
David Ngb715e322012-12-01 12:57:08 -0800665 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600666
667 qcom,smsm-modem {
668 compatible = "qcom,smsm";
669 qcom,smsm-edge = <0>;
670 qcom,smsm-irq-offset = <0x8>;
671 qcom,smsm-irq-bitmask = <0x2000>;
672 interrupts = <0 26 1>;
David Ngb715e322012-12-01 12:57:08 -0800673 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600674
675 qcom,smd-adsp {
676 compatible = "qcom,smd";
677 qcom,smd-edge = <1>;
678 qcom,smd-irq-offset = <0x8>;
679 qcom,smd-irq-bitmask = <0x100>;
680 qcom,pil-string = "adsp";
681 interrupts = <0 156 1>;
David Ngb715e322012-12-01 12:57:08 -0800682 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600683
684 qcom,smsm-adsp {
685 compatible = "qcom,smsm";
686 qcom,smsm-edge = <1>;
687 qcom,smsm-irq-offset = <0x8>;
688 qcom,smsm-irq-bitmask = <0x200>;
689 interrupts = <0 157 1>;
David Ngb715e322012-12-01 12:57:08 -0800690 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600691
692 qcom,smd-wcnss {
693 compatible = "qcom,smd";
694 qcom,smd-edge = <6>;
695 qcom,smd-irq-offset = <0x8>;
696 qcom,smd-irq-bitmask = <0x20000>;
697 qcom,pil-string = "wcnss";
698 interrupts = <0 142 1>;
David Ngb715e322012-12-01 12:57:08 -0800699 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600700
701 qcom,smsm-wcnss {
702 compatible = "qcom,smsm";
703 qcom,smsm-edge = <6>;
704 qcom,smsm-irq-offset = <0x8>;
705 qcom,smsm-irq-bitmask = <0x80000>;
706 interrupts = <0 144 1>;
David Ngb715e322012-12-01 12:57:08 -0800707 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600708
709 qcom,smd-rpm {
710 compatible = "qcom,smd";
711 qcom,smd-edge = <15>;
712 qcom,smd-irq-offset = <0x8>;
713 qcom,smd-irq-bitmask = <0x1>;
714 interrupts = <0 168 1>;
715 qcom,irq-no-suspend;
David Ngb715e322012-12-01 12:57:08 -0800716 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600717 };
718
Praveen Chidambaramc8af25e2012-12-19 11:27:36 -0700719 rpm_bus: qcom,rpm-smd {
720 compatible = "qcom,rpm-smd";
721 rpm-channel-name = "rpm_requests";
722 rpm-channel-type = <15>; /* SMD_APPS_RPM */
Praveen Chidambaramc8af25e2012-12-19 11:27:36 -0700723 };
724
Jennifer Liu86687d52013-05-29 15:51:40 -0700725 qcom,bcl {
726 compatible = "qcom,bcl";
727 };
728
Pratibhasagar Vc20526a2013-10-09 18:59:45 +0530729 rmtfs_sharedmem {
730 compatible = "qcom,sharedmem-uio";
731 reg = <0x0fd80000 0x00180000>;
732 reg-names = "rmtfs";
733 };
734
735 dsp_sharedmem {
736 compatible = "qcom,sharedmem-uio";
737 reg = <0x0fd60000 0x00020000>;
738 reg-names = "rfsa_dsp";
739 };
740
741 mdm_sharedmem {
742 compatible = "qcom,sharedmem-uio";
743 reg = <0x0fd60000 0x00020000>;
744 reg-names = "rfsa_mdm";
745 };
746
Asutosh Das99912e62012-12-06 12:38:46 +0530747 sdcc1: qcom,sdcc@f9824000 {
748 cell-index = <1>; /* SDC1 eMMC slot */
749 compatible = "qcom,msm-sdcc";
750
Asutosh Das6b82fc52012-11-23 12:00:26 +0530751 reg = <0xf9824000 0x800>,
752 <0xf9824800 0x100>,
753 <0xf9804000 0x7000>;
754 reg-names = "core_mem", "dml_mem", "bam_mem";
755 interrupts = <0 123 0>, <0 137 0>;
756 interrupt-names = "core_irq", "bam_irq";
Asutosh Das99912e62012-12-06 12:38:46 +0530757
758 qcom,bus-width = <8>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700759
760 qcom,msm-bus,name = "sdcc1";
761 qcom,msm-bus,num-cases = <8>;
762 qcom,msm-bus,num-paths = <1>;
763 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
764 <78 512 1600 3200>, /* 400 KB/s*/
765 <78 512 80000 160000>, /* 20 MB/s */
766 <78 512 100000 200000>, /* 25 MB/s */
767 <78 512 200000 400000>, /* 50 MB/s */
768 <78 512 400000 800000>, /* 100 MB/s */
769 <78 512 400000 800000>, /* 200 MB/s */
770 <78 512 2048000 4096000>; /* Max. bandwidth */
771 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
772 100000000 200000000 4294967295>;
773
Asutosh Das99912e62012-12-06 12:38:46 +0530774 status = "disabled";
775 };
776
Sahitya Tummala9e001362013-03-28 11:00:55 +0530777 sdhc_1: sdhci@f9824900 {
778 compatible = "qcom,sdhci-msm";
779 reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
780 reg-names = "hc_mem", "core_mem";
781
782 interrupts = <0 123 0>, <0 138 0>;
783 interrupt-names = "hc_irq", "pwr_irq";
784
785 qcom,bus-width = <8>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700786
787 qcom,msm-bus,name = "sdhc1";
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
Sahitya Tummala9e001362013-03-28 11:00:55 +0530801 status = "disabled";
802 };
803
Asutosh Das99912e62012-12-06 12:38:46 +0530804 sdcc2: qcom,sdcc@f98a4000 {
805 cell-index = <2>; /* SDC2 SD card slot */
806 compatible = "qcom,msm-sdcc";
807
Asutosh Das6b82fc52012-11-23 12:00:26 +0530808 reg = <0xf98a4000 0x800>,
809 <0xf98a4800 0x100>,
810 <0xf9884000 0x7000>;
811 reg-names = "core_mem", "dml_mem", "bam_mem";
812 interrupts = <0 125 0>, <0 220 0>;
813 interrupt-names = "core_irq", "bam_irq";
Asutosh Das99912e62012-12-06 12:38:46 +0530814
815 qcom,bus-width = <4>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700816
817 qcom,msm-bus,name = "sdcc2";
818 qcom,msm-bus,num-cases = <8>;
819 qcom,msm-bus,num-paths = <1>;
820 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
821 <81 512 1600 3200>, /* 400 KB/s*/
822 <81 512 80000 160000>, /* 20 MB/s */
823 <81 512 100000 200000>, /* 25 MB/s */
824 <81 512 200000 400000>, /* 50 MB/s */
825 <81 512 400000 800000>, /* 100 MB/s */
826 <81 512 400000 800000>, /* 200 MB/s */
827 <81 512 2048000 4096000>; /* Max. bandwidth */
828 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
829 100000000 200000000 4294967295>;
830
Asutosh Das99912e62012-12-06 12:38:46 +0530831 status = "disabled";
832 };
Kenneth Heitkee5804002012-11-15 17:50:07 -0700833
Sahitya Tummala9e001362013-03-28 11:00:55 +0530834 sdhc_2: sdhci@f98a4900 {
835 compatible = "qcom,sdhci-msm";
836 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
837 reg-names = "hc_mem", "core_mem";
838
839 interrupts = <0 125 0>, <0 221 0>;
840 interrupt-names = "hc_irq", "pwr_irq";
841
842 qcom,bus-width = <4>;
Krishna Konda9fc6aeb2013-06-11 20:26:16 -0700843
844 qcom,msm-bus,name = "sdhc2";
845 qcom,msm-bus,num-cases = <8>;
846 qcom,msm-bus,num-paths = <1>;
847 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
848 <81 512 1600 3200>, /* 400 KB/s*/
849 <81 512 80000 160000>, /* 20 MB/s */
850 <81 512 100000 200000>, /* 25 MB/s */
851 <81 512 200000 400000>, /* 50 MB/s */
852 <81 512 400000 800000>, /* 100 MB/s */
853 <81 512 400000 800000>, /* 200 MB/s */
854 <81 512 2048000 4096000>; /* Max. bandwidth */
855 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
856 100000000 200000000 4294967295>;
857
Sahitya Tummala9e001362013-03-28 11:00:55 +0530858 status = "disabled";
859 };
860
Krishna Kondaf92e4262013-07-08 16:21:57 -0700861 sdcc3: qcom,sdcc@f9864000 {
862 cell-index = <3>;
863 compatible = "qcom,msm-sdcc";
864 reg = <0xf9864000 0x800>,
865 <0xf9864800 0x100>,
866 <0xf9844000 0x7000>;
867 reg-names = "core_mem", "dml_mem", "bam_mem";
868
869 qcom,bus-width = <4>;
870 gpios = <&msmgpio 44 0>, /* CLK */
871 <&msmgpio 43 0>, /* CMD */
872 <&msmgpio 42 0>, /* DATA0 */
873 <&msmgpio 41 0>, /* DATA1 */
874 <&msmgpio 40 0>, /* DATA2 */
875 <&msmgpio 39 0>; /* DATA3 */
876 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
877
878 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
879
880 qcom,msm-bus,name = "sdcc3";
881 qcom,msm-bus,num-cases = <8>;
882 qcom,msm-bus,num-paths = <1>;
883 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
884 <79 512 1600 3200>, /* 400 KB/s*/
885 <79 512 80000 160000>, /* 20 MB/s */
886 <79 512 100000 200000>, /* 25 MB/s */
887 <79 512 200000 400000>, /* 50 MB/s */
888 <79 512 400000 800000>, /* 100 MB/s */
889 <79 512 400000 800000>, /* 200 MB/s */
890 <79 512 2048000 4096000>; /* Max. bandwidth */
891 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
892 100000000 200000000 4294967295>;
893
894 #address-cells = <0>;
895 interrupt-parent = <&sdcc3>;
896 interrupts = <0 1 2>;
897 #interrupt-cells = <1>;
898 interrupt-map-mask = <0xffffffff>;
899 interrupt-map = <0 &intc 0 127 0
900 1 &intc 0 223 0
901 2 &msmgpio 41 0x8>;
902 interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq";
903
904 status = "disabled";
905 };
906
907 sdhc_3: sdhci@f9864900 {
908 compatible = "qcom,sdhci-msm";
909 reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
910 reg-names = "hc_mem", "core_mem";
911
912 qcom,bus-width = <4>;
913 gpios = <&msmgpio 44 0>, /* CLK */
914 <&msmgpio 43 0>, /* CMD */
915 <&msmgpio 42 0>, /* DATA0 */
916 <&msmgpio 41 0>, /* DATA1 */
917 <&msmgpio 40 0>, /* DATA2 */
918 <&msmgpio 39 0>; /* DATA3 */
919 qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3";
920
921 qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
922
923 qcom,msm-bus,name = "sdhc3";
924 qcom,msm-bus,num-cases = <8>;
925 qcom,msm-bus,num-paths = <1>;
926 qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
927 <79 512 1600 3200>, /* 400 KB/s*/
928 <79 512 80000 160000>, /* 20 MB/s */
929 <79 512 100000 200000>, /* 25 MB/s */
930 <79 512 200000 400000>, /* 50 MB/s */
931 <79 512 400000 800000>, /* 100 MB/s */
932 <79 512 400000 800000>, /* 200 MB/s */
933 <79 512 2048000 4096000>; /* Max. bandwidth */
934 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
935 100000000 200000000 4294967295>;
936
937 #address-cells = <0>;
938 interrupt-parent = <&sdhc_3>;
939 interrupts = <0 1 2>;
940 #interrupt-cells = <1>;
941 interrupt-map-mask = <0xffffffff>;
942 interrupt-map = <0 &intc 0 127 0
943 1 &intc 0 224 0
944 2 &msmgpio 41 0x8>;
945 interrupt-names = "hc_irq", "pwr_irq", "sdiowakeup_irq";
946
947 status = "disabled";
948 };
949
Kenneth Heitkee5804002012-11-15 17:50:07 -0700950 spmi_bus: qcom,spmi@fc4c0000 {
951 cell-index = <0>;
952 compatible = "qcom,spmi-pmic-arb";
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700953 reg-names = "core", "intr", "cnfg";
Kenneth Heitkee5804002012-11-15 17:50:07 -0700954 reg = <0xfc4cf000 0x1000>,
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700955 <0Xfc4cb000 0x1000>,
956 <0Xfc4ca000 0x1000>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700957 /* 190,ee0_krait_hlos_spmi_periph_irq */
958 /* 187,channel_0_krait_hlos_trans_done_irq */
959 interrupts = <0 190 0>, <0 187 0>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700960 qcom,pmic-arb-ee = <0>;
961 qcom,pmic-arb-channel = <0>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700962 };
963
Madan Mohan Koyyalamudi2d7c6f52013-06-19 17:49:45 -0700964 i2c@f9925000 { /* BLSP-1 QUP-3 */
965 cell-index = <2>;
966 compatible = "qcom,i2c-qup";
967 reg = <0xf9925000 0x1000>;
968 #address-cells = <1>;
969 #size-cells = <0>;
970 reg-names = "qup_phys_addr";
971 interrupts = <0 97 0>;
972 interrupt-names = "qup_err_intr";
973 qcom,i2c-bus-freq = <400000>;
974 qcom,i2c-src-freq = <19200000>;
Houston Hoffmanbf7baa92013-11-27 10:53:23 -0800975 qcom,sda-gpio = <&msmgpio 10 0>;
976 qcom,scl-gpio = <&msmgpio 11 0>;
977 qcom,master-id = <86>;
Madan Mohan Koyyalamudi2d7c6f52013-06-19 17:49:45 -0700978 };
Gilad Avidov28e18eb2012-11-21 18:13:25 -0700979 i2c@f9926000 { /* BLSP-1 QUP-4 */
980 cell-index = <0>;
981 compatible = "qcom,i2c-qup";
982 reg = <0xf9926000 0x1000>;
983 #address-cells = <1>;
984 #size-cells = <0>;
985 reg-names = "qup_phys_addr";
986 interrupts = <0 98 0>;
987 interrupt-names = "qup_err_intr";
988 qcom,i2c-bus-freq = <100000>;
989 };
Patrick Daly99a52ca2012-10-23 12:00:45 -0700990
Amy Maloche41708ba2013-03-03 15:19:27 -0800991 i2c@f9927000 { /* BLSP1 QUP5 */
992 cell-index = <5>;
993 compatible = "qcom,i2c-qup";
994 #address-cells = <1>;
995 #size-cells = <0>;
996 reg-names = "qup_phys_addr";
997 reg = <0xf9927000 0x1000>;
998 interrupt-names = "qup_err_intr";
999 interrupts = <0 99 0>;
Amy Maloche118e5d62013-05-01 14:53:35 -07001000 qcom,i2c-bus-freq = <384000>;
Amy Maloche41708ba2013-03-03 15:19:27 -08001001 qcom,i2c-src-freq = <19200000>;
Amy Malochebf346092013-07-31 12:57:28 -07001002 qcom,sda-gpio = <&msmgpio 18 0>;
1003 qcom,scl-gpio = <&msmgpio 19 0>;
Amy Maloche41708ba2013-03-03 15:19:27 -08001004 };
1005
Patrick Daly784c5f62013-07-23 19:33:32 -07001006 qcom,clock-a7@f9011050 {
1007 compatible = "qcom,clock-a7-8226";
Patrick Daly4fd80f42013-06-18 11:09:15 -07001008 reg = <0xf9011050 0x8>;
Patrick Daly784c5f62013-07-23 19:33:32 -07001009 reg-names = "rcg-base";
1010 clock-names = "clk-4", "clk-5";
1011 qcom,speed0-bin-v0 =
1012 < 0 0>,
1013 < 384000000 1>,
1014 < 787200000 2>,
1015 <1190400000 3>;
1016
1017 cpu-vdd-supply = <&apc_vreg_corner>;
1018 };
1019
1020 qcom,msm-cpufreq@0 {
1021 reg = <0 4>;
1022 compatible = "qcom,msm-cpufreq";
1023 qcom,cpu-mem-ports = <1 512>;
1024 qcom,cpufreq-table =
1025 < 300000 1600 /* 200 MHz */ >,
1026 < 384000 1600 /* 200 MHz */ >,
1027 < 600000 3200 /* 320 MHz */ >,
1028 < 787200 4264 /* 533 MHz */ >,
1029 < 998400 4264 /* 533 MHz */ >,
1030 < 1094400 4264 /* 533 MHz */ >,
1031 < 1190400 4264 /* 533 MHz */ >,
1032 < 1305600 4264 /* 533 MHz */ >,
1033 < 1344000 4264 /* 533 MHz */ >,
1034 < 1401600 4264 /* 533 MHz */ >,
1035 < 1497600 4264 /* 533 MHz */ >,
1036 < 1593600 4264 /* 533 MHz */ >;
Patrick Daly99a52ca2012-10-23 12:00:45 -07001037 };
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001038
1039 qcom,ocmem@fdd00000 {
1040 compatible = "qcom,msm-ocmem";
1041 reg = <0xfdd00000 0x2000>,
1042 <0xfdd02000 0x2000>,
1043 <0xfe039000 0x400>,
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001044 <0xfec00000 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001045 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
1046 interrupts = <0 76 0 0 77 0>;
1047 interrupt-names = "ocmem_irq", "dm_irq";
1048 qcom,ocmem-num-regions = <0x1>;
1049 qcom,ocmem-num-macros = <0x2>;
1050 qcom,resource-type = <0x706d636f>;
1051 #address-cells = <1>;
1052 #size-cells = <1>;
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001053 ranges = <0x0 0xfec00000 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001054
1055 partition@0 {
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001056 reg = <0x0 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001057 qcom,ocmem-part-name = "graphics";
Mitchel Humpherys1da744d2013-03-08 17:20:41 -08001058 qcom,ocmem-part-min = <0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -07001059 };
1060 };
1061
Patrick Dalyb83f0b02013-01-09 12:36:19 -08001062 qcom,venus@fdce0000 {
1063 compatible = "qcom,pil-venus";
1064 reg = <0xfdce0000 0x4000>,
1065 <0xfdc80000 0x400>;
1066 reg-names = "wrapper_base", "vbif_base";
1067 vdd-supply = <&gdsc_venus>;
1068
1069 qcom,firmware-name = "venus";
1070 };
Patrick Daly1e3bc6c2013-01-09 12:34:25 -08001071
1072 qcom,pronto@fb21b000 {
1073 compatible = "qcom,pil-pronto";
1074 reg = <0xfb21b000 0x3000>,
1075 <0xfc401700 0x4>,
1076 <0xfd485300 0xc>;
1077 reg-names = "pmu_base", "clk_base", "halt_base";
1078 interrupts = <0 149 1>;
David Keitel7184c6e2013-02-11 13:23:04 -08001079 vdd_pronto_pll-supply = <&pm8226_l8>;
Patrick Daly1e3bc6c2013-01-09 12:34:25 -08001080
1081 qcom,firmware-name = "wcnss";
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -07001082
Sameer Thalappil4ba86302013-04-05 17:36:54 -07001083 /* GPIO inputs from wcnss */
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -07001084 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>;
Sameer Thalappilb1e03c02013-04-29 14:52:00 -07001085 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>;
Sameer Thalappil4ba86302013-04-05 17:36:54 -07001086 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>;
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -07001087
1088 /* GPIO output to wcnss */
1089 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>;
Patrick Daly1e3bc6c2013-01-09 12:34:25 -08001090 };
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001091
Sheng Fang0a85b0d2013-03-19 08:16:51 +08001092 qcom,iris-fm {
1093 compatible = "qcom,iris_fm";
1094 };
1095
Patrick Daly4df59842013-01-09 12:31:40 -08001096 qcom,lpass@fe200000 {
1097 compatible = "qcom,pil-q6v5-lpass";
1098 reg = <0xfe200000 0x00100>,
Matt Wagantall015b50af2013-03-05 18:51:16 -08001099 <0xfd485100 0x00010>,
1100 <0xfc4016c0 0x00004>;
1101 reg-names = "qdsp6_base", "halt_base", "restart_reg";
David Keitelf4c8b8b2013-02-25 15:25:27 -08001102 vdd_cx-supply = <&pm8226_s1_corner>;
Patrick Daly4df59842013-01-09 12:31:40 -08001103 interrupts = <0 162 1>;
1104
1105 qcom,firmware-name = "adsp";
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -07001106
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -07001107 /* GPIO inputs from lpass */
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -07001108 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
Ravishankar Sarawadiab203a82013-04-09 18:46:11 -07001109 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
Ravishankar Sarawadi7edc9d72013-04-09 18:15:03 -07001110 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
Ravishankar Sarawadi2e8ac7d2013-03-28 15:23:30 -07001111
1112 /* GPIO output to lpass */
1113 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
Patrick Daly4df59842013-01-09 12:31:40 -08001114 };
1115
Patrick Daly742337f2013-01-29 12:06:06 -08001116 qcom,mss@fc880000 {
1117 compatible = "qcom,pil-q6v5-mss";
1118 reg = <0xfc880000 0x100>,
1119 <0xfd485000 0x400>,
1120 <0xfc820000 0x020>,
1121 <0xfc401680 0x004>,
Patrick Daly742337f2013-01-29 12:06:06 -08001122 <0xfd485194 0x4>;
1123 reg-names = "qdsp6_base", "halt_base", "rmb_base",
Matt Wagantall724b2bb2013-03-18 14:54:06 -07001124 "restart_reg", "cxrail_bhs_reg";
Patrick Daly742337f2013-01-29 12:06:06 -08001125
1126 interrupts = <0 24 1>;
Patrick Daly742337f2013-01-29 12:06:06 -08001127 vdd_cx-supply = <&pm8226_s1_corner>;
1128 vdd_mx-supply = <&pm8226_l3>;
1129 vdd_pll-supply = <&pm8226_l8>;
1130 qcom,vdd_pll = <1800000>;
1131
1132 qcom,is-loadable;
1133 qcom,firmware-name = "mba";
1134 qcom,pil-self-auth;
Patrick Dalyfe258e22013-03-22 21:02:14 -07001135
Seemanta Duttaa0f253e2013-01-16 18:54:40 -08001136 /* GPIO inputs from mss */
Patrick Dalyfe258e22013-03-22 21:02:14 -07001137 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
Seemanta Dutta9fb72ed2013-01-25 14:22:15 -08001138 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
Seemanta Duttaa0f253e2013-01-16 18:54:40 -08001139 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
Seemanta Dutta0adbbf02013-03-12 17:26:17 -07001140 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>;
Patrick Dalyfe258e22013-03-22 21:02:14 -07001141
1142 /* GPIO output to mss */
1143 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
Patrick Daly742337f2013-01-29 12:06:06 -08001144 };
1145
Neeti Desaif82314e2013-08-09 15:59:54 -07001146 memory_hole: qcom,msm-mem-hole {
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001147 compatible = "qcom,msm-mem-hole";
Neeti Desai183b33d2013-08-09 14:58:38 -07001148 qcom,memblock-remove = <0x08400000 0x4000000
1149 0x0d200000 0x2300000
1150 0x0fa00000 0x500000>; /* Address and Size of Hole */
Neeti Desai1f7ca2d2012-11-21 13:25:57 -08001151 };
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001152
1153 tsens: tsens@fc4a8000 {
1154 compatible = "qcom,msm-tsens";
1155 reg = <0xfc4a8000 0x2000>,
Siddartha Mohanadoss6ddc1922013-07-08 17:40:11 -07001156 <0xfc4bc000 0x1000>;
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001157 reg-names = "tsens_physical", "tsens_eeprom_physical";
1158 interrupts = <0 184 0>;
Siddartha Mohanadoss9a4e94a2013-03-06 19:15:59 -08001159 qcom,sensors = <4>;
1160 qcom,slope = <2901 2846 3038 2955>;
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -08001161 qcom,calib-mode = "fuse_map2";
1162 };
Praveen Chidambarama03bda52013-02-12 21:23:13 -07001163
1164 qcom,msm-thermal {
1165 compatible = "qcom,msm-thermal";
1166 qcom,sensor-id = <0>;
1167 qcom,poll-ms = <250>;
1168 qcom,limit-temp = <60>;
1169 qcom,temp-hysteresis = <10>;
1170 qcom,freq-step = <2>;
Praveen Chidambarama7435ce2013-05-03 12:52:42 -06001171 qcom,freq-control-mask = <0xf>;
Jennifer Liu003438d2013-06-21 11:24:20 -07001172 qcom,core-limit-temp = <80>;
1173 qcom,core-temp-hysteresis = <10>;
1174 qcom,core-control-mask = <0xe>;
Jennifer Liuf2515e32013-09-24 10:28:22 -07001175 qcom,hotplug-temp = <110>;
1176 qcom,hotplug-temp-hysteresis = <20>;
1177 qcom,cpu-sensors = "tsens_tz_sensor5", "tsens_tz_sensor5",
1178 "tsens_tz_sensor2", "tsens_tz_sensor2";
Jennifer Liu53bb5642013-06-26 10:42:42 -07001179 qcom,vdd-restriction-temp = <5>;
1180 qcom,vdd-restriction-temp-hysteresis = <10>;
1181 vdd-dig-supply = <&pm8226_s1_floor_corner>;
1182
1183 qcom,vdd-dig-rstr{
1184 qcom,vdd-rstr-reg = "vdd-dig";
1185 qcom,levels = <5 7 7>; /* Nominal, Super Turbo, Super Turbo */
1186 qcom,min-level = <1>; /* No Request */
1187 };
1188
1189 qcom,vdd-apps-rstr{
1190 qcom,vdd-rstr-reg = "vdd-apps";
1191 qcom,levels = <600000 787200 998400>;
1192 qcom,freq-req;
1193 };
Praveen Chidambarama03bda52013-02-12 21:23:13 -07001194 };
1195
Gilad Avidovd59217c2013-02-01 13:45:59 -07001196 spi_0: spi@f9923000 { /* BLSP1 QUP1 */
1197 compatible = "qcom,spi-qup-v2";
1198 #address-cells = <1>;
1199 #size-cells = <0>;
1200 reg-names = "spi_physical", "spi_bam_physical";
1201 reg = <0xf9923000 0x1000>,
1202 <0xf9904000 0xF000>;
1203 interrupt-names = "spi_irq", "spi_bam_irq";
1204 interrupts = <0 95 0>, <0 238 0>;
1205 spi-max-frequency = <19200000>;
1206
Gilad Avidovcff4ca72013-07-01 17:35:36 -06001207 qcom,gpio-mosi = <&msmgpio 0 0>;
1208 qcom,gpio-miso = <&msmgpio 1 0>;
1209 qcom,gpio-clk = <&msmgpio 3 0>;
1210 qcom,gpio-cs0 = <&msmgpio 22 0>;
Gilad Avidovd59217c2013-02-01 13:45:59 -07001211
1212 qcom,infinite-mode = <0>;
1213 qcom,use-bam;
1214 qcom,ver-reg-exists;
1215 qcom,bam-consumer-pipe-index = <12>;
1216 qcom,bam-producer-pipe-index = <13>;
Gilad Avidovcff4ca72013-07-01 17:35:36 -06001217 qcom,master-id = <86>;
Gilad Avidovd59217c2013-02-01 13:45:59 -07001218 };
1219
Jeff Hugo72e10912013-03-05 11:17:38 -07001220 qcom,bam_dmux@fc834000 {
1221 compatible = "qcom,bam_dmux";
1222 reg = <0xfc834000 0x7000>;
1223 interrupts = <0 29 1>;
1224 };
Pushkar Joshi4f3aa0b2013-03-07 22:44:04 -08001225
1226 qcom,msm-rtb {
1227 compatible = "qcom,msm-rtb";
1228 qcom,memory-reservation-type = "EBI1";
1229 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
1230 };
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001231
Hariprasad Dhalinarasimhab548ee52013-03-11 19:06:30 -07001232 qcom,msm-rng@f9bff000 {
1233 compatible = "qcom,msm-rng";
1234 reg = <0xf9bff000 0x200>;
1235 qcom,msm-rng-iface-clk;
Hariprasad Dhalinarasimhae799fb72013-06-03 13:51:38 -07001236 qcom,msm-bus,name = "msm-rng-noc";
1237 qcom,msm-bus,num-cases = <2>;
1238 qcom,msm-bus,num-paths = <1>;
1239 qcom,msm-bus,vectors-KBps =
1240 <1 618 0 0>,
1241 <1 618 0 800>;
Hariprasad Dhalinarasimhab548ee52013-03-11 19:06:30 -07001242 };
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001243
Hariprasad Dhalinarasimha4ba4d802013-03-21 13:03:09 -07001244 qcom,tz-log@fe805720 {
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001245 compatible = "qcom,tz-log";
Hariprasad Dhalinarasimha4ba4d802013-03-21 13:03:09 -07001246 reg = <0x0fe805720 0x1000>;
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -07001247 };
Pushkar Joshi85a53192013-03-11 11:15:15 -07001248
Pratik Patelf2945ef2013-06-13 23:52:05 -07001249 jtag_fuse: jtagfuse@fc4be024 {
1250 compatible = "qcom,jtag-fuse";
1251 reg = <0xfc4be024 0x8>;
1252 reg-names = "fuse-base";
1253 };
1254
Pushkar Joshi85a53192013-03-11 11:15:15 -07001255 jtag_mm0: jtagmm@fc33c000 {
1256 compatible = "qcom,jtag-mm";
1257 reg = <0xfc33c000 0x1000>,
1258 <0xfc330000 0x1000>;
1259 reg-names = "etm-base","debug-base";
1260 };
1261
1262 jtag_mm1: jtagmm@fc33d000 {
1263 compatible = "qcom,jtag-mm";
1264 reg = <0xfc33d000 0x1000>,
1265 <0xfc332000 0x1000>;
1266 reg-names = "etm-base","debug-base";
1267 };
1268
1269 jtag_mm2: jtagmm@fc33e000 {
1270 compatible = "qcom,jtag-mm";
1271 reg = <0xfc33e000 0x1000>,
1272 <0xfc334000 0x1000>;
1273 reg-names = "etm-base","debug-base";
1274 };
1275
1276 jtag_mm3: jtagmm@fc33f000 {
1277 compatible = "qcom,jtag-mm";
1278 reg = <0xfc33f000 0x1000>,
1279 <0xfc336000 0x1000>;
1280 reg-names = "etm-base","debug-base";
1281 };
Jeff Hugo2be6bb022013-03-11 10:17:34 -06001282
1283 qcom,ipc-spinlock@fd484000 {
1284 compatible = "qcom,ipc-spinlock-sfpb";
1285 reg = <0xfd484000 0x400>;
1286 qcom,num-locks = <8>;
1287 };
Hariprasad Dhalinarasimha805ea4d2013-03-14 11:16:12 -07001288
1289 qcom,qseecom@d980000 {
1290 compatible = "qcom,qseecom";
1291 reg = <0xd980000 0x256000>;
1292 reg-names = "secapp-region";
1293 qcom,disk-encrypt-pipe-pair = <2>;
1294 qcom,hlos-ce-hw-instance = <0>;
1295 qcom,qsee-ce-hw-instance = <0>;
1296 qcom,msm-bus,name = "qseecom-noc";
1297 qcom,msm-bus,num-cases = <4>;
1298 qcom,msm-bus,active-only = <0>;
1299 qcom,msm-bus,num-paths = <1>;
1300 qcom,msm-bus,vectors-KBps =
1301 <55 512 0 0>,
1302 <55 512 3936000 393600>,
1303 <55 512 3936000 393600>,
1304 <55 512 3936000 393600>;
1305 };
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001306
1307 qcom,qcrypto@fd404000 {
1308 compatible = "qcom,qcrypto";
1309 reg = <0xfd400000 0x20000>,
1310 <0xfd404000 0x8000>;
1311 reg-names = "crypto-base","crypto-bam-base";
1312 interrupts = <0 207 0>;
1313 qcom,bam-pipe-pair = <2>;
1314 qcom,ce-hw-instance = <0>;
1315 qcom,ce-hw-shared;
1316 qcom,msm-bus,name = "qcrypto-noc";
1317 qcom,msm-bus,num-cases = <2>;
1318 qcom,msm-bus,active-only = <0>;
1319 qcom,msm-bus,num-paths = <1>;
1320 qcom,msm-bus,vectors-KBps =
Hariprasad Dhalinarasimhaa2d749e2013-05-14 13:00:06 -07001321 <55 512 0 0>,
1322 <55 512 3936000 393600>;
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001323 };
1324
1325 qcom,qcedev@fd400000 {
1326 compatible = "qcom,qcedev";
1327 reg = <0xfd400000 0x20000>,
1328 <0xfd404000 0x8000>;
1329 reg-names = "crypto-base","crypto-bam-base";
1330 interrupts = <0 207 0>;
1331 qcom,bam-pipe-pair = <1>;
1332 qcom,ce-hw-instance = <0>;
1333 qcom,ce-hw-shared;
1334 qcom,msm-bus,name = "qcedev-noc";
1335 qcom,msm-bus,num-cases = <2>;
1336 qcom,msm-bus,active-only = <0>;
1337 qcom,msm-bus,num-paths = <1>;
1338 qcom,msm-bus,vectors-KBps =
Hariprasad Dhalinarasimhaa2d749e2013-05-14 13:00:06 -07001339 <55 512 0 0>,
1340 <55 512 3936000 393600>;
Hariprasad Dhalinarasimha75051f22013-03-19 15:08:50 -07001341 };
Neil Leeder45fb9f62013-06-04 10:46:41 -04001342
1343 cpu-pmu {
1344 compatible = "arm,cortex-a7-pmu";
1345 qcom,irq-is-percpu;
1346 interrupts = <1 7 0xf00>;
1347 };
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -07001348};
David Collins37ddb972012-10-17 15:00:26 -07001349
Patrick Dalye8977aa2012-11-06 15:25:58 -08001350&gdsc_venus {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001351 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001352 status = "ok";
1353};
1354
1355&gdsc_mdss {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001356 qcom,clock-names = "core_clk", "lut_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001357 status = "ok";
1358};
1359
1360&gdsc_jpeg {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001361 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001362 status = "ok";
1363};
1364
1365&gdsc_vfe {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001366 qcom,clock-names = "core_clk", "csi_clk", "cpp_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001367 status = "ok";
1368};
1369
1370&gdsc_oxili_cx {
Matt Wagantallb8cba292013-04-11 15:45:17 -07001371 qcom,clock-names = "core_clk";
Patrick Dalye8977aa2012-11-06 15:25:58 -08001372 status = "ok";
1373};
1374
1375&gdsc_usb_hsic {
1376 status = "ok";
1377};
1378
David Keitel376b2682013-03-05 18:40:01 -08001379/include/ "msm-pm8226-rpm-regulator.dtsi"
Kenneth Heitkebea6ca22013-02-07 17:23:21 -07001380/include/ "msm-pm8226.dtsi"
David Keitel7184c6e2013-02-11 13:23:04 -08001381/include/ "msm8226-regulator.dtsi"
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001382
1383&pm8226_vadc {
1384 chan@0 {
1385 label = "usb_in";
1386 reg = <0>;
1387 qcom,decimation = <0>;
1388 qcom,pre-div-channel-scaling = <4>;
1389 qcom,calibration-type = "absolute";
1390 qcom,scale-function = <0>;
1391 qcom,hw-settle-time = <0>;
1392 qcom,fast-avg-setup = <0>;
1393 };
1394
1395 chan@2 {
1396 label = "vchg_sns";
1397 reg = <2>;
1398 qcom,decimation = <0>;
1399 qcom,pre-div-channel-scaling = <3>;
1400 qcom,calibration-type = "absolute";
1401 qcom,scale-function = <0>;
1402 qcom,hw-settle-time = <0>;
1403 qcom,fast-avg-setup = <0>;
1404 };
1405
1406 chan@5 {
1407 label = "vcoin";
1408 reg = <5>;
1409 qcom,decimation = <0>;
1410 qcom,pre-div-channel-scaling = <1>;
1411 qcom,calibration-type = "absolute";
1412 qcom,scale-function = <0>;
1413 qcom,hw-settle-time = <0>;
1414 qcom,fast-avg-setup = <0>;
1415 };
1416
1417 chan@6 {
1418 label = "vbat_sns";
1419 reg = <6>;
1420 qcom,decimation = <0>;
1421 qcom,pre-div-channel-scaling = <1>;
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@7 {
1429 label = "vph_pwr";
1430 reg = <7>;
1431 qcom,decimation = <0>;
1432 qcom,pre-div-channel-scaling = <1>;
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@30 {
1440 label = "batt_therm";
1441 reg = <0x30>;
1442 qcom,decimation = <0>;
1443 qcom,pre-div-channel-scaling = <0>;
1444 qcom,calibration-type = "ratiometric";
1445 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -08001446 qcom,hw-settle-time = <2>;
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001447 qcom,fast-avg-setup = <0>;
1448 };
1449
1450 chan@31 {
1451 label = "batt_id";
1452 reg = <0x31>;
1453 qcom,decimation = <0>;
1454 qcom,pre-div-channel-scaling = <0>;
1455 qcom,calibration-type = "ratiometric";
1456 qcom,scale-function = <0>;
1457 qcom,hw-settle-time = <2>;
1458 qcom,fast-avg-setup = <0>;
1459 };
1460
1461 chan@b2 {
1462 label = "xo_therm_pu2";
1463 reg = <0xb2>;
1464 qcom,decimation = <0>;
1465 qcom,pre-div-channel-scaling = <0>;
1466 qcom,calibration-type = "ratiometric";
1467 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -08001468 qcom,hw-settle-time = <2>;
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001469 qcom,fast-avg-setup = <0>;
1470 };
David Keitelc51a7e52013-03-02 00:14:48 -08001471
Siddartha Mohanadoss3cb76152013-04-12 16:17:02 -07001472 chan@39 {
1473 label = "usb_id_nopull";
1474 reg = <0x39>;
1475 qcom,decimation = <0>;
1476 qcom,pre-div-channel-scaling = <0>;
1477 qcom,calibration-type = "ratiometric";
1478 qcom,scale-function = <0>;
1479 qcom,hw-settle-time = <2>;
1480 qcom,fast-avg-setup = <0>;
1481 };
David Keitelc51a7e52013-03-02 00:14:48 -08001482};
1483
Siddartha Mohanadoss8aea3172013-05-09 11:49:37 -07001484&pm8226_adc_tm {
1485 /* Channel Node */
1486 chan@30 {
1487 label = "batt_therm";
1488 reg = <0x30>;
1489 qcom,decimation = <0>;
1490 qcom,pre-div-channel-scaling = <0>;
1491 qcom,calibration-type = "ratiometric";
1492 qcom,scale-function = <1>;
1493 qcom,hw-settle-time = <2>;
1494 qcom,fast-avg-setup = <3>;
1495 qcom,btm-channel-number = <0x48>;
1496 };
1497
1498 chan@8 {
1499 label = "die_temp";
1500 reg = <8>;
1501 qcom,decimation = <0>;
1502 qcom,pre-div-channel-scaling = <0>;
1503 qcom,calibration-type = "absolute";
1504 qcom,scale-function = <3>;
1505 qcom,hw-settle-time = <0>;
1506 qcom,fast-avg-setup = <3>;
1507 qcom,btm-channel-number = <0x68>;
1508 };
1509
1510 chan@6 {
1511 label = "vbat_sns";
1512 reg = <6>;
1513 qcom,decimation = <0>;
1514 qcom,pre-div-channel-scaling = <1>;
1515 qcom,calibration-type = "absolute";
1516 qcom,scale-function = <0>;
1517 qcom,hw-settle-time = <0>;
1518 qcom,fast-avg-setup = <3>;
1519 qcom,btm-channel-number = <0x70>;
1520 };
1521
1522 chan@14 {
1523 label = "pa_therm0";
1524 reg = <0x14>;
1525 qcom,decimation = <0>;
1526 qcom,pre-div-channel-scaling = <0>;
1527 qcom,calibration-type = "ratiometric";
1528 qcom,scale-function = <2>;
1529 qcom,hw-settle-time = <2>;
1530 qcom,fast-avg-setup = <0>;
1531 qcom,btm-channel-number = <0x78>;
1532 qcom,thermal-node;
1533 };
1534
1535 chan@17 {
1536 label = "pa_therm1";
1537 reg = <0x17>;
1538 qcom,decimation = <0>;
1539 qcom,pre-div-channel-scaling = <0>;
1540 qcom,calibration-type = "ratiometric";
1541 qcom,scale-function = <2>;
1542 qcom,hw-settle-time = <2>;
1543 qcom,fast-avg-setup = <0>;
1544 qcom,btm-channel-number = <0x80>;
1545 qcom,thermal-node;
1546 };
1547};
1548
David Keitelc51a7e52013-03-02 00:14:48 -08001549&pm8226_chg {
1550 status = "ok";
1551
David Keitele89d4782013-03-27 11:29:59 -07001552 qcom,chgr@1000 {
David Keitelc51a7e52013-03-02 00:14:48 -08001553 status = "ok";
1554 };
1555
David Keitele89d4782013-03-27 11:29:59 -07001556 qcom,buck@1100 {
David Keitelc51a7e52013-03-02 00:14:48 -08001557 status = "ok";
1558 };
1559
David Keitele89d4782013-03-27 11:29:59 -07001560 qcom,bat-if@1200 {
Fenglin Wu009098a2013-03-08 15:50:51 -08001561 status = "ok";
1562 };
1563
David Keitele89d4782013-03-27 11:29:59 -07001564 qcom,usb-chgpth@1300 {
David Keitelc51a7e52013-03-02 00:14:48 -08001565 status = "ok";
1566 };
1567
David Keitele89d4782013-03-27 11:29:59 -07001568 qcom,boost@1500 {
David Keitelc51a7e52013-03-02 00:14:48 -08001569 status = "ok";
1570 };
1571
1572 qcom,chg-misc@1600 {
1573 status = "ok";
1574 };
Siddartha Mohanadossae99e772013-02-19 15:44:40 -08001575};