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