Debian Codegraph @

arch/arm64/boot/dts/qcom/sm8550.dtsi

raw
1 // SPDX-License-Identifier: BSD-3-Clause
2 /*
3 * Copyright (c) 2022, Linaro Limited
4 */
5
6 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
7 #include <dt-bindings/clock/qcom,rpmh.h>
8 #include <dt-bindings/clock/qcom,sm8450-videocc.h>
9 #include <dt-bindings/clock/qcom,sm8550-camcc.h>
10 #include <dt-bindings/clock/qcom,sm8550-gcc.h>
11 #include <dt-bindings/clock/qcom,sm8550-gpucc.h>
12 #include <dt-bindings/clock/qcom,sm8550-tcsr.h>
13 #include <dt-bindings/clock/qcom,sm8550-dispcc.h>
14 #include <dt-bindings/dma/qcom-gpi.h>
15 #include <dt-bindings/firmware/qcom,scm.h>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/interrupt-controller/arm-gic.h>
18 #include <dt-bindings/interconnect/qcom,icc.h>
19 #include <dt-bindings/interconnect/qcom,sm8550-rpmh.h>
20 #include <dt-bindings/mailbox/qcom-ipcc.h>
21 #include <dt-bindings/power/qcom-rpmpd.h>
22 #include <dt-bindings/power/qcom,rpmhpd.h>
23 #include <dt-bindings/soc/qcom,gpr.h>
24 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
25 #include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
26 #include <dt-bindings/phy/phy-qcom-qmp.h>
27 #include <dt-bindings/thermal/thermal.h>
28
29 / {
30 interrupt-parent = <&intc>;
31
32 #address-cells = <2>;
33 #size-cells = <2>;
34
35 chosen { };
36
37 clocks {
38 xo_board: xo-board {
39 compatible = "fixed-clock";
40 #clock-cells = <0>;
41 };
42
43 sleep_clk: sleep-clk {
44 compatible = "fixed-clock";
45 #clock-cells = <0>;
46 };
47
48 bi_tcxo_div2: bi-tcxo-div2-clk {
49 #clock-cells = <0>;
50 compatible = "fixed-factor-clock";
51 clocks = <&rpmhcc RPMH_CXO_CLK>;
52 clock-mult = <1>;
53 clock-div = <2>;
54 };
55
56 bi_tcxo_ao_div2: bi-tcxo-ao-div2-clk {
57 #clock-cells = <0>;
58 compatible = "fixed-factor-clock";
59 clocks = <&rpmhcc RPMH_CXO_CLK_A>;
60 clock-mult = <1>;
61 clock-div = <2>;
62 };
63 };
64
65 cpus {
66 #address-cells = <2>;
67 #size-cells = <0>;
68
69 cpu0: cpu@0 {
70 device_type = "cpu";
71 compatible = "arm,cortex-a510";
72 reg = <0 0>;
73 clocks = <&cpufreq_hw 0>;
74 enable-method = "psci";
75 next-level-cache = <&l2_0>;
76 power-domains = <&cpu_pd0>;
77 power-domain-names = "psci";
78 qcom,freq-domain = <&cpufreq_hw 0>;
79 capacity-dmips-mhz = <1024>;
80 dynamic-power-coefficient = <100>;
81 #cooling-cells = <2>;
82 l2_0: l2-cache {
83 compatible = "cache";
84 cache-level = <2>;
85 cache-unified;
86 next-level-cache = <&l3_0>;
87 l3_0: l3-cache {
88 compatible = "cache";
89 cache-level = <3>;
90 cache-unified;
91 };
92 };
93 };
94
95 cpu1: cpu@100 {
96 device_type = "cpu";
97 compatible = "arm,cortex-a510";
98 reg = <0 0x100>;
99 clocks = <&cpufreq_hw 0>;
100 enable-method = "psci";
101 next-level-cache = <&l2_100>;
102 power-domains = <&cpu_pd1>;
103 power-domain-names = "psci";
104 qcom,freq-domain = <&cpufreq_hw 0>;
105 capacity-dmips-mhz = <1024>;
106 dynamic-power-coefficient = <100>;
107 #cooling-cells = <2>;
108 l2_100: l2-cache {
109 compatible = "cache";
110 cache-level = <2>;
111 cache-unified;
112 next-level-cache = <&l3_0>;
113 };
114 };
115
116 cpu2: cpu@200 {
117 device_type = "cpu";
118 compatible = "arm,cortex-a510";
119 reg = <0 0x200>;
120 clocks = <&cpufreq_hw 0>;
121 enable-method = "psci";
122 next-level-cache = <&l2_200>;
123 power-domains = <&cpu_pd2>;
124 power-domain-names = "psci";
125 qcom,freq-domain = <&cpufreq_hw 0>;
126 capacity-dmips-mhz = <1024>;
127 dynamic-power-coefficient = <100>;
128 #cooling-cells = <2>;
129 l2_200: l2-cache {
130 compatible = "cache";
131 cache-level = <2>;
132 cache-unified;
133 next-level-cache = <&l3_0>;
134 };
135 };
136
137 cpu3: cpu@300 {
138 device_type = "cpu";
139 compatible = "arm,cortex-a715";
140 reg = <0 0x300>;
141 clocks = <&cpufreq_hw 1>;
142 enable-method = "psci";
143 next-level-cache = <&l2_300>;
144 power-domains = <&cpu_pd3>;
145 power-domain-names = "psci";
146 qcom,freq-domain = <&cpufreq_hw 1>;
147 capacity-dmips-mhz = <1792>;
148 dynamic-power-coefficient = <270>;
149 #cooling-cells = <2>;
150 l2_300: l2-cache {
151 compatible = "cache";
152 cache-level = <2>;
153 cache-unified;
154 next-level-cache = <&l3_0>;
155 };
156 };
157
158 cpu4: cpu@400 {
159 device_type = "cpu";
160 compatible = "arm,cortex-a715";
161 reg = <0 0x400>;
162 clocks = <&cpufreq_hw 1>;
163 enable-method = "psci";
164 next-level-cache = <&l2_400>;
165 power-domains = <&cpu_pd4>;
166 power-domain-names = "psci";
167 qcom,freq-domain = <&cpufreq_hw 1>;
168 capacity-dmips-mhz = <1792>;
169 dynamic-power-coefficient = <270>;
170 #cooling-cells = <2>;
171 l2_400: l2-cache {
172 compatible = "cache";
173 cache-level = <2>;
174 cache-unified;
175 next-level-cache = <&l3_0>;
176 };
177 };
178
179 cpu5: cpu@500 {
180 device_type = "cpu";
181 compatible = "arm,cortex-a710";
182 reg = <0 0x500>;
183 clocks = <&cpufreq_hw 1>;
184 enable-method = "psci";
185 next-level-cache = <&l2_500>;
186 power-domains = <&cpu_pd5>;
187 power-domain-names = "psci";
188 qcom,freq-domain = <&cpufreq_hw 1>;
189 capacity-dmips-mhz = <1792>;
190 dynamic-power-coefficient = <270>;
191 #cooling-cells = <2>;
192 l2_500: l2-cache {
193 compatible = "cache";
194 cache-level = <2>;
195 cache-unified;
196 next-level-cache = <&l3_0>;
197 };
198 };
199
200 cpu6: cpu@600 {
201 device_type = "cpu";
202 compatible = "arm,cortex-a710";
203 reg = <0 0x600>;
204 clocks = <&cpufreq_hw 1>;
205 enable-method = "psci";
206 next-level-cache = <&l2_600>;
207 power-domains = <&cpu_pd6>;
208 power-domain-names = "psci";
209 qcom,freq-domain = <&cpufreq_hw 1>;
210 capacity-dmips-mhz = <1792>;
211 dynamic-power-coefficient = <270>;
212 #cooling-cells = <2>;
213 l2_600: l2-cache {
214 compatible = "cache";
215 cache-level = <2>;
216 cache-unified;
217 next-level-cache = <&l3_0>;
218 };
219 };
220
221 cpu7: cpu@700 {
222 device_type = "cpu";
223 compatible = "arm,cortex-x3";
224 reg = <0 0x700>;
225 clocks = <&cpufreq_hw 2>;
226 enable-method = "psci";
227 next-level-cache = <&l2_700>;
228 power-domains = <&cpu_pd7>;
229 power-domain-names = "psci";
230 qcom,freq-domain = <&cpufreq_hw 2>;
231 capacity-dmips-mhz = <1894>;
232 dynamic-power-coefficient = <588>;
233 #cooling-cells = <2>;
234 l2_700: l2-cache {
235 compatible = "cache";
236 cache-level = <2>;
237 cache-unified;
238 next-level-cache = <&l3_0>;
239 };
240 };
241
242 cpu-map {
243 cluster0 {
244 core0 {
245 cpu = <&cpu0>;
246 };
247
248 core1 {
249 cpu = <&cpu1>;
250 };
251
252 core2 {
253 cpu = <&cpu2>;
254 };
255
256 core3 {
257 cpu = <&cpu3>;
258 };
259
260 core4 {
261 cpu = <&cpu4>;
262 };
263
264 core5 {
265 cpu = <&cpu5>;
266 };
267
268 core6 {
269 cpu = <&cpu6>;
270 };
271
272 core7 {
273 cpu = <&cpu7>;
274 };
275 };
276 };
277
278 idle-states {
279 entry-method = "psci";
280
281 little_cpu_sleep_0: cpu-sleep-0-0 {
282 compatible = "arm,idle-state";
283 idle-state-name = "silver-rail-power-collapse";
284 arm,psci-suspend-param = <0x40000004>;
285 entry-latency-us = <550>;
286 exit-latency-us = <750>;
287 min-residency-us = <6700>;
288 local-timer-stop;
289 };
290
291 big_cpu_sleep_0: cpu-sleep-1-0 {
292 compatible = "arm,idle-state";
293 idle-state-name = "gold-rail-power-collapse";
294 arm,psci-suspend-param = <0x40000004>;
295 entry-latency-us = <600>;
296 exit-latency-us = <1300>;
297 min-residency-us = <8136>;
298 local-timer-stop;
299 };
300
301 prime_cpu_sleep_0: cpu-sleep-2-0 {
302 compatible = "arm,idle-state";
303 idle-state-name = "goldplus-rail-power-collapse";
304 arm,psci-suspend-param = <0x40000004>;
305 entry-latency-us = <500>;
306 exit-latency-us = <1350>;
307 min-residency-us = <7480>;
308 local-timer-stop;
309 };
310 };
311
312 domain-idle-states {
313 cluster_sleep_0: cluster-sleep-0 {
314 compatible = "domain-idle-state";
315 arm,psci-suspend-param = <0x41000044>;
316 entry-latency-us = <750>;
317 exit-latency-us = <2350>;
318 min-residency-us = <9144>;
319 };
320
321 cluster_sleep_1: cluster-sleep-1 {
322 compatible = "domain-idle-state";
323 arm,psci-suspend-param = <0x4100c344>;
324 entry-latency-us = <2800>;
325 exit-latency-us = <4400>;
326 min-residency-us = <10150>;
327 };
328 };
329 };
330
331 firmware {
332 scm: scm {
333 compatible = "qcom,scm-sm8550", "qcom,scm";
334 qcom,dload-mode = <&tcsr 0x19000>;
335 interconnects = <&aggre2_noc MASTER_CRYPTO QCOM_ICC_TAG_ALWAYS
336 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
337 };
338 };
339
340 clk_virt: interconnect-0 {
341 compatible = "qcom,sm8550-clk-virt";
342 #interconnect-cells = <2>;
343 qcom,bcm-voters = <&apps_bcm_voter>;
344 };
345
346 mc_virt: interconnect-1 {
347 compatible = "qcom,sm8550-mc-virt";
348 #interconnect-cells = <2>;
349 qcom,bcm-voters = <&apps_bcm_voter>;
350 };
351
352 qup_opp_table_100mhz: opp-table-qup100mhz {
353 compatible = "operating-points-v2";
354
355 opp-75000000 {
356 opp-hz = /bits/ 64 <75000000>;
357 required-opps = <&rpmhpd_opp_low_svs>;
358 };
359
360 opp-100000000 {
361 opp-hz = /bits/ 64 <100000000>;
362 required-opps = <&rpmhpd_opp_svs>;
363 };
364 };
365
366 qup_opp_table_120mhz: opp-table-qup120mhz {
367 compatible = "operating-points-v2";
368
369 opp-75000000 {
370 opp-hz = /bits/ 64 <75000000>;
371 required-opps = <&rpmhpd_opp_low_svs>;
372 };
373
374 opp-120000000 {
375 opp-hz = /bits/ 64 <120000000>;
376 required-opps = <&rpmhpd_opp_svs>;
377 };
378 };
379
380 qup_opp_table_125mhz: opp-table-qup125mhz {
381 compatible = "operating-points-v2";
382
383 opp-75000000 {
384 opp-hz = /bits/ 64 <75000000>;
385 required-opps = <&rpmhpd_opp_low_svs>;
386 };
387
388 opp-125000000 {
389 opp-hz = /bits/ 64 <125000000>;
390 required-opps = <&rpmhpd_opp_svs>;
391 };
392 };
393
394 memory@a0000000 {
395 device_type = "memory";
396 /* We expect the bootloader to fill in the size */
397 reg = <0 0xa0000000 0 0>;
398 };
399
400 pmu-a510 {
401 compatible = "arm,cortex-a510-pmu";
402 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster0>;
403 };
404
405 pmu-a710 {
406 compatible = "arm,cortex-a710-pmu";
407 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster1>;
408 };
409
410 pmu-a715 {
411 compatible = "arm,cortex-a715-pmu";
412 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster2>;
413 };
414
415 pmu-x3 {
416 compatible = "arm,cortex-x3-pmu";
417 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster3>;
418 };
419
420 psci {
421 compatible = "arm,psci-1.0";
422 method = "smc";
423
424 cpu_pd0: power-domain-cpu0 {
425 #power-domain-cells = <0>;
426 power-domains = <&cluster_pd>;
427 domain-idle-states = <&little_cpu_sleep_0>;
428 };
429
430 cpu_pd1: power-domain-cpu1 {
431 #power-domain-cells = <0>;
432 power-domains = <&cluster_pd>;
433 domain-idle-states = <&little_cpu_sleep_0>;
434 };
435
436 cpu_pd2: power-domain-cpu2 {
437 #power-domain-cells = <0>;
438 power-domains = <&cluster_pd>;
439 domain-idle-states = <&little_cpu_sleep_0>;
440 };
441
442 cpu_pd3: power-domain-cpu3 {
443 #power-domain-cells = <0>;
444 power-domains = <&cluster_pd>;
445 domain-idle-states = <&big_cpu_sleep_0>;
446 };
447
448 cpu_pd4: power-domain-cpu4 {
449 #power-domain-cells = <0>;
450 power-domains = <&cluster_pd>;
451 domain-idle-states = <&big_cpu_sleep_0>;
452 };
453
454 cpu_pd5: power-domain-cpu5 {
455 #power-domain-cells = <0>;
456 power-domains = <&cluster_pd>;
457 domain-idle-states = <&big_cpu_sleep_0>;
458 };
459
460 cpu_pd6: power-domain-cpu6 {
461 #power-domain-cells = <0>;
462 power-domains = <&cluster_pd>;
463 domain-idle-states = <&big_cpu_sleep_0>;
464 };
465
466 cpu_pd7: power-domain-cpu7 {
467 #power-domain-cells = <0>;
468 power-domains = <&cluster_pd>;
469 domain-idle-states = <&prime_cpu_sleep_0>;
470 };
471
472 cluster_pd: power-domain-cluster {
473 #power-domain-cells = <0>;
474 domain-idle-states = <&cluster_sleep_0>, <&cluster_sleep_1>;
475 };
476 };
477
478 reserved_memory: reserved-memory {
479 #address-cells = <2>;
480 #size-cells = <2>;
481 ranges;
482
483 hyp_mem: hyp-region@80000000 {
484 reg = <0 0x80000000 0 0xa00000>;
485 no-map;
486 };
487
488 cpusys_vm_mem: cpusys-vm-region@80a00000 {
489 reg = <0 0x80a00000 0 0x400000>;
490 no-map;
491 };
492
493 hyp_tags_mem: hyp-tags-region@80e00000 {
494 reg = <0 0x80e00000 0 0x3d0000>;
495 no-map;
496 };
497
498 xbl_sc_mem: xbl-sc-region@d8100000 {
499 reg = <0 0xd8100000 0 0x40000>;
500 no-map;
501 };
502
503 hyp_tags_reserved_mem: hyp-tags-reserved-region@811d0000 {
504 reg = <0 0x811d0000 0 0x30000>;
505 no-map;
506 };
507
508 /* merged xbl_dt_log, xbl_ramdump, aop_image */
509 xbl_dt_log_merged_mem: xbl-dt-log-merged-region@81a00000 {
510 reg = <0 0x81a00000 0 0x260000>;
511 no-map;
512 };
513
514 aop_cmd_db_mem: aop-cmd-db-region@81c60000 {
515 compatible = "qcom,cmd-db";
516 reg = <0 0x81c60000 0 0x20000>;
517 no-map;
518 };
519
520 /* merged aop_config, tme_crash_dump, tme_log, uefi_log */
521 aop_config_merged_mem: aop-config-merged-region@81c80000 {
522 reg = <0 0x81c80000 0 0x74000>;
523 no-map;
524 };
525
526 /* secdata region can be reused by apps */
527 smem: smem@81d00000 {
528 compatible = "qcom,smem";
529 reg = <0 0x81d00000 0 0x200000>;
530 hwlocks = <&tcsr_mutex 3>;
531 no-map;
532 };
533
534 adsp_mhi_mem: adsp-mhi-region@81f00000 {
535 reg = <0 0x81f00000 0 0x20000>;
536 no-map;
537 };
538
539 global_sync_mem: global-sync-region@82600000 {
540 reg = <0 0x82600000 0 0x100000>;
541 no-map;
542 };
543
544 tz_stat_mem: tz-stat-region@82700000 {
545 reg = <0 0x82700000 0 0x100000>;
546 no-map;
547 };
548
549 cdsp_secure_heap_mem: cdsp-secure-heap-region@82800000 {
550 reg = <0 0x82800000 0 0x4600000>;
551 no-map;
552 };
553
554 mpss_mem: mpss-region@8a800000 {
555 reg = <0 0x8a800000 0 0x10800000>;
556 no-map;
557 };
558
559 q6_mpss_dtb_mem: q6-mpss-dtb-region@9b000000 {
560 reg = <0 0x9b000000 0 0x80000>;
561 no-map;
562 };
563
564 ipa_fw_mem: ipa-fw-region@9b080000 {
565 reg = <0 0x9b080000 0 0x10000>;
566 no-map;
567 };
568
569 ipa_gsi_mem: ipa-gsi-region@9b090000 {
570 reg = <0 0x9b090000 0 0xa000>;
571 no-map;
572 };
573
574 gpu_micro_code_mem: gpu-micro-code-region@9b09a000 {
575 reg = <0 0x9b09a000 0 0x2000>;
576 no-map;
577 };
578
579 spss_region_mem: spss-region@9b100000 {
580 reg = <0 0x9b100000 0 0x180000>;
581 no-map;
582 };
583
584 /* First part of the "SPU secure shared memory" region */
585 spu_tz_shared_mem: spu-tz-shared-region@9b280000 {
586 reg = <0 0x9b280000 0 0x60000>;
587 no-map;
588 };
589
590 /* Second part of the "SPU secure shared memory" region */
591 spu_modem_shared_mem: spu-modem-shared-region@9b2e0000 {
592 reg = <0 0x9b2e0000 0 0x20000>;
593 no-map;
594 };
595
596 camera_mem: camera-region@9b300000 {
597 reg = <0 0x9b300000 0 0x800000>;
598 no-map;
599 };
600
601 video_mem: video-region@9bb00000 {
602 reg = <0 0x9bb00000 0 0x700000>;
603 no-map;
604 };
605
606 cvp_mem: cvp-region@9c200000 {
607 reg = <0 0x9c200000 0 0x700000>;
608 no-map;
609 };
610
611 cdsp_mem: cdsp-region@9c900000 {
612 reg = <0 0x9c900000 0 0x2000000>;
613 no-map;
614 };
615
616 q6_cdsp_dtb_mem: q6-cdsp-dtb-region@9e900000 {
617 reg = <0 0x9e900000 0 0x80000>;
618 no-map;
619 };
620
621 q6_adsp_dtb_mem: q6-adsp-dtb-region@9e980000 {
622 reg = <0 0x9e980000 0 0x80000>;
623 no-map;
624 };
625
626 adspslpi_mem: adspslpi-region@9ea00000 {
627 reg = <0 0x9ea00000 0 0x4080000>;
628 no-map;
629 };
630
631 /* uefi region can be reused by apps */
632
633 /* Linux kernel image is loaded at 0xa8000000 */
634
635 rmtfs_mem: rmtfs-region@d4a80000 {
636 compatible = "qcom,rmtfs-mem";
637 reg = <0x0 0xd4a80000 0x0 0x280000>;
638 no-map;
639
640 qcom,client-id = <1>;
641 qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
642 };
643
644 mpss_dsm_mem: mpss-dsm-region@d4d00000 {
645 reg = <0 0xd4d00000 0 0x3300000>;
646 no-map;
647 };
648
649 tz_reserved_mem: tz-reserved-region@d8000000 {
650 reg = <0 0xd8000000 0 0x100000>;
651 no-map;
652 };
653
654 cpucp_fw_mem: cpucp-fw-region@d8140000 {
655 reg = <0 0xd8140000 0 0x1c0000>;
656 no-map;
657 };
658
659 qtee_mem: qtee-region@d8300000 {
660 reg = <0 0xd8300000 0 0x500000>;
661 no-map;
662 };
663
664 ta_mem: ta-region@d8800000 {
665 reg = <0 0xd8800000 0 0x8a00000>;
666 no-map;
667 };
668
669 tz_tags_mem: tz-tags-region@e1200000 {
670 reg = <0 0xe1200000 0 0x2740000>;
671 no-map;
672 };
673
674 hwfence_shbuf: hwfence-shbuf-region@e6440000 {
675 reg = <0 0xe6440000 0 0x279000>;
676 no-map;
677 };
678
679 trust_ui_vm_mem: trust-ui-vm-region@f3600000 {
680 reg = <0 0xf3600000 0 0x4aee000>;
681 no-map;
682 };
683
684 trust_ui_vm_dump: trust-ui-vm-dump-region@f80ee000 {
685 reg = <0 0xf80ee000 0 0x1000>;
686 no-map;
687 };
688
689 trust_ui_vm_qrtr: trust-ui-vm-qrt-region@f80ef000 {
690 reg = <0 0xf80ef000 0 0x9000>;
691 no-map;
692 };
693
694 trust_ui_vm_vblk0_ring: trust-ui-vm-vblk0-ring-region@f80f8000 {
695 reg = <0 0xf80f8000 0 0x4000>;
696 no-map;
697 };
698
699 trust_ui_vm_vblk1_ring: trust-ui-vm-vblk1-ring-region@f80fc000 {
700 reg = <0 0xf80fc000 0 0x4000>;
701 no-map;
702 };
703
704 trust_ui_vm_swiotlb: trust-ui-vm-swiotlb-region@f8100000 {
705 reg = <0 0xf8100000 0 0x100000>;
706 no-map;
707 };
708
709 oem_vm_mem: oem-vm-region@f8400000 {
710 reg = <0 0xf8400000 0 0x4800000>;
711 no-map;
712 };
713
714 oem_vm_vblk0_ring: oem-vm-vblk0-ring-region@fcc00000 {
715 reg = <0 0xfcc00000 0 0x4000>;
716 no-map;
717 };
718
719 oem_vm_swiotlb: oem-vm-swiotlb-region@fcc04000 {
720 reg = <0 0xfcc04000 0 0x100000>;
721 no-map;
722 };
723
724 hyp_ext_tags_mem: hyp-ext-tags-region@fce00000 {
725 reg = <0 0xfce00000 0 0x2900000>;
726 no-map;
727 };
728
729 hyp_ext_reserved_mem: hyp-ext-reserved-region@ff700000 {
730 reg = <0 0xff700000 0 0x100000>;
731 no-map;
732 };
733 };
734
735 smp2p-adsp {
736 compatible = "qcom,smp2p";
737 qcom,smem = <443>, <429>;
738 interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
739 IPCC_MPROC_SIGNAL_SMP2P
740 IRQ_TYPE_EDGE_RISING>;
741 mboxes = <&ipcc IPCC_CLIENT_LPASS
742 IPCC_MPROC_SIGNAL_SMP2P>;
743
744 qcom,local-pid = <0>;
745 qcom,remote-pid = <2>;
746
747 smp2p_adsp_out: master-kernel {
748 qcom,entry-name = "master-kernel";
749 #qcom,smem-state-cells = <1>;
750 };
751
752 smp2p_adsp_in: slave-kernel {
753 qcom,entry-name = "slave-kernel";
754 interrupt-controller;
755 #interrupt-cells = <2>;
756 };
757 };
758
759 smp2p-cdsp {
760 compatible = "qcom,smp2p";
761 qcom,smem = <94>, <432>;
762 interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
763 IPCC_MPROC_SIGNAL_SMP2P
764 IRQ_TYPE_EDGE_RISING>;
765 mboxes = <&ipcc IPCC_CLIENT_CDSP
766 IPCC_MPROC_SIGNAL_SMP2P>;
767
768 qcom,local-pid = <0>;
769 qcom,remote-pid = <5>;
770
771 smp2p_cdsp_out: master-kernel {
772 qcom,entry-name = "master-kernel";
773 #qcom,smem-state-cells = <1>;
774 };
775
776 smp2p_cdsp_in: slave-kernel {
777 qcom,entry-name = "slave-kernel";
778 interrupt-controller;
779 #interrupt-cells = <2>;
780 };
781 };
782
783 smp2p-modem {
784 compatible = "qcom,smp2p";
785 qcom,smem = <435>, <428>;
786 interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
787 IPCC_MPROC_SIGNAL_SMP2P
788 IRQ_TYPE_EDGE_RISING>;
789 mboxes = <&ipcc IPCC_CLIENT_MPSS
790 IPCC_MPROC_SIGNAL_SMP2P>;
791
792 qcom,local-pid = <0>;
793 qcom,remote-pid = <1>;
794
795 smp2p_modem_out: master-kernel {
796 qcom,entry-name = "master-kernel";
797 #qcom,smem-state-cells = <1>;
798 };
799
800 smp2p_modem_in: slave-kernel {
801 qcom,entry-name = "slave-kernel";
802 interrupt-controller;
803 #interrupt-cells = <2>;
804 };
805
806 ipa_smp2p_out: ipa-ap-to-modem {
807 qcom,entry-name = "ipa";
808 #qcom,smem-state-cells = <1>;
809 };
810
811 ipa_smp2p_in: ipa-modem-to-ap {
812 qcom,entry-name = "ipa";
813 interrupt-controller;
814 #interrupt-cells = <2>;
815 };
816 };
817
818 soc: soc@0 {
819 compatible = "simple-bus";
820 ranges = <0 0 0 0 0x10 0>;
821 dma-ranges = <0 0 0 0 0x10 0>;
822
823 #address-cells = <2>;
824 #size-cells = <2>;
825
826 gcc: clock-controller@100000 {
827 compatible = "qcom,sm8550-gcc";
828 reg = <0 0x00100000 0 0x1f4200>;
829 #clock-cells = <1>;
830 #reset-cells = <1>;
831 #power-domain-cells = <1>;
832 clocks = <&bi_tcxo_div2>, <&sleep_clk>,
833 <&pcie0_phy>,
834 <&pcie1_phy QMP_PCIE_PIPE_CLK>,
835 <&pcie1_phy QMP_PCIE_PHY_AUX_CLK>,
836 <&ufs_mem_phy 0>,
837 <&ufs_mem_phy 1>,
838 <&ufs_mem_phy 2>,
839 <&usb_dp_qmpphy QMP_USB43DP_USB3_PIPE_CLK>;
840 };
841
842 ipcc: mailbox@408000 {
843 compatible = "qcom,sm8550-ipcc", "qcom,ipcc";
844 reg = <0 0x00408000 0 0x1000>;
845 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH 0>;
846 interrupt-controller;
847 #interrupt-cells = <3>;
848 #mbox-cells = <2>;
849 };
850
851 gpi_dma2: dma-controller@800000 {
852 compatible = "qcom,sm8550-gpi-dma", "qcom,sm6350-gpi-dma";
853 #dma-cells = <3>;
854 reg = <0 0x00800000 0 0x60000>;
855 interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH 0>,
856 <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH 0>,
857 <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH 0>,
858 <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH 0>,
859 <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH 0>,
860 <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH 0>,
861 <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH 0>,
862 <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH 0>,
863 <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH 0>,
864 <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH 0>,
865 <GIC_SPI 598 IRQ_TYPE_LEVEL_HIGH 0>,
866 <GIC_SPI 599 IRQ_TYPE_LEVEL_HIGH 0>;
867 dma-channels = <12>;
868 dma-channel-mask = <0x3e>;
869 iommus = <&apps_smmu 0x436 0>;
870 dma-coherent;
871 status = "disabled";
872 };
873
874 qupv3_id_1: geniqup@8c0000 {
875 compatible = "qcom,geni-se-qup";
876 reg = <0 0x008c0000 0 0x2000>;
877 ranges;
878 clock-names = "m-ahb", "s-ahb";
879 clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>,
880 <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>;
881 iommus = <&apps_smmu 0x423 0>;
882 dma-coherent;
883 #address-cells = <2>;
884 #size-cells = <2>;
885 status = "disabled";
886
887 i2c8: i2c@880000 {
888 compatible = "qcom,geni-i2c";
889 reg = <0 0x00880000 0 0x4000>;
890 clock-names = "se";
891 clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
892 pinctrl-names = "default";
893 pinctrl-0 = <&qup_i2c8_data_clk>;
894 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH 0>;
895 #address-cells = <1>;
896 #size-cells = <0>;
897 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
898 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
899 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
900 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
901 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
902 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
903 interconnect-names = "qup-core", "qup-config", "qup-memory";
904 dmas = <&gpi_dma2 0 0 QCOM_GPI_I2C>,
905 <&gpi_dma2 1 0 QCOM_GPI_I2C>;
906 dma-names = "tx", "rx";
907 power-domains = <&rpmhpd RPMHPD_CX>;
908 operating-points-v2 = <&qup_opp_table_120mhz>;
909 status = "disabled";
910 };
911
912 spi8: spi@880000 {
913 compatible = "qcom,geni-spi";
914 reg = <0 0x00880000 0 0x4000>;
915 clock-names = "se";
916 clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
917 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH 0>;
918 pinctrl-names = "default";
919 pinctrl-0 = <&qup_spi8_data_clk>, <&qup_spi8_cs>;
920 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
921 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
922 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
923 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
924 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
925 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
926 interconnect-names = "qup-core", "qup-config", "qup-memory";
927 dmas = <&gpi_dma2 0 0 QCOM_GPI_SPI>,
928 <&gpi_dma2 1 0 QCOM_GPI_SPI>;
929 dma-names = "tx", "rx";
930 power-domains = <&rpmhpd RPMHPD_CX>;
931 operating-points-v2 = <&qup_opp_table_120mhz>;
932 #address-cells = <1>;
933 #size-cells = <0>;
934 status = "disabled";
935 };
936
937 i2c9: i2c@884000 {
938 compatible = "qcom,geni-i2c";
939 reg = <0 0x00884000 0 0x4000>;
940 clock-names = "se";
941 clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
942 pinctrl-names = "default";
943 pinctrl-0 = <&qup_i2c9_data_clk>;
944 interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH 0>;
945 #address-cells = <1>;
946 #size-cells = <0>;
947 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
948 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
949 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
950 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
951 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
952 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
953 interconnect-names = "qup-core", "qup-config", "qup-memory";
954 dmas = <&gpi_dma2 0 1 QCOM_GPI_I2C>,
955 <&gpi_dma2 1 1 QCOM_GPI_I2C>;
956 dma-names = "tx", "rx";
957 power-domains = <&rpmhpd RPMHPD_CX>;
958 operating-points-v2 = <&qup_opp_table_120mhz>;
959 status = "disabled";
960 };
961
962 spi9: spi@884000 {
963 compatible = "qcom,geni-spi";
964 reg = <0 0x00884000 0 0x4000>;
965 clock-names = "se";
966 clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
967 interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH 0>;
968 pinctrl-names = "default";
969 pinctrl-0 = <&qup_spi9_data_clk>, <&qup_spi9_cs>;
970 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
971 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
972 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
973 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
974 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
975 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
976 interconnect-names = "qup-core", "qup-config", "qup-memory";
977 dmas = <&gpi_dma2 0 1 QCOM_GPI_SPI>,
978 <&gpi_dma2 1 1 QCOM_GPI_SPI>;
979 dma-names = "tx", "rx";
980 power-domains = <&rpmhpd RPMHPD_CX>;
981 operating-points-v2 = <&qup_opp_table_120mhz>;
982 #address-cells = <1>;
983 #size-cells = <0>;
984 status = "disabled";
985 };
986
987 i2c10: i2c@888000 {
988 compatible = "qcom,geni-i2c";
989 reg = <0 0x00888000 0 0x4000>;
990 clock-names = "se";
991 clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
992 pinctrl-names = "default";
993 pinctrl-0 = <&qup_i2c10_data_clk>;
994 interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH 0>;
995 #address-cells = <1>;
996 #size-cells = <0>;
997 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
998 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
999 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1000 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
1001 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1002 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1003 interconnect-names = "qup-core", "qup-config", "qup-memory";
1004 dmas = <&gpi_dma2 0 2 QCOM_GPI_I2C>,
1005 <&gpi_dma2 1 2 QCOM_GPI_I2C>;
1006 dma-names = "tx", "rx";
1007 power-domains = <&rpmhpd RPMHPD_CX>;
1008 operating-points-v2 = <&qup_opp_table_120mhz>;
1009 status = "disabled";
1010 };
1011
1012 spi10: spi@888000 {
1013 compatible = "qcom,geni-spi";
1014 reg = <0 0x00888000 0 0x4000>;
1015 clock-names = "se";
1016 clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
1017 interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH 0>;
1018 pinctrl-names = "default";
1019 pinctrl-0 = <&qup_spi10_data_clk>, <&qup_spi10_cs>;
1020 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1021 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1022 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1023 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
1024 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1025 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1026 interconnect-names = "qup-core", "qup-config", "qup-memory";
1027 dmas = <&gpi_dma2 0 2 QCOM_GPI_SPI>,
1028 <&gpi_dma2 1 2 QCOM_GPI_SPI>;
1029 dma-names = "tx", "rx";
1030 power-domains = <&rpmhpd RPMHPD_CX>;
1031 operating-points-v2 = <&qup_opp_table_120mhz>;
1032 #address-cells = <1>;
1033 #size-cells = <0>;
1034 status = "disabled";
1035 };
1036
1037 i2c11: i2c@88c000 {
1038 compatible = "qcom,geni-i2c";
1039 reg = <0 0x0088c000 0 0x4000>;
1040 clock-names = "se";
1041 clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
1042 pinctrl-names = "default";
1043 pinctrl-0 = <&qup_i2c11_data_clk>;
1044 interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH 0>;
1045 #address-cells = <1>;
1046 #size-cells = <0>;
1047 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1048 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1049 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1050 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
1051 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1052 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1053 interconnect-names = "qup-core", "qup-config", "qup-memory";
1054 dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>,
1055 <&gpi_dma2 1 3 QCOM_GPI_I2C>;
1056 dma-names = "tx", "rx";
1057 power-domains = <&rpmhpd RPMHPD_CX>;
1058 operating-points-v2 = <&qup_opp_table_120mhz>;
1059 status = "disabled";
1060 };
1061
1062 spi11: spi@88c000 {
1063 compatible = "qcom,geni-spi";
1064 reg = <0 0x0088c000 0 0x4000>;
1065 clock-names = "se";
1066 clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
1067 interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH 0>;
1068 pinctrl-names = "default";
1069 pinctrl-0 = <&qup_spi11_data_clk>, <&qup_spi11_cs>;
1070 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1071 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1072 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1073 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
1074 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1075 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1076 interconnect-names = "qup-core", "qup-config", "qup-memory";
1077 dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>,
1078 <&gpi_dma2 1 3 QCOM_GPI_I2C>;
1079 dma-names = "tx", "rx";
1080 power-domains = <&rpmhpd RPMHPD_CX>;
1081 operating-points-v2 = <&qup_opp_table_120mhz>;
1082 #address-cells = <1>;
1083 #size-cells = <0>;
1084 status = "disabled";
1085 };
1086
1087 i2c12: i2c@890000 {
1088 compatible = "qcom,geni-i2c";
1089 reg = <0 0x00890000 0 0x4000>;
1090 clock-names = "se";
1091 clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
1092 pinctrl-names = "default";
1093 pinctrl-0 = <&qup_i2c12_data_clk>;
1094 interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH 0>;
1095 #address-cells = <1>;
1096 #size-cells = <0>;
1097 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1098 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1099 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1100 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
1101 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1102 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1103 interconnect-names = "qup-core", "qup-config", "qup-memory";
1104 dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>,
1105 <&gpi_dma2 1 4 QCOM_GPI_I2C>;
1106 dma-names = "tx", "rx";
1107 power-domains = <&rpmhpd RPMHPD_CX>;
1108 operating-points-v2 = <&qup_opp_table_120mhz>;
1109 status = "disabled";
1110 };
1111
1112 spi12: spi@890000 {
1113 compatible = "qcom,geni-spi";
1114 reg = <0 0x00890000 0 0x4000>;
1115 clock-names = "se";
1116 clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
1117 interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH 0>;
1118 pinctrl-names = "default";
1119 pinctrl-0 = <&qup_spi12_data_clk>, <&qup_spi12_cs>;
1120 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1121 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1122 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1123 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
1124 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1125 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1126 interconnect-names = "qup-core", "qup-config", "qup-memory";
1127 dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>,
1128 <&gpi_dma2 1 4 QCOM_GPI_I2C>;
1129 dma-names = "tx", "rx";
1130 power-domains = <&rpmhpd RPMHPD_CX>;
1131 operating-points-v2 = <&qup_opp_table_120mhz>;
1132 #address-cells = <1>;
1133 #size-cells = <0>;
1134 status = "disabled";
1135 };
1136
1137 i2c13: i2c@894000 {
1138 compatible = "qcom,geni-i2c";
1139 reg = <0 0x00894000 0 0x4000>;
1140 clock-names = "se";
1141 clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
1142 pinctrl-names = "default";
1143 pinctrl-0 = <&qup_i2c13_data_clk>;
1144 interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH 0>;
1145 #address-cells = <1>;
1146 #size-cells = <0>;
1147 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1148 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1149 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1150 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
1151 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1152 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1153 interconnect-names = "qup-core", "qup-config", "qup-memory";
1154 dmas = <&gpi_dma2 0 5 QCOM_GPI_I2C>,
1155 <&gpi_dma2 1 5 QCOM_GPI_I2C>;
1156 dma-names = "tx", "rx";
1157 power-domains = <&rpmhpd RPMHPD_CX>;
1158 operating-points-v2 = <&qup_opp_table_120mhz>;
1159 status = "disabled";
1160 };
1161
1162 spi13: spi@894000 {
1163 compatible = "qcom,geni-spi";
1164 reg = <0 0x00894000 0 0x4000>;
1165 clock-names = "se";
1166 clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
1167 interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH 0>;
1168 pinctrl-names = "default";
1169 pinctrl-0 = <&qup_spi13_data_clk>, <&qup_spi13_cs>;
1170 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1171 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1172 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1173 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
1174 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1175 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1176 interconnect-names = "qup-core", "qup-config", "qup-memory";
1177 dmas = <&gpi_dma2 0 5 QCOM_GPI_SPI>,
1178 <&gpi_dma2 1 5 QCOM_GPI_SPI>;
1179 dma-names = "tx", "rx";
1180 power-domains = <&rpmhpd RPMHPD_CX>;
1181 operating-points-v2 = <&qup_opp_table_120mhz>;
1182 #address-cells = <1>;
1183 #size-cells = <0>;
1184 status = "disabled";
1185 };
1186
1187 uart14: serial@898000 {
1188 compatible = "qcom,geni-uart";
1189 reg = <0 0x898000 0 0x4000>;
1190 clock-names = "se";
1191 clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>;
1192 pinctrl-names = "default";
1193 pinctrl-0 = <&qup_uart14_default>, <&qup_uart14_cts_rts>;
1194 interrupts = <GIC_SPI 461 IRQ_TYPE_LEVEL_HIGH 0>;
1195 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1196 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1197 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1198 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>;
1199 interconnect-names = "qup-core", "qup-config";
1200 power-domains = <&rpmhpd RPMHPD_CX>;
1201 operating-points-v2 = <&qup_opp_table_125mhz>;
1202 status = "disabled";
1203 };
1204
1205 i2c15: i2c@89c000 {
1206 compatible = "qcom,geni-i2c";
1207 reg = <0 0x0089c000 0 0x4000>;
1208 clock-names = "se";
1209 clocks = <&gcc GCC_QUPV3_WRAP2_S7_CLK>;
1210 pinctrl-names = "default";
1211 pinctrl-0 = <&qup_i2c15_data_clk>;
1212 interrupts = <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH 0>;
1213 #address-cells = <1>;
1214 #size-cells = <0>;
1215 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1216 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1217 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1218 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
1219 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1220 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1221 interconnect-names = "qup-core", "qup-config", "qup-memory";
1222 dmas = <&gpi_dma2 0 7 QCOM_GPI_I2C>,
1223 <&gpi_dma2 1 7 QCOM_GPI_I2C>;
1224 dma-names = "tx", "rx";
1225 power-domains = <&rpmhpd RPMHPD_CX>;
1226 operating-points-v2 = <&qup_opp_table_100mhz>;
1227 status = "disabled";
1228 };
1229
1230 spi15: spi@89c000 {
1231 compatible = "qcom,geni-spi";
1232 reg = <0 0x0089c000 0 0x4000>;
1233 clock-names = "se";
1234 clocks = <&gcc GCC_QUPV3_WRAP2_S7_CLK>;
1235 interrupts = <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH 0>;
1236 pinctrl-names = "default";
1237 pinctrl-0 = <&qup_spi15_data_clk>, <&qup_spi15_cs>;
1238 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1239 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1240 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1241 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
1242 <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1243 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1244 interconnect-names = "qup-core", "qup-config", "qup-memory";
1245 dmas = <&gpi_dma2 0 7 QCOM_GPI_SPI>,
1246 <&gpi_dma2 1 7 QCOM_GPI_SPI>;
1247 dma-names = "tx", "rx";
1248 power-domains = <&rpmhpd RPMHPD_CX>;
1249 operating-points-v2 = <&qup_opp_table_100mhz>;
1250 #address-cells = <1>;
1251 #size-cells = <0>;
1252 status = "disabled";
1253 };
1254 };
1255
1256 i2c_master_hub_0: geniqup@9c0000 {
1257 compatible = "qcom,geni-se-i2c-master-hub";
1258 reg = <0x0 0x009c0000 0x0 0x2000>;
1259 clock-names = "s-ahb";
1260 clocks = <&gcc GCC_QUPV3_I2C_S_AHB_CLK>;
1261 #address-cells = <2>;
1262 #size-cells = <2>;
1263 ranges;
1264 status = "disabled";
1265
1266 i2c_hub_0: i2c@980000 {
1267 compatible = "qcom,geni-i2c-master-hub";
1268 reg = <0x0 0x00980000 0x0 0x4000>;
1269 clock-names = "se", "core";
1270 clocks = <&gcc GCC_QUPV3_I2C_S0_CLK>,
1271 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
1272 pinctrl-names = "default";
1273 pinctrl-0 = <&hub_i2c0_data_clk>;
1274 interrupts = <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH 0>;
1275 #address-cells = <1>;
1276 #size-cells = <0>;
1277 interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1278 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1279 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1280 &config_noc SLAVE_I2C QCOM_ICC_TAG_ACTIVE_ONLY>;
1281 interconnect-names = "qup-core", "qup-config";
1282 power-domains = <&rpmhpd RPMHPD_CX>;
1283 required-opps = <&rpmhpd_opp_low_svs>;
1284 status = "disabled";
1285 };
1286
1287 i2c_hub_1: i2c@984000 {
1288 compatible = "qcom,geni-i2c-master-hub";
1289 reg = <0x0 0x00984000 0x0 0x4000>;
1290 clock-names = "se", "core";
1291 clocks = <&gcc GCC_QUPV3_I2C_S1_CLK>,
1292 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
1293 pinctrl-names = "default";
1294 pinctrl-0 = <&hub_i2c1_data_clk>;
1295 interrupts = <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH 0>;
1296 #address-cells = <1>;
1297 #size-cells = <0>;
1298 interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1299 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1300 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1301 &config_noc SLAVE_I2C QCOM_ICC_TAG_ACTIVE_ONLY>;
1302 interconnect-names = "qup-core", "qup-config";
1303 power-domains = <&rpmhpd RPMHPD_CX>;
1304 required-opps = <&rpmhpd_opp_low_svs>;
1305 status = "disabled";
1306 };
1307
1308 i2c_hub_2: i2c@988000 {
1309 compatible = "qcom,geni-i2c-master-hub";
1310 reg = <0x0 0x00988000 0x0 0x4000>;
1311 clock-names = "se", "core";
1312 clocks = <&gcc GCC_QUPV3_I2C_S2_CLK>,
1313 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
1314 pinctrl-names = "default";
1315 pinctrl-0 = <&hub_i2c2_data_clk>;
1316 interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH 0>;
1317 #address-cells = <1>;
1318 #size-cells = <0>;
1319 interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1320 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1321 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1322 &config_noc SLAVE_I2C QCOM_ICC_TAG_ACTIVE_ONLY>;
1323 interconnect-names = "qup-core", "qup-config";
1324 power-domains = <&rpmhpd RPMHPD_CX>;
1325 required-opps = <&rpmhpd_opp_low_svs>;
1326 status = "disabled";
1327 };
1328
1329 i2c_hub_3: i2c@98c000 {
1330 compatible = "qcom,geni-i2c-master-hub";
1331 reg = <0x0 0x0098c000 0x0 0x4000>;
1332 clock-names = "se", "core";
1333 clocks = <&gcc GCC_QUPV3_I2C_S3_CLK>,
1334 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
1335 pinctrl-names = "default";
1336 pinctrl-0 = <&hub_i2c3_data_clk>;
1337 interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH 0>;
1338 #address-cells = <1>;
1339 #size-cells = <0>;
1340 interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1341 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1342 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1343 &config_noc SLAVE_I2C QCOM_ICC_TAG_ACTIVE_ONLY>;
1344 interconnect-names = "qup-core", "qup-config";
1345 power-domains = <&rpmhpd RPMHPD_CX>;
1346 required-opps = <&rpmhpd_opp_low_svs>;
1347 status = "disabled";
1348 };
1349
1350 i2c_hub_4: i2c@990000 {
1351 compatible = "qcom,geni-i2c-master-hub";
1352 reg = <0x0 0x00990000 0x0 0x4000>;
1353 clock-names = "se", "core";
1354 clocks = <&gcc GCC_QUPV3_I2C_S4_CLK>,
1355 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
1356 pinctrl-names = "default";
1357 pinctrl-0 = <&hub_i2c4_data_clk>;
1358 interrupts = <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH 0>;
1359 #address-cells = <1>;
1360 #size-cells = <0>;
1361 interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1362 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1363 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1364 &config_noc SLAVE_I2C QCOM_ICC_TAG_ACTIVE_ONLY>;
1365 interconnect-names = "qup-core", "qup-config";
1366 power-domains = <&rpmhpd RPMHPD_CX>;
1367 required-opps = <&rpmhpd_opp_low_svs>;
1368 status = "disabled";
1369 };
1370
1371 i2c_hub_5: i2c@994000 {
1372 compatible = "qcom,geni-i2c-master-hub";
1373 reg = <0 0x00994000 0 0x4000>;
1374 clock-names = "se", "core";
1375 clocks = <&gcc GCC_QUPV3_I2C_S5_CLK>,
1376 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
1377 pinctrl-names = "default";
1378 pinctrl-0 = <&hub_i2c5_data_clk>;
1379 interrupts = <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH 0>;
1380 #address-cells = <1>;
1381 #size-cells = <0>;
1382 interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1383 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1384 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1385 &config_noc SLAVE_I2C QCOM_ICC_TAG_ACTIVE_ONLY>;
1386 interconnect-names = "qup-core", "qup-config";
1387 power-domains = <&rpmhpd RPMHPD_CX>;
1388 required-opps = <&rpmhpd_opp_low_svs>;
1389 status = "disabled";
1390 };
1391
1392 i2c_hub_6: i2c@998000 {
1393 compatible = "qcom,geni-i2c-master-hub";
1394 reg = <0 0x00998000 0 0x4000>;
1395 clock-names = "se", "core";
1396 clocks = <&gcc GCC_QUPV3_I2C_S6_CLK>,
1397 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
1398 pinctrl-names = "default";
1399 pinctrl-0 = <&hub_i2c6_data_clk>;
1400 interrupts = <GIC_SPI 470 IRQ_TYPE_LEVEL_HIGH 0>;
1401 #address-cells = <1>;
1402 #size-cells = <0>;
1403 interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1404 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1405 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1406 &config_noc SLAVE_I2C QCOM_ICC_TAG_ACTIVE_ONLY>;
1407 interconnect-names = "qup-core", "qup-config";
1408 power-domains = <&rpmhpd RPMHPD_CX>;
1409 required-opps = <&rpmhpd_opp_low_svs>;
1410 status = "disabled";
1411 };
1412
1413 i2c_hub_7: i2c@99c000 {
1414 compatible = "qcom,geni-i2c-master-hub";
1415 reg = <0 0x0099c000 0 0x4000>;
1416 clock-names = "se", "core";
1417 clocks = <&gcc GCC_QUPV3_I2C_S7_CLK>,
1418 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
1419 pinctrl-names = "default";
1420 pinctrl-0 = <&hub_i2c7_data_clk>;
1421 interrupts = <GIC_SPI 471 IRQ_TYPE_LEVEL_HIGH 0>;
1422 #address-cells = <1>;
1423 #size-cells = <0>;
1424 interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1425 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1426 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1427 &config_noc SLAVE_I2C QCOM_ICC_TAG_ACTIVE_ONLY>;
1428 interconnect-names = "qup-core", "qup-config";
1429 power-domains = <&rpmhpd RPMHPD_CX>;
1430 required-opps = <&rpmhpd_opp_low_svs>;
1431 status = "disabled";
1432 };
1433
1434 i2c_hub_8: i2c@9a0000 {
1435 compatible = "qcom,geni-i2c-master-hub";
1436 reg = <0 0x009a0000 0 0x4000>;
1437 clock-names = "se", "core";
1438 clocks = <&gcc GCC_QUPV3_I2C_S8_CLK>,
1439 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
1440 pinctrl-names = "default";
1441 pinctrl-0 = <&hub_i2c8_data_clk>;
1442 interrupts = <GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH 0>;
1443 #address-cells = <1>;
1444 #size-cells = <0>;
1445 interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1446 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1447 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1448 &config_noc SLAVE_I2C QCOM_ICC_TAG_ACTIVE_ONLY>;
1449 interconnect-names = "qup-core", "qup-config";
1450 power-domains = <&rpmhpd RPMHPD_CX>;
1451 required-opps = <&rpmhpd_opp_low_svs>;
1452 status = "disabled";
1453 };
1454
1455 i2c_hub_9: i2c@9a4000 {
1456 compatible = "qcom,geni-i2c-master-hub";
1457 reg = <0 0x009a4000 0 0x4000>;
1458 clock-names = "se", "core";
1459 clocks = <&gcc GCC_QUPV3_I2C_S9_CLK>,
1460 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
1461 pinctrl-names = "default";
1462 pinctrl-0 = <&hub_i2c9_data_clk>;
1463 interrupts = <GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH 0>;
1464 #address-cells = <1>;
1465 #size-cells = <0>;
1466 interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1467 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1468 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1469 &config_noc SLAVE_I2C QCOM_ICC_TAG_ACTIVE_ONLY>;
1470 interconnect-names = "qup-core", "qup-config";
1471 power-domains = <&rpmhpd RPMHPD_CX>;
1472 required-opps = <&rpmhpd_opp_low_svs>;
1473 status = "disabled";
1474 };
1475 };
1476
1477 gpi_dma1: dma-controller@a00000 {
1478 compatible = "qcom,sm8550-gpi-dma", "qcom,sm6350-gpi-dma";
1479 #dma-cells = <3>;
1480 reg = <0 0x00a00000 0 0x60000>;
1481 interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH 0>,
1482 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH 0>,
1483 <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH 0>,
1484 <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH 0>,
1485 <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH 0>,
1486 <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH 0>,
1487 <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH 0>,
1488 <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH 0>,
1489 <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH 0>,
1490 <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH 0>,
1491 <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH 0>,
1492 <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH 0>;
1493 dma-channels = <12>;
1494 dma-channel-mask = <0x1e>;
1495 iommus = <&apps_smmu 0xb6 0>;
1496 dma-coherent;
1497 status = "disabled";
1498 };
1499
1500 qupv3_id_0: geniqup@ac0000 {
1501 compatible = "qcom,geni-se-qup";
1502 reg = <0 0x00ac0000 0 0x2000>;
1503 ranges;
1504 clock-names = "m-ahb", "s-ahb";
1505 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
1506 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
1507 iommus = <&apps_smmu 0xa3 0>;
1508 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1509 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>;
1510 interconnect-names = "qup-core";
1511 dma-coherent;
1512 #address-cells = <2>;
1513 #size-cells = <2>;
1514 status = "disabled";
1515
1516 i2c0: i2c@a80000 {
1517 compatible = "qcom,geni-i2c";
1518 reg = <0 0x00a80000 0 0x4000>;
1519 clock-names = "se";
1520 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1521 pinctrl-names = "default";
1522 pinctrl-0 = <&qup_i2c0_data_clk>;
1523 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH 0>;
1524 #address-cells = <1>;
1525 #size-cells = <0>;
1526 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1527 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1528 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1529 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1530 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1531 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1532 interconnect-names = "qup-core", "qup-config", "qup-memory";
1533 dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
1534 <&gpi_dma1 1 0 QCOM_GPI_I2C>;
1535 dma-names = "tx", "rx";
1536 power-domains = <&rpmhpd RPMHPD_CX>;
1537 operating-points-v2 = <&qup_opp_table_120mhz>;
1538 status = "disabled";
1539 };
1540
1541 spi0: spi@a80000 {
1542 compatible = "qcom,geni-spi";
1543 reg = <0 0x00a80000 0 0x4000>;
1544 clock-names = "se";
1545 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1546 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH 0>;
1547 pinctrl-names = "default";
1548 pinctrl-0 = <&qup_spi0_data_clk>, <&qup_spi0_cs>;
1549 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1550 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1551 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1552 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1553 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1554 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1555 interconnect-names = "qup-core", "qup-config", "qup-memory";
1556 dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>,
1557 <&gpi_dma1 1 0 QCOM_GPI_SPI>;
1558 dma-names = "tx", "rx";
1559 power-domains = <&rpmhpd RPMHPD_CX>;
1560 operating-points-v2 = <&qup_opp_table_120mhz>;
1561 #address-cells = <1>;
1562 #size-cells = <0>;
1563 status = "disabled";
1564 };
1565
1566 i2c1: i2c@a84000 {
1567 compatible = "qcom,geni-i2c";
1568 reg = <0 0x00a84000 0 0x4000>;
1569 clock-names = "se";
1570 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1571 pinctrl-names = "default";
1572 pinctrl-0 = <&qup_i2c1_data_clk>;
1573 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH 0>;
1574 #address-cells = <1>;
1575 #size-cells = <0>;
1576 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1577 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1578 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1579 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1580 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1581 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1582 interconnect-names = "qup-core", "qup-config", "qup-memory";
1583 dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
1584 <&gpi_dma1 1 1 QCOM_GPI_I2C>;
1585 dma-names = "tx", "rx";
1586 power-domains = <&rpmhpd RPMHPD_CX>;
1587 operating-points-v2 = <&qup_opp_table_120mhz>;
1588 status = "disabled";
1589 };
1590
1591 spi1: spi@a84000 {
1592 compatible = "qcom,geni-spi";
1593 reg = <0 0x00a84000 0 0x4000>;
1594 clock-names = "se";
1595 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1596 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH 0>;
1597 pinctrl-names = "default";
1598 pinctrl-0 = <&qup_spi1_data_clk>, <&qup_spi1_cs>;
1599 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1600 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1601 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1602 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1603 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1604 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1605 interconnect-names = "qup-core", "qup-config", "qup-memory";
1606 dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>,
1607 <&gpi_dma1 1 1 QCOM_GPI_SPI>;
1608 dma-names = "tx", "rx";
1609 power-domains = <&rpmhpd RPMHPD_CX>;
1610 operating-points-v2 = <&qup_opp_table_120mhz>;
1611 #address-cells = <1>;
1612 #size-cells = <0>;
1613 status = "disabled";
1614 };
1615
1616 i2c2: i2c@a88000 {
1617 compatible = "qcom,geni-i2c";
1618 reg = <0 0x00a88000 0 0x4000>;
1619 clock-names = "se";
1620 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1621 pinctrl-names = "default";
1622 pinctrl-0 = <&qup_i2c2_data_clk>;
1623 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH 0>;
1624 #address-cells = <1>;
1625 #size-cells = <0>;
1626 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1627 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1628 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1629 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1630 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1631 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1632 interconnect-names = "qup-core", "qup-config", "qup-memory";
1633 dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
1634 <&gpi_dma1 1 2 QCOM_GPI_I2C>;
1635 dma-names = "tx", "rx";
1636 power-domains = <&rpmhpd RPMHPD_CX>;
1637 operating-points-v2 = <&qup_opp_table_100mhz>;
1638 status = "disabled";
1639 };
1640
1641 spi2: spi@a88000 {
1642 compatible = "qcom,geni-spi";
1643 reg = <0 0x00a88000 0 0x4000>;
1644 clock-names = "se";
1645 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1646 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH 0>;
1647 pinctrl-names = "default";
1648 pinctrl-0 = <&qup_spi2_data_clk>, <&qup_spi2_cs>;
1649 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1650 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1651 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1652 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1653 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1654 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1655 interconnect-names = "qup-core", "qup-config", "qup-memory";
1656 dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>,
1657 <&gpi_dma1 1 2 QCOM_GPI_SPI>;
1658 dma-names = "tx", "rx";
1659 power-domains = <&rpmhpd RPMHPD_CX>;
1660 operating-points-v2 = <&qup_opp_table_100mhz>;
1661 #address-cells = <1>;
1662 #size-cells = <0>;
1663 status = "disabled";
1664 };
1665
1666 i2c3: i2c@a8c000 {
1667 compatible = "qcom,geni-i2c";
1668 reg = <0 0x00a8c000 0 0x4000>;
1669 clock-names = "se";
1670 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1671 pinctrl-names = "default";
1672 pinctrl-0 = <&qup_i2c3_data_clk>;
1673 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH 0>;
1674 #address-cells = <1>;
1675 #size-cells = <0>;
1676 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1677 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1678 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1679 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1680 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1681 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1682 interconnect-names = "qup-core", "qup-config", "qup-memory";
1683 dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
1684 <&gpi_dma1 1 3 QCOM_GPI_I2C>;
1685 dma-names = "tx", "rx";
1686 power-domains = <&rpmhpd RPMHPD_CX>;
1687 operating-points-v2 = <&qup_opp_table_100mhz>;
1688 status = "disabled";
1689 };
1690
1691 spi3: spi@a8c000 {
1692 compatible = "qcom,geni-spi";
1693 reg = <0 0x00a8c000 0 0x4000>;
1694 clock-names = "se";
1695 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1696 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH 0>;
1697 pinctrl-names = "default";
1698 pinctrl-0 = <&qup_spi3_data_clk>, <&qup_spi3_cs>;
1699 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1700 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1701 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1702 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1703 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1704 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1705 interconnect-names = "qup-core", "qup-config", "qup-memory";
1706 dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>,
1707 <&gpi_dma1 1 3 QCOM_GPI_SPI>;
1708 dma-names = "tx", "rx";
1709 power-domains = <&rpmhpd RPMHPD_CX>;
1710 operating-points-v2 = <&qup_opp_table_100mhz>;
1711 #address-cells = <1>;
1712 #size-cells = <0>;
1713 status = "disabled";
1714 };
1715
1716 i2c4: i2c@a90000 {
1717 compatible = "qcom,geni-i2c";
1718 reg = <0 0x00a90000 0 0x4000>;
1719 clock-names = "se";
1720 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1721 pinctrl-names = "default";
1722 pinctrl-0 = <&qup_i2c4_data_clk>;
1723 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH 0>;
1724 #address-cells = <1>;
1725 #size-cells = <0>;
1726 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1727 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1728 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1729 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1730 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1731 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1732 interconnect-names = "qup-core", "qup-config", "qup-memory";
1733 dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
1734 <&gpi_dma1 1 4 QCOM_GPI_I2C>;
1735 dma-names = "tx", "rx";
1736 power-domains = <&rpmhpd RPMHPD_CX>;
1737 operating-points-v2 = <&qup_opp_table_100mhz>;
1738 status = "disabled";
1739 };
1740
1741 spi4: spi@a90000 {
1742 compatible = "qcom,geni-spi";
1743 reg = <0 0x00a90000 0 0x4000>;
1744 clock-names = "se";
1745 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1746 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH 0>;
1747 pinctrl-names = "default";
1748 pinctrl-0 = <&qup_spi4_data_clk>, <&qup_spi4_cs>;
1749 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1750 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1751 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1752 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1753 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1754 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1755 interconnect-names = "qup-core", "qup-config", "qup-memory";
1756 dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>,
1757 <&gpi_dma1 1 4 QCOM_GPI_SPI>;
1758 dma-names = "tx", "rx";
1759 power-domains = <&rpmhpd RPMHPD_CX>;
1760 operating-points-v2 = <&qup_opp_table_100mhz>;
1761 #address-cells = <1>;
1762 #size-cells = <0>;
1763 status = "disabled";
1764 };
1765
1766 i2c5: i2c@a94000 {
1767 compatible = "qcom,geni-i2c";
1768 reg = <0 0x00a94000 0 0x4000>;
1769 clock-names = "se";
1770 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1771 pinctrl-names = "default";
1772 pinctrl-0 = <&qup_i2c5_data_clk>;
1773 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH 0>;
1774 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1775 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1776 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1777 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1778 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1779 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1780 interconnect-names = "qup-core", "qup-config", "qup-memory";
1781 dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>,
1782 <&gpi_dma1 1 5 QCOM_GPI_I2C>;
1783 dma-names = "tx", "rx";
1784 power-domains = <&rpmhpd RPMHPD_CX>;
1785 operating-points-v2 = <&qup_opp_table_100mhz>;
1786 #address-cells = <1>;
1787 #size-cells = <0>;
1788 status = "disabled";
1789 };
1790
1791 spi5: spi@a94000 {
1792 compatible = "qcom,geni-spi";
1793 reg = <0 0x00a94000 0 0x4000>;
1794 clock-names = "se";
1795 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1796 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH 0>;
1797 pinctrl-names = "default";
1798 pinctrl-0 = <&qup_spi5_data_clk>, <&qup_spi5_cs>;
1799 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1800 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1801 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1802 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1803 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1804 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1805 interconnect-names = "qup-core", "qup-config", "qup-memory";
1806 dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>,
1807 <&gpi_dma1 1 5 QCOM_GPI_SPI>;
1808 dma-names = "tx", "rx";
1809 power-domains = <&rpmhpd RPMHPD_CX>;
1810 operating-points-v2 = <&qup_opp_table_100mhz>;
1811 #address-cells = <1>;
1812 #size-cells = <0>;
1813 status = "disabled";
1814 };
1815
1816 i2c6: i2c@a98000 {
1817 compatible = "qcom,geni-i2c";
1818 reg = <0 0x00a98000 0 0x4000>;
1819 clock-names = "se";
1820 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1821 pinctrl-names = "default";
1822 pinctrl-0 = <&qup_i2c6_data_clk>;
1823 interrupts = <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH 0>;
1824 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1825 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1826 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1827 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1828 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1829 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1830 interconnect-names = "qup-core", "qup-config", "qup-memory";
1831 dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>,
1832 <&gpi_dma1 1 6 QCOM_GPI_I2C>;
1833 dma-names = "tx", "rx";
1834 power-domains = <&rpmhpd RPMHPD_CX>;
1835 operating-points-v2 = <&qup_opp_table_100mhz>;
1836 #address-cells = <1>;
1837 #size-cells = <0>;
1838 status = "disabled";
1839 };
1840
1841 spi6: spi@a98000 {
1842 compatible = "qcom,geni-spi";
1843 reg = <0 0x00a98000 0 0x4000>;
1844 clock-names = "se";
1845 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1846 interrupts = <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH 0>;
1847 pinctrl-names = "default";
1848 pinctrl-0 = <&qup_spi6_data_clk>, <&qup_spi6_cs>;
1849 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1850 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1851 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1852 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
1853 <&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1854 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1855 interconnect-names = "qup-core", "qup-config", "qup-memory";
1856 dmas = <&gpi_dma1 0 6 QCOM_GPI_SPI>,
1857 <&gpi_dma1 1 6 QCOM_GPI_SPI>;
1858 dma-names = "tx", "rx";
1859 power-domains = <&rpmhpd RPMHPD_CX>;
1860 operating-points-v2 = <&qup_opp_table_100mhz>;
1861 #address-cells = <1>;
1862 #size-cells = <0>;
1863 status = "disabled";
1864 };
1865
1866 uart7: serial@a9c000 {
1867 compatible = "qcom,geni-debug-uart";
1868 reg = <0 0x00a9c000 0 0x4000>;
1869 clock-names = "se";
1870 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1871 pinctrl-names = "default";
1872 pinctrl-0 = <&qup_uart7_default>;
1873 interrupts = <GIC_SPI 579 IRQ_TYPE_LEVEL_HIGH 0>;
1874 interconnect-names = "qup-core", "qup-config";
1875 interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1876 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1877 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
1878 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>;
1879 power-domains = <&rpmhpd RPMHPD_CX>;
1880 operating-points-v2 = <&qup_opp_table_100mhz>;
1881 status = "disabled";
1882 };
1883 };
1884
1885 cnoc_main: interconnect@1500000 {
1886 compatible = "qcom,sm8550-cnoc-main";
1887 reg = <0 0x01500000 0 0x13080>;
1888 #interconnect-cells = <2>;
1889 qcom,bcm-voters = <&apps_bcm_voter>;
1890 };
1891
1892 config_noc: interconnect@1600000 {
1893 compatible = "qcom,sm8550-config-noc";
1894 reg = <0 0x01600000 0 0x6200>;
1895 #interconnect-cells = <2>;
1896 qcom,bcm-voters = <&apps_bcm_voter>;
1897 };
1898
1899 system_noc: interconnect@1680000 {
1900 compatible = "qcom,sm8550-system-noc";
1901 reg = <0 0x01680000 0 0x1d080>;
1902 #interconnect-cells = <2>;
1903 qcom,bcm-voters = <&apps_bcm_voter>;
1904 };
1905
1906 pcie_noc: interconnect@16c0000 {
1907 compatible = "qcom,sm8550-pcie-anoc";
1908 reg = <0 0x016c0000 0 0x12200>;
1909 #interconnect-cells = <2>;
1910 clocks = <&gcc GCC_AGGRE_NOC_PCIE_AXI_CLK>,
1911 <&gcc GCC_CFG_NOC_PCIE_ANOC_AHB_CLK>;
1912 qcom,bcm-voters = <&apps_bcm_voter>;
1913 };
1914
1915 aggre1_noc: interconnect@16e0000 {
1916 compatible = "qcom,sm8550-aggre1-noc";
1917 reg = <0 0x016e0000 0 0x14400>;
1918 #interconnect-cells = <2>;
1919 clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1920 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>;
1921 qcom,bcm-voters = <&apps_bcm_voter>;
1922 };
1923
1924 aggre2_noc: interconnect@1700000 {
1925 compatible = "qcom,sm8550-aggre2-noc";
1926 reg = <0 0x01700000 0 0x1e400>;
1927 #interconnect-cells = <2>;
1928 clocks = <&rpmhcc RPMH_IPA_CLK>;
1929 qcom,bcm-voters = <&apps_bcm_voter>;
1930 };
1931
1932 mmss_noc: interconnect@1780000 {
1933 compatible = "qcom,sm8550-mmss-noc";
1934 reg = <0 0x01780000 0 0x5b800>;
1935 #interconnect-cells = <2>;
1936 qcom,bcm-voters = <&apps_bcm_voter>;
1937 };
1938
1939 rng: rng@10c3000 {
1940 compatible = "qcom,sm8550-trng", "qcom,trng";
1941 reg = <0 0x010c3000 0 0x1000>;
1942 };
1943
1944 pcie0: pcie@1c00000 {
1945 device_type = "pci";
1946 compatible = "qcom,pcie-sm8550";
1947 reg = <0 0x01c00000 0 0x3000>,
1948 <0 0x60000000 0 0xf1d>,
1949 <0 0x60000f20 0 0xa8>,
1950 <0 0x60001000 0 0x1000>,
1951 <0 0x60100000 0 0x100000>;
1952 reg-names = "parf", "dbi", "elbi", "atu", "config";
1953 #address-cells = <3>;
1954 #size-cells = <2>;
1955 ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
1956 <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>;
1957 bus-range = <0x00 0xff>;
1958
1959 dma-coherent;
1960
1961 linux,pci-domain = <0>;
1962 num-lanes = <2>;
1963
1964 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH 0>,
1965 <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH 0>,
1966 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH 0>,
1967 <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH 0>,
1968 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH 0>,
1969 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH 0>,
1970 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH 0>,
1971 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH 0>,
1972 <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH 0>;
1973 interrupt-names = "msi0",
1974 "msi1",
1975 "msi2",
1976 "msi3",
1977 "msi4",
1978 "msi5",
1979 "msi6",
1980 "msi7",
1981 "global";
1982 #interrupt-cells = <1>;
1983 interrupt-map-mask = <0 0 0 0x7>;
1984 interrupt-map = <0 0 0 1 &intc 0 0 GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH 0>, /* int_a */
1985 <0 0 0 2 &intc 0 0 GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH 0>, /* int_b */
1986 <0 0 0 3 &intc 0 0 GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH 0>, /* int_c */
1987 <0 0 0 4 &intc 0 0 GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH 0>; /* int_d */
1988
1989 clocks = <&gcc GCC_PCIE_0_AUX_CLK>,
1990 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1991 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
1992 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
1993 <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
1994 <&gcc GCC_DDRSS_PCIE_SF_QTB_CLK>,
1995 <&gcc GCC_AGGRE_NOC_PCIE_AXI_CLK>;
1996 clock-names = "aux",
1997 "cfg",
1998 "bus_master",
1999 "bus_slave",
2000 "slave_q2a",
2001 "ddrss_sf_tbu",
2002 "noc_aggr";
2003
2004 interconnects = <&pcie_noc MASTER_PCIE_0 QCOM_ICC_TAG_ALWAYS
2005 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
2006 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
2007 &cnoc_main SLAVE_PCIE_0 QCOM_ICC_TAG_ACTIVE_ONLY>;
2008 interconnect-names = "pcie-mem", "cpu-pcie";
2009
2010 msi-map = <0x0 &gic_its 0x1400 0x1>,
2011 <0x100 &gic_its 0x1401 0x1>;
2012 iommu-map = <0x0 &apps_smmu 0x1400 0x1>,
2013 <0x100 &apps_smmu 0x1401 0x1>;
2014
2015 resets = <&gcc GCC_PCIE_0_BCR>;
2016 reset-names = "pci";
2017
2018 power-domains = <&gcc PCIE_0_GDSC>;
2019
2020 phys = <&pcie0_phy>;
2021 phy-names = "pciephy";
2022
2023 operating-points-v2 = <&pcie0_opp_table>;
2024
2025 status = "disabled";
2026
2027 pcie0_opp_table: opp-table {
2028 compatible = "operating-points-v2";
2029
2030 /* 2.5 GT/s x1 */
2031 opp-2500000-1 {
2032 opp-hz = /bits/ 64 <2500000>;
2033 required-opps = <&rpmhpd_opp_low_svs>;
2034 opp-peak-kBps = <250000 1>;
2035 opp-level = <1>;
2036 };
2037
2038 /* 2.5 GT/s x2 */
2039 opp-5000000-1 {
2040 opp-hz = /bits/ 64 <5000000>;
2041 required-opps = <&rpmhpd_opp_low_svs>;
2042 opp-peak-kBps = <500000 1>;
2043 opp-level = <1>;
2044 };
2045
2046 /* 5 GT/s x1 */
2047 opp-5000000-2 {
2048 opp-hz = /bits/ 64 <5000000>;
2049 required-opps = <&rpmhpd_opp_low_svs>;
2050 opp-peak-kBps = <500000 1>;
2051 opp-level = <2>;
2052 };
2053
2054 /* 5 GT/s x2 */
2055 opp-10000000-2 {
2056 opp-hz = /bits/ 64 <10000000>;
2057 required-opps = <&rpmhpd_opp_low_svs>;
2058 opp-peak-kBps = <1000000 1>;
2059 opp-level = <2>;
2060 };
2061
2062 /* 8 GT/s x1 */
2063 opp-8000000-3 {
2064 opp-hz = /bits/ 64 <8000000>;
2065 required-opps = <&rpmhpd_opp_nom>;
2066 opp-peak-kBps = <984500 1>;
2067 opp-level = <3>;
2068 };
2069
2070 /* 8 GT/s x2 */
2071 opp-16000000-3 {
2072 opp-hz = /bits/ 64 <16000000>;
2073 required-opps = <&rpmhpd_opp_nom>;
2074 opp-peak-kBps = <1969000 1>;
2075 opp-level = <3>;
2076 };
2077 };
2078
2079 pcieport0: pcie@0 {
2080 device_type = "pci";
2081 reg = <0x0 0x0 0x0 0x0 0x0>;
2082 bus-range = <0x01 0xff>;
2083
2084 #address-cells = <3>;
2085 #size-cells = <2>;
2086 ranges;
2087 };
2088 };
2089
2090 pcie0_phy: phy@1c06000 {
2091 compatible = "qcom,sm8550-qmp-gen3x2-pcie-phy";
2092 reg = <0 0x01c06000 0 0x2000>;
2093
2094 clocks = <&gcc GCC_PCIE_0_AUX_CLK>,
2095 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
2096 <&tcsr TCSR_PCIE_0_CLKREF_EN>,
2097 <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>,
2098 <&gcc GCC_PCIE_0_PIPE_CLK>;
2099 clock-names = "aux", "cfg_ahb", "ref", "rchng",
2100 "pipe";
2101
2102 resets = <&gcc GCC_PCIE_0_PHY_BCR>;
2103 reset-names = "phy";
2104
2105 assigned-clocks = <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>;
2106 assigned-clock-rates = <100000000>;
2107
2108 power-domains = <&gcc PCIE_0_PHY_GDSC>;
2109
2110 #clock-cells = <0>;
2111 clock-output-names = "pcie0_pipe_clk";
2112
2113 #phy-cells = <0>;
2114
2115 status = "disabled";
2116 };
2117
2118 pcie1: pcie@1c08000 {
2119 device_type = "pci";
2120 compatible = "qcom,pcie-sm8550";
2121 reg = <0x0 0x01c08000 0x0 0x3000>,
2122 <0x0 0x40000000 0x0 0xf1d>,
2123 <0x0 0x40000f20 0x0 0xa8>,
2124 <0x0 0x40001000 0x0 0x1000>,
2125 <0x0 0x40100000 0x0 0x100000>;
2126 reg-names = "parf", "dbi", "elbi", "atu", "config";
2127 #address-cells = <3>;
2128 #size-cells = <2>;
2129 ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>,
2130 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
2131 bus-range = <0x00 0xff>;
2132
2133 dma-coherent;
2134
2135 linux,pci-domain = <1>;
2136 num-lanes = <2>;
2137
2138 interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH 0>,
2139 <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH 0>,
2140 <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH 0>,
2141 <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH 0>,
2142 <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH 0>,
2143 <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH 0>,
2144 <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH 0>,
2145 <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH 0>,
2146 <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH 0>;
2147 interrupt-names = "msi0",
2148 "msi1",
2149 "msi2",
2150 "msi3",
2151 "msi4",
2152 "msi5",
2153 "msi6",
2154 "msi7",
2155 "global";
2156 #interrupt-cells = <1>;
2157 interrupt-map-mask = <0 0 0 0x7>;
2158 interrupt-map = <0 0 0 1 &intc 0 0 GIC_SPI 434 IRQ_TYPE_LEVEL_HIGH 0>, /* int_a */
2159 <0 0 0 2 &intc 0 0 GIC_SPI 435 IRQ_TYPE_LEVEL_HIGH 0>, /* int_b */
2160 <0 0 0 3 &intc 0 0 GIC_SPI 438 IRQ_TYPE_LEVEL_HIGH 0>, /* int_c */
2161 <0 0 0 4 &intc 0 0 GIC_SPI 439 IRQ_TYPE_LEVEL_HIGH 0>; /* int_d */
2162
2163 clocks = <&gcc GCC_PCIE_1_AUX_CLK>,
2164 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
2165 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
2166 <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
2167 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
2168 <&gcc GCC_DDRSS_PCIE_SF_QTB_CLK>,
2169 <&gcc GCC_AGGRE_NOC_PCIE_AXI_CLK>,
2170 <&gcc GCC_CNOC_PCIE_SF_AXI_CLK>;
2171 clock-names = "aux",
2172 "cfg",
2173 "bus_master",
2174 "bus_slave",
2175 "slave_q2a",
2176 "ddrss_sf_tbu",
2177 "noc_aggr",
2178 "cnoc_sf_axi";
2179
2180 assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
2181 assigned-clock-rates = <19200000>;
2182
2183 interconnects = <&pcie_noc MASTER_PCIE_1 QCOM_ICC_TAG_ALWAYS
2184 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
2185 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
2186 &cnoc_main SLAVE_PCIE_1 QCOM_ICC_TAG_ACTIVE_ONLY>;
2187 interconnect-names = "pcie-mem", "cpu-pcie";
2188
2189 msi-map = <0x0 &gic_its 0x1480 0x1>,
2190 <0x100 &gic_its 0x1481 0x1>;
2191 iommu-map = <0x0 &apps_smmu 0x1480 0x1>,
2192 <0x100 &apps_smmu 0x1481 0x1>;
2193
2194 resets = <&gcc GCC_PCIE_1_BCR>,
2195 <&gcc GCC_PCIE_1_LINK_DOWN_BCR>;
2196 reset-names = "pci", "link_down";
2197
2198 power-domains = <&gcc PCIE_1_GDSC>;
2199
2200 phys = <&pcie1_phy>;
2201 phy-names = "pciephy";
2202
2203 operating-points-v2 = <&pcie1_opp_table>;
2204
2205 status = "disabled";
2206
2207 pcie1_opp_table: opp-table {
2208 compatible = "operating-points-v2";
2209
2210 /* 2.5 GT/s x1 */
2211 opp-2500000-1 {
2212 opp-hz = /bits/ 64 <2500000>;
2213 required-opps = <&rpmhpd_opp_low_svs>;
2214 opp-peak-kBps = <250000 1>;
2215 opp-level = <1>;
2216 };
2217
2218 /* 2.5 GT/s x2 */
2219 opp-5000000-1 {
2220 opp-hz = /bits/ 64 <5000000>;
2221 required-opps = <&rpmhpd_opp_low_svs>;
2222 opp-peak-kBps = <500000 1>;
2223 opp-level = <1>;
2224 };
2225
2226 /* 5 GT/s x1 */
2227 opp-5000000-2 {
2228 opp-hz = /bits/ 64 <5000000>;
2229 required-opps = <&rpmhpd_opp_low_svs>;
2230 opp-peak-kBps = <500000 1>;
2231 opp-level = <2>;
2232 };
2233
2234 /* 5 GT/s x2 */
2235 opp-10000000-2 {
2236 opp-hz = /bits/ 64 <10000000>;
2237 required-opps = <&rpmhpd_opp_low_svs>;
2238 opp-peak-kBps = <1000000 1>;
2239 opp-level = <2>;
2240 };
2241
2242 /* 8 GT/s x1 */
2243 opp-8000000-3 {
2244 opp-hz = /bits/ 64 <8000000>;
2245 required-opps = <&rpmhpd_opp_nom>;
2246 opp-peak-kBps = <984500 1>;
2247 opp-level = <3>;
2248 };
2249
2250 /* 8 GT/s x2 */
2251 opp-16000000-3 {
2252 opp-hz = /bits/ 64 <16000000>;
2253 required-opps = <&rpmhpd_opp_nom>;
2254 opp-peak-kBps = <1969000 1>;
2255 opp-level = <3>;
2256 };
2257
2258 /* 16 GT/s x1 */
2259 opp-16000000-4 {
2260 opp-hz = /bits/ 64 <16000000>;
2261 required-opps = <&rpmhpd_opp_nom>;
2262 opp-peak-kBps = <1969000 1>;
2263 opp-level = <4>;
2264 };
2265
2266 /* 16 GT/s x2 */
2267 opp-32000000-4 {
2268 opp-hz = /bits/ 64 <32000000>;
2269 required-opps = <&rpmhpd_opp_nom>;
2270 opp-peak-kBps = <3938000 1>;
2271 opp-level = <4>;
2272 };
2273 };
2274
2275 pcie@0 {
2276 device_type = "pci";
2277 reg = <0x0 0x0 0x0 0x0 0x0>;
2278 bus-range = <0x01 0xff>;
2279
2280 #address-cells = <3>;
2281 #size-cells = <2>;
2282 ranges;
2283 };
2284 };
2285
2286 pcie1_phy: phy@1c0e000 {
2287 compatible = "qcom,sm8550-qmp-gen4x2-pcie-phy";
2288 reg = <0x0 0x01c0e000 0x0 0x2000>;
2289
2290 clocks = <&gcc GCC_PCIE_1_PHY_AUX_CLK>,
2291 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
2292 <&tcsr TCSR_PCIE_1_CLKREF_EN>,
2293 <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>,
2294 <&gcc GCC_PCIE_1_PIPE_CLK>;
2295 clock-names = "aux", "cfg_ahb", "ref", "rchng",
2296 "pipe";
2297
2298 resets = <&gcc GCC_PCIE_1_PHY_BCR>,
2299 <&gcc GCC_PCIE_1_NOCSR_COM_PHY_BCR>;
2300 reset-names = "phy", "phy_nocsr";
2301
2302 assigned-clocks = <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>;
2303 assigned-clock-rates = <100000000>;
2304
2305 power-domains = <&gcc PCIE_1_PHY_GDSC>;
2306
2307 #clock-cells = <1>;
2308 clock-output-names = "pcie1_pipe_clk";
2309
2310 #phy-cells = <0>;
2311
2312 status = "disabled";
2313 };
2314
2315 cryptobam: dma-controller@1dc4000 {
2316 compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
2317 reg = <0x0 0x01dc4000 0x0 0x28000>;
2318 interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH 0>;
2319 #dma-cells = <1>;
2320 qcom,ee = <0>;
2321 qcom,num-ees = <4>;
2322 num-channels = <20>;
2323 qcom,controlled-remotely;
2324 iommus = <&apps_smmu 0x480 0x0>,
2325 <&apps_smmu 0x481 0x0>;
2326 };
2327
2328 crypto: crypto@1dfa000 {
2329 compatible = "qcom,sm8550-qce", "qcom,sm8150-qce", "qcom,qce";
2330 reg = <0x0 0x01dfa000 0x0 0x6000>;
2331 dmas = <&cryptobam 4>, <&cryptobam 5>;
2332 dma-names = "rx", "tx";
2333 iommus = <&apps_smmu 0x480 0x0>,
2334 <&apps_smmu 0x481 0x0>;
2335 interconnects = <&aggre2_noc MASTER_CRYPTO QCOM_ICC_TAG_ALWAYS
2336 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2337 interconnect-names = "memory";
2338 };
2339
2340 ufs_mem_phy: phy@1d80000 {
2341 compatible = "qcom,sm8550-qmp-ufs-phy";
2342 reg = <0x0 0x01d80000 0x0 0x2000>;
2343 clocks = <&rpmhcc RPMH_CXO_CLK>,
2344 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>,
2345 <&tcsr TCSR_UFS_CLKREF_EN>;
2346 clock-names = "ref",
2347 "ref_aux",
2348 "qref";
2349
2350 power-domains = <&gcc UFS_MEM_PHY_GDSC>;
2351
2352 resets = <&ufs_mem_hc 0>;
2353 reset-names = "ufsphy";
2354
2355 #clock-cells = <1>;
2356 #phy-cells = <0>;
2357
2358 status = "disabled";
2359 };
2360
2361 ufs_mem_hc: ufshc@1d84000 {
2362 compatible = "qcom,sm8550-ufshc", "qcom,ufshc",
2363 "jedec,ufs-2.0";
2364 reg = <0x0 0x01d84000 0x0 0x3000>;
2365 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH 0>;
2366 phys = <&ufs_mem_phy>;
2367 phy-names = "ufsphy";
2368 lanes-per-direction = <2>;
2369 #reset-cells = <1>;
2370 resets = <&gcc GCC_UFS_PHY_BCR>;
2371 reset-names = "rst";
2372
2373 power-domains = <&gcc UFS_PHY_GDSC>;
2374 required-opps = <&rpmhpd_opp_nom>;
2375
2376 iommus = <&apps_smmu 0x60 0x0>;
2377 dma-coherent;
2378
2379 operating-points-v2 = <&ufs_opp_table>;
2380 interconnects = <&aggre1_noc MASTER_UFS_MEM QCOM_ICC_TAG_ALWAYS
2381 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
2382 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
2383 &config_noc SLAVE_UFS_MEM_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
2384
2385 interconnect-names = "ufs-ddr", "cpu-ufs";
2386 clock-names = "core_clk",
2387 "bus_aggr_clk",
2388 "iface_clk",
2389 "core_clk_unipro",
2390 "ref_clk",
2391 "tx_lane0_sync_clk",
2392 "rx_lane0_sync_clk",
2393 "rx_lane1_sync_clk";
2394 clocks = <&gcc GCC_UFS_PHY_AXI_CLK>,
2395 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
2396 <&gcc GCC_UFS_PHY_AHB_CLK>,
2397 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
2398 <&tcsr TCSR_UFS_PAD_CLKREF_EN>,
2399 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
2400 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
2401 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
2402 qcom,ice = <&ice>;
2403
2404 status = "disabled";
2405
2406 ufs_opp_table: opp-table {
2407 compatible = "operating-points-v2";
2408
2409 opp-75000000 {
2410 opp-hz = /bits/ 64 <75000000>,
2411 /bits/ 64 <0>,
2412 /bits/ 64 <0>,
2413 /bits/ 64 <75000000>,
2414 /bits/ 64 <0>,
2415 /bits/ 64 <0>,
2416 /bits/ 64 <0>,
2417 /bits/ 64 <0>;
2418 required-opps = <&rpmhpd_opp_low_svs>;
2419 };
2420
2421 opp-150000000 {
2422 opp-hz = /bits/ 64 <150000000>,
2423 /bits/ 64 <0>,
2424 /bits/ 64 <0>,
2425 /bits/ 64 <150000000>,
2426 /bits/ 64 <0>,
2427 /bits/ 64 <0>,
2428 /bits/ 64 <0>,
2429 /bits/ 64 <0>;
2430 required-opps = <&rpmhpd_opp_svs>;
2431 };
2432
2433 opp-300000000 {
2434 opp-hz = /bits/ 64 <300000000>,
2435 /bits/ 64 <0>,
2436 /bits/ 64 <0>,
2437 /bits/ 64 <300000000>,
2438 /bits/ 64 <0>,
2439 /bits/ 64 <0>,
2440 /bits/ 64 <0>,
2441 /bits/ 64 <0>;
2442 required-opps = <&rpmhpd_opp_nom>;
2443 };
2444 };
2445 };
2446
2447 ice: crypto@1d88000 {
2448 compatible = "qcom,sm8550-inline-crypto-engine",
2449 "qcom,inline-crypto-engine";
2450 reg = <0 0x01d88000 0 0x18000>;
2451
2452 clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
2453 };
2454
2455 tcsr_mutex: hwlock@1f40000 {
2456 compatible = "qcom,tcsr-mutex";
2457 reg = <0 0x01f40000 0 0x20000>;
2458 #hwlock-cells = <1>;
2459 };
2460
2461 tcsr: clock-controller@1fc0000 {
2462 compatible = "qcom,sm8550-tcsr", "syscon";
2463 reg = <0 0x01fc0000 0 0x30000>;
2464 clocks = <&rpmhcc RPMH_CXO_CLK>;
2465 #clock-cells = <1>;
2466 #reset-cells = <1>;
2467 };
2468
2469 gpu: gpu@3d00000 {
2470 compatible = "qcom,adreno-43050a01", "qcom,adreno";
2471 reg = <0x0 0x03d00000 0x0 0x40000>,
2472 <0x0 0x03d9e000 0x0 0x1000>,
2473 <0x0 0x03d61000 0x0 0x800>;
2474 reg-names = "kgsl_3d0_reg_memory",
2475 "cx_mem",
2476 "cx_dbgc";
2477
2478 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH 0>;
2479
2480 iommus = <&adreno_smmu 0 0x0>,
2481 <&adreno_smmu 1 0x0>;
2482
2483 operating-points-v2 = <&gpu_opp_table>;
2484
2485 qcom,gmu = <&gmu>;
2486 #cooling-cells = <2>;
2487
2488 interconnects = <&gem_noc MASTER_GFX3D QCOM_ICC_TAG_ALWAYS
2489 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2490 interconnect-names = "gfx-mem";
2491
2492 status = "disabled";
2493
2494 gpu_zap_shader: zap-shader {
2495 memory-region = <&gpu_micro_code_mem>;
2496 };
2497
2498 /* Speedbin needs more work on A740+, keep only lower freqs */
2499 gpu_opp_table: opp-table {
2500 compatible = "operating-points-v2";
2501
2502 opp-680000000 {
2503 opp-hz = /bits/ 64 <680000000>;
2504 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2505 opp-peak-kBps = <16500000>;
2506 };
2507
2508 opp-615000000 {
2509 opp-hz = /bits/ 64 <615000000>;
2510 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L0>;
2511 opp-peak-kBps = <12449218>;
2512 };
2513
2514 opp-550000000 {
2515 opp-hz = /bits/ 64 <550000000>;
2516 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2517 opp-peak-kBps = <10687500>;
2518 };
2519
2520 opp-475000000 {
2521 opp-hz = /bits/ 64 <475000000>;
2522 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_L1>;
2523 opp-peak-kBps = <6074218>;
2524 };
2525
2526 opp-401000000 {
2527 opp-hz = /bits/ 64 <401000000>;
2528 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2529 opp-peak-kBps = <6074218>;
2530 };
2531
2532 opp-348000000 {
2533 opp-hz = /bits/ 64 <348000000>;
2534 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D0>;
2535 opp-peak-kBps = <6074218>;
2536 };
2537
2538 opp-295000000 {
2539 opp-hz = /bits/ 64 <295000000>;
2540 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
2541 opp-peak-kBps = <6074218>;
2542 };
2543
2544 opp-220000000 {
2545 opp-hz = /bits/ 64 <220000000>;
2546 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D2>;
2547 opp-peak-kBps = <2136718>;
2548 };
2549 };
2550 };
2551
2552 gmu: gmu@3d6a000 {
2553 compatible = "qcom,adreno-gmu-740.1", "qcom,adreno-gmu";
2554 reg = <0x0 0x03d6a000 0x0 0x35000>,
2555 <0x0 0x03d50000 0x0 0x10000>,
2556 <0x0 0x0b280000 0x0 0x10000>;
2557 reg-names = "gmu", "rscc", "gmu_pdc";
2558
2559 interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH 0>,
2560 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH 0>;
2561 interrupt-names = "hfi", "gmu";
2562
2563 clocks = <&gpucc GPU_CC_AHB_CLK>,
2564 <&gpucc GPU_CC_CX_GMU_CLK>,
2565 <&gpucc GPU_CC_CXO_CLK>,
2566 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
2567 <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
2568 <&gpucc GPU_CC_HUB_CX_INT_CLK>,
2569 <&gpucc GPU_CC_DEMET_CLK>;
2570 clock-names = "ahb",
2571 "gmu",
2572 "cxo",
2573 "axi",
2574 "memnoc",
2575 "hub",
2576 "demet";
2577
2578 power-domains = <&gpucc GPU_CC_CX_GDSC>,
2579 <&gpucc GPU_CC_GX_GDSC>;
2580 power-domain-names = "cx",
2581 "gx";
2582
2583 iommus = <&adreno_smmu 5 0x0>;
2584
2585 qcom,qmp = <&aoss_qmp>;
2586
2587 operating-points-v2 = <&gmu_opp_table>;
2588
2589 gmu_opp_table: opp-table {
2590 compatible = "operating-points-v2";
2591
2592 opp-500000000 {
2593 opp-hz = /bits/ 64 <500000000>;
2594 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2595 };
2596
2597 opp-200000000 {
2598 opp-hz = /bits/ 64 <200000000>;
2599 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2600 };
2601 };
2602 };
2603
2604 gpucc: clock-controller@3d90000 {
2605 compatible = "qcom,sm8550-gpucc";
2606 reg = <0 0x03d90000 0 0xa000>;
2607 clocks = <&bi_tcxo_div2>,
2608 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
2609 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
2610 #clock-cells = <1>;
2611 #reset-cells = <1>;
2612 #power-domain-cells = <1>;
2613 };
2614
2615 adreno_smmu: iommu@3da0000 {
2616 compatible = "qcom,sm8550-smmu-500", "qcom,adreno-smmu",
2617 "qcom,smmu-500", "arm,mmu-500";
2618 reg = <0x0 0x03da0000 0x0 0x40000>;
2619 #iommu-cells = <2>;
2620 #global-interrupts = <1>;
2621 interrupts = <GIC_SPI 673 IRQ_TYPE_LEVEL_HIGH 0>,
2622 <GIC_SPI 677 IRQ_TYPE_LEVEL_HIGH 0>,
2623 <GIC_SPI 678 IRQ_TYPE_LEVEL_HIGH 0>,
2624 <GIC_SPI 679 IRQ_TYPE_LEVEL_HIGH 0>,
2625 <GIC_SPI 680 IRQ_TYPE_LEVEL_HIGH 0>,
2626 <GIC_SPI 681 IRQ_TYPE_LEVEL_HIGH 0>,
2627 <GIC_SPI 682 IRQ_TYPE_LEVEL_HIGH 0>,
2628 <GIC_SPI 683 IRQ_TYPE_LEVEL_HIGH 0>,
2629 <GIC_SPI 684 IRQ_TYPE_LEVEL_HIGH 0>,
2630 <GIC_SPI 685 IRQ_TYPE_LEVEL_HIGH 0>,
2631 <GIC_SPI 686 IRQ_TYPE_LEVEL_HIGH 0>,
2632 <GIC_SPI 687 IRQ_TYPE_LEVEL_HIGH 0>,
2633 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH 0>,
2634 <GIC_SPI 476 IRQ_TYPE_LEVEL_HIGH 0>,
2635 <GIC_SPI 574 IRQ_TYPE_LEVEL_HIGH 0>,
2636 <GIC_SPI 575 IRQ_TYPE_LEVEL_HIGH 0>,
2637 <GIC_SPI 576 IRQ_TYPE_LEVEL_HIGH 0>,
2638 <GIC_SPI 577 IRQ_TYPE_LEVEL_HIGH 0>,
2639 <GIC_SPI 659 IRQ_TYPE_LEVEL_HIGH 0>,
2640 <GIC_SPI 661 IRQ_TYPE_LEVEL_HIGH 0>,
2641 <GIC_SPI 664 IRQ_TYPE_LEVEL_HIGH 0>,
2642 <GIC_SPI 665 IRQ_TYPE_LEVEL_HIGH 0>,
2643 <GIC_SPI 666 IRQ_TYPE_LEVEL_HIGH 0>,
2644 <GIC_SPI 668 IRQ_TYPE_LEVEL_HIGH 0>,
2645 <GIC_SPI 669 IRQ_TYPE_LEVEL_HIGH 0>,
2646 <GIC_SPI 699 IRQ_TYPE_LEVEL_HIGH 0>;
2647 clocks = <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>,
2648 <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
2649 <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>,
2650 <&gpucc GPU_CC_AHB_CLK>;
2651 clock-names = "hlos",
2652 "bus",
2653 "iface",
2654 "ahb";
2655 power-domains = <&gpucc GPU_CC_CX_GDSC>;
2656 dma-coherent;
2657 };
2658
2659 ipa: ipa@3f40000 {
2660 compatible = "qcom,sm8550-ipa";
2661
2662 iommus = <&apps_smmu 0x4a0 0x0>,
2663 <&apps_smmu 0x4a2 0x0>;
2664 reg = <0 0x3f40000 0 0x10000>,
2665 <0 0x3f50000 0 0x5000>,
2666 <0 0x3e04000 0 0xfc000>;
2667 reg-names = "ipa-reg",
2668 "ipa-shared",
2669 "gsi";
2670
2671 interrupts-extended = <&intc GIC_SPI 654 IRQ_TYPE_EDGE_RISING 0>,
2672 <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH 0>,
2673 <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2674 <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
2675 interrupt-names = "ipa",
2676 "gsi",
2677 "ipa-clock-query",
2678 "ipa-setup-ready";
2679
2680 clocks = <&rpmhcc RPMH_IPA_CLK>;
2681 clock-names = "core";
2682
2683 interconnects = <&aggre2_noc MASTER_IPA QCOM_ICC_TAG_ALWAYS
2684 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
2685 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
2686 &config_noc SLAVE_IPA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
2687 interconnect-names = "memory",
2688 "config";
2689
2690 qcom,qmp = <&aoss_qmp>;
2691
2692 qcom,smem-states = <&ipa_smp2p_out 0>,
2693 <&ipa_smp2p_out 1>;
2694 qcom,smem-state-names = "ipa-clock-enabled-valid",
2695 "ipa-clock-enabled";
2696
2697 status = "disabled";
2698 };
2699
2700 remoteproc_mpss: remoteproc@4080000 {
2701 compatible = "qcom,sm8550-mpss-pas";
2702 reg = <0x0 0x04080000 0x0 0x10000>;
2703
2704 interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING 0>,
2705 <&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>,
2706 <&smp2p_modem_in 1 IRQ_TYPE_EDGE_RISING>,
2707 <&smp2p_modem_in 2 IRQ_TYPE_EDGE_RISING>,
2708 <&smp2p_modem_in 3 IRQ_TYPE_EDGE_RISING>,
2709 <&smp2p_modem_in 7 IRQ_TYPE_EDGE_RISING>;
2710 interrupt-names = "wdog", "fatal", "ready", "handover",
2711 "stop-ack", "shutdown-ack";
2712
2713 clocks = <&rpmhcc RPMH_CXO_CLK>;
2714 clock-names = "xo";
2715
2716 power-domains = <&rpmhpd RPMHPD_CX>,
2717 <&rpmhpd RPMHPD_MSS>;
2718 power-domain-names = "cx", "mss";
2719
2720 interconnects = <&mc_virt MASTER_LLCC QCOM_ICC_TAG_ALWAYS
2721 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2722
2723 memory-region = <&mpss_mem>, <&q6_mpss_dtb_mem>, <&mpss_dsm_mem>;
2724
2725 qcom,qmp = <&aoss_qmp>;
2726
2727 qcom,smem-states = <&smp2p_modem_out 0>;
2728 qcom,smem-state-names = "stop";
2729
2730 status = "disabled";
2731
2732 glink-edge {
2733 interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
2734 IPCC_MPROC_SIGNAL_GLINK_QMP
2735 IRQ_TYPE_EDGE_RISING>;
2736 mboxes = <&ipcc IPCC_CLIENT_MPSS
2737 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2738 label = "mpss";
2739 qcom,remote-pid = <1>;
2740 };
2741 };
2742
2743 remoteproc_adsp: remoteproc@6800000 {
2744 compatible = "qcom,sm8550-adsp-pas";
2745 reg = <0x0 0x06800000 0x0 0x10000>;
2746
2747 interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
2748 <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
2749 <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
2750 <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
2751 <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
2752 interrupt-names = "wdog", "fatal", "ready",
2753 "handover", "stop-ack";
2754
2755 clocks = <&rpmhcc RPMH_CXO_CLK>;
2756 clock-names = "xo";
2757
2758 power-domains = <&rpmhpd RPMHPD_LCX>,
2759 <&rpmhpd RPMHPD_LMX>;
2760 power-domain-names = "lcx", "lmx";
2761
2762 interconnects = <&lpass_lpicx_noc MASTER_LPASS_PROC QCOM_ICC_TAG_ALWAYS
2763 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2764
2765 memory-region = <&adspslpi_mem>, <&q6_adsp_dtb_mem>;
2766
2767 qcom,qmp = <&aoss_qmp>;
2768
2769 qcom,smem-states = <&smp2p_adsp_out 0>;
2770 qcom,smem-state-names = "stop";
2771
2772 status = "disabled";
2773
2774 remoteproc_adsp_glink: glink-edge {
2775 interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
2776 IPCC_MPROC_SIGNAL_GLINK_QMP
2777 IRQ_TYPE_EDGE_RISING>;
2778 mboxes = <&ipcc IPCC_CLIENT_LPASS
2779 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2780
2781 label = "lpass";
2782 qcom,remote-pid = <2>;
2783
2784 fastrpc {
2785 compatible = "qcom,fastrpc";
2786 qcom,glink-channels = "fastrpcglink-apps-dsp";
2787 label = "adsp";
2788 qcom,non-secure-domain;
2789 #address-cells = <1>;
2790 #size-cells = <0>;
2791
2792 compute-cb@3 {
2793 compatible = "qcom,fastrpc-compute-cb";
2794 reg = <3>;
2795 iommus = <&apps_smmu 0x1003 0x80>,
2796 <&apps_smmu 0x1063 0x0>;
2797 dma-coherent;
2798 };
2799
2800 compute-cb@4 {
2801 compatible = "qcom,fastrpc-compute-cb";
2802 reg = <4>;
2803 iommus = <&apps_smmu 0x1004 0x80>,
2804 <&apps_smmu 0x1064 0x0>;
2805 dma-coherent;
2806 };
2807
2808 compute-cb@5 {
2809 compatible = "qcom,fastrpc-compute-cb";
2810 reg = <5>;
2811 iommus = <&apps_smmu 0x1005 0x80>,
2812 <&apps_smmu 0x1065 0x0>;
2813 dma-coherent;
2814 };
2815
2816 compute-cb@6 {
2817 compatible = "qcom,fastrpc-compute-cb";
2818 reg = <6>;
2819 iommus = <&apps_smmu 0x1006 0x80>,
2820 <&apps_smmu 0x1066 0x0>;
2821 dma-coherent;
2822 };
2823
2824 compute-cb@7 {
2825 compatible = "qcom,fastrpc-compute-cb";
2826 reg = <7>;
2827 iommus = <&apps_smmu 0x1007 0x80>,
2828 <&apps_smmu 0x1067 0x0>;
2829 dma-coherent;
2830 };
2831 };
2832
2833 gpr {
2834 compatible = "qcom,gpr";
2835 qcom,glink-channels = "adsp_apps";
2836 qcom,domain = <GPR_DOMAIN_ID_ADSP>;
2837 qcom,intents = <512 20>;
2838 #address-cells = <1>;
2839 #size-cells = <0>;
2840
2841 q6apm: service@1 {
2842 compatible = "qcom,q6apm";
2843 reg = <GPR_APM_MODULE_IID>;
2844 #sound-dai-cells = <0>;
2845 qcom,protection-domain = "avs/audio",
2846 "msm/adsp/audio_pd";
2847
2848 q6apmdai: dais {
2849 compatible = "qcom,q6apm-dais";
2850 iommus = <&apps_smmu 0x1001 0x80>,
2851 <&apps_smmu 0x1061 0x0>;
2852 };
2853
2854 q6apmbedai: bedais {
2855 compatible = "qcom,q6apm-lpass-dais";
2856 #sound-dai-cells = <1>;
2857 };
2858 };
2859
2860 q6prm: service@2 {
2861 compatible = "qcom,q6prm";
2862 reg = <GPR_PRM_MODULE_IID>;
2863 qcom,protection-domain = "avs/audio",
2864 "msm/adsp/audio_pd";
2865
2866 q6prmcc: clock-controller {
2867 compatible = "qcom,q6prm-lpass-clocks";
2868 #clock-cells = <2>;
2869 };
2870 };
2871 };
2872 };
2873 };
2874
2875 lpass_wsa2macro: codec@6aa0000 {
2876 compatible = "qcom,sm8550-lpass-wsa-macro";
2877 reg = <0 0x06aa0000 0 0x1000>;
2878 clocks = <&q6prmcc LPASS_CLK_ID_WSA2_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2879 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2880 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2881 <&lpass_vamacro>;
2882 clock-names = "mclk", "macro", "dcodec", "fsgen";
2883
2884 #clock-cells = <0>;
2885 clock-output-names = "wsa2-mclk";
2886 #sound-dai-cells = <1>;
2887 };
2888
2889 swr3: soundwire@6ab0000 {
2890 compatible = "qcom,soundwire-v2.0.0";
2891 reg = <0 0x06ab0000 0 0x10000>;
2892 interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH 0>;
2893 clocks = <&lpass_wsa2macro>;
2894 clock-names = "iface";
2895 label = "WSA2";
2896
2897 pinctrl-0 = <&wsa2_swr_active>;
2898 pinctrl-names = "default";
2899
2900 qcom,din-ports = <4>;
2901 qcom,dout-ports = <9>;
2902
2903 qcom,ports-sinterval = /bits/ 16 <0x07 0x1f 0x3f 0x07 0x1f 0x3f 0x18f 0xff 0xff 0x0f 0x0f 0xff 0x31f>;
2904 qcom,ports-offset1 = /bits/ 8 <0x01 0x03 0x05 0x02 0x04 0x15 0x00 0xff 0xff 0x06 0x0d 0xff 0x00>;
2905 qcom,ports-offset2 = /bits/ 8 <0xff 0x07 0x1f 0xff 0x07 0x1f 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
2906 qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x0f>;
2907 qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x0f>;
2908 qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x18>;
2909 qcom,ports-block-pack-mode = /bits/ 8 <0x00 0x01 0x01 0x00 0x01 0x01 0x00 0x00 0x00 0x01 0x01 0x00 0x00>;
2910 qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
2911 qcom,ports-lane-control = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
2912
2913 #address-cells = <2>;
2914 #size-cells = <0>;
2915 #sound-dai-cells = <1>;
2916 status = "disabled";
2917 };
2918
2919 lpass_rxmacro: codec@6ac0000 {
2920 compatible = "qcom,sm8550-lpass-rx-macro";
2921 reg = <0 0x06ac0000 0 0x1000>;
2922 clocks = <&q6prmcc LPASS_CLK_ID_RX_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2923 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2924 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2925 <&lpass_vamacro>;
2926 clock-names = "mclk", "macro", "dcodec", "fsgen";
2927
2928 #clock-cells = <0>;
2929 clock-output-names = "mclk";
2930 #sound-dai-cells = <1>;
2931 };
2932
2933 swr1: soundwire@6ad0000 {
2934 compatible = "qcom,soundwire-v2.0.0";
2935 reg = <0 0x06ad0000 0 0x10000>;
2936 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH 0>;
2937 clocks = <&lpass_rxmacro>;
2938 clock-names = "iface";
2939 label = "RX";
2940
2941 pinctrl-0 = <&rx_swr_active>;
2942 pinctrl-names = "default";
2943
2944 qcom,din-ports = <1>;
2945 qcom,dout-ports = <11>;
2946
2947 qcom,ports-sinterval = /bits/ 16 <0x03 0x3f 0x1f 0x07 0x00 0x18f 0xff 0xff 0xff 0xff 0xff 0xff>;
2948 qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x0b 0x01 0x00 0x00 0xff 0xff 0xff 0xff 0xff 0xff>;
2949 qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x0b 0x00 0x00 0x00 0xff 0xff 0xff 0xff 0xff 0xff>;
2950 qcom,ports-hstart = /bits/ 8 <0xff 0x03 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0xff>;
2951 qcom,ports-hstop = /bits/ 8 <0xff 0x06 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0xff>;
2952 qcom,ports-word-length = /bits/ 8 <0x01 0x07 0x04 0xff 0xff 0x0f 0xff 0xff 0xff 0xff 0xff 0xff>;
2953 qcom,ports-block-pack-mode = /bits/ 8 <0xff 0x00 0x01 0xff 0xff 0x00 0xff 0xff 0xff 0xff 0xff 0xff>;
2954 qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0x00 0x00 0xff 0xff 0xff 0xff 0xff 0xff>;
2955 qcom,ports-lane-control = /bits/ 8 <0x01 0x00 0x00 0x00 0x00 0x00 0xff 0xff 0xff 0xff 0xff 0xff>;
2956
2957 #address-cells = <2>;
2958 #size-cells = <0>;
2959 #sound-dai-cells = <1>;
2960 status = "disabled";
2961 };
2962
2963 lpass_txmacro: codec@6ae0000 {
2964 compatible = "qcom,sm8550-lpass-tx-macro";
2965 reg = <0 0x06ae0000 0 0x1000>;
2966 clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2967 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2968 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2969 <&lpass_vamacro>;
2970 clock-names = "mclk", "macro", "dcodec", "fsgen";
2971
2972 #clock-cells = <0>;
2973 clock-output-names = "mclk";
2974 #sound-dai-cells = <1>;
2975 };
2976
2977 lpass_wsamacro: codec@6b00000 {
2978 compatible = "qcom,sm8550-lpass-wsa-macro";
2979 reg = <0 0x06b00000 0 0x1000>;
2980 clocks = <&q6prmcc LPASS_CLK_ID_WSA_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2981 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2982 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2983 <&lpass_vamacro>;
2984 clock-names = "mclk", "macro", "dcodec", "fsgen";
2985
2986 #clock-cells = <0>;
2987 clock-output-names = "mclk";
2988 #sound-dai-cells = <1>;
2989 };
2990
2991 swr0: soundwire@6b10000 {
2992 compatible = "qcom,soundwire-v2.0.0";
2993 reg = <0 0x06b10000 0 0x10000>;
2994 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH 0>;
2995 clocks = <&lpass_wsamacro>;
2996 clock-names = "iface";
2997 label = "WSA";
2998
2999 pinctrl-0 = <&wsa_swr_active>;
3000 pinctrl-names = "default";
3001
3002 qcom,din-ports = <4>;
3003 qcom,dout-ports = <9>;
3004
3005 qcom,ports-sinterval = /bits/ 16 <0x07 0x1f 0x3f 0x07 0x1f 0x3f 0x18f 0xff 0xff 0x0f 0x0f 0xff 0x31f>;
3006 qcom,ports-offset1 = /bits/ 8 <0x01 0x03 0x05 0x02 0x04 0x15 0x00 0xff 0xff 0x06 0x0d 0xff 0x00>;
3007 qcom,ports-offset2 = /bits/ 8 <0xff 0x07 0x1f 0xff 0x07 0x1f 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3008 qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x0f>;
3009 qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x0f>;
3010 qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x18>;
3011 qcom,ports-block-pack-mode = /bits/ 8 <0x00 0x01 0x01 0x00 0x01 0x01 0x00 0x00 0x00 0x01 0x01 0x00 0x00>;
3012 qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3013 qcom,ports-lane-control = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3014
3015 #address-cells = <2>;
3016 #size-cells = <0>;
3017 #sound-dai-cells = <1>;
3018 status = "disabled";
3019 };
3020
3021 swr2: soundwire@6d30000 {
3022 compatible = "qcom,soundwire-v2.0.0";
3023 reg = <0 0x06d30000 0 0x10000>;
3024 interrupts = <GIC_SPI 496 IRQ_TYPE_LEVEL_HIGH 0>,
3025 <GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH 0>;
3026 interrupt-names = "core", "wakeup";
3027 clocks = <&lpass_txmacro>;
3028 clock-names = "iface";
3029 label = "TX";
3030
3031 pinctrl-0 = <&tx_swr_active>;
3032 pinctrl-names = "default";
3033
3034 qcom,din-ports = <4>;
3035 qcom,dout-ports = <0>;
3036 qcom,ports-sinterval-low = /bits/ 8 <0x01 0x01 0x03 0x03>;
3037 qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x01 0x01>;
3038 qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x00 0x00>;
3039 qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff>;
3040 qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff>;
3041 qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff>;
3042 qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0xff 0xff>;
3043 qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff>;
3044 qcom,ports-lane-control = /bits/ 8 <0x01 0x02 0x00 0x00>;
3045
3046 #address-cells = <2>;
3047 #size-cells = <0>;
3048 #sound-dai-cells = <1>;
3049 status = "disabled";
3050 };
3051
3052 lpass_vamacro: codec@6d44000 {
3053 compatible = "qcom,sm8550-lpass-va-macro";
3054 reg = <0 0x06d44000 0 0x1000>;
3055 clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3056 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3057 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
3058 clock-names = "mclk", "macro", "dcodec";
3059
3060 #clock-cells = <0>;
3061 clock-output-names = "fsgen";
3062 #sound-dai-cells = <1>;
3063 };
3064
3065 lpass_tlmm: pinctrl@6e80000 {
3066 compatible = "qcom,sm8550-lpass-lpi-pinctrl";
3067 reg = <0 0x06e80000 0 0x20000>,
3068 <0 0x07250000 0 0x10000>;
3069 gpio-controller;
3070 #gpio-cells = <2>;
3071 gpio-ranges = <&lpass_tlmm 0 0 23>;
3072
3073 clocks = <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3074 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
3075 clock-names = "core", "audio";
3076
3077 tx_swr_active: tx-swr-active-state {
3078 clk-pins {
3079 pins = "gpio0";
3080 function = "swr_tx_clk";
3081 drive-strength = <2>;
3082 slew-rate = <1>;
3083 bias-disable;
3084 };
3085
3086 data-pins {
3087 pins = "gpio1", "gpio2", "gpio14";
3088 function = "swr_tx_data";
3089 drive-strength = <2>;
3090 slew-rate = <1>;
3091 bias-bus-hold;
3092 };
3093 };
3094
3095 rx_swr_active: rx-swr-active-state {
3096 clk-pins {
3097 pins = "gpio3";
3098 function = "swr_rx_clk";
3099 drive-strength = <2>;
3100 slew-rate = <1>;
3101 bias-disable;
3102 };
3103
3104 data-pins {
3105 pins = "gpio4", "gpio5";
3106 function = "swr_rx_data";
3107 drive-strength = <2>;
3108 slew-rate = <1>;
3109 bias-bus-hold;
3110 };
3111 };
3112
3113 dmic01_default: dmic01-default-state {
3114 clk-pins {
3115 pins = "gpio6";
3116 function = "dmic1_clk";
3117 drive-strength = <8>;
3118 output-high;
3119 };
3120
3121 data-pins {
3122 pins = "gpio7";
3123 function = "dmic1_data";
3124 drive-strength = <8>;
3125 input-enable;
3126 };
3127 };
3128
3129 dmic23_default: dmic23-default-state {
3130 clk-pins {
3131 pins = "gpio8";
3132 function = "dmic2_clk";
3133 drive-strength = <8>;
3134 output-high;
3135 };
3136
3137 data-pins {
3138 pins = "gpio9";
3139 function = "dmic2_data";
3140 drive-strength = <8>;
3141 input-enable;
3142 };
3143 };
3144
3145 wsa_swr_active: wsa-swr-active-state {
3146 clk-pins {
3147 pins = "gpio10";
3148 function = "wsa_swr_clk";
3149 drive-strength = <2>;
3150 slew-rate = <1>;
3151 bias-disable;
3152 };
3153
3154 data-pins {
3155 pins = "gpio11";
3156 function = "wsa_swr_data";
3157 drive-strength = <2>;
3158 slew-rate = <1>;
3159 bias-bus-hold;
3160 };
3161 };
3162
3163 wsa2_swr_active: wsa2-swr-active-state {
3164 clk-pins {
3165 pins = "gpio15";
3166 function = "wsa2_swr_clk";
3167 drive-strength = <2>;
3168 slew-rate = <1>;
3169 bias-disable;
3170 };
3171
3172 data-pins {
3173 pins = "gpio16";
3174 function = "wsa2_swr_data";
3175 drive-strength = <2>;
3176 slew-rate = <1>;
3177 bias-bus-hold;
3178 };
3179 };
3180 };
3181
3182 lpass_lpiaon_noc: interconnect@7400000 {
3183 compatible = "qcom,sm8550-lpass-lpiaon-noc";
3184 reg = <0 0x07400000 0 0x19080>;
3185 #interconnect-cells = <2>;
3186 qcom,bcm-voters = <&apps_bcm_voter>;
3187 };
3188
3189 lpass_lpicx_noc: interconnect@7430000 {
3190 compatible = "qcom,sm8550-lpass-lpicx-noc";
3191 reg = <0 0x07430000 0 0x3a200>;
3192 #interconnect-cells = <2>;
3193 qcom,bcm-voters = <&apps_bcm_voter>;
3194 };
3195
3196 lpass_ag_noc: interconnect@7e40000 {
3197 compatible = "qcom,sm8550-lpass-ag-noc";
3198 reg = <0 0x07e40000 0 0xe080>;
3199 #interconnect-cells = <2>;
3200 qcom,bcm-voters = <&apps_bcm_voter>;
3201 };
3202
3203 sdhc_2: mmc@8804000 {
3204 compatible = "qcom,sm8550-sdhci", "qcom,sdhci-msm-v5";
3205 reg = <0 0x08804000 0 0x1000>;
3206
3207 interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH 0>,
3208 <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH 0>;
3209 interrupt-names = "hc_irq", "pwr_irq";
3210
3211 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
3212 <&gcc GCC_SDCC2_APPS_CLK>,
3213 <&bi_tcxo_div2>;
3214 clock-names = "iface", "core", "xo";
3215 iommus = <&apps_smmu 0x540 0>;
3216 qcom,dll-config = <0x0007642c>;
3217 qcom,ddr-config = <0x80040868>;
3218 power-domains = <&rpmhpd RPMHPD_CX>;
3219 operating-points-v2 = <&sdhc2_opp_table>;
3220
3221 interconnects = <&aggre2_noc MASTER_SDCC_2 QCOM_ICC_TAG_ALWAYS
3222 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
3223 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
3224 &config_noc SLAVE_SDCC_2 QCOM_ICC_TAG_ACTIVE_ONLY>;
3225 interconnect-names = "sdhc-ddr", "cpu-sdhc";
3226 bus-width = <4>;
3227 max-sd-hs-hz = <37500000>;
3228 dma-coherent;
3229
3230 status = "disabled";
3231
3232 sdhc2_opp_table: opp-table {
3233 compatible = "operating-points-v2";
3234
3235 opp-19200000 {
3236 opp-hz = /bits/ 64 <19200000>;
3237 required-opps = <&rpmhpd_opp_min_svs>;
3238 };
3239
3240 opp-50000000 {
3241 opp-hz = /bits/ 64 <50000000>;
3242 required-opps = <&rpmhpd_opp_low_svs>;
3243 };
3244
3245 opp-100000000 {
3246 opp-hz = /bits/ 64 <100000000>;
3247 required-opps = <&rpmhpd_opp_svs>;
3248 };
3249
3250 opp-202000000 {
3251 opp-hz = /bits/ 64 <202000000>;
3252 required-opps = <&rpmhpd_opp_svs_l1>;
3253 };
3254 };
3255 };
3256
3257 iris: video-codec@aa00000 {
3258 compatible = "qcom,sm8550-iris";
3259
3260 reg = <0 0x0aa00000 0 0xf0000>;
3261 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH 0>;
3262
3263 power-domains = <&videocc VIDEO_CC_MVS0C_GDSC>,
3264 <&videocc VIDEO_CC_MVS0_GDSC>,
3265 <&rpmhpd RPMHPD_MXC>,
3266 <&rpmhpd RPMHPD_MMCX>;
3267 power-domain-names = "venus",
3268 "vcodec0",
3269 "mxc",
3270 "mmcx";
3271 operating-points-v2 = <&iris_opp_table>;
3272
3273 clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
3274 <&videocc VIDEO_CC_MVS0C_CLK>,
3275 <&videocc VIDEO_CC_MVS0_CLK>;
3276 clock-names = "iface",
3277 "core",
3278 "vcodec0_core";
3279
3280 interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
3281 &config_noc SLAVE_VENUS_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
3282 <&mmss_noc MASTER_VIDEO QCOM_ICC_TAG_ALWAYS
3283 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
3284 interconnect-names = "cpu-cfg",
3285 "video-mem";
3286
3287 memory-region = <&video_mem>;
3288
3289 resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>;
3290 reset-names = "bus";
3291
3292 iommus = <&apps_smmu 0x1940 0>,
3293 <&apps_smmu 0x1947 0>;
3294 dma-coherent;
3295
3296 /*
3297 * IRIS firmware is signed by vendors, only
3298 * enable on boards where the proper signed firmware
3299 * is available.
3300 */
3301 status = "disabled";
3302
3303 iris_opp_table: opp-table {
3304 compatible = "operating-points-v2";
3305
3306 opp-240000000 {
3307 opp-hz = /bits/ 64 <240000000>;
3308 required-opps = <&rpmhpd_opp_svs>,
3309 <&rpmhpd_opp_low_svs>;
3310 };
3311
3312 opp-338000000 {
3313 opp-hz = /bits/ 64 <338000000>;
3314 required-opps = <&rpmhpd_opp_svs>,
3315 <&rpmhpd_opp_svs>;
3316 };
3317
3318 opp-366000000 {
3319 opp-hz = /bits/ 64 <366000000>;
3320 required-opps = <&rpmhpd_opp_svs>,
3321 <&rpmhpd_opp_svs_l1>;
3322 };
3323
3324 opp-444000000 {
3325 opp-hz = /bits/ 64 <444000000>;
3326 required-opps = <&rpmhpd_opp_svs_l1>,
3327 <&rpmhpd_opp_nom>;
3328 };
3329
3330 opp-533333334 {
3331 opp-hz = /bits/ 64 <533333334>;
3332 required-opps = <&rpmhpd_opp_nom>,
3333 <&rpmhpd_opp_turbo>;
3334 };
3335 };
3336 };
3337
3338 videocc: clock-controller@aaf0000 {
3339 compatible = "qcom,sm8550-videocc";
3340 reg = <0 0x0aaf0000 0 0x10000>;
3341 clocks = <&bi_tcxo_div2>,
3342 <&gcc GCC_VIDEO_AHB_CLK>;
3343 power-domains = <&rpmhpd RPMHPD_MMCX>,
3344 <&rpmhpd RPMHPD_MXC>;
3345 required-opps = <&rpmhpd_opp_low_svs>,
3346 <&rpmhpd_opp_low_svs>;
3347 #clock-cells = <1>;
3348 #reset-cells = <1>;
3349 #power-domain-cells = <1>;
3350 };
3351
3352 cci0: cci@ac15000 {
3353 compatible = "qcom,sm8550-cci", "qcom,msm8996-cci";
3354 reg = <0 0x0ac15000 0 0x1000>;
3355 interrupts = <GIC_SPI 426 IRQ_TYPE_EDGE_RISING 0>;
3356 power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>;
3357 clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>,
3358 <&camcc CAM_CC_CPAS_AHB_CLK>,
3359 <&camcc CAM_CC_CCI_0_CLK>;
3360 clock-names = "camnoc_axi",
3361 "cpas_ahb",
3362 "cci";
3363 pinctrl-0 = <&cci0_0_default &cci0_1_default>;
3364 pinctrl-1 = <&cci0_0_sleep &cci0_1_sleep>;
3365 pinctrl-names = "default", "sleep";
3366 status = "disabled";
3367 #address-cells = <1>;
3368 #size-cells = <0>;
3369
3370 cci0_i2c0: i2c-bus@0 {
3371 reg = <0>;
3372 clock-frequency = <1000000>;
3373 #address-cells = <1>;
3374 #size-cells = <0>;
3375 };
3376
3377 cci0_i2c1: i2c-bus@1 {
3378 reg = <1>;
3379 clock-frequency = <1000000>;
3380 #address-cells = <1>;
3381 #size-cells = <0>;
3382 };
3383 };
3384
3385 cci1: cci@ac16000 {
3386 compatible = "qcom,sm8550-cci", "qcom,msm8996-cci";
3387 reg = <0 0x0ac16000 0 0x1000>;
3388 interrupts = <GIC_SPI 427 IRQ_TYPE_EDGE_RISING 0>;
3389 power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>;
3390 clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>,
3391 <&camcc CAM_CC_CPAS_AHB_CLK>,
3392 <&camcc CAM_CC_CCI_1_CLK>;
3393 clock-names = "camnoc_axi",
3394 "cpas_ahb",
3395 "cci";
3396 pinctrl-0 = <&cci1_0_default>;
3397 pinctrl-1 = <&cci1_0_sleep>;
3398 pinctrl-names = "default", "sleep";
3399 status = "disabled";
3400 #address-cells = <1>;
3401 #size-cells = <0>;
3402
3403 cci1_i2c0: i2c-bus@0 {
3404 reg = <0>;
3405 clock-frequency = <1000000>;
3406 #address-cells = <1>;
3407 #size-cells = <0>;
3408 };
3409 };
3410
3411 cci2: cci@ac17000 {
3412 compatible = "qcom,sm8550-cci", "qcom,msm8996-cci";
3413 reg = <0 0x0ac17000 0 0x1000>;
3414 interrupts = <GIC_SPI 428 IRQ_TYPE_EDGE_RISING 0>;
3415 power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>;
3416 clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>,
3417 <&camcc CAM_CC_CPAS_AHB_CLK>,
3418 <&camcc CAM_CC_CCI_2_CLK>;
3419 clock-names = "camnoc_axi",
3420 "cpas_ahb",
3421 "cci";
3422 pinctrl-0 = <&cci2_0_default &cci2_1_default>;
3423 pinctrl-1 = <&cci2_0_sleep &cci2_1_sleep>;
3424 pinctrl-names = "default", "sleep";
3425 status = "disabled";
3426 #address-cells = <1>;
3427 #size-cells = <0>;
3428
3429 cci2_i2c0: i2c-bus@0 {
3430 reg = <0>;
3431 clock-frequency = <1000000>;
3432 #address-cells = <1>;
3433 #size-cells = <0>;
3434 };
3435
3436 cci2_i2c1: i2c-bus@1 {
3437 reg = <1>;
3438 clock-frequency = <1000000>;
3439 #address-cells = <1>;
3440 #size-cells = <0>;
3441 };
3442 };
3443
3444 camss: isp@acb7000 {
3445 compatible = "qcom,sm8550-camss";
3446
3447 reg = <0x0 0x0acb7000 0x0 0x0d00>,
3448 <0x0 0x0acb9000 0x0 0x0d00>,
3449 <0x0 0x0acbb000 0x0 0x0d00>,
3450 <0x0 0x0acca000 0x0 0x0a00>,
3451 <0x0 0x0acce000 0x0 0x0a00>,
3452 <0x0 0x0acb6000 0x0 0x1000>,
3453 <0x0 0x0ace4000 0x0 0x2000>,
3454 <0x0 0x0ace6000 0x0 0x2000>,
3455 <0x0 0x0ace8000 0x0 0x2000>,
3456 <0x0 0x0acea000 0x0 0x2000>,
3457 <0x0 0x0acec000 0x0 0x2000>,
3458 <0x0 0x0acee000 0x0 0x2000>,
3459 <0x0 0x0acf0000 0x0 0x2000>,
3460 <0x0 0x0acf2000 0x0 0x2000>,
3461 <0x0 0x0ac62000 0x0 0xf000>,
3462 <0x0 0x0ac71000 0x0 0xf000>,
3463 <0x0 0x0ac80000 0x0 0xf000>,
3464 <0x0 0x0accb000 0x0 0x1800>,
3465 <0x0 0x0accf000 0x0 0x1800>;
3466 reg-names = "csid0",
3467 "csid1",
3468 "csid2",
3469 "csid_lite0",
3470 "csid_lite1",
3471 "csid_wrapper",
3472 "csiphy0",
3473 "csiphy1",
3474 "csiphy2",
3475 "csiphy3",
3476 "csiphy4",
3477 "csiphy5",
3478 "csiphy6",
3479 "csiphy7",
3480 "vfe0",
3481 "vfe1",
3482 "vfe2",
3483 "vfe_lite0",
3484 "vfe_lite1";
3485
3486 clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>,
3487 <&camcc CAM_CC_CPAS_AHB_CLK>,
3488 <&camcc CAM_CC_CPAS_FAST_AHB_CLK>,
3489 <&camcc CAM_CC_CPAS_IFE_LITE_CLK>,
3490 <&camcc CAM_CC_CPAS_IFE_0_CLK>,
3491 <&camcc CAM_CC_CPAS_IFE_1_CLK>,
3492 <&camcc CAM_CC_CPAS_IFE_2_CLK>,
3493 <&camcc CAM_CC_CSID_CLK>,
3494 <&camcc CAM_CC_CSIPHY0_CLK>,
3495 <&camcc CAM_CC_CSI0PHYTIMER_CLK>,
3496 <&camcc CAM_CC_CSIPHY1_CLK>,
3497 <&camcc CAM_CC_CSI1PHYTIMER_CLK>,
3498 <&camcc CAM_CC_CSIPHY2_CLK>,
3499 <&camcc CAM_CC_CSI2PHYTIMER_CLK>,
3500 <&camcc CAM_CC_CSIPHY3_CLK>,
3501 <&camcc CAM_CC_CSI3PHYTIMER_CLK>,
3502 <&camcc CAM_CC_CSIPHY4_CLK>,
3503 <&camcc CAM_CC_CSI4PHYTIMER_CLK>,
3504 <&camcc CAM_CC_CSIPHY5_CLK>,
3505 <&camcc CAM_CC_CSI5PHYTIMER_CLK>,
3506 <&camcc CAM_CC_CSIPHY6_CLK>,
3507 <&camcc CAM_CC_CSI6PHYTIMER_CLK>,
3508 <&camcc CAM_CC_CSIPHY7_CLK>,
3509 <&camcc CAM_CC_CSI7PHYTIMER_CLK>,
3510 <&camcc CAM_CC_CSID_CSIPHY_RX_CLK>,
3511 <&gcc GCC_CAMERA_HF_AXI_CLK>,
3512 <&camcc CAM_CC_IFE_0_CLK>,
3513 <&camcc CAM_CC_IFE_0_FAST_AHB_CLK>,
3514 <&camcc CAM_CC_IFE_1_CLK>,
3515 <&camcc CAM_CC_IFE_1_FAST_AHB_CLK>,
3516 <&camcc CAM_CC_IFE_2_CLK>,
3517 <&camcc CAM_CC_IFE_2_FAST_AHB_CLK>,
3518 <&camcc CAM_CC_IFE_LITE_CLK>,
3519 <&camcc CAM_CC_IFE_LITE_AHB_CLK>,
3520 <&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
3521 <&camcc CAM_CC_IFE_LITE_CSID_CLK>;
3522 clock-names = "camnoc_axi",
3523 "cpas_ahb",
3524 "cpas_fast_ahb_clk",
3525 "cpas_ife_lite",
3526 "cpas_vfe0",
3527 "cpas_vfe1",
3528 "cpas_vfe2",
3529 "csid",
3530 "csiphy0",
3531 "csiphy0_timer",
3532 "csiphy1",
3533 "csiphy1_timer",
3534 "csiphy2",
3535 "csiphy2_timer",
3536 "csiphy3",
3537 "csiphy3_timer",
3538 "csiphy4",
3539 "csiphy4_timer",
3540 "csiphy5",
3541 "csiphy5_timer",
3542 "csiphy6",
3543 "csiphy6_timer",
3544 "csiphy7",
3545 "csiphy7_timer",
3546 "csiphy_rx",
3547 "gcc_axi_hf",
3548 "vfe0",
3549 "vfe0_fast_ahb",
3550 "vfe1",
3551 "vfe1_fast_ahb",
3552 "vfe2",
3553 "vfe2_fast_ahb",
3554 "vfe_lite",
3555 "vfe_lite_ahb",
3556 "vfe_lite_cphy_rx",
3557 "vfe_lite_csid";
3558
3559 interrupts = <GIC_SPI 601 IRQ_TYPE_EDGE_RISING 0>,
3560 <GIC_SPI 603 IRQ_TYPE_EDGE_RISING 0>,
3561 <GIC_SPI 431 IRQ_TYPE_EDGE_RISING 0>,
3562 <GIC_SPI 605 IRQ_TYPE_EDGE_RISING 0>,
3563 <GIC_SPI 376 IRQ_TYPE_EDGE_RISING 0>,
3564 <GIC_SPI 477 IRQ_TYPE_EDGE_RISING 0>,
3565 <GIC_SPI 478 IRQ_TYPE_EDGE_RISING 0>,
3566 <GIC_SPI 479 IRQ_TYPE_EDGE_RISING 0>,
3567 <GIC_SPI 448 IRQ_TYPE_EDGE_RISING 0>,
3568 <GIC_SPI 122 IRQ_TYPE_EDGE_RISING 0>,
3569 <GIC_SPI 89 IRQ_TYPE_EDGE_RISING 0>,
3570 <GIC_SPI 278 IRQ_TYPE_EDGE_RISING 0>,
3571 <GIC_SPI 277 IRQ_TYPE_EDGE_RISING 0>,
3572 <GIC_SPI 602 IRQ_TYPE_EDGE_RISING 0>,
3573 <GIC_SPI 604 IRQ_TYPE_EDGE_RISING 0>,
3574 <GIC_SPI 688 IRQ_TYPE_EDGE_RISING 0>,
3575 <GIC_SPI 606 IRQ_TYPE_EDGE_RISING 0>,
3576 <GIC_SPI 377 IRQ_TYPE_EDGE_RISING 0>;
3577 interrupt-names = "csid0",
3578 "csid1",
3579 "csid2",
3580 "csid_lite0",
3581 "csid_lite1",
3582 "csiphy0",
3583 "csiphy1",
3584 "csiphy2",
3585 "csiphy3",
3586 "csiphy4",
3587 "csiphy5",
3588 "csiphy6",
3589 "csiphy7",
3590 "vfe0",
3591 "vfe1",
3592 "vfe2",
3593 "vfe_lite0",
3594 "vfe_lite1";
3595
3596 interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
3597 &config_noc SLAVE_CAMERA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
3598 <&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS
3599 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
3600 interconnect-names = "ahb",
3601 "hf_0_mnoc";
3602
3603 iommus = <&apps_smmu 0x800 0x20>;
3604
3605 power-domains = <&camcc CAM_CC_IFE_0_GDSC>,
3606 <&camcc CAM_CC_IFE_1_GDSC>,
3607 <&camcc CAM_CC_IFE_2_GDSC>,
3608 <&camcc CAM_CC_TITAN_TOP_GDSC>;
3609 power-domain-names = "ife0",
3610 "ife1",
3611 "ife2",
3612 "top";
3613
3614 status = "disabled";
3615
3616 ports {
3617 #address-cells = <1>;
3618 #size-cells = <0>;
3619
3620 port@0 {
3621 reg = <0>;
3622 };
3623
3624 port@1 {
3625 reg = <1>;
3626 };
3627
3628 port@2 {
3629 reg = <2>;
3630 };
3631
3632 port@3 {
3633 reg = <3>;
3634 };
3635
3636 port@4 {
3637 reg = <4>;
3638 };
3639
3640 port@5 {
3641 reg = <5>;
3642 };
3643
3644 port@6 {
3645 reg = <6>;
3646 };
3647
3648 port@7 {
3649 reg = <7>;
3650 };
3651 };
3652 };
3653
3654 camcc: clock-controller@ade0000 {
3655 compatible = "qcom,sm8550-camcc";
3656 reg = <0 0x0ade0000 0 0x20000>;
3657 clocks = <&gcc GCC_CAMERA_AHB_CLK>,
3658 <&bi_tcxo_div2>,
3659 <&bi_tcxo_ao_div2>,
3660 <&sleep_clk>;
3661 power-domains = <&rpmhpd RPMHPD_MMCX>,
3662 <&rpmhpd RPMHPD_MXC>;
3663 required-opps = <&rpmhpd_opp_low_svs>,
3664 <&rpmhpd_opp_low_svs>;
3665 #clock-cells = <1>;
3666 #reset-cells = <1>;
3667 #power-domain-cells = <1>;
3668 };
3669
3670 mdss: display-subsystem@ae00000 {
3671 compatible = "qcom,sm8550-mdss";
3672 reg = <0 0x0ae00000 0 0x1000>;
3673 reg-names = "mdss";
3674
3675 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH 0>;
3676 interrupt-controller;
3677 #interrupt-cells = <1>;
3678
3679 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3680 <&gcc GCC_DISP_AHB_CLK>,
3681 <&gcc GCC_DISP_HF_AXI_CLK>,
3682 <&dispcc DISP_CC_MDSS_MDP_CLK>;
3683
3684 resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;
3685
3686 power-domains = <&dispcc MDSS_GDSC>;
3687
3688 interconnects = <&mmss_noc MASTER_MDP QCOM_ICC_TAG_ALWAYS
3689 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
3690 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
3691 &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
3692 interconnect-names = "mdp0-mem", "cpu-cfg";
3693
3694 iommus = <&apps_smmu 0x1c00 0x2>;
3695
3696 #address-cells = <2>;
3697 #size-cells = <2>;
3698 ranges;
3699
3700 status = "disabled";
3701
3702 mdss_mdp: display-controller@ae01000 {
3703 compatible = "qcom,sm8550-dpu";
3704 reg = <0 0x0ae01000 0 0x8f000>,
3705 <0 0x0aeb0000 0 0x3000>;
3706 reg-names = "mdp", "vbif";
3707
3708 interrupt-parent = <&mdss>;
3709 interrupts = <0>;
3710
3711 clocks = <&gcc GCC_DISP_AHB_CLK>,
3712 <&gcc GCC_DISP_HF_AXI_CLK>,
3713 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3714 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
3715 <&dispcc DISP_CC_MDSS_MDP_CLK>,
3716 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
3717 clock-names = "bus",
3718 "nrt_bus",
3719 "iface",
3720 "lut",
3721 "core",
3722 "vsync";
3723
3724 power-domains = <&rpmhpd RPMHPD_MMCX>;
3725
3726 assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
3727 assigned-clock-rates = <19200000>;
3728
3729 operating-points-v2 = <&mdp_opp_table>;
3730
3731 ports {
3732 #address-cells = <1>;
3733 #size-cells = <0>;
3734
3735 port@0 {
3736 reg = <0>;
3737 dpu_intf1_out: endpoint {
3738 remote-endpoint = <&mdss_dsi0_in>;
3739 };
3740 };
3741
3742 port@1 {
3743 reg = <1>;
3744 dpu_intf2_out: endpoint {
3745 remote-endpoint = <&mdss_dsi1_in>;
3746 };
3747 };
3748
3749 port@2 {
3750 reg = <2>;
3751 dpu_intf0_out: endpoint {
3752 remote-endpoint = <&mdss_dp0_in>;
3753 };
3754 };
3755 };
3756
3757 mdp_opp_table: opp-table {
3758 compatible = "operating-points-v2";
3759
3760 opp-200000000 {
3761 opp-hz = /bits/ 64 <200000000>;
3762 required-opps = <&rpmhpd_opp_low_svs>;
3763 };
3764
3765 opp-325000000 {
3766 opp-hz = /bits/ 64 <325000000>;
3767 required-opps = <&rpmhpd_opp_svs>;
3768 };
3769
3770 opp-375000000 {
3771 opp-hz = /bits/ 64 <375000000>;
3772 required-opps = <&rpmhpd_opp_svs_l1>;
3773 };
3774
3775 opp-514000000 {
3776 opp-hz = /bits/ 64 <514000000>;
3777 required-opps = <&rpmhpd_opp_nom>;
3778 };
3779 };
3780 };
3781
3782 mdss_dp0: displayport-controller@ae90000 {
3783 compatible = "qcom,sm8550-dp", "qcom,sm8350-dp";
3784 reg = <0 0xae90000 0 0x200>,
3785 <0 0xae90200 0 0x200>,
3786 <0 0xae90400 0 0xc00>,
3787 <0 0xae91000 0 0x400>,
3788 <0 0xae91400 0 0x400>;
3789 interrupt-parent = <&mdss>;
3790 interrupts = <12>;
3791 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3792 <&dispcc DISP_CC_MDSS_DPTX0_AUX_CLK>,
3793 <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK>,
3794 <&dispcc DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>,
3795 <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK>,
3796 <&dispcc DISP_CC_MDSS_DPTX0_PIXEL1_CLK>;
3797 clock-names = "core_iface",
3798 "core_aux",
3799 "ctrl_link",
3800 "ctrl_link_iface",
3801 "stream_pixel",
3802 "stream_1_pixel";
3803
3804 assigned-clocks = <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>,
3805 <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>,
3806 <&dispcc DISP_CC_MDSS_DPTX0_PIXEL1_CLK_SRC>;
3807 assigned-clock-parents = <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>,
3808 <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>,
3809 <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;
3810
3811 phys = <&usb_dp_qmpphy QMP_USB43DP_DP_PHY>;
3812 phy-names = "dp";
3813
3814 #sound-dai-cells = <0>;
3815
3816 operating-points-v2 = <&dp_opp_table>;
3817 power-domains = <&rpmhpd RPMHPD_MMCX>;
3818
3819 status = "disabled";
3820
3821 ports {
3822 #address-cells = <1>;
3823 #size-cells = <0>;
3824
3825 port@0 {
3826 reg = <0>;
3827 mdss_dp0_in: endpoint {
3828 remote-endpoint = <&dpu_intf0_out>;
3829 };
3830 };
3831
3832 port@1 {
3833 reg = <1>;
3834 mdss_dp0_out: endpoint {
3835 data-lanes = <0 1 2 3>;
3836 remote-endpoint = <&usb_dp_qmpphy_dp_in>;
3837 };
3838 };
3839 };
3840
3841 dp_opp_table: opp-table {
3842 compatible = "operating-points-v2";
3843
3844 opp-162000000 {
3845 opp-hz = /bits/ 64 <162000000>;
3846 required-opps = <&rpmhpd_opp_low_svs_d1>;
3847 };
3848
3849 opp-270000000 {
3850 opp-hz = /bits/ 64 <270000000>;
3851 required-opps = <&rpmhpd_opp_low_svs>;
3852 };
3853
3854 opp-540000000 {
3855 opp-hz = /bits/ 64 <540000000>;
3856 required-opps = <&rpmhpd_opp_svs_l1>;
3857 };
3858
3859 opp-810000000 {
3860 opp-hz = /bits/ 64 <810000000>;
3861 required-opps = <&rpmhpd_opp_nom>;
3862 };
3863 };
3864 };
3865
3866 mdss_dsi0: dsi@ae94000 {
3867 compatible = "qcom,sm8550-dsi-ctrl", "qcom,mdss-dsi-ctrl";
3868 reg = <0 0x0ae94000 0 0x400>;
3869 reg-names = "dsi_ctrl";
3870
3871 interrupt-parent = <&mdss>;
3872 interrupts = <4>;
3873
3874 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
3875 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
3876 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
3877 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
3878 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3879 <&gcc GCC_DISP_HF_AXI_CLK>;
3880 clock-names = "byte",
3881 "byte_intf",
3882 "pixel",
3883 "core",
3884 "iface",
3885 "bus";
3886
3887 power-domains = <&rpmhpd RPMHPD_MMCX>;
3888
3889 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
3890 <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
3891 assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
3892 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>;
3893
3894 operating-points-v2 = <&mdss_dsi_opp_table>;
3895
3896 phys = <&mdss_dsi0_phy>;
3897 phy-names = "dsi";
3898
3899 #address-cells = <1>;
3900 #size-cells = <0>;
3901
3902 status = "disabled";
3903
3904 ports {
3905 #address-cells = <1>;
3906 #size-cells = <0>;
3907
3908 port@0 {
3909 reg = <0>;
3910 mdss_dsi0_in: endpoint {
3911 remote-endpoint = <&dpu_intf1_out>;
3912 };
3913 };
3914
3915 port@1 {
3916 reg = <1>;
3917 mdss_dsi0_out: endpoint {
3918 };
3919 };
3920 };
3921
3922 mdss_dsi_opp_table: opp-table {
3923 compatible = "operating-points-v2";
3924
3925 opp-187500000 {
3926 opp-hz = /bits/ 64 <187500000>;
3927 required-opps = <&rpmhpd_opp_low_svs>;
3928 };
3929
3930 opp-300000000 {
3931 opp-hz = /bits/ 64 <300000000>;
3932 required-opps = <&rpmhpd_opp_svs>;
3933 };
3934
3935 opp-358000000 {
3936 opp-hz = /bits/ 64 <358000000>;
3937 required-opps = <&rpmhpd_opp_svs_l1>;
3938 };
3939 };
3940 };
3941
3942 mdss_dsi0_phy: phy@ae95000 {
3943 compatible = "qcom,sm8550-dsi-phy-4nm";
3944 reg = <0 0x0ae95000 0 0x200>,
3945 <0 0x0ae95200 0 0x280>,
3946 <0 0x0ae95500 0 0x400>;
3947 reg-names = "dsi_phy",
3948 "dsi_phy_lane",
3949 "dsi_pll";
3950
3951 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3952 <&rpmhcc RPMH_CXO_CLK>;
3953 clock-names = "iface", "ref";
3954
3955 #clock-cells = <1>;
3956 #phy-cells = <0>;
3957
3958 status = "disabled";
3959 };
3960
3961 mdss_dsi1: dsi@ae96000 {
3962 compatible = "qcom,sm8550-dsi-ctrl", "qcom,mdss-dsi-ctrl";
3963 reg = <0 0x0ae96000 0 0x400>;
3964 reg-names = "dsi_ctrl";
3965
3966 interrupt-parent = <&mdss>;
3967 interrupts = <5>;
3968
3969 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
3970 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
3971 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
3972 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
3973 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3974 <&gcc GCC_DISP_HF_AXI_CLK>;
3975 clock-names = "byte",
3976 "byte_intf",
3977 "pixel",
3978 "core",
3979 "iface",
3980 "bus";
3981
3982 power-domains = <&rpmhpd RPMHPD_MMCX>;
3983
3984 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
3985 <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
3986 assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>,
3987 <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>;
3988
3989 operating-points-v2 = <&mdss_dsi_opp_table>;
3990
3991 phys = <&mdss_dsi1_phy>;
3992 phy-names = "dsi";
3993
3994 #address-cells = <1>;
3995 #size-cells = <0>;
3996
3997 status = "disabled";
3998
3999 ports {
4000 #address-cells = <1>;
4001 #size-cells = <0>;
4002
4003 port@0 {
4004 reg = <0>;
4005 mdss_dsi1_in: endpoint {
4006 remote-endpoint = <&dpu_intf2_out>;
4007 };
4008 };
4009
4010 port@1 {
4011 reg = <1>;
4012 mdss_dsi1_out: endpoint {
4013 };
4014 };
4015 };
4016 };
4017
4018 mdss_dsi1_phy: phy@ae97000 {
4019 compatible = "qcom,sm8550-dsi-phy-4nm";
4020 reg = <0 0x0ae97000 0 0x200>,
4021 <0 0x0ae97200 0 0x280>,
4022 <0 0x0ae97500 0 0x400>;
4023 reg-names = "dsi_phy",
4024 "dsi_phy_lane",
4025 "dsi_pll";
4026
4027 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4028 <&rpmhcc RPMH_CXO_CLK>;
4029 clock-names = "iface", "ref";
4030
4031 #clock-cells = <1>;
4032 #phy-cells = <0>;
4033
4034 status = "disabled";
4035 };
4036 };
4037
4038 dispcc: clock-controller@af00000 {
4039 compatible = "qcom,sm8550-dispcc";
4040 reg = <0 0x0af00000 0 0x20000>;
4041 clocks = <&bi_tcxo_div2>,
4042 <&bi_tcxo_ao_div2>,
4043 <&gcc GCC_DISP_AHB_CLK>,
4044 <&sleep_clk>,
4045 <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
4046 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>,
4047 <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>,
4048 <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>,
4049 <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>,
4050 <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>,
4051 <0>, /* dp1 */
4052 <0>,
4053 <0>, /* dp2 */
4054 <0>,
4055 <0>, /* dp3 */
4056 <0>;
4057 power-domains = <&rpmhpd RPMHPD_MMCX>;
4058 required-opps = <&rpmhpd_opp_low_svs>;
4059 #clock-cells = <1>;
4060 #reset-cells = <1>;
4061 #power-domain-cells = <1>;
4062 };
4063
4064 usb_1_hsphy: phy@88e3000 {
4065 compatible = "qcom,sm8550-snps-eusb2-phy";
4066 reg = <0x0 0x088e3000 0x0 0x154>;
4067 #phy-cells = <0>;
4068
4069 clocks = <&tcsr TCSR_USB2_CLKREF_EN>;
4070 clock-names = "ref";
4071
4072 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
4073
4074 status = "disabled";
4075 };
4076
4077 usb_dp_qmpphy: phy@88e8000 {
4078 compatible = "qcom,sm8550-qmp-usb3-dp-phy";
4079 reg = <0x0 0x088e8000 0x0 0x3000>;
4080
4081 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
4082 <&rpmhcc RPMH_CXO_CLK>,
4083 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>,
4084 <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
4085 clock-names = "aux", "ref", "com_aux", "usb3_pipe";
4086
4087 power-domains = <&gcc USB3_PHY_GDSC>;
4088
4089 resets = <&gcc GCC_USB3_PHY_PRIM_BCR>,
4090 <&gcc GCC_USB3_DP_PHY_PRIM_BCR>;
4091 reset-names = "phy", "common";
4092
4093 #clock-cells = <1>;
4094 #phy-cells = <1>;
4095
4096 mode-switch;
4097 orientation-switch;
4098
4099 status = "disabled";
4100
4101 ports {
4102 #address-cells = <1>;
4103 #size-cells = <0>;
4104
4105 port@0 {
4106 reg = <0>;
4107
4108 usb_dp_qmpphy_out: endpoint {
4109 };
4110 };
4111
4112 port@1 {
4113 reg = <1>;
4114
4115 usb_dp_qmpphy_usb_ss_in: endpoint {
4116 remote-endpoint = <&usb_1_dwc3_ss>;
4117 };
4118 };
4119
4120 port@2 {
4121 reg = <2>;
4122
4123 usb_dp_qmpphy_dp_in: endpoint {
4124 remote-endpoint = <&mdss_dp0_out>;
4125 };
4126 };
4127 };
4128 };
4129
4130 usb_1: usb@a600000 {
4131 compatible = "qcom,sm8550-dwc3", "qcom,snps-dwc3";
4132 reg = <0x0 0x0a600000 0x0 0xfc100>;
4133
4134 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
4135 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
4136 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
4137 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
4138 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
4139 <&tcsr TCSR_USB3_CLKREF_EN>;
4140 clock-names = "cfg_noc",
4141 "core",
4142 "iface",
4143 "sleep",
4144 "mock_utmi",
4145 "xo";
4146
4147 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
4148 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
4149 assigned-clock-rates = <19200000>, <200000000>;
4150
4151 interrupts-extended = <&intc GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH 0>,
4152 <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH 0>,
4153 <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH 0>,
4154 <&pdc 14 IRQ_TYPE_EDGE_BOTH>,
4155 <&pdc 15 IRQ_TYPE_EDGE_BOTH>,
4156 <&pdc 17 IRQ_TYPE_LEVEL_HIGH>;
4157 interrupt-names = "dwc_usb3",
4158 "pwr_event",
4159 "hs_phy_irq",
4160 "dp_hs_phy_irq",
4161 "dm_hs_phy_irq",
4162 "ss_phy_irq";
4163
4164 power-domains = <&gcc USB30_PRIM_GDSC>;
4165 required-opps = <&rpmhpd_opp_nom>;
4166
4167 resets = <&gcc GCC_USB30_PRIM_BCR>;
4168
4169 interconnects = <&aggre1_noc MASTER_USB3_0 QCOM_ICC_TAG_ALWAYS
4170 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
4171 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
4172 &config_noc SLAVE_USB3_0 QCOM_ICC_TAG_ACTIVE_ONLY>;
4173 interconnect-names = "usb-ddr", "apps-usb";
4174
4175 iommus = <&apps_smmu 0x40 0x0>;
4176
4177 phys = <&usb_1_hsphy>,
4178 <&usb_dp_qmpphy QMP_USB43DP_USB3_PHY>;
4179 phy-names = "usb2-phy", "usb3-phy";
4180
4181 snps,hird-threshold = /bits/ 8 <0x0>;
4182 snps,usb2-gadget-lpm-disable;
4183 snps,dis_u2_susphy_quirk;
4184 snps,dis_enblslpm_quirk;
4185 snps,dis-u1-entry-quirk;
4186 snps,dis-u2-entry-quirk;
4187 snps,is-utmi-l1-suspend;
4188 snps,usb3_lpm_capable;
4189 snps,usb2-lpm-disable;
4190 snps,has-lpm-erratum;
4191 tx-fifo-resize;
4192
4193 dma-coherent;
4194
4195 usb-role-switch;
4196
4197 status = "disabled";
4198
4199 ports {
4200 #address-cells = <1>;
4201 #size-cells = <0>;
4202
4203 port@0 {
4204 reg = <0>;
4205
4206 usb_1_dwc3_hs: endpoint {
4207 };
4208 };
4209
4210 port@1 {
4211 reg = <1>;
4212
4213 usb_1_dwc3_ss: endpoint {
4214 remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>;
4215 };
4216 };
4217 };
4218 };
4219
4220 pdc: interrupt-controller@b220000 {
4221 compatible = "qcom,sm8550-pdc", "qcom,pdc";
4222 reg = <0 0x0b220000 0 0x30000>, <0 0x174000f0 0 0x64>;
4223 qcom,pdc-ranges = <0 480 94>, <94 609 31>,
4224 <125 63 1>, <126 716 12>,
4225 <138 251 5>;
4226 #interrupt-cells = <2>;
4227 interrupt-parent = <&intc>;
4228 interrupt-controller;
4229 };
4230
4231 tsens0: thermal-sensor@c271000 {
4232 compatible = "qcom,sm8550-tsens", "qcom,tsens-v2";
4233 reg = <0 0x0c271000 0 0x1000>, /* TM */
4234 <0 0x0c222000 0 0x1000>; /* SROT */
4235 #qcom,sensors = <16>;
4236 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH 0>,
4237 <GIC_SPI 640 IRQ_TYPE_LEVEL_HIGH 0>;
4238 interrupt-names = "uplow", "critical";
4239 #thermal-sensor-cells = <1>;
4240 };
4241
4242 tsens1: thermal-sensor@c272000 {
4243 compatible = "qcom,sm8550-tsens", "qcom,tsens-v2";
4244 reg = <0 0x0c272000 0 0x1000>, /* TM */
4245 <0 0x0c223000 0 0x1000>; /* SROT */
4246 #qcom,sensors = <16>;
4247 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH 0>,
4248 <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH 0>;
4249 interrupt-names = "uplow", "critical";
4250 #thermal-sensor-cells = <1>;
4251 };
4252
4253 tsens2: thermal-sensor@c273000 {
4254 compatible = "qcom,sm8550-tsens", "qcom,tsens-v2";
4255 reg = <0 0x0c273000 0 0x1000>, /* TM */
4256 <0 0x0c224000 0 0x1000>; /* SROT */
4257 #qcom,sensors = <16>;
4258 interrupts = <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH 0>,
4259 <GIC_SPI 642 IRQ_TYPE_LEVEL_HIGH 0>;
4260 interrupt-names = "uplow", "critical";
4261 #thermal-sensor-cells = <1>;
4262 };
4263
4264 aoss_qmp: power-management@c300000 {
4265 compatible = "qcom,sm8550-aoss-qmp", "qcom,aoss-qmp";
4266 reg = <0 0x0c300000 0 0x400>;
4267 interrupt-parent = <&ipcc>;
4268 interrupts-extended = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP
4269 IRQ_TYPE_EDGE_RISING>;
4270 mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>;
4271
4272 #clock-cells = <0>;
4273 };
4274
4275 sram@c3f0000 {
4276 compatible = "qcom,rpmh-stats";
4277 reg = <0 0x0c3f0000 0 0x400>;
4278 qcom,qmp = <&aoss_qmp>;
4279 };
4280
4281 spmi_bus: spmi@c400000 {
4282 compatible = "qcom,spmi-pmic-arb";
4283 reg = <0 0x0c400000 0 0x3000>,
4284 <0 0x0c500000 0 0x400000>,
4285 <0 0x0c440000 0 0x80000>,
4286 <0 0x0c4c0000 0 0x20000>,
4287 <0 0x0c42d000 0 0x4000>;
4288 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
4289 interrupt-names = "periph_irq";
4290 interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
4291 qcom,ee = <0>;
4292 qcom,channel = <0>;
4293 qcom,bus-id = <0>;
4294 #address-cells = <2>;
4295 #size-cells = <0>;
4296 interrupt-controller;
4297 #interrupt-cells = <4>;
4298 };
4299
4300 tlmm: pinctrl@f100000 {
4301 compatible = "qcom,sm8550-tlmm";
4302 reg = <0 0x0f100000 0 0x300000>;
4303 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH 0>;
4304 gpio-controller;
4305 #gpio-cells = <2>;
4306 interrupt-controller;
4307 #interrupt-cells = <2>;
4308 gpio-ranges = <&tlmm 0 0 211>;
4309 wakeup-parent = <&pdc>;
4310
4311 cam0_default: cam0-default-state {
4312 mclk-pins {
4313 pins = "gpio100";
4314 function = "cam_mclk";
4315 drive-strength = <2>;
4316 bias-disable;
4317 };
4318 };
4319
4320 cam0_sleep: cam0-sleep-state {
4321 mclk-pins {
4322 pins = "gpio100";
4323 function = "cam_mclk";
4324 drive-strength = <2>;
4325 bias-pull-down;
4326 };
4327 };
4328
4329 cam1_default: cam1-default-state {
4330 mclk-pins {
4331 pins = "gpio101";
4332 function = "cam_mclk";
4333 drive-strength = <2>;
4334 bias-disable;
4335 };
4336 };
4337
4338 cam1_sleep: cam1-sleep-state {
4339 mclk-pins {
4340 pins = "gpio101";
4341 function = "cam_mclk";
4342 drive-strength = <2>;
4343 bias-pull-down;
4344 };
4345 };
4346
4347 cam2_default: cam2-default-state {
4348 mclk-pins {
4349 pins = "gpio102";
4350 function = "cam_mclk";
4351 drive-strength = <2>;
4352 bias-disable;
4353 };
4354 };
4355
4356 cam2_sleep: cam2-sleep-state {
4357 mclk-pins {
4358 pins = "gpio102";
4359 function = "cam_mclk";
4360 drive-strength = <2>;
4361 bias-pull-down;
4362 };
4363 };
4364
4365 cam3_default: cam3-default-state {
4366 mclk-pins {
4367 pins = "gpio103";
4368 function = "cam_mclk";
4369 drive-strength = <2>;
4370 bias-disable;
4371 };
4372 };
4373
4374 cam3_sleep: cam3-sleep-state {
4375 mclk-pins {
4376 pins = "gpio103";
4377 function = "cam_mclk";
4378 drive-strength = <2>;
4379 bias-pull-down;
4380 };
4381 };
4382
4383 cam4_default: cam4-default-state {
4384 mclk-pins {
4385 pins = "gpio104";
4386 function = "cam_aon_mclk4";
4387 drive-strength = <2>;
4388 bias-disable;
4389 };
4390 };
4391
4392 cam4_sleep: cam4-sleep-state {
4393 mclk-pins {
4394 pins = "gpio104";
4395 function = "cam_aon_mclk4";
4396 drive-strength = <2>;
4397 bias-pull-down;
4398 };
4399 };
4400
4401 cam5_default: cam5-default-state {
4402 mclk-pins {
4403 pins = "gpio105";
4404 function = "cam_mclk";
4405 drive-strength = <2>;
4406 bias-disable;
4407 };
4408 };
4409
4410 cam5_sleep: cam5-sleep-state {
4411 mclk-pins {
4412 pins = "gpio105";
4413 function = "cam_mclk";
4414 drive-strength = <2>;
4415 bias-pull-down;
4416 };
4417 };
4418
4419 cam6_default: cam6-default-state {
4420 mclk-pins {
4421 pins = "gpio106";
4422 function = "cam_mclk";
4423 drive-strength = <2>;
4424 bias-disable;
4425 };
4426 };
4427
4428 cam6_sleep: cam6-sleep-state {
4429 mclk-pins {
4430 pins = "gpio106";
4431 function = "cam_mclk";
4432 drive-strength = <2>;
4433 bias-pull-down;
4434 };
4435 };
4436
4437 cam7_default: cam7-default-state {
4438 mclk-pins {
4439 pins = "gpio107";
4440 function = "cam_mclk";
4441 drive-strength = <2>;
4442 bias-disable;
4443 };
4444 };
4445
4446 cam7_sleep: cam7-sleep-state {
4447 mclk-pins {
4448 pins = "gpio107";
4449 function = "cam_mclk";
4450 drive-strength = <2>;
4451 bias-pull-down;
4452 };
4453 };
4454
4455 cci0_0_default: cci0-0-default-state {
4456 sda-pins {
4457 pins = "gpio110";
4458 function = "cci_i2c_sda";
4459 drive-strength = <2>;
4460 bias-pull-up = <2200>;
4461 };
4462
4463 scl-pins {
4464 pins = "gpio111";
4465 function = "cci_i2c_scl";
4466 drive-strength = <2>;
4467 bias-pull-up = <2200>;
4468 };
4469 };
4470
4471 cci0_0_sleep: cci0-0-sleep-state {
4472 sda-pins {
4473 pins = "gpio110";
4474 function = "cci_i2c_sda";
4475 drive-strength = <2>;
4476 bias-pull-down;
4477 };
4478
4479 scl-pins {
4480 pins = "gpio111";
4481 function = "cci_i2c_scl";
4482 drive-strength = <2>;
4483 bias-pull-down;
4484 };
4485 };
4486
4487 cci0_1_default: cci0-1-default-state {
4488 sda-pins {
4489 pins = "gpio112";
4490 function = "cci_i2c_sda";
4491 drive-strength = <2>;
4492 bias-pull-up = <2200>;
4493 };
4494
4495 scl-pins {
4496 pins = "gpio113";
4497 function = "cci_i2c_scl";
4498 drive-strength = <2>;
4499 bias-pull-up = <2200>;
4500 };
4501 };
4502
4503 cci0_1_sleep: cci0-1-sleep-state {
4504 sda-pins {
4505 pins = "gpio112";
4506 function = "cci_i2c_sda";
4507 drive-strength = <2>;
4508 bias-pull-down;
4509 };
4510
4511 scl-pins {
4512 pins = "gpio113";
4513 function = "cci_i2c_scl";
4514 drive-strength = <2>;
4515 bias-pull-down;
4516 };
4517 };
4518
4519 cci1_0_default: cci1-0-default-state {
4520 sda-pins {
4521 pins = "gpio114";
4522 function = "cci_i2c_sda";
4523 drive-strength = <2>;
4524 bias-pull-up = <2200>;
4525 };
4526
4527 scl-pins {
4528 pins = "gpio115";
4529 function = "cci_i2c_scl";
4530 drive-strength = <2>;
4531 bias-pull-up = <2200>;
4532 };
4533 };
4534
4535 cci1_0_sleep: cci1-0-sleep-state {
4536 sda-pins {
4537 pins = "gpio114";
4538 function = "cci_i2c_sda";
4539 drive-strength = <2>;
4540 bias-pull-down;
4541 };
4542
4543 scl-pins {
4544 pins = "gpio115";
4545 function = "cci_i2c_scl";
4546 drive-strength = <2>;
4547 bias-pull-down;
4548 };
4549 };
4550
4551 cci2_0_default: cci2-0-default-state {
4552 sda-pins {
4553 pins = "gpio74";
4554 function = "cci_i2c_sda";
4555 drive-strength = <2>;
4556 bias-pull-up = <2200>;
4557 };
4558
4559 scl-pins {
4560 pins = "gpio75";
4561 function = "cci_i2c_scl";
4562 drive-strength = <2>;
4563 bias-pull-up = <2200>;
4564 };
4565 };
4566
4567 cci2_0_sleep: cci2-0-sleep-state {
4568 sda-pins {
4569 pins = "gpio74";
4570 function = "cci_i2c_sda";
4571 drive-strength = <2>;
4572 bias-pull-down;
4573 };
4574
4575 scl-pins {
4576 pins = "gpio75";
4577 function = "cci_i2c_scl";
4578 drive-strength = <2>;
4579 bias-pull-down;
4580 };
4581 };
4582
4583 cci2_1_default: cci2-1-default-state {
4584 sda-pins {
4585 pins = "gpio0";
4586 function = "cci_i2c_sda";
4587 drive-strength = <2>;
4588 bias-pull-up = <2200>;
4589 };
4590
4591 scl-pins {
4592 pins = "gpio1";
4593 function = "cci_i2c_scl";
4594 drive-strength = <2>;
4595 bias-pull-up = <2200>;
4596 };
4597 };
4598
4599 cci2_1_sleep: cci2-1-sleep-state {
4600 sda-pins {
4601 pins = "gpio0";
4602 function = "cci_i2c_sda";
4603 drive-strength = <2>;
4604 bias-pull-down;
4605 };
4606
4607 scl-pins {
4608 pins = "gpio1";
4609 function = "cci_i2c_scl";
4610 drive-strength = <2>;
4611 bias-pull-down;
4612 };
4613 };
4614
4615 hub_i2c0_data_clk: hub-i2c0-data-clk-state {
4616 /* SDA, SCL */
4617 pins = "gpio16", "gpio17";
4618 function = "i2chub0_se0";
4619 drive-strength = <2>;
4620 bias-pull-up;
4621 };
4622
4623 hub_i2c1_data_clk: hub-i2c1-data-clk-state {
4624 /* SDA, SCL */
4625 pins = "gpio18", "gpio19";
4626 function = "i2chub0_se1";
4627 drive-strength = <2>;
4628 bias-pull-up;
4629 };
4630
4631 hub_i2c2_data_clk: hub-i2c2-data-clk-state {
4632 /* SDA, SCL */
4633 pins = "gpio20", "gpio21";
4634 function = "i2chub0_se2";
4635 drive-strength = <2>;
4636 bias-pull-up;
4637 };
4638
4639 hub_i2c3_data_clk: hub-i2c3-data-clk-state {
4640 /* SDA, SCL */
4641 pins = "gpio22", "gpio23";
4642 function = "i2chub0_se3";
4643 drive-strength = <2>;
4644 bias-pull-up;
4645 };
4646
4647 hub_i2c4_data_clk: hub-i2c4-data-clk-state {
4648 /* SDA, SCL */
4649 pins = "gpio4", "gpio5";
4650 function = "i2chub0_se4";
4651 drive-strength = <2>;
4652 bias-pull-up;
4653 };
4654
4655 hub_i2c5_data_clk: hub-i2c5-data-clk-state {
4656 /* SDA, SCL */
4657 pins = "gpio6", "gpio7";
4658 function = "i2chub0_se5";
4659 drive-strength = <2>;
4660 bias-pull-up;
4661 };
4662
4663 hub_i2c6_data_clk: hub-i2c6-data-clk-state {
4664 /* SDA, SCL */
4665 pins = "gpio8", "gpio9";
4666 function = "i2chub0_se6";
4667 drive-strength = <2>;
4668 bias-pull-up;
4669 };
4670
4671 hub_i2c7_data_clk: hub-i2c7-data-clk-state {
4672 /* SDA, SCL */
4673 pins = "gpio10", "gpio11";
4674 function = "i2chub0_se7";
4675 drive-strength = <2>;
4676 bias-pull-up;
4677 };
4678
4679 hub_i2c8_data_clk: hub-i2c8-data-clk-state {
4680 /* SDA, SCL */
4681 pins = "gpio206", "gpio207";
4682 function = "i2chub0_se8";
4683 drive-strength = <2>;
4684 bias-pull-up;
4685 };
4686
4687 hub_i2c9_data_clk: hub-i2c9-data-clk-state {
4688 /* SDA, SCL */
4689 pins = "gpio84", "gpio85";
4690 function = "i2chub0_se9";
4691 drive-strength = <2>;
4692 bias-pull-up;
4693 };
4694
4695 pcie0_default_state: pcie0-default-state {
4696 perst-pins {
4697 pins = "gpio94";
4698 function = "gpio";
4699 drive-strength = <2>;
4700 bias-pull-down;
4701 };
4702
4703 clkreq-pins {
4704 pins = "gpio95";
4705 function = "pcie0_clk_req_n";
4706 drive-strength = <2>;
4707 bias-pull-up;
4708 };
4709
4710 wake-pins {
4711 pins = "gpio96";
4712 function = "gpio";
4713 drive-strength = <2>;
4714 bias-pull-up;
4715 };
4716 };
4717
4718 pcie1_default_state: pcie1-default-state {
4719 perst-pins {
4720 pins = "gpio97";
4721 function = "gpio";
4722 drive-strength = <2>;
4723 bias-pull-down;
4724 };
4725
4726 clkreq-pins {
4727 pins = "gpio98";
4728 function = "pcie1_clk_req_n";
4729 drive-strength = <2>;
4730 bias-pull-up;
4731 };
4732
4733 wake-pins {
4734 pins = "gpio99";
4735 function = "gpio";
4736 drive-strength = <2>;
4737 bias-pull-up;
4738 };
4739 };
4740
4741 qup_i2c0_data_clk: qup-i2c0-data-clk-state {
4742 /* SDA, SCL */
4743 pins = "gpio28", "gpio29";
4744 function = "qup1_se0";
4745 drive-strength = <2>;
4746 bias-pull-up = <2200>;
4747 };
4748
4749 qup_i2c1_data_clk: qup-i2c1-data-clk-state {
4750 /* SDA, SCL */
4751 pins = "gpio32", "gpio33";
4752 function = "qup1_se1";
4753 drive-strength = <2>;
4754 bias-pull-up = <2200>;
4755 };
4756
4757 qup_i2c2_data_clk: qup-i2c2-data-clk-state {
4758 /* SDA, SCL */
4759 pins = "gpio36", "gpio37";
4760 function = "qup1_se2";
4761 drive-strength = <2>;
4762 bias-pull-up = <2200>;
4763 };
4764
4765 qup_i2c3_data_clk: qup-i2c3-data-clk-state {
4766 /* SDA, SCL */
4767 pins = "gpio40", "gpio41";
4768 function = "qup1_se3";
4769 drive-strength = <2>;
4770 bias-pull-up = <2200>;
4771 };
4772
4773 qup_i2c4_data_clk: qup-i2c4-data-clk-state {
4774 /* SDA, SCL */
4775 pins = "gpio44", "gpio45";
4776 function = "qup1_se4";
4777 drive-strength = <2>;
4778 bias-pull-up = <2200>;
4779 };
4780
4781 qup_i2c5_data_clk: qup-i2c5-data-clk-state {
4782 /* SDA, SCL */
4783 pins = "gpio52", "gpio53";
4784 function = "qup1_se5";
4785 drive-strength = <2>;
4786 bias-pull-up = <2200>;
4787 };
4788
4789 qup_i2c6_data_clk: qup-i2c6-data-clk-state {
4790 /* SDA, SCL */
4791 pins = "gpio48", "gpio49";
4792 function = "qup1_se6";
4793 drive-strength = <2>;
4794 bias-pull-up = <2200>;
4795 };
4796
4797 qup_i2c8_data_clk: qup-i2c8-data-clk-state {
4798 scl-pins {
4799 pins = "gpio57";
4800 function = "qup2_se0_l1_mira";
4801 drive-strength = <2>;
4802 bias-pull-up = <2200>;
4803 };
4804
4805 sda-pins {
4806 pins = "gpio56";
4807 function = "qup2_se0_l0_mira";
4808 drive-strength = <2>;
4809 bias-pull-up = <2200>;
4810 };
4811 };
4812
4813 qup_i2c9_data_clk: qup-i2c9-data-clk-state {
4814 /* SDA, SCL */
4815 pins = "gpio60", "gpio61";
4816 function = "qup2_se1";
4817 drive-strength = <2>;
4818 bias-pull-up = <2200>;
4819 };
4820
4821 qup_i2c10_data_clk: qup-i2c10-data-clk-state {
4822 /* SDA, SCL */
4823 pins = "gpio64", "gpio65";
4824 function = "qup2_se2";
4825 drive-strength = <2>;
4826 bias-pull-up = <2200>;
4827 };
4828
4829 qup_i2c11_data_clk: qup-i2c11-data-clk-state {
4830 /* SDA, SCL */
4831 pins = "gpio68", "gpio69";
4832 function = "qup2_se3";
4833 drive-strength = <2>;
4834 bias-pull-up = <2200>;
4835 };
4836
4837 qup_i2c12_data_clk: qup-i2c12-data-clk-state {
4838 /* SDA, SCL */
4839 pins = "gpio2", "gpio3";
4840 function = "qup2_se4";
4841 drive-strength = <2>;
4842 bias-pull-up = <2200>;
4843 };
4844
4845 qup_i2c13_data_clk: qup-i2c13-data-clk-state {
4846 /* SDA, SCL */
4847 pins = "gpio80", "gpio81";
4848 function = "qup2_se5";
4849 drive-strength = <2>;
4850 bias-pull-up = <2200>;
4851 };
4852
4853 qup_i2c15_data_clk: qup-i2c15-data-clk-state {
4854 /* SDA, SCL */
4855 pins = "gpio72", "gpio106";
4856 function = "qup2_se7";
4857 drive-strength = <2>;
4858 bias-pull-up = <2200>;
4859 };
4860
4861 qup_spi0_cs: qup-spi0-cs-state {
4862 pins = "gpio31";
4863 function = "qup1_se0";
4864 drive-strength = <6>;
4865 bias-disable;
4866 };
4867
4868 qup_spi0_data_clk: qup-spi0-data-clk-state {
4869 /* MISO, MOSI, CLK */
4870 pins = "gpio28", "gpio29", "gpio30";
4871 function = "qup1_se0";
4872 drive-strength = <6>;
4873 bias-disable;
4874 };
4875
4876 qup_spi1_cs: qup-spi1-cs-state {
4877 pins = "gpio35";
4878 function = "qup1_se1";
4879 drive-strength = <6>;
4880 bias-disable;
4881 };
4882
4883 qup_spi1_data_clk: qup-spi1-data-clk-state {
4884 /* MISO, MOSI, CLK */
4885 pins = "gpio32", "gpio33", "gpio34";
4886 function = "qup1_se1";
4887 drive-strength = <6>;
4888 bias-disable;
4889 };
4890
4891 qup_spi2_cs: qup-spi2-cs-state {
4892 pins = "gpio39";
4893 function = "qup1_se2";
4894 drive-strength = <6>;
4895 bias-disable;
4896 };
4897
4898 qup_spi2_data_clk: qup-spi2-data-clk-state {
4899 /* MISO, MOSI, CLK */
4900 pins = "gpio36", "gpio37", "gpio38";
4901 function = "qup1_se2";
4902 drive-strength = <6>;
4903 bias-disable;
4904 };
4905
4906 qup_spi3_cs: qup-spi3-cs-state {
4907 pins = "gpio43";
4908 function = "qup1_se3";
4909 drive-strength = <6>;
4910 bias-disable;
4911 };
4912
4913 qup_spi3_data_clk: qup-spi3-data-clk-state {
4914 /* MISO, MOSI, CLK */
4915 pins = "gpio40", "gpio41", "gpio42";
4916 function = "qup1_se3";
4917 drive-strength = <6>;
4918 bias-disable;
4919 };
4920
4921 qup_spi4_cs: qup-spi4-cs-state {
4922 pins = "gpio47";
4923 function = "qup1_se4";
4924 drive-strength = <6>;
4925 bias-disable;
4926 };
4927
4928 qup_spi4_data_clk: qup-spi4-data-clk-state {
4929 /* MISO, MOSI, CLK */
4930 pins = "gpio44", "gpio45", "gpio46";
4931 function = "qup1_se4";
4932 drive-strength = <6>;
4933 bias-disable;
4934 };
4935
4936 qup_spi5_cs: qup-spi5-cs-state {
4937 pins = "gpio55";
4938 function = "qup1_se5";
4939 drive-strength = <6>;
4940 bias-disable;
4941 };
4942
4943 qup_spi5_data_clk: qup-spi5-data-clk-state {
4944 /* MISO, MOSI, CLK */
4945 pins = "gpio52", "gpio53", "gpio54";
4946 function = "qup1_se5";
4947 drive-strength = <6>;
4948 bias-disable;
4949 };
4950
4951 qup_spi6_cs: qup-spi6-cs-state {
4952 pins = "gpio51";
4953 function = "qup1_se6";
4954 drive-strength = <6>;
4955 bias-disable;
4956 };
4957
4958 qup_spi6_data_clk: qup-spi6-data-clk-state {
4959 /* MISO, MOSI, CLK */
4960 pins = "gpio48", "gpio49", "gpio50";
4961 function = "qup1_se6";
4962 drive-strength = <6>;
4963 bias-disable;
4964 };
4965
4966 qup_spi8_cs: qup-spi8-cs-state {
4967 pins = "gpio59";
4968 function = "qup2_se0_l3_mira";
4969 drive-strength = <6>;
4970 bias-disable;
4971 };
4972
4973 qup_spi8_data_clk: qup-spi8-data-clk-state {
4974 /* MISO, MOSI, CLK */
4975 pins = "gpio56", "gpio57", "gpio58";
4976 function = "qup2_se0_l2_mira";
4977 drive-strength = <6>;
4978 bias-disable;
4979 };
4980
4981 qup_spi9_cs: qup-spi9-cs-state {
4982 pins = "gpio63";
4983 function = "qup2_se1";
4984 drive-strength = <6>;
4985 bias-disable;
4986 };
4987
4988 qup_spi9_data_clk: qup-spi9-data-clk-state {
4989 /* MISO, MOSI, CLK */
4990 pins = "gpio60", "gpio61", "gpio62";
4991 function = "qup2_se1";
4992 drive-strength = <6>;
4993 bias-disable;
4994 };
4995
4996 qup_spi10_cs: qup-spi10-cs-state {
4997 pins = "gpio67";
4998 function = "qup2_se2";
4999 drive-strength = <6>;
5000 bias-disable;
5001 };
5002
5003 qup_spi10_data_clk: qup-spi10-data-clk-state {
5004 /* MISO, MOSI, CLK */
5005 pins = "gpio64", "gpio65", "gpio66";
5006 function = "qup2_se2";
5007 drive-strength = <6>;
5008 bias-disable;
5009 };
5010
5011 qup_spi11_cs: qup-spi11-cs-state {
5012 pins = "gpio71";
5013 function = "qup2_se3";
5014 drive-strength = <6>;
5015 bias-disable;
5016 };
5017
5018 qup_spi11_data_clk: qup-spi11-data-clk-state {
5019 /* MISO, MOSI, CLK */
5020 pins = "gpio68", "gpio69", "gpio70";
5021 function = "qup2_se3";
5022 drive-strength = <6>;
5023 bias-disable;
5024 };
5025
5026 qup_spi12_cs: qup-spi12-cs-state {
5027 pins = "gpio119";
5028 function = "qup2_se4";
5029 drive-strength = <6>;
5030 bias-disable;
5031 };
5032
5033 qup_spi12_data_clk: qup-spi12-data-clk-state {
5034 /* MISO, MOSI, CLK */
5035 pins = "gpio2", "gpio3", "gpio118";
5036 function = "qup2_se4";
5037 drive-strength = <6>;
5038 bias-disable;
5039 };
5040
5041 qup_spi13_cs: qup-spi13-cs-state {
5042 pins = "gpio83";
5043 function = "qup2_se5";
5044 drive-strength = <6>;
5045 bias-disable;
5046 };
5047
5048 qup_spi13_data_clk: qup-spi13-data-clk-state {
5049 /* MISO, MOSI, CLK */
5050 pins = "gpio80", "gpio81", "gpio82";
5051 function = "qup2_se5";
5052 drive-strength = <6>;
5053 bias-disable;
5054 };
5055
5056 qup_spi15_cs: qup-spi15-cs-state {
5057 pins = "gpio75";
5058 function = "qup2_se7";
5059 drive-strength = <6>;
5060 bias-disable;
5061 };
5062
5063 qup_spi15_data_clk: qup-spi15-data-clk-state {
5064 /* MISO, MOSI, CLK */
5065 pins = "gpio72", "gpio106", "gpio74";
5066 function = "qup2_se7";
5067 drive-strength = <6>;
5068 bias-disable;
5069 };
5070
5071 qup_uart7_default: qup-uart7-default-state {
5072 /* TX, RX */
5073 pins = "gpio26", "gpio27";
5074 function = "qup1_se7";
5075 drive-strength = <2>;
5076 bias-disable;
5077 };
5078
5079 qup_uart14_default: qup-uart14-default-state {
5080 /* TX, RX */
5081 pins = "gpio78", "gpio79";
5082 function = "qup2_se6";
5083 drive-strength = <2>;
5084 bias-pull-up;
5085 };
5086
5087 qup_uart14_cts_rts: qup-uart14-cts-rts-state {
5088 /* CTS, RTS */
5089 pins = "gpio76", "gpio77";
5090 function = "qup2_se6";
5091 drive-strength = <2>;
5092 bias-pull-down;
5093 };
5094
5095 sdc2_sleep: sdc2-sleep-state {
5096 clk-pins {
5097 pins = "sdc2_clk";
5098 bias-disable;
5099 drive-strength = <2>;
5100 };
5101
5102 cmd-pins {
5103 pins = "sdc2_cmd";
5104 bias-pull-up;
5105 drive-strength = <2>;
5106 };
5107
5108 data-pins {
5109 pins = "sdc2_data";
5110 bias-pull-up;
5111 drive-strength = <2>;
5112 };
5113 };
5114
5115 sdc2_default: sdc2-default-state {
5116 clk-pins {
5117 pins = "sdc2_clk";
5118 bias-disable;
5119 drive-strength = <16>;
5120 };
5121
5122 cmd-pins {
5123 pins = "sdc2_cmd";
5124 bias-pull-up;
5125 drive-strength = <10>;
5126 };
5127
5128 data-pins {
5129 pins = "sdc2_data";
5130 bias-pull-up;
5131 drive-strength = <10>;
5132 };
5133 };
5134 };
5135
5136 apps_smmu: iommu@15000000 {
5137 compatible = "qcom,sm8550-smmu-500", "qcom,smmu-500", "arm,mmu-500";
5138 reg = <0 0x15000000 0 0x100000>;
5139 #iommu-cells = <2>;
5140 #global-interrupts = <1>;
5141 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH 0>,
5142 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH 0>,
5143 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH 0>,
5144 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH 0>,
5145 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH 0>,
5146 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH 0>,
5147 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH 0>,
5148 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>,
5149 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>,
5150 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH 0>,
5151 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>,
5152 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH 0>,
5153 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>,
5154 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH 0>,
5155 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH 0>,
5156 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH 0>,
5157 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH 0>,
5158 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH 0>,
5159 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH 0>,
5160 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH 0>,
5161 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>,
5162 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH 0>,
5163 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH 0>,
5164 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH 0>,
5165 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH 0>,
5166 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH 0>,
5167 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH 0>,
5168 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH 0>,
5169 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH 0>,
5170 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH 0>,
5171 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH 0>,
5172 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH 0>,
5173 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH 0>,
5174 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH 0>,
5175 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH 0>,
5176 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH 0>,
5177 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH 0>,
5178 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH 0>,
5179 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH 0>,
5180 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH 0>,
5181 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH 0>,
5182 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH 0>,
5183 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH 0>,
5184 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH 0>,
5185 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH 0>,
5186 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH 0>,
5187 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH 0>,
5188 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH 0>,
5189 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH 0>,
5190 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH 0>,
5191 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH 0>,
5192 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH 0>,
5193 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH 0>,
5194 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH 0>,
5195 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH 0>,
5196 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH 0>,
5197 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH 0>,
5198 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH 0>,
5199 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH 0>,
5200 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH 0>,
5201 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH 0>,
5202 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH 0>,
5203 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH 0>,
5204 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH 0>,
5205 <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH 0>,
5206 <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH 0>,
5207 <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH 0>,
5208 <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH 0>,
5209 <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH 0>,
5210 <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH 0>,
5211 <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH 0>,
5212 <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH 0>,
5213 <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH 0>,
5214 <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH 0>,
5215 <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH 0>,
5216 <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH 0>,
5217 <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH 0>,
5218 <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH 0>,
5219 <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH 0>,
5220 <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH 0>,
5221 <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH 0>,
5222 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH 0>,
5223 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH 0>,
5224 <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH 0>,
5225 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH 0>,
5226 <GIC_SPI 706 IRQ_TYPE_LEVEL_HIGH 0>,
5227 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH 0>,
5228 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH 0>,
5229 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH 0>,
5230 <GIC_SPI 689 IRQ_TYPE_LEVEL_HIGH 0>,
5231 <GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH 0>,
5232 <GIC_SPI 691 IRQ_TYPE_LEVEL_HIGH 0>,
5233 <GIC_SPI 692 IRQ_TYPE_LEVEL_HIGH 0>,
5234 <GIC_SPI 693 IRQ_TYPE_LEVEL_HIGH 0>,
5235 <GIC_SPI 694 IRQ_TYPE_LEVEL_HIGH 0>,
5236 <GIC_SPI 695 IRQ_TYPE_LEVEL_HIGH 0>,
5237 <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH 0>;
5238 dma-coherent;
5239 };
5240
5241 intc: interrupt-controller@17100000 {
5242 compatible = "arm,gic-v3";
5243 reg = <0 0x17100000 0 0x10000>, /* GICD */
5244 <0 0x17180000 0 0x200000>; /* GICR * 8 */
5245 ranges;
5246 #interrupt-cells = <4>;
5247 interrupt-controller;
5248 #redistributor-regions = <1>;
5249 redistributor-stride = <0 0x40000>;
5250 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW 0>;
5251 #address-cells = <2>;
5252 #size-cells = <2>;
5253
5254 ppi-partitions {
5255 ppi_cluster0: interrupt-partition-0 {
5256 affinity = <&cpu0 &cpu1 &cpu2>;
5257 };
5258
5259 ppi_cluster1: interrupt-partition-1 {
5260 affinity = <&cpu3 &cpu4>;
5261 };
5262
5263 ppi_cluster2: interrupt-partition-2 {
5264 affinity = <&cpu5 &cpu6>;
5265 };
5266
5267 ppi_cluster3: interrupt-partition-3 {
5268 affinity = <&cpu7>;
5269 };
5270 };
5271
5272 gic_its: msi-controller@17140000 {
5273 compatible = "arm,gic-v3-its";
5274 reg = <0 0x17140000 0 0x40000>;
5275 msi-controller;
5276 #msi-cells = <1>;
5277 };
5278 };
5279
5280 timer@17420000 {
5281 compatible = "arm,armv7-timer-mem";
5282 reg = <0 0x17420000 0 0x1000>;
5283 ranges = <0 0 0 0x20000000>;
5284 #address-cells = <1>;
5285 #size-cells = <1>;
5286
5287 frame@17421000 {
5288 reg = <0x17421000 0x1000>,
5289 <0x17422000 0x1000>;
5290 frame-number = <0>;
5291 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH 0>,
5292 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH 0>;
5293 };
5294
5295 frame@17423000 {
5296 reg = <0x17423000 0x1000>;
5297 frame-number = <1>;
5298 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
5299 status = "disabled";
5300 };
5301
5302 frame@17425000 {
5303 reg = <0x17425000 0x1000>;
5304 frame-number = <2>;
5305 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH 0>;
5306 status = "disabled";
5307 };
5308
5309 frame@17427000 {
5310 reg = <0x17427000 0x1000>;
5311 frame-number = <3>;
5312 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH 0>;
5313 status = "disabled";
5314 };
5315
5316 frame@17429000 {
5317 reg = <0x17429000 0x1000>;
5318 frame-number = <4>;
5319 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH 0>;
5320 status = "disabled";
5321 };
5322
5323 frame@1742b000 {
5324 reg = <0x1742b000 0x1000>;
5325 frame-number = <5>;
5326 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH 0>;
5327 status = "disabled";
5328 };
5329
5330 frame@1742d000 {
5331 reg = <0x1742d000 0x1000>;
5332 frame-number = <6>;
5333 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH 0>;
5334 status = "disabled";
5335 };
5336 };
5337
5338 apps_rsc: rsc@17a00000 {
5339 label = "apps_rsc";
5340 compatible = "qcom,rpmh-rsc";
5341 reg = <0 0x17a00000 0 0x10000>,
5342 <0 0x17a10000 0 0x10000>,
5343 <0 0x17a20000 0 0x10000>,
5344 <0 0x17a30000 0 0x10000>;
5345 reg-names = "drv-0", "drv-1", "drv-2", "drv-3";
5346 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH 0>,
5347 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH 0>,
5348 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH 0>;
5349 qcom,tcs-offset = <0xd00>;
5350 qcom,drv-id = <2>;
5351 qcom,tcs-config = <ACTIVE_TCS 3>, <SLEEP_TCS 2>,
5352 <WAKE_TCS 2>, <CONTROL_TCS 0>;
5353 power-domains = <&cluster_pd>;
5354
5355 apps_bcm_voter: bcm-voter {
5356 compatible = "qcom,bcm-voter";
5357 };
5358
5359 rpmhcc: clock-controller {
5360 compatible = "qcom,sm8550-rpmh-clk";
5361 #clock-cells = <1>;
5362 clock-names = "xo";
5363 clocks = <&xo_board>;
5364 };
5365
5366 rpmhpd: power-controller {
5367 compatible = "qcom,sm8550-rpmhpd";
5368 #power-domain-cells = <1>;
5369 operating-points-v2 = <&rpmhpd_opp_table>;
5370
5371 rpmhpd_opp_table: opp-table {
5372 compatible = "operating-points-v2";
5373
5374 rpmhpd_opp_ret: opp-16 {
5375 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
5376 };
5377
5378 rpmhpd_opp_min_svs: opp-48 {
5379 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
5380 };
5381
5382 rpmhpd_opp_low_svs_d2: opp-52 {
5383 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D2>;
5384 };
5385
5386 rpmhpd_opp_low_svs_d1: opp-56 {
5387 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
5388 };
5389
5390 rpmhpd_opp_low_svs_d0: opp-60 {
5391 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D0>;
5392 };
5393
5394 rpmhpd_opp_low_svs: opp-64 {
5395 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
5396 };
5397
5398 rpmhpd_opp_low_svs_l1: opp-80 {
5399 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_L1>;
5400 };
5401
5402 rpmhpd_opp_svs: opp-128 {
5403 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
5404 };
5405
5406 rpmhpd_opp_svs_l0: opp-144 {
5407 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L0>;
5408 };
5409
5410 rpmhpd_opp_svs_l1: opp-192 {
5411 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
5412 };
5413
5414 rpmhpd_opp_nom: opp-256 {
5415 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
5416 };
5417
5418 rpmhpd_opp_nom_l1: opp-320 {
5419 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
5420 };
5421
5422 rpmhpd_opp_nom_l2: opp-336 {
5423 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
5424 };
5425
5426 rpmhpd_opp_turbo: opp-384 {
5427 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
5428 };
5429
5430 rpmhpd_opp_turbo_l1: opp-416 {
5431 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
5432 };
5433 };
5434 };
5435 };
5436
5437 cpufreq_hw: cpufreq@17d91000 {
5438 compatible = "qcom,sm8550-cpufreq-epss", "qcom,cpufreq-epss";
5439 reg = <0 0x17d91000 0 0x1000>,
5440 <0 0x17d92000 0 0x1000>,
5441 <0 0x17d93000 0 0x1000>;
5442 reg-names = "freq-domain0", "freq-domain1", "freq-domain2";
5443 clocks = <&bi_tcxo_div2>, <&gcc GCC_GPLL0>;
5444 clock-names = "xo", "alternate";
5445 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH 0>,
5446 <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH 0>,
5447 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH 0>;
5448 interrupt-names = "dcvsh-irq-0", "dcvsh-irq-1", "dcvsh-irq-2";
5449 #freq-domain-cells = <1>;
5450 #clock-cells = <1>;
5451 };
5452
5453 pmu@24091000 {
5454 compatible = "qcom,sm8550-llcc-bwmon", "qcom,sc7280-llcc-bwmon";
5455 reg = <0 0x24091000 0 0x1000>;
5456 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH 0>;
5457 interconnects = <&mc_virt MASTER_LLCC QCOM_ICC_TAG_ACTIVE_ONLY
5458 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>;
5459
5460 operating-points-v2 = <&llcc_bwmon_opp_table>;
5461
5462 llcc_bwmon_opp_table: opp-table {
5463 compatible = "operating-points-v2";
5464
5465 opp-0 {
5466 opp-peak-kBps = <2086000>;
5467 };
5468
5469 opp-1 {
5470 opp-peak-kBps = <2929000>;
5471 };
5472
5473 opp-2 {
5474 opp-peak-kBps = <5931000>;
5475 };
5476
5477 opp-3 {
5478 opp-peak-kBps = <6515000>;
5479 };
5480
5481 opp-4 {
5482 opp-peak-kBps = <7980000>;
5483 };
5484
5485 opp-5 {
5486 opp-peak-kBps = <10437000>;
5487 };
5488
5489 opp-6 {
5490 opp-peak-kBps = <12157000>;
5491 };
5492
5493 opp-7 {
5494 opp-peak-kBps = <14060000>;
5495 };
5496
5497 opp-8 {
5498 opp-peak-kBps = <16113000>;
5499 };
5500 };
5501 };
5502
5503 pmu@240b6400 {
5504 compatible = "qcom,sm8550-cpu-bwmon", "qcom,sdm845-bwmon";
5505 reg = <0 0x240b6400 0 0x600>;
5506 interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH 0>;
5507 interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
5508 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>;
5509
5510 operating-points-v2 = <&cpu_bwmon_opp_table>;
5511
5512 cpu_bwmon_opp_table: opp-table {
5513 compatible = "operating-points-v2";
5514
5515 opp-0 {
5516 opp-peak-kBps = <4577000>;
5517 };
5518
5519 opp-1 {
5520 opp-peak-kBps = <7110000>;
5521 };
5522
5523 opp-2 {
5524 opp-peak-kBps = <9155000>;
5525 };
5526
5527 opp-3 {
5528 opp-peak-kBps = <12298000>;
5529 };
5530
5531 opp-4 {
5532 opp-peak-kBps = <14236000>;
5533 };
5534
5535 opp-5 {
5536 opp-peak-kBps = <16265000>;
5537 };
5538 };
5539 };
5540
5541 gem_noc: interconnect@24100000 {
5542 compatible = "qcom,sm8550-gem-noc";
5543 reg = <0 0x24100000 0 0xbb800>;
5544 #interconnect-cells = <2>;
5545 qcom,bcm-voters = <&apps_bcm_voter>;
5546 };
5547
5548 system-cache-controller@25000000 {
5549 compatible = "qcom,sm8550-llcc";
5550 reg = <0 0x25000000 0 0x200000>,
5551 <0 0x25200000 0 0x200000>,
5552 <0 0x25400000 0 0x200000>,
5553 <0 0x25600000 0 0x200000>,
5554 <0 0x25800000 0 0x200000>,
5555 <0 0x25a00000 0 0x200000>;
5556 reg-names = "llcc0_base",
5557 "llcc1_base",
5558 "llcc2_base",
5559 "llcc3_base",
5560 "llcc_broadcast_base",
5561 "llcc_broadcast_and_base";
5562 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH 0>;
5563 };
5564
5565 nsp_noc: interconnect@320c0000 {
5566 compatible = "qcom,sm8550-nsp-noc";
5567 reg = <0 0x320c0000 0 0xe080>;
5568 #interconnect-cells = <2>;
5569 qcom,bcm-voters = <&apps_bcm_voter>;
5570 };
5571
5572 remoteproc_cdsp: remoteproc@32300000 {
5573 compatible = "qcom,sm8550-cdsp-pas";
5574 reg = <0x0 0x32300000 0x0 0x10000>;
5575
5576 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING 0>,
5577 <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>,
5578 <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>,
5579 <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>,
5580 <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>;
5581 interrupt-names = "wdog", "fatal", "ready",
5582 "handover", "stop-ack";
5583
5584 clocks = <&rpmhcc RPMH_CXO_CLK>;
5585 clock-names = "xo";
5586
5587 power-domains = <&rpmhpd RPMHPD_CX>,
5588 <&rpmhpd RPMHPD_MXC>,
5589 <&rpmhpd RPMHPD_NSP>;
5590 power-domain-names = "cx", "mxc", "nsp";
5591
5592 interconnects = <&nsp_noc MASTER_CDSP_PROC QCOM_ICC_TAG_ALWAYS
5593 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
5594
5595 memory-region = <&cdsp_mem>, <&q6_cdsp_dtb_mem>;
5596
5597 qcom,qmp = <&aoss_qmp>;
5598
5599 qcom,smem-states = <&smp2p_cdsp_out 0>;
5600 qcom,smem-state-names = "stop";
5601
5602 status = "disabled";
5603
5604 glink-edge {
5605 interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
5606 IPCC_MPROC_SIGNAL_GLINK_QMP
5607 IRQ_TYPE_EDGE_RISING>;
5608 mboxes = <&ipcc IPCC_CLIENT_CDSP
5609 IPCC_MPROC_SIGNAL_GLINK_QMP>;
5610
5611 label = "cdsp";
5612 qcom,remote-pid = <5>;
5613
5614 fastrpc {
5615 compatible = "qcom,fastrpc";
5616 qcom,glink-channels = "fastrpcglink-apps-dsp";
5617 label = "cdsp";
5618 qcom,non-secure-domain;
5619 #address-cells = <1>;
5620 #size-cells = <0>;
5621
5622 compute-cb@1 {
5623 compatible = "qcom,fastrpc-compute-cb";
5624 reg = <1>;
5625 iommus = <&apps_smmu 0x1961 0x0>,
5626 <&apps_smmu 0x0c01 0x20>,
5627 <&apps_smmu 0x19c1 0x10>;
5628 dma-coherent;
5629 };
5630
5631 compute-cb@2 {
5632 compatible = "qcom,fastrpc-compute-cb";
5633 reg = <2>;
5634 iommus = <&apps_smmu 0x1962 0x0>,
5635 <&apps_smmu 0x0c02 0x20>,
5636 <&apps_smmu 0x19c2 0x10>;
5637 dma-coherent;
5638 };
5639
5640 compute-cb@3 {
5641 compatible = "qcom,fastrpc-compute-cb";
5642 reg = <3>;
5643 iommus = <&apps_smmu 0x1963 0x0>,
5644 <&apps_smmu 0x0c03 0x20>,
5645 <&apps_smmu 0x19c3 0x10>;
5646 dma-coherent;
5647 };
5648
5649 compute-cb@4 {
5650 compatible = "qcom,fastrpc-compute-cb";
5651 reg = <4>;
5652 iommus = <&apps_smmu 0x1964 0x0>,
5653 <&apps_smmu 0x0c04 0x20>,
5654 <&apps_smmu 0x19c4 0x10>;
5655 dma-coherent;
5656 };
5657
5658 compute-cb@5 {
5659 compatible = "qcom,fastrpc-compute-cb";
5660 reg = <5>;
5661 iommus = <&apps_smmu 0x1965 0x0>,
5662 <&apps_smmu 0x0c05 0x20>,
5663 <&apps_smmu 0x19c5 0x10>;
5664 dma-coherent;
5665 };
5666
5667 compute-cb@6 {
5668 compatible = "qcom,fastrpc-compute-cb";
5669 reg = <6>;
5670 iommus = <&apps_smmu 0x1966 0x0>,
5671 <&apps_smmu 0x0c06 0x20>,
5672 <&apps_smmu 0x19c6 0x10>;
5673 dma-coherent;
5674 };
5675
5676 compute-cb@7 {
5677 compatible = "qcom,fastrpc-compute-cb";
5678 reg = <7>;
5679 iommus = <&apps_smmu 0x1967 0x0>,
5680 <&apps_smmu 0x0c07 0x20>,
5681 <&apps_smmu 0x19c7 0x10>;
5682 dma-coherent;
5683 };
5684
5685 compute-cb@8 {
5686 compatible = "qcom,fastrpc-compute-cb";
5687 reg = <8>;
5688 iommus = <&apps_smmu 0x1968 0x0>,
5689 <&apps_smmu 0x0c08 0x20>,
5690 <&apps_smmu 0x19c8 0x10>;
5691 dma-coherent;
5692 };
5693
5694 /* note: secure cb9 in downstream */
5695 };
5696 };
5697 };
5698 };
5699
5700 thermal-zones {
5701 aoss0-thermal {
5702 thermal-sensors = <&tsens0 0>;
5703
5704 trips {
5705 thermal-engine-config {
5706 temperature = <125000>;
5707 hysteresis = <1000>;
5708 type = "passive";
5709 };
5710
5711 reset-mon-config {
5712 temperature = <115000>;
5713 hysteresis = <5000>;
5714 type = "passive";
5715 };
5716 };
5717 };
5718
5719 cpuss0-thermal {
5720 thermal-sensors = <&tsens0 1>;
5721
5722 trips {
5723 thermal-engine-config {
5724 temperature = <125000>;
5725 hysteresis = <1000>;
5726 type = "passive";
5727 };
5728
5729 reset-mon-config {
5730 temperature = <115000>;
5731 hysteresis = <5000>;
5732 type = "passive";
5733 };
5734 };
5735 };
5736
5737 cpuss1-thermal {
5738 thermal-sensors = <&tsens0 2>;
5739
5740 trips {
5741 thermal-engine-config {
5742 temperature = <125000>;
5743 hysteresis = <1000>;
5744 type = "passive";
5745 };
5746
5747 reset-mon-config {
5748 temperature = <115000>;
5749 hysteresis = <5000>;
5750 type = "passive";
5751 };
5752 };
5753 };
5754
5755 cpuss2-thermal {
5756 thermal-sensors = <&tsens0 3>;
5757
5758 trips {
5759 thermal-engine-config {
5760 temperature = <125000>;
5761 hysteresis = <1000>;
5762 type = "passive";
5763 };
5764
5765 reset-mon-config {
5766 temperature = <115000>;
5767 hysteresis = <5000>;
5768 type = "passive";
5769 };
5770 };
5771 };
5772
5773 cpuss3-thermal {
5774 thermal-sensors = <&tsens0 4>;
5775
5776 trips {
5777 thermal-engine-config {
5778 temperature = <125000>;
5779 hysteresis = <1000>;
5780 type = "passive";
5781 };
5782
5783 reset-mon-config {
5784 temperature = <115000>;
5785 hysteresis = <5000>;
5786 type = "passive";
5787 };
5788 };
5789 };
5790
5791 cpu3-top-thermal {
5792 thermal-sensors = <&tsens0 5>;
5793
5794 trips {
5795 cpu3_top_alert0: trip-point0 {
5796 temperature = <90000>;
5797 hysteresis = <2000>;
5798 type = "passive";
5799 };
5800
5801 cpu3_top_alert1: trip-point1 {
5802 temperature = <95000>;
5803 hysteresis = <2000>;
5804 type = "passive";
5805 };
5806
5807 cpu3_top_crit: cpu-critical {
5808 temperature = <110000>;
5809 hysteresis = <1000>;
5810 type = "critical";
5811 };
5812 };
5813 };
5814
5815 cpu3-bottom-thermal {
5816 thermal-sensors = <&tsens0 6>;
5817
5818 trips {
5819 cpu3_bottom_alert0: trip-point0 {
5820 temperature = <90000>;
5821 hysteresis = <2000>;
5822 type = "passive";
5823 };
5824
5825 cpu3_bottom_alert1: trip-point1 {
5826 temperature = <95000>;
5827 hysteresis = <2000>;
5828 type = "passive";
5829 };
5830
5831 cpu3_bottom_crit: cpu-critical {
5832 temperature = <110000>;
5833 hysteresis = <1000>;
5834 type = "critical";
5835 };
5836 };
5837 };
5838
5839 cpu4-top-thermal {
5840 thermal-sensors = <&tsens0 7>;
5841
5842 trips {
5843 cpu4_top_alert0: trip-point0 {
5844 temperature = <90000>;
5845 hysteresis = <2000>;
5846 type = "passive";
5847 };
5848
5849 cpu4_top_alert1: trip-point1 {
5850 temperature = <95000>;
5851 hysteresis = <2000>;
5852 type = "passive";
5853 };
5854
5855 cpu4_top_crit: cpu-critical {
5856 temperature = <110000>;
5857 hysteresis = <1000>;
5858 type = "critical";
5859 };
5860 };
5861 };
5862
5863 cpu4-bottom-thermal {
5864 thermal-sensors = <&tsens0 8>;
5865
5866 trips {
5867 cpu4_bottom_alert0: trip-point0 {
5868 temperature = <90000>;
5869 hysteresis = <2000>;
5870 type = "passive";
5871 };
5872
5873 cpu4_bottom_alert1: trip-point1 {
5874 temperature = <95000>;
5875 hysteresis = <2000>;
5876 type = "passive";
5877 };
5878
5879 cpu4_bottom_crit: cpu-critical {
5880 temperature = <110000>;
5881 hysteresis = <1000>;
5882 type = "critical";
5883 };
5884 };
5885 };
5886
5887 cpu5-top-thermal {
5888 thermal-sensors = <&tsens0 9>;
5889
5890 trips {
5891 cpu5_top_alert0: trip-point0 {
5892 temperature = <90000>;
5893 hysteresis = <2000>;
5894 type = "passive";
5895 };
5896
5897 cpu5_top_alert1: trip-point1 {
5898 temperature = <95000>;
5899 hysteresis = <2000>;
5900 type = "passive";
5901 };
5902
5903 cpu5_top_crit: cpu-critical {
5904 temperature = <110000>;
5905 hysteresis = <1000>;
5906 type = "critical";
5907 };
5908 };
5909 };
5910
5911 cpu5-bottom-thermal {
5912 thermal-sensors = <&tsens0 10>;
5913
5914 trips {
5915 cpu5_bottom_alert0: trip-point0 {
5916 temperature = <90000>;
5917 hysteresis = <2000>;
5918 type = "passive";
5919 };
5920
5921 cpu5_bottom_alert1: trip-point1 {
5922 temperature = <95000>;
5923 hysteresis = <2000>;
5924 type = "passive";
5925 };
5926
5927 cpu5_bottom_crit: cpu-critical {
5928 temperature = <110000>;
5929 hysteresis = <1000>;
5930 type = "critical";
5931 };
5932 };
5933 };
5934
5935 cpu6-top-thermal {
5936 thermal-sensors = <&tsens0 11>;
5937
5938 trips {
5939 cpu6_top_alert0: trip-point0 {
5940 temperature = <90000>;
5941 hysteresis = <2000>;
5942 type = "passive";
5943 };
5944
5945 cpu6_top_alert1: trip-point1 {
5946 temperature = <95000>;
5947 hysteresis = <2000>;
5948 type = "passive";
5949 };
5950
5951 cpu6_top_crit: cpu-critical {
5952 temperature = <110000>;
5953 hysteresis = <1000>;
5954 type = "critical";
5955 };
5956 };
5957 };
5958
5959 cpu6-bottom-thermal {
5960 thermal-sensors = <&tsens0 12>;
5961
5962 trips {
5963 cpu6_bottom_alert0: trip-point0 {
5964 temperature = <90000>;
5965 hysteresis = <2000>;
5966 type = "passive";
5967 };
5968
5969 cpu6_bottom_alert1: trip-point1 {
5970 temperature = <95000>;
5971 hysteresis = <2000>;
5972 type = "passive";
5973 };
5974
5975 cpu6_bottom_crit: cpu-critical {
5976 temperature = <110000>;
5977 hysteresis = <1000>;
5978 type = "critical";
5979 };
5980 };
5981 };
5982
5983 cpu7-top-thermal {
5984 thermal-sensors = <&tsens0 13>;
5985
5986 trips {
5987 cpu7_top_alert0: trip-point0 {
5988 temperature = <90000>;
5989 hysteresis = <2000>;
5990 type = "passive";
5991 };
5992
5993 cpu7_top_alert1: trip-point1 {
5994 temperature = <95000>;
5995 hysteresis = <2000>;
5996 type = "passive";
5997 };
5998
5999 cpu7_top_crit: cpu-critical {
6000 temperature = <110000>;
6001 hysteresis = <1000>;
6002 type = "critical";
6003 };
6004 };
6005 };
6006
6007 cpu7-middle-thermal {
6008 thermal-sensors = <&tsens0 14>;
6009
6010 trips {
6011 cpu7_middle_alert0: trip-point0 {
6012 temperature = <90000>;
6013 hysteresis = <2000>;
6014 type = "passive";
6015 };
6016
6017 cpu7_middle_alert1: trip-point1 {
6018 temperature = <95000>;
6019 hysteresis = <2000>;
6020 type = "passive";
6021 };
6022
6023 cpu7_middle_crit: cpu-critical {
6024 temperature = <110000>;
6025 hysteresis = <1000>;
6026 type = "critical";
6027 };
6028 };
6029 };
6030
6031 cpu7-bottom-thermal {
6032 thermal-sensors = <&tsens0 15>;
6033
6034 trips {
6035 cpu7_bottom_alert0: trip-point0 {
6036 temperature = <90000>;
6037 hysteresis = <2000>;
6038 type = "passive";
6039 };
6040
6041 cpu7_bottom_alert1: trip-point1 {
6042 temperature = <95000>;
6043 hysteresis = <2000>;
6044 type = "passive";
6045 };
6046
6047 cpu7_bottom_crit: cpu-critical {
6048 temperature = <110000>;
6049 hysteresis = <1000>;
6050 type = "critical";
6051 };
6052 };
6053 };
6054
6055 aoss1-thermal {
6056 thermal-sensors = <&tsens1 0>;
6057
6058 trips {
6059 thermal-engine-config {
6060 temperature = <125000>;
6061 hysteresis = <1000>;
6062 type = "passive";
6063 };
6064
6065 reset-mon-config {
6066 temperature = <115000>;
6067 hysteresis = <5000>;
6068 type = "passive";
6069 };
6070 };
6071 };
6072
6073 cpu0-thermal {
6074 thermal-sensors = <&tsens1 1>;
6075
6076 trips {
6077 cpu0_alert0: trip-point0 {
6078 temperature = <90000>;
6079 hysteresis = <2000>;
6080 type = "passive";
6081 };
6082
6083 cpu0_alert1: trip-point1 {
6084 temperature = <95000>;
6085 hysteresis = <2000>;
6086 type = "passive";
6087 };
6088
6089 cpu0_crit: cpu-critical {
6090 temperature = <110000>;
6091 hysteresis = <1000>;
6092 type = "critical";
6093 };
6094 };
6095 };
6096
6097 cpu1-thermal {
6098 thermal-sensors = <&tsens1 2>;
6099
6100 trips {
6101 cpu1_alert0: trip-point0 {
6102 temperature = <90000>;
6103 hysteresis = <2000>;
6104 type = "passive";
6105 };
6106
6107 cpu1_alert1: trip-point1 {
6108 temperature = <95000>;
6109 hysteresis = <2000>;
6110 type = "passive";
6111 };
6112
6113 cpu1_crit: cpu-critical {
6114 temperature = <110000>;
6115 hysteresis = <1000>;
6116 type = "critical";
6117 };
6118 };
6119 };
6120
6121 cpu2-thermal {
6122 thermal-sensors = <&tsens1 3>;
6123
6124 trips {
6125 cpu2_alert0: trip-point0 {
6126 temperature = <90000>;
6127 hysteresis = <2000>;
6128 type = "passive";
6129 };
6130
6131 cpu2_alert1: trip-point1 {
6132 temperature = <95000>;
6133 hysteresis = <2000>;
6134 type = "passive";
6135 };
6136
6137 cpu2_crit: cpu-critical {
6138 temperature = <110000>;
6139 hysteresis = <1000>;
6140 type = "critical";
6141 };
6142 };
6143 };
6144
6145 cdsp0-thermal {
6146 polling-delay-passive = <10>;
6147
6148 thermal-sensors = <&tsens2 4>;
6149
6150 trips {
6151 thermal-engine-config {
6152 temperature = <125000>;
6153 hysteresis = <1000>;
6154 type = "passive";
6155 };
6156
6157 thermal-hal-config {
6158 temperature = <125000>;
6159 hysteresis = <1000>;
6160 type = "passive";
6161 };
6162
6163 reset-mon-config {
6164 temperature = <115000>;
6165 hysteresis = <5000>;
6166 type = "passive";
6167 };
6168
6169 cdsp0_junction_config: junction-config {
6170 temperature = <95000>;
6171 hysteresis = <5000>;
6172 type = "passive";
6173 };
6174 };
6175 };
6176
6177 cdsp1-thermal {
6178 polling-delay-passive = <10>;
6179
6180 thermal-sensors = <&tsens2 5>;
6181
6182 trips {
6183 thermal-engine-config {
6184 temperature = <125000>;
6185 hysteresis = <1000>;
6186 type = "passive";
6187 };
6188
6189 thermal-hal-config {
6190 temperature = <125000>;
6191 hysteresis = <1000>;
6192 type = "passive";
6193 };
6194
6195 reset-mon-config {
6196 temperature = <115000>;
6197 hysteresis = <5000>;
6198 type = "passive";
6199 };
6200
6201 cdsp1_junction_config: junction-config {
6202 temperature = <95000>;
6203 hysteresis = <5000>;
6204 type = "passive";
6205 };
6206 };
6207 };
6208
6209 cdsp2-thermal {
6210 polling-delay-passive = <10>;
6211
6212 thermal-sensors = <&tsens2 6>;
6213
6214 trips {
6215 thermal-engine-config {
6216 temperature = <125000>;
6217 hysteresis = <1000>;
6218 type = "passive";
6219 };
6220
6221 thermal-hal-config {
6222 temperature = <125000>;
6223 hysteresis = <1000>;
6224 type = "passive";
6225 };
6226
6227 reset-mon-config {
6228 temperature = <115000>;
6229 hysteresis = <5000>;
6230 type = "passive";
6231 };
6232
6233 cdsp2_junction_config: junction-config {
6234 temperature = <95000>;
6235 hysteresis = <5000>;
6236 type = "passive";
6237 };
6238 };
6239 };
6240
6241 cdsp3-thermal {
6242 polling-delay-passive = <10>;
6243
6244 thermal-sensors = <&tsens2 7>;
6245
6246 trips {
6247 thermal-engine-config {
6248 temperature = <125000>;
6249 hysteresis = <1000>;
6250 type = "passive";
6251 };
6252
6253 thermal-hal-config {
6254 temperature = <125000>;
6255 hysteresis = <1000>;
6256 type = "passive";
6257 };
6258
6259 reset-mon-config {
6260 temperature = <115000>;
6261 hysteresis = <5000>;
6262 type = "passive";
6263 };
6264
6265 cdsp3_junction_config: junction-config {
6266 temperature = <95000>;
6267 hysteresis = <5000>;
6268 type = "passive";
6269 };
6270 };
6271 };
6272
6273 video-thermal {
6274 thermal-sensors = <&tsens1 8>;
6275
6276 trips {
6277 thermal-engine-config {
6278 temperature = <125000>;
6279 hysteresis = <1000>;
6280 type = "passive";
6281 };
6282
6283 reset-mon-config {
6284 temperature = <115000>;
6285 hysteresis = <5000>;
6286 type = "passive";
6287 };
6288 };
6289 };
6290
6291 mem-thermal {
6292 polling-delay-passive = <10>;
6293
6294 thermal-sensors = <&tsens1 9>;
6295
6296 trips {
6297 thermal-engine-config {
6298 temperature = <125000>;
6299 hysteresis = <1000>;
6300 type = "passive";
6301 };
6302
6303 ddr_config0: ddr0-config {
6304 temperature = <90000>;
6305 hysteresis = <5000>;
6306 type = "passive";
6307 };
6308
6309 reset-mon-config {
6310 temperature = <115000>;
6311 hysteresis = <5000>;
6312 type = "passive";
6313 };
6314 };
6315 };
6316
6317 modem0-thermal {
6318 thermal-sensors = <&tsens1 10>;
6319
6320 trips {
6321 thermal-engine-config {
6322 temperature = <125000>;
6323 hysteresis = <1000>;
6324 type = "passive";
6325 };
6326
6327 mdmss0_config0: mdmss0-config0 {
6328 temperature = <102000>;
6329 hysteresis = <3000>;
6330 type = "passive";
6331 };
6332
6333 mdmss0_config1: mdmss0-config1 {
6334 temperature = <105000>;
6335 hysteresis = <3000>;
6336 type = "passive";
6337 };
6338
6339 reset-mon-config {
6340 temperature = <115000>;
6341 hysteresis = <5000>;
6342 type = "passive";
6343 };
6344 };
6345 };
6346
6347 modem1-thermal {
6348 thermal-sensors = <&tsens1 11>;
6349
6350 trips {
6351 thermal-engine-config {
6352 temperature = <125000>;
6353 hysteresis = <1000>;
6354 type = "passive";
6355 };
6356
6357 mdmss1_config0: mdmss1-config0 {
6358 temperature = <102000>;
6359 hysteresis = <3000>;
6360 type = "passive";
6361 };
6362
6363 mdmss1_config1: mdmss1-config1 {
6364 temperature = <105000>;
6365 hysteresis = <3000>;
6366 type = "passive";
6367 };
6368
6369 reset-mon-config {
6370 temperature = <115000>;
6371 hysteresis = <5000>;
6372 type = "passive";
6373 };
6374 };
6375 };
6376
6377 modem2-thermal {
6378 thermal-sensors = <&tsens1 12>;
6379
6380 trips {
6381 thermal-engine-config {
6382 temperature = <125000>;
6383 hysteresis = <1000>;
6384 type = "passive";
6385 };
6386
6387 mdmss2_config0: mdmss2-config0 {
6388 temperature = <102000>;
6389 hysteresis = <3000>;
6390 type = "passive";
6391 };
6392
6393 mdmss2_config1: mdmss2-config1 {
6394 temperature = <105000>;
6395 hysteresis = <3000>;
6396 type = "passive";
6397 };
6398
6399 reset-mon-config {
6400 temperature = <115000>;
6401 hysteresis = <5000>;
6402 type = "passive";
6403 };
6404 };
6405 };
6406
6407 modem3-thermal {
6408 thermal-sensors = <&tsens1 13>;
6409
6410 trips {
6411 thermal-engine-config {
6412 temperature = <125000>;
6413 hysteresis = <1000>;
6414 type = "passive";
6415 };
6416
6417 mdmss3_config0: mdmss3-config0 {
6418 temperature = <102000>;
6419 hysteresis = <3000>;
6420 type = "passive";
6421 };
6422
6423 mdmss3_config1: mdmss3-config1 {
6424 temperature = <105000>;
6425 hysteresis = <3000>;
6426 type = "passive";
6427 };
6428
6429 reset-mon-config {
6430 temperature = <115000>;
6431 hysteresis = <5000>;
6432 type = "passive";
6433 };
6434 };
6435 };
6436
6437 camera0-thermal {
6438 thermal-sensors = <&tsens1 14>;
6439
6440 trips {
6441 thermal-engine-config {
6442 temperature = <125000>;
6443 hysteresis = <1000>;
6444 type = "passive";
6445 };
6446
6447 reset-mon-config {
6448 temperature = <115000>;
6449 hysteresis = <5000>;
6450 type = "passive";
6451 };
6452 };
6453 };
6454
6455 camera1-thermal {
6456 thermal-sensors = <&tsens1 15>;
6457
6458 trips {
6459 thermal-engine-config {
6460 temperature = <125000>;
6461 hysteresis = <1000>;
6462 type = "passive";
6463 };
6464
6465 reset-mon-config {
6466 temperature = <115000>;
6467 hysteresis = <5000>;
6468 type = "passive";
6469 };
6470 };
6471 };
6472
6473 aoss2-thermal {
6474 thermal-sensors = <&tsens2 0>;
6475
6476 trips {
6477 thermal-engine-config {
6478 temperature = <125000>;
6479 hysteresis = <1000>;
6480 type = "passive";
6481 };
6482
6483 reset-mon-config {
6484 temperature = <115000>;
6485 hysteresis = <5000>;
6486 type = "passive";
6487 };
6488 };
6489 };
6490
6491 gpuss-0-thermal {
6492 polling-delay-passive = <10>;
6493
6494 thermal-sensors = <&tsens2 1>;
6495
6496 cooling-maps {
6497 map0 {
6498 trip = <&gpu0_alert0>;
6499 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6500 };
6501 };
6502
6503 trips {
6504 gpu0_alert0: trip-point0 {
6505 temperature = <85000>;
6506 hysteresis = <1000>;
6507 type = "passive";
6508 };
6509
6510 trip-point1 {
6511 temperature = <90000>;
6512 hysteresis = <1000>;
6513 type = "hot";
6514 };
6515
6516 trip-point2 {
6517 temperature = <110000>;
6518 hysteresis = <1000>;
6519 type = "critical";
6520 };
6521 };
6522 };
6523
6524 gpuss-1-thermal {
6525 polling-delay-passive = <10>;
6526
6527 thermal-sensors = <&tsens2 2>;
6528
6529 cooling-maps {
6530 map0 {
6531 trip = <&gpu1_alert0>;
6532 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6533 };
6534 };
6535
6536 trips {
6537 gpu1_alert0: trip-point0 {
6538 temperature = <85000>;
6539 hysteresis = <1000>;
6540 type = "passive";
6541 };
6542
6543 trip-point1 {
6544 temperature = <90000>;
6545 hysteresis = <1000>;
6546 type = "hot";
6547 };
6548
6549 trip-point2 {
6550 temperature = <110000>;
6551 hysteresis = <1000>;
6552 type = "critical";
6553 };
6554 };
6555 };
6556
6557 gpuss-2-thermal {
6558 polling-delay-passive = <10>;
6559
6560 thermal-sensors = <&tsens2 3>;
6561
6562 cooling-maps {
6563 map0 {
6564 trip = <&gpu2_alert0>;
6565 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6566 };
6567 };
6568
6569 trips {
6570 gpu2_alert0: trip-point0 {
6571 temperature = <85000>;
6572 hysteresis = <1000>;
6573 type = "passive";
6574 };
6575
6576 trip-point1 {
6577 temperature = <90000>;
6578 hysteresis = <1000>;
6579 type = "hot";
6580 };
6581
6582 trip-point2 {
6583 temperature = <110000>;
6584 hysteresis = <1000>;
6585 type = "critical";
6586 };
6587 };
6588 };
6589
6590 gpuss-3-thermal {
6591 polling-delay-passive = <10>;
6592
6593 thermal-sensors = <&tsens2 4>;
6594
6595 cooling-maps {
6596 map0 {
6597 trip = <&gpu3_alert0>;
6598 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6599 };
6600 };
6601
6602 trips {
6603 gpu3_alert0: trip-point0 {
6604 temperature = <85000>;
6605 hysteresis = <1000>;
6606 type = "passive";
6607 };
6608
6609 trip-point1 {
6610 temperature = <90000>;
6611 hysteresis = <1000>;
6612 type = "hot";
6613 };
6614
6615 trip-point2 {
6616 temperature = <110000>;
6617 hysteresis = <1000>;
6618 type = "critical";
6619 };
6620 };
6621 };
6622
6623 gpuss-4-thermal {
6624 polling-delay-passive = <10>;
6625
6626 thermal-sensors = <&tsens2 5>;
6627
6628 cooling-maps {
6629 map0 {
6630 trip = <&gpu4_alert0>;
6631 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6632 };
6633 };
6634
6635 trips {
6636 gpu4_alert0: trip-point0 {
6637 temperature = <85000>;
6638 hysteresis = <1000>;
6639 type = "passive";
6640 };
6641
6642 trip-point1 {
6643 temperature = <90000>;
6644 hysteresis = <1000>;
6645 type = "hot";
6646 };
6647
6648 trip-point2 {
6649 temperature = <110000>;
6650 hysteresis = <1000>;
6651 type = "critical";
6652 };
6653 };
6654 };
6655
6656 gpuss-5-thermal {
6657 polling-delay-passive = <10>;
6658
6659 thermal-sensors = <&tsens2 6>;
6660
6661 cooling-maps {
6662 map0 {
6663 trip = <&gpu5_alert0>;
6664 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6665 };
6666 };
6667
6668 trips {
6669 gpu5_alert0: trip-point0 {
6670 temperature = <85000>;
6671 hysteresis = <1000>;
6672 type = "passive";
6673 };
6674
6675 trip-point1 {
6676 temperature = <90000>;
6677 hysteresis = <1000>;
6678 type = "hot";
6679 };
6680
6681 trip-point2 {
6682 temperature = <110000>;
6683 hysteresis = <1000>;
6684 type = "critical";
6685 };
6686 };
6687 };
6688
6689 gpuss-6-thermal {
6690 polling-delay-passive = <10>;
6691
6692 thermal-sensors = <&tsens2 7>;
6693
6694 cooling-maps {
6695 map0 {
6696 trip = <&gpu6_alert0>;
6697 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6698 };
6699 };
6700
6701 trips {
6702 gpu6_alert0: trip-point0 {
6703 temperature = <85000>;
6704 hysteresis = <1000>;
6705 type = "passive";
6706 };
6707
6708 trip-point1 {
6709 temperature = <90000>;
6710 hysteresis = <1000>;
6711 type = "hot";
6712 };
6713
6714 trip-point2 {
6715 temperature = <110000>;
6716 hysteresis = <1000>;
6717 type = "critical";
6718 };
6719 };
6720 };
6721
6722 gpuss-7-thermal {
6723 polling-delay-passive = <10>;
6724
6725 thermal-sensors = <&tsens2 8>;
6726
6727 cooling-maps {
6728 map0 {
6729 trip = <&gpu7_alert0>;
6730 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6731 };
6732 };
6733
6734 trips {
6735 gpu7_alert0: trip-point0 {
6736 temperature = <85000>;
6737 hysteresis = <1000>;
6738 type = "passive";
6739 };
6740
6741 trip-point1 {
6742 temperature = <90000>;
6743 hysteresis = <1000>;
6744 type = "hot";
6745 };
6746
6747 trip-point2 {
6748 temperature = <110000>;
6749 hysteresis = <1000>;
6750 type = "critical";
6751 };
6752 };
6753 };
6754 };
6755
6756 timer {
6757 compatible = "arm,armv8-timer";
6758 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW) 0>,
6759 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW) 0>,
6760 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW) 0>,
6761 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW) 0>;
6762 };
6763 };