blob: 8ec9a8232d409d39340be39a830f0e6a84690c0b [file] [log] [blame]
Imran Khan04f08312017-03-30 15:07:43 +05301/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#include "skeleton64.dtsi"
14#include <dt-bindings/interrupt-controller/arm-gic.h>
Odelu Kukatla1fe3a222017-06-01 16:24:59 +053015#include <dt-bindings/clock/qcom,gcc-sdm845.h>
16#include <dt-bindings/clock/qcom,camcc-sdm845.h>
17#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
18#include <dt-bindings/clock/qcom,gpucc-sdm845.h>
19#include <dt-bindings/clock/qcom,videocc-sdm845.h>
20#include <dt-bindings/clock/qcom,cpucc-sdm845.h>
21#include <dt-bindings/clock/qcom,rpmh.h>
Maulik Shahc77d1d22017-06-15 14:04:50 +053022#include <dt-bindings/soc/qcom,tcs-mbox.h>
Tirupathi Reddy0cfe2082017-06-08 14:24:13 +053023#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
Odelu Kukatla6f3ffa12017-08-10 12:31:06 +053024#include <dt-bindings/clock/qcom,aop-qmp.h>
Imran Khan04f08312017-03-30 15:07:43 +053025
26/ {
27 model = "Qualcomm Technologies, Inc. SDM670";
28 compatible = "qcom,sdm670";
29 qcom,msm-id = <336 0x0>;
Maulik Shah30ebbde2017-06-15 10:02:54 +053030 interrupt-parent = <&pdc>;
Imran Khan04f08312017-03-30 15:07:43 +053031
Sayali Lokhande099af9c2017-06-08 10:18:29 +053032 aliases {
33 ufshc1 = &ufshc_mem; /* Embedded UFS slot */
Vijay Viswanatheac72722017-06-05 11:01:38 +053034 sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
Sayali Lokhande099af9c2017-06-08 10:18:29 +053035 };
Imran Khan04f08312017-03-30 15:07:43 +053036
Mukesh Kumar Savaliya7b272542017-07-10 19:35:29 +053037 aliases {
38 serial0 = &qupv3_se12_2uart;
39 spi0 = &qupv3_se8_spi;
40 i2c0 = &qupv3_se10_i2c;
41 i2c1 = &qupv3_se3_i2c;
42 hsuart0 = &qupv3_se6_4uart;
43 };
44
Imran Khan04f08312017-03-30 15:07:43 +053045 cpus {
46 #address-cells = <2>;
47 #size-cells = <0>;
48
49 CPU0: cpu@0 {
50 device_type = "cpu";
51 compatible = "arm,armv8";
52 reg = <0x0 0x0>;
53 enable-method = "psci";
54 efficiency = <1024>;
55 cache-size = <0x8000>;
56 cpu-release-addr = <0x0 0x90000000>;
57 next-level-cache = <&L2_0>;
58 L2_0: l2-cache {
59 compatible = "arm,arch-cache";
60 cache-size = <0x20000>;
61 cache-level = <2>;
62 next-level-cache = <&L3_0>;
63 L3_0: l3-cache {
64 compatible = "arm,arch-cache";
65 cache-size = <0x100000>;
66 cache-level = <3>;
67 };
68 };
69 L1_I_0: l1-icache {
70 compatible = "arm,arch-cache";
71 qcom,dump-size = <0x9000>;
72 };
73 L1_D_0: l1-dcache {
74 compatible = "arm,arch-cache";
75 qcom,dump-size = <0x9000>;
76 };
77 };
78
79 CPU1: cpu@100 {
80 device_type = "cpu";
81 compatible = "arm,armv8";
82 reg = <0x0 0x100>;
83 enable-method = "psci";
84 efficiency = <1024>;
85 cache-size = <0x8000>;
86 cpu-release-addr = <0x0 0x90000000>;
87 next-level-cache = <&L2_100>;
88 L2_100: l2-cache {
89 compatible = "arm,arch-cache";
90 cache-size = <0x20000>;
91 cache-level = <2>;
92 next-level-cache = <&L3_0>;
93 };
94 L1_I_100: l1-icache {
95 compatible = "arm,arch-cache";
96 qcom,dump-size = <0x9000>;
97 };
98 L1_D_100: l1-dcache {
99 compatible = "arm,arch-cache";
100 qcom,dump-size = <0x9000>;
101 };
102 };
103
104 CPU2: cpu@200 {
105 device_type = "cpu";
106 compatible = "arm,armv8";
107 reg = <0x0 0x200>;
108 enable-method = "psci";
109 efficiency = <1024>;
110 cache-size = <0x8000>;
111 cpu-release-addr = <0x0 0x90000000>;
112 next-level-cache = <&L2_200>;
113 L2_200: l2-cache {
114 compatible = "arm,arch-cache";
115 cache-size = <0x20000>;
116 cache-level = <2>;
117 next-level-cache = <&L3_0>;
118 };
119 L1_I_200: l1-icache {
120 compatible = "arm,arch-cache";
121 qcom,dump-size = <0x9000>;
122 };
123 L1_D_200: l1-dcache {
124 compatible = "arm,arch-cache";
125 qcom,dump-size = <0x9000>;
126 };
127 };
128
129 CPU3: cpu@300 {
130 device_type = "cpu";
131 compatible = "arm,armv8";
132 reg = <0x0 0x300>;
133 enable-method = "psci";
134 efficiency = <1024>;
135 cache-size = <0x8000>;
136 cpu-release-addr = <0x0 0x90000000>;
137 next-level-cache = <&L2_300>;
138 L2_300: l2-cache {
139 compatible = "arm,arch-cache";
140 cache-size = <0x20000>;
141 cache-level = <2>;
142 next-level-cache = <&L3_0>;
143 };
144 L1_I_300: l1-icache {
145 compatible = "arm,arch-cache";
146 qcom,dump-size = <0x9000>;
147 };
148 L1_D_300: l1-dcache {
149 compatible = "arm,arch-cache";
150 qcom,dump-size = <0x9000>;
151 };
152 };
153
154 CPU4: cpu@400 {
155 device_type = "cpu";
156 compatible = "arm,armv8";
157 reg = <0x0 0x400>;
158 enable-method = "psci";
159 efficiency = <1024>;
160 cache-size = <0x8000>;
161 cpu-release-addr = <0x0 0x90000000>;
162 next-level-cache = <&L2_400>;
163 L2_400: l2-cache {
164 compatible = "arm,arch-cache";
165 cache-size = <0x20000>;
166 cache-level = <2>;
167 next-level-cache = <&L3_0>;
168 };
169 L1_I_400: l1-icache {
170 compatible = "arm,arch-cache";
171 qcom,dump-size = <0x9000>;
172 };
173 L1_D_400: l1-dcache {
174 compatible = "arm,arch-cache";
175 qcom,dump-size = <0x9000>;
176 };
177 };
178
179 CPU5: cpu@500 {
180 device_type = "cpu";
181 compatible = "arm,armv8";
182 reg = <0x0 0x500>;
183 enable-method = "psci";
184 efficiency = <1024>;
185 cache-size = <0x8000>;
186 cpu-release-addr = <0x0 0x90000000>;
187 next-level-cache = <&L2_500>;
188 L2_500: l2-cache {
189 compatible = "arm,arch-cache";
190 cache-size = <0x20000>;
191 cache-level = <2>;
192 next-level-cache = <&L3_0>;
193 };
194 L1_I_500: l1-icache {
195 compatible = "arm,arch-cache";
196 qcom,dump-size = <0x9000>;
197 };
198 L1_D_500: l1-dcache {
199 compatible = "arm,arch-cache";
200 qcom,dump-size = <0x9000>;
201 };
202 };
203
204 CPU6: cpu@600 {
205 device_type = "cpu";
206 compatible = "arm,armv8";
207 reg = <0x0 0x600>;
208 enable-method = "psci";
209 efficiency = <1740>;
210 cache-size = <0x10000>;
211 cpu-release-addr = <0x0 0x90000000>;
212 next-level-cache = <&L2_600>;
213 L2_600: l2-cache {
214 compatible = "arm,arch-cache";
215 cache-size = <0x40000>;
216 cache-level = <2>;
217 next-level-cache = <&L3_0>;
218 };
219 L1_I_600: l1-icache {
220 compatible = "arm,arch-cache";
221 qcom,dump-size = <0x12000>;
222 };
223 L1_D_600: l1-dcache {
224 compatible = "arm,arch-cache";
225 qcom,dump-size = <0x12000>;
226 };
227 };
228
229 CPU7: cpu@700 {
230 device_type = "cpu";
231 compatible = "arm,armv8";
232 reg = <0x0 0x700>;
233 enable-method = "psci";
234 efficiency = <1740>;
235 cache-size = <0x10000>;
236 cpu-release-addr = <0x0 0x90000000>;
237 next-level-cache = <&L2_700>;
238 L2_700: l2-cache {
239 compatible = "arm,arch-cache";
240 cache-size = <0x40000>;
241 cache-level = <2>;
242 next-level-cache = <&L3_0>;
243 };
244 L1_I_700: l1-icache {
245 compatible = "arm,arch-cache";
246 qcom,dump-size = <0x12000>;
247 };
248 L1_D_700: l1-dcache {
249 compatible = "arm,arch-cache";
250 qcom,dump-size = <0x12000>;
251 };
252 };
253
254 cpu-map {
255 cluster0 {
256 core0 {
257 cpu = <&CPU0>;
258 };
259
260 core1 {
261 cpu = <&CPU1>;
262 };
263
264 core2 {
265 cpu = <&CPU2>;
266 };
267
268 core3 {
269 cpu = <&CPU3>;
270 };
271
272 core4 {
273 cpu = <&CPU4>;
274 };
275
276 core5 {
277 cpu = <&CPU5>;
278 };
279 };
280 cluster1 {
281 core0 {
282 cpu = <&CPU6>;
283 };
284
285 core1 {
286 cpu = <&CPU7>;
287 };
288 };
289 };
290 };
291
292 psci {
293 compatible = "arm,psci-1.0";
294 method = "smc";
295 };
296
297 soc: soc { };
298
Imran Khanb1066fa2017-08-01 17:20:22 +0530299 vendor: vendor {
300 #address-cells = <1>;
301 #size-cells = <1>;
302 ranges = <0 0 0 0xffffffff>;
303 compatible = "simple-bus";
304 };
305
Imran Khan04f08312017-03-30 15:07:43 +0530306 reserved-memory {
307 #address-cells = <2>;
308 #size-cells = <2>;
309 ranges;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530310
311 removed_regions: removed_regions@85700000 {
312 compatible = "removed-dma-pool";
313 no-map;
314 reg = <0 0x85700000 0 0x3800000>;
315 };
316
317 pil_camera_mem: camera_region@8ab00000 {
318 compatible = "removed-dma-pool";
319 no-map;
320 reg = <0 0x8ab00000 0 0x500000>;
321 };
322
323 pil_modem_mem: modem_region@8b000000 {
324 compatible = "removed-dma-pool";
325 no-map;
326 reg = <0 0x8b000000 0 0x7e00000>;
327 };
328
329 pil_video_mem: pil_video_region@92e00000 {
330 compatible = "removed-dma-pool";
331 no-map;
332 reg = <0 0x92e00000 0 0x500000>;
333 };
334
335 pil_cdsp_mem: cdsp_regions@93300000 {
336 compatible = "removed-dma-pool";
337 no-map;
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530338 reg = <0 0x93300000 0 0x800000>;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530339 };
340
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530341 pil_mba_mem: pil_mba_region@0x93b00000 {
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530342 compatible = "removed-dma-pool";
343 no-map;
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530344 reg = <0 0x93b00000 0 0x200000>;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530345 };
346
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530347 pil_adsp_mem: pil_adsp_region@93d00000 {
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530348 compatible = "removed-dma-pool";
349 no-map;
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530350 reg = <0 0x93d00000 0 0x1e00000>;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530351 };
352
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530353 pil_ipa_fw_mem: pil_ipa_fw_region@95b00000 {
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530354 compatible = "removed-dma-pool";
355 no-map;
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530356 reg = <0 0x95b00000 0 0x10000>;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530357 };
358
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530359 pil_ipa_gsi_mem: pil_ipa_gsi_region@95b10000 {
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530360 compatible = "removed-dma-pool";
361 no-map;
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530362 reg = <0 0x95b10000 0 0x5000>;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530363 };
364
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530365 pil_gpu_mem: pil_gpu_region@95b15000 {
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530366 compatible = "removed-dma-pool";
367 no-map;
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530368 reg = <0 0x95b15000 0 0x1000>;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530369 };
370
371 adsp_mem: adsp_region {
372 compatible = "shared-dma-pool";
373 alloc-ranges = <0 0x00000000 0 0xffffffff>;
374 reusable;
375 alignment = <0 0x400000>;
376 size = <0 0xc00000>;
377 };
378
379 qseecom_mem: qseecom_region {
380 compatible = "shared-dma-pool";
381 alloc-ranges = <0 0x00000000 0 0xffffffff>;
382 reusable;
383 alignment = <0 0x400000>;
384 size = <0 0x1400000>;
385 };
386
387 sp_mem: sp_region { /* SPSS-HLOS ION shared mem */
388 compatible = "shared-dma-pool";
389 alloc-ranges = <0 0x00000000 0 0xffffffff>; /* 32-bit */
390 reusable;
391 alignment = <0 0x400000>;
392 size = <0 0x800000>;
393 };
394
395 secure_display_memory: secure_display_region {
396 compatible = "shared-dma-pool";
397 alloc-ranges = <0 0x00000000 0 0xffffffff>;
398 reusable;
399 alignment = <0 0x400000>;
400 size = <0 0x5c00000>;
401 };
402
403 /* global autoconfigured region for contiguous allocations */
404 linux,cma {
405 compatible = "shared-dma-pool";
406 alloc-ranges = <0 0x00000000 0 0xffffffff>;
407 reusable;
408 alignment = <0 0x400000>;
409 size = <0 0x2000000>;
410 linux,cma-default;
411 };
Imran Khan04f08312017-03-30 15:07:43 +0530412 };
413};
414
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530415#include "sdm670-ion.dtsi"
416
Dhoat Harpal92d63dea2017-06-06 21:20:26 +0530417#include "sdm670-smp2p.dtsi"
418
Mukesh Kumar Savaliya065ca482017-06-06 14:44:45 +0530419#include "sdm670-qupv3.dtsi"
420
Imran Khan04f08312017-03-30 15:07:43 +0530421&soc {
422 #address-cells = <1>;
423 #size-cells = <1>;
424 ranges = <0 0 0 0xffffffff>;
425 compatible = "simple-bus";
426
427 intc: interrupt-controller@17a00000 {
428 compatible = "arm,gic-v3";
429 #interrupt-cells = <3>;
430 interrupt-controller;
431 #redistributor-regions = <1>;
432 redistributor-stride = <0x0 0x20000>;
433 reg = <0x17a00000 0x10000>, /* GICD */
434 <0x17a60000 0x100000>; /* GICR * 8 */
435 interrupts = <1 9 4>;
Maulik Shah30ebbde2017-06-15 10:02:54 +0530436 interrupt-parent = <&intc>;
Imran Khan04f08312017-03-30 15:07:43 +0530437 };
438
439 timer {
440 compatible = "arm,armv8-timer";
441 interrupts = <1 1 0xf08>,
442 <1 2 0xf08>,
443 <1 3 0xf08>,
444 <1 0 0xf08>;
445 clock-frequency = <19200000>;
446 };
447
Lakshmi Sunkarabbd69892017-06-09 13:17:10 +0530448 qcom,sps {
449 compatible = "qcom,msm_sps_4k";
450 qcom,pipe-attr-ee;
451 };
452
Rama Krishna Phani Aa3c0e782017-07-17 20:09:15 +0530453 thermal_zones: thermal-zones {
454 aoss0-usr {
455 polling-delay-passive = <0>;
456 polling-delay = <0>;
457 thermal-governor = "user_space";
458 thermal-sensors = <&tsens0 0>;
459 trips {
460 active-config0 {
461 temperature = <125000>;
462 hysteresis = <1000>;
463 type = "passive";
464 };
465 };
466 };
467
468 cpu0-silver-usr {
469 polling-delay-passive = <0>;
470 polling-delay = <0>;
471 thermal-governor = "user_space";
472 thermal-sensors = <&tsens0 1>;
473 trips {
474 active-config0 {
475 temperature = <125000>;
476 hysteresis = <1000>;
477 type = "passive";
478 };
479 };
480 };
481
482 cpu1-silver-usr {
483 polling-delay-passive = <0>;
484 polling-delay = <0>;
485 thermal-governor = "user_space";
486 thermal-sensors = <&tsens0 2>;
487 trips {
488 active-config0 {
489 temperature = <125000>;
490 hysteresis = <1000>;
491 type = "passive";
492 };
493 };
494 };
495
496 cpu2-silver-usr {
497 polling-delay-passive = <0>;
498 polling-delay = <0>;
499 thermal-governor = "user_space";
500 thermal-sensors = <&tsens0 3>;
501 trips {
502 active-config0 {
503 temperature = <125000>;
504 hysteresis = <1000>;
505 type = "passive";
506 };
507 };
508 };
509
510 cpu3-silver-usr {
511 polling-delay-passive = <0>;
512 polling-delay = <0>;
513 thermal-sensors = <&tsens0 4>;
514 thermal-governor = "user_space";
515 trips {
516 active-config0 {
517 temperature = <125000>;
518 hysteresis = <1000>;
519 type = "passive";
520 };
521 };
522 };
523
524 cpu4-silver-usr {
525 polling-delay-passive = <0>;
526 polling-delay = <0>;
527 thermal-sensors = <&tsens0 5>;
528 thermal-governor = "user_space";
529 trips {
530 active-config0 {
531 temperature = <125000>;
532 hysteresis = <1000>;
533 type = "passive";
534 };
535 };
536 };
537
538 cpu5-silver-usr {
539 polling-delay-passive = <0>;
540 polling-delay = <0>;
541 thermal-sensors = <&tsens0 6>;
542 thermal-governor = "user_space";
543 trips {
544 active-config0 {
545 temperature = <125000>;
546 hysteresis = <1000>;
547 type = "passive";
548 };
549 };
550 };
551
552 kryo-l3-0-usr {
553 polling-delay-passive = <0>;
554 polling-delay = <0>;
555 thermal-sensors = <&tsens0 7>;
556 thermal-governor = "user_space";
557 trips {
558 active-config0 {
559 temperature = <125000>;
560 hysteresis = <1000>;
561 type = "passive";
562 };
563 };
564 };
565
566 kryo-l3-1-usr {
567 polling-delay-passive = <0>;
568 polling-delay = <0>;
569 thermal-sensors = <&tsens0 8>;
570 thermal-governor = "user_space";
571 trips {
572 active-config0 {
573 temperature = <125000>;
574 hysteresis = <1000>;
575 type = "passive";
576 };
577 };
578 };
579
580 cpu0-gold-usr {
581 polling-delay-passive = <0>;
582 polling-delay = <0>;
583 thermal-sensors = <&tsens0 9>;
584 thermal-governor = "user_space";
585 trips {
586 active-config0 {
587 temperature = <125000>;
588 hysteresis = <1000>;
589 type = "passive";
590 };
591 };
592 };
593
594 cpu1-gold-usr {
595 polling-delay-passive = <0>;
596 polling-delay = <0>;
597 thermal-sensors = <&tsens0 10>;
598 thermal-governor = "user_space";
599 trips {
600 active-config0 {
601 temperature = <125000>;
602 hysteresis = <1000>;
603 type = "passive";
604 };
605 };
606 };
607
608 gpu0-usr {
609 polling-delay-passive = <0>;
610 polling-delay = <0>;
611 thermal-sensors = <&tsens0 11>;
612 thermal-governor = "user_space";
613 trips {
614 active-config0 {
615 temperature = <125000>;
616 hysteresis = <1000>;
617 type = "passive";
618 };
619 };
620 };
621
622 gpu1-usr {
623 polling-delay-passive = <0>;
624 polling-delay = <0>;
625 thermal-governor = "user_space";
626 thermal-sensors = <&tsens0 12>;
627 trips {
628 active-config0 {
629 temperature = <125000>;
630 hysteresis = <1000>;
631 type = "passive";
632 };
633 };
634 };
635
636 aoss1-usr {
637 polling-delay-passive = <0>;
638 polling-delay = <0>;
639 thermal-sensors = <&tsens1 0>;
640 thermal-governor = "user_space";
641 trips {
642 active-config0 {
643 temperature = <125000>;
644 hysteresis = <1000>;
645 type = "passive";
646 };
647 };
648 };
649
650 mdm-dsp-usr {
651 polling-delay-passive = <0>;
652 polling-delay = <0>;
653 thermal-sensors = <&tsens1 1>;
654 thermal-governor = "user_space";
655 trips {
656 active-config0 {
657 temperature = <125000>;
658 hysteresis = <1000>;
659 type = "passive";
660 };
661 };
662 };
663
664 ddr-usr {
665 polling-delay-passive = <0>;
666 polling-delay = <0>;
667 thermal-sensors = <&tsens1 2>;
668 thermal-governor = "user_space";
669 trips {
670 active-config0 {
671 temperature = <125000>;
672 hysteresis = <1000>;
673 type = "passive";
674 };
675 };
676 };
677
678 wlan-usr {
679 polling-delay-passive = <0>;
680 polling-delay = <0>;
681 thermal-sensors = <&tsens1 3>;
682 thermal-governor = "user_space";
683 trips {
684 active-config0 {
685 temperature = <125000>;
686 hysteresis = <1000>;
687 type = "passive";
688 };
689 };
690 };
691
692 compute-hvx-usr {
693 polling-delay-passive = <0>;
694 polling-delay = <0>;
695 thermal-sensors = <&tsens1 4>;
696 thermal-governor = "user_space";
697 trips {
698 active-config0 {
699 temperature = <125000>;
700 hysteresis = <1000>;
701 type = "passive";
702 };
703 };
704 };
705
706 camera-usr {
707 polling-delay-passive = <0>;
708 polling-delay = <0>;
709 thermal-sensors = <&tsens1 5>;
710 thermal-governor = "user_space";
711 trips {
712 active-config0 {
713 temperature = <125000>;
714 hysteresis = <1000>;
715 type = "passive";
716 };
717 };
718 };
719
720 mmss-usr {
721 polling-delay-passive = <0>;
722 polling-delay = <0>;
723 thermal-sensors = <&tsens1 6>;
724 thermal-governor = "user_space";
725 trips {
726 active-config0 {
727 temperature = <125000>;
728 hysteresis = <1000>;
729 type = "passive";
730 };
731 };
732 };
733
734 mdm-core-usr {
735 polling-delay-passive = <0>;
736 polling-delay = <0>;
737 thermal-sensors = <&tsens1 7>;
738 thermal-governor = "user_space";
739 trips {
740 active-config0 {
741 temperature = <125000>;
742 hysteresis = <1000>;
743 type = "passive";
744 };
745 };
746 };
747 };
748
749 tsens0: tsens@c222000 {
750 compatible = "qcom,tsens24xx";
751 reg = <0xc222000 0x4>,
752 <0xc263000 0x1ff>;
753 reg-names = "tsens_srot_physical",
754 "tsens_tm_physical";
755 interrupts = <0 506 0>, <0 508 0>;
756 interrupt-names = "tsens-upper-lower", "tsens-critical";
757 #thermal-sensor-cells = <1>;
758 };
759
760 tsens1: tsens@c223000 {
761 compatible = "qcom,tsens24xx";
762 reg = <0xc223000 0x4>,
763 <0xc265000 0x1ff>;
764 reg-names = "tsens_srot_physical",
765 "tsens_tm_physical";
766 interrupts = <0 507 0>, <0 509 0>;
767 interrupt-names = "tsens-upper-lower", "tsens-critical";
768 #thermal-sensor-cells = <1>;
769 };
770
Imran Khan04f08312017-03-30 15:07:43 +0530771 timer@0x17c90000{
772 #address-cells = <1>;
773 #size-cells = <1>;
774 ranges;
775 compatible = "arm,armv7-timer-mem";
776 reg = <0x17c90000 0x1000>;
777 clock-frequency = <19200000>;
778
779 frame@0x17ca0000 {
780 frame-number = <0>;
781 interrupts = <0 7 0x4>,
782 <0 6 0x4>;
783 reg = <0x17ca0000 0x1000>,
784 <0x17cb0000 0x1000>;
785 };
786
787 frame@17cc0000 {
788 frame-number = <1>;
789 interrupts = <0 8 0x4>;
790 reg = <0x17cc0000 0x1000>;
791 status = "disabled";
792 };
793
794 frame@17cd0000 {
795 frame-number = <2>;
796 interrupts = <0 9 0x4>;
797 reg = <0x17cd0000 0x1000>;
798 status = "disabled";
799 };
800
801 frame@17ce0000 {
802 frame-number = <3>;
803 interrupts = <0 10 0x4>;
804 reg = <0x17ce0000 0x1000>;
805 status = "disabled";
806 };
807
808 frame@17cf0000 {
809 frame-number = <4>;
810 interrupts = <0 11 0x4>;
811 reg = <0x17cf0000 0x1000>;
812 status = "disabled";
813 };
814
815 frame@17d00000 {
816 frame-number = <5>;
817 interrupts = <0 12 0x4>;
818 reg = <0x17d00000 0x1000>;
819 status = "disabled";
820 };
821
822 frame@17d10000 {
823 frame-number = <6>;
824 interrupts = <0 13 0x4>;
825 reg = <0x17d10000 0x1000>;
826 status = "disabled";
827 };
828 };
829
830 restart@10ac000 {
831 compatible = "qcom,pshold";
832 reg = <0xC264000 0x4>,
833 <0x1fd3000 0x4>;
834 reg-names = "pshold-base", "tcsr-boot-misc-detect";
835 };
836
Maulik Shah6bf7d5d2017-07-27 09:48:42 +0530837 aop-msg-client {
838 compatible = "qcom,debugfs-qmp-client";
839 mboxes = <&qmp_aop 0>;
840 mbox-names = "aop";
841 };
842
Odelu Kukatla1fe3a222017-06-01 16:24:59 +0530843 clock_rpmh: qcom,rpmhclk {
844 compatible = "qcom,dummycc";
845 clock-output-names = "rpmh_clocks";
846 #clock-cells = <1>;
847 };
848
849 clock_gcc: qcom,gcc@100000 {
850 compatible = "qcom,dummycc";
851 clock-output-names = "gcc_clocks";
852 #clock-cells = <1>;
853 #reset-cells = <1>;
854 };
855
856 clock_videocc: qcom,videocc@ab00000 {
857 compatible = "qcom,dummycc";
858 clock-output-names = "videocc_clocks";
859 #clock-cells = <1>;
860 #reset-cells = <1>;
861 };
862
863 clock_camcc: qcom,camcc@ad00000 {
864 compatible = "qcom,dummycc";
865 clock-output-names = "camcc_clocks";
866 #clock-cells = <1>;
867 #reset-cells = <1>;
868 };
869
870 clock_dispcc: qcom,dispcc@af00000 {
871 compatible = "qcom,dummycc";
872 clock-output-names = "dispcc_clocks";
873 #clock-cells = <1>;
874 #reset-cells = <1>;
875 };
876
877 clock_gpucc: qcom,gpucc@5090000 {
878 compatible = "qcom,dummycc";
879 clock-output-names = "gpucc_clocks";
880 #clock-cells = <1>;
881 #reset-cells = <1>;
882 };
883
884 clock_gfx: qcom,gfxcc@5090000 {
885 compatible = "qcom,dummycc";
886 clock-output-names = "gfxcc_clocks";
887 #clock-cells = <1>;
888 #reset-cells = <1>;
889 };
890
Imran Khan04f08312017-03-30 15:07:43 +0530891 clock_cpucc: qcom,cpucc {
892 compatible = "qcom,dummycc";
893 clock-output-names = "cpucc_clocks";
894 #clock-cells = <1>;
895 #reset-cells = <1>;
896 };
897
Odelu Kukatla6f3ffa12017-08-10 12:31:06 +0530898 clock_aop: qcom,aopclk {
899 compatible = "qcom,aop-qmp-clk-v2";
900 #clock-cells = <1>;
901 mboxes = <&qmp_aop 0>;
902 mbox-names = "qdss_clk";
903 };
904
Shrey Vijay6b6b3a52017-06-21 15:06:03 +0530905 slim_aud: slim@62dc0000 {
906 cell-index = <1>;
907 compatible = "qcom,slim-ngd";
908 reg = <0x62dc0000 0x2c000>,
909 <0x62d84000 0x2a000>;
910 reg-names = "slimbus_physical", "slimbus_bam_physical";
911 interrupts = <0 163 0>, <0 164 0>;
912 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
913 qcom,apps-ch-pipes = <0x780000>;
914 qcom,ea-pc = <0x290>;
915 status = "disabled";
916 };
917
918 slim_qca: slim@62e40000 {
919 cell-index = <3>;
920 compatible = "qcom,slim-ngd";
921 reg = <0x62e40000 0x2c000>,
922 <0x62e04000 0x20000>;
923 reg-names = "slimbus_physical", "slimbus_bam_physical";
924 interrupts = <0 291 0>, <0 292 0>;
925 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
926 status = "disabled";
927 };
928
Imran Khan04f08312017-03-30 15:07:43 +0530929 wdog: qcom,wdt@17980000{
930 compatible = "qcom,msm-watchdog";
931 reg = <0x17980000 0x1000>;
932 reg-names = "wdt-base";
933 interrupts = <0 3 0>, <0 4 0>;
934 qcom,bark-time = <11000>;
935 qcom,pet-time = <10000>;
936 qcom,ipi-ping;
937 qcom,wakeup-enable;
938 };
939
940 qcom,msm-rtb {
941 compatible = "qcom,msm-rtb";
942 qcom,rtb-size = <0x100000>;
943 };
944
945 qcom,msm-imem@146bf000 {
946 compatible = "qcom,msm-imem";
947 reg = <0x146bf000 0x1000>;
948 ranges = <0x0 0x146bf000 0x1000>;
949 #address-cells = <1>;
950 #size-cells = <1>;
951
952 mem_dump_table@10 {
953 compatible = "qcom,msm-imem-mem_dump_table";
954 reg = <0x10 8>;
955 };
956
957 restart_reason@65c {
958 compatible = "qcom,msm-imem-restart_reason";
959 reg = <0x65c 4>;
960 };
961
962 pil@94c {
963 compatible = "qcom,msm-imem-pil";
964 reg = <0x94c 200>;
965 };
966
967 kaslr_offset@6d0 {
968 compatible = "qcom,msm-imem-kaslr_offset";
969 reg = <0x6d0 12>;
970 };
971 };
972
Rama Krishna Phani A2acd96a2017-07-03 17:12:46 +0530973 gpi_dma0: qcom,gpi-dma@0x800000 {
974 #dma-cells = <6>;
975 compatible = "qcom,gpi-dma";
976 reg = <0x800000 0x60000>;
977 reg-names = "gpi-top";
978 interrupts = <0 244 0>, <0 245 0>, <0 246 0>, <0 247 0>,
979 <0 248 0>, <0 249 0>, <0 250 0>, <0 251 0>,
980 <0 252 0>, <0 253 0>, <0 254 0>, <0 255 0>,
981 <0 256 0>;
982 qcom,max-num-gpii = <13>;
983 qcom,gpii-mask = <0xfa>;
984 qcom,ev-factor = <2>;
985 iommus = <&apps_smmu 0x0016 0x0>;
986 status = "ok";
987 };
988
989 gpi_dma1: qcom,gpi-dma@0xa00000 {
990 #dma-cells = <6>;
991 compatible = "qcom,gpi-dma";
992 reg = <0xa00000 0x60000>;
993 reg-names = "gpi-top";
994 interrupts = <0 279 0>, <0 280 0>, <0 281 0>, <0 282 0>,
995 <0 283 0>, <0 284 0>, <0 293 0>, <0 294 0>,
996 <0 295 0>, <0 296 0>, <0 297 0>, <0 298 0>,
997 <0 299 0>;
998 qcom,max-num-gpii = <13>;
999 qcom,gpii-mask = <0xfa>;
1000 qcom,ev-factor = <2>;
1001 iommus = <&apps_smmu 0x06d6 0x0>;
1002 status = "ok";
1003 };
1004
Imran Khan04f08312017-03-30 15:07:43 +05301005 cpuss_dump {
1006 compatible = "qcom,cpuss-dump";
1007 qcom,l1_i_cache0 {
1008 qcom,dump-node = <&L1_I_0>;
1009 qcom,dump-id = <0x60>;
1010 };
1011 qcom,l1_i_cache1 {
1012 qcom,dump-node = <&L1_I_100>;
1013 qcom,dump-id = <0x61>;
1014 };
1015 qcom,l1_i_cache2 {
1016 qcom,dump-node = <&L1_I_200>;
1017 qcom,dump-id = <0x62>;
1018 };
1019 qcom,l1_i_cache3 {
1020 qcom,dump-node = <&L1_I_300>;
1021 qcom,dump-id = <0x63>;
1022 };
1023 qcom,l1_i_cache100 {
1024 qcom,dump-node = <&L1_I_400>;
1025 qcom,dump-id = <0x64>;
1026 };
1027 qcom,l1_i_cache101 {
1028 qcom,dump-node = <&L1_I_500>;
1029 qcom,dump-id = <0x65>;
1030 };
1031 qcom,l1_i_cache102 {
1032 qcom,dump-node = <&L1_I_600>;
1033 qcom,dump-id = <0x66>;
1034 };
1035 qcom,l1_i_cache103 {
1036 qcom,dump-node = <&L1_I_700>;
1037 qcom,dump-id = <0x67>;
1038 };
1039 qcom,l1_d_cache0 {
1040 qcom,dump-node = <&L1_D_0>;
1041 qcom,dump-id = <0x80>;
1042 };
1043 qcom,l1_d_cache1 {
1044 qcom,dump-node = <&L1_D_100>;
1045 qcom,dump-id = <0x81>;
1046 };
1047 qcom,l1_d_cache2 {
1048 qcom,dump-node = <&L1_D_200>;
1049 qcom,dump-id = <0x82>;
1050 };
1051 qcom,l1_d_cache3 {
1052 qcom,dump-node = <&L1_D_300>;
1053 qcom,dump-id = <0x83>;
1054 };
1055 qcom,l1_d_cache100 {
1056 qcom,dump-node = <&L1_D_400>;
1057 qcom,dump-id = <0x84>;
1058 };
1059 qcom,l1_d_cache101 {
1060 qcom,dump-node = <&L1_D_500>;
1061 qcom,dump-id = <0x85>;
1062 };
1063 qcom,l1_d_cache102 {
1064 qcom,dump-node = <&L1_D_600>;
1065 qcom,dump-id = <0x86>;
1066 };
1067 qcom,l1_d_cache103 {
1068 qcom,dump-node = <&L1_D_700>;
1069 qcom,dump-id = <0x87>;
1070 };
Lingutla Chandrasekharee4f1872017-06-07 13:50:53 +05301071 qcom,llcc1_d_cache {
1072 qcom,dump-node = <&LLCC_1>;
1073 qcom,dump-id = <0x140>;
1074 };
1075 qcom,llcc2_d_cache {
1076 qcom,dump-node = <&LLCC_2>;
1077 qcom,dump-id = <0x141>;
1078 };
Imran Khan04f08312017-03-30 15:07:43 +05301079 };
1080
1081 kryo3xx-erp {
1082 compatible = "arm,arm64-kryo3xx-cpu-erp";
1083 interrupts = <1 6 4>,
1084 <1 7 4>,
1085 <0 34 4>,
1086 <0 35 4>;
1087
1088 interrupt-names = "l1-l2-faultirq",
1089 "l1-l2-errirq",
1090 "l3-scu-errirq",
1091 "l3-scu-faultirq";
1092 };
1093
Dhoat Harpala24cb2c2017-06-06 20:39:54 +05301094 qcom,ipc-spinlock@1f40000 {
1095 compatible = "qcom,ipc-spinlock-sfpb";
1096 reg = <0x1f40000 0x8000>;
1097 qcom,num-locks = <8>;
1098 };
1099
Dhoat Harpaldd9bfaf2017-06-06 20:43:16 +05301100 qcom,smem@86000000 {
1101 compatible = "qcom,smem";
1102 reg = <0x86000000 0x200000>,
1103 <0x17911008 0x4>,
1104 <0x778000 0x7000>,
1105 <0x1fd4000 0x8>;
1106 reg-names = "smem", "irq-reg-base", "aux-mem1",
1107 "smem_targ_info_reg";
1108 qcom,mpu-enabled;
1109 };
1110
Dhoat Harpalebc9e562017-07-30 20:53:03 +05301111 qmp_aop: qcom,qmp-aop@c300000 {
Dhoat Harpal5f909ef2017-06-09 21:18:00 +05301112 compatible = "qcom,qmp-mbox";
1113 label = "aop";
1114 reg = <0xc300000 0x100000>,
1115 <0x1799000c 0x4>;
1116 reg-names = "msgram", "irq-reg-base";
1117 qcom,irq-mask = <0x1>;
1118 interrupts = <0 389 1>;
Dhoat Harpalebc9e562017-07-30 20:53:03 +05301119 priority = <0>;
Dhoat Harpal5f909ef2017-06-09 21:18:00 +05301120 mbox-desc-offset = <0x0>;
1121 #mbox-cells = <1>;
1122 };
1123
Dhoat Harpal466ffcc2017-06-06 20:54:51 +05301124 qcom,glink-smem-native-xprt-modem@86000000 {
1125 compatible = "qcom,glink-smem-native-xprt";
1126 reg = <0x86000000 0x200000>,
1127 <0x1799000c 0x4>;
1128 reg-names = "smem", "irq-reg-base";
1129 qcom,irq-mask = <0x1000>;
1130 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
1131 label = "mpss";
1132 };
1133
1134 qcom,glink-smem-native-xprt-adsp@86000000 {
1135 compatible = "qcom,glink-smem-native-xprt";
1136 reg = <0x86000000 0x200000>,
1137 <0x1799000c 0x4>;
1138 reg-names = "smem", "irq-reg-base";
Dhoat Harpal3adebbe2017-07-06 15:59:13 +05301139 qcom,irq-mask = <0x1000000>;
1140 interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>;
Dhoat Harpal466ffcc2017-06-06 20:54:51 +05301141 label = "lpass";
1142 qcom,qos-config = <&glink_qos_adsp>;
1143 qcom,ramp-time = <0xaf>;
1144 };
1145
1146 glink_qos_adsp: qcom,glink-qos-config-adsp {
1147 compatible = "qcom,glink-qos-config";
1148 qcom,flow-info = <0x3c 0x0>,
1149 <0x3c 0x0>,
1150 <0x3c 0x0>,
1151 <0x3c 0x0>;
1152 qcom,mtu-size = <0x800>;
1153 qcom,tput-stats-cycle = <0xa>;
1154 };
1155
1156 glink_spi_xprt_wdsp: qcom,glink-spi-xprt-wdsp {
1157 compatible = "qcom,glink-spi-xprt";
1158 label = "wdsp";
1159 qcom,remote-fifo-config = <&glink_fifo_wdsp>;
1160 qcom,qos-config = <&glink_qos_wdsp>;
1161 qcom,ramp-time = <0x10>,
1162 <0x20>,
1163 <0x30>,
1164 <0x40>;
1165 };
1166
1167 glink_fifo_wdsp: qcom,glink-fifo-config-wdsp {
1168 compatible = "qcom,glink-fifo-config";
1169 qcom,out-read-idx-reg = <0x12000>;
1170 qcom,out-write-idx-reg = <0x12004>;
1171 qcom,in-read-idx-reg = <0x1200C>;
1172 qcom,in-write-idx-reg = <0x12010>;
1173 };
1174
1175 glink_qos_wdsp: qcom,glink-qos-config-wdsp {
1176 compatible = "qcom,glink-qos-config";
1177 qcom,flow-info = <0x80 0x0>,
1178 <0x70 0x1>,
1179 <0x60 0x2>,
1180 <0x50 0x3>;
1181 qcom,mtu-size = <0x800>;
1182 qcom,tput-stats-cycle = <0xa>;
1183 };
1184
1185 qcom,glink-smem-native-xprt-cdsp@86000000 {
1186 compatible = "qcom,glink-smem-native-xprt";
1187 reg = <0x86000000 0x200000>,
1188 <0x1799000c 0x4>;
1189 reg-names = "smem", "irq-reg-base";
1190 qcom,irq-mask = <0x10>;
1191 interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>;
1192 label = "cdsp";
1193 };
1194
Dhoat Harpal9cb73cc2017-06-06 20:58:14 +05301195 glink_mpss: qcom,glink-ssr-modem {
1196 compatible = "qcom,glink_ssr";
1197 label = "modem";
1198 qcom,edge = "mpss";
1199 qcom,notify-edges = <&glink_lpass>, <&glink_cdsp>;
1200 qcom,xprt = "smem";
1201 };
1202
1203 glink_lpass: qcom,glink-ssr-adsp {
1204 compatible = "qcom,glink_ssr";
1205 label = "adsp";
1206 qcom,edge = "lpass";
1207 qcom,notify-edges = <&glink_mpss>, <&glink_cdsp>;
1208 qcom,xprt = "smem";
1209 };
1210
1211 glink_cdsp: qcom,glink-ssr-cdsp {
1212 compatible = "qcom,glink_ssr";
1213 label = "cdsp";
1214 qcom,edge = "cdsp";
1215 qcom,notify-edges = <&glink_mpss>, <&glink_lpass>;
1216 qcom,xprt = "smem";
1217 };
1218
Dhoat Harpal22dafa92017-06-06 21:03:34 +05301219 qcom,ipc_router {
1220 compatible = "qcom,ipc_router";
1221 qcom,node-id = <1>;
1222 };
1223
1224 qcom,ipc_router_modem_xprt {
1225 compatible = "qcom,ipc_router_glink_xprt";
1226 qcom,ch-name = "IPCRTR";
1227 qcom,xprt-remote = "mpss";
1228 qcom,glink-xprt = "smem";
1229 qcom,xprt-linkid = <1>;
1230 qcom,xprt-version = <1>;
1231 qcom,fragmented-data;
1232 };
1233
1234 qcom,ipc_router_q6_xprt {
1235 compatible = "qcom,ipc_router_glink_xprt";
1236 qcom,ch-name = "IPCRTR";
1237 qcom,xprt-remote = "lpass";
1238 qcom,glink-xprt = "smem";
1239 qcom,xprt-linkid = <1>;
1240 qcom,xprt-version = <1>;
1241 qcom,fragmented-data;
1242 };
1243
1244 qcom,ipc_router_cdsp_xprt {
1245 compatible = "qcom,ipc_router_glink_xprt";
1246 qcom,ch-name = "IPCRTR";
1247 qcom,xprt-remote = "cdsp";
1248 qcom,glink-xprt = "smem";
1249 qcom,xprt-linkid = <1>;
1250 qcom,xprt-version = <1>;
1251 qcom,fragmented-data;
1252 };
1253
Dhoat Harpal11d34482017-06-06 21:00:14 +05301254 qcom,glink_pkt {
1255 compatible = "qcom,glinkpkt";
1256
1257 qcom,glinkpkt-at-mdm0 {
1258 qcom,glinkpkt-transport = "smem";
1259 qcom,glinkpkt-edge = "mpss";
1260 qcom,glinkpkt-ch-name = "DS";
1261 qcom,glinkpkt-dev-name = "at_mdm0";
1262 };
1263
1264 qcom,glinkpkt-loopback_cntl {
1265 qcom,glinkpkt-transport = "lloop";
1266 qcom,glinkpkt-edge = "local";
1267 qcom,glinkpkt-ch-name = "LOCAL_LOOPBACK_CLNT";
1268 qcom,glinkpkt-dev-name = "glink_pkt_loopback_ctrl";
1269 };
1270
1271 qcom,glinkpkt-loopback_data {
1272 qcom,glinkpkt-transport = "lloop";
1273 qcom,glinkpkt-edge = "local";
1274 qcom,glinkpkt-ch-name = "glink_pkt_lloop_CLNT";
1275 qcom,glinkpkt-dev-name = "glink_pkt_loopback";
1276 };
1277
1278 qcom,glinkpkt-apr-apps2 {
1279 qcom,glinkpkt-transport = "smem";
1280 qcom,glinkpkt-edge = "adsp";
1281 qcom,glinkpkt-ch-name = "apr_apps2";
1282 qcom,glinkpkt-dev-name = "apr_apps2";
1283 };
1284
1285 qcom,glinkpkt-data40-cntl {
1286 qcom,glinkpkt-transport = "smem";
1287 qcom,glinkpkt-edge = "mpss";
1288 qcom,glinkpkt-ch-name = "DATA40_CNTL";
1289 qcom,glinkpkt-dev-name = "smdcntl8";
1290 };
1291
1292 qcom,glinkpkt-data1 {
1293 qcom,glinkpkt-transport = "smem";
1294 qcom,glinkpkt-edge = "mpss";
1295 qcom,glinkpkt-ch-name = "DATA1";
1296 qcom,glinkpkt-dev-name = "smd7";
1297 };
1298
1299 qcom,glinkpkt-data4 {
1300 qcom,glinkpkt-transport = "smem";
1301 qcom,glinkpkt-edge = "mpss";
1302 qcom,glinkpkt-ch-name = "DATA4";
1303 qcom,glinkpkt-dev-name = "smd8";
1304 };
1305
1306 qcom,glinkpkt-data11 {
1307 qcom,glinkpkt-transport = "smem";
1308 qcom,glinkpkt-edge = "mpss";
1309 qcom,glinkpkt-ch-name = "DATA11";
1310 qcom,glinkpkt-dev-name = "smd11";
1311 };
1312 };
1313
Imran Khan04f08312017-03-30 15:07:43 +05301314 qcom,chd_sliver {
1315 compatible = "qcom,core-hang-detect";
1316 label = "silver";
1317 qcom,threshold-arr = <0x17e00058 0x17e10058 0x17e20058
1318 0x17e30058 0x17e40058 0x17e50058>;
1319 qcom,config-arr = <0x17e00060 0x17e10060 0x17e20060
1320 0x17e30060 0x17e40060 0x17e50060>;
1321 };
1322
1323 qcom,chd_gold {
1324 compatible = "qcom,core-hang-detect";
1325 label = "gold";
1326 qcom,threshold-arr = <0x17e60058 0x17e70058>;
1327 qcom,config-arr = <0x17e60060 0x17e70060>;
1328 };
1329
1330 qcom,ghd {
1331 compatible = "qcom,gladiator-hang-detect-v2";
1332 qcom,threshold-arr = <0x1799041c 0x17990420>;
1333 qcom,config-reg = <0x17990434>;
1334 };
1335
1336 qcom,msm-gladiator-v3@17900000 {
1337 compatible = "qcom,msm-gladiator-v3";
1338 reg = <0x17900000 0xd080>;
1339 reg-names = "gladiator_base";
1340 interrupts = <0 17 0>;
1341 };
1342
Lingutla Chandrasekharee4f1872017-06-07 13:50:53 +05301343 qcom,llcc@1100000 {
1344 compatible = "qcom,llcc-core", "syscon", "simple-mfd";
1345 reg = <0x1100000 0x250000>;
1346 reg-names = "llcc_base";
1347 qcom,llcc-banks-off = <0x0 0x80000 >;
1348 qcom,llcc-broadcast-off = <0x200000>;
1349
1350 llcc: qcom,sdm670-llcc {
1351 compatible = "qcom,sdm670-llcc";
1352 #cache-cells = <1>;
1353 max-slices = <32>;
1354 qcom,dump-size = <0x80000>;
1355 };
1356
1357 qcom,llcc-erp {
1358 compatible = "qcom,llcc-erp";
1359 interrupt-names = "ecc_irq";
1360 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
1361 };
1362
1363 qcom,llcc-amon {
1364 compatible = "qcom,llcc-amon";
1365 };
1366
1367 LLCC_1: llcc_1_dcache {
1368 qcom,dump-size = <0xd8000>;
1369 };
1370
1371 LLCC_2: llcc_2_dcache {
1372 qcom,dump-size = <0xd8000>;
1373 };
1374 };
1375
Maulik Shah210773d2017-06-15 09:49:12 +05301376 cmd_db: qcom,cmd-db@c3f000c {
1377 compatible = "qcom,cmd-db";
1378 reg = <0xc3f000c 0x8>;
1379 };
1380
Maulik Shahc77d1d22017-06-15 14:04:50 +05301381 apps_rsc: mailbox@179e0000 {
1382 compatible = "qcom,tcs-drv";
1383 label = "apps_rsc";
1384 reg = <0x179e0000 0x100>, <0x179e0d00 0x3000>;
1385 interrupts = <0 5 0>;
1386 #mbox-cells = <1>;
1387 qcom,drv-id = <2>;
1388 qcom,tcs-config = <ACTIVE_TCS 2>,
1389 <SLEEP_TCS 3>,
1390 <WAKE_TCS 3>,
1391 <CONTROL_TCS 1>;
1392 };
1393
Maulik Shahda3941f2017-06-15 09:41:38 +05301394 disp_rsc: mailbox@af20000 {
1395 compatible = "qcom,tcs-drv";
1396 label = "display_rsc";
1397 reg = <0xaf20000 0x100>, <0xaf21c00 0x3000>;
1398 interrupts = <0 129 0>;
1399 #mbox-cells = <1>;
1400 qcom,drv-id = <0>;
1401 qcom,tcs-config = <SLEEP_TCS 1>,
1402 <WAKE_TCS 1>,
1403 <ACTIVE_TCS 0>,
1404 <CONTROL_TCS 1>;
1405 };
1406
Maulik Shah0dd203f2017-06-15 09:44:59 +05301407 system_pm {
1408 compatible = "qcom,system-pm";
1409 mboxes = <&apps_rsc 0>;
1410 };
1411
Imran Khan04f08312017-03-30 15:07:43 +05301412 dcc: dcc_v2@10a2000 {
1413 compatible = "qcom,dcc_v2";
1414 reg = <0x10a2000 0x1000>,
1415 <0x10ae000 0x2000>;
1416 reg-names = "dcc-base", "dcc-ram-base";
Saranya Chidurac0a161c2017-08-28 13:06:10 +05301417
1418 dcc-ram-offset = <0x6000>;
Imran Khan04f08312017-03-30 15:07:43 +05301419 };
1420
Tirupathi Reddy9ae4c892017-06-09 12:30:31 +05301421 spmi_bus: qcom,spmi@c440000 {
1422 compatible = "qcom,spmi-pmic-arb";
1423 reg = <0xc440000 0x1100>,
1424 <0xc600000 0x2000000>,
1425 <0xe600000 0x100000>,
1426 <0xe700000 0xa0000>,
1427 <0xc40a000 0x26000>;
1428 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1429 interrupt-names = "periph_irq";
1430 interrupts = <GIC_SPI 481 IRQ_TYPE_NONE>;
1431 qcom,ee = <0>;
1432 qcom,channel = <0>;
1433 #address-cells = <2>;
1434 #size-cells = <0>;
1435 interrupt-controller;
1436 #interrupt-cells = <4>;
1437 cell-index = <0>;
1438 };
Sayali Lokhande099af9c2017-06-08 10:18:29 +05301439
1440 ufsphy_mem: ufsphy_mem@1d87000 {
1441 reg = <0x1d87000 0xe00>; /* PHY regs */
1442 reg-names = "phy_mem";
1443 #phy-cells = <0>;
1444
1445 lanes-per-direction = <1>;
1446
1447 clock-names = "ref_clk_src",
1448 "ref_clk",
1449 "ref_aux_clk";
1450 clocks = <&clock_rpmh RPMH_CXO_CLK>,
1451 <&clock_gcc GCC_UFS_MEM_CLKREF_CLK>,
1452 <&clock_gcc GCC_UFS_PHY_PHY_AUX_HW_CTL_CLK>;
1453
1454 status = "disabled";
1455 };
1456
1457 ufshc_mem: ufshc@1d84000 {
1458 compatible = "qcom,ufshc";
1459 reg = <0x1d84000 0x3000>;
1460 interrupts = <0 265 0>;
1461 phys = <&ufsphy_mem>;
1462 phy-names = "ufsphy";
1463
1464 lanes-per-direction = <1>;
1465 dev-ref-clk-freq = <0>; /* 19.2 MHz */
1466
1467 clock-names =
1468 "core_clk",
1469 "bus_aggr_clk",
1470 "iface_clk",
1471 "core_clk_unipro",
1472 "core_clk_ice",
1473 "ref_clk",
1474 "tx_lane0_sync_clk",
1475 "rx_lane0_sync_clk";
1476 clocks =
1477 <&clock_gcc GCC_UFS_PHY_AXI_HW_CTL_CLK>,
1478 <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_HW_CTL_CLK>,
1479 <&clock_gcc GCC_UFS_PHY_AHB_CLK>,
1480 <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_HW_CTL_CLK>,
1481 <&clock_gcc GCC_UFS_PHY_ICE_CORE_HW_CTL_CLK>,
1482 <&clock_rpmh RPMH_CXO_CLK>,
1483 <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1484 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>;
1485 freq-table-hz =
1486 <50000000 200000000>,
1487 <0 0>,
1488 <0 0>,
1489 <37500000 150000000>,
1490 <75000000 300000000>,
1491 <0 0>,
1492 <0 0>,
1493 <0 0>;
1494
1495 resets = <&clock_gcc GCC_UFS_PHY_BCR>;
1496 reset-names = "core_reset";
1497
1498 status = "disabled";
1499 };
Gaurav Kohlib28d5562017-06-12 11:26:27 +05301500
1501 qcom,lpass@62400000 {
1502 compatible = "qcom,pil-tz-generic";
1503 reg = <0x62400000 0x00100>;
1504 interrupts = <0 162 1>;
1505
1506 vdd_cx-supply = <&pm660l_l9_level>;
1507 qcom,proxy-reg-names = "vdd_cx";
1508 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
1509
1510 clocks = <&clock_rpmh RPMH_CXO_CLK>;
1511 clock-names = "xo";
1512 qcom,proxy-clock-names = "xo";
1513
1514 qcom,pas-id = <1>;
1515 qcom,proxy-timeout-ms = <10000>;
1516 qcom,smem-id = <423>;
1517 qcom,sysmon-id = <1>;
1518 qcom,ssctl-instance-id = <0x14>;
1519 qcom,firmware-name = "adsp";
1520 memory-region = <&pil_adsp_mem>;
1521
1522 /* GPIO inputs from lpass */
1523 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
1524 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
1525 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
1526 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>;
1527
1528 /* GPIO output to lpass */
1529 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
1530 status = "ok";
1531 };
Mohammed Javid736c25c2017-06-19 13:23:18 +05301532
1533 qcom,rmnet-ipa {
1534 compatible = "qcom,rmnet-ipa3";
1535 qcom,rmnet-ipa-ssr;
1536 qcom,ipa-loaduC;
1537 qcom,ipa-advertise-sg-support;
1538 qcom,ipa-napi-enable;
1539 };
1540
1541 ipa_hw: qcom,ipa@01e00000 {
1542 compatible = "qcom,ipa";
1543 reg = <0x1e00000 0x34000>,
1544 <0x1e04000 0x2c000>;
1545 reg-names = "ipa-base", "gsi-base";
1546 interrupts =
1547 <0 311 0>,
1548 <0 432 0>;
1549 interrupt-names = "ipa-irq", "gsi-irq";
1550 qcom,ipa-hw-ver = <13>; /* IPA core version = IPAv3.5.1 */
1551 qcom,ipa-hw-mode = <1>;
1552 qcom,ee = <0>;
1553 qcom,use-ipa-tethering-bridge;
1554 qcom,modem-cfg-emb-pipe-flt;
1555 qcom,ipa-wdi2;
1556 qcom,use-64-bit-dma-mask;
1557 qcom,arm-smmu;
1558 qcom,smmu-s1-bypass;
1559 qcom,bandwidth-vote-for-ipa;
1560 qcom,msm-bus,name = "ipa";
1561 qcom,msm-bus,num-cases = <4>;
1562 qcom,msm-bus,num-paths = <4>;
1563 qcom,msm-bus,vectors-KBps =
1564 /* No vote */
1565 <90 512 0 0>,
1566 <90 585 0 0>,
1567 <1 676 0 0>,
1568 <143 777 0 0>,
1569 /* SVS */
1570 <90 512 80000 640000>,
1571 <90 585 80000 640000>,
1572 <1 676 80000 80000>,
1573 <143 777 0 150000>,
1574 /* NOMINAL */
1575 <90 512 206000 960000>,
1576 <90 585 206000 960000>,
1577 <1 676 206000 160000>,
1578 <143 777 0 300000>,
1579 /* TURBO */
1580 <90 512 206000 3600000>,
1581 <90 585 206000 3600000>,
1582 <1 676 206000 300000>,
1583 <143 777 0 355333>;
1584 qcom,bus-vector-names = "MIN", "SVS", "NOMINAL", "TURBO";
1585
1586 /* IPA RAM mmap */
1587 qcom,ipa-ram-mmap = <
1588 0x280 /* ofst_start; */
1589 0x0 /* nat_ofst; */
1590 0x0 /* nat_size; */
1591 0x288 /* v4_flt_hash_ofst; */
1592 0x78 /* v4_flt_hash_size; */
1593 0x4000 /* v4_flt_hash_size_ddr; */
1594 0x308 /* v4_flt_nhash_ofst; */
1595 0x78 /* v4_flt_nhash_size; */
1596 0x4000 /* v4_flt_nhash_size_ddr; */
1597 0x388 /* v6_flt_hash_ofst; */
1598 0x78 /* v6_flt_hash_size; */
1599 0x4000 /* v6_flt_hash_size_ddr; */
1600 0x408 /* v6_flt_nhash_ofst; */
1601 0x78 /* v6_flt_nhash_size; */
1602 0x4000 /* v6_flt_nhash_size_ddr; */
1603 0xf /* v4_rt_num_index; */
1604 0x0 /* v4_modem_rt_index_lo; */
1605 0x7 /* v4_modem_rt_index_hi; */
1606 0x8 /* v4_apps_rt_index_lo; */
1607 0xe /* v4_apps_rt_index_hi; */
1608 0x488 /* v4_rt_hash_ofst; */
1609 0x78 /* v4_rt_hash_size; */
1610 0x4000 /* v4_rt_hash_size_ddr; */
1611 0x508 /* v4_rt_nhash_ofst; */
1612 0x78 /* v4_rt_nhash_size; */
1613 0x4000 /* v4_rt_nhash_size_ddr; */
1614 0xf /* v6_rt_num_index; */
1615 0x0 /* v6_modem_rt_index_lo; */
1616 0x7 /* v6_modem_rt_index_hi; */
1617 0x8 /* v6_apps_rt_index_lo; */
1618 0xe /* v6_apps_rt_index_hi; */
1619 0x588 /* v6_rt_hash_ofst; */
1620 0x78 /* v6_rt_hash_size; */
1621 0x4000 /* v6_rt_hash_size_ddr; */
1622 0x608 /* v6_rt_nhash_ofst; */
1623 0x78 /* v6_rt_nhash_size; */
1624 0x4000 /* v6_rt_nhash_size_ddr; */
1625 0x688 /* modem_hdr_ofst; */
1626 0x140 /* modem_hdr_size; */
1627 0x7c8 /* apps_hdr_ofst; */
1628 0x0 /* apps_hdr_size; */
1629 0x800 /* apps_hdr_size_ddr; */
1630 0x7d0 /* modem_hdr_proc_ctx_ofst; */
1631 0x200 /* modem_hdr_proc_ctx_size; */
1632 0x9d0 /* apps_hdr_proc_ctx_ofst; */
1633 0x200 /* apps_hdr_proc_ctx_size; */
1634 0x0 /* apps_hdr_proc_ctx_size_ddr; */
1635 0x0 /* modem_comp_decomp_ofst; diff */
1636 0x0 /* modem_comp_decomp_size; diff */
1637 0xbd8 /* modem_ofst; */
1638 0x1024 /* modem_size; */
1639 0x2000 /* apps_v4_flt_hash_ofst; */
1640 0x0 /* apps_v4_flt_hash_size; */
1641 0x2000 /* apps_v4_flt_nhash_ofst; */
1642 0x0 /* apps_v4_flt_nhash_size; */
1643 0x2000 /* apps_v6_flt_hash_ofst; */
1644 0x0 /* apps_v6_flt_hash_size; */
1645 0x2000 /* apps_v6_flt_nhash_ofst; */
1646 0x0 /* apps_v6_flt_nhash_size; */
1647 0x80 /* uc_info_ofst; */
1648 0x200 /* uc_info_size; */
1649 0x2000 /* end_ofst; */
1650 0x2000 /* apps_v4_rt_hash_ofst; */
1651 0x0 /* apps_v4_rt_hash_size; */
1652 0x2000 /* apps_v4_rt_nhash_ofst; */
1653 0x0 /* apps_v4_rt_nhash_size; */
1654 0x2000 /* apps_v6_rt_hash_ofst; */
1655 0x0 /* apps_v6_rt_hash_size; */
1656 0x2000 /* apps_v6_rt_nhash_ofst; */
1657 0x0 /* apps_v6_rt_nhash_size; */
1658 0x1c00 /* uc_event_ring_ofst; */
1659 0x400 /* uc_event_ring_size; */
1660 >;
1661
1662 /* smp2p gpio information */
1663 qcom,smp2pgpio_map_ipa_1_out {
1664 compatible = "qcom,smp2pgpio-map-ipa-1-out";
1665 gpios = <&smp2pgpio_ipa_1_out 0 0>;
1666 };
1667
1668 qcom,smp2pgpio_map_ipa_1_in {
1669 compatible = "qcom,smp2pgpio-map-ipa-1-in";
1670 gpios = <&smp2pgpio_ipa_1_in 0 0>;
1671 };
1672
1673 ipa_smmu_ap: ipa_smmu_ap {
1674 compatible = "qcom,ipa-smmu-ap-cb";
1675 iommus = <&apps_smmu 0x720 0x0>;
1676 qcom,iova-mapping = <0x20000000 0x40000000>;
1677 };
1678
1679 ipa_smmu_wlan: ipa_smmu_wlan {
1680 compatible = "qcom,ipa-smmu-wlan-cb";
1681 iommus = <&apps_smmu 0x721 0x0>;
1682 };
1683
1684 ipa_smmu_uc: ipa_smmu_uc {
1685 compatible = "qcom,ipa-smmu-uc-cb";
1686 iommus = <&apps_smmu 0x722 0x0>;
1687 qcom,iova-mapping = <0x40000000 0x20000000>;
1688 };
1689 };
1690
1691 qcom,ipa_fws {
1692 compatible = "qcom,pil-tz-generic";
1693 qcom,pas-id = <0xf>;
1694 qcom,firmware-name = "ipa_fws";
1695 };
Gaurav Kohli04a55af2017-07-19 17:25:30 +05301696
1697 pil_modem: qcom,mss@4080000 {
1698 compatible = "qcom,pil-q6v55-mss";
1699 reg = <0x4080000 0x100>,
1700 <0x1f63000 0x008>,
1701 <0x1f65000 0x008>,
1702 <0x1f64000 0x008>,
1703 <0x4180000 0x020>,
1704 <0xc2b0000 0x004>,
1705 <0xb2e0100 0x004>,
1706 <0x4180044 0x004>;
1707 reg-names = "qdsp6_base", "halt_q6", "halt_modem",
1708 "halt_nc", "rmb_base", "restart_reg",
1709 "pdc_sync", "alt_reset";
1710
1711 clocks = <&clock_rpmh RPMH_CXO_CLK>,
1712 <&clock_gcc GCC_MSS_CFG_AHB_CLK>,
1713 <&clock_gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
1714 <&clock_gcc GCC_BOOT_ROM_AHB_CLK>,
1715 <&clock_gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
1716 <&clock_gcc GCC_MSS_SNOC_AXI_CLK>,
1717 <&clock_gcc GCC_MSS_MFAB_AXIS_CLK>,
1718 <&clock_gcc GCC_PRNG_AHB_CLK>;
1719 clock-names = "xo", "iface_clk", "bus_clk",
1720 "mem_clk", "gpll0_mss_clk", "snoc_axi_clk",
1721 "mnoc_axi_clk", "prng_clk";
1722 qcom,proxy-clock-names = "xo", "prng_clk";
1723 qcom,active-clock-names = "iface_clk", "bus_clk", "mem_clk",
1724 "gpll0_mss_clk", "snoc_axi_clk",
1725 "mnoc_axi_clk";
1726
1727 interrupts = <0 266 1>;
1728 vdd_cx-supply = <&pm660l_s3_level>;
1729 vdd_cx-voltage = <RPMH_REGULATOR_LEVEL_TURBO>;
1730 vdd_mx-supply = <&pm660l_s1_level>;
1731 vdd_mx-uV = <RPMH_REGULATOR_LEVEL_TURBO>;
1732 qcom,firmware-name = "modem";
1733 qcom,pil-self-auth;
1734 qcom,sysmon-id = <0>;
1735 qcom,ssctl-instance-id = <0x12>;
1736 qcom,override-acc;
1737 qcom,qdsp6v65-1-0;
1738 status = "ok";
1739 memory-region = <&pil_modem_mem>;
1740 qcom,mem-protect-id = <0xF>;
1741
1742 /* GPIO inputs from mss */
1743 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
1744 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
1745 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
1746 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>;
1747 qcom,gpio-shutdown-ack = <&smp2pgpio_ssr_smp2p_1_in 7 0>;
1748
1749 /* GPIO output to mss */
1750 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
1751 qcom,mba-mem@0 {
1752 compatible = "qcom,pil-mba-mem";
1753 memory-region = <&pil_mba_mem>;
1754 };
1755 };
Gaurav Kohli985a99d2017-07-25 18:46:45 +05301756
1757 qcom,venus@aae0000 {
1758 compatible = "qcom,pil-tz-generic";
1759 reg = <0xaae0000 0x4000>;
1760
1761 vdd-supply = <&venus_gdsc>;
1762 qcom,proxy-reg-names = "vdd";
1763
1764 clocks = <&clock_videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
1765 <&clock_videocc VIDEO_CC_VENUS_AHB_CLK>,
1766 <&clock_videocc VIDEO_CC_VENUS_CTL_AXI_CLK>;
1767 clock-names = "core_clk", "iface_clk", "bus_clk";
1768 qcom,proxy-clock-names = "core_clk", "iface_clk", "bus_clk";
1769
1770 qcom,pas-id = <9>;
1771 qcom,msm-bus,name = "pil-venus";
1772 qcom,msm-bus,num-cases = <2>;
1773 qcom,msm-bus,num-paths = <1>;
1774 qcom,msm-bus,vectors-KBps =
1775 <63 512 0 0>,
1776 <63 512 0 304000>;
1777 qcom,proxy-timeout-ms = <100>;
1778 qcom,firmware-name = "venus";
1779 memory-region = <&pil_video_mem>;
1780 status = "ok";
1781 };
Gaurav Kohli106f4882017-06-29 12:29:12 +05301782
1783 qcom,turing@8300000 {
1784 compatible = "qcom,pil-tz-generic";
1785 reg = <0x8300000 0x100000>;
1786 interrupts = <0 578 1>;
1787
1788 vdd_cx-supply = <&pm660l_s3_level>;
1789 qcom,proxy-reg-names = "vdd_cx";
1790 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
1791
1792 clocks = <&clock_rpmh RPMH_CXO_CLK>;
1793 clock-names = "xo";
1794 qcom,proxy-clock-names = "xo";
1795
1796 qcom,pas-id = <18>;
1797 qcom,proxy-timeout-ms = <10000>;
1798 qcom,smem-id = <601>;
1799 qcom,sysmon-id = <7>;
1800 qcom,ssctl-instance-id = <0x17>;
1801 qcom,firmware-name = "cdsp";
1802 memory-region = <&pil_cdsp_mem>;
1803
1804 /* GPIO inputs from turing */
1805 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_5_in 0 0>;
1806 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_5_in 2 0>;
1807 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_5_in 1 0>;
1808 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_5_in 3 0>;
1809
1810 /* GPIO output to turing*/
1811 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_5_out 0 0>;
1812 status = "ok";
1813 };
Vijay Viswanatheac72722017-06-05 11:01:38 +05301814
1815 sdhc_1: sdhci@7c4000 {
1816 compatible = "qcom,sdhci-msm-v5";
1817 reg = <0x7C4000 0x1000>, <0x7C5000 0x1000>;
1818 reg-names = "hc_mem", "cmdq_mem";
1819
1820 interrupts = <0 641 0>, <0 644 0>;
1821 interrupt-names = "hc_irq", "pwr_irq";
1822
1823 qcom,bus-width = <8>;
1824 qcom,large-address-bus;
1825
1826 clocks = <&clock_gcc GCC_SDCC1_AHB_CLK>,
1827 <&clock_gcc GCC_SDCC1_APPS_CLK>;
1828 clock-names = "iface_clk", "core_clk";
1829
1830 qcom,nonremovable;
1831
1832 qcom,scaling-lower-bus-speed-mode = "DDR52";
1833 status = "disabled";
1834 };
Tharun Kumar Merugu03380d82017-08-08 13:04:36 +05301835
1836 qcom,msm-cdsp-loader {
1837 compatible = "qcom,cdsp-loader";
1838 qcom,proc-img-to-load = "cdsp";
1839 };
1840
1841 qcom,msm-adsprpc-mem {
1842 compatible = "qcom,msm-adsprpc-mem-region";
1843 memory-region = <&adsp_mem>;
1844 };
1845
1846 qcom,msm_fastrpc {
1847 compatible = "qcom,msm-fastrpc-compute";
1848
1849 qcom,msm_fastrpc_compute_cb1 {
1850 compatible = "qcom,msm-fastrpc-compute-cb";
1851 label = "cdsprpc-smd";
1852 iommus = <&apps_smmu 0x1421 0x30>;
1853 dma-coherent;
1854 };
1855 qcom,msm_fastrpc_compute_cb2 {
1856 compatible = "qcom,msm-fastrpc-compute-cb";
1857 label = "cdsprpc-smd";
1858 iommus = <&apps_smmu 0x1422 0x30>;
1859 dma-coherent;
1860 };
1861 qcom,msm_fastrpc_compute_cb3 {
1862 compatible = "qcom,msm-fastrpc-compute-cb";
1863 label = "cdsprpc-smd";
1864 iommus = <&apps_smmu 0x1423 0x30>;
1865 dma-coherent;
1866 };
1867 qcom,msm_fastrpc_compute_cb4 {
1868 compatible = "qcom,msm-fastrpc-compute-cb";
1869 label = "cdsprpc-smd";
1870 iommus = <&apps_smmu 0x1424 0x30>;
1871 dma-coherent;
1872 };
1873 qcom,msm_fastrpc_compute_cb5 {
1874 compatible = "qcom,msm-fastrpc-compute-cb";
1875 label = "cdsprpc-smd";
1876 iommus = <&apps_smmu 0x1425 0x30>;
1877 dma-coherent;
1878 };
1879 qcom,msm_fastrpc_compute_cb6 {
1880 compatible = "qcom,msm-fastrpc-compute-cb";
1881 label = "cdsprpc-smd";
1882 iommus = <&apps_smmu 0x1426 0x30>;
1883 dma-coherent;
1884 };
1885 qcom,msm_fastrpc_compute_cb7 {
1886 compatible = "qcom,msm-fastrpc-compute-cb";
1887 label = "cdsprpc-smd";
1888 qcom,secure-context-bank;
1889 iommus = <&apps_smmu 0x1429 0x30>;
1890 dma-coherent;
1891 };
1892 qcom,msm_fastrpc_compute_cb8 {
1893 compatible = "qcom,msm-fastrpc-compute-cb";
1894 label = "cdsprpc-smd";
1895 qcom,secure-context-bank;
1896 iommus = <&apps_smmu 0x142A 0x30>;
1897 dma-coherent;
1898 };
1899 qcom,msm_fastrpc_compute_cb9 {
1900 compatible = "qcom,msm-fastrpc-compute-cb";
1901 label = "adsprpc-smd";
1902 iommus = <&apps_smmu 0x1803 0x0>;
1903 dma-coherent;
1904 };
1905 qcom,msm_fastrpc_compute_cb10 {
1906 compatible = "qcom,msm-fastrpc-compute-cb";
1907 label = "adsprpc-smd";
1908 iommus = <&apps_smmu 0x1804 0x0>;
1909 dma-coherent;
1910 };
1911 qcom,msm_fastrpc_compute_cb11 {
1912 compatible = "qcom,msm-fastrpc-compute-cb";
1913 label = "adsprpc-smd";
1914 iommus = <&apps_smmu 0x1805 0x0>;
1915 dma-coherent;
1916 };
1917 };
Imran Khan04f08312017-03-30 15:07:43 +05301918};
1919
1920#include "sdm670-pinctrl.dtsi"
Vijayanand Jittad48c4082017-06-07 15:07:51 +05301921#include "msm-arm-smmu-sdm670.dtsi"
Odelu Kukatla1fe3a222017-06-01 16:24:59 +05301922#include "msm-gdsc-sdm845.dtsi"
Maulik Shahd313ea82017-06-14 13:10:52 +05301923#include "sdm670-pm.dtsi"
Odelu Kukatla1fe3a222017-06-01 16:24:59 +05301924
1925&usb30_prim_gdsc {
1926 status = "ok";
1927};
1928
1929&ufs_phy_gdsc {
1930 status = "ok";
1931};
1932
1933&hlos1_vote_aggre_noc_mmu_audio_tbu_gdsc {
1934 status = "ok";
1935};
1936
1937&hlos1_vote_aggre_noc_mmu_tbu1_gdsc {
1938 status = "ok";
1939};
1940
1941&hlos1_vote_aggre_noc_mmu_tbu2_gdsc {
1942 status = "ok";
1943};
1944
Odelu Kukatla1186d2e2017-08-04 17:28:46 +05301945&hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc {
1946 status = "ok";
1947};
1948
1949&hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc {
1950 status = "ok";
1951};
1952
1953&hlos1_vote_mmnoc_mmu_tbu_sf_gdsc {
1954 status = "ok";
1955};
1956
Odelu Kukatla1fe3a222017-06-01 16:24:59 +05301957&bps_gdsc {
1958 status = "ok";
1959};
1960
1961&ife_0_gdsc {
1962 status = "ok";
1963};
1964
1965&ife_1_gdsc {
1966 status = "ok";
1967};
1968
1969&ipe_0_gdsc {
1970 status = "ok";
1971};
1972
1973&ipe_1_gdsc {
1974 status = "ok";
1975};
1976
1977&titan_top_gdsc {
1978 status = "ok";
1979};
1980
1981&mdss_core_gdsc {
1982 status = "ok";
1983};
1984
1985&gpu_cx_gdsc {
1986 status = "ok";
1987};
1988
1989&gpu_gx_gdsc {
1990 clock-names = "core_root_clk";
1991 clocks = <&clock_gfx GPU_CC_GX_GFX3D_CLK_SRC>;
1992 qcom,force-enable-root-clk;
Odelu Kukatla1186d2e2017-08-04 17:28:46 +05301993 parent-supply = <&pm660l_s2_level>;
Odelu Kukatla1fe3a222017-06-01 16:24:59 +05301994 status = "ok";
1995};
1996
1997&vcodec0_gdsc {
1998 qcom,support-hw-trigger;
1999 status = "ok";
2000};
2001
2002&vcodec1_gdsc {
2003 qcom,support-hw-trigger;
2004 status = "ok";
2005};
2006
2007&venus_gdsc {
2008 status = "ok";
2009};
Tirupathi Reddy0cfe2082017-06-08 14:24:13 +05302010
Tirupathi Reddy242bd802017-06-09 11:31:05 +05302011#include "pm660.dtsi"
2012#include "pm660l.dtsi"
Tirupathi Reddy0cfe2082017-06-08 14:24:13 +05302013#include "sdm670-regulator.dtsi"
Rohit Kumar14051282017-07-12 11:18:48 +05302014#include "sdm670-audio.dtsi"