blob: 5f51520c82e859bc3fe7f8759ad185193ade3cb5 [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"
Mitchel Humpherys52ffaec2012-10-09 15:40:13 -070014/include/ "msm8226-ion.dtsi"
Patrick Dalye8977aa2012-11-06 15:25:58 -080015/include/ "msm-gdsc.dtsi"
Mitchel Humpherys85d08692012-10-23 12:56:35 -070016/include/ "msm8226-iommu.dtsi"
Praveen Chidambaramc8af25e2012-12-19 11:27:36 -070017/include/ "msm8226-pm.dtsi"
Eric Holmberg3d112ee2013-01-29 19:12:39 -070018/include/ "msm8226-smp2p.dtsi"
liu zhongf5c0edb2013-01-25 11:18:53 -070019/include/ "msm8226-gpu.dtsi"
Gagan Macf5b34d82013-01-28 17:11:10 -070020/include/ "msm8226-bus.dtsi"
Sree Sesha Aravind Vadrevu82a171d2013-02-26 20:17:01 -080021/include/ "msm8226-mdss.dtsi"
Aparna Dasbbee0842013-02-28 21:35:15 -080022/include/ "msm8226-coresight.dtsi"
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -080023/include/ "msm8226-iommu-domains.dtsi"
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -070024/ {
25 model = "Qualcomm MSM 8226";
26 compatible = "qcom,msm8226";
27 interrupt-parent = <&intc>;
28
29 intc: interrupt-controller@f9000000 {
30 compatible = "qcom,msm-qgic2";
31 interrupt-controller;
32 #interrupt-cells = <3>;
33 reg = <0xF9000000 0x1000>,
34 <0xF9002000 0x1000>;
35 };
36
37 msmgpio: gpio@fd510000 {
38 compatible = "qcom,msm-gpio";
39 interrupt-controller;
40 #interrupt-cells = <2>;
41 reg = <0xfd510000 0x4000>;
Syed Rameez Mustafa86cccfc2012-12-10 18:06:08 -080042 gpio-controller;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -070043 #gpio-cells = <2>;
Rohit Vaswani341c2032012-11-08 18:49:29 -080044 ngpio = <117>;
Rohit Vaswanid2001522012-12-05 19:23:44 -080045 interrupts = <0 208 0>;
Rohit Vaswanied0a4ef2012-12-11 15:14:42 -080046 qcom,direct-connect-irqs = <8>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -070047 };
48
Gilad Avidovd59217c2013-02-01 13:45:59 -070049 aliases {
50 spi0 = &spi_0;
51 };
52
Laura Abbottf3196b22013-03-11 16:22:34 -070053 memory {
54 secure_mem: secure_region {
55 linux,contiguous-region;
56 reg = <0 0x3800000>;
57 label = "secure_mem";
58 };
59 };
60
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -070061 timer {
Syed Rameez Mustafa0824d6c2012-11-29 18:53:56 -080062 compatible = "arm,armv7-timer";
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -070063 interrupts = <1 2 0 1 3 0>;
64 clock-frequency = <19200000>;
65 };
66
Ashray Kulkarnifbf88dbd2013-02-22 18:02:26 -080067 qcom,vidc@fdc00000 {
68 compatible = "qcom,msm-vidc";
69 reg = <0xfdc00000 0xff000>;
70 interrupts = <0 44 0>;
71 qcom,load-freq-tbl = <352800 160000000>,
72 <244800 133330000>,
73 <108000 66700000>;
74 qcom,hfi = "venus";
75 qcom,bus-ports = <1>;
76 qcom,reg-presets = <0xE0024 0x0>,
77 <0x80124 0x3>,
78 <0xE0020 0x5555556>,
79 <0x800B0 0x10101001>,
80 <0x800B4 0x00101010>,
81 <0x800C0 0x1010100f>,
82 <0x800C4 0x00101010>,
83 <0x800D0 0x00000010>,
84 <0x800D4 0x00000010>,
85 <0x800D8 0x00000707>;
86 qcom,enc-ddr-ab-ib = <0 0>,
87 <129000 142000>,
88 <384000 422000>,
89 <866000 953000>;
90 qcom,dec-ddr-ab-ib = <0 0>,
91 <103000 134000>,
92 <268000 348000>,
93 <505000 657000>;
94 qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>;
95 qcom,iommu-group-buffer-types = <0xfff 0x1ff>;
96 qcom,buffer-type-tz-usage-table = <0x1 0x1>,
97 <0x1fe 0x2>;
98 };
99
100 qcom,wfd {
101 compatible = "qcom,msm-wfd";
102 };
103
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700104 serial@f991f000 {
105 compatible = "qcom,msm-lsuart-v14";
106 reg = <0xf991f000 0x1000>;
107 interrupts = <0 109 0>;
108 status = "disabled";
109 };
110
111 serial@f995e000 {
112 compatible = "qcom,msm-lsuart-v14";
113 reg = <0xf995e000 0x1000>;
114 interrupts = <0 114 0>;
115 status = "disabled";
116 };
117
Abhimanyu Kapur032b1f42013-01-18 00:10:50 -0800118 qcom,msm-imem@fe805000 {
119 compatible = "qcom,msm-imem";
120 reg = <0xfe805000 0x1000>; /* Address and size of IMEM */
121 };
122
Yan He7c06ce32012-12-03 17:12:31 -0800123 qcom,sps@f9984000 {
124 compatible = "qcom,msm_sps";
125 reg = <0xf9984000 0x15000>,
126 <0xf9999000 0xb000>;
127 interrupts = <0 94 0>;
128 };
129
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700130 usb@f9a55000 {
131 compatible = "qcom,hsusb-otg";
132 reg = <0xf9a55000 0x400>;
Mayank Ranaac2a54f2013-01-17 10:14:35 +0530133 interrupts = <0 134 0>, <0 140 0>;
134 interrupt-names = "core_irq", "async_irq";
Mayank Rana8335a772013-03-06 10:12:27 +0530135 hsusb_vdd_dig-supply = <&pm8226_s1_corner>;
David Keitel7184c6e2013-02-11 13:23:04 -0800136 HSUSB_1p8-supply = <&pm8226_l10>;
137 HSUSB_3p3-supply = <&pm8226_l20>;
Mayank Rana8335a772013-03-06 10:12:27 +0530138 qcom,vdd-voltage-level = <1 5 7>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700139
140 qcom,hsusb-otg-phy-type = <2>;
141 qcom,hsusb-otg-mode = <1>;
Vamsi Krishna0d564102013-03-02 15:26:55 -0800142 qcom,hsusb-otg-otg-control = <2>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700143 qcom,hsusb-otg-disable-reset;
Mayank Rana15f01b52013-03-08 18:28:56 +0530144 qcom,dp-manual-pullup;
Mayank Rana5403e2a2013-02-26 11:18:39 +0530145
146 qcom,msm-bus,name = "usb2";
147 qcom,msm-bus,num-cases = <2>;
148 qcom,msm-bus,active-only = <0>;
149 qcom,msm-bus,num-paths = <1>;
150 qcom,msm-bus,vectors-KBps =
151 <87 512 0 0>,
152 <87 512 60000 960000>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700153 };
154
Mayank Rana6bd9a272013-01-29 16:23:23 +0530155 android_usb@fe8050c8 {
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700156 compatible = "qcom,android-usb";
Mayank Rana6bd9a272013-01-29 16:23:23 +0530157 reg = <0xfe8050c8 0xc8>;
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700158 };
159
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800160 wcd9xxx_intc: wcd9xxx-irq {
161 compatible = "qcom,wcd9xxx-irq";
162 interrupt-controller;
163 #interrupt-cells = <1>;
164 interrupt-parent = <&msmgpio>;
165 interrupts = <68 0>;
166 interrupt-names = "cdc-int";
167 };
168
Bhalchandra Gajarefb785972012-12-06 19:25:10 -0800169 slim@fe12f000 {
170 cell-index = <1>;
171 compatible = "qcom,slim-ngd";
172 reg = <0xfe12f000 0x35000>,
173 <0xfe104000 0x20000>;
174 reg-names = "slimbus_physical", "slimbus_bam_physical";
175 interrupts = <0 163 0>, <0 164 0>;
176 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800177
178 tapan_codec {
179 compatible = "qcom,tapan-slim-pgd";
180 elemental-addr = [00 01 E0 00 17 02];
181
182 interrupt-parent = <&wcd9xxx_intc>;
183 interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
184 17 18 19 20 21 22 23 24 25 26 27 28>;
185 qcom,cdc-reset-gpio = <&msmgpio 72 0>;
186
David Keitel7184c6e2013-02-11 13:23:04 -0800187 cdc-vdd-buck-supply = <&pm8226_s4>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800188 qcom,cdc-vdd-buck-voltage = <2100000 2100000>;
189 qcom,cdc-vdd-buck-current = <650000>;
190
David Keitel7184c6e2013-02-11 13:23:04 -0800191 cdc-vdd-h-supply = <&pm8226_l6>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800192 qcom,cdc-vdd-h-voltage = <1800000 1800000>;
193 qcom,cdc-vdd-h-current = <25000>;
194
David Keitel7184c6e2013-02-11 13:23:04 -0800195 cdc-vdd-px-supply = <&pm8226_l6>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800196 qcom,cdc-vdd-px-voltage = <1800000 1800000>;
197 qcom,cdc-vdd-px-current = <25000>;
198
David Keitel7184c6e2013-02-11 13:23:04 -0800199 cdc-vdd-a-1p2v-supply = <&pm8226_l4>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800200 qcom,cdc-vdd-a-1p2v-voltage = <1200000 1200000>;
201 qcom,cdc-vdd-a-1p2v-current = <10000>;
202
David Keitel7184c6e2013-02-11 13:23:04 -0800203 cdc-vdd-cx-supply = <&pm8226_l4>;
Bhalchandra Gajare555bceb2012-12-12 22:48:34 -0800204 qcom,cdc-vdd-cx-voltage = <1200000 1200000>;
205 qcom,cdc-vdd-cx-current = <10000>;
206
207 qcom,cdc-micbias-ldoh-v = <0x3>;
208 qcom,cdc-micbias-cfilt1-mv = <1800>;
209 qcom,cdc-micbias-cfilt2-mv = <1800>;
210 qcom,cdc-micbias-cfilt3-mv = <1800>;
211
212 qcom,cdc-micbias1-cfilt-sel = <0x0>;
213 qcom,cdc-micbias2-cfilt-sel = <0x1>;
214 qcom,cdc-micbias3-cfilt-sel = <0x2>;
215
216 qcom,cdc-mclk-clk-rate = <9600000>;
217 qcom,cdc-slim-ifd = "tapan-slim-ifd";
218 qcom,cdc-slim-ifd-elemental-addr = [00 00 E0 00 17 02];
219 };
Bhalchandra Gajarefb785972012-12-06 19:25:10 -0800220 };
221
Bhalchandra Gajaree1915b82012-12-12 17:28:39 -0800222 qcom,msm-adsp-loader {
223 compatible = "qcom,adsp-loader";
224 qcom,adsp-state = <0>;
225 };
226
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800227 sound {
228 compatible = "qcom,msm8226-audio-tapan";
229 qcom,model = "msm8226-tapan-snd-card";
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800230 qcom,tapan-mclk-clk-freq = <9600000>;
231 };
232
233 qcom,msm-pcm {
234 compatible = "qcom,msm-pcm-dsp";
Bhalchandra Gajare510d4422013-03-01 21:07:12 -0800235 qcom,msm-pcm-dsp-id = <0>;
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800236 };
237
238 qcom,msm-pcm-routing {
239 compatible = "qcom,msm-pcm-routing";
240 };
241
Bhalchandra Gajare18468a62013-03-11 18:32:49 -0700242 qcom,msm-pcm-low-latency {
243 compatible = "qcom,msm-pcm-dsp";
244 qcom,msm-pcm-dsp-id = <1>;
245 qcom,msm-pcm-low-latency;
246 };
247
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800248 qcom,msm-pcm-lpa {
249 compatible = "qcom,msm-pcm-lpa";
250 };
251
252 qcom,msm-compr-dsp {
253 compatible = "qcom,msm-compr-dsp";
254 };
255
256 qcom,msm-voip-dsp {
257 compatible = "qcom,msm-voip-dsp";
258 };
259
260 qcom,msm-pcm-voice {
261 compatible = "qcom,msm-pcm-voice";
262 };
263
264 qcom,msm-stub-codec {
265 compatible = "qcom,msm-stub-codec";
266 };
267
268 qcom,msm-dai-fe {
269 compatible = "qcom,msm-dai-fe";
270 };
271
272 qcom,msm-pcm-afe {
273 compatible = "qcom,msm-pcm-afe";
274 };
275
276 qcom,msm-dai-q6-hdmi {
277 compatible = "qcom,msm-dai-q6-hdmi";
278 qcom,msm-dai-q6-dev-id = <8>;
279 };
280
281 qcom,msm-dai-q6 {
282 compatible = "qcom,msm-dai-q6";
283 qcom,msm-dai-q6-sb-0-rx {
284 compatible = "qcom,msm-dai-q6-dev";
285 qcom,msm-dai-q6-dev-id = <16384>;
286 };
287
288 qcom,msm-dai-q6-sb-0-tx {
289 compatible = "qcom,msm-dai-q6-dev";
290 qcom,msm-dai-q6-dev-id = <16385>;
291 };
292
293 qcom,msm-dai-q6-sb-1-rx {
294 compatible = "qcom,msm-dai-q6-dev";
295 qcom,msm-dai-q6-dev-id = <16386>;
296 };
297
298 qcom,msm-dai-q6-sb-1-tx {
299 compatible = "qcom,msm-dai-q6-dev";
300 qcom,msm-dai-q6-dev-id = <16387>;
301 };
302
303 qcom,msm-dai-q6-sb-3-rx {
304 compatible = "qcom,msm-dai-q6-dev";
305 qcom,msm-dai-q6-dev-id = <16390>;
306 };
307
308 qcom,msm-dai-q6-sb-3-tx {
309 compatible = "qcom,msm-dai-q6-dev";
310 qcom,msm-dai-q6-dev-id = <16391>;
311 };
312
313 qcom,msm-dai-q6-sb-4-rx {
314 compatible = "qcom,msm-dai-q6-dev";
315 qcom,msm-dai-q6-dev-id = <16392>;
316 };
317
318 qcom,msm-dai-q6-sb-4-tx {
319 compatible = "qcom,msm-dai-q6-dev";
320 qcom,msm-dai-q6-dev-id = <16393>;
321 };
322
323 qcom,msm-dai-q6-bt-sco-rx {
324 compatible = "qcom,msm-dai-q6-dev";
325 qcom,msm-dai-q6-dev-id = <12288>;
326 };
327
328 qcom,msm-dai-q6-bt-sco-tx {
329 compatible = "qcom,msm-dai-q6-dev";
330 qcom,msm-dai-q6-dev-id = <12289>;
331 };
332
333 qcom,msm-dai-q6-int-fm-rx {
334 compatible = "qcom,msm-dai-q6-dev";
335 qcom,msm-dai-q6-dev-id = <12292>;
336 };
337
338 qcom,msm-dai-q6-int-fm-tx {
339 compatible = "qcom,msm-dai-q6-dev";
340 qcom,msm-dai-q6-dev-id = <12293>;
341 };
342
343 qcom,msm-dai-q6-be-afe-pcm-rx {
344 compatible = "qcom,msm-dai-q6-dev";
345 qcom,msm-dai-q6-dev-id = <224>;
346 };
347
348 qcom,msm-dai-q6-be-afe-pcm-tx {
349 compatible = "qcom,msm-dai-q6-dev";
350 qcom,msm-dai-q6-dev-id = <225>;
351 };
352
353 qcom,msm-dai-q6-afe-proxy-rx {
354 compatible = "qcom,msm-dai-q6-dev";
355 qcom,msm-dai-q6-dev-id = <241>;
356 };
357
358 qcom,msm-dai-q6-afe-proxy-tx {
359 compatible = "qcom,msm-dai-q6-dev";
360 qcom,msm-dai-q6-dev-id = <240>;
361 };
Vicky Sehrawat2ef554c2013-03-12 17:24:20 -0700362
363 qcom,msm-dai-q6-incall-record-rx {
364 compatible = "qcom,msm-dai-q6-dev";
365 qcom,msm-dai-q6-dev-id = <32771>;
366 };
367
368 qcom,msm-dai-q6-incall-record-tx {
369 compatible = "qcom,msm-dai-q6-dev";
370 qcom,msm-dai-q6-dev-id = <32772>;
371 };
372
373 qcom,msm-dai-q6-incall-music-rx {
374 compatible = "qcom,msm-dai-q6-dev";
375 qcom,msm-dai-q6-dev-id = <32773>;
376 };
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800377 };
378
379 qcom,msm-pcm-hostless {
380 compatible = "qcom,msm-pcm-hostless";
381 };
Sheng Fangb6a06482013-03-20 13:21:36 +0800382 qcom,pronto@fb21b000 {
383 compatible = "qcom,pil-pronto";
384 reg = <0xfb21b000 0x3000>,
385 <0xfc401700 0x4>,
386 <0xfd485300 0xc>;
387 reg-names = "pmu_base", "clk_base", "halt_base";
388 interrupts = <0 149 1>;
389 vdd_pronto_pll-supply = <&pm8226_l12>;
Bhalchandra Gajare03a40ec2012-12-17 11:38:28 -0800390
Sheng Fangb6a06482013-03-20 13:21:36 +0800391 qcom,firmware-name = "wcnss";
392 };
393 qcom,wcnss-wlan@fb000000 {
394 compatible = "qcom,wcnss_wlan";
395 reg = <0xfb000000 0x280000>;
396 reg-names = "wcnss_mmio";
397 interrupts = <0 145 0 0 146 0>;
398 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
399
400 qcom,pronto-vddmx-supply = <&pm8226_l3>;
401 qcom,pronto-vddcx-supply = <&pm8226_s1>;
402 qcom,pronto-vddpx-supply = <&pm8226_l6>;
403 qcom,iris-vddxo-supply = <&pm8226_l10>;
404 qcom,iris-vddrfa-supply = <&pm8226_l24>;
405 qcom,iris-vddpa-supply = <&pm8226_l16>;
406 qcom,iris-vdddig-supply = <&pm8226_l24>;
407
408 gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>;
409 qcom,has_pronto_hw;
410 };
Mitchel Humpherys5fe1c9b2012-10-09 17:30:19 -0700411 qcom,wdt@f9017000 {
412 compatible = "qcom,msm-watchdog";
413 reg = <0xf9017000 0x1000>;
414 interrupts = <0 3 0>, <0 4 0>;
415 qcom,bark-time = <11000>;
416 qcom,pet-time = <10000>;
Mitchel Humpherys1be23802012-11-16 15:52:32 -0800417 qcom,ipi-ping;
Mitchel Humpherys5fe1c9b2012-10-09 17:30:19 -0700418 };
419
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600420 qcom,smem@fa00000 {
421 compatible = "qcom,smem";
422 reg = <0xfa00000 0x200000>,
Stepan Moskovchenkod6ee8262013-02-06 11:26:05 -0800423 <0xf9011000 0x1000>,
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600424 <0xfc428000 0x4000>;
425 reg-names = "smem", "irq-reg-base", "aux-mem1";
426
427 qcom,smd-modem {
428 compatible = "qcom,smd";
429 qcom,smd-edge = <0>;
430 qcom,smd-irq-offset = <0x8>;
431 qcom,smd-irq-bitmask = <0x1000>;
432 qcom,pil-string = "modem";
433 interrupts = <0 25 1>;
David Ngb715e322012-12-01 12:57:08 -0800434 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600435
436 qcom,smsm-modem {
437 compatible = "qcom,smsm";
438 qcom,smsm-edge = <0>;
439 qcom,smsm-irq-offset = <0x8>;
440 qcom,smsm-irq-bitmask = <0x2000>;
441 interrupts = <0 26 1>;
David Ngb715e322012-12-01 12:57:08 -0800442 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600443
444 qcom,smd-adsp {
445 compatible = "qcom,smd";
446 qcom,smd-edge = <1>;
447 qcom,smd-irq-offset = <0x8>;
448 qcom,smd-irq-bitmask = <0x100>;
449 qcom,pil-string = "adsp";
450 interrupts = <0 156 1>;
David Ngb715e322012-12-01 12:57:08 -0800451 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600452
453 qcom,smsm-adsp {
454 compatible = "qcom,smsm";
455 qcom,smsm-edge = <1>;
456 qcom,smsm-irq-offset = <0x8>;
457 qcom,smsm-irq-bitmask = <0x200>;
458 interrupts = <0 157 1>;
David Ngb715e322012-12-01 12:57:08 -0800459 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600460
461 qcom,smd-wcnss {
462 compatible = "qcom,smd";
463 qcom,smd-edge = <6>;
464 qcom,smd-irq-offset = <0x8>;
465 qcom,smd-irq-bitmask = <0x20000>;
466 qcom,pil-string = "wcnss";
467 interrupts = <0 142 1>;
David Ngb715e322012-12-01 12:57:08 -0800468 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600469
470 qcom,smsm-wcnss {
471 compatible = "qcom,smsm";
472 qcom,smsm-edge = <6>;
473 qcom,smsm-irq-offset = <0x8>;
474 qcom,smsm-irq-bitmask = <0x80000>;
475 interrupts = <0 144 1>;
David Ngb715e322012-12-01 12:57:08 -0800476 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600477
478 qcom,smd-rpm {
479 compatible = "qcom,smd";
480 qcom,smd-edge = <15>;
481 qcom,smd-irq-offset = <0x8>;
482 qcom,smd-irq-bitmask = <0x1>;
483 interrupts = <0 168 1>;
484 qcom,irq-no-suspend;
David Ngb715e322012-12-01 12:57:08 -0800485 };
Jeff Hugo7f9705b62012-10-12 10:38:26 -0600486 };
487
Praveen Chidambaramc8af25e2012-12-19 11:27:36 -0700488 rpm_bus: qcom,rpm-smd {
489 compatible = "qcom,rpm-smd";
490 rpm-channel-name = "rpm_requests";
491 rpm-channel-type = <15>; /* SMD_APPS_RPM */
Praveen Chidambaramc8af25e2012-12-19 11:27:36 -0700492 };
493
Asutosh Das99912e62012-12-06 12:38:46 +0530494 sdcc1: qcom,sdcc@f9824000 {
495 cell-index = <1>; /* SDC1 eMMC slot */
496 compatible = "qcom,msm-sdcc";
497
Asutosh Das6b82fc52012-11-23 12:00:26 +0530498 reg = <0xf9824000 0x800>,
499 <0xf9824800 0x100>,
500 <0xf9804000 0x7000>;
501 reg-names = "core_mem", "dml_mem", "bam_mem";
502 interrupts = <0 123 0>, <0 137 0>;
503 interrupt-names = "core_irq", "bam_irq";
Asutosh Das99912e62012-12-06 12:38:46 +0530504
505 qcom,bus-width = <8>;
506 status = "disabled";
507 };
508
509 sdcc2: qcom,sdcc@f98a4000 {
510 cell-index = <2>; /* SDC2 SD card slot */
511 compatible = "qcom,msm-sdcc";
512
Asutosh Das6b82fc52012-11-23 12:00:26 +0530513 reg = <0xf98a4000 0x800>,
514 <0xf98a4800 0x100>,
515 <0xf9884000 0x7000>;
516 reg-names = "core_mem", "dml_mem", "bam_mem";
517 interrupts = <0 125 0>, <0 220 0>;
518 interrupt-names = "core_irq", "bam_irq";
Asutosh Das99912e62012-12-06 12:38:46 +0530519
520 qcom,bus-width = <4>;
521 status = "disabled";
522 };
Kenneth Heitkee5804002012-11-15 17:50:07 -0700523
524 spmi_bus: qcom,spmi@fc4c0000 {
525 cell-index = <0>;
526 compatible = "qcom,spmi-pmic-arb";
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700527 reg-names = "core", "intr", "cnfg";
Kenneth Heitkee5804002012-11-15 17:50:07 -0700528 reg = <0xfc4cf000 0x1000>,
Kenneth Heitke366b8a42012-12-18 13:51:37 -0700529 <0Xfc4cb000 0x1000>,
530 <0Xfc4ca000 0x1000>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700531 /* 190,ee0_krait_hlos_spmi_periph_irq */
532 /* 187,channel_0_krait_hlos_trans_done_irq */
533 interrupts = <0 190 0>, <0 187 0>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700534 qcom,pmic-arb-ee = <0>;
535 qcom,pmic-arb-channel = <0>;
Kenneth Heitkee5804002012-11-15 17:50:07 -0700536 };
537
Gilad Avidov28e18eb2012-11-21 18:13:25 -0700538 i2c@f9926000 { /* BLSP-1 QUP-4 */
539 cell-index = <0>;
540 compatible = "qcom,i2c-qup";
541 reg = <0xf9926000 0x1000>;
542 #address-cells = <1>;
543 #size-cells = <0>;
544 reg-names = "qup_phys_addr";
545 interrupts = <0 98 0>;
546 interrupt-names = "qup_err_intr";
547 qcom,i2c-bus-freq = <100000>;
548 };
Patrick Daly99a52ca2012-10-23 12:00:45 -0700549
Amy Maloche41708ba2013-03-03 15:19:27 -0800550 i2c@f9927000 { /* BLSP1 QUP5 */
551 cell-index = <5>;
552 compatible = "qcom,i2c-qup";
553 #address-cells = <1>;
554 #size-cells = <0>;
555 reg-names = "qup_phys_addr";
556 reg = <0xf9927000 0x1000>;
557 interrupt-names = "qup_err_intr";
558 interrupts = <0 99 0>;
559 qcom,i2c-bus-freq = <100000>;
560 qcom,i2c-src-freq = <19200000>;
561 };
562
Patrick Daly99a52ca2012-10-23 12:00:45 -0700563 qcom,acpuclk@f9011050 {
564 compatible = "qcom,acpuclk-a7";
565 reg = <0xf9011050 0x8>;
566 reg-names = "rcg_base";
David Keitel7184c6e2013-02-11 13:23:04 -0800567 a7_cpu-supply = <&pm8226_s2>;
568 a7_mem-supply = <&pm8226_l3>;
Patrick Daly99a52ca2012-10-23 12:00:45 -0700569 };
Mitchel Humpherys00beacf2012-10-11 13:53:43 -0700570
571 qcom,ocmem@fdd00000 {
572 compatible = "qcom,msm-ocmem";
573 reg = <0xfdd00000 0x2000>,
574 <0xfdd02000 0x2000>,
575 <0xfe039000 0x400>,
Mitchel Humpherys1da744d2013-03-08 17:20:41 -0800576 <0xfec00000 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -0700577 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
578 interrupts = <0 76 0 0 77 0>;
579 interrupt-names = "ocmem_irq", "dm_irq";
580 qcom,ocmem-num-regions = <0x1>;
581 qcom,ocmem-num-macros = <0x2>;
582 qcom,resource-type = <0x706d636f>;
583 #address-cells = <1>;
584 #size-cells = <1>;
Mitchel Humpherys1da744d2013-03-08 17:20:41 -0800585 ranges = <0x0 0xfec00000 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -0700586
587 partition@0 {
Mitchel Humpherys1da744d2013-03-08 17:20:41 -0800588 reg = <0x0 0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -0700589 qcom,ocmem-part-name = "graphics";
Mitchel Humpherys1da744d2013-03-08 17:20:41 -0800590 qcom,ocmem-part-min = <0x20000>;
Mitchel Humpherys00beacf2012-10-11 13:53:43 -0700591 };
592 };
593
Patrick Dalyb83f0b02013-01-09 12:36:19 -0800594 qcom,venus@fdce0000 {
595 compatible = "qcom,pil-venus";
596 reg = <0xfdce0000 0x4000>,
597 <0xfdc80000 0x400>;
598 reg-names = "wrapper_base", "vbif_base";
599 vdd-supply = <&gdsc_venus>;
600
601 qcom,firmware-name = "venus";
602 };
Patrick Daly1e3bc6c2013-01-09 12:34:25 -0800603
604 qcom,pronto@fb21b000 {
605 compatible = "qcom,pil-pronto";
606 reg = <0xfb21b000 0x3000>,
607 <0xfc401700 0x4>,
608 <0xfd485300 0xc>;
609 reg-names = "pmu_base", "clk_base", "halt_base";
610 interrupts = <0 149 1>;
David Keitel7184c6e2013-02-11 13:23:04 -0800611 vdd_pronto_pll-supply = <&pm8226_l8>;
Patrick Daly1e3bc6c2013-01-09 12:34:25 -0800612
613 qcom,firmware-name = "wcnss";
614 };
Neeti Desai1f7ca2d2012-11-21 13:25:57 -0800615
Sheng Fang0a85b0d2013-03-19 08:16:51 +0800616 qcom,iris-fm {
617 compatible = "qcom,iris_fm";
618 };
619
Patrick Daly4df59842013-01-09 12:31:40 -0800620 qcom,lpass@fe200000 {
621 compatible = "qcom,pil-q6v5-lpass";
622 reg = <0xfe200000 0x00100>,
Matt Wagantall015b50af2013-03-05 18:51:16 -0800623 <0xfd485100 0x00010>,
624 <0xfc4016c0 0x00004>;
625 reg-names = "qdsp6_base", "halt_base", "restart_reg";
David Keitelf4c8b8b2013-02-25 15:25:27 -0800626 vdd_cx-supply = <&pm8226_s1_corner>;
Patrick Daly4df59842013-01-09 12:31:40 -0800627 interrupts = <0 162 1>;
628
629 qcom,firmware-name = "adsp";
630 };
631
Patrick Daly742337f2013-01-29 12:06:06 -0800632 qcom,mss@fc880000 {
633 compatible = "qcom,pil-q6v5-mss";
634 reg = <0xfc880000 0x100>,
635 <0xfd485000 0x400>,
636 <0xfc820000 0x020>,
637 <0xfc401680 0x004>,
638 <0x0d1fc000 0x4000>,
639 <0xfd485194 0x4>;
640 reg-names = "qdsp6_base", "halt_base", "rmb_base",
641 "restart_reg", "metadata_base", "cxrail_bhs_reg";
642
643 interrupts = <0 24 1>;
644 vdd_mss-supply = <&pm8226_s1>;
645 vdd_cx-supply = <&pm8226_s1_corner>;
646 vdd_mx-supply = <&pm8226_l3>;
647 vdd_pll-supply = <&pm8226_l8>;
648 qcom,vdd_pll = <1800000>;
649
650 qcom,is-loadable;
651 qcom,firmware-name = "mba";
652 qcom,pil-self-auth;
653 };
654
Neeti Desai1f7ca2d2012-11-21 13:25:57 -0800655 qcom,msm-mem-hole {
656 compatible = "qcom,msm-mem-hole";
Neeti Desaif5756012013-02-25 17:56:35 -0800657 qcom,memblock-remove = <0x8400000 0x7b00000>; /* Address and Size of Hole */
Neeti Desai1f7ca2d2012-11-21 13:25:57 -0800658 };
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -0800659
660 tsens: tsens@fc4a8000 {
661 compatible = "qcom,msm-tsens";
662 reg = <0xfc4a8000 0x2000>,
663 <0xfc4b8000 0x1000>;
664 reg-names = "tsens_physical", "tsens_eeprom_physical";
665 interrupts = <0 184 0>;
Siddartha Mohanadoss9a4e94a2013-03-06 19:15:59 -0800666 qcom,sensors = <4>;
667 qcom,slope = <2901 2846 3038 2955>;
Siddartha Mohanadossfcd98562013-02-13 08:53:22 -0800668 qcom,calib-mode = "fuse_map2";
669 };
Praveen Chidambarama03bda52013-02-12 21:23:13 -0700670
671 qcom,msm-thermal {
672 compatible = "qcom,msm-thermal";
673 qcom,sensor-id = <0>;
674 qcom,poll-ms = <250>;
675 qcom,limit-temp = <60>;
676 qcom,temp-hysteresis = <10>;
677 qcom,freq-step = <2>;
678 };
679
Gilad Avidovd59217c2013-02-01 13:45:59 -0700680 spi_0: spi@f9923000 { /* BLSP1 QUP1 */
681 compatible = "qcom,spi-qup-v2";
682 #address-cells = <1>;
683 #size-cells = <0>;
684 reg-names = "spi_physical", "spi_bam_physical";
685 reg = <0xf9923000 0x1000>,
686 <0xf9904000 0xF000>;
687 interrupt-names = "spi_irq", "spi_bam_irq";
688 interrupts = <0 95 0>, <0 238 0>;
689 spi-max-frequency = <19200000>;
690
691 gpios = <&msmgpio 3 0>, /* CLK */
692 <&msmgpio 1 0>, /* MISO */
693 <&msmgpio 0 0>; /* MOSI */
aiqunyb1e82f32013-03-13 15:35:53 -0700694 cs-gpios = <&msmgpio 22 0>;
Gilad Avidovd59217c2013-02-01 13:45:59 -0700695
696 qcom,infinite-mode = <0>;
697 qcom,use-bam;
698 qcom,ver-reg-exists;
699 qcom,bam-consumer-pipe-index = <12>;
700 qcom,bam-producer-pipe-index = <13>;
701 };
702
Jeff Hugo72e10912013-03-05 11:17:38 -0700703 qcom,bam_dmux@fc834000 {
704 compatible = "qcom,bam_dmux";
705 reg = <0xfc834000 0x7000>;
706 interrupts = <0 29 1>;
707 };
Pushkar Joshi4f3aa0b2013-03-07 22:44:04 -0800708
709 qcom,msm-rtb {
710 compatible = "qcom,msm-rtb";
711 qcom,memory-reservation-type = "EBI1";
712 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
713 };
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -0700714
Hariprasad Dhalinarasimhab548ee52013-03-11 19:06:30 -0700715 qcom,msm-rng@f9bff000 {
716 compatible = "qcom,msm-rng";
717 reg = <0xf9bff000 0x200>;
718 qcom,msm-rng-iface-clk;
719 };
Hariprasad Dhalinarasimhaadf89cc2013-03-13 13:41:05 -0700720
721 qcom,tz-log@fc5b82c {
722 compatible = "qcom,tz-log";
723 reg = <0x0fc5b82c 0x1000>;
724 };
Pushkar Joshi85a53192013-03-11 11:15:15 -0700725
726 jtag_mm0: jtagmm@fc33c000 {
727 compatible = "qcom,jtag-mm";
728 reg = <0xfc33c000 0x1000>,
729 <0xfc330000 0x1000>;
730 reg-names = "etm-base","debug-base";
731 };
732
733 jtag_mm1: jtagmm@fc33d000 {
734 compatible = "qcom,jtag-mm";
735 reg = <0xfc33d000 0x1000>,
736 <0xfc332000 0x1000>;
737 reg-names = "etm-base","debug-base";
738 };
739
740 jtag_mm2: jtagmm@fc33e000 {
741 compatible = "qcom,jtag-mm";
742 reg = <0xfc33e000 0x1000>,
743 <0xfc334000 0x1000>;
744 reg-names = "etm-base","debug-base";
745 };
746
747 jtag_mm3: jtagmm@fc33f000 {
748 compatible = "qcom,jtag-mm";
749 reg = <0xfc33f000 0x1000>,
750 <0xfc336000 0x1000>;
751 reg-names = "etm-base","debug-base";
752 };
Jeff Hugo2be6bb022013-03-11 10:17:34 -0600753
754 qcom,ipc-spinlock@fd484000 {
755 compatible = "qcom,ipc-spinlock-sfpb";
756 reg = <0xfd484000 0x400>;
757 qcom,num-locks = <8>;
758 };
Syed Rameez Mustafa332018f2012-10-11 18:01:59 -0700759};
David Collins37ddb972012-10-17 15:00:26 -0700760
Patrick Dalye8977aa2012-11-06 15:25:58 -0800761&gdsc_venus {
762 status = "ok";
763};
764
765&gdsc_mdss {
766 status = "ok";
767};
768
769&gdsc_jpeg {
770 status = "ok";
771};
772
773&gdsc_vfe {
774 status = "ok";
775};
776
777&gdsc_oxili_cx {
778 status = "ok";
779};
780
781&gdsc_usb_hsic {
782 status = "ok";
783};
784
David Keitel376b2682013-03-05 18:40:01 -0800785/include/ "msm-pm8226-rpm-regulator.dtsi"
Kenneth Heitkebea6ca22013-02-07 17:23:21 -0700786/include/ "msm-pm8226.dtsi"
David Keitel7184c6e2013-02-11 13:23:04 -0800787/include/ "msm8226-regulator.dtsi"
Siddartha Mohanadossae99e772013-02-19 15:44:40 -0800788
789&pm8226_vadc {
790 chan@0 {
791 label = "usb_in";
792 reg = <0>;
793 qcom,decimation = <0>;
794 qcom,pre-div-channel-scaling = <4>;
795 qcom,calibration-type = "absolute";
796 qcom,scale-function = <0>;
797 qcom,hw-settle-time = <0>;
798 qcom,fast-avg-setup = <0>;
799 };
800
801 chan@2 {
802 label = "vchg_sns";
803 reg = <2>;
804 qcom,decimation = <0>;
805 qcom,pre-div-channel-scaling = <3>;
806 qcom,calibration-type = "absolute";
807 qcom,scale-function = <0>;
808 qcom,hw-settle-time = <0>;
809 qcom,fast-avg-setup = <0>;
810 };
811
812 chan@5 {
813 label = "vcoin";
814 reg = <5>;
815 qcom,decimation = <0>;
816 qcom,pre-div-channel-scaling = <1>;
817 qcom,calibration-type = "absolute";
818 qcom,scale-function = <0>;
819 qcom,hw-settle-time = <0>;
820 qcom,fast-avg-setup = <0>;
821 };
822
823 chan@6 {
824 label = "vbat_sns";
825 reg = <6>;
826 qcom,decimation = <0>;
827 qcom,pre-div-channel-scaling = <1>;
828 qcom,calibration-type = "absolute";
829 qcom,scale-function = <0>;
830 qcom,hw-settle-time = <0>;
831 qcom,fast-avg-setup = <0>;
832 };
833
834 chan@7 {
835 label = "vph_pwr";
836 reg = <7>;
837 qcom,decimation = <0>;
838 qcom,pre-div-channel-scaling = <1>;
839 qcom,calibration-type = "absolute";
840 qcom,scale-function = <0>;
841 qcom,hw-settle-time = <0>;
842 qcom,fast-avg-setup = <0>;
843 };
844
845 chan@30 {
846 label = "batt_therm";
847 reg = <0x30>;
848 qcom,decimation = <0>;
849 qcom,pre-div-channel-scaling = <0>;
850 qcom,calibration-type = "ratiometric";
851 qcom,scale-function = <1>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800852 qcom,hw-settle-time = <2>;
Siddartha Mohanadossae99e772013-02-19 15:44:40 -0800853 qcom,fast-avg-setup = <0>;
854 };
855
856 chan@31 {
857 label = "batt_id";
858 reg = <0x31>;
859 qcom,decimation = <0>;
860 qcom,pre-div-channel-scaling = <0>;
861 qcom,calibration-type = "ratiometric";
862 qcom,scale-function = <0>;
863 qcom,hw-settle-time = <2>;
864 qcom,fast-avg-setup = <0>;
865 };
866
867 chan@b2 {
868 label = "xo_therm_pu2";
869 reg = <0xb2>;
870 qcom,decimation = <0>;
871 qcom,pre-div-channel-scaling = <0>;
872 qcom,calibration-type = "ratiometric";
873 qcom,scale-function = <4>;
Siddartha Mohanadoss74cece62013-02-22 10:07:30 -0800874 qcom,hw-settle-time = <2>;
Siddartha Mohanadossae99e772013-02-19 15:44:40 -0800875 qcom,fast-avg-setup = <0>;
876 };
David Keitelc51a7e52013-03-02 00:14:48 -0800877
878};
879
880&pm8226_chg {
881 status = "ok";
882
David Keitelc51a7e52013-03-02 00:14:48 -0800883 qcom,chg-chgr@1000 {
884 status = "ok";
885 };
886
887 qcom,chg-buck@1100 {
888 status = "ok";
889 };
890
Fenglin Wu009098a2013-03-08 15:50:51 -0800891 qcom,chg-bat-if@1200 {
892 status = "ok";
893 };
894
David Keitelc51a7e52013-03-02 00:14:48 -0800895 qcom,chg-usb-chgpth@1300 {
896 status = "ok";
897 };
898
899 qcom,chg-boost@1500 {
900 status = "ok";
901 };
902
903 qcom,chg-misc@1600 {
904 status = "ok";
905 };
Siddartha Mohanadossae99e772013-02-19 15:44:40 -0800906};