blob: 0d76af8a7c2f5d30a864062fe41acd31edce6a6d [file] [log] [blame]
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301/*
Jingbiao Lue44c5e52018-01-03 15:26:26 +08002 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
Srinivas Ramana3cac2782017-09-13 16:31:17 +05303 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14#include "skeleton64.dtsi"
15#include <dt-bindings/gpio/gpio.h>
Kiran Gunda0954f392017-10-16 16:24:55 +053016#include <dt-bindings/spmi/spmi.h>
Kiran Gundaaf6a0b62017-10-23 16:03:10 +053017#include <dt-bindings/interrupt-controller/arm-gic.h>
Kiran Gunda0954f392017-10-16 16:24:55 +053018#include <dt-bindings/regulator/qcom,rpm-smd-regulator.h>
Shefali Jain44e24ad2017-11-23 12:27:33 +053019#include <dt-bindings/clock/msm-clocks-8953.h>
Srinivas Ramana3cac2782017-09-13 16:31:17 +053020
21/ {
22 model = "Qualcomm Technologies, Inc. MSM 8953";
23 compatible = "qcom,msm8953";
24 qcom,msm-id = <293 0x0>;
25 interrupt-parent = <&intc>;
26
27 chosen {
28 bootargs = "sched_enable_hmp=1 sched_enable_power_aware=1";
29 };
30
31 reserved-memory {
32 #address-cells = <2>;
33 #size-cells = <2>;
34 ranges;
35
36 other_ext_mem: other_ext_region@0 {
37 compatible = "removed-dma-pool";
38 no-map;
39 reg = <0x0 0x85b00000 0x0 0xd00000>;
40 };
41
42 modem_mem: modem_region@0 {
43 compatible = "removed-dma-pool";
44 no-map-fixup;
45 reg = <0x0 0x86c00000 0x0 0x6a00000>;
46 };
47
48 adsp_fw_mem: adsp_fw_region@0 {
49 compatible = "removed-dma-pool";
50 no-map;
51 reg = <0x0 0x8d600000 0x0 0x1100000>;
52 };
53
54 wcnss_fw_mem: wcnss_fw_region@0 {
55 compatible = "removed-dma-pool";
56 no-map;
57 reg = <0x0 0x8e700000 0x0 0x700000>;
58 };
59
60 venus_mem: venus_region@0 {
61 compatible = "shared-dma-pool";
62 reusable;
63 alloc-ranges = <0x0 0x80000000 0x0 0x10000000>;
64 alignment = <0 0x400000>;
65 size = <0 0x0800000>;
66 };
67
68 secure_mem: secure_region@0 {
69 compatible = "shared-dma-pool";
70 reusable;
71 alignment = <0 0x400000>;
72 size = <0 0x09800000>;
73 };
74
75 qseecom_mem: qseecom_region@0 {
76 compatible = "shared-dma-pool";
77 reusable;
78 alignment = <0 0x400000>;
79 size = <0 0x1000000>;
80 };
81
82 adsp_mem: adsp_region@0 {
83 compatible = "shared-dma-pool";
84 reusable;
85 size = <0 0x400000>;
86 };
87
88 dfps_data_mem: dfps_data_mem@90000000 {
89 reg = <0 0x90000000 0 0x1000>;
90 label = "dfps_data_mem";
91 };
92
93 cont_splash_mem: splash_region@0x90001000 {
94 reg = <0x0 0x90001000 0x0 0x13ff000>;
95 label = "cont_splash_mem";
96 };
97
98 gpu_mem: gpu_region@0 {
99 compatible = "shared-dma-pool";
100 reusable;
101 alloc-ranges = <0x0 0x80000000 0x0 0x10000000>;
102 alignment = <0 0x400000>;
103 size = <0 0x800000>;
104 };
105 };
106
107 aliases {
108 /* smdtty devices */
Arun Kumar Neelakantam36151aa2017-11-02 21:34:33 +0530109 smd1 = &smdtty_apps_fm;
110 smd2 = &smdtty_apps_riva_bt_acl;
111 smd3 = &smdtty_apps_riva_bt_cmd;
112 smd4 = &smdtty_mbalbridge;
113 smd5 = &smdtty_apps_riva_ant_cmd;
114 smd6 = &smdtty_apps_riva_ant_data;
115 smd7 = &smdtty_data1;
116 smd8 = &smdtty_data4;
117 smd11 = &smdtty_data11;
118 smd21 = &smdtty_data21;
119 smd36 = &smdtty_loopback;
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530120 sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
121 sdhc2 = &sdhc_2; /* SDC2 for SD card */
Shrey Vijay88eddb52017-11-30 14:47:52 +0530122 i2c2 = &i2c_2;
123 i2c3 = &i2c_3;
124 i2c5 = &i2c_5;
125 spi3 = &spi_3;
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530126 };
127
128 soc: soc { };
129
130};
131
132#include "msm8953-pinctrl.dtsi"
133#include "msm8953-cpu.dtsi"
Raju P.L.S.S.S.Ne0b22c92017-11-02 13:42:27 +0530134#include "msm8953-pm.dtsi"
Odelu Kukatla1a811042017-10-29 17:26:44 +0530135#include "msm8953-bus.dtsi"
Mukesh Ojhae07d80e2017-11-28 20:22:44 +0530136#include "msm8953-coresight.dtsi"
Charan Teja Reddy6f1f8292017-12-26 20:54:26 +0530137#include "msm8953-ion.dtsi"
Charan Teja Reddyf20a02f2017-10-20 11:12:39 +0530138#include "msm-arm-smmu-8953.dtsi"
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530139
140&soc {
141 #address-cells = <1>;
142 #size-cells = <1>;
143 ranges = <0 0 0 0xffffffff>;
144 compatible = "simple-bus";
145
Mukesh Ojhae07d80e2017-11-28 20:22:44 +0530146 dcc: dcc@b3000 {
147 compatible = "qcom,dcc";
148 reg = <0xb3000 0x1000>,
149 <0xb4000 0x800>;
150 reg-names = "dcc-base", "dcc-ram-base";
151
152 clocks = <&clock_gcc clk_gcc_dcc_clk>;
153 clock-names = "apb_pclk";
154 qcom,save-reg;
155 };
156
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530157 apc_apm: apm@b111000 {
158 compatible = "qcom,msm8953-apm";
159 reg = <0xb111000 0x1000>;
160 reg-names = "pm-apcc-glb";
161 qcom,apm-post-halt-delay = <0x2>;
162 qcom,apm-halt-clk-delay = <0x11>;
163 qcom,apm-resume-clk-delay = <0x10>;
164 qcom,apm-sel-switch-delay = <0x01>;
165 };
166
167 intc: interrupt-controller@b000000 {
168 compatible = "qcom,msm-qgic2";
169 interrupt-controller;
170 #interrupt-cells = <3>;
171 reg = <0x0b000000 0x1000>,
172 <0x0b002000 0x1000>;
173 };
174
175 qcom,msm-gladiator@b1c0000 {
176 compatible = "qcom,msm-gladiator";
177 reg = <0x0b1c0000 0x4000>;
178 reg-names = "gladiator_base";
179 interrupts = <0 22 0>;
180 };
181
182 timer {
183 compatible = "arm,armv8-timer";
184 interrupts = <1 2 0xff08>,
185 <1 3 0xff08>,
186 <1 4 0xff08>,
187 <1 1 0xff08>;
188 clock-frequency = <19200000>;
189 };
190
191 timer@b120000 {
192 #address-cells = <1>;
193 #size-cells = <1>;
194 ranges;
195 compatible = "arm,armv7-timer-mem";
196 reg = <0xb120000 0x1000>;
197 clock-frequency = <19200000>;
198
199 frame@b121000 {
200 frame-number = <0>;
201 interrupts = <0 8 0x4>,
202 <0 7 0x4>;
203 reg = <0xb121000 0x1000>,
204 <0xb122000 0x1000>;
205 };
206
207 frame@b123000 {
208 frame-number = <1>;
209 interrupts = <0 9 0x4>;
210 reg = <0xb123000 0x1000>;
211 status = "disabled";
212 };
213
214 frame@b124000 {
215 frame-number = <2>;
216 interrupts = <0 10 0x4>;
217 reg = <0xb124000 0x1000>;
218 status = "disabled";
219 };
220
221 frame@b125000 {
222 frame-number = <3>;
223 interrupts = <0 11 0x4>;
224 reg = <0xb125000 0x1000>;
225 status = "disabled";
226 };
227
228 frame@b126000 {
229 frame-number = <4>;
230 interrupts = <0 12 0x4>;
231 reg = <0xb126000 0x1000>;
232 status = "disabled";
233 };
234
235 frame@b127000 {
236 frame-number = <5>;
237 interrupts = <0 13 0x4>;
238 reg = <0xb127000 0x1000>;
239 status = "disabled";
240 };
241
242 frame@b128000 {
243 frame-number = <6>;
244 interrupts = <0 14 0x4>;
245 reg = <0xb128000 0x1000>;
246 status = "disabled";
247 };
248 };
249 qcom,rmtfs_sharedmem@00000000 {
250 compatible = "qcom,sharedmem-uio";
251 reg = <0x00000000 0x00180000>;
252 reg-names = "rmtfs";
253 qcom,client-id = <0x00000001>;
254 };
255
256 restart@4ab000 {
257 compatible = "qcom,pshold";
258 reg = <0x4ab000 0x4>,
259 <0x193d100 0x4>;
260 reg-names = "pshold-base", "tcsr-boot-misc-detect";
261 };
262
263 qcom,mpm2-sleep-counter@4a3000 {
264 compatible = "qcom,mpm2-sleep-counter";
265 reg = <0x4a3000 0x1000>;
266 clock-frequency = <32768>;
267 };
268
269 cpu-pmu {
270 compatible = "arm,armv8-pmuv3";
271 interrupts = <1 7 0xff00>;
272 };
273
274 qcom,sps {
275 compatible = "qcom,msm_sps_4k";
276 qcom,pipe-attr-ee;
277 };
278
Ashok Jammigumpuladb43f572017-12-06 18:05:57 +0530279 thermal_zones: thermal-zones {
280 mdm-core-usr {
281 polling-delay-passive = <0>;
282 polling-delay = <0>;
283 thermal-governor = "user_space";
284 thermal-sensors = <&tsens0 1>;
285 trips {
286 active-config0 {
287 temperature = <125000>;
288 hysteresis = <1000>;
289 type = "passive";
290 };
291 };
292 };
293
294 qdsp-usr {
295 polling-delay-passive = <0>;
296 polling-delay = <0>;
297 thermal-governor = "user_space";
298 thermal-sensors = <&tsens0 2>;
299 trips {
300 active-config0 {
301 temperature = <125000>;
302 hysteresis = <1000>;
303 type = "passive";
304 };
305 };
306 };
307
308 camera-usr {
309 polling-delay-passive = <0>;
310 polling-delay = <0>;
311 thermal-governor = "user_space";
312 thermal-sensors = <&tsens0 3>;
313 trips {
314 active-config0 {
315 temperature = <125000>;
316 hysteresis = <1000>;
317 type = "passive";
318 };
319 };
320 };
321
322 apc1_cpu0-usr {
323 polling-delay-passive = <0>;
324 polling-delay = <0>;
325 thermal-sensors = <&tsens0 4>;
326 thermal-governor = "user_space";
327 trips {
328 active-config0 {
329 temperature = <125000>;
330 hysteresis = <1000>;
331 type = "passive";
332 };
333 };
334 };
335
336 apc1_cpu1-usr {
337 polling-delay-passive = <0>;
338 polling-delay = <0>;
339 thermal-sensors = <&tsens0 5>;
340 thermal-governor = "user_space";
341 trips {
342 active-config0 {
343 temperature = <125000>;
344 hysteresis = <1000>;
345 type = "passive";
346 };
347 };
348 };
349
350 apc1_cpu2-usr {
351 polling-delay-passive = <0>;
352 polling-delay = <0>;
353 thermal-sensors = <&tsens0 6>;
354 thermal-governor = "user_space";
355 trips {
356 active-config0 {
357 temperature = <125000>;
358 hysteresis = <1000>;
359 type = "passive";
360 };
361 };
362 };
363
364 apc1_cpu3-usr {
365 polling-delay-passive = <0>;
366 polling-delay = <0>;
367 thermal-sensors = <&tsens0 7>;
368 thermal-governor = "user_space";
369 trips {
370 active-config0 {
371 temperature = <125000>;
372 hysteresis = <1000>;
373 type = "passive";
374 };
375 };
376 };
377
378 apc1_l2-usr {
379 polling-delay-passive = <0>;
380 polling-delay = <0>;
381 thermal-sensors = <&tsens0 8>;
382 thermal-governor = "user_space";
383 trips {
384 active-config0 {
385 temperature = <125000>;
386 hysteresis = <1000>;
387 type = "passive";
388 };
389 };
390 };
391
392 apc0_cpu0-usr {
393 polling-delay-passive = <0>;
394 polling-delay = <0>;
395 thermal-sensors = <&tsens0 9>;
396 thermal-governor = "user_space";
397 trips {
398 active-config0 {
399 temperature = <125000>;
400 hysteresis = <1000>;
401 type = "passive";
402 };
403 };
404 };
405
406 apc0_cpu1-usr {
407 polling-delay-passive = <0>;
408 polling-delay = <0>;
409 thermal-sensors = <&tsens0 10>;
410 thermal-governor = "user_space";
411 trips {
412 active-config0 {
413 temperature = <125000>;
414 hysteresis = <1000>;
415 type = "passive";
416 };
417 };
418 };
419
420 apc0_cpu2-usr {
421 polling-delay-passive = <0>;
422 polling-delay = <0>;
423 thermal-sensors = <&tsens0 11>;
424 thermal-governor = "user_space";
425 trips {
426 active-config0 {
427 temperature = <125000>;
428 hysteresis = <1000>;
429 type = "passive";
430 };
431 };
432 };
433
434 apc0_cpu3-usr {
435 polling-delay-passive = <0>;
436 polling-delay = <0>;
437 thermal-sensors = <&tsens0 12>;
438 thermal-governor = "user_space";
439 trips {
440 active-config0 {
441 temperature = <125000>;
442 hysteresis = <1000>;
443 type = "passive";
444 };
445 };
446 };
447
448 apc0_l2-usr {
449 polling-delay-passive = <0>;
450 polling-delay = <0>;
451 thermal-sensors = <&tsens0 13>;
452 thermal-governor = "user_space";
453 trips {
454 active-config0 {
455 temperature = <125000>;
456 hysteresis = <1000>;
457 type = "passive";
458 };
459 };
460 };
461
462 gpu0-usr {
463 polling-delay-passive = <0>;
464 polling-delay = <0>;
465 thermal-sensors = <&tsens0 14>;
466 thermal-governor = "user_space";
467 trips {
468 active-config0 {
469 temperature = <125000>;
470 hysteresis = <1000>;
471 type = "passive";
472 };
473 };
474 };
475
476 gpu1-usr {
477 polling-delay-passive = <0>;
478 polling-delay = <0>;
479 thermal-sensors = <&tsens0 15>;
480 thermal-governor = "user_space";
481 trips {
482 active-config0 {
483 temperature = <125000>;
484 hysteresis = <1000>;
485 type = "passive";
486 };
487 };
488 };
489 };
490
491 tsens0: tsens@4a8000 {
492 compatible = "qcom,msm8953-tsens";
493 reg = <0x4a8000 0x1000>,
494 <0x4a9000 0x1000>;
495 reg-names = "tsens_srot_physical",
496 "tsens_tm_physical";
497 interrupts = <0 184 0>, <0 314 0>;
498 interrupt-names = "tsens-upper-lower", "tsens-critical";
499 #thermal-sensor-cells = <1>;
500 };
501
mohamed sunfeer2bfd8c82017-11-30 13:08:36 +0530502 qcom_seecom: qseecom@85b00000 {
503 compatible = "qcom,qseecom";
504 reg = <0x85b00000 0x800000>;
505 reg-names = "secapp-region";
506 qcom,hlos-num-ce-hw-instances = <1>;
507 qcom,hlos-ce-hw-instance = <0>;
508 qcom,qsee-ce-hw-instance = <0>;
509 qcom,disk-encrypt-pipe-pair = <2>;
510 qcom,support-fde;
511 qcom,msm-bus,name = "qseecom-noc";
512 qcom,msm-bus,num-cases = <4>;
513 qcom,msm-bus,num-paths = <1>;
514 qcom,support-bus-scaling;
515 qcom,msm-bus,vectors-KBps =
516 <55 512 0 0>,
517 <55 512 0 0>,
518 <55 512 120000 1200000>,
519 <55 512 393600 3936000>;
520 clocks = <&clock_gcc clk_crypto_clk_src>,
521 <&clock_gcc clk_gcc_crypto_clk>,
522 <&clock_gcc clk_gcc_crypto_ahb_clk>,
523 <&clock_gcc clk_gcc_crypto_axi_clk>;
524 clock-names = "core_clk_src", "core_clk",
525 "iface_clk", "bus_clk";
526 qcom,ce-opp-freq = <100000000>;
Brahmaji K22191832017-12-27 13:42:35 +0530527 status = "okay";
mohamed sunfeer2bfd8c82017-11-30 13:08:36 +0530528 };
529
mohamed sunfeerd9761e62017-11-30 13:33:02 +0530530 qcom_tzlog: tz-log@08600720 {
531 compatible = "qcom,tz-log";
532 reg = <0x08600720 0x2000>;
Brahmaji K22191832017-12-27 13:42:35 +0530533 status = "okay";
mohamed sunfeerd9761e62017-11-30 13:33:02 +0530534 };
535
mohamed sunfeer0d623222017-11-30 13:51:20 +0530536 qcom_rng: qrng@e3000 {
537 compatible = "qcom,msm-rng";
538 reg = <0xe3000 0x1000>;
539 qcom,msm-rng-iface-clk;
540 qcom,no-qrng-config;
541 qcom,msm-bus,name = "msm-rng-noc";
542 qcom,msm-bus,num-cases = <2>;
543 qcom,msm-bus,num-paths = <1>;
544 qcom,msm-bus,vectors-KBps =
545 <1 618 0 0>, /* No vote */
546 <1 618 0 800>; /* 100 MB/s */
547 clocks = <&clock_gcc clk_gcc_prng_ahb_clk>;
548 clock-names = "iface_clk";
Brahmaji K22191832017-12-27 13:42:35 +0530549 status = "okay";
mohamed sunfeer0d623222017-11-30 13:51:20 +0530550 };
551
mohamed sunfeer1f6a4e02017-11-30 14:07:28 +0530552 qcom_crypto: qcrypto@720000 {
553 compatible = "qcom,qcrypto";
554 reg = <0x720000 0x20000>,
555 <0x704000 0x20000>;
556 reg-names = "crypto-base","crypto-bam-base";
557 interrupts = <0 207 0>;
558 qcom,bam-pipe-pair = <2>;
559 qcom,ce-hw-instance = <0>;
560 qcom,ce-device = <0>;
561 qcom,ce-hw-shared;
562 qcom,clk-mgmt-sus-res;
563 qcom,msm-bus,name = "qcrypto-noc";
564 qcom,msm-bus,num-cases = <2>;
565 qcom,msm-bus,num-paths = <1>;
566 qcom,msm-bus,vectors-KBps =
567 <55 512 0 0>,
568 <55 512 393600 393600>;
569 clocks = <&clock_gcc clk_crypto_clk_src>,
570 <&clock_gcc clk_gcc_crypto_clk>,
571 <&clock_gcc clk_gcc_crypto_ahb_clk>,
572 <&clock_gcc clk_gcc_crypto_axi_clk>;
573 clock-names = "core_clk_src", "core_clk",
574 "iface_clk", "bus_clk";
575 qcom,use-sw-aes-cbc-ecb-ctr-algo;
576 qcom,use-sw-aes-xts-algo;
577 qcom,use-sw-aes-ccm-algo;
578 qcom,use-sw-ahash-algo;
579 qcom,use-sw-hmac-algo;
580 qcom,use-sw-aead-algo;
581 qcom,ce-opp-freq = <100000000>;
Brahmaji K22191832017-12-27 13:42:35 +0530582 status = "okay";
mohamed sunfeer1f6a4e02017-11-30 14:07:28 +0530583 };
584
585 qcom_cedev: qcedev@720000 {
586 compatible = "qcom,qcedev";
587 reg = <0x720000 0x20000>,
588 <0x704000 0x20000>;
589 reg-names = "crypto-base","crypto-bam-base";
590 interrupts = <0 207 0>;
591 qcom,bam-pipe-pair = <1>;
592 qcom,ce-hw-instance = <0>;
593 qcom,ce-device = <0>;
594 qcom,ce-hw-shared;
595 qcom,msm-bus,name = "qcedev-noc";
596 qcom,msm-bus,num-cases = <2>;
597 qcom,msm-bus,num-paths = <1>;
598 qcom,msm-bus,vectors-KBps =
599 <55 512 0 0>,
600 <55 512 393600 393600>;
601 clocks = <&clock_gcc clk_crypto_clk_src>,
602 <&clock_gcc clk_gcc_crypto_clk>,
603 <&clock_gcc clk_gcc_crypto_ahb_clk>,
604 <&clock_gcc clk_gcc_crypto_axi_clk>;
605 clock-names = "core_clk_src", "core_clk",
606 "iface_clk", "bus_clk";
607 qcom,ce-opp-freq = <100000000>;
Brahmaji K22191832017-12-27 13:42:35 +0530608 status = "okay";
mohamed sunfeer1f6a4e02017-11-30 14:07:28 +0530609 };
610
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530611 blsp1_uart0: serial@78af000 {
612 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
613 reg = <0x78af000 0x200>;
614 interrupts = <0 107 0>;
Maria Yuaf0e9252017-11-30 19:58:44 +0800615 clocks = <&clock_gcc clk_gcc_blsp1_uart1_apps_clk>,
616 <&clock_gcc clk_gcc_blsp1_ahb_clk>;
617 clock-names = "core", "iface";
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530618 status = "disabled";
619 };
620
Shrey Vijay88eddb52017-11-30 14:47:52 +0530621 blsp1_uart1: uart@78b0000 {
622 compatible = "qcom,msm-hsuart-v14";
623 reg = <0x78b0000 0x200>,
624 <0x7884000 0x1f000>;
625 reg-names = "core_mem", "bam_mem";
626
627 interrupt-names = "core_irq", "bam_irq", "wakeup_irq";
628 #address-cells = <0>;
629 interrupt-parent = <&blsp1_uart1>;
630 interrupts = <0 1 2>;
631 #interrupt-cells = <1>;
632 interrupt-map-mask = <0xffffffff>;
633 interrupt-map = <0 &intc 0 108 0
634 1 &intc 0 238 0
635 2 &tlmm 13 0>;
636
637 qcom,inject-rx-on-wakeup;
638 qcom,rx-char-to-inject = <0xFD>;
639 qcom,master-id = <86>;
640 clock-names = "core_clk", "iface_clk";
641 clocks = <&clock_gcc clk_gcc_blsp1_uart2_apps_clk>,
642 <&clock_gcc clk_gcc_blsp1_ahb_clk>;
643 pinctrl-names = "sleep", "default";
644 pinctrl-0 = <&hsuart_sleep>;
645 pinctrl-1 = <&hsuart_active>;
646 qcom,bam-tx-ep-pipe-index = <2>;
647 qcom,bam-rx-ep-pipe-index = <3>;
648 qcom,msm-bus,name = "blsp1_uart1";
649 qcom,msm-bus,num-cases = <2>;
650 qcom,msm-bus,num-paths = <1>;
651 qcom,msm-bus,vectors-KBps =
652 <86 512 0 0>,
653 <86 512 500 800>;
654 status = "disabled";
655 };
656
657 blsp2_uart0: uart@7aef000 {
658 compatible = "qcom,msm-hsuart-v14";
659 reg = <0x7aef000 0x200>,
660 <0x7ac4000 0x1f000>;
661 reg-names = "core_mem", "bam_mem";
662
663 interrupt-names = "core_irq", "bam_irq", "wakeup_irq";
664 #address-cells = <0>;
665 interrupt-parent = <&blsp2_uart0>;
666 interrupts = <0 1 2>;
667 #interrupt-cells = <1>;
668 interrupt-map-mask = <0xffffffff>;
669 interrupt-map = <0 &intc 0 306 0
670 1 &intc 0 239 0
671 2 &tlmm 17 0>;
672
673 qcom,inject-rx-on-wakeup;
674 qcom,rx-char-to-inject = <0xFD>;
675 qcom,master-id = <84>;
676 clock-names = "core_clk", "iface_clk";
677 clocks = <&clock_gcc clk_gcc_blsp2_uart1_apps_clk>,
678 <&clock_gcc clk_gcc_blsp2_ahb_clk>;
679 pinctrl-names = "sleep", "default";
680 pinctrl-0 = <&blsp2_uart0_sleep>;
681 pinctrl-1 = <&blsp2_uart0_active>;
682 qcom,bam-tx-ep-pipe-index = <0>;
683 qcom,bam-rx-ep-pipe-index = <1>;
684 qcom,msm-bus,name = "blsp2_uart0";
685 qcom,msm-bus,num-cases = <2>;
686 qcom,msm-bus,num-paths = <1>;
687 qcom,msm-bus,vectors-KBps =
688 <84 512 0 0>,
689 <84 512 500 800>;
690 status = "disabled";
691 };
692
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530693 dma_blsp1: qcom,sps-dma@7884000 { /* BLSP1 */
694 #dma-cells = <4>;
695 compatible = "qcom,sps-dma";
696 reg = <0x7884000 0x1f000>;
697 interrupts = <0 238 0>;
698 qcom,summing-threshold = <10>;
699 };
700
701 dma_blsp2: qcom,sps-dma@7ac4000 { /* BLSP2 */
702 #dma-cells = <4>;
703 compatible = "qcom,sps-dma";
704 reg = <0x7ac4000 0x1f000>;
705 interrupts = <0 239 0>;
706 qcom,summing-threshold = <10>;
707 };
708
Shrey Vijay88eddb52017-11-30 14:47:52 +0530709 spi_3: spi@78b7000 { /* BLSP1 QUP3 */
710 compatible = "qcom,spi-qup-v2";
711 #address-cells = <1>;
712 #size-cells = <0>;
713 reg-names = "spi_physical", "spi_bam_physical";
714 reg = <0x78b7000 0x600>,
715 <0x7884000 0x1f000>;
716 interrupt-names = "spi_irq", "spi_bam_irq";
717 interrupts = <0 97 0>, <0 238 0>;
718 spi-max-frequency = <19200000>;
719 pinctrl-names = "spi_default", "spi_sleep";
720 pinctrl-0 = <&spi3_default &spi3_cs0_active>;
721 pinctrl-1 = <&spi3_sleep &spi3_cs0_sleep>;
722 clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
723 <&clock_gcc clk_gcc_blsp1_qup3_spi_apps_clk>;
724 clock-names = "iface_clk", "core_clk";
725 qcom,infinite-mode = <0>;
726 qcom,use-bam;
727 qcom,use-pinctrl;
728 qcom,ver-reg-exists;
729 qcom,bam-consumer-pipe-index = <8>;
730 qcom,bam-producer-pipe-index = <9>;
731 qcom,master-id = <86>;
732 status = "disabled";
733 };
734
735 i2c_2: i2c@78b6000 { /* BLSP1 QUP2 */
736 compatible = "qcom,i2c-msm-v2";
737 #address-cells = <1>;
738 #size-cells = <0>;
739 reg-names = "qup_phys_addr";
740 reg = <0x78b6000 0x600>;
741 interrupt-names = "qup_irq";
742 interrupts = <0 96 0>;
743 qcom,clk-freq-out = <400000>;
744 qcom,clk-freq-in = <19200000>;
745 clock-names = "iface_clk", "core_clk";
746 clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
747 <&clock_gcc clk_gcc_blsp1_qup2_i2c_apps_clk>;
748
749 pinctrl-names = "i2c_active", "i2c_sleep";
750 pinctrl-0 = <&i2c_2_active>;
751 pinctrl-1 = <&i2c_2_sleep>;
752 qcom,noise-rjct-scl = <0>;
753 qcom,noise-rjct-sda = <0>;
754 qcom,master-id = <86>;
755 dmas = <&dma_blsp1 6 64 0x20000020 0x20>,
756 <&dma_blsp1 7 32 0x20000020 0x20>;
757 dma-names = "tx", "rx";
758 status = "disabled";
759 };
760
761 i2c_3: i2c@78b7000 { /* BLSP1 QUP3 */
762 compatible = "qcom,i2c-msm-v2";
763 #address-cells = <1>;
764 #size-cells = <0>;
765 reg-names = "qup_phys_addr";
766 reg = <0x78b7000 0x600>;
767 interrupt-names = "qup_irq";
768 interrupts = <0 97 0>;
769 qcom,clk-freq-out = <400000>;
770 qcom,clk-freq-in = <19200000>;
771 clock-names = "iface_clk", "core_clk";
772 clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
773 <&clock_gcc clk_gcc_blsp1_qup3_i2c_apps_clk>;
774
775 pinctrl-names = "i2c_active", "i2c_sleep";
776 pinctrl-0 = <&i2c_3_active>;
777 pinctrl-1 = <&i2c_3_sleep>;
778 qcom,noise-rjct-scl = <0>;
779 qcom,noise-rjct-sda = <0>;
780 qcom,master-id = <86>;
781 dmas = <&dma_blsp1 8 64 0x20000020 0x20>,
782 <&dma_blsp1 9 32 0x20000020 0x20>;
783 dma-names = "tx", "rx";
784 status = "disabled";
785 };
786
787 i2c_5: i2c@7af5000 { /* BLSP2 QUP1 */
788 compatible = "qcom,i2c-msm-v2";
789 #address-cells = <1>;
790 #size-cells = <0>;
791 reg-names = "qup_phys_addr";
792 reg = <0x7af5000 0x600>;
793 interrupt-names = "qup_irq";
794 interrupts = <0 299 0>;
795 qcom,clk-freq-out = <400000>;
796 qcom,clk-freq-in = <19200000>;
797 clock-names = "iface_clk", "core_clk";
798 clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>,
799 <&clock_gcc clk_gcc_blsp2_qup1_i2c_apps_clk>;
800
801 pinctrl-names = "i2c_active", "i2c_sleep";
802 pinctrl-0 = <&i2c_5_active>;
803 pinctrl-1 = <&i2c_5_sleep>;
804 qcom,noise-rjct-scl = <0>;
805 qcom,noise-rjct-sda = <0>;
806 qcom,master-id = <84>;
807 dmas = <&dma_blsp2 4 64 0x20000020 0x20>,
808 <&dma_blsp2 5 32 0x20000020 0x20>;
809 dma-names = "tx", "rx";
810 status = "disabled";
811 };
812
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530813 slim_msm: slim@c140000{
814 cell-index = <1>;
815 compatible = "qcom,slim-ngd";
816 reg = <0xc140000 0x2c000>,
817 <0xc104000 0x2a000>;
818 reg-names = "slimbus_physical", "slimbus_bam_physical";
819 interrupts = <0 163 0>, <0 180 0>;
820 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
821 qcom,apps-ch-pipes = <0x600000>;
822 qcom,ea-pc = <0x200>;
823 status = "disabled";
824 };
825
Shefali Jain44e24ad2017-11-23 12:27:33 +0530826 clock_gcc: qcom,gcc@1800000 {
827 compatible = "qcom,gcc-8953";
828 reg = <0x1800000 0x80000>,
829 <0x00a4124 0x08>;
830 reg-names = "cc_base", "efuse";
831 vdd_dig-supply = <&pm8953_s2_level>;
832 #clock-cells = <1>;
833 #reset-cells = <1>;
834 };
835
836 clock_debug: qcom,cc-debug@1874000 {
837 compatible = "qcom,cc-debug-8953";
838 reg = <0x1874000 0x4>;
839 reg-names = "cc_base";
840 clocks = <&clock_cpu clk_cpu_debug_pri_mux>;
841 clock-names = "debug_cpu_clk";
842 #clock-cells = <1>;
843 };
844
845 clock_gcc_gfx: qcom,gcc-gfx@1800000 {
846 compatible = "qcom,gcc-gfx-8953";
847 reg = <0x1800000 0x80000>;
848 reg-names = "cc_base";
849 vdd_gfx-supply = <&gfx_vreg_corner>;
850 qcom,gfxfreq-corner =
851 < 0 0 >,
852 < 133330000 1 >, /* Min SVS */
853 < 216000000 2 >, /* Low SVS */
854 < 320000000 3 >, /* SVS */
855 < 400000000 4 >, /* SVS Plus */
856 < 510000000 5 >, /* NOM */
857 < 560000000 6 >, /* Nom Plus */
858 < 650000000 7 >; /* Turbo */
859 #clock-cells = <1>;
860 };
861
862 clock_cpu: qcom,cpu-clock-8953@b116000 {
863 compatible = "qcom,cpu-clock-8953";
864 reg = <0xb114000 0x68>,
865 <0xb014000 0x68>,
866 <0xb116000 0x400>,
867 <0xb111050 0x08>,
868 <0xb011050 0x08>,
869 <0xb1d1050 0x08>,
870 <0x00a4124 0x08>;
871 reg-names = "rcgwr-c0-base", "rcgwr-c1-base",
872 "c0-pll", "c0-mux", "c1-mux",
873 "cci-mux", "efuse";
874 vdd-mx-supply = <&pm8953_s7_level_ao>;
875 vdd-cl-supply = <&apc_vreg>;
876 clocks = <&clock_gcc clk_xo_a_clk_src>;
877 clock-names = "xo_a";
878 qcom,num-clusters = <2>;
879 qcom,speed0-bin-v0-cl =
880 < 0 0>,
881 < 652800000 1>,
882 < 1036800000 2>,
883 < 1401600000 3>,
884 < 1689600000 4>,
885 < 1804800000 5>,
886 < 1958400000 6>,
887 < 2016000000 7>;
888 qcom,speed0-bin-v0-cci =
889 < 0 0>,
890 < 261120000 1>,
891 < 414720000 2>,
892 < 560640000 3>,
893 < 675840000 4>,
894 < 721920000 5>,
895 < 783360000 6>,
896 < 806400000 7>;
897 qcom,speed2-bin-v0-cl =
898 < 0 0>,
899 < 652800000 1>,
900 < 1036800000 2>,
901 < 1401600000 3>,
902 < 1689600000 4>,
903 < 1804800000 5>,
904 < 1958400000 6>,
905 < 2016000000 7>;
906 qcom,speed2-bin-v0-cci =
907 < 0 0>,
908 < 261120000 1>,
909 < 414720000 2>,
910 < 560640000 3>,
911 < 675840000 4>,
912 < 721920000 5>,
913 < 783360000 6>,
914 < 806400000 7>;
915 qcom,speed7-bin-v0-cl =
916 < 0 0>,
917 < 652800000 1>,
918 < 1036800000 2>,
919 < 1401600000 3>,
920 < 1689600000 4>,
921 < 1804800000 5>,
922 < 1958400000 6>,
923 < 2016000000 7>,
924 < 2150400000 8>,
925 < 2208000000 9>;
926 qcom,speed7-bin-v0-cci =
927 < 0 0>,
928 < 261120000 1>,
929 < 414720000 2>,
930 < 560640000 3>,
931 < 675840000 4>,
932 < 721920000 5>,
933 < 783360000 6>,
934 < 806400000 7>,
935 < 860160000 8>,
936 < 883200000 9>;
937 qcom,speed6-bin-v0-cl =
938 < 0 0>,
939 < 652800000 1>,
940 < 1036800000 2>,
941 < 1401600000 3>,
942 < 1689600000 4>,
943 < 1804800000 5>;
944 qcom,speed6-bin-v0-cci =
945 < 0 0>,
946 < 261120000 1>,
947 < 414720000 2>,
948 < 560640000 3>,
949 < 675840000 4>,
950 < 721920000 5>;
951 #clock-cells = <1>;
Maria Yub90c5482017-12-01 13:28:56 +0800952 };
953
954 msm_cpufreq: qcom,msm-cpufreq {
955 compatible = "qcom,msm-cpufreq";
956 clock-names = "l2_clk", "cpu0_clk", "cpu1_clk", "cpu2_clk",
957 "cpu3_clk", "cpu4_clk", "cpu5_clk",
958 "cpu6_clk", "cpu7_clk";
959 clocks = <&clock_cpu clk_cci_clk>,
960 <&clock_cpu clk_a53_pwr_clk>,
961 <&clock_cpu clk_a53_pwr_clk>,
962 <&clock_cpu clk_a53_pwr_clk>,
963 <&clock_cpu clk_a53_pwr_clk>,
964 <&clock_cpu clk_a53_pwr_clk>,
965 <&clock_cpu clk_a53_pwr_clk>,
966 <&clock_cpu clk_a53_pwr_clk>,
967 <&clock_cpu clk_a53_pwr_clk>;
968
969 qcom,cpufreq-table =
970 < 652800 >,
971 < 1036800 >,
972 < 1401600 >,
973 < 1689600 >,
974 < 1804800 >,
975 < 1958400 >,
976 < 2016000 >,
977 < 2150400 >,
978 < 2208000 >;
Shefali Jain44e24ad2017-11-23 12:27:33 +0530979 };
980
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530981 cpubw: qcom,cpubw {
982 compatible = "qcom,devbw";
983 governor = "cpufreq";
984 qcom,src-dst-ports = <1 512>;
985 qcom,active-only;
986 qcom,bw-tbl =
987 < 769 /* 100.8 MHz */ >,
988 < 1611 /* 211.2 MHz */ >, /*Low SVS*/
989 < 2124 /* 278.4 MHz */ >,
990 < 2929 /* 384 MHz */ >,
991 < 3221 /* 422.4 MHz */ >, /* SVS */
992 < 4248 /* 556.8 MHz */ >,
993 < 5126 /* 672 MHz */ >,
994 < 5859 /* 768 MHz */ >, /* SVS+ */
995 < 6152 /* 806.4 MHz */ >,
996 < 6445 /* 844.8 MHz */ >, /* NOM */
997 < 7104 /* 931.2 MHz */ >; /* TURBO */
998 };
999
1000 mincpubw: qcom,mincpubw {
1001 compatible = "qcom,devbw";
1002 governor = "cpufreq";
1003 qcom,src-dst-ports = <1 512>;
1004 qcom,active-only;
1005 qcom,bw-tbl =
1006 < 769 /* 100.8 MHz */ >,
1007 < 1611 /* 211.2 MHz */ >, /*Low SVS*/
1008 < 2124 /* 278.4 MHz */ >,
1009 < 2929 /* 384 MHz */ >,
1010 < 3221 /* 422.4 MHz */ >, /* SVS */
1011 < 4248 /* 556.8 MHz */ >,
1012 < 5126 /* 672 MHz */ >,
1013 < 5859 /* 768 MHz */ >, /* SVS+ */
1014 < 6152 /* 806.4 MHz */ >,
1015 < 6445 /* 844.8 MHz */ >, /* NOM */
1016 < 7104 /* 931.2 MHz */ >; /* TURBO */
1017 };
1018
1019 qcom,cpu-bwmon {
1020 compatible = "qcom,bimc-bwmon2";
1021 reg = <0x408000 0x300>, <0x401000 0x200>;
1022 reg-names = "base", "global_base";
1023 interrupts = <0 183 4>;
1024 qcom,mport = <0>;
1025 qcom,target-dev = <&cpubw>;
1026 };
1027
1028 devfreq-cpufreq {
1029 cpubw-cpufreq {
1030 target-dev = <&cpubw>;
1031 cpu-to-dev-map =
1032 < 652800 1611>,
1033 < 1036800 3221>,
1034 < 1401600 5859>,
1035 < 1689600 6445>,
1036 < 1804800 7104>,
1037 < 1958400 7104>,
1038 < 2208000 7104>;
1039 };
1040
1041 mincpubw-cpufreq {
1042 target-dev = <&mincpubw>;
1043 cpu-to-dev-map =
1044 < 652800 1611 >,
1045 < 1401600 3221 >,
1046 < 2208000 5859 >;
1047 };
1048 };
1049
Jonathan Avilac7a6fd52017-10-12 15:24:05 -07001050 cpubw_compute: qcom,cpubw-compute {
1051 compatible = "qcom,arm-cpu-mon";
1052 qcom,cpulist = < &CPU0 &CPU1 &CPU2 &CPU3
1053 &CPU4 &CPU5 &CPU6 &CPU7 >;
1054 qcom,target-dev = <&cpubw>;
1055 qcom,core-dev-table =
1056 < 652800 1611>,
1057 < 1036800 3221>,
1058 < 1401600 5859>,
1059 < 1689600 6445>,
1060 < 1804800 7104>,
1061 < 1958400 7104>,
1062 < 2208000 7104>;
1063 };
1064
1065 mincpubw_compute: qcom,mincpubw-compute {
1066 compatible = "qcom,arm-cpu-mon";
1067 qcom,cpulist = < &CPU0 &CPU1 &CPU2 &CPU3
1068 &CPU4 &CPU5 &CPU6 &CPU7 >;
1069 qcom,target-dev = <&mincpubw>;
1070 qcom,core-dev-table =
1071 < 652800 1611 >,
1072 < 1401600 3221 >,
1073 < 2208000 5859 >;
1074 };
1075
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301076 qcom,ipc-spinlock@1905000 {
1077 compatible = "qcom,ipc-spinlock-sfpb";
1078 reg = <0x1905000 0x8000>;
1079 qcom,num-locks = <8>;
1080 };
1081
1082 qcom,smem@86300000 {
1083 compatible = "qcom,smem";
1084 reg = <0x86300000 0x100000>,
1085 <0x0b011008 0x4>,
1086 <0x60000 0x8000>,
1087 <0x193d000 0x8>;
1088 reg-names = "smem", "irq-reg-base",
1089 "aux-mem1", "smem_targ_info_reg";
1090 qcom,mpu-enabled;
1091
1092 qcom,smd-modem {
1093 compatible = "qcom,smd";
1094 qcom,smd-edge = <0>;
1095 qcom,smd-irq-offset = <0x0>;
1096 qcom,smd-irq-bitmask = <0x1000>;
1097 interrupts = <0 25 1>;
1098 label = "modem";
1099 qcom,not-loadable;
1100 };
1101
1102 qcom,smsm-modem {
1103 compatible = "qcom,smsm";
1104 qcom,smsm-edge = <0>;
1105 qcom,smsm-irq-offset = <0x0>;
1106 qcom,smsm-irq-bitmask = <0x2000>;
1107 interrupts = <0 26 1>;
1108 };
1109
1110 qcom,smd-wcnss {
1111 compatible = "qcom,smd";
1112 qcom,smd-edge = <6>;
1113 qcom,smd-irq-offset = <0x0>;
1114 qcom,smd-irq-bitmask = <0x20000>;
1115 interrupts = <0 142 1>;
1116 label = "wcnss";
1117 };
1118
1119 qcom,smsm-wcnss {
1120 compatible = "qcom,smsm";
1121 qcom,smsm-edge = <6>;
1122 qcom,smsm-irq-offset = <0x0>;
1123 qcom,smsm-irq-bitmask = <0x80000>;
1124 interrupts = <0 144 1>;
1125 };
1126
1127 qcom,smd-adsp {
1128 compatible = "qcom,smd";
1129 qcom,smd-edge = <1>;
1130 qcom,smd-irq-offset = <0x0>;
1131 qcom,smd-irq-bitmask = <0x100>;
1132 interrupts = <0 289 1>;
1133 label = "adsp";
1134 };
1135
1136 qcom,smsm-adsp {
1137 compatible = "qcom,smsm";
1138 qcom,smsm-edge = <1>;
1139 qcom,smsm-irq-offset = <0x0>;
1140 qcom,smsm-irq-bitmask = <0x200>;
1141 interrupts = <0 290 1>;
1142 };
1143
1144 qcom,smd-rpm {
1145 compatible = "qcom,smd";
1146 qcom,smd-edge = <15>;
1147 qcom,smd-irq-offset = <0x0>;
1148 qcom,smd-irq-bitmask = <0x1>;
1149 interrupts = <0 168 1>;
1150 label = "rpm";
1151 qcom,irq-no-suspend;
1152 qcom,not-loadable;
1153 };
1154 };
1155
Arun Kumar Neelakantam36151aa2017-11-02 21:34:33 +05301156 qcom,smdtty {
1157 compatible = "qcom,smdtty";
1158
1159 smdtty_apps_fm: qcom,smdtty-apps-fm {
1160 qcom,smdtty-remote = "wcnss";
1161 qcom,smdtty-port-name = "APPS_FM";
1162 };
1163
1164 smdtty_apps_riva_bt_acl: smdtty-apps-riva-bt-acl {
1165 qcom,smdtty-remote = "wcnss";
1166 qcom,smdtty-port-name = "APPS_RIVA_BT_ACL";
1167 };
1168
1169 smdtty_apps_riva_bt_cmd: qcom,smdtty-apps-riva-bt-cmd {
1170 qcom,smdtty-remote = "wcnss";
1171 qcom,smdtty-port-name = "APPS_RIVA_BT_CMD";
1172 };
1173
1174 smdtty_mbalbridge: qcom,smdtty-mbalbridge {
1175 qcom,smdtty-remote = "modem";
1176 qcom,smdtty-port-name = "MBALBRIDGE";
1177 };
1178
1179 smdtty_apps_riva_ant_cmd: smdtty-apps-riva-ant-cmd {
1180 qcom,smdtty-remote = "wcnss";
1181 qcom,smdtty-port-name = "APPS_RIVA_ANT_CMD";
1182 };
1183
1184 smdtty_apps_riva_ant_data: smdtty-apps-riva-ant-data {
1185 qcom,smdtty-remote = "wcnss";
1186 qcom,smdtty-port-name = "APPS_RIVA_ANT_DATA";
1187 };
1188
1189 smdtty_data1: qcom,smdtty-data1 {
1190 qcom,smdtty-remote = "modem";
1191 qcom,smdtty-port-name = "DATA1";
1192 };
1193
1194 smdtty_data4: qcom,smdtty-data4 {
1195 qcom,smdtty-remote = "modem";
1196 qcom,smdtty-port-name = "DATA4";
1197 };
1198
1199 smdtty_data11: qcom,smdtty-data11 {
1200 qcom,smdtty-remote = "modem";
1201 qcom,smdtty-port-name = "DATA11";
1202 };
1203
1204 smdtty_data21: qcom,smdtty-data21 {
1205 qcom,smdtty-remote = "modem";
1206 qcom,smdtty-port-name = "DATA21";
1207 };
1208
1209 smdtty_loopback: smdtty-loopback {
1210 qcom,smdtty-remote = "modem";
1211 qcom,smdtty-port-name = "LOOPBACK";
1212 qcom,smdtty-dev-name = "LOOPBACK_TTY";
1213 };
1214 };
1215
Arun Kumar Neelakantamea07e3d2017-11-02 21:27:50 +05301216 qcom,smdpkt {
1217 compatible = "qcom,smdpkt";
1218
1219 qcom,smdpkt-data5-cntl {
1220 qcom,smdpkt-remote = "modem";
1221 qcom,smdpkt-port-name = "DATA5_CNTL";
1222 qcom,smdpkt-dev-name = "smdcntl0";
1223 };
1224
1225 qcom,smdpkt-data22 {
1226 qcom,smdpkt-remote = "modem";
1227 qcom,smdpkt-port-name = "DATA22";
1228 qcom,smdpkt-dev-name = "smd22";
1229 };
1230
1231 qcom,smdpkt-data40-cntl {
1232 qcom,smdpkt-remote = "modem";
1233 qcom,smdpkt-port-name = "DATA40_CNTL";
1234 qcom,smdpkt-dev-name = "smdcntl8";
1235 };
1236
1237 qcom,smdpkt-apr-apps2 {
1238 qcom,smdpkt-remote = "adsp";
1239 qcom,smdpkt-port-name = "apr_apps2";
1240 qcom,smdpkt-dev-name = "apr_apps2";
1241 };
1242
1243 qcom,smdpkt-loopback {
1244 qcom,smdpkt-remote = "modem";
1245 qcom,smdpkt-port-name = "LOOPBACK";
1246 qcom,smdpkt-dev-name = "smd_pkt_loopback";
1247 };
1248 };
1249
Raju P.L.S.S.S.N786994d2017-11-08 17:03:56 +05301250 rpm_bus: qcom,rpm-smd {
1251 compatible = "qcom,rpm-smd";
1252 rpm-channel-name = "rpm_requests";
1253 rpm-channel-type = <15>; /* SMD_APPS_RPM */
1254 };
1255
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301256 qcom,wdt@b017000 {
1257 compatible = "qcom,msm-watchdog";
1258 reg = <0xb017000 0x1000>;
1259 reg-names = "wdt-base";
1260 interrupts = <0 3 0>, <0 4 0>;
1261 qcom,bark-time = <11000>;
1262 qcom,pet-time = <10000>;
1263 qcom,ipi-ping;
1264 qcom,wakeup-enable;
1265 };
1266
1267 qcom,chd {
1268 compatible = "qcom,core-hang-detect";
1269 qcom,threshold-arr = <0xb1880b0 0xb1980b0 0xb1a80b0
1270 0xb1b80b0 0xb0880b0 0xb0980b0 0xb0a80b0 0xb0b80b0>;
1271 qcom,config-arr = <0xb1880b8 0xb1980b8 0xb1a80b8
1272 0xb1b80b8 0xb0880b8 0xb0980b8 0xb0a80b8 0xb0b80b8>;
1273 };
1274
1275 qcom,msm-rtb {
1276 compatible = "qcom,msm-rtb";
1277 qcom,rtb-size = <0x100000>;
1278 };
1279
1280 qcom,msm-imem@8600000 {
1281 compatible = "qcom,msm-imem";
1282 reg = <0x08600000 0x1000>;
1283 ranges = <0x0 0x08600000 0x1000>;
1284 #address-cells = <1>;
1285 #size-cells = <1>;
1286
1287 mem_dump_table@10 {
1288 compatible = "qcom,msm-imem-mem_dump_table";
1289 reg = <0x10 8>;
1290 };
1291
Maria Yu06cf96e2017-09-21 17:35:13 +08001292 dload_type@18 {
1293 compatible = "qcom,msm-imem-dload-type";
1294 reg = <0x18 4>;
1295 };
1296
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301297 restart_reason@65c {
1298 compatible = "qcom,msm-imem-restart_reason";
1299 reg = <0x65c 4>;
1300 };
1301
1302 boot_stats@6b0 {
1303 compatible = "qcom,msm-imem-boot_stats";
1304 reg = <0x6b0 32>;
1305 };
1306
Maria Yu575d67f2017-12-05 16:31:19 +08001307 kaslr_offset@6d0 {
1308 compatible = "qcom,msm-imem-kaslr_offset";
1309 reg = <0x6d0 12>;
1310 };
1311
1312 pil@94c {
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301313 compatible = "qcom,msm-imem-pil";
1314 reg = <0x94c 200>;
1315
1316 };
1317 };
1318
1319 qcom,memshare {
1320 compatible = "qcom,memshare";
1321
1322 qcom,client_1 {
1323 compatible = "qcom,memshare-peripheral";
1324 qcom,peripheral-size = <0x200000>;
1325 qcom,client-id = <0>;
1326 qcom,allocate-boot-time;
1327 label = "modem";
1328 };
1329
1330 qcom,client_2 {
1331 compatible = "qcom,memshare-peripheral";
1332 qcom,peripheral-size = <0x300000>;
1333 qcom,client-id = <2>;
1334 label = "modem";
1335 };
1336
1337 mem_client_3_size: qcom,client_3 {
1338 compatible = "qcom,memshare-peripheral";
1339 qcom,peripheral-size = <0x0>;
1340 qcom,client-id = <1>;
1341 label = "modem";
1342 };
1343 };
1344 sdcc1_ice: sdcc1ice@7803000 {
1345 compatible = "qcom,ice";
1346 reg = <0x7803000 0x8000>;
1347 interrupt-names = "sdcc_ice_nonsec_level_irq",
1348 "sdcc_ice_sec_level_irq";
1349 interrupts = <0 312 0>, <0 313 0>;
1350 qcom,enable-ice-clk;
Sayali Lokhande31299932017-12-06 09:41:17 +05301351 clock-names = "ice_core_clk_src", "ice_core_clk",
1352 "bus_clk", "iface_clk";
1353 clocks = <&clock_gcc clk_sdcc1_ice_core_clk_src>,
1354 <&clock_gcc clk_gcc_sdcc1_ice_core_clk>,
1355 <&clock_gcc clk_gcc_sdcc1_apps_clk>,
1356 <&clock_gcc clk_gcc_sdcc1_ahb_clk>;
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301357 qcom,op-freq-hz = <270000000>, <0>, <0>, <0>;
1358 qcom,msm-bus,name = "sdcc_ice_noc";
1359 qcom,msm-bus,num-cases = <2>;
1360 qcom,msm-bus,num-paths = <1>;
1361 qcom,msm-bus,vectors-KBps =
1362 <78 512 0 0>, /* No vote */
1363 <78 512 1000 0>; /* Max. bandwidth */
1364 qcom,bus-vector-names = "MIN", "MAX";
1365 qcom,instance-type = "sdcc";
1366 };
1367
1368 sdhc_1: sdhci@7824900 {
1369 compatible = "qcom,sdhci-msm";
1370 reg = <0x7824900 0x500>, <0x7824000 0x800>, <0x7824e00 0x200>;
1371 reg-names = "hc_mem", "core_mem", "cmdq_mem";
1372
1373 interrupts = <0 123 0>, <0 138 0>;
1374 interrupt-names = "hc_irq", "pwr_irq";
1375
1376 sdhc-msm-crypto = <&sdcc1_ice>;
1377 qcom,bus-width = <8>;
1378
1379 qcom,devfreq,freq-table = <50000000 200000000>;
1380
1381 qcom,pm-qos-irq-type = "affine_irq";
1382 qcom,pm-qos-irq-latency = <2 213>;
1383
1384 qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
1385 qcom,pm-qos-cmdq-latency-us = <2 213>, <2 213>;
1386
1387 qcom,pm-qos-legacy-latency-us = <2 213>, <2 213>;
1388
1389 qcom,msm-bus,name = "sdhc1";
1390 qcom,msm-bus,num-cases = <9>;
1391 qcom,msm-bus,num-paths = <1>;
1392 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
1393 <78 512 1046 3200>, /* 400 KB/s*/
1394 <78 512 52286 160000>, /* 20 MB/s */
1395 <78 512 65360 200000>, /* 25 MB/s */
1396 <78 512 130718 400000>, /* 50 MB/s */
1397 <78 512 130718 400000>, /* 100 MB/s */
1398 <78 512 261438 800000>, /* 200 MB/s */
1399 <78 512 261438 800000>, /* 400 MB/s */
1400 <78 512 1338562 4096000>; /* Max. bandwidth */
1401 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
1402 100000000 200000000 400000000 4294967295>;
1403
Sayali Lokhande31299932017-12-06 09:41:17 +05301404 clocks = <&clock_gcc clk_gcc_sdcc1_ahb_clk>,
1405 <&clock_gcc clk_gcc_sdcc1_apps_clk>,
1406 <&clock_gcc clk_gcc_sdcc1_ice_core_clk>;
1407 clock-names = "iface_clk", "core_clk", "ice_core_clk";
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301408 qcom,ice-clk-rates = <270000000 160000000>;
1409 qcom,large-address-bus;
1410
1411 status = "disabled";
1412 };
1413
1414 sdhc_2: sdhci@7864900 {
1415 compatible = "qcom,sdhci-msm";
1416 reg = <0x7864900 0x500>, <0x7864000 0x800>;
1417 reg-names = "hc_mem", "core_mem";
1418
1419 interrupts = <0 125 0>, <0 221 0>;
1420 interrupt-names = "hc_irq", "pwr_irq";
1421
1422 qcom,bus-width = <4>;
1423
1424 qcom,pm-qos-irq-type = "affine_irq";
1425 qcom,pm-qos-irq-latency = <2 213>;
1426
1427 qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
1428 qcom,pm-qos-legacy-latency-us = <2 213>, <2 213>;
1429
1430 qcom,devfreq,freq-table = <50000000 200000000>;
1431
1432 qcom,msm-bus,name = "sdhc2";
1433 qcom,msm-bus,num-cases = <8>;
1434 qcom,msm-bus,num-paths = <1>;
1435 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
1436 <81 512 1046 3200>, /* 400 KB/s*/
1437 <81 512 52286 160000>, /* 20 MB/s */
1438 <81 512 65360 200000>, /* 25 MB/s */
1439 <81 512 130718 400000>, /* 50 MB/s */
1440 <81 512 261438 800000>, /* 100 MB/s */
1441 <81 512 261438 800000>, /* 200 MB/s */
1442 <81 512 1338562 4096000>; /* Max. bandwidth */
1443 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
1444 100000000 200000000 4294967295>;
1445
Sayali Lokhande31299932017-12-06 09:41:17 +05301446 clocks = <&clock_gcc clk_gcc_sdcc2_ahb_clk>,
1447 <&clock_gcc clk_gcc_sdcc2_apps_clk>;
1448 clock-names = "iface_clk", "core_clk";
1449
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301450 qcom,large-address-bus;
1451 status = "disabled";
1452 };
1453
Mohammed Javidf62ec622017-11-29 20:07:32 +05301454 ipa_hw: qcom,ipa@07900000 {
1455 compatible = "qcom,ipa";
1456 reg = <0x07900000 0x4effc>, <0x07904000 0x26934>;
1457 reg-names = "ipa-base", "bam-base";
1458 interrupts = <0 228 0>,
1459 <0 230 0>;
1460 interrupt-names = "ipa-irq", "bam-irq";
1461 qcom,ipa-hw-ver = <6>; /* IPA core version = IPAv2.6L */
1462 qcom,ipa-hw-mode = <0>; /* IPA hw type = Normal */
1463 qcom,wan-rx-ring-size = <192>; /* IPA WAN-rx-ring-size*/
1464 qcom,lan-rx-ring-size = <192>; /* IPA LAN-rx-ring-size*/
1465 clock-names = "core_clk";
1466 clocks = <&clock_gcc clk_ipa_clk>;
1467 qcom,ee = <0>;
1468 qcom,use-ipa-tethering-bridge;
1469 qcom,modem-cfg-emb-pipe-flt;
1470 qcom,msm-bus,name = "ipa";
1471 qcom,msm-bus,num-cases = <3>;
1472 qcom,msm-bus,num-paths = <1>;
1473 qcom,msm-bus,vectors-KBps =
1474 <90 512 0 0>, /* No BIMC vote (ab=0 Mbps, ib=0 Mbps ~ 0MHZ) */
1475 <90 512 100000 800000>, /* SVS (ab=100, ib=800 ~ 50MHz) */
1476 <90 512 100000 1200000>; /* PERF (ab=100, ib=1200 ~ 75MHz) */
1477 qcom,bus-vector-names = "MIN", "SVS", "PERF";
1478 };
1479
1480 qcom,rmnet-ipa {
1481 compatible = "qcom,rmnet-ipa";
1482 qcom,rmnet-ipa-ssr;
1483 qcom,ipa-loaduC;
1484 qcom,ipa-advertise-sg-support;
1485 };
1486
Kiran Gundaaf6a0b62017-10-23 16:03:10 +05301487 spmi_bus: qcom,spmi@200f000 {
1488 compatible = "qcom,spmi-pmic-arb";
1489 reg = <0x200f000 0x1000>,
1490 <0x2400000 0x800000>,
1491 <0x2c00000 0x800000>,
1492 <0x3800000 0x200000>,
1493 <0x200a000 0x2100>;
1494 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1495 interrupt-names = "periph_irq";
1496 interrupts = <GIC_SPI 190 IRQ_TYPE_NONE>;
1497 qcom,ee = <0>;
1498 qcom,channel = <0>;
Kiran Gunda90e356a2017-11-22 17:04:46 +05301499 #address-cells = <2>;
Kiran Gundaaf6a0b62017-10-23 16:03:10 +05301500 #size-cells = <0>;
1501 interrupt-controller;
Kiran Gunda90e356a2017-11-22 17:04:46 +05301502 #interrupt-cells = <4>;
Kiran Gundaaf6a0b62017-10-23 16:03:10 +05301503 cell-index = <0>;
1504 };
Chandana Kishori Chiluveru34872ee2017-11-30 17:35:26 +05301505
1506 usb3: ssusb@7000000{
1507 compatible = "qcom,dwc-usb3-msm";
1508 reg = <0x07000000 0xfc000>,
1509 <0x0007e000 0x400>;
1510 reg-names = "core_base",
1511 "ahb2phy_base";
1512 #address-cells = <1>;
1513 #size-cells = <1>;
1514 ranges;
1515
1516 interrupts = <0 136 0>, <0 220 0>, <0 134 0>;
1517 interrupt-names = "hs_phy_irq", "ss_phy_irq", "pwr_event_irq";
1518
1519 USB3_GDSC-supply = <&gdsc_usb30>;
1520 qcom,usb-dbm = <&dbm_1p5>;
1521 qcom,msm-bus,name = "usb3";
1522 qcom,msm-bus,num-cases = <3>;
1523 qcom,msm-bus,num-paths = <1>;
1524 qcom,msm-bus,vectors-KBps =
1525 <61 512 0 0>,
1526 <61 512 240000 800000>,
1527 <61 512 240000 800000>;
1528
1529 /* CPU-CLUSTER-WFI-LVL latency +1 */
1530 qcom,pm-qos-latency = <2>;
1531
1532 qcom,dwc-usb3-msm-tx-fifo-size = <21288>;
1533
1534 clocks = <&clock_gcc clk_gcc_usb30_master_clk>,
1535 <&clock_gcc clk_gcc_pcnoc_usb3_axi_clk>,
1536 <&clock_gcc clk_gcc_usb30_mock_utmi_clk>,
1537 <&clock_gcc clk_gcc_usb30_sleep_clk>,
1538 <&clock_gcc clk_xo_dwc3_clk>,
1539 <&clock_gcc clk_gcc_usb_phy_cfg_ahb_clk>;
1540
1541 clock-names = "core_clk", "iface_clk", "utmi_clk",
1542 "sleep_clk", "xo", "cfg_ahb_clk";
1543
1544 qcom,core-clk-rate = <133333333>; /* NOM */
1545 qcom,core-clk-rate-hs = <60000000>; /* LOW SVS */
1546
1547 resets = <&clock_gcc GCC_USB_30_BCR>;
1548 reset-names = "core_reset";
1549
1550 dwc3@7000000 {
1551 compatible = "snps,dwc3";
1552 reg = <0x07000000 0xc8d0>;
1553 interrupt-parent = <&intc>;
1554 interrupts = <0 140 0>;
1555 usb-phy = <&qusb_phy>, <&ssphy>;
1556 tx-fifo-resize;
1557 snps,usb3-u1u2-disable;
1558 snps,nominal-elastic-buffer;
1559 snps,is-utmi-l1-suspend;
1560 snps,hird-threshold = /bits/ 8 <0x0>;
1561 };
1562
1563 qcom,usbbam@7104000 {
1564 compatible = "qcom,usb-bam-msm";
1565 reg = <0x07104000 0x1a934>;
1566 interrupt-parent = <&intc>;
1567 interrupts = <0 135 0>;
1568
1569 qcom,bam-type = <0>;
1570 qcom,usb-bam-fifo-baseaddr = <0x08605000>;
1571 qcom,usb-bam-num-pipes = <8>;
1572 qcom,ignore-core-reset-ack;
1573 qcom,disable-clk-gating;
1574 qcom,usb-bam-override-threshold = <0x4001>;
1575 qcom,usb-bam-max-mbps-highspeed = <400>;
1576 qcom,usb-bam-max-mbps-superspeed = <3600>;
1577 qcom,reset-bam-on-connect;
1578
1579 qcom,pipe0 {
1580 label = "ssusb-ipa-out-0";
1581 qcom,usb-bam-mem-type = <1>;
1582 qcom,dir = <0>;
1583 qcom,pipe-num = <0>;
1584 qcom,peer-bam = <1>;
1585 qcom,src-bam-pipe-index = <1>;
1586 qcom,data-fifo-size = <0x8000>;
1587 qcom,descriptor-fifo-size = <0x2000>;
1588 };
1589
1590 qcom,pipe1 {
1591 label = "ssusb-ipa-in-0";
1592 qcom,usb-bam-mem-type = <1>;
1593 qcom,dir = <1>;
1594 qcom,pipe-num = <0>;
1595 qcom,peer-bam = <1>;
1596 qcom,dst-bam-pipe-index = <0>;
1597 qcom,data-fifo-size = <0x8000>;
1598 qcom,descriptor-fifo-size = <0x2000>;
1599 };
1600
1601 qcom,pipe2 {
1602 label = "ssusb-qdss-in-0";
1603 qcom,usb-bam-mem-type = <2>;
1604 qcom,dir = <1>;
1605 qcom,pipe-num = <0>;
1606 qcom,peer-bam = <0>;
1607 qcom,peer-bam-physical-address = <0x06044000>;
1608 qcom,src-bam-pipe-index = <0>;
1609 qcom,dst-bam-pipe-index = <2>;
1610 qcom,data-fifo-offset = <0x0>;
1611 qcom,data-fifo-size = <0xe00>;
1612 qcom,descriptor-fifo-offset = <0xe00>;
1613 qcom,descriptor-fifo-size = <0x200>;
1614 };
1615
1616 qcom,pipe3 {
1617 label = "ssusb-dpl-ipa-in-1";
1618 qcom,usb-bam-mem-type = <1>;
1619 qcom,dir = <1>;
1620 qcom,pipe-num = <1>;
1621 qcom,peer-bam = <1>;
1622 qcom,dst-bam-pipe-index = <2>;
1623 qcom,data-fifo-size = <0x8000>;
1624 qcom,descriptor-fifo-size = <0x2000>;
1625 };
1626 };
1627 };
1628
1629 qusb_phy: qusb@79000 {
1630 compatible = "qcom,qusb2phy";
1631 reg = <0x079000 0x180>,
1632 <0x01841030 0x4>,
1633 <0x0193f020 0x4>;
1634 reg-names = "qusb_phy_base",
1635 "ref_clk_addr",
1636 "tcsr_clamp_dig_n_1p8";
1637
1638 USB3_GDSC-supply = <&gdsc_usb30>;
1639 vdd-supply = <&pm8953_l3>;
1640 vdda18-supply = <&pm8953_l7>;
1641 vdda33-supply = <&pm8953_l13>;
1642 qcom,vdd-voltage-level = <0 925000 925000>;
1643
1644 qcom,qusb-phy-init-seq = <0xf8 0x80
1645 0xb3 0x84
1646 0x83 0x88
1647 0xc0 0x8c
1648 0x14 0x9c
1649 0x30 0x08
1650 0x79 0x0c
1651 0x21 0x10
1652 0x00 0x90
1653 0x9f 0x1c
1654 0x00 0x18>;
1655 phy_type= "utmi";
1656 qcom,phy-clk-scheme = "cml";
1657 qcom,major-rev = <1>;
1658
1659 clocks = <&clock_gcc clk_bb_clk1>,
1660 <&clock_gcc clk_gcc_qusb_ref_clk>,
1661 <&clock_gcc clk_gcc_usb_phy_cfg_ahb_clk>,
1662 <&clock_gcc clk_gcc_pcnoc_usb3_axi_clk>,
1663 <&clock_gcc clk_gcc_usb30_master_clk>;
1664
1665 clock-names = "ref_clk_src", "ref_clk", "cfg_ahb_clk",
1666 "iface_clk", "core_clk";
1667
1668 resets = <&clock_gcc GCC_QUSB2_PHY_BCR>;
1669 reset-names = "phy_reset";
1670 };
1671
1672 ssphy: ssphy@78000 {
1673 compatible = "qcom,usb-ssphy-qmp";
1674 reg = <0x78000 0x9f8>,
1675 <0x0193f244 0x4>;
1676 reg-names = "qmp_phy_base",
1677 "vls_clamp_reg";
1678
1679 qcom,qmp-phy-init-seq = /*<reg_offset, value, delay>*/
1680 <0xac 0x14 0x00
1681 0x34 0x08 0x00
1682 0x174 0x30 0x00
1683 0x3c 0x06 0x00
1684 0xb4 0x00 0x00
1685 0xb8 0x08 0x00
1686 0x194 0x06 0x3e8
1687 0x19c 0x01 0x00
1688 0x178 0x00 0x00
1689 0xd0 0x82 0x00
1690 0xdc 0x55 0x00
1691 0xe0 0x55 0x00
1692 0xe4 0x03 0x00
1693 0x78 0x0b 0x00
1694 0x84 0x16 0x00
1695 0x90 0x28 0x00
1696 0x108 0x80 0x00
1697 0x10c 0x00 0x00
1698 0x184 0x0a 0x00
1699 0x4c 0x15 0x00
1700 0x50 0x34 0x00
1701 0x54 0x00 0x00
1702 0xc8 0x00 0x00
1703 0x18c 0x00 0x00
1704 0xcc 0x00 0x00
1705 0x128 0x00 0x00
1706 0x0c 0x0a 0x00
1707 0x10 0x01 0x00
1708 0x1c 0x31 0x00
1709 0x20 0x01 0x00
1710 0x14 0x00 0x00
1711 0x18 0x00 0x00
1712 0x24 0xde 0x00
1713 0x28 0x07 0x00
1714 0x48 0x0f 0x00
1715 0x70 0x0f 0x00
1716 0x100 0x80 0x00
1717 0x440 0x0b 0x00
1718 0x4d8 0x02 0x00
1719 0x4dc 0x6c 0x00
1720 0x4e0 0xbb 0x00
1721 0x508 0x77 0x00
1722 0x50c 0x80 0x00
1723 0x514 0x03 0x00
1724 0x51c 0x16 0x00
1725 0x448 0x75 0x00
1726 0x454 0x00 0x00
1727 0x40c 0x0a 0x00
1728 0x41c 0x06 0x00
1729 0x510 0x00 0x00
1730 0x268 0x45 0x00
1731 0x2ac 0x12 0x00
1732 0x294 0x06 0x00
1733 0x254 0x00 0x00
1734 0x8c8 0x83 0x00
1735 0x8c4 0x02 0x00
1736 0x8cc 0x09 0x00
1737 0x8d0 0xa2 0x00
1738 0x8d4 0x85 0x00
1739 0x880 0xd1 0x00
1740 0x884 0x1f 0x00
1741 0x888 0x47 0x00
1742 0x80c 0x9f 0x00
1743 0x824 0x17 0x00
1744 0x828 0x0f 0x00
1745 0x8b8 0x75 0x00
1746 0x8bc 0x13 0x00
1747 0x8b0 0x86 0x00
1748 0x8a0 0x04 0x00
1749 0x88c 0x44 0x00
1750 0x870 0xe7 0x00
1751 0x874 0x03 0x00
1752 0x878 0x40 0x00
1753 0x87c 0x00 0x00
1754 0x9d8 0x88 0x00
1755 0xffffffff 0x00 0x00>;
1756 qcom,qmp-phy-reg-offset =
1757 <0x974 /* USB3_PHY_PCS_STATUS */
1758 0x8d8 /* USB3_PHY_AUTONOMOUS_MODE_CTRL */
1759 0x8dc /* USB3_PHY_LFPS_RXTERM_IRQ_CLEAR */
1760 0x804 /* USB3_PHY_POWER_DOWN_CONTROL */
1761 0x800 /* USB3_PHY_SW_RESET */
1762 0x808>; /* USB3_PHY_START */
1763
1764 vdd-supply = <&pm8953_l3>;
1765 core-supply = <&pm8953_l7>;
1766 qcom,vdd-voltage-level = <0 925000 925000>;
1767 qcom,core-voltage-level = <0 1800000 1800000>;
1768 qcom,vbus-valid-override;
1769
1770 clocks = <&clock_gcc clk_gcc_usb3_aux_clk>,
1771 <&clock_gcc clk_gcc_usb3_pipe_clk>,
1772 <&clock_gcc clk_gcc_usb_phy_cfg_ahb_clk>,
1773 <&clock_gcc clk_bb_clk1>,
1774 <&clock_gcc clk_gcc_usb_ss_ref_clk>;
1775
1776 clock-names = "aux_clk", "pipe_clk", "cfg_ahb_clk",
1777 "ref_clk_src", "ref_clk";
1778
1779 resets = <&clock_gcc GCC_USB3_PHY_BCR>,
1780 <&clock_gcc GCC_USB3PHY_PHY_BCR>;
1781
1782 reset-names = "phy_reset", "phy_phy_reset";
1783 };
1784
1785 dbm_1p5: dbm@70f8000 {
1786 compatible = "qcom,usb-dbm-1p5";
1787 reg = <0x070f8000 0x300>;
1788 qcom,reset-ep-after-lpm-resume;
1789 };
Jitendra Sharmac5c31972017-11-10 14:26:13 +05301790
Jingbiao Lue44c5e52018-01-03 15:26:26 +08001791 qcom,mss@4080000 {
1792 compatible = "qcom,pil-q6v55-mss";
1793 reg = <0x04080000 0x100>,
1794 <0x0194f000 0x010>,
1795 <0x01950000 0x008>,
1796 <0x01951000 0x008>,
1797 <0x04020000 0x040>,
1798 <0x01871000 0x004>;
1799 reg-names = "qdsp6_base", "halt_q6", "halt_modem", "halt_nc",
1800 "rmb_base", "restart_reg";
1801
1802 interrupts = <GIC_SPI 24 IRQ_TYPE_EDGE_RISING>;
1803 vdd_mss-supply = <&pm8953_s1>;
1804 vdd_cx-supply = <&pm8953_s2_level>;
1805 vdd_cx-voltage = <RPM_SMD_REGULATOR_LEVEL_TURBO>;
1806 vdd_mx-supply = <&pm8953_s7_level_ao>;
1807 vdd_mx-uV = <RPM_SMD_REGULATOR_LEVEL_TURBO>;
1808 vdd_pll-supply = <&pm8953_l7>;
1809 qcom,vdd_pll = <1800000>;
1810 vdd_mss-uV = <RPM_SMD_REGULATOR_LEVEL_TURBO>;
1811
1812 clocks = <&clock_gcc clk_xo_pil_mss_clk>,
1813 <&clock_gcc clk_gcc_mss_cfg_ahb_clk>,
1814 <&clock_gcc clk_gcc_mss_q6_bimc_axi_clk>,
1815 <&clock_gcc clk_gcc_boot_rom_ahb_clk>;
1816 clock-names = "xo", "iface_clk", "bus_clk", "mem_clk";
1817 qcom,proxy-clock-names = "xo";
1818 qcom,active-clock-names = "iface_clk", "bus_clk", "mem_clk";
1819
1820 qcom,pas-id = <5>;
1821 qcom,pil-mss-memsetup;
1822 qcom,firmware-name = "modem";
1823 qcom,pil-self-auth;
1824 qcom,sysmon-id = <0>;
1825 qcom,ssctl-instance-id = <0x12>;
1826 qcom,qdsp6v56-1-10;
1827 qcom,reset-clk;
1828
1829 memory-region = <&modem_mem>;
1830 };
1831
Jitendra Sharmac5c31972017-11-10 14:26:13 +05301832 qcom,lpass@c200000 {
1833 compatible = "qcom,pil-tz-generic";
1834 reg = <0xc200000 0x00100>;
1835 interrupts = <0 293 1>;
1836
1837 vdd_cx-supply = <&pm8953_s2_level>;
1838 qcom,proxy-reg-names = "vdd_cx";
1839 qcom,vdd_cx-uV-uA = <RPM_SMD_REGULATOR_LEVEL_TURBO 100000>;
Jingbiao Lu60bda872017-12-27 10:54:21 +08001840 qcom,mas-crypto = <&mas_crypto>;
Jitendra Sharmac5c31972017-11-10 14:26:13 +05301841
1842 clocks = <&clock_gcc clk_xo_pil_lpass_clk>,
1843 <&clock_gcc clk_gcc_crypto_clk>,
1844 <&clock_gcc clk_gcc_crypto_ahb_clk>,
1845 <&clock_gcc clk_gcc_crypto_axi_clk>,
1846 <&clock_gcc clk_crypto_clk_src>;
1847 clock-names = "xo", "scm_core_clk", "scm_iface_clk",
1848 "scm_bus_clk", "scm_core_clk_src";
1849 qcom,proxy-clock-names = "xo", "scm_core_clk", "scm_iface_clk",
1850 "scm_bus_clk", "scm_core_clk_src";
1851 qcom,scm_core_clk_src-freq = <80000000>;
1852
1853 qcom,pas-id = <1>;
1854 qcom,complete-ramdump;
1855 qcom,proxy-timeout-ms = <10000>;
1856 qcom,smem-id = <423>;
1857 qcom,sysmon-id = <1>;
1858 qcom,ssctl-instance-id = <0x14>;
1859 qcom,firmware-name = "adsp";
1860
1861 memory-region = <&adsp_fw_mem>;
1862 };
Jitendra Sharmaa50d8082017-11-10 14:33:32 +05301863
1864 qcom,pronto@a21b000 {
1865 compatible = "qcom,pil-tz-generic";
1866 reg = <0x0a21b000 0x3000>;
1867 interrupts = <0 149 1>;
1868
1869 vdd_pronto_pll-supply = <&pm8953_l7>;
1870 proxy-reg-names = "vdd_pronto_pll";
1871 vdd_pronto_pll-uV-uA = <1800000 18000>;
Jingbiao Lu60bda872017-12-27 10:54:21 +08001872 qcom,mas-crypto = <&mas_crypto>;
1873
Jitendra Sharmaa50d8082017-11-10 14:33:32 +05301874 clocks = <&clock_gcc clk_xo_pil_pronto_clk>,
1875 <&clock_gcc clk_gcc_crypto_clk>,
1876 <&clock_gcc clk_gcc_crypto_ahb_clk>,
1877 <&clock_gcc clk_gcc_crypto_axi_clk>,
1878 <&clock_gcc clk_crypto_clk_src>;
1879
1880 clock-names = "xo", "scm_core_clk", "scm_iface_clk",
1881 "scm_bus_clk", "scm_core_clk_src";
1882 qcom,proxy-clock-names = "xo", "scm_core_clk", "scm_iface_clk",
1883 "scm_bus_clk", "scm_core_clk_src";
1884 qcom,scm_core_clk_src = <80000000>;
1885
1886 qcom,pas-id = <6>;
1887 qcom,proxy-timeout-ms = <10000>;
1888 qcom,smem-id = <422>;
1889 qcom,sysmon-id = <6>;
1890 qcom,ssctl-instance-id = <0x13>;
1891 qcom,firmware-name = "wcnss";
1892
1893 memory-region = <&wcnss_fw_mem>;
1894 };
1895
Tingwei Zhang63c1b7d2017-12-22 16:38:16 +08001896 qcom,venus@1de0000 {
1897 compatible = "qcom,pil-tz-generic";
1898 reg = <0x1de0000 0x4000>;
1899
1900 vdd-supply = <&gdsc_venus>;
1901 qcom,proxy-reg-names = "vdd";
1902
1903 clocks = <&clock_gcc clk_gcc_venus0_vcodec0_clk>,
1904 <&clock_gcc clk_gcc_venus0_ahb_clk>,
1905 <&clock_gcc clk_gcc_venus0_axi_clk>,
1906 <&clock_gcc clk_gcc_crypto_clk>,
1907 <&clock_gcc clk_gcc_crypto_ahb_clk>,
1908 <&clock_gcc clk_gcc_crypto_axi_clk>,
1909 <&clock_gcc clk_crypto_clk_src>;
1910
1911 clock-names = "core_clk", "iface_clk", "bus_clk",
1912 "scm_core_clk", "scm_iface_clk",
1913 "scm_bus_clk", "scm_core_clk_src";
1914
1915 qcom,proxy-clock-names = "core_clk", "iface_clk",
1916 "bus_clk", "scm_core_clk",
1917 "scm_iface_clk", "scm_bus_clk",
1918 "scm_core_clk_src";
1919 qcom,scm_core_clk_src-freq = <80000000>;
1920
1921 qcom,msm-bus,name = "pil-venus";
1922 qcom,msm-bus,num-cases = <2>;
1923 qcom,msm-bus,num-paths = <1>;
1924 qcom,msm-bus,vectors-KBps =
1925 <63 512 0 0>,
1926 <63 512 0 304000>;
1927 qcom,pas-id = <9>;
1928 qcom,proxy-timeout-ms = <100>;
1929 qcom,firmware-name = "venus";
1930 memory-region = <&venus_mem>;
1931 };
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301932};
Kiran Gunda0954f392017-10-16 16:24:55 +05301933
1934#include "pm8953-rpm-regulator.dtsi"
1935#include "pm8953.dtsi"
1936#include "msm8953-regulator.dtsi"
Shefali Jain44e24ad2017-11-23 12:27:33 +05301937#include "msm-gdsc-8916.dtsi"
1938
1939&gdsc_venus {
1940 clock-names = "bus_clk", "core_clk";
1941 clocks = <&clock_gcc clk_gcc_venus0_axi_clk>,
1942 <&clock_gcc clk_gcc_venus0_vcodec0_clk>;
1943 status = "okay";
1944};
1945
1946&gdsc_venus_core0 {
1947 qcom,support-hw-trigger;
1948 clock-names ="core0_clk";
1949 clocks = <&clock_gcc clk_gcc_venus0_core0_vcodec0_clk>;
1950 status = "okay";
1951};
1952
1953&gdsc_mdss {
1954 clock-names = "core_clk", "bus_clk";
1955 clocks = <&clock_gcc clk_gcc_mdss_mdp_clk>,
1956 <&clock_gcc clk_gcc_mdss_axi_clk>;
1957 proxy-supply = <&gdsc_mdss>;
1958 qcom,proxy-consumer-enable;
1959 status = "okay";
1960};
1961
1962&gdsc_oxili_gx {
1963 clock-names = "core_root_clk";
1964 clocks =<&clock_gcc_gfx clk_gfx3d_clk_src>;
1965 qcom,force-enable-root-clk;
1966 parent-supply = <&gfx_vreg_corner>;
1967 status = "okay";
1968};
1969
1970&gdsc_jpeg {
1971 clock-names = "core_clk", "bus_clk";
1972 clocks = <&clock_gcc clk_gcc_camss_jpeg0_clk>,
1973 <&clock_gcc clk_gcc_camss_jpeg_axi_clk>;
1974 status = "okay";
1975};
1976
1977&gdsc_vfe {
1978 clock-names = "core_clk", "bus_clk", "micro_clk",
1979 "csi_clk";
1980 clocks = <&clock_gcc clk_gcc_camss_vfe0_clk>,
1981 <&clock_gcc clk_gcc_camss_vfe_axi_clk>,
1982 <&clock_gcc clk_gcc_camss_micro_ahb_clk>,
1983 <&clock_gcc clk_gcc_camss_csi_vfe0_clk>;
1984 status = "okay";
1985};
1986
1987&gdsc_vfe1 {
1988 clock-names = "core_clk", "bus_clk", "micro_clk",
1989 "csi_clk";
1990 clocks = <&clock_gcc clk_gcc_camss_vfe1_clk>,
1991 <&clock_gcc clk_gcc_camss_vfe1_axi_clk>,
1992 <&clock_gcc clk_gcc_camss_micro_ahb_clk>,
1993 <&clock_gcc clk_gcc_camss_csi_vfe1_clk>;
1994 status = "okay";
1995};
1996
1997&gdsc_cpp {
1998 clock-names = "core_clk", "bus_clk";
1999 clocks = <&clock_gcc clk_gcc_camss_cpp_clk>,
2000 <&clock_gcc clk_gcc_camss_cpp_axi_clk>;
2001 status = "okay";
2002};
2003
2004&gdsc_oxili_cx {
2005 clock-names = "core_clk";
2006 clocks = <&clock_gcc_gfx clk_gcc_oxili_gfx3d_clk>;
2007 status = "okay";
2008};
2009
2010&gdsc_usb30 {
2011 status = "okay";
2012};