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