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