blob: 575bc45642f09cd1580cd9e40dde4c2ca10b3426 [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 */
Vijay Viswanathee4340d2017-08-28 09:50:18 +053035 sdhc2 = &sdhc_2; /* SDC2 SD Card slot */
Mukesh Kumar Savaliya7b272542017-07-10 19:35:29 +053036 serial0 = &qupv3_se12_2uart;
37 spi0 = &qupv3_se8_spi;
38 i2c0 = &qupv3_se10_i2c;
39 i2c1 = &qupv3_se3_i2c;
40 hsuart0 = &qupv3_se6_4uart;
41 };
42
Imran Khan04f08312017-03-30 15:07:43 +053043 cpus {
44 #address-cells = <2>;
45 #size-cells = <0>;
46
47 CPU0: cpu@0 {
48 device_type = "cpu";
49 compatible = "arm,armv8";
50 reg = <0x0 0x0>;
51 enable-method = "psci";
52 efficiency = <1024>;
53 cache-size = <0x8000>;
54 cpu-release-addr = <0x0 0x90000000>;
55 next-level-cache = <&L2_0>;
56 L2_0: l2-cache {
57 compatible = "arm,arch-cache";
58 cache-size = <0x20000>;
59 cache-level = <2>;
60 next-level-cache = <&L3_0>;
61 L3_0: l3-cache {
62 compatible = "arm,arch-cache";
63 cache-size = <0x100000>;
64 cache-level = <3>;
65 };
66 };
67 L1_I_0: l1-icache {
68 compatible = "arm,arch-cache";
69 qcom,dump-size = <0x9000>;
70 };
71 L1_D_0: l1-dcache {
72 compatible = "arm,arch-cache";
73 qcom,dump-size = <0x9000>;
74 };
75 };
76
77 CPU1: cpu@100 {
78 device_type = "cpu";
79 compatible = "arm,armv8";
80 reg = <0x0 0x100>;
81 enable-method = "psci";
82 efficiency = <1024>;
83 cache-size = <0x8000>;
84 cpu-release-addr = <0x0 0x90000000>;
85 next-level-cache = <&L2_100>;
86 L2_100: l2-cache {
87 compatible = "arm,arch-cache";
88 cache-size = <0x20000>;
89 cache-level = <2>;
90 next-level-cache = <&L3_0>;
91 };
92 L1_I_100: l1-icache {
93 compatible = "arm,arch-cache";
94 qcom,dump-size = <0x9000>;
95 };
96 L1_D_100: l1-dcache {
97 compatible = "arm,arch-cache";
98 qcom,dump-size = <0x9000>;
99 };
100 };
101
102 CPU2: cpu@200 {
103 device_type = "cpu";
104 compatible = "arm,armv8";
105 reg = <0x0 0x200>;
106 enable-method = "psci";
107 efficiency = <1024>;
108 cache-size = <0x8000>;
109 cpu-release-addr = <0x0 0x90000000>;
110 next-level-cache = <&L2_200>;
111 L2_200: l2-cache {
112 compatible = "arm,arch-cache";
113 cache-size = <0x20000>;
114 cache-level = <2>;
115 next-level-cache = <&L3_0>;
116 };
117 L1_I_200: l1-icache {
118 compatible = "arm,arch-cache";
119 qcom,dump-size = <0x9000>;
120 };
121 L1_D_200: l1-dcache {
122 compatible = "arm,arch-cache";
123 qcom,dump-size = <0x9000>;
124 };
125 };
126
127 CPU3: cpu@300 {
128 device_type = "cpu";
129 compatible = "arm,armv8";
130 reg = <0x0 0x300>;
131 enable-method = "psci";
132 efficiency = <1024>;
133 cache-size = <0x8000>;
134 cpu-release-addr = <0x0 0x90000000>;
135 next-level-cache = <&L2_300>;
136 L2_300: l2-cache {
137 compatible = "arm,arch-cache";
138 cache-size = <0x20000>;
139 cache-level = <2>;
140 next-level-cache = <&L3_0>;
141 };
142 L1_I_300: l1-icache {
143 compatible = "arm,arch-cache";
144 qcom,dump-size = <0x9000>;
145 };
146 L1_D_300: l1-dcache {
147 compatible = "arm,arch-cache";
148 qcom,dump-size = <0x9000>;
149 };
150 };
151
152 CPU4: cpu@400 {
153 device_type = "cpu";
154 compatible = "arm,armv8";
155 reg = <0x0 0x400>;
156 enable-method = "psci";
157 efficiency = <1024>;
158 cache-size = <0x8000>;
159 cpu-release-addr = <0x0 0x90000000>;
160 next-level-cache = <&L2_400>;
161 L2_400: l2-cache {
162 compatible = "arm,arch-cache";
163 cache-size = <0x20000>;
164 cache-level = <2>;
165 next-level-cache = <&L3_0>;
166 };
167 L1_I_400: l1-icache {
168 compatible = "arm,arch-cache";
169 qcom,dump-size = <0x9000>;
170 };
171 L1_D_400: l1-dcache {
172 compatible = "arm,arch-cache";
173 qcom,dump-size = <0x9000>;
174 };
175 };
176
177 CPU5: cpu@500 {
178 device_type = "cpu";
179 compatible = "arm,armv8";
180 reg = <0x0 0x500>;
181 enable-method = "psci";
182 efficiency = <1024>;
183 cache-size = <0x8000>;
184 cpu-release-addr = <0x0 0x90000000>;
185 next-level-cache = <&L2_500>;
186 L2_500: l2-cache {
187 compatible = "arm,arch-cache";
188 cache-size = <0x20000>;
189 cache-level = <2>;
190 next-level-cache = <&L3_0>;
191 };
192 L1_I_500: l1-icache {
193 compatible = "arm,arch-cache";
194 qcom,dump-size = <0x9000>;
195 };
196 L1_D_500: l1-dcache {
197 compatible = "arm,arch-cache";
198 qcom,dump-size = <0x9000>;
199 };
200 };
201
202 CPU6: cpu@600 {
203 device_type = "cpu";
204 compatible = "arm,armv8";
205 reg = <0x0 0x600>;
206 enable-method = "psci";
207 efficiency = <1740>;
208 cache-size = <0x10000>;
209 cpu-release-addr = <0x0 0x90000000>;
210 next-level-cache = <&L2_600>;
211 L2_600: l2-cache {
212 compatible = "arm,arch-cache";
213 cache-size = <0x40000>;
214 cache-level = <2>;
215 next-level-cache = <&L3_0>;
216 };
217 L1_I_600: l1-icache {
218 compatible = "arm,arch-cache";
219 qcom,dump-size = <0x12000>;
220 };
221 L1_D_600: l1-dcache {
222 compatible = "arm,arch-cache";
223 qcom,dump-size = <0x12000>;
224 };
225 };
226
227 CPU7: cpu@700 {
228 device_type = "cpu";
229 compatible = "arm,armv8";
230 reg = <0x0 0x700>;
231 enable-method = "psci";
232 efficiency = <1740>;
233 cache-size = <0x10000>;
234 cpu-release-addr = <0x0 0x90000000>;
235 next-level-cache = <&L2_700>;
236 L2_700: l2-cache {
237 compatible = "arm,arch-cache";
238 cache-size = <0x40000>;
239 cache-level = <2>;
240 next-level-cache = <&L3_0>;
241 };
242 L1_I_700: l1-icache {
243 compatible = "arm,arch-cache";
244 qcom,dump-size = <0x12000>;
245 };
246 L1_D_700: l1-dcache {
247 compatible = "arm,arch-cache";
248 qcom,dump-size = <0x12000>;
249 };
250 };
251
252 cpu-map {
253 cluster0 {
254 core0 {
255 cpu = <&CPU0>;
256 };
257
258 core1 {
259 cpu = <&CPU1>;
260 };
261
262 core2 {
263 cpu = <&CPU2>;
264 };
265
266 core3 {
267 cpu = <&CPU3>;
268 };
269
270 core4 {
271 cpu = <&CPU4>;
272 };
273
274 core5 {
275 cpu = <&CPU5>;
276 };
277 };
278 cluster1 {
279 core0 {
280 cpu = <&CPU6>;
281 };
282
283 core1 {
284 cpu = <&CPU7>;
285 };
286 };
287 };
288 };
289
290 psci {
291 compatible = "arm,psci-1.0";
292 method = "smc";
293 };
294
295 soc: soc { };
296
Imran Khanb1066fa2017-08-01 17:20:22 +0530297 vendor: vendor {
298 #address-cells = <1>;
299 #size-cells = <1>;
300 ranges = <0 0 0 0xffffffff>;
301 compatible = "simple-bus";
302 };
303
Imran Khan5381c932017-08-02 11:27:07 +0530304 firmware: firmware {
305 android {
306 compatible = "android,firmware";
307
308 fstab {
309 compatible = "android,fstab";
310 vendor {
311 compatible = "android,vendor";
312 dev = "/dev/block/platform/soc/1d84000.ufshc/by-name/vendor";
313 type = "ext4";
314 mnt_flags = "ro,barrier=1,discard";
315 fsmgr_flags = "wait,slotselect";
316 };
317 };
318 };
319 };
320
Imran Khan04f08312017-03-30 15:07:43 +0530321 reserved-memory {
322 #address-cells = <2>;
323 #size-cells = <2>;
324 ranges;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530325
326 removed_regions: removed_regions@85700000 {
327 compatible = "removed-dma-pool";
328 no-map;
329 reg = <0 0x85700000 0 0x3800000>;
330 };
331
332 pil_camera_mem: camera_region@8ab00000 {
333 compatible = "removed-dma-pool";
334 no-map;
335 reg = <0 0x8ab00000 0 0x500000>;
336 };
337
338 pil_modem_mem: modem_region@8b000000 {
339 compatible = "removed-dma-pool";
340 no-map;
341 reg = <0 0x8b000000 0 0x7e00000>;
342 };
343
344 pil_video_mem: pil_video_region@92e00000 {
345 compatible = "removed-dma-pool";
346 no-map;
347 reg = <0 0x92e00000 0 0x500000>;
348 };
349
350 pil_cdsp_mem: cdsp_regions@93300000 {
351 compatible = "removed-dma-pool";
352 no-map;
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530353 reg = <0 0x93300000 0 0x800000>;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530354 };
355
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530356 pil_mba_mem: pil_mba_region@0x93b00000 {
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530357 compatible = "removed-dma-pool";
358 no-map;
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530359 reg = <0 0x93b00000 0 0x200000>;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530360 };
361
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530362 pil_adsp_mem: pil_adsp_region@93d00000 {
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530363 compatible = "removed-dma-pool";
364 no-map;
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530365 reg = <0 0x93d00000 0 0x1e00000>;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530366 };
367
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530368 pil_ipa_fw_mem: pil_ipa_fw_region@95b00000 {
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530369 compatible = "removed-dma-pool";
370 no-map;
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530371 reg = <0 0x95b00000 0 0x10000>;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530372 };
373
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530374 pil_ipa_gsi_mem: pil_ipa_gsi_region@95b10000 {
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530375 compatible = "removed-dma-pool";
376 no-map;
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530377 reg = <0 0x95b10000 0 0x5000>;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530378 };
379
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530380 pil_gpu_mem: pil_gpu_region@95b15000 {
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530381 compatible = "removed-dma-pool";
382 no-map;
Vijayanand Jitta29d1a782017-07-03 15:17:09 +0530383 reg = <0 0x95b15000 0 0x1000>;
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530384 };
385
386 adsp_mem: adsp_region {
387 compatible = "shared-dma-pool";
388 alloc-ranges = <0 0x00000000 0 0xffffffff>;
389 reusable;
390 alignment = <0 0x400000>;
391 size = <0 0xc00000>;
392 };
393
394 qseecom_mem: qseecom_region {
395 compatible = "shared-dma-pool";
396 alloc-ranges = <0 0x00000000 0 0xffffffff>;
397 reusable;
398 alignment = <0 0x400000>;
399 size = <0 0x1400000>;
400 };
401
402 sp_mem: sp_region { /* SPSS-HLOS ION shared mem */
403 compatible = "shared-dma-pool";
404 alloc-ranges = <0 0x00000000 0 0xffffffff>; /* 32-bit */
405 reusable;
406 alignment = <0 0x400000>;
407 size = <0 0x800000>;
408 };
409
410 secure_display_memory: secure_display_region {
411 compatible = "shared-dma-pool";
412 alloc-ranges = <0 0x00000000 0 0xffffffff>;
413 reusable;
414 alignment = <0 0x400000>;
415 size = <0 0x5c00000>;
416 };
417
418 /* global autoconfigured region for contiguous allocations */
419 linux,cma {
420 compatible = "shared-dma-pool";
421 alloc-ranges = <0 0x00000000 0 0xffffffff>;
422 reusable;
423 alignment = <0 0x400000>;
424 size = <0 0x2000000>;
425 linux,cma-default;
426 };
Imran Khan04f08312017-03-30 15:07:43 +0530427 };
428};
429
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +0530430#include "sdm670-ion.dtsi"
431
Dhoat Harpal92d63dea2017-06-06 21:20:26 +0530432#include "sdm670-smp2p.dtsi"
433
Mukesh Kumar Savaliya065ca482017-06-06 14:44:45 +0530434#include "sdm670-qupv3.dtsi"
435
Saranya Chiduraf49fee12017-06-19 10:52:37 +0530436#include "sdm670-coresight.dtsi"
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
Odelu Kukatla6f3ffa12017-08-10 12:31:06 +0530914 clock_aop: qcom,aopclk {
915 compatible = "qcom,aop-qmp-clk-v2";
916 #clock-cells = <1>;
917 mboxes = <&qmp_aop 0>;
918 mbox-names = "qdss_clk";
919 };
920
Shrey Vijay6b6b3a52017-06-21 15:06:03 +0530921 slim_aud: slim@62dc0000 {
922 cell-index = <1>;
923 compatible = "qcom,slim-ngd";
924 reg = <0x62dc0000 0x2c000>,
925 <0x62d84000 0x2a000>;
926 reg-names = "slimbus_physical", "slimbus_bam_physical";
927 interrupts = <0 163 0>, <0 164 0>;
928 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
929 qcom,apps-ch-pipes = <0x780000>;
930 qcom,ea-pc = <0x290>;
931 status = "disabled";
932 };
933
934 slim_qca: slim@62e40000 {
935 cell-index = <3>;
936 compatible = "qcom,slim-ngd";
937 reg = <0x62e40000 0x2c000>,
938 <0x62e04000 0x20000>;
939 reg-names = "slimbus_physical", "slimbus_bam_physical";
940 interrupts = <0 291 0>, <0 292 0>;
941 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
942 status = "disabled";
943 };
944
Imran Khan04f08312017-03-30 15:07:43 +0530945 wdog: qcom,wdt@17980000{
946 compatible = "qcom,msm-watchdog";
947 reg = <0x17980000 0x1000>;
948 reg-names = "wdt-base";
949 interrupts = <0 3 0>, <0 4 0>;
950 qcom,bark-time = <11000>;
951 qcom,pet-time = <10000>;
952 qcom,ipi-ping;
953 qcom,wakeup-enable;
954 };
955
956 qcom,msm-rtb {
957 compatible = "qcom,msm-rtb";
958 qcom,rtb-size = <0x100000>;
959 };
960
961 qcom,msm-imem@146bf000 {
962 compatible = "qcom,msm-imem";
963 reg = <0x146bf000 0x1000>;
964 ranges = <0x0 0x146bf000 0x1000>;
965 #address-cells = <1>;
966 #size-cells = <1>;
967
968 mem_dump_table@10 {
969 compatible = "qcom,msm-imem-mem_dump_table";
970 reg = <0x10 8>;
971 };
972
973 restart_reason@65c {
974 compatible = "qcom,msm-imem-restart_reason";
975 reg = <0x65c 4>;
976 };
977
978 pil@94c {
979 compatible = "qcom,msm-imem-pil";
980 reg = <0x94c 200>;
981 };
982
983 kaslr_offset@6d0 {
984 compatible = "qcom,msm-imem-kaslr_offset";
985 reg = <0x6d0 12>;
986 };
987 };
988
Rama Krishna Phani A2acd96a2017-07-03 17:12:46 +0530989 gpi_dma0: qcom,gpi-dma@0x800000 {
990 #dma-cells = <6>;
991 compatible = "qcom,gpi-dma";
992 reg = <0x800000 0x60000>;
993 reg-names = "gpi-top";
994 interrupts = <0 244 0>, <0 245 0>, <0 246 0>, <0 247 0>,
995 <0 248 0>, <0 249 0>, <0 250 0>, <0 251 0>,
996 <0 252 0>, <0 253 0>, <0 254 0>, <0 255 0>,
997 <0 256 0>;
998 qcom,max-num-gpii = <13>;
999 qcom,gpii-mask = <0xfa>;
1000 qcom,ev-factor = <2>;
1001 iommus = <&apps_smmu 0x0016 0x0>;
1002 status = "ok";
1003 };
1004
1005 gpi_dma1: qcom,gpi-dma@0xa00000 {
1006 #dma-cells = <6>;
1007 compatible = "qcom,gpi-dma";
1008 reg = <0xa00000 0x60000>;
1009 reg-names = "gpi-top";
1010 interrupts = <0 279 0>, <0 280 0>, <0 281 0>, <0 282 0>,
1011 <0 283 0>, <0 284 0>, <0 293 0>, <0 294 0>,
1012 <0 295 0>, <0 296 0>, <0 297 0>, <0 298 0>,
1013 <0 299 0>;
1014 qcom,max-num-gpii = <13>;
1015 qcom,gpii-mask = <0xfa>;
1016 qcom,ev-factor = <2>;
1017 iommus = <&apps_smmu 0x06d6 0x0>;
1018 status = "ok";
1019 };
1020
Imran Khan04f08312017-03-30 15:07:43 +05301021 cpuss_dump {
1022 compatible = "qcom,cpuss-dump";
1023 qcom,l1_i_cache0 {
1024 qcom,dump-node = <&L1_I_0>;
1025 qcom,dump-id = <0x60>;
1026 };
1027 qcom,l1_i_cache1 {
1028 qcom,dump-node = <&L1_I_100>;
1029 qcom,dump-id = <0x61>;
1030 };
1031 qcom,l1_i_cache2 {
1032 qcom,dump-node = <&L1_I_200>;
1033 qcom,dump-id = <0x62>;
1034 };
1035 qcom,l1_i_cache3 {
1036 qcom,dump-node = <&L1_I_300>;
1037 qcom,dump-id = <0x63>;
1038 };
1039 qcom,l1_i_cache100 {
1040 qcom,dump-node = <&L1_I_400>;
1041 qcom,dump-id = <0x64>;
1042 };
1043 qcom,l1_i_cache101 {
1044 qcom,dump-node = <&L1_I_500>;
1045 qcom,dump-id = <0x65>;
1046 };
1047 qcom,l1_i_cache102 {
1048 qcom,dump-node = <&L1_I_600>;
1049 qcom,dump-id = <0x66>;
1050 };
1051 qcom,l1_i_cache103 {
1052 qcom,dump-node = <&L1_I_700>;
1053 qcom,dump-id = <0x67>;
1054 };
1055 qcom,l1_d_cache0 {
1056 qcom,dump-node = <&L1_D_0>;
1057 qcom,dump-id = <0x80>;
1058 };
1059 qcom,l1_d_cache1 {
1060 qcom,dump-node = <&L1_D_100>;
1061 qcom,dump-id = <0x81>;
1062 };
1063 qcom,l1_d_cache2 {
1064 qcom,dump-node = <&L1_D_200>;
1065 qcom,dump-id = <0x82>;
1066 };
1067 qcom,l1_d_cache3 {
1068 qcom,dump-node = <&L1_D_300>;
1069 qcom,dump-id = <0x83>;
1070 };
1071 qcom,l1_d_cache100 {
1072 qcom,dump-node = <&L1_D_400>;
1073 qcom,dump-id = <0x84>;
1074 };
1075 qcom,l1_d_cache101 {
1076 qcom,dump-node = <&L1_D_500>;
1077 qcom,dump-id = <0x85>;
1078 };
1079 qcom,l1_d_cache102 {
1080 qcom,dump-node = <&L1_D_600>;
1081 qcom,dump-id = <0x86>;
1082 };
1083 qcom,l1_d_cache103 {
1084 qcom,dump-node = <&L1_D_700>;
1085 qcom,dump-id = <0x87>;
1086 };
Lingutla Chandrasekharee4f1872017-06-07 13:50:53 +05301087 qcom,llcc1_d_cache {
1088 qcom,dump-node = <&LLCC_1>;
1089 qcom,dump-id = <0x140>;
1090 };
1091 qcom,llcc2_d_cache {
1092 qcom,dump-node = <&LLCC_2>;
1093 qcom,dump-id = <0x141>;
1094 };
Imran Khan04f08312017-03-30 15:07:43 +05301095 };
1096
1097 kryo3xx-erp {
1098 compatible = "arm,arm64-kryo3xx-cpu-erp";
1099 interrupts = <1 6 4>,
1100 <1 7 4>,
1101 <0 34 4>,
1102 <0 35 4>;
1103
1104 interrupt-names = "l1-l2-faultirq",
1105 "l1-l2-errirq",
1106 "l3-scu-errirq",
1107 "l3-scu-faultirq";
1108 };
1109
Dhoat Harpala24cb2c2017-06-06 20:39:54 +05301110 qcom,ipc-spinlock@1f40000 {
1111 compatible = "qcom,ipc-spinlock-sfpb";
1112 reg = <0x1f40000 0x8000>;
1113 qcom,num-locks = <8>;
1114 };
1115
Dhoat Harpaldd9bfaf2017-06-06 20:43:16 +05301116 qcom,smem@86000000 {
1117 compatible = "qcom,smem";
1118 reg = <0x86000000 0x200000>,
1119 <0x17911008 0x4>,
1120 <0x778000 0x7000>,
1121 <0x1fd4000 0x8>;
1122 reg-names = "smem", "irq-reg-base", "aux-mem1",
1123 "smem_targ_info_reg";
1124 qcom,mpu-enabled;
1125 };
1126
Dhoat Harpalebc9e562017-07-30 20:53:03 +05301127 qmp_aop: qcom,qmp-aop@c300000 {
Dhoat Harpal5f909ef2017-06-09 21:18:00 +05301128 compatible = "qcom,qmp-mbox";
1129 label = "aop";
1130 reg = <0xc300000 0x100000>,
1131 <0x1799000c 0x4>;
1132 reg-names = "msgram", "irq-reg-base";
1133 qcom,irq-mask = <0x1>;
1134 interrupts = <0 389 1>;
Dhoat Harpalebc9e562017-07-30 20:53:03 +05301135 priority = <0>;
Dhoat Harpal5f909ef2017-06-09 21:18:00 +05301136 mbox-desc-offset = <0x0>;
1137 #mbox-cells = <1>;
1138 };
1139
Dhoat Harpal466ffcc2017-06-06 20:54:51 +05301140 qcom,glink-smem-native-xprt-modem@86000000 {
1141 compatible = "qcom,glink-smem-native-xprt";
1142 reg = <0x86000000 0x200000>,
1143 <0x1799000c 0x4>;
1144 reg-names = "smem", "irq-reg-base";
1145 qcom,irq-mask = <0x1000>;
1146 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
1147 label = "mpss";
1148 };
1149
1150 qcom,glink-smem-native-xprt-adsp@86000000 {
1151 compatible = "qcom,glink-smem-native-xprt";
1152 reg = <0x86000000 0x200000>,
1153 <0x1799000c 0x4>;
1154 reg-names = "smem", "irq-reg-base";
Dhoat Harpal3adebbe2017-07-06 15:59:13 +05301155 qcom,irq-mask = <0x1000000>;
1156 interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>;
Dhoat Harpal466ffcc2017-06-06 20:54:51 +05301157 label = "lpass";
1158 qcom,qos-config = <&glink_qos_adsp>;
1159 qcom,ramp-time = <0xaf>;
1160 };
1161
1162 glink_qos_adsp: qcom,glink-qos-config-adsp {
1163 compatible = "qcom,glink-qos-config";
1164 qcom,flow-info = <0x3c 0x0>,
1165 <0x3c 0x0>,
1166 <0x3c 0x0>,
1167 <0x3c 0x0>;
1168 qcom,mtu-size = <0x800>;
1169 qcom,tput-stats-cycle = <0xa>;
1170 };
1171
1172 glink_spi_xprt_wdsp: qcom,glink-spi-xprt-wdsp {
1173 compatible = "qcom,glink-spi-xprt";
1174 label = "wdsp";
1175 qcom,remote-fifo-config = <&glink_fifo_wdsp>;
1176 qcom,qos-config = <&glink_qos_wdsp>;
1177 qcom,ramp-time = <0x10>,
1178 <0x20>,
1179 <0x30>,
1180 <0x40>;
1181 };
1182
1183 glink_fifo_wdsp: qcom,glink-fifo-config-wdsp {
1184 compatible = "qcom,glink-fifo-config";
1185 qcom,out-read-idx-reg = <0x12000>;
1186 qcom,out-write-idx-reg = <0x12004>;
1187 qcom,in-read-idx-reg = <0x1200C>;
1188 qcom,in-write-idx-reg = <0x12010>;
1189 };
1190
1191 glink_qos_wdsp: qcom,glink-qos-config-wdsp {
1192 compatible = "qcom,glink-qos-config";
1193 qcom,flow-info = <0x80 0x0>,
1194 <0x70 0x1>,
1195 <0x60 0x2>,
1196 <0x50 0x3>;
1197 qcom,mtu-size = <0x800>;
1198 qcom,tput-stats-cycle = <0xa>;
1199 };
1200
1201 qcom,glink-smem-native-xprt-cdsp@86000000 {
1202 compatible = "qcom,glink-smem-native-xprt";
1203 reg = <0x86000000 0x200000>,
1204 <0x1799000c 0x4>;
1205 reg-names = "smem", "irq-reg-base";
1206 qcom,irq-mask = <0x10>;
1207 interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>;
1208 label = "cdsp";
1209 };
1210
Dhoat Harpal9cb73cc2017-06-06 20:58:14 +05301211 glink_mpss: qcom,glink-ssr-modem {
1212 compatible = "qcom,glink_ssr";
1213 label = "modem";
1214 qcom,edge = "mpss";
1215 qcom,notify-edges = <&glink_lpass>, <&glink_cdsp>;
1216 qcom,xprt = "smem";
1217 };
1218
1219 glink_lpass: qcom,glink-ssr-adsp {
1220 compatible = "qcom,glink_ssr";
1221 label = "adsp";
1222 qcom,edge = "lpass";
1223 qcom,notify-edges = <&glink_mpss>, <&glink_cdsp>;
1224 qcom,xprt = "smem";
1225 };
1226
1227 glink_cdsp: qcom,glink-ssr-cdsp {
1228 compatible = "qcom,glink_ssr";
1229 label = "cdsp";
1230 qcom,edge = "cdsp";
1231 qcom,notify-edges = <&glink_mpss>, <&glink_lpass>;
1232 qcom,xprt = "smem";
1233 };
1234
Dhoat Harpal22dafa92017-06-06 21:03:34 +05301235 qcom,ipc_router {
1236 compatible = "qcom,ipc_router";
1237 qcom,node-id = <1>;
1238 };
1239
1240 qcom,ipc_router_modem_xprt {
1241 compatible = "qcom,ipc_router_glink_xprt";
1242 qcom,ch-name = "IPCRTR";
1243 qcom,xprt-remote = "mpss";
1244 qcom,glink-xprt = "smem";
1245 qcom,xprt-linkid = <1>;
1246 qcom,xprt-version = <1>;
1247 qcom,fragmented-data;
1248 };
1249
1250 qcom,ipc_router_q6_xprt {
1251 compatible = "qcom,ipc_router_glink_xprt";
1252 qcom,ch-name = "IPCRTR";
1253 qcom,xprt-remote = "lpass";
1254 qcom,glink-xprt = "smem";
1255 qcom,xprt-linkid = <1>;
1256 qcom,xprt-version = <1>;
1257 qcom,fragmented-data;
1258 };
1259
1260 qcom,ipc_router_cdsp_xprt {
1261 compatible = "qcom,ipc_router_glink_xprt";
1262 qcom,ch-name = "IPCRTR";
1263 qcom,xprt-remote = "cdsp";
1264 qcom,glink-xprt = "smem";
1265 qcom,xprt-linkid = <1>;
1266 qcom,xprt-version = <1>;
1267 qcom,fragmented-data;
1268 };
1269
Dhoat Harpal11d34482017-06-06 21:00:14 +05301270 qcom,glink_pkt {
1271 compatible = "qcom,glinkpkt";
1272
1273 qcom,glinkpkt-at-mdm0 {
1274 qcom,glinkpkt-transport = "smem";
1275 qcom,glinkpkt-edge = "mpss";
1276 qcom,glinkpkt-ch-name = "DS";
1277 qcom,glinkpkt-dev-name = "at_mdm0";
1278 };
1279
1280 qcom,glinkpkt-loopback_cntl {
1281 qcom,glinkpkt-transport = "lloop";
1282 qcom,glinkpkt-edge = "local";
1283 qcom,glinkpkt-ch-name = "LOCAL_LOOPBACK_CLNT";
1284 qcom,glinkpkt-dev-name = "glink_pkt_loopback_ctrl";
1285 };
1286
1287 qcom,glinkpkt-loopback_data {
1288 qcom,glinkpkt-transport = "lloop";
1289 qcom,glinkpkt-edge = "local";
1290 qcom,glinkpkt-ch-name = "glink_pkt_lloop_CLNT";
1291 qcom,glinkpkt-dev-name = "glink_pkt_loopback";
1292 };
1293
1294 qcom,glinkpkt-apr-apps2 {
1295 qcom,glinkpkt-transport = "smem";
1296 qcom,glinkpkt-edge = "adsp";
1297 qcom,glinkpkt-ch-name = "apr_apps2";
1298 qcom,glinkpkt-dev-name = "apr_apps2";
1299 };
1300
1301 qcom,glinkpkt-data40-cntl {
1302 qcom,glinkpkt-transport = "smem";
1303 qcom,glinkpkt-edge = "mpss";
1304 qcom,glinkpkt-ch-name = "DATA40_CNTL";
1305 qcom,glinkpkt-dev-name = "smdcntl8";
1306 };
1307
1308 qcom,glinkpkt-data1 {
1309 qcom,glinkpkt-transport = "smem";
1310 qcom,glinkpkt-edge = "mpss";
1311 qcom,glinkpkt-ch-name = "DATA1";
1312 qcom,glinkpkt-dev-name = "smd7";
1313 };
1314
1315 qcom,glinkpkt-data4 {
1316 qcom,glinkpkt-transport = "smem";
1317 qcom,glinkpkt-edge = "mpss";
1318 qcom,glinkpkt-ch-name = "DATA4";
1319 qcom,glinkpkt-dev-name = "smd8";
1320 };
1321
1322 qcom,glinkpkt-data11 {
1323 qcom,glinkpkt-transport = "smem";
1324 qcom,glinkpkt-edge = "mpss";
1325 qcom,glinkpkt-ch-name = "DATA11";
1326 qcom,glinkpkt-dev-name = "smd11";
1327 };
1328 };
1329
Imran Khan04f08312017-03-30 15:07:43 +05301330 qcom,chd_sliver {
1331 compatible = "qcom,core-hang-detect";
1332 label = "silver";
1333 qcom,threshold-arr = <0x17e00058 0x17e10058 0x17e20058
1334 0x17e30058 0x17e40058 0x17e50058>;
1335 qcom,config-arr = <0x17e00060 0x17e10060 0x17e20060
1336 0x17e30060 0x17e40060 0x17e50060>;
1337 };
1338
1339 qcom,chd_gold {
1340 compatible = "qcom,core-hang-detect";
1341 label = "gold";
1342 qcom,threshold-arr = <0x17e60058 0x17e70058>;
1343 qcom,config-arr = <0x17e60060 0x17e70060>;
1344 };
1345
1346 qcom,ghd {
1347 compatible = "qcom,gladiator-hang-detect-v2";
1348 qcom,threshold-arr = <0x1799041c 0x17990420>;
1349 qcom,config-reg = <0x17990434>;
1350 };
1351
1352 qcom,msm-gladiator-v3@17900000 {
1353 compatible = "qcom,msm-gladiator-v3";
1354 reg = <0x17900000 0xd080>;
1355 reg-names = "gladiator_base";
1356 interrupts = <0 17 0>;
1357 };
1358
Lingutla Chandrasekharee4f1872017-06-07 13:50:53 +05301359 qcom,llcc@1100000 {
1360 compatible = "qcom,llcc-core", "syscon", "simple-mfd";
1361 reg = <0x1100000 0x250000>;
1362 reg-names = "llcc_base";
1363 qcom,llcc-banks-off = <0x0 0x80000 >;
1364 qcom,llcc-broadcast-off = <0x200000>;
1365
1366 llcc: qcom,sdm670-llcc {
1367 compatible = "qcom,sdm670-llcc";
1368 #cache-cells = <1>;
1369 max-slices = <32>;
1370 qcom,dump-size = <0x80000>;
1371 };
1372
1373 qcom,llcc-erp {
1374 compatible = "qcom,llcc-erp";
1375 interrupt-names = "ecc_irq";
1376 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
1377 };
1378
1379 qcom,llcc-amon {
1380 compatible = "qcom,llcc-amon";
1381 };
1382
1383 LLCC_1: llcc_1_dcache {
1384 qcom,dump-size = <0xd8000>;
1385 };
1386
1387 LLCC_2: llcc_2_dcache {
1388 qcom,dump-size = <0xd8000>;
1389 };
1390 };
1391
Maulik Shah210773d2017-06-15 09:49:12 +05301392 cmd_db: qcom,cmd-db@c3f000c {
1393 compatible = "qcom,cmd-db";
1394 reg = <0xc3f000c 0x8>;
1395 };
1396
Maulik Shahc77d1d22017-06-15 14:04:50 +05301397 apps_rsc: mailbox@179e0000 {
1398 compatible = "qcom,tcs-drv";
1399 label = "apps_rsc";
1400 reg = <0x179e0000 0x100>, <0x179e0d00 0x3000>;
1401 interrupts = <0 5 0>;
1402 #mbox-cells = <1>;
1403 qcom,drv-id = <2>;
1404 qcom,tcs-config = <ACTIVE_TCS 2>,
1405 <SLEEP_TCS 3>,
1406 <WAKE_TCS 3>,
1407 <CONTROL_TCS 1>;
1408 };
1409
Maulik Shahda3941f2017-06-15 09:41:38 +05301410 disp_rsc: mailbox@af20000 {
1411 compatible = "qcom,tcs-drv";
1412 label = "display_rsc";
1413 reg = <0xaf20000 0x100>, <0xaf21c00 0x3000>;
1414 interrupts = <0 129 0>;
1415 #mbox-cells = <1>;
1416 qcom,drv-id = <0>;
1417 qcom,tcs-config = <SLEEP_TCS 1>,
1418 <WAKE_TCS 1>,
1419 <ACTIVE_TCS 0>,
1420 <CONTROL_TCS 1>;
1421 };
1422
Maulik Shah0dd203f2017-06-15 09:44:59 +05301423 system_pm {
1424 compatible = "qcom,system-pm";
1425 mboxes = <&apps_rsc 0>;
1426 };
1427
Imran Khan04f08312017-03-30 15:07:43 +05301428 dcc: dcc_v2@10a2000 {
1429 compatible = "qcom,dcc_v2";
1430 reg = <0x10a2000 0x1000>,
1431 <0x10ae000 0x2000>;
1432 reg-names = "dcc-base", "dcc-ram-base";
Saranya Chidurac0a161c2017-08-28 13:06:10 +05301433
1434 dcc-ram-offset = <0x6000>;
Imran Khan04f08312017-03-30 15:07:43 +05301435 };
1436
Tirupathi Reddy9ae4c892017-06-09 12:30:31 +05301437 spmi_bus: qcom,spmi@c440000 {
1438 compatible = "qcom,spmi-pmic-arb";
1439 reg = <0xc440000 0x1100>,
1440 <0xc600000 0x2000000>,
1441 <0xe600000 0x100000>,
1442 <0xe700000 0xa0000>,
1443 <0xc40a000 0x26000>;
1444 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1445 interrupt-names = "periph_irq";
1446 interrupts = <GIC_SPI 481 IRQ_TYPE_NONE>;
1447 qcom,ee = <0>;
1448 qcom,channel = <0>;
1449 #address-cells = <2>;
1450 #size-cells = <0>;
1451 interrupt-controller;
1452 #interrupt-cells = <4>;
1453 cell-index = <0>;
1454 };
Sayali Lokhande099af9c2017-06-08 10:18:29 +05301455
1456 ufsphy_mem: ufsphy_mem@1d87000 {
1457 reg = <0x1d87000 0xe00>; /* PHY regs */
1458 reg-names = "phy_mem";
1459 #phy-cells = <0>;
1460
1461 lanes-per-direction = <1>;
1462
1463 clock-names = "ref_clk_src",
1464 "ref_clk",
1465 "ref_aux_clk";
1466 clocks = <&clock_rpmh RPMH_CXO_CLK>,
1467 <&clock_gcc GCC_UFS_MEM_CLKREF_CLK>,
1468 <&clock_gcc GCC_UFS_PHY_PHY_AUX_HW_CTL_CLK>;
1469
1470 status = "disabled";
1471 };
1472
1473 ufshc_mem: ufshc@1d84000 {
1474 compatible = "qcom,ufshc";
1475 reg = <0x1d84000 0x3000>;
1476 interrupts = <0 265 0>;
1477 phys = <&ufsphy_mem>;
1478 phy-names = "ufsphy";
1479
1480 lanes-per-direction = <1>;
1481 dev-ref-clk-freq = <0>; /* 19.2 MHz */
1482
1483 clock-names =
1484 "core_clk",
1485 "bus_aggr_clk",
1486 "iface_clk",
1487 "core_clk_unipro",
1488 "core_clk_ice",
1489 "ref_clk",
1490 "tx_lane0_sync_clk",
1491 "rx_lane0_sync_clk";
1492 clocks =
1493 <&clock_gcc GCC_UFS_PHY_AXI_HW_CTL_CLK>,
1494 <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_HW_CTL_CLK>,
1495 <&clock_gcc GCC_UFS_PHY_AHB_CLK>,
1496 <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_HW_CTL_CLK>,
1497 <&clock_gcc GCC_UFS_PHY_ICE_CORE_HW_CTL_CLK>,
1498 <&clock_rpmh RPMH_CXO_CLK>,
1499 <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1500 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>;
1501 freq-table-hz =
1502 <50000000 200000000>,
1503 <0 0>,
1504 <0 0>,
1505 <37500000 150000000>,
1506 <75000000 300000000>,
1507 <0 0>,
1508 <0 0>,
1509 <0 0>;
1510
1511 resets = <&clock_gcc GCC_UFS_PHY_BCR>;
1512 reset-names = "core_reset";
1513
1514 status = "disabled";
1515 };
Gaurav Kohlib28d5562017-06-12 11:26:27 +05301516
1517 qcom,lpass@62400000 {
1518 compatible = "qcom,pil-tz-generic";
1519 reg = <0x62400000 0x00100>;
1520 interrupts = <0 162 1>;
1521
1522 vdd_cx-supply = <&pm660l_l9_level>;
1523 qcom,proxy-reg-names = "vdd_cx";
1524 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
1525
1526 clocks = <&clock_rpmh RPMH_CXO_CLK>;
1527 clock-names = "xo";
1528 qcom,proxy-clock-names = "xo";
1529
1530 qcom,pas-id = <1>;
1531 qcom,proxy-timeout-ms = <10000>;
1532 qcom,smem-id = <423>;
1533 qcom,sysmon-id = <1>;
1534 qcom,ssctl-instance-id = <0x14>;
1535 qcom,firmware-name = "adsp";
1536 memory-region = <&pil_adsp_mem>;
1537
1538 /* GPIO inputs from lpass */
1539 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
1540 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
1541 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
1542 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>;
1543
1544 /* GPIO output to lpass */
1545 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
1546 status = "ok";
1547 };
Mohammed Javid736c25c2017-06-19 13:23:18 +05301548
1549 qcom,rmnet-ipa {
1550 compatible = "qcom,rmnet-ipa3";
1551 qcom,rmnet-ipa-ssr;
1552 qcom,ipa-loaduC;
1553 qcom,ipa-advertise-sg-support;
1554 qcom,ipa-napi-enable;
1555 };
1556
1557 ipa_hw: qcom,ipa@01e00000 {
1558 compatible = "qcom,ipa";
1559 reg = <0x1e00000 0x34000>,
1560 <0x1e04000 0x2c000>;
1561 reg-names = "ipa-base", "gsi-base";
1562 interrupts =
1563 <0 311 0>,
1564 <0 432 0>;
1565 interrupt-names = "ipa-irq", "gsi-irq";
1566 qcom,ipa-hw-ver = <13>; /* IPA core version = IPAv3.5.1 */
1567 qcom,ipa-hw-mode = <1>;
1568 qcom,ee = <0>;
1569 qcom,use-ipa-tethering-bridge;
1570 qcom,modem-cfg-emb-pipe-flt;
1571 qcom,ipa-wdi2;
1572 qcom,use-64-bit-dma-mask;
1573 qcom,arm-smmu;
1574 qcom,smmu-s1-bypass;
1575 qcom,bandwidth-vote-for-ipa;
1576 qcom,msm-bus,name = "ipa";
1577 qcom,msm-bus,num-cases = <4>;
1578 qcom,msm-bus,num-paths = <4>;
1579 qcom,msm-bus,vectors-KBps =
1580 /* No vote */
1581 <90 512 0 0>,
1582 <90 585 0 0>,
1583 <1 676 0 0>,
1584 <143 777 0 0>,
1585 /* SVS */
1586 <90 512 80000 640000>,
1587 <90 585 80000 640000>,
1588 <1 676 80000 80000>,
1589 <143 777 0 150000>,
1590 /* NOMINAL */
1591 <90 512 206000 960000>,
1592 <90 585 206000 960000>,
1593 <1 676 206000 160000>,
1594 <143 777 0 300000>,
1595 /* TURBO */
1596 <90 512 206000 3600000>,
1597 <90 585 206000 3600000>,
1598 <1 676 206000 300000>,
1599 <143 777 0 355333>;
1600 qcom,bus-vector-names = "MIN", "SVS", "NOMINAL", "TURBO";
1601
1602 /* IPA RAM mmap */
1603 qcom,ipa-ram-mmap = <
1604 0x280 /* ofst_start; */
1605 0x0 /* nat_ofst; */
1606 0x0 /* nat_size; */
1607 0x288 /* v4_flt_hash_ofst; */
1608 0x78 /* v4_flt_hash_size; */
1609 0x4000 /* v4_flt_hash_size_ddr; */
1610 0x308 /* v4_flt_nhash_ofst; */
1611 0x78 /* v4_flt_nhash_size; */
1612 0x4000 /* v4_flt_nhash_size_ddr; */
1613 0x388 /* v6_flt_hash_ofst; */
1614 0x78 /* v6_flt_hash_size; */
1615 0x4000 /* v6_flt_hash_size_ddr; */
1616 0x408 /* v6_flt_nhash_ofst; */
1617 0x78 /* v6_flt_nhash_size; */
1618 0x4000 /* v6_flt_nhash_size_ddr; */
1619 0xf /* v4_rt_num_index; */
1620 0x0 /* v4_modem_rt_index_lo; */
1621 0x7 /* v4_modem_rt_index_hi; */
1622 0x8 /* v4_apps_rt_index_lo; */
1623 0xe /* v4_apps_rt_index_hi; */
1624 0x488 /* v4_rt_hash_ofst; */
1625 0x78 /* v4_rt_hash_size; */
1626 0x4000 /* v4_rt_hash_size_ddr; */
1627 0x508 /* v4_rt_nhash_ofst; */
1628 0x78 /* v4_rt_nhash_size; */
1629 0x4000 /* v4_rt_nhash_size_ddr; */
1630 0xf /* v6_rt_num_index; */
1631 0x0 /* v6_modem_rt_index_lo; */
1632 0x7 /* v6_modem_rt_index_hi; */
1633 0x8 /* v6_apps_rt_index_lo; */
1634 0xe /* v6_apps_rt_index_hi; */
1635 0x588 /* v6_rt_hash_ofst; */
1636 0x78 /* v6_rt_hash_size; */
1637 0x4000 /* v6_rt_hash_size_ddr; */
1638 0x608 /* v6_rt_nhash_ofst; */
1639 0x78 /* v6_rt_nhash_size; */
1640 0x4000 /* v6_rt_nhash_size_ddr; */
1641 0x688 /* modem_hdr_ofst; */
1642 0x140 /* modem_hdr_size; */
1643 0x7c8 /* apps_hdr_ofst; */
1644 0x0 /* apps_hdr_size; */
1645 0x800 /* apps_hdr_size_ddr; */
1646 0x7d0 /* modem_hdr_proc_ctx_ofst; */
1647 0x200 /* modem_hdr_proc_ctx_size; */
1648 0x9d0 /* apps_hdr_proc_ctx_ofst; */
1649 0x200 /* apps_hdr_proc_ctx_size; */
1650 0x0 /* apps_hdr_proc_ctx_size_ddr; */
1651 0x0 /* modem_comp_decomp_ofst; diff */
1652 0x0 /* modem_comp_decomp_size; diff */
1653 0xbd8 /* modem_ofst; */
1654 0x1024 /* modem_size; */
1655 0x2000 /* apps_v4_flt_hash_ofst; */
1656 0x0 /* apps_v4_flt_hash_size; */
1657 0x2000 /* apps_v4_flt_nhash_ofst; */
1658 0x0 /* apps_v4_flt_nhash_size; */
1659 0x2000 /* apps_v6_flt_hash_ofst; */
1660 0x0 /* apps_v6_flt_hash_size; */
1661 0x2000 /* apps_v6_flt_nhash_ofst; */
1662 0x0 /* apps_v6_flt_nhash_size; */
1663 0x80 /* uc_info_ofst; */
1664 0x200 /* uc_info_size; */
1665 0x2000 /* end_ofst; */
1666 0x2000 /* apps_v4_rt_hash_ofst; */
1667 0x0 /* apps_v4_rt_hash_size; */
1668 0x2000 /* apps_v4_rt_nhash_ofst; */
1669 0x0 /* apps_v4_rt_nhash_size; */
1670 0x2000 /* apps_v6_rt_hash_ofst; */
1671 0x0 /* apps_v6_rt_hash_size; */
1672 0x2000 /* apps_v6_rt_nhash_ofst; */
1673 0x0 /* apps_v6_rt_nhash_size; */
1674 0x1c00 /* uc_event_ring_ofst; */
1675 0x400 /* uc_event_ring_size; */
1676 >;
1677
1678 /* smp2p gpio information */
1679 qcom,smp2pgpio_map_ipa_1_out {
1680 compatible = "qcom,smp2pgpio-map-ipa-1-out";
1681 gpios = <&smp2pgpio_ipa_1_out 0 0>;
1682 };
1683
1684 qcom,smp2pgpio_map_ipa_1_in {
1685 compatible = "qcom,smp2pgpio-map-ipa-1-in";
1686 gpios = <&smp2pgpio_ipa_1_in 0 0>;
1687 };
1688
1689 ipa_smmu_ap: ipa_smmu_ap {
1690 compatible = "qcom,ipa-smmu-ap-cb";
1691 iommus = <&apps_smmu 0x720 0x0>;
1692 qcom,iova-mapping = <0x20000000 0x40000000>;
1693 };
1694
1695 ipa_smmu_wlan: ipa_smmu_wlan {
1696 compatible = "qcom,ipa-smmu-wlan-cb";
1697 iommus = <&apps_smmu 0x721 0x0>;
1698 };
1699
1700 ipa_smmu_uc: ipa_smmu_uc {
1701 compatible = "qcom,ipa-smmu-uc-cb";
1702 iommus = <&apps_smmu 0x722 0x0>;
1703 qcom,iova-mapping = <0x40000000 0x20000000>;
1704 };
1705 };
1706
1707 qcom,ipa_fws {
1708 compatible = "qcom,pil-tz-generic";
1709 qcom,pas-id = <0xf>;
1710 qcom,firmware-name = "ipa_fws";
1711 };
Gaurav Kohli04a55af2017-07-19 17:25:30 +05301712
1713 pil_modem: qcom,mss@4080000 {
1714 compatible = "qcom,pil-q6v55-mss";
1715 reg = <0x4080000 0x100>,
1716 <0x1f63000 0x008>,
1717 <0x1f65000 0x008>,
1718 <0x1f64000 0x008>,
1719 <0x4180000 0x020>,
1720 <0xc2b0000 0x004>,
1721 <0xb2e0100 0x004>,
1722 <0x4180044 0x004>;
1723 reg-names = "qdsp6_base", "halt_q6", "halt_modem",
1724 "halt_nc", "rmb_base", "restart_reg",
1725 "pdc_sync", "alt_reset";
1726
1727 clocks = <&clock_rpmh RPMH_CXO_CLK>,
1728 <&clock_gcc GCC_MSS_CFG_AHB_CLK>,
1729 <&clock_gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
1730 <&clock_gcc GCC_BOOT_ROM_AHB_CLK>,
1731 <&clock_gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
1732 <&clock_gcc GCC_MSS_SNOC_AXI_CLK>,
1733 <&clock_gcc GCC_MSS_MFAB_AXIS_CLK>,
1734 <&clock_gcc GCC_PRNG_AHB_CLK>;
1735 clock-names = "xo", "iface_clk", "bus_clk",
1736 "mem_clk", "gpll0_mss_clk", "snoc_axi_clk",
1737 "mnoc_axi_clk", "prng_clk";
1738 qcom,proxy-clock-names = "xo", "prng_clk";
1739 qcom,active-clock-names = "iface_clk", "bus_clk", "mem_clk",
1740 "gpll0_mss_clk", "snoc_axi_clk",
1741 "mnoc_axi_clk";
1742
1743 interrupts = <0 266 1>;
1744 vdd_cx-supply = <&pm660l_s3_level>;
1745 vdd_cx-voltage = <RPMH_REGULATOR_LEVEL_TURBO>;
1746 vdd_mx-supply = <&pm660l_s1_level>;
1747 vdd_mx-uV = <RPMH_REGULATOR_LEVEL_TURBO>;
1748 qcom,firmware-name = "modem";
1749 qcom,pil-self-auth;
1750 qcom,sysmon-id = <0>;
1751 qcom,ssctl-instance-id = <0x12>;
1752 qcom,override-acc;
1753 qcom,qdsp6v65-1-0;
1754 status = "ok";
1755 memory-region = <&pil_modem_mem>;
1756 qcom,mem-protect-id = <0xF>;
1757
1758 /* GPIO inputs from mss */
1759 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
1760 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
1761 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
1762 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>;
1763 qcom,gpio-shutdown-ack = <&smp2pgpio_ssr_smp2p_1_in 7 0>;
1764
1765 /* GPIO output to mss */
1766 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
1767 qcom,mba-mem@0 {
1768 compatible = "qcom,pil-mba-mem";
1769 memory-region = <&pil_mba_mem>;
1770 };
1771 };
Gaurav Kohli985a99d2017-07-25 18:46:45 +05301772
1773 qcom,venus@aae0000 {
1774 compatible = "qcom,pil-tz-generic";
1775 reg = <0xaae0000 0x4000>;
1776
1777 vdd-supply = <&venus_gdsc>;
1778 qcom,proxy-reg-names = "vdd";
1779
1780 clocks = <&clock_videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
1781 <&clock_videocc VIDEO_CC_VENUS_AHB_CLK>,
1782 <&clock_videocc VIDEO_CC_VENUS_CTL_AXI_CLK>;
1783 clock-names = "core_clk", "iface_clk", "bus_clk";
1784 qcom,proxy-clock-names = "core_clk", "iface_clk", "bus_clk";
1785
1786 qcom,pas-id = <9>;
1787 qcom,msm-bus,name = "pil-venus";
1788 qcom,msm-bus,num-cases = <2>;
1789 qcom,msm-bus,num-paths = <1>;
1790 qcom,msm-bus,vectors-KBps =
1791 <63 512 0 0>,
1792 <63 512 0 304000>;
1793 qcom,proxy-timeout-ms = <100>;
1794 qcom,firmware-name = "venus";
1795 memory-region = <&pil_video_mem>;
1796 status = "ok";
1797 };
Gaurav Kohli106f4882017-06-29 12:29:12 +05301798
1799 qcom,turing@8300000 {
1800 compatible = "qcom,pil-tz-generic";
1801 reg = <0x8300000 0x100000>;
1802 interrupts = <0 578 1>;
1803
1804 vdd_cx-supply = <&pm660l_s3_level>;
1805 qcom,proxy-reg-names = "vdd_cx";
1806 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
1807
1808 clocks = <&clock_rpmh RPMH_CXO_CLK>;
1809 clock-names = "xo";
1810 qcom,proxy-clock-names = "xo";
1811
1812 qcom,pas-id = <18>;
1813 qcom,proxy-timeout-ms = <10000>;
1814 qcom,smem-id = <601>;
1815 qcom,sysmon-id = <7>;
1816 qcom,ssctl-instance-id = <0x17>;
1817 qcom,firmware-name = "cdsp";
1818 memory-region = <&pil_cdsp_mem>;
1819
1820 /* GPIO inputs from turing */
1821 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_5_in 0 0>;
1822 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_5_in 2 0>;
1823 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_5_in 1 0>;
1824 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_5_in 3 0>;
1825
1826 /* GPIO output to turing*/
1827 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_5_out 0 0>;
1828 status = "ok";
1829 };
Vijay Viswanatheac72722017-06-05 11:01:38 +05301830
1831 sdhc_1: sdhci@7c4000 {
1832 compatible = "qcom,sdhci-msm-v5";
1833 reg = <0x7C4000 0x1000>, <0x7C5000 0x1000>;
1834 reg-names = "hc_mem", "cmdq_mem";
1835
1836 interrupts = <0 641 0>, <0 644 0>;
1837 interrupt-names = "hc_irq", "pwr_irq";
1838
1839 qcom,bus-width = <8>;
1840 qcom,large-address-bus;
1841
1842 clocks = <&clock_gcc GCC_SDCC1_AHB_CLK>,
1843 <&clock_gcc GCC_SDCC1_APPS_CLK>;
1844 clock-names = "iface_clk", "core_clk";
1845
1846 qcom,nonremovable;
1847
1848 qcom,scaling-lower-bus-speed-mode = "DDR52";
1849 status = "disabled";
1850 };
Tharun Kumar Merugu03380d82017-08-08 13:04:36 +05301851
Vijay Viswanathee4340d2017-08-28 09:50:18 +05301852 sdhc_2: sdhci@8804000 {
1853 compatible = "qcom,sdhci-msm-v5";
1854 reg = <0x8804000 0x1000>;
1855 reg-names = "hc_mem";
1856
1857 interrupts = <0 204 0>, <0 222 0>;
1858 interrupt-names = "hc_irq", "pwr_irq";
1859
1860 qcom,bus-width = <4>;
1861 qcom,large-address-bus;
1862
1863 clocks = <&clock_gcc GCC_SDCC2_AHB_CLK>,
1864 <&clock_gcc GCC_SDCC2_APPS_CLK>;
1865 clock-names = "iface_clk", "core_clk";
1866
1867 status = "disabled";
1868 };
1869
Tharun Kumar Merugu03380d82017-08-08 13:04:36 +05301870 qcom,msm-cdsp-loader {
1871 compatible = "qcom,cdsp-loader";
1872 qcom,proc-img-to-load = "cdsp";
1873 };
1874
1875 qcom,msm-adsprpc-mem {
1876 compatible = "qcom,msm-adsprpc-mem-region";
1877 memory-region = <&adsp_mem>;
1878 };
1879
1880 qcom,msm_fastrpc {
1881 compatible = "qcom,msm-fastrpc-compute";
1882
1883 qcom,msm_fastrpc_compute_cb1 {
1884 compatible = "qcom,msm-fastrpc-compute-cb";
1885 label = "cdsprpc-smd";
1886 iommus = <&apps_smmu 0x1421 0x30>;
1887 dma-coherent;
1888 };
1889 qcom,msm_fastrpc_compute_cb2 {
1890 compatible = "qcom,msm-fastrpc-compute-cb";
1891 label = "cdsprpc-smd";
1892 iommus = <&apps_smmu 0x1422 0x30>;
1893 dma-coherent;
1894 };
1895 qcom,msm_fastrpc_compute_cb3 {
1896 compatible = "qcom,msm-fastrpc-compute-cb";
1897 label = "cdsprpc-smd";
1898 iommus = <&apps_smmu 0x1423 0x30>;
1899 dma-coherent;
1900 };
1901 qcom,msm_fastrpc_compute_cb4 {
1902 compatible = "qcom,msm-fastrpc-compute-cb";
1903 label = "cdsprpc-smd";
1904 iommus = <&apps_smmu 0x1424 0x30>;
1905 dma-coherent;
1906 };
1907 qcom,msm_fastrpc_compute_cb5 {
1908 compatible = "qcom,msm-fastrpc-compute-cb";
1909 label = "cdsprpc-smd";
1910 iommus = <&apps_smmu 0x1425 0x30>;
1911 dma-coherent;
1912 };
1913 qcom,msm_fastrpc_compute_cb6 {
1914 compatible = "qcom,msm-fastrpc-compute-cb";
1915 label = "cdsprpc-smd";
1916 iommus = <&apps_smmu 0x1426 0x30>;
1917 dma-coherent;
1918 };
1919 qcom,msm_fastrpc_compute_cb7 {
1920 compatible = "qcom,msm-fastrpc-compute-cb";
1921 label = "cdsprpc-smd";
1922 qcom,secure-context-bank;
1923 iommus = <&apps_smmu 0x1429 0x30>;
1924 dma-coherent;
1925 };
1926 qcom,msm_fastrpc_compute_cb8 {
1927 compatible = "qcom,msm-fastrpc-compute-cb";
1928 label = "cdsprpc-smd";
1929 qcom,secure-context-bank;
1930 iommus = <&apps_smmu 0x142A 0x30>;
1931 dma-coherent;
1932 };
1933 qcom,msm_fastrpc_compute_cb9 {
1934 compatible = "qcom,msm-fastrpc-compute-cb";
1935 label = "adsprpc-smd";
1936 iommus = <&apps_smmu 0x1803 0x0>;
1937 dma-coherent;
1938 };
1939 qcom,msm_fastrpc_compute_cb10 {
1940 compatible = "qcom,msm-fastrpc-compute-cb";
1941 label = "adsprpc-smd";
1942 iommus = <&apps_smmu 0x1804 0x0>;
1943 dma-coherent;
1944 };
1945 qcom,msm_fastrpc_compute_cb11 {
1946 compatible = "qcom,msm-fastrpc-compute-cb";
1947 label = "adsprpc-smd";
1948 iommus = <&apps_smmu 0x1805 0x0>;
1949 dma-coherent;
1950 };
1951 };
Imran Khan04f08312017-03-30 15:07:43 +05301952};
1953
1954#include "sdm670-pinctrl.dtsi"
Vijayanand Jittad48c4082017-06-07 15:07:51 +05301955#include "msm-arm-smmu-sdm670.dtsi"
Odelu Kukatla1fe3a222017-06-01 16:24:59 +05301956#include "msm-gdsc-sdm845.dtsi"
Maulik Shahd313ea82017-06-14 13:10:52 +05301957#include "sdm670-pm.dtsi"
Odelu Kukatla1fe3a222017-06-01 16:24:59 +05301958
1959&usb30_prim_gdsc {
1960 status = "ok";
1961};
1962
1963&ufs_phy_gdsc {
1964 status = "ok";
1965};
1966
1967&hlos1_vote_aggre_noc_mmu_audio_tbu_gdsc {
1968 status = "ok";
1969};
1970
1971&hlos1_vote_aggre_noc_mmu_tbu1_gdsc {
1972 status = "ok";
1973};
1974
1975&hlos1_vote_aggre_noc_mmu_tbu2_gdsc {
1976 status = "ok";
1977};
1978
Odelu Kukatla1186d2e2017-08-04 17:28:46 +05301979&hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc {
1980 status = "ok";
1981};
1982
1983&hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc {
1984 status = "ok";
1985};
1986
1987&hlos1_vote_mmnoc_mmu_tbu_sf_gdsc {
1988 status = "ok";
1989};
1990
Odelu Kukatla1fe3a222017-06-01 16:24:59 +05301991&bps_gdsc {
1992 status = "ok";
1993};
1994
1995&ife_0_gdsc {
1996 status = "ok";
1997};
1998
1999&ife_1_gdsc {
2000 status = "ok";
2001};
2002
2003&ipe_0_gdsc {
2004 status = "ok";
2005};
2006
2007&ipe_1_gdsc {
2008 status = "ok";
2009};
2010
2011&titan_top_gdsc {
2012 status = "ok";
2013};
2014
2015&mdss_core_gdsc {
2016 status = "ok";
2017};
2018
2019&gpu_cx_gdsc {
2020 status = "ok";
2021};
2022
2023&gpu_gx_gdsc {
2024 clock-names = "core_root_clk";
2025 clocks = <&clock_gfx GPU_CC_GX_GFX3D_CLK_SRC>;
2026 qcom,force-enable-root-clk;
Odelu Kukatla1186d2e2017-08-04 17:28:46 +05302027 parent-supply = <&pm660l_s2_level>;
Odelu Kukatla1fe3a222017-06-01 16:24:59 +05302028 status = "ok";
2029};
2030
2031&vcodec0_gdsc {
2032 qcom,support-hw-trigger;
2033 status = "ok";
2034};
2035
2036&vcodec1_gdsc {
2037 qcom,support-hw-trigger;
2038 status = "ok";
2039};
2040
2041&venus_gdsc {
2042 status = "ok";
2043};
Tirupathi Reddy0cfe2082017-06-08 14:24:13 +05302044
Tirupathi Reddy242bd802017-06-09 11:31:05 +05302045#include "pm660.dtsi"
2046#include "pm660l.dtsi"
Tirupathi Reddy0cfe2082017-06-08 14:24:13 +05302047#include "sdm670-regulator.dtsi"
Rohit Kumar14051282017-07-12 11:18:48 +05302048#include "sdm670-audio.dtsi"
Pratham Pratap9e420a32017-09-05 11:26:57 +05302049#include "sdm670-usb.dtsi"
Rajesh Kemisettiba56c482017-08-31 18:12:35 +05302050#include "sdm670-gpu.dtsi"