xref: /linux/arch/arm64/boot/dts/qcom/x1e80100.dtsi (revision d53b8e36925256097a08d7cb749198d85cbf9b2b)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
4 */
5
6#include <dt-bindings/clock/qcom,rpmh.h>
7#include <dt-bindings/clock/qcom,x1e80100-dispcc.h>
8#include <dt-bindings/clock/qcom,x1e80100-gcc.h>
9#include <dt-bindings/clock/qcom,x1e80100-gpucc.h>
10#include <dt-bindings/clock/qcom,x1e80100-tcsr.h>
11#include <dt-bindings/dma/qcom-gpi.h>
12#include <dt-bindings/interconnect/qcom,icc.h>
13#include <dt-bindings/interconnect/qcom,x1e80100-rpmh.h>
14#include <dt-bindings/interrupt-controller/arm-gic.h>
15#include <dt-bindings/mailbox/qcom-ipcc.h>
16#include <dt-bindings/phy/phy-qcom-qmp.h>
17#include <dt-bindings/power/qcom,rpmhpd.h>
18#include <dt-bindings/power/qcom-rpmpd.h>
19#include <dt-bindings/soc/qcom,gpr.h>
20#include <dt-bindings/soc/qcom,rpmh-rsc.h>
21#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
22
23/ {
24	interrupt-parent = <&intc>;
25
26	#address-cells = <2>;
27	#size-cells = <2>;
28
29	chosen { };
30
31	clocks {
32		xo_board: xo-board {
33			compatible = "fixed-clock";
34			clock-frequency = <76800000>;
35			#clock-cells = <0>;
36		};
37
38		sleep_clk: sleep-clk {
39			compatible = "fixed-clock";
40			clock-frequency = <32000>;
41			#clock-cells = <0>;
42		};
43
44		bi_tcxo_div2: bi-tcxo-div2-clk {
45			compatible = "fixed-factor-clock";
46			#clock-cells = <0>;
47
48			clocks = <&rpmhcc RPMH_CXO_CLK>;
49			clock-mult = <1>;
50			clock-div = <2>;
51		};
52
53		bi_tcxo_ao_div2: bi-tcxo-ao-div2-clk {
54			compatible = "fixed-factor-clock";
55			#clock-cells = <0>;
56
57			clocks = <&rpmhcc RPMH_CXO_CLK_A>;
58			clock-mult = <1>;
59			clock-div = <2>;
60		};
61	};
62
63	cpus {
64		#address-cells = <2>;
65		#size-cells = <0>;
66
67		CPU0: cpu@0 {
68			device_type = "cpu";
69			compatible = "qcom,oryon";
70			reg = <0x0 0x0>;
71			enable-method = "psci";
72			next-level-cache = <&L2_0>;
73			power-domains = <&CPU_PD0>;
74			power-domain-names = "psci";
75			cpu-idle-states = <&CLUSTER_C4>;
76
77			L2_0: l2-cache {
78				compatible = "cache";
79				cache-level = <2>;
80				cache-unified;
81			};
82		};
83
84		CPU1: cpu@100 {
85			device_type = "cpu";
86			compatible = "qcom,oryon";
87			reg = <0x0 0x100>;
88			enable-method = "psci";
89			next-level-cache = <&L2_0>;
90			power-domains = <&CPU_PD1>;
91			power-domain-names = "psci";
92			cpu-idle-states = <&CLUSTER_C4>;
93		};
94
95		CPU2: cpu@200 {
96			device_type = "cpu";
97			compatible = "qcom,oryon";
98			reg = <0x0 0x200>;
99			enable-method = "psci";
100			next-level-cache = <&L2_0>;
101			power-domains = <&CPU_PD2>;
102			power-domain-names = "psci";
103			cpu-idle-states = <&CLUSTER_C4>;
104		};
105
106		CPU3: cpu@300 {
107			device_type = "cpu";
108			compatible = "qcom,oryon";
109			reg = <0x0 0x300>;
110			enable-method = "psci";
111			next-level-cache = <&L2_0>;
112			power-domains = <&CPU_PD3>;
113			power-domain-names = "psci";
114			cpu-idle-states = <&CLUSTER_C4>;
115		};
116
117		CPU4: cpu@10000 {
118			device_type = "cpu";
119			compatible = "qcom,oryon";
120			reg = <0x0 0x10000>;
121			enable-method = "psci";
122			next-level-cache = <&L2_1>;
123			power-domains = <&CPU_PD4>;
124			power-domain-names = "psci";
125			cpu-idle-states = <&CLUSTER_C4>;
126
127			L2_1: l2-cache {
128				compatible = "cache";
129				cache-level = <2>;
130				cache-unified;
131			};
132		};
133
134		CPU5: cpu@10100 {
135			device_type = "cpu";
136			compatible = "qcom,oryon";
137			reg = <0x0 0x10100>;
138			enable-method = "psci";
139			next-level-cache = <&L2_1>;
140			power-domains = <&CPU_PD5>;
141			power-domain-names = "psci";
142			cpu-idle-states = <&CLUSTER_C4>;
143		};
144
145		CPU6: cpu@10200 {
146			device_type = "cpu";
147			compatible = "qcom,oryon";
148			reg = <0x0 0x10200>;
149			enable-method = "psci";
150			next-level-cache = <&L2_1>;
151			power-domains = <&CPU_PD6>;
152			power-domain-names = "psci";
153			cpu-idle-states = <&CLUSTER_C4>;
154		};
155
156		CPU7: cpu@10300 {
157			device_type = "cpu";
158			compatible = "qcom,oryon";
159			reg = <0x0 0x10300>;
160			enable-method = "psci";
161			next-level-cache = <&L2_1>;
162			power-domains = <&CPU_PD7>;
163			power-domain-names = "psci";
164			cpu-idle-states = <&CLUSTER_C4>;
165		};
166
167		CPU8: cpu@20000 {
168			device_type = "cpu";
169			compatible = "qcom,oryon";
170			reg = <0x0 0x20000>;
171			enable-method = "psci";
172			next-level-cache = <&L2_2>;
173			power-domains = <&CPU_PD8>;
174			power-domain-names = "psci";
175			cpu-idle-states = <&CLUSTER_C4>;
176
177			L2_2: l2-cache {
178				compatible = "cache";
179				cache-level = <2>;
180				cache-unified;
181			};
182		};
183
184		CPU9: cpu@20100 {
185			device_type = "cpu";
186			compatible = "qcom,oryon";
187			reg = <0x0 0x20100>;
188			enable-method = "psci";
189			next-level-cache = <&L2_2>;
190			power-domains = <&CPU_PD9>;
191			power-domain-names = "psci";
192			cpu-idle-states = <&CLUSTER_C4>;
193		};
194
195		CPU10: cpu@20200 {
196			device_type = "cpu";
197			compatible = "qcom,oryon";
198			reg = <0x0 0x20200>;
199			enable-method = "psci";
200			next-level-cache = <&L2_2>;
201			power-domains = <&CPU_PD10>;
202			power-domain-names = "psci";
203			cpu-idle-states = <&CLUSTER_C4>;
204		};
205
206		CPU11: cpu@20300 {
207			device_type = "cpu";
208			compatible = "qcom,oryon";
209			reg = <0x0 0x20300>;
210			enable-method = "psci";
211			next-level-cache = <&L2_2>;
212			power-domains = <&CPU_PD11>;
213			power-domain-names = "psci";
214			cpu-idle-states = <&CLUSTER_C4>;
215		};
216
217		cpu-map {
218			cluster0 {
219				core0 {
220					cpu = <&CPU0>;
221				};
222
223				core1 {
224					cpu = <&CPU1>;
225				};
226
227				core2 {
228					cpu = <&CPU2>;
229				};
230
231				core3 {
232					cpu = <&CPU3>;
233				};
234			};
235
236			cluster1 {
237				core0 {
238					cpu = <&CPU4>;
239				};
240
241				core1 {
242					cpu = <&CPU5>;
243				};
244
245				core2 {
246					cpu = <&CPU6>;
247				};
248
249				core3 {
250					cpu = <&CPU7>;
251				};
252			};
253
254			cluster2 {
255				core0 {
256					cpu = <&CPU8>;
257				};
258
259				core1 {
260					cpu = <&CPU9>;
261				};
262
263				core2 {
264					cpu = <&CPU10>;
265				};
266
267				core3 {
268					cpu = <&CPU11>;
269				};
270			};
271		};
272
273		idle-states {
274			entry-method = "psci";
275
276			CLUSTER_C4: cpu-sleep-0 {
277				compatible = "arm,idle-state";
278				idle-state-name = "ret";
279				arm,psci-suspend-param = <0x00000004>;
280				entry-latency-us = <180>;
281				exit-latency-us = <320>;
282				min-residency-us = <1000>;
283			};
284		};
285
286		domain-idle-states {
287			CLUSTER_CL4: cluster-sleep-0 {
288				compatible = "domain-idle-state";
289				idle-state-name = "l2-ret";
290				arm,psci-suspend-param = <0x01000044>;
291				entry-latency-us = <350>;
292				exit-latency-us = <500>;
293				min-residency-us = <2500>;
294			};
295
296			CLUSTER_CL5: cluster-sleep-1 {
297				compatible = "domain-idle-state";
298				idle-state-name = "ret-pll-off";
299				arm,psci-suspend-param = <0x01000054>;
300				entry-latency-us = <2200>;
301				exit-latency-us = <2500>;
302				min-residency-us = <7000>;
303			};
304		};
305	};
306
307	firmware {
308		scm: scm {
309			compatible = "qcom,scm-x1e80100", "qcom,scm";
310			interconnects = <&aggre2_noc MASTER_CRYPTO QCOM_ICC_TAG_ALWAYS
311					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
312		};
313	};
314
315	clk_virt: interconnect-0 {
316		compatible = "qcom,x1e80100-clk-virt";
317		#interconnect-cells = <2>;
318		qcom,bcm-voters = <&apps_bcm_voter>;
319	};
320
321	mc_virt: interconnect-1 {
322		compatible = "qcom,x1e80100-mc-virt";
323		#interconnect-cells = <2>;
324		qcom,bcm-voters = <&apps_bcm_voter>;
325	};
326
327	memory@80000000 {
328		device_type = "memory";
329		/* We expect the bootloader to fill in the size */
330		reg = <0 0x80000000 0 0>;
331	};
332
333	pmu {
334		compatible = "arm,armv8-pmuv3";
335		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
336	};
337
338	psci {
339		compatible = "arm,psci-1.0";
340		method = "smc";
341
342		CPU_PD0: power-domain-cpu0 {
343			#power-domain-cells = <0>;
344			power-domains = <&CLUSTER_PD0>;
345		};
346
347		CPU_PD1: power-domain-cpu1 {
348			#power-domain-cells = <0>;
349			power-domains = <&CLUSTER_PD0>;
350		};
351
352		CPU_PD2: power-domain-cpu2 {
353			#power-domain-cells = <0>;
354			power-domains = <&CLUSTER_PD0>;
355		};
356
357		CPU_PD3: power-domain-cpu3 {
358			#power-domain-cells = <0>;
359			power-domains = <&CLUSTER_PD0>;
360		};
361
362		CPU_PD4: power-domain-cpu4 {
363			#power-domain-cells = <0>;
364			power-domains = <&CLUSTER_PD1>;
365		};
366
367		CPU_PD5: power-domain-cpu5 {
368			#power-domain-cells = <0>;
369			power-domains = <&CLUSTER_PD1>;
370		};
371
372		CPU_PD6: power-domain-cpu6 {
373			#power-domain-cells = <0>;
374			power-domains = <&CLUSTER_PD1>;
375		};
376
377		CPU_PD7: power-domain-cpu7 {
378			#power-domain-cells = <0>;
379			power-domains = <&CLUSTER_PD1>;
380		};
381
382		CPU_PD8: power-domain-cpu8 {
383			#power-domain-cells = <0>;
384			power-domains = <&CLUSTER_PD2>;
385		};
386
387		CPU_PD9: power-domain-cpu9 {
388			#power-domain-cells = <0>;
389			power-domains = <&CLUSTER_PD2>;
390		};
391
392		CPU_PD10: power-domain-cpu10 {
393			#power-domain-cells = <0>;
394			power-domains = <&CLUSTER_PD2>;
395		};
396
397		CPU_PD11: power-domain-cpu11 {
398			#power-domain-cells = <0>;
399			power-domains = <&CLUSTER_PD2>;
400		};
401
402		CLUSTER_PD0: power-domain-cpu-cluster0 {
403			#power-domain-cells = <0>;
404			domain-idle-states = <&CLUSTER_CL4>, <&CLUSTER_CL5>;
405			power-domains = <&SYSTEM_PD>;
406		};
407
408		CLUSTER_PD1: power-domain-cpu-cluster1 {
409			#power-domain-cells = <0>;
410			domain-idle-states = <&CLUSTER_CL4>, <&CLUSTER_CL5>;
411			power-domains = <&SYSTEM_PD>;
412		};
413
414		CLUSTER_PD2: power-domain-cpu-cluster2 {
415			#power-domain-cells = <0>;
416			domain-idle-states = <&CLUSTER_CL4>, <&CLUSTER_CL5>;
417			power-domains = <&SYSTEM_PD>;
418		};
419
420		SYSTEM_PD: power-domain-system {
421			#power-domain-cells = <0>;
422			/* TODO: system-wide idle states */
423		};
424	};
425
426	reserved-memory {
427		#address-cells = <2>;
428		#size-cells = <2>;
429		ranges;
430
431		gunyah_hyp_mem: gunyah-hyp@80000000 {
432			reg = <0x0 0x80000000 0x0 0x800000>;
433			no-map;
434		};
435
436		hyp_elf_package_mem: hyp-elf-package@80800000 {
437			reg = <0x0 0x80800000 0x0 0x200000>;
438			no-map;
439		};
440
441		ncc_mem: ncc@80a00000 {
442			reg = <0x0 0x80a00000 0x0 0x400000>;
443			no-map;
444		};
445
446		cpucp_log_mem: cpucp-log@80e00000 {
447			reg = <0x0 0x80e00000 0x0 0x40000>;
448			no-map;
449		};
450
451		cpucp_mem: cpucp@80e40000 {
452			reg = <0x0 0x80e40000 0x0 0x540000>;
453			no-map;
454		};
455
456		reserved-region@81380000 {
457			reg = <0x0 0x81380000 0x0 0x80000>;
458			no-map;
459		};
460
461		tags_mem: tags-region@81400000 {
462			reg = <0x0 0x81400000 0x0 0x1a0000>;
463			no-map;
464		};
465
466		xbl_dtlog_mem: xbl-dtlog@81a00000 {
467			reg = <0x0 0x81a00000 0x0 0x40000>;
468			no-map;
469		};
470
471		xbl_ramdump_mem: xbl-ramdump@81a40000 {
472			reg = <0x0 0x81a40000 0x0 0x1c0000>;
473			no-map;
474		};
475
476		aop_image_mem: aop-image@81c00000 {
477			reg = <0x0 0x81c00000 0x0 0x60000>;
478			no-map;
479		};
480
481		aop_cmd_db_mem: aop-cmd-db@81c60000 {
482			compatible = "qcom,cmd-db";
483			reg = <0x0 0x81c60000 0x0 0x20000>;
484			no-map;
485		};
486
487		aop_config_mem: aop-config@81c80000 {
488			reg = <0x0 0x81c80000 0x0 0x20000>;
489			no-map;
490		};
491
492		tme_crash_dump_mem: tme-crash-dump@81ca0000 {
493			reg = <0x0 0x81ca0000 0x0 0x40000>;
494			no-map;
495		};
496
497		tme_log_mem: tme-log@81ce0000 {
498			reg = <0x0 0x81ce0000 0x0 0x4000>;
499			no-map;
500		};
501
502		uefi_log_mem: uefi-log@81ce4000 {
503			reg = <0x0 0x81ce4000 0x0 0x10000>;
504			no-map;
505		};
506
507		secdata_apss_mem: secdata-apss@81cff000 {
508			reg = <0x0 0x81cff000 0x0 0x1000>;
509			no-map;
510		};
511
512		pdp_ns_shared_mem: pdp-ns-shared@81e00000 {
513			reg = <0x0 0x81e00000 0x0 0x100000>;
514			no-map;
515		};
516
517		gpu_prr_mem: gpu-prr@81f00000 {
518			reg = <0x0 0x81f00000 0x0 0x10000>;
519			no-map;
520		};
521
522		tpm_control_mem: tpm-control@81f10000 {
523			reg = <0x0 0x81f10000 0x0 0x10000>;
524			no-map;
525		};
526
527		usb_ucsi_shared_mem: usb-ucsi-shared@81f20000 {
528			reg = <0x0 0x81f20000 0x0 0x10000>;
529			no-map;
530		};
531
532		pld_pep_mem: pld-pep@81f30000 {
533			reg = <0x0 0x81f30000 0x0 0x6000>;
534			no-map;
535		};
536
537		pld_gmu_mem: pld-gmu@81f36000 {
538			reg = <0x0 0x81f36000 0x0 0x1000>;
539			no-map;
540		};
541
542		pld_pdp_mem: pld-pdp@81f37000 {
543			reg = <0x0 0x81f37000 0x0 0x1000>;
544			no-map;
545		};
546
547		tz_stat_mem: tz-stat@82700000 {
548			reg = <0x0 0x82700000 0x0 0x100000>;
549			no-map;
550		};
551
552		xbl_tmp_buffer_mem: xbl-tmp-buffer@82800000 {
553			reg = <0x0 0x82800000 0x0 0xc00000>;
554			no-map;
555		};
556
557		adsp_rpc_remote_heap_mem: adsp-rpc-remote-heap@84b00000 {
558			reg = <0x0 0x84b00000 0x0 0x800000>;
559			no-map;
560		};
561
562		spu_secure_shared_memory_mem: spu-secure-shared-memory@85300000 {
563			reg = <0x0 0x85300000 0x0 0x80000>;
564			no-map;
565		};
566
567		adsp_boot_dtb_mem: adsp-boot-dtb@866c0000 {
568			reg = <0x0 0x866c0000 0x0 0x40000>;
569			no-map;
570		};
571
572		spss_region_mem: spss-region@86700000 {
573			reg = <0x0 0x86700000 0x0 0x400000>;
574			no-map;
575		};
576
577		adsp_boot_mem: adsp-boot@86b00000 {
578			reg = <0x0 0x86b00000 0x0 0xc00000>;
579			no-map;
580		};
581
582		video_mem: video@87700000 {
583			reg = <0x0 0x87700000 0x0 0x700000>;
584			no-map;
585		};
586
587		adspslpi_mem: adspslpi@87e00000 {
588			reg = <0x0 0x87e00000 0x0 0x3a00000>;
589			no-map;
590		};
591
592		q6_adsp_dtb_mem: q6-adsp-dtb@8b800000 {
593			reg = <0x0 0x8b800000 0x0 0x80000>;
594			no-map;
595		};
596
597		cdsp_mem: cdsp@8b900000 {
598			reg = <0x0 0x8b900000 0x0 0x2000000>;
599			no-map;
600		};
601
602		q6_cdsp_dtb_mem: q6-cdsp-dtb@8d900000 {
603			reg = <0x0 0x8d900000 0x0 0x80000>;
604			no-map;
605		};
606
607		gpu_microcode_mem: gpu-microcode@8d9fe000 {
608			reg = <0x0 0x8d9fe000 0x0 0x2000>;
609			no-map;
610		};
611
612		cvp_mem: cvp@8da00000 {
613			reg = <0x0 0x8da00000 0x0 0x700000>;
614			no-map;
615		};
616
617		camera_mem: camera@8e100000 {
618			reg = <0x0 0x8e100000 0x0 0x800000>;
619			no-map;
620		};
621
622		av1_encoder_mem: av1-encoder@8e900000 {
623			reg = <0x0 0x8e900000 0x0 0x700000>;
624			no-map;
625		};
626
627		reserved-region@8f000000 {
628			reg = <0x0 0x8f000000 0x0 0xa00000>;
629			no-map;
630		};
631
632		wpss_mem: wpss@8fa00000 {
633			reg = <0x0 0x8fa00000 0x0 0x1900000>;
634			no-map;
635		};
636
637		q6_wpss_dtb_mem: q6-wpss-dtb@91300000 {
638			reg = <0x0 0x91300000 0x0 0x80000>;
639			no-map;
640		};
641
642		xbl_sc_mem: xbl-sc@d8000000 {
643			reg = <0x0 0xd8000000 0x0 0x40000>;
644			no-map;
645		};
646
647		reserved-region@d8040000 {
648			reg = <0x0 0xd8040000 0x0 0xa0000>;
649			no-map;
650		};
651
652		qtee_mem: qtee@d80e0000 {
653			reg = <0x0 0xd80e0000 0x0 0x520000>;
654			no-map;
655		};
656
657		ta_mem: ta@d8600000 {
658			reg = <0x0 0xd8600000 0x0 0x8a00000>;
659			no-map;
660		};
661
662		tags_mem1: tags@e1000000 {
663			reg = <0x0 0xe1000000 0x0 0x26a0000>;
664			no-map;
665		};
666
667		llcc_lpi_mem: llcc-lpi@ff800000 {
668			reg = <0x0 0xff800000 0x0 0x600000>;
669			no-map;
670		};
671
672		smem_mem: smem@ffe00000 {
673			compatible = "qcom,smem";
674			reg = <0x0 0xffe00000 0x0 0x200000>;
675			hwlocks = <&tcsr_mutex 3>;
676			no-map;
677		};
678	};
679
680	smp2p-adsp {
681		compatible = "qcom,smp2p";
682
683		interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
684					     IPCC_MPROC_SIGNAL_SMP2P
685					     IRQ_TYPE_EDGE_RISING>;
686
687		mboxes = <&ipcc IPCC_CLIENT_LPASS
688				IPCC_MPROC_SIGNAL_SMP2P>;
689
690		qcom,smem = <443>, <429>;
691		qcom,local-pid = <0>;
692		qcom,remote-pid = <2>;
693
694		smp2p_adsp_out: master-kernel {
695			qcom,entry-name = "master-kernel";
696			#qcom,smem-state-cells = <1>;
697		};
698
699		smp2p_adsp_in: slave-kernel {
700			qcom,entry-name = "slave-kernel";
701			interrupt-controller;
702			#interrupt-cells = <2>;
703		};
704	};
705
706	smp2p-cdsp {
707		compatible = "qcom,smp2p";
708
709		interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
710					     IPCC_MPROC_SIGNAL_SMP2P
711					     IRQ_TYPE_EDGE_RISING>;
712
713		mboxes = <&ipcc IPCC_CLIENT_CDSP
714				IPCC_MPROC_SIGNAL_SMP2P>;
715
716		qcom,smem = <94>, <432>;
717		qcom,local-pid = <0>;
718		qcom,remote-pid = <5>;
719
720		smp2p_cdsp_out: master-kernel {
721			qcom,entry-name = "master-kernel";
722			#qcom,smem-state-cells = <1>;
723		};
724
725		smp2p_cdsp_in: slave-kernel {
726			qcom,entry-name = "slave-kernel";
727			interrupt-controller;
728			#interrupt-cells = <2>;
729		};
730	};
731
732	soc: soc@0 {
733		compatible = "simple-bus";
734
735		#address-cells = <2>;
736		#size-cells = <2>;
737		dma-ranges = <0 0 0 0 0x10 0>;
738		ranges = <0 0 0 0 0x10 0>;
739
740		gcc: clock-controller@100000 {
741			compatible = "qcom,x1e80100-gcc";
742			reg = <0 0x00100000 0 0x200000>;
743
744			clocks = <&bi_tcxo_div2>,
745				 <&sleep_clk>,
746				 <0>,
747				 <&pcie4_phy>,
748				 <0>,
749				 <&pcie6a_phy>,
750				 <0>,
751				 <&usb_1_ss0_qmpphy QMP_USB43DP_USB3_PIPE_CLK>,
752				 <&usb_1_ss1_qmpphy QMP_USB43DP_USB3_PIPE_CLK>,
753				 <&usb_1_ss2_qmpphy QMP_USB43DP_USB3_PIPE_CLK>;
754
755			power-domains = <&rpmhpd RPMHPD_CX>;
756			#clock-cells = <1>;
757			#reset-cells = <1>;
758			#power-domain-cells = <1>;
759		};
760
761		ipcc: mailbox@408000 {
762			compatible = "qcom,x1e80100-ipcc", "qcom,ipcc";
763			reg = <0 0x00408000 0 0x1000>;
764
765			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
766			interrupt-controller;
767			#interrupt-cells = <3>;
768
769			#mbox-cells = <2>;
770		};
771
772		gpi_dma2: dma-controller@800000 {
773			compatible = "qcom,x1e80100-gpi-dma", "qcom,sm6350-gpi-dma";
774			reg = <0 0x00800000 0 0x60000>;
775
776			interrupts = <GIC_SPI 788 IRQ_TYPE_LEVEL_HIGH>,
777				     <GIC_SPI 789 IRQ_TYPE_LEVEL_HIGH>,
778				     <GIC_SPI 790 IRQ_TYPE_LEVEL_HIGH>,
779				     <GIC_SPI 791 IRQ_TYPE_LEVEL_HIGH>,
780				     <GIC_SPI 792 IRQ_TYPE_LEVEL_HIGH>,
781				     <GIC_SPI 793 IRQ_TYPE_LEVEL_HIGH>,
782				     <GIC_SPI 794 IRQ_TYPE_LEVEL_HIGH>,
783				     <GIC_SPI 795 IRQ_TYPE_LEVEL_HIGH>,
784				     <GIC_SPI 796 IRQ_TYPE_LEVEL_HIGH>,
785				     <GIC_SPI 797 IRQ_TYPE_LEVEL_HIGH>,
786				     <GIC_SPI 798 IRQ_TYPE_LEVEL_HIGH>,
787				     <GIC_SPI 799 IRQ_TYPE_LEVEL_HIGH>;
788
789			dma-channels = <12>;
790			dma-channel-mask = <0x3e>;
791			#dma-cells = <3>;
792
793			iommus = <&apps_smmu 0x436 0x0>;
794
795			status = "disabled";
796		};
797
798		qupv3_2: geniqup@8c0000 {
799			compatible = "qcom,geni-se-qup";
800			reg = <0 0x008c0000 0 0x2000>;
801
802			clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>,
803				 <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>;
804			clock-names = "m-ahb",
805				      "s-ahb";
806
807			iommus = <&apps_smmu 0x423 0x0>;
808
809			#address-cells = <2>;
810			#size-cells = <2>;
811			ranges;
812
813			status = "disabled";
814
815			i2c16: i2c@880000 {
816				compatible = "qcom,geni-i2c";
817				reg = <0 0x00880000 0 0x4000>;
818
819				interrupts = <GIC_SPI 808 IRQ_TYPE_LEVEL_HIGH>;
820
821				clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
822				clock-names = "se";
823
824				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
825						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
826						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
827						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
828						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
829						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
830				interconnect-names = "qup-core",
831						     "qup-config",
832						     "qup-memory";
833
834				dmas = <&gpi_dma2 0 0 QCOM_GPI_I2C>,
835				       <&gpi_dma2 1 0 QCOM_GPI_I2C>;
836				dma-names = "tx",
837					    "rx";
838
839				pinctrl-0 = <&qup_i2c16_data_clk>;
840				pinctrl-names = "default";
841
842				#address-cells = <1>;
843				#size-cells = <0>;
844
845				status = "disabled";
846			};
847
848			spi16: spi@880000 {
849				compatible = "qcom,geni-spi";
850				reg = <0 0x00880000 0 0x4000>;
851
852				interrupts = <GIC_SPI 808 IRQ_TYPE_LEVEL_HIGH>;
853
854				clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
855				clock-names = "se";
856
857				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
858						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
859						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
860						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
861						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
862						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
863				interconnect-names = "qup-core",
864						     "qup-config",
865						     "qup-memory";
866
867				dmas = <&gpi_dma2 0 0 QCOM_GPI_SPI>,
868				       <&gpi_dma2 1 0 QCOM_GPI_SPI>;
869				dma-names = "tx",
870					    "rx";
871
872				pinctrl-0 = <&qup_spi16_data_clk>, <&qup_spi16_cs>;
873				pinctrl-names = "default";
874
875				#address-cells = <1>;
876				#size-cells = <0>;
877
878				status = "disabled";
879			};
880
881			i2c17: i2c@884000 {
882				compatible = "qcom,geni-i2c";
883				reg = <0 0x00884000 0 0x4000>;
884
885				interrupts = <GIC_SPI 809 IRQ_TYPE_LEVEL_HIGH>;
886
887				clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
888				clock-names = "se";
889
890				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
891						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
892						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
893						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
894						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
895						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
896				interconnect-names = "qup-core",
897						     "qup-config",
898						     "qup-memory";
899
900				dmas = <&gpi_dma2 0 1 QCOM_GPI_I2C>,
901				       <&gpi_dma2 1 1 QCOM_GPI_I2C>;
902				dma-names = "tx",
903					    "rx";
904
905				pinctrl-0 = <&qup_i2c17_data_clk>;
906				pinctrl-names = "default";
907
908				#address-cells = <1>;
909				#size-cells = <0>;
910
911				status = "disabled";
912			};
913
914			spi17: spi@884000 {
915				compatible = "qcom,geni-spi";
916				reg = <0 0x00884000 0 0x4000>;
917
918				interrupts = <GIC_SPI 809 IRQ_TYPE_LEVEL_HIGH>;
919
920				clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
921				clock-names = "se";
922
923				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
924						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
925						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
926						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
927						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
928						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
929				interconnect-names = "qup-core",
930						     "qup-config",
931						     "qup-memory";
932
933				dmas = <&gpi_dma2 0 1 QCOM_GPI_SPI>,
934				       <&gpi_dma2 1 1 QCOM_GPI_SPI>;
935				dma-names = "tx",
936					    "rx";
937
938				pinctrl-0 = <&qup_spi17_data_clk>, <&qup_spi17_cs>;
939				pinctrl-names = "default";
940
941				#address-cells = <1>;
942				#size-cells = <0>;
943
944				status = "disabled";
945			};
946
947			i2c18: i2c@888000 {
948				compatible = "qcom,geni-i2c";
949				reg = <0 0x00888000 0 0x4000>;
950
951				interrupts = <GIC_SPI 810 IRQ_TYPE_LEVEL_HIGH>;
952
953				clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
954				clock-names = "se";
955
956				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
957						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
958						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
959						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
960						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
961						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
962				interconnect-names = "qup-core",
963						     "qup-config",
964						     "qup-memory";
965
966				dmas = <&gpi_dma2 0 2 QCOM_GPI_I2C>,
967				       <&gpi_dma2 1 2 QCOM_GPI_I2C>;
968				dma-names = "tx",
969					    "rx";
970
971				pinctrl-0 = <&qup_i2c18_data_clk>;
972				pinctrl-names = "default";
973
974				#address-cells = <1>;
975				#size-cells = <0>;
976
977				status = "disabled";
978			};
979
980			spi18: spi@888000 {
981				compatible = "qcom,geni-spi";
982				reg = <0 0x00888000 0 0x4000>;
983
984				interrupts = <GIC_SPI 810 IRQ_TYPE_LEVEL_HIGH>;
985
986				clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
987				clock-names = "se";
988
989				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
990						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
991						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
992						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
993						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
994						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
995				interconnect-names = "qup-core",
996						     "qup-config",
997						     "qup-memory";
998
999				dmas = <&gpi_dma2 0 2 QCOM_GPI_SPI>,
1000				       <&gpi_dma2 1 2 QCOM_GPI_SPI>;
1001				dma-names = "tx",
1002					    "rx";
1003
1004				pinctrl-0 = <&qup_spi18_data_clk>, <&qup_spi18_cs>;
1005				pinctrl-names = "default";
1006
1007				#address-cells = <1>;
1008				#size-cells = <0>;
1009
1010				status = "disabled";
1011			};
1012
1013			i2c19: i2c@88c000 {
1014				compatible = "qcom,geni-i2c";
1015				reg = <0 0x0088c000 0 0x4000>;
1016
1017				interrupts = <GIC_SPI 811 IRQ_TYPE_LEVEL_HIGH>;
1018
1019				clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
1020				clock-names = "se";
1021
1022				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1023						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1024						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1025						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1026						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1027						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1028				interconnect-names = "qup-core",
1029						     "qup-config",
1030						     "qup-memory";
1031
1032				dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>,
1033				       <&gpi_dma2 1 3 QCOM_GPI_I2C>;
1034				dma-names = "tx",
1035					    "rx";
1036
1037				pinctrl-0 = <&qup_i2c19_data_clk>;
1038				pinctrl-names = "default";
1039
1040				#address-cells = <1>;
1041				#size-cells = <0>;
1042
1043				status = "disabled";
1044			};
1045
1046			spi19: spi@88c000 {
1047				compatible = "qcom,geni-spi";
1048				reg = <0 0x0088c000 0 0x4000>;
1049
1050				interrupts = <GIC_SPI 811 IRQ_TYPE_LEVEL_HIGH>;
1051
1052				clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
1053				clock-names = "se";
1054
1055				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1056						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1057						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1058						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1059						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1060						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1061				interconnect-names = "qup-core",
1062						     "qup-config",
1063						     "qup-memory";
1064
1065				dmas = <&gpi_dma2 0 3 QCOM_GPI_SPI>,
1066				       <&gpi_dma2 1 3 QCOM_GPI_SPI>;
1067				dma-names = "tx",
1068					    "rx";
1069
1070				pinctrl-0 = <&qup_spi19_data_clk>, <&qup_spi19_cs>;
1071				pinctrl-names = "default";
1072
1073				#address-cells = <1>;
1074				#size-cells = <0>;
1075
1076				status = "disabled";
1077			};
1078
1079			i2c20: i2c@890000 {
1080				compatible = "qcom,geni-i2c";
1081				reg = <0 0x00890000 0 0x4000>;
1082
1083				interrupts = <GIC_SPI 812 IRQ_TYPE_LEVEL_HIGH>;
1084
1085				clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
1086				clock-names = "se";
1087
1088				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1089						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1090						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1091						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1092						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1093						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1094				interconnect-names = "qup-core",
1095						     "qup-config",
1096						     "qup-memory";
1097
1098				dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>,
1099				       <&gpi_dma2 1 4 QCOM_GPI_I2C>;
1100				dma-names = "tx",
1101					    "rx";
1102
1103				pinctrl-0 = <&qup_i2c20_data_clk>;
1104				pinctrl-names = "default";
1105
1106				#address-cells = <1>;
1107				#size-cells = <0>;
1108
1109				status = "disabled";
1110			};
1111
1112			spi20: spi@890000 {
1113				compatible = "qcom,geni-spi";
1114				reg = <0 0x00890000 0 0x4000>;
1115
1116				interrupts = <GIC_SPI 812 IRQ_TYPE_LEVEL_HIGH>;
1117
1118				clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
1119				clock-names = "se";
1120
1121				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1122						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1123						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1124						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1125						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1126						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1127				interconnect-names = "qup-core",
1128						     "qup-config",
1129						     "qup-memory";
1130
1131				dmas = <&gpi_dma2 0 4 QCOM_GPI_SPI>,
1132				       <&gpi_dma2 1 4 QCOM_GPI_SPI>;
1133				dma-names = "tx",
1134					    "rx";
1135
1136				pinctrl-0 = <&qup_spi20_data_clk>, <&qup_spi20_cs>;
1137				pinctrl-names = "default";
1138
1139				#address-cells = <1>;
1140				#size-cells = <0>;
1141
1142				status = "disabled";
1143			};
1144
1145			i2c21: i2c@894000 {
1146				compatible = "qcom,geni-i2c";
1147				reg = <0 0x00894000 0 0x4000>;
1148
1149				interrupts = <GIC_SPI 813 IRQ_TYPE_LEVEL_HIGH>;
1150
1151				clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
1152				clock-names = "se";
1153
1154				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1155						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1156						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1157						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1158						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1159						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1160				interconnect-names = "qup-core",
1161						     "qup-config",
1162						     "qup-memory";
1163
1164				dmas = <&gpi_dma2 0 5 QCOM_GPI_I2C>,
1165				       <&gpi_dma2 1 5 QCOM_GPI_I2C>;
1166				dma-names = "tx",
1167					    "rx";
1168
1169				pinctrl-0 = <&qup_i2c21_data_clk>;
1170				pinctrl-names = "default";
1171
1172				#address-cells = <1>;
1173				#size-cells = <0>;
1174
1175				status = "disabled";
1176			};
1177
1178			spi21: spi@894000 {
1179				compatible = "qcom,geni-spi";
1180				reg = <0 0x00894000 0 0x4000>;
1181
1182				interrupts = <GIC_SPI 813 IRQ_TYPE_LEVEL_HIGH>;
1183
1184				clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
1185				clock-names = "se";
1186
1187				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1188						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1189						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1190						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1191						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1192						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1193				interconnect-names = "qup-core",
1194						     "qup-config",
1195						     "qup-memory";
1196
1197				dmas = <&gpi_dma2 0 5 QCOM_GPI_SPI>,
1198				       <&gpi_dma2 1 5 QCOM_GPI_SPI>;
1199				dma-names = "tx",
1200					    "rx";
1201
1202				pinctrl-0 = <&qup_spi21_data_clk>, <&qup_spi21_cs>;
1203				pinctrl-names = "default";
1204
1205				#address-cells = <1>;
1206				#size-cells = <0>;
1207
1208				status = "disabled";
1209			};
1210
1211			uart21: serial@894000 {
1212				compatible = "qcom,geni-uart";
1213				reg = <0 0x00894000 0 0x4000>;
1214
1215				interrupts = <GIC_SPI 813 IRQ_TYPE_LEVEL_HIGH>;
1216
1217				clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
1218				clock-names = "se";
1219
1220				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1221						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1222						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1223						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>;
1224				interconnect-names = "qup-core",
1225						     "qup-config";
1226
1227				pinctrl-0 = <&qup_uart21_default>;
1228				pinctrl-names = "default";
1229
1230				status = "disabled";
1231			};
1232
1233			i2c22: i2c@898000 {
1234				compatible = "qcom,geni-i2c";
1235				reg = <0 0x00898000 0 0x4000>;
1236
1237				interrupts = <GIC_SPI 461 IRQ_TYPE_LEVEL_HIGH>;
1238
1239				clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>;
1240				clock-names = "se";
1241
1242				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1243						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1244						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1245						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1246						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1247						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1248				interconnect-names = "qup-core",
1249						     "qup-config",
1250						     "qup-memory";
1251
1252				dmas = <&gpi_dma2 0 6 QCOM_GPI_I2C>,
1253				       <&gpi_dma2 1 6 QCOM_GPI_I2C>;
1254				dma-names = "tx",
1255					    "rx";
1256
1257				pinctrl-0 = <&qup_i2c22_data_clk>;
1258				pinctrl-names = "default";
1259
1260				#address-cells = <1>;
1261				#size-cells = <0>;
1262
1263				status = "disabled";
1264			};
1265
1266			spi22: spi@898000 {
1267				compatible = "qcom,geni-spi";
1268				reg = <0 0x00898000 0 0x4000>;
1269
1270				interrupts = <GIC_SPI 461 IRQ_TYPE_LEVEL_HIGH>;
1271
1272				clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>;
1273				clock-names = "se";
1274
1275				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1276						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1277						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1278						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1279						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1280						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1281				interconnect-names = "qup-core",
1282						     "qup-config",
1283						     "qup-memory";
1284
1285				dmas = <&gpi_dma2 0 6 QCOM_GPI_SPI>,
1286				       <&gpi_dma2 1 6 QCOM_GPI_SPI>;
1287				dma-names = "tx",
1288					    "rx";
1289
1290				pinctrl-0 = <&qup_spi22_data_clk>, <&qup_spi22_cs>;
1291				pinctrl-names = "default";
1292
1293				#address-cells = <1>;
1294				#size-cells = <0>;
1295
1296				status = "disabled";
1297			};
1298
1299			i2c23: i2c@89c000 {
1300				compatible = "qcom,geni-i2c";
1301				reg = <0 0x0089c000 0 0x4000>;
1302
1303				interrupts = <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH>;
1304
1305				clocks = <&gcc GCC_QUPV3_WRAP2_S7_CLK>;
1306				clock-names = "se";
1307
1308				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1309						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1310						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1311						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1312						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1313						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1314				interconnect-names = "qup-core",
1315						     "qup-config",
1316						     "qup-memory";
1317
1318				dmas = <&gpi_dma2 0 7 QCOM_GPI_I2C>,
1319				       <&gpi_dma2 1 7 QCOM_GPI_I2C>;
1320				dma-names = "tx",
1321					    "rx";
1322
1323				pinctrl-0 = <&qup_i2c23_data_clk>;
1324				pinctrl-names = "default";
1325
1326				#address-cells = <1>;
1327				#size-cells = <0>;
1328
1329				status = "disabled";
1330			};
1331
1332			spi23: spi@89c000 {
1333				compatible = "qcom,geni-spi";
1334				reg = <0 0x0089c000 0 0x4000>;
1335
1336				interrupts = <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH>;
1337
1338				clocks = <&gcc GCC_QUPV3_WRAP2_S7_CLK>;
1339				clock-names = "se";
1340
1341				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1342						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1343						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1344						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1345						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1346						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1347				interconnect-names = "qup-core",
1348						     "qup-config",
1349						     "qup-memory";
1350
1351				dmas = <&gpi_dma2 0 7 QCOM_GPI_SPI>,
1352				       <&gpi_dma2 1 7 QCOM_GPI_SPI>;
1353				dma-names = "tx",
1354					    "rx";
1355
1356				pinctrl-0 = <&qup_spi23_data_clk>, <&qup_spi23_cs>;
1357				pinctrl-names = "default";
1358
1359				#address-cells = <1>;
1360				#size-cells = <0>;
1361
1362				status = "disabled";
1363			};
1364		};
1365
1366		gpi_dma1: dma-controller@a00000 {
1367			compatible = "qcom,x1e80100-gpi-dma", "qcom,sm6350-gpi-dma";
1368			reg = <0 0x00a00000 0 0x60000>;
1369
1370			interrupts = <GIC_SPI 776 IRQ_TYPE_LEVEL_HIGH>,
1371				     <GIC_SPI 777 IRQ_TYPE_LEVEL_HIGH>,
1372				     <GIC_SPI 778 IRQ_TYPE_LEVEL_HIGH>,
1373				     <GIC_SPI 779 IRQ_TYPE_LEVEL_HIGH>,
1374				     <GIC_SPI 780 IRQ_TYPE_LEVEL_HIGH>,
1375				     <GIC_SPI 781 IRQ_TYPE_LEVEL_HIGH>,
1376				     <GIC_SPI 782 IRQ_TYPE_LEVEL_HIGH>,
1377				     <GIC_SPI 783 IRQ_TYPE_LEVEL_HIGH>,
1378				     <GIC_SPI 784 IRQ_TYPE_LEVEL_HIGH>,
1379				     <GIC_SPI 785 IRQ_TYPE_LEVEL_HIGH>,
1380				     <GIC_SPI 786 IRQ_TYPE_LEVEL_HIGH>,
1381				     <GIC_SPI 787 IRQ_TYPE_LEVEL_HIGH>;
1382
1383			dma-channels = <12>;
1384			dma-channel-mask = <0x3e>;
1385			#dma-cells = <3>;
1386
1387			iommus = <&apps_smmu 0x136 0x0>;
1388
1389			status = "disabled";
1390		};
1391
1392		qupv3_1: geniqup@ac0000 {
1393			compatible = "qcom,geni-se-qup";
1394			reg = <0 0x00ac0000 0 0x2000>;
1395
1396			clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
1397				 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
1398			clock-names = "m-ahb",
1399				      "s-ahb";
1400
1401			iommus = <&apps_smmu 0x123 0x0>;
1402
1403			#address-cells = <2>;
1404			#size-cells = <2>;
1405			ranges;
1406
1407			status = "disabled";
1408
1409			i2c8: i2c@a80000 {
1410				compatible = "qcom,geni-i2c";
1411				reg = <0 0x00a80000 0 0x4000>;
1412
1413				interrupts = <GIC_SPI 800 IRQ_TYPE_LEVEL_HIGH>;
1414
1415				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1416				clock-names = "se";
1417
1418				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1419						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1420						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1421						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1422						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1423						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1424				interconnect-names = "qup-core",
1425						     "qup-config",
1426						     "qup-memory";
1427
1428				dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
1429				       <&gpi_dma1 1 0 QCOM_GPI_I2C>;
1430				dma-names = "tx",
1431					    "rx";
1432
1433				pinctrl-0 = <&qup_i2c8_data_clk>;
1434				pinctrl-names = "default";
1435
1436				#address-cells = <1>;
1437				#size-cells = <0>;
1438
1439				status = "disabled";
1440			};
1441
1442			spi8: spi@a80000 {
1443				compatible = "qcom,geni-spi";
1444				reg = <0 0x00a80000 0 0x4000>;
1445
1446				interrupts = <GIC_SPI 800 IRQ_TYPE_LEVEL_HIGH>;
1447
1448				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1449				clock-names = "se";
1450
1451				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1452						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1453						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1454						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1455						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1456						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1457				interconnect-names = "qup-core",
1458						     "qup-config",
1459						     "qup-memory";
1460
1461				dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>,
1462				       <&gpi_dma1 1 0 QCOM_GPI_SPI>;
1463				dma-names = "tx",
1464					    "rx";
1465
1466				pinctrl-0 = <&qup_spi8_data_clk>, <&qup_spi8_cs>;
1467				pinctrl-names = "default";
1468
1469				#address-cells = <1>;
1470				#size-cells = <0>;
1471
1472				status = "disabled";
1473			};
1474
1475			i2c9: i2c@a84000 {
1476				compatible = "qcom,geni-i2c";
1477				reg = <0 0x00a84000 0 0x4000>;
1478
1479				interrupts = <GIC_SPI 801 IRQ_TYPE_LEVEL_HIGH>;
1480
1481				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1482				clock-names = "se";
1483
1484				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1485						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1486						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1487						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1488						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1489						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1490				interconnect-names = "qup-core",
1491						     "qup-config",
1492						     "qup-memory";
1493
1494				dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
1495				       <&gpi_dma1 1 1 QCOM_GPI_I2C>;
1496				dma-names = "tx",
1497					    "rx";
1498
1499				pinctrl-0 = <&qup_i2c9_data_clk>;
1500				pinctrl-names = "default";
1501
1502				#address-cells = <1>;
1503				#size-cells = <0>;
1504
1505				status = "disabled";
1506			};
1507
1508			spi9: spi@a84000 {
1509				compatible = "qcom,geni-spi";
1510				reg = <0 0x00a84000 0 0x4000>;
1511
1512				interrupts = <GIC_SPI 801 IRQ_TYPE_LEVEL_HIGH>;
1513
1514				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1515				clock-names = "se";
1516
1517				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1518						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1519						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1520						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1521						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1522						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1523				interconnect-names = "qup-core",
1524						     "qup-config",
1525						     "qup-memory";
1526
1527				dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>,
1528				       <&gpi_dma1 1 1 QCOM_GPI_SPI>;
1529				dma-names = "tx",
1530					    "rx";
1531
1532				pinctrl-0 = <&qup_spi9_data_clk>, <&qup_spi9_cs>;
1533				pinctrl-names = "default";
1534
1535				#address-cells = <1>;
1536				#size-cells = <0>;
1537
1538				status = "disabled";
1539			};
1540
1541			i2c10: i2c@a88000 {
1542				compatible = "qcom,geni-i2c";
1543				reg = <0 0x00a88000 0 0x4000>;
1544
1545				interrupts = <GIC_SPI 802 IRQ_TYPE_LEVEL_HIGH>;
1546
1547				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1548				clock-names = "se";
1549
1550				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1551						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1552						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1553						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1554						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1555						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1556				interconnect-names = "qup-core",
1557						     "qup-config",
1558						     "qup-memory";
1559
1560				dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
1561				       <&gpi_dma1 1 2 QCOM_GPI_I2C>;
1562				dma-names = "tx",
1563					    "rx";
1564
1565				pinctrl-0 = <&qup_i2c10_data_clk>;
1566				pinctrl-names = "default";
1567
1568				#address-cells = <1>;
1569				#size-cells = <0>;
1570
1571				status = "disabled";
1572			};
1573
1574			spi10: spi@a88000 {
1575				compatible = "qcom,geni-spi";
1576				reg = <0 0x00a88000 0 0x4000>;
1577
1578				interrupts = <GIC_SPI 802 IRQ_TYPE_LEVEL_HIGH>;
1579
1580				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1581				clock-names = "se";
1582
1583				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1584						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1585						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1586						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1587						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1588						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1589				interconnect-names = "qup-core",
1590						     "qup-config",
1591						     "qup-memory";
1592
1593				dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>,
1594				       <&gpi_dma1 1 2 QCOM_GPI_SPI>;
1595				dma-names = "tx",
1596					    "rx";
1597
1598				pinctrl-0 = <&qup_spi10_data_clk>, <&qup_spi10_cs>;
1599				pinctrl-names = "default";
1600
1601				#address-cells = <1>;
1602				#size-cells = <0>;
1603
1604				status = "disabled";
1605			};
1606
1607			i2c11: i2c@a8c000 {
1608				compatible = "qcom,geni-i2c";
1609				reg = <0 0x00a8c000 0 0x4000>;
1610
1611				interrupts = <GIC_SPI 803 IRQ_TYPE_LEVEL_HIGH>;
1612
1613				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1614				clock-names = "se";
1615
1616				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1617						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1618						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1619						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1620						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1621						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1622				interconnect-names = "qup-core",
1623						     "qup-config",
1624						     "qup-memory";
1625
1626				dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
1627				       <&gpi_dma1 1 3 QCOM_GPI_I2C>;
1628				dma-names = "tx",
1629					    "rx";
1630
1631				pinctrl-0 = <&qup_i2c11_data_clk>;
1632				pinctrl-names = "default";
1633
1634				#address-cells = <1>;
1635				#size-cells = <0>;
1636
1637				status = "disabled";
1638			};
1639
1640			spi11: spi@a8c000 {
1641				compatible = "qcom,geni-spi";
1642				reg = <0 0x00a8c000 0 0x4000>;
1643
1644				interrupts = <GIC_SPI 803 IRQ_TYPE_LEVEL_HIGH>;
1645
1646				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1647				clock-names = "se";
1648
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_ALWAYS
1652						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1653						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1654						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1655				interconnect-names = "qup-core",
1656						     "qup-config",
1657						     "qup-memory";
1658
1659				dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>,
1660				       <&gpi_dma1 1 3 QCOM_GPI_SPI>;
1661				dma-names = "tx",
1662					    "rx";
1663
1664				pinctrl-0 = <&qup_spi11_data_clk>, <&qup_spi11_cs>;
1665				pinctrl-names = "default";
1666
1667				#address-cells = <1>;
1668				#size-cells = <0>;
1669
1670				status = "disabled";
1671			};
1672
1673			i2c12: i2c@a90000 {
1674				compatible = "qcom,geni-i2c";
1675				reg = <0 0x00a90000 0 0x4000>;
1676
1677				interrupts = <GIC_SPI 804 IRQ_TYPE_LEVEL_HIGH>;
1678
1679				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1680				clock-names = "se";
1681
1682				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1683						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1684						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1685						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1686						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1687						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1688				interconnect-names = "qup-core",
1689						     "qup-config",
1690						     "qup-memory";
1691
1692				dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
1693				       <&gpi_dma1 1 4 QCOM_GPI_I2C>;
1694				dma-names = "tx",
1695					    "rx";
1696
1697				pinctrl-0 = <&qup_i2c12_data_clk>;
1698				pinctrl-names = "default";
1699
1700				#address-cells = <1>;
1701				#size-cells = <0>;
1702
1703				status = "disabled";
1704			};
1705
1706			spi12: spi@a90000 {
1707				compatible = "qcom,geni-spi";
1708				reg = <0 0x00a90000 0 0x4000>;
1709
1710				interrupts = <GIC_SPI 804 IRQ_TYPE_LEVEL_HIGH>;
1711
1712				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1713				clock-names = "se";
1714
1715				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1716						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1717						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1718						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1719						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1720						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1721				interconnect-names = "qup-core",
1722						     "qup-config",
1723						     "qup-memory";
1724
1725				dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>,
1726				       <&gpi_dma1 1 4 QCOM_GPI_SPI>;
1727				dma-names = "tx",
1728					    "rx";
1729
1730				pinctrl-0 = <&qup_spi12_data_clk>, <&qup_spi12_cs>;
1731				pinctrl-names = "default";
1732
1733				#address-cells = <1>;
1734				#size-cells = <0>;
1735
1736				status = "disabled";
1737			};
1738
1739			i2c13: i2c@a94000 {
1740				compatible = "qcom,geni-i2c";
1741				reg = <0 0x00a94000 0 0x4000>;
1742
1743				interrupts = <GIC_SPI 805 IRQ_TYPE_LEVEL_HIGH>;
1744
1745				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1746				clock-names = "se";
1747
1748				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1749						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1750						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1751						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1752						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1753						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1754				interconnect-names = "qup-core",
1755						     "qup-config",
1756						     "qup-memory";
1757
1758				dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>,
1759				       <&gpi_dma1 1 5 QCOM_GPI_I2C>;
1760				dma-names = "tx",
1761					    "rx";
1762
1763				pinctrl-0 = <&qup_i2c13_data_clk>;
1764				pinctrl-names = "default";
1765
1766				#address-cells = <1>;
1767				#size-cells = <0>;
1768
1769				status = "disabled";
1770			};
1771
1772			spi13: spi@a94000 {
1773				compatible = "qcom,geni-spi";
1774				reg = <0 0x00a94000 0 0x4000>;
1775
1776				interrupts = <GIC_SPI 805 IRQ_TYPE_LEVEL_HIGH>;
1777
1778				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1779				clock-names = "se";
1780
1781				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1782						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1783						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1784						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1785						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1786						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1787				interconnect-names = "qup-core",
1788						     "qup-config",
1789						     "qup-memory";
1790
1791				dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>,
1792				       <&gpi_dma1 1 5 QCOM_GPI_SPI>;
1793				dma-names = "tx",
1794					    "rx";
1795
1796				pinctrl-0 = <&qup_spi13_data_clk>, <&qup_spi13_cs>;
1797				pinctrl-names = "default";
1798
1799				#address-cells = <1>;
1800				#size-cells = <0>;
1801
1802				status = "disabled";
1803			};
1804
1805			i2c14: i2c@a98000 {
1806				compatible = "qcom,geni-i2c";
1807				reg = <0 0x00a98000 0 0x4000>;
1808
1809				interrupts = <GIC_SPI 806 IRQ_TYPE_LEVEL_HIGH>;
1810
1811				clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1812				clock-names = "se";
1813
1814				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1815						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1816						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1817						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1818						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1819						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1820				interconnect-names = "qup-core",
1821						     "qup-config",
1822						     "qup-memory";
1823
1824				dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>,
1825				       <&gpi_dma1 1 6 QCOM_GPI_I2C>;
1826				dma-names = "tx",
1827					    "rx";
1828
1829				pinctrl-0 = <&qup_i2c14_data_clk>;
1830				pinctrl-names = "default";
1831
1832				#address-cells = <1>;
1833				#size-cells = <0>;
1834
1835				status = "disabled";
1836			};
1837
1838			spi14: spi@a98000 {
1839				compatible = "qcom,geni-spi";
1840				reg = <0 0x00a98000 0 0x4000>;
1841
1842				interrupts = <GIC_SPI 806 IRQ_TYPE_LEVEL_HIGH>;
1843
1844				clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1845				clock-names = "se";
1846
1847				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1848						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1849						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1850						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1851						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1852						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1853				interconnect-names = "qup-core",
1854						     "qup-config",
1855						     "qup-memory";
1856
1857				dmas = <&gpi_dma1 0 6 QCOM_GPI_SPI>,
1858				       <&gpi_dma1 1 6 QCOM_GPI_SPI>;
1859				dma-names = "tx",
1860					    "rx";
1861
1862				pinctrl-0 = <&qup_spi14_data_clk>, <&qup_spi14_cs>;
1863				pinctrl-names = "default";
1864
1865				#address-cells = <1>;
1866				#size-cells = <0>;
1867
1868				status = "disabled";
1869			};
1870
1871			i2c15: i2c@a9c000 {
1872				compatible = "qcom,geni-i2c";
1873				reg = <0 0x00a9c000 0 0x4000>;
1874
1875				interrupts = <GIC_SPI 807 IRQ_TYPE_LEVEL_HIGH>;
1876
1877				clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1878				clock-names = "se";
1879
1880				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1881						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1882						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1883						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1884						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1885						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1886				interconnect-names = "qup-core",
1887						     "qup-config",
1888						     "qup-memory";
1889
1890				dmas = <&gpi_dma1 0 7 QCOM_GPI_I2C>,
1891				       <&gpi_dma1 1 7 QCOM_GPI_I2C>;
1892				dma-names = "tx",
1893					    "rx";
1894
1895				pinctrl-0 = <&qup_i2c15_data_clk>;
1896				pinctrl-names = "default";
1897
1898				#address-cells = <1>;
1899				#size-cells = <0>;
1900
1901				status = "disabled";
1902			};
1903
1904			spi15: spi@a9c000 {
1905				compatible = "qcom,geni-spi";
1906				reg = <0 0x00a9c000 0 0x4000>;
1907
1908				interrupts = <GIC_SPI 807 IRQ_TYPE_LEVEL_HIGH>;
1909
1910				clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1911				clock-names = "se";
1912
1913				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1914						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1915						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1916						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1917						<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1918						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1919				interconnect-names = "qup-core",
1920						     "qup-config",
1921						     "qup-memory";
1922
1923				dmas = <&gpi_dma1 0 7 QCOM_GPI_SPI>,
1924				       <&gpi_dma1 1 7 QCOM_GPI_SPI>;
1925				dma-names = "tx",
1926					    "rx";
1927
1928				pinctrl-0 = <&qup_spi15_data_clk>, <&qup_spi15_cs>;
1929				pinctrl-names = "default";
1930
1931				#address-cells = <1>;
1932				#size-cells = <0>;
1933
1934				status = "disabled";
1935			};
1936		};
1937
1938		gpi_dma0: dma-controller@b00000  {
1939			compatible = "qcom,x1e80100-gpi-dma", "qcom,sm6350-gpi-dma";
1940			reg = <0 0x00b00000 0 0x60000>;
1941
1942			interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
1943				     <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
1944				     <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
1945				     <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>,
1946				     <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>,
1947				     <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>,
1948				     <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>,
1949				     <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>,
1950				     <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>,
1951				     <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>,
1952				     <GIC_SPI 598 IRQ_TYPE_LEVEL_HIGH>,
1953				     <GIC_SPI 599 IRQ_TYPE_LEVEL_HIGH>;
1954
1955			dma-channels = <12>;
1956			dma-channel-mask = <0x3e>;
1957			#dma-cells = <3>;
1958
1959			iommus = <&apps_smmu 0x456 0x0>;
1960
1961			status = "disabled";
1962		};
1963
1964		qupv3_0: geniqup@bc0000 {
1965			compatible = "qcom,geni-se-qup";
1966			reg = <0 0x00bc0000 0 0x2000>;
1967
1968			clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
1969				 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
1970			clock-names = "m-ahb",
1971				      "s-ahb";
1972
1973			iommus = <&apps_smmu 0x443 0x0>;
1974			#address-cells = <2>;
1975			#size-cells = <2>;
1976			ranges;
1977
1978			status = "disabled";
1979
1980			i2c0: i2c@b80000 {
1981				compatible = "qcom,geni-i2c";
1982				reg = <0 0xb80000 0 0x4000>;
1983
1984				interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1985
1986				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1987				clock-names = "se";
1988
1989				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1990						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1991						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1992						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
1993						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
1994						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1995				interconnect-names = "qup-core",
1996						     "qup-config",
1997						     "qup-memory";
1998
1999				dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
2000				       <&gpi_dma0 1 0 QCOM_GPI_I2C>;
2001				dma-names = "tx",
2002					    "rx";
2003
2004				pinctrl-0 = <&qup_i2c0_data_clk>;
2005				pinctrl-names = "default";
2006
2007				#address-cells = <1>;
2008				#size-cells = <0>;
2009
2010				status = "disabled";
2011			};
2012
2013			spi0: spi@b80000 {
2014				compatible = "qcom,geni-spi";
2015				reg = <0 0x00b80000 0 0x4000>;
2016
2017				interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
2018
2019				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
2020				clock-names = "se";
2021
2022				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2023						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2024						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2025						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2026						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2027						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2028				interconnect-names = "qup-core",
2029						     "qup-config",
2030						     "qup-memory";
2031
2032				dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
2033				       <&gpi_dma0 1 0 QCOM_GPI_SPI>;
2034				dma-names = "tx",
2035					    "rx";
2036
2037				pinctrl-0 = <&qup_spi0_data_clk>, <&qup_spi0_cs>;
2038				pinctrl-names = "default";
2039
2040				#address-cells = <1>;
2041				#size-cells = <0>;
2042
2043				status = "disabled";
2044			};
2045
2046			i2c1: i2c@b84000 {
2047				compatible = "qcom,geni-i2c";
2048				reg = <0 0x00b84000 0 0x4000>;
2049
2050				interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
2051
2052				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
2053				clock-names = "se";
2054
2055				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2056						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2057						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2058						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2059						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2060						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2061				interconnect-names = "qup-core",
2062						     "qup-config",
2063						     "qup-memory";
2064
2065				dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
2066				       <&gpi_dma0 1 1 QCOM_GPI_I2C>;
2067				dma-names = "tx",
2068					    "rx";
2069
2070				pinctrl-0 = <&qup_i2c1_data_clk>;
2071				pinctrl-names = "default";
2072
2073				#address-cells = <1>;
2074				#size-cells = <0>;
2075
2076				status = "disabled";
2077			};
2078
2079			spi1: spi@b84000 {
2080				compatible = "qcom,geni-spi";
2081				reg = <0 0x00b84000 0 0x4000>;
2082
2083				interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
2084
2085				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
2086				clock-names = "se";
2087
2088				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2089						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2090						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2091						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2092						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2093						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2094				interconnect-names = "qup-core",
2095						     "qup-config",
2096						     "qup-memory";
2097
2098				dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>,
2099				       <&gpi_dma0 1 1 QCOM_GPI_SPI>;
2100				dma-names = "tx",
2101					    "rx";
2102
2103				pinctrl-0 = <&qup_spi1_data_clk>, <&qup_spi1_cs>;
2104				pinctrl-names = "default";
2105
2106				#address-cells = <1>;
2107				#size-cells = <0>;
2108
2109				status = "disabled";
2110			};
2111
2112			i2c2: i2c@b88000 {
2113				compatible = "qcom,geni-i2c";
2114				reg = <0 0x00b88000 0 0x4000>;
2115
2116				interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
2117
2118				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
2119				clock-names = "se";
2120
2121				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2122						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2123						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2124						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2125						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2126						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2127				interconnect-names = "qup-core",
2128						     "qup-config",
2129						     "qup-memory";
2130
2131				dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
2132				       <&gpi_dma0 1 2 QCOM_GPI_I2C>;
2133				dma-names = "tx",
2134					    "rx";
2135
2136				pinctrl-0 = <&qup_i2c2_data_clk>;
2137				pinctrl-names = "default";
2138
2139				#address-cells = <1>;
2140				#size-cells = <0>;
2141
2142				status = "disabled";
2143			};
2144
2145			spi2: spi@b88000 {
2146				compatible = "qcom,geni-spi";
2147				reg = <0 0xb88000 0 0x4000>;
2148
2149				interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
2150
2151				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
2152				clock-names = "se";
2153
2154				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2155						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2156						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2157						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2158						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2159						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2160				interconnect-names = "qup-core",
2161						     "qup-config",
2162						     "qup-memory";
2163
2164				dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
2165				       <&gpi_dma0 1 2 QCOM_GPI_SPI>;
2166				dma-names = "tx",
2167					    "rx";
2168
2169				pinctrl-0 = <&qup_spi2_data_clk>, <&qup_spi2_cs>;
2170				pinctrl-names = "default";
2171
2172				#address-cells = <1>;
2173				#size-cells = <0>;
2174
2175				status = "disabled";
2176			};
2177
2178			i2c3: i2c@b8c000 {
2179				compatible = "qcom,geni-i2c";
2180				reg = <0 0x00b8c000 0 0x4000>;
2181
2182				interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
2183
2184				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
2185				clock-names = "se";
2186
2187				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2188						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2189						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2190						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2191						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2192						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2193				interconnect-names = "qup-core",
2194						     "qup-config",
2195						     "qup-memory";
2196
2197				dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
2198				       <&gpi_dma0 1 3 QCOM_GPI_I2C>;
2199				dma-names = "tx",
2200					    "rx";
2201
2202				pinctrl-0 = <&qup_i2c3_data_clk>;
2203				pinctrl-names = "default";
2204
2205				#address-cells = <1>;
2206				#size-cells = <0>;
2207
2208				status = "disabled";
2209			};
2210
2211			spi3: spi@b8c000 {
2212				compatible = "qcom,geni-spi";
2213				reg = <0 0x00b8c000 0 0x4000>;
2214
2215				interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
2216
2217				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
2218				clock-names = "se";
2219
2220				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2221						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2222						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2223						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2224						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2225						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2226				interconnect-names = "qup-core",
2227						     "qup-config",
2228						     "qup-memory";
2229
2230				dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>,
2231				       <&gpi_dma0 1 3 QCOM_GPI_SPI>;
2232				dma-names = "tx",
2233					    "rx";
2234
2235				pinctrl-0 = <&qup_spi3_data_clk>, <&qup_spi3_cs>;
2236				pinctrl-names = "default";
2237
2238				#address-cells = <1>;
2239				#size-cells = <0>;
2240
2241				status = "disabled";
2242			};
2243
2244			i2c4: i2c@b90000 {
2245				compatible = "qcom,geni-i2c";
2246				reg = <0 0xb90000 0 0x4000>;
2247
2248				interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
2249
2250				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
2251				clock-names = "se";
2252
2253				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2254						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2255						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2256						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2257						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2258						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2259				interconnect-names = "qup-core",
2260						     "qup-config",
2261						     "qup-memory";
2262
2263				dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
2264				       <&gpi_dma0 1 4 QCOM_GPI_I2C>;
2265				dma-names = "tx",
2266					    "rx";
2267
2268				pinctrl-0 = <&qup_i2c4_data_clk>;
2269				pinctrl-names = "default";
2270
2271				#address-cells = <1>;
2272				#size-cells = <0>;
2273
2274				status = "disabled";
2275			};
2276
2277			spi4: spi@b90000 {
2278				compatible = "qcom,geni-spi";
2279				reg = <0 0x00b90000 0 0x4000>;
2280
2281				interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
2282
2283				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
2284				clock-names = "se";
2285
2286				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2287						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2288						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2289						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2290						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2291						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2292				interconnect-names = "qup-core",
2293						     "qup-config",
2294						     "qup-memory";
2295
2296				dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>,
2297				       <&gpi_dma0 1 4 QCOM_GPI_SPI>;
2298				dma-names = "tx",
2299					    "rx";
2300
2301				pinctrl-0 = <&qup_spi4_data_clk>, <&qup_spi4_cs>;
2302				pinctrl-names = "default";
2303
2304				#address-cells = <1>;
2305				#size-cells = <0>;
2306
2307				status = "disabled";
2308			};
2309
2310			i2c5: i2c@b94000 {
2311				compatible = "qcom,geni-i2c";
2312				reg = <0 0x00b94000 0 0x4000>;
2313
2314				interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
2315
2316				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
2317				clock-names = "se";
2318
2319				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2320						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2321						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2322						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2323						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2324						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2325				interconnect-names = "qup-core",
2326						     "qup-config",
2327						     "qup-memory";
2328
2329				dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
2330				       <&gpi_dma0 1 5 QCOM_GPI_I2C>;
2331				dma-names = "tx",
2332					    "rx";
2333
2334				pinctrl-0 = <&qup_i2c5_data_clk>;
2335				pinctrl-names = "default";
2336
2337				#address-cells = <1>;
2338				#size-cells = <0>;
2339
2340				status = "disabled";
2341			};
2342
2343			spi5: spi@b94000 {
2344				compatible = "qcom,geni-spi";
2345				reg = <0 0x00b94000 0 0x4000>;
2346
2347				interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
2348
2349				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
2350				clock-names = "se";
2351
2352				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2353						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2354						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2355						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2356						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2357						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2358				interconnect-names = "qup-core",
2359						     "qup-config",
2360						     "qup-memory";
2361
2362				dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>,
2363				       <&gpi_dma0 1 5 QCOM_GPI_SPI>;
2364				dma-names = "tx",
2365					    "rx";
2366
2367				pinctrl-0 = <&qup_spi5_data_clk>, <&qup_spi5_cs>;
2368				pinctrl-names = "default";
2369
2370				#address-cells = <1>;
2371				#size-cells = <0>;
2372
2373				status = "disabled";
2374			};
2375
2376			i2c6: i2c@b98000 {
2377				compatible = "qcom,geni-i2c";
2378				reg = <0 0x00b98000 0 0x4000>;
2379
2380				interrupts = <GIC_SPI 461 IRQ_TYPE_LEVEL_HIGH>;
2381
2382				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
2383				clock-names = "se";
2384
2385				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2386						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2387						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2388						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2389						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2390						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2391				interconnect-names = "qup-core",
2392						     "qup-config",
2393						     "qup-memory";
2394
2395				dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>,
2396				       <&gpi_dma0 1 6 QCOM_GPI_I2C>;
2397				dma-names = "tx",
2398					    "rx";
2399
2400				pinctrl-0 = <&qup_i2c6_data_clk>;
2401				pinctrl-names = "default";
2402
2403				#address-cells = <1>;
2404				#size-cells = <0>;
2405
2406				status = "disabled";
2407			};
2408
2409			spi6: spi@b98000 {
2410				compatible = "qcom,geni-spi";
2411				reg = <0 0x00b98000 0 0x4000>;
2412
2413				interrupts = <GIC_SPI 461 IRQ_TYPE_LEVEL_HIGH>;
2414
2415				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
2416				clock-names = "se";
2417
2418				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2419						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2420						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2421						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2422						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2423						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2424				interconnect-names = "qup-core",
2425						     "qup-config",
2426						     "qup-memory";
2427
2428				dmas = <&gpi_dma0 0 6 QCOM_GPI_SPI>,
2429				       <&gpi_dma0 1 6 QCOM_GPI_SPI>;
2430				dma-names = "tx",
2431					    "rx";
2432
2433				pinctrl-0 = <&qup_spi6_data_clk>, <&qup_spi6_cs>;
2434				pinctrl-names = "default";
2435
2436				#address-cells = <1>;
2437				#size-cells = <0>;
2438
2439				status = "disabled";
2440			};
2441
2442			i2c7: i2c@b9c000 {
2443				compatible = "qcom,geni-i2c";
2444				reg = <0 0x00b9c000 0 0x4000>;
2445
2446				interrupts = <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH>;
2447
2448				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
2449				clock-names = "se";
2450
2451				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2452						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2453						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2454						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2455						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2456						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2457				interconnect-names = "qup-core",
2458						     "qup-config",
2459						     "qup-memory";
2460
2461				dmas = <&gpi_dma0 0 7 QCOM_GPI_I2C>,
2462				       <&gpi_dma0 1 7 QCOM_GPI_I2C>;
2463				dma-names = "tx",
2464					    "rx";
2465
2466				pinctrl-0 = <&qup_i2c7_data_clk>;
2467				pinctrl-names = "default";
2468
2469				#address-cells = <1>;
2470				#size-cells = <0>;
2471
2472				status = "disabled";
2473			};
2474
2475			spi7: spi@b9c000 {
2476				compatible = "qcom,geni-spi";
2477				reg = <0 0x00b9c000 0 0x4000>;
2478
2479				interrupts = <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH>;
2480
2481				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
2482				clock-names = "se";
2483
2484				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
2485						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
2486						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2487						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
2488						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
2489						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2490				interconnect-names = "qup-core",
2491						     "qup-config",
2492						     "qup-memory";
2493
2494				dmas = <&gpi_dma0 0 7 QCOM_GPI_SPI>,
2495				       <&gpi_dma0 1 7 QCOM_GPI_SPI>;
2496				dma-names = "tx",
2497					    "rx";
2498
2499				pinctrl-0 = <&qup_spi7_data_clk>, <&qup_spi7_cs>;
2500				pinctrl-names = "default";
2501
2502				#address-cells = <1>;
2503				#size-cells = <0>;
2504
2505				status = "disabled";
2506			};
2507		};
2508
2509		tsens0: thermal-sensor@c271000 {
2510			compatible = "qcom,x1e80100-tsens", "qcom,tsens-v2";
2511			reg = <0 0x0c271000 0 0x1000>,
2512			      <0 0x0c222000 0 0x1000>;
2513
2514			interrupts-extended = <&pdc 26 IRQ_TYPE_LEVEL_HIGH>,
2515					      <&intc GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>;
2516			interrupt-names = "uplow",
2517					  "critical";
2518
2519			#qcom,sensors = <16>;
2520
2521			#thermal-sensor-cells = <1>;
2522		};
2523
2524		tsens1: thermal-sensor@c272000 {
2525			compatible = "qcom,x1e80100-tsens", "qcom,tsens-v2";
2526			reg = <0 0x0c272000 0 0x1000>,
2527			      <0 0x0c223000 0 0x1000>;
2528
2529			interrupts-extended = <&pdc 27 IRQ_TYPE_LEVEL_HIGH>,
2530					      <&intc GIC_SPI 642 IRQ_TYPE_LEVEL_HIGH>;
2531			interrupt-names = "uplow",
2532					  "critical";
2533
2534			#qcom,sensors = <16>;
2535
2536			#thermal-sensor-cells = <1>;
2537		};
2538
2539		tsens2: thermal-sensor@c273000 {
2540			compatible = "qcom,x1e80100-tsens", "qcom,tsens-v2";
2541			reg = <0 0x0c273000 0 0x1000>,
2542			      <0 0x0c224000 0 0x1000>;
2543
2544			interrupts-extended = <&pdc 28 IRQ_TYPE_LEVEL_HIGH>,
2545					      <&intc GIC_SPI 643 IRQ_TYPE_LEVEL_HIGH>;
2546			interrupt-names = "uplow",
2547					  "critical";
2548
2549			#qcom,sensors = <16>;
2550
2551			#thermal-sensor-cells = <1>;
2552		};
2553
2554		tsens3: thermal-sensor@c274000 {
2555			compatible = "qcom,x1e80100-tsens", "qcom,tsens-v2";
2556			reg = <0 0x0c274000 0 0x1000>,
2557			      <0 0x0c225000 0 0x1000>;
2558
2559			interrupts-extended = <&pdc 29 IRQ_TYPE_LEVEL_HIGH>,
2560					      <&intc GIC_SPI 770 IRQ_TYPE_LEVEL_HIGH>;
2561			interrupt-names = "uplow",
2562					  "critical";
2563
2564			#qcom,sensors = <16>;
2565
2566			#thermal-sensor-cells = <1>;
2567		};
2568
2569		usb_1_ss0_hsphy: phy@fd3000 {
2570			compatible = "qcom,x1e80100-snps-eusb2-phy",
2571				     "qcom,sm8550-snps-eusb2-phy";
2572			reg = <0 0x00fd3000 0 0x154>;
2573			#phy-cells = <0>;
2574
2575			clocks = <&tcsr TCSR_USB2_1_CLKREF_EN>;
2576			clock-names = "ref";
2577
2578			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
2579
2580			status = "disabled";
2581		};
2582
2583		usb_1_ss0_qmpphy: phy@fd5000 {
2584			compatible = "qcom,x1e80100-qmp-usb3-dp-phy";
2585			reg = <0 0x00fd5000 0 0x4000>;
2586
2587			clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
2588				 <&rpmhcc RPMH_CXO_CLK>,
2589				 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>,
2590				 <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
2591			clock-names = "aux",
2592				      "ref",
2593				      "com_aux",
2594				      "usb3_pipe";
2595
2596			power-domains = <&gcc GCC_USB_0_PHY_GDSC>;
2597
2598			resets = <&gcc GCC_USB3_PHY_PRIM_BCR>,
2599				 <&gcc GCC_USB4_0_DP0_PHY_PRIM_BCR>;
2600			reset-names = "phy",
2601				      "common";
2602
2603			#clock-cells = <1>;
2604			#phy-cells = <1>;
2605
2606			status = "disabled";
2607
2608			ports {
2609				#address-cells = <1>;
2610				#size-cells = <0>;
2611
2612				port@0 {
2613					reg = <0>;
2614
2615					usb_1_ss0_qmpphy_out: endpoint {
2616					};
2617				};
2618
2619				port@1 {
2620					reg = <1>;
2621
2622					usb_1_ss0_qmpphy_usb_ss_in: endpoint {
2623						remote-endpoint = <&usb_1_ss0_dwc3_ss>;
2624					};
2625				};
2626
2627				port@2 {
2628					reg = <2>;
2629
2630					usb_1_ss0_qmpphy_dp_in: endpoint {
2631						remote-endpoint = <&mdss_dp0_out>;
2632					};
2633				};
2634			};
2635		};
2636
2637		usb_1_ss1_hsphy: phy@fd9000 {
2638			compatible = "qcom,x1e80100-snps-eusb2-phy",
2639				     "qcom,sm8550-snps-eusb2-phy";
2640			reg = <0 0x00fd9000 0 0x154>;
2641			#phy-cells = <0>;
2642
2643			clocks = <&tcsr TCSR_USB2_1_CLKREF_EN>;
2644			clock-names = "ref";
2645
2646			resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
2647
2648			status = "disabled";
2649		};
2650
2651		usb_1_ss1_qmpphy: phy@fda000 {
2652			compatible = "qcom,x1e80100-qmp-usb3-dp-phy";
2653			reg = <0 0x00fda000 0 0x4000>;
2654
2655			clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
2656				 <&rpmhcc RPMH_CXO_CLK>,
2657				 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>,
2658				 <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
2659			clock-names = "aux",
2660				      "ref",
2661				      "com_aux",
2662				      "usb3_pipe";
2663
2664			power-domains = <&gcc GCC_USB_1_PHY_GDSC>;
2665
2666			resets = <&gcc GCC_USB3_PHY_SEC_BCR>,
2667				 <&gcc GCC_USB4_1_DP0_PHY_SEC_BCR>;
2668			reset-names = "phy",
2669				      "common";
2670
2671			#clock-cells = <1>;
2672			#phy-cells = <1>;
2673
2674			status = "disabled";
2675
2676			ports {
2677				#address-cells = <1>;
2678				#size-cells = <0>;
2679
2680				port@0 {
2681					reg = <0>;
2682
2683					usb_1_ss1_qmpphy_out: endpoint {
2684					};
2685				};
2686
2687				port@1 {
2688					reg = <1>;
2689
2690					usb_1_ss1_qmpphy_usb_ss_in: endpoint {
2691						remote-endpoint = <&usb_1_ss1_dwc3_ss>;
2692					};
2693				};
2694
2695				port@2 {
2696					reg = <2>;
2697
2698					usb_1_ss1_qmpphy_dp_in: endpoint {
2699						remote-endpoint = <&mdss_dp1_out>;
2700					};
2701				};
2702			};
2703		};
2704
2705		usb_1_ss2_hsphy: phy@fde000 {
2706			compatible = "qcom,x1e80100-snps-eusb2-phy",
2707				     "qcom,sm8550-snps-eusb2-phy";
2708			reg = <0 0x00fde000 0 0x154>;
2709			#phy-cells = <0>;
2710
2711			clocks = <&tcsr TCSR_USB2_1_CLKREF_EN>;
2712			clock-names = "ref";
2713
2714			resets = <&gcc GCC_QUSB2PHY_TERT_BCR>;
2715
2716			status = "disabled";
2717		};
2718
2719		usb_1_ss2_qmpphy: phy@fdf000 {
2720			compatible = "qcom,x1e80100-qmp-usb3-dp-phy";
2721			reg = <0 0x00fdf000 0 0x4000>;
2722
2723			clocks = <&gcc GCC_USB3_TERT_PHY_AUX_CLK>,
2724				 <&rpmhcc RPMH_CXO_CLK>,
2725				 <&gcc GCC_USB3_TERT_PHY_COM_AUX_CLK>,
2726				 <&gcc GCC_USB3_TERT_PHY_PIPE_CLK>;
2727			clock-names = "aux",
2728				      "ref",
2729				      "com_aux",
2730				      "usb3_pipe";
2731
2732			power-domains = <&gcc GCC_USB_2_PHY_GDSC>;
2733
2734			resets = <&gcc GCC_USB3_PHY_TERT_BCR>,
2735				 <&gcc GCC_USB4_2_DP0_PHY_TERT_BCR>;
2736			reset-names = "phy",
2737				      "common";
2738
2739			#clock-cells = <1>;
2740			#phy-cells = <1>;
2741
2742			status = "disabled";
2743
2744			ports {
2745				#address-cells = <1>;
2746				#size-cells = <0>;
2747
2748				port@0 {
2749					reg = <0>;
2750
2751					usb_1_ss2_qmpphy_out: endpoint {
2752					};
2753				};
2754
2755				port@1 {
2756					reg = <1>;
2757
2758					usb_1_ss2_qmpphy_usb_ss_in: endpoint {
2759						remote-endpoint = <&usb_1_ss2_dwc3_ss>;
2760					};
2761				};
2762
2763				port@2 {
2764					reg = <2>;
2765
2766					usb_1_ss2_qmpphy_dp_in: endpoint {
2767						remote-endpoint = <&mdss_dp2_out>;
2768					};
2769				};
2770			};
2771		};
2772
2773		cnoc_main: interconnect@1500000 {
2774			compatible = "qcom,x1e80100-cnoc-main";
2775			reg = <0 0x1500000 0 0x14400>;
2776
2777			qcom,bcm-voters = <&apps_bcm_voter>;
2778
2779			#interconnect-cells = <2>;
2780		};
2781
2782		config_noc: interconnect@1600000 {
2783			compatible = "qcom,x1e80100-cnoc-cfg";
2784			reg = <0 0x1600000 0 0x6600>;
2785
2786			qcom,bcm-voters = <&apps_bcm_voter>;
2787
2788			#interconnect-cells = <2>;
2789		};
2790
2791		system_noc: interconnect@1680000 {
2792			compatible = "qcom,x1e80100-system-noc";
2793			reg = <0 0x1680000 0 0x1c080>;
2794
2795			qcom,bcm-voters = <&apps_bcm_voter>;
2796
2797			#interconnect-cells = <2>;
2798		};
2799
2800		pcie_south_anoc: interconnect@16c0000 {
2801			compatible = "qcom,x1e80100-pcie-south-anoc";
2802			reg = <0 0x16c0000 0 0xd080>;
2803
2804			qcom,bcm-voters = <&apps_bcm_voter>;
2805
2806			#interconnect-cells = <2>;
2807		};
2808
2809		pcie_center_anoc: interconnect@16d0000 {
2810			compatible = "qcom,x1e80100-pcie-center-anoc";
2811			reg = <0 0x16d0000 0 0x7000>;
2812
2813			qcom,bcm-voters = <&apps_bcm_voter>;
2814
2815			#interconnect-cells = <2>;
2816		};
2817
2818		aggre1_noc: interconnect@16e0000 {
2819			compatible = "qcom,x1e80100-aggre1-noc";
2820			reg = <0 0x16E0000 0 0x14400>;
2821
2822			qcom,bcm-voters = <&apps_bcm_voter>;
2823
2824			#interconnect-cells = <2>;
2825		};
2826
2827		aggre2_noc: interconnect@1700000 {
2828			compatible = "qcom,x1e80100-aggre2-noc";
2829			reg = <0 0x1700000 0 0x1c400>;
2830
2831			qcom,bcm-voters = <&apps_bcm_voter>;
2832
2833			#interconnect-cells = <2>;
2834		};
2835
2836		pcie_north_anoc: interconnect@1740000 {
2837			compatible = "qcom,x1e80100-pcie-north-anoc";
2838			reg = <0 0x1740000 0 0x9080>;
2839
2840			qcom,bcm-voters = <&apps_bcm_voter>;
2841
2842			#interconnect-cells = <2>;
2843		};
2844
2845		usb_center_anoc: interconnect@1750000 {
2846			compatible = "qcom,x1e80100-usb-center-anoc";
2847			reg = <0 0x1750000 0 0x8800>;
2848
2849			qcom,bcm-voters = <&apps_bcm_voter>;
2850
2851			#interconnect-cells = <2>;
2852		};
2853
2854		usb_north_anoc: interconnect@1760000 {
2855			compatible = "qcom,x1e80100-usb-north-anoc";
2856			reg = <0 0x1760000 0 0x7080>;
2857
2858			qcom,bcm-voters = <&apps_bcm_voter>;
2859
2860			#interconnect-cells = <2>;
2861		};
2862
2863		usb_south_anoc: interconnect@1770000 {
2864			compatible = "qcom,x1e80100-usb-south-anoc";
2865			reg = <0 0x1770000 0 0xf080>;
2866
2867			qcom,bcm-voters = <&apps_bcm_voter>;
2868
2869			#interconnect-cells = <2>;
2870		};
2871
2872		mmss_noc: interconnect@1780000 {
2873			compatible = "qcom,x1e80100-mmss-noc";
2874			reg = <0 0x1780000 0 0x5B800>;
2875
2876			qcom,bcm-voters = <&apps_bcm_voter>;
2877
2878			#interconnect-cells = <2>;
2879		};
2880
2881		pcie6a: pci@1bf8000 {
2882			device_type = "pci";
2883			compatible = "qcom,pcie-x1e80100";
2884			reg = <0 0x01bf8000 0 0x3000>,
2885			      <0 0x70000000 0 0xf20>,
2886			      <0 0x70000f40 0 0xa8>,
2887			      <0 0x70001000 0 0x1000>,
2888			      <0 0x70100000 0 0x100000>,
2889			      <0 0x01bfb000 0 0x1000>;
2890			reg-names = "parf",
2891				    "dbi",
2892				    "elbi",
2893				    "atu",
2894				    "config",
2895				    "mhi";
2896			#address-cells = <3>;
2897			#size-cells = <2>;
2898			ranges = <0x01000000 0 0x00000000 0 0x70200000 0 0x100000>,
2899				 <0x02000000 0 0x70300000 0 0x70300000 0 0x3d00000>;
2900			bus-range = <0 0xff>;
2901
2902			dma-coherent;
2903
2904			linux,pci-domain = <7>;
2905			num-lanes = <2>;
2906
2907			interrupts = <GIC_SPI 773 IRQ_TYPE_LEVEL_HIGH>,
2908				     <GIC_SPI 774 IRQ_TYPE_LEVEL_HIGH>,
2909				     <GIC_SPI 837 IRQ_TYPE_LEVEL_HIGH>,
2910				     <GIC_SPI 838 IRQ_TYPE_LEVEL_HIGH>,
2911				     <GIC_SPI 839 IRQ_TYPE_LEVEL_HIGH>,
2912				     <GIC_SPI 840 IRQ_TYPE_LEVEL_HIGH>,
2913				     <GIC_SPI 841 IRQ_TYPE_LEVEL_HIGH>,
2914				     <GIC_SPI 842 IRQ_TYPE_LEVEL_HIGH>;
2915			interrupt-names = "msi0",
2916					  "msi1",
2917					  "msi2",
2918					  "msi3",
2919					  "msi4",
2920					  "msi5",
2921					  "msi6",
2922					  "msi7";
2923
2924			#interrupt-cells = <1>;
2925			interrupt-map-mask = <0 0 0 0x7>;
2926			interrupt-map = <0 0 0 1 &intc 0 0 0 843 IRQ_TYPE_LEVEL_HIGH>,
2927					<0 0 0 2 &intc 0 0 0 844 IRQ_TYPE_LEVEL_HIGH>,
2928					<0 0 0 3 &intc 0 0 0 845 IRQ_TYPE_LEVEL_HIGH>,
2929					<0 0 0 4 &intc 0 0 0 772 IRQ_TYPE_LEVEL_HIGH>;
2930
2931			clocks = <&gcc GCC_PCIE_6A_AUX_CLK>,
2932				 <&gcc GCC_PCIE_6A_CFG_AHB_CLK>,
2933				 <&gcc GCC_PCIE_6A_MSTR_AXI_CLK>,
2934				 <&gcc GCC_PCIE_6A_SLV_AXI_CLK>,
2935				 <&gcc GCC_PCIE_6A_SLV_Q2A_AXI_CLK>,
2936				 <&gcc GCC_CFG_NOC_PCIE_ANOC_SOUTH_AHB_CLK>,
2937				 <&gcc GCC_CNOC_PCIE_SOUTH_SF_AXI_CLK>;
2938			clock-names = "aux",
2939				      "cfg",
2940				      "bus_master",
2941				      "bus_slave",
2942				      "slave_q2a",
2943				      "noc_aggr",
2944				      "cnoc_sf_axi";
2945
2946			assigned-clocks = <&gcc GCC_PCIE_6A_AUX_CLK>;
2947			assigned-clock-rates = <19200000>;
2948
2949			interconnects = <&pcie_south_anoc MASTER_PCIE_6A QCOM_ICC_TAG_ALWAYS
2950					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
2951					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2952					 &cnoc_main SLAVE_PCIE_6A QCOM_ICC_TAG_ALWAYS>;
2953			interconnect-names = "pcie-mem",
2954					     "cpu-pcie";
2955
2956			resets = <&gcc GCC_PCIE_6A_BCR>,
2957				 <&gcc GCC_PCIE_6A_LINK_DOWN_BCR>;
2958			reset-names = "pci",
2959				      "link_down";
2960
2961			power-domains = <&gcc GCC_PCIE_6A_GDSC>;
2962
2963			phys = <&pcie6a_phy>;
2964			phy-names = "pciephy";
2965
2966			status = "disabled";
2967		};
2968
2969		pcie6a_phy: phy@1bfc000 {
2970			compatible = "qcom,x1e80100-qmp-gen4x2-pcie-phy";
2971			reg = <0 0x01bfc000 0 0x2000>;
2972
2973			clocks = <&gcc GCC_PCIE_6A_PHY_AUX_CLK>,
2974				 <&gcc GCC_PCIE_6A_CFG_AHB_CLK>,
2975				 <&rpmhcc RPMH_CXO_CLK>,
2976				 <&gcc GCC_PCIE_6A_PHY_RCHNG_CLK>,
2977				 <&gcc GCC_PCIE_6A_PIPE_CLK>;
2978			clock-names = "aux",
2979				      "cfg_ahb",
2980				      "ref",
2981				      "rchng",
2982				      "pipe";
2983
2984			resets = <&gcc GCC_PCIE_6A_PHY_BCR>,
2985				 <&gcc GCC_PCIE_6A_NOCSR_COM_PHY_BCR>;
2986			reset-names = "phy",
2987				      "phy_nocsr";
2988
2989			assigned-clocks = <&gcc GCC_PCIE_6A_PHY_RCHNG_CLK>;
2990			assigned-clock-rates = <100000000>;
2991
2992			power-domains = <&gcc GCC_PCIE_6_PHY_GDSC>;
2993
2994			#clock-cells = <0>;
2995			clock-output-names = "pcie6a_pipe_clk";
2996
2997			#phy-cells = <0>;
2998
2999			status = "disabled";
3000		};
3001
3002		pcie4: pci@1c08000 {
3003			device_type = "pci";
3004			compatible = "qcom,pcie-x1e80100";
3005			reg = <0 0x01c08000 0 0x3000>,
3006			      <0 0x7c000000 0 0xf1d>,
3007			      <0 0x7c000f40 0 0xa8>,
3008			      <0 0x7c001000 0 0x1000>,
3009			      <0 0x7c100000 0 0x100000>,
3010			      <0 0x01c0b000 0 0x1000>;
3011			reg-names = "parf",
3012			            "dbi",
3013				    "elbi",
3014				    "atu",
3015				    "config",
3016				    "mhi";
3017			#address-cells = <3>;
3018			#size-cells = <2>;
3019			ranges = <0x01000000 0 0x00000000 0 0x7c200000 0 0x100000>,
3020				 <0x02000000 0 0x7c300000 0 0x7c300000 0 0x3d00000>;
3021			bus-range = <0x00 0xff>;
3022
3023			dma-coherent;
3024
3025			linux,pci-domain = <5>;
3026			num-lanes = <2>;
3027
3028			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
3029				     <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3030				     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
3031				     <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
3032				     <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
3033				     <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
3034				     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
3035				     <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
3036			interrupt-names = "msi0",
3037					  "msi1",
3038					  "msi2",
3039					  "msi3",
3040					  "msi4",
3041					  "msi5",
3042					  "msi6",
3043					  "msi7";
3044
3045			#interrupt-cells = <1>;
3046			interrupt-map-mask = <0 0 0 0x7>;
3047			interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>,
3048					<0 0 0 2 &intc 0 0 0 150 IRQ_TYPE_LEVEL_HIGH>,
3049					<0 0 0 3 &intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH>,
3050					<0 0 0 4 &intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH>;
3051
3052			clocks = <&gcc GCC_PCIE_4_AUX_CLK>,
3053				 <&gcc GCC_PCIE_4_CFG_AHB_CLK>,
3054				 <&gcc GCC_PCIE_4_MSTR_AXI_CLK>,
3055				 <&gcc GCC_PCIE_4_SLV_AXI_CLK>,
3056				 <&gcc GCC_PCIE_4_SLV_Q2A_AXI_CLK>,
3057				 <&gcc GCC_CFG_NOC_PCIE_ANOC_NORTH_AHB_CLK>,
3058				 <&gcc GCC_CNOC_PCIE_NORTH_SF_AXI_CLK>;
3059			clock-names = "aux",
3060				      "cfg",
3061				      "bus_master",
3062				      "bus_slave",
3063				      "slave_q2a",
3064				      "noc_aggr",
3065				      "cnoc_sf_axi";
3066
3067			assigned-clocks = <&gcc GCC_PCIE_4_AUX_CLK>;
3068			assigned-clock-rates = <19200000>;
3069
3070			interconnects = <&pcie_south_anoc MASTER_PCIE_4 QCOM_ICC_TAG_ALWAYS
3071					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
3072					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
3073					 &cnoc_main SLAVE_PCIE_4 QCOM_ICC_TAG_ALWAYS>;
3074			interconnect-names = "pcie-mem",
3075					     "cpu-pcie";
3076
3077			resets = <&gcc GCC_PCIE_4_BCR>,
3078				 <&gcc GCC_PCIE_4_LINK_DOWN_BCR>;
3079			reset-names = "pci",
3080				      "link_down";
3081
3082			power-domains = <&gcc GCC_PCIE_4_GDSC>;
3083
3084			phys = <&pcie4_phy>;
3085			phy-names = "pciephy";
3086
3087			status = "disabled";
3088		};
3089
3090		pcie4_phy: phy@1c0e000 {
3091			compatible = "qcom,x1e80100-qmp-gen3x2-pcie-phy";
3092			reg = <0 0x01c0e000 0 0x2000>;
3093
3094			clocks = <&gcc GCC_PCIE_4_AUX_CLK>,
3095				 <&gcc GCC_PCIE_4_CFG_AHB_CLK>,
3096				 <&rpmhcc RPMH_CXO_CLK>,
3097				 <&gcc GCC_PCIE_4_PHY_RCHNG_CLK>,
3098				 <&gcc GCC_PCIE_4_PIPE_CLK>;
3099			clock-names = "aux",
3100				      "cfg_ahb",
3101				      "ref",
3102				      "rchng",
3103				      "pipe";
3104
3105			resets = <&gcc GCC_PCIE_4_PHY_BCR>;
3106			reset-names = "phy";
3107
3108			assigned-clocks = <&gcc GCC_PCIE_4_PHY_RCHNG_CLK>;
3109			assigned-clock-rates = <100000000>;
3110
3111			power-domains = <&gcc GCC_PCIE_4_PHY_GDSC>;
3112
3113			#clock-cells = <0>;
3114			clock-output-names = "pcie4_pipe_clk";
3115
3116			#phy-cells = <0>;
3117
3118			status = "disabled";
3119		};
3120
3121		tcsr_mutex: hwlock@1f40000 {
3122			compatible = "qcom,tcsr-mutex";
3123			reg = <0 0x01f40000 0 0x20000>;
3124			#hwlock-cells = <1>;
3125		};
3126
3127		tcsr: clock-controller@1fc0000 {
3128			compatible = "qcom,x1e80100-tcsr", "syscon";
3129			reg = <0 0x01fc0000 0 0x30000>;
3130			clocks = <&rpmhcc RPMH_CXO_CLK>;
3131			#clock-cells = <1>;
3132			#reset-cells = <1>;
3133		};
3134
3135		gpu: gpu@3d00000 {
3136			compatible = "qcom,adreno-43050c01", "qcom,adreno";
3137			reg = <0x0 0x03d00000 0x0 0x40000>,
3138			      <0x0 0x03d9e000 0x0 0x1000>,
3139			      <0x0 0x03d61000 0x0 0x800>;
3140
3141			reg-names = "kgsl_3d0_reg_memory",
3142				    "cx_mem",
3143				    "cx_dbgc";
3144
3145			interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
3146
3147			iommus = <&adreno_smmu 0 0x0>,
3148				 <&adreno_smmu 1 0x0>;
3149
3150			operating-points-v2 = <&gpu_opp_table>;
3151
3152			qcom,gmu = <&gmu>;
3153			#cooling-cells = <2>;
3154
3155			interconnects = <&gem_noc MASTER_GFX3D 0 &mc_virt SLAVE_EBI1 0>;
3156			interconnect-names = "gfx-mem";
3157
3158			zap-shader {
3159				memory-region = <&gpu_microcode_mem>;
3160				firmware-name = "qcom/gen70500_zap.mbn";
3161			};
3162
3163			gpu_opp_table: opp-table {
3164				compatible = "operating-points-v2";
3165
3166				opp-1100000000 {
3167					opp-hz = /bits/ 64 <1100000000>;
3168					opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
3169					opp-peak-kBps = <16500000>;
3170				};
3171
3172				opp-1000000000 {
3173					opp-hz = /bits/ 64 <1000000000>;
3174					opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
3175					opp-peak-kBps = <14398438>;
3176				};
3177
3178				opp-925000000 {
3179					opp-hz = /bits/ 64 <925000000>;
3180					opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
3181					opp-peak-kBps = <14398438>;
3182				};
3183
3184				opp-800000000 {
3185					opp-hz = /bits/ 64 <800000000>;
3186					opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
3187					opp-peak-kBps = <12449219>;
3188				};
3189
3190				opp-744000000 {
3191					opp-hz = /bits/ 64 <744000000>;
3192					opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
3193					opp-peak-kBps = <10687500>;
3194				};
3195
3196				opp-687000000 {
3197					opp-hz = /bits/ 64 <687000000>;
3198					opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
3199					opp-peak-kBps = <8171875>;
3200				};
3201
3202				opp-550000000 {
3203					opp-hz = /bits/ 64 <550000000>;
3204					opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
3205					opp-peak-kBps = <6074219>;
3206				};
3207
3208				opp-390000000 {
3209					opp-hz = /bits/ 64 <390000000>;
3210					opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
3211					opp-peak-kBps = <3000000>;
3212				};
3213
3214				opp-300000000 {
3215					opp-hz = /bits/ 64 <300000000>;
3216					opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
3217					opp-peak-kBps = <2136719>;
3218				};
3219			};
3220		};
3221
3222		gmu: gmu@3d6a000 {
3223			compatible = "qcom,adreno-gmu-x185.1", "qcom,adreno-gmu";
3224			reg = <0x0 0x03d6a000 0x0 0x35000>,
3225			      <0x0 0x03d50000 0x0 0x10000>,
3226			      <0x0 0x0b280000 0x0 0x10000>;
3227			reg-names =  "gmu", "rscc", "gmu_pdc";
3228
3229			interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
3230				     <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
3231			interrupt-names = "hfi", "gmu";
3232
3233			clocks = <&gpucc GPU_CC_AHB_CLK>,
3234				 <&gpucc GPU_CC_CX_GMU_CLK>,
3235				 <&gpucc GPU_CC_CXO_CLK>,
3236				 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
3237				 <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
3238				 <&gpucc GPU_CC_HUB_CX_INT_CLK>,
3239				 <&gpucc GPU_CC_DEMET_CLK>;
3240			clock-names = "ahb",
3241				      "gmu",
3242				      "cxo",
3243				      "axi",
3244				      "memnoc",
3245				      "hub",
3246				      "demet";
3247
3248			power-domains = <&gpucc GPU_CX_GDSC>,
3249					<&gpucc GPU_GX_GDSC>;
3250			power-domain-names = "cx",
3251					     "gx";
3252
3253			iommus = <&adreno_smmu 5 0x0>;
3254
3255			qcom,qmp = <&aoss_qmp>;
3256
3257			operating-points-v2 = <&gmu_opp_table>;
3258
3259			gmu_opp_table: opp-table {
3260				compatible = "operating-points-v2";
3261
3262				opp-550000000 {
3263					opp-hz = /bits/ 64 <550000000>;
3264					opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
3265				};
3266
3267				opp-220000000 {
3268					opp-hz = /bits/ 64 <220000000>;
3269					opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
3270				};
3271			};
3272		};
3273
3274		gpucc: clock-controller@3d90000 {
3275			compatible = "qcom,x1e80100-gpucc";
3276			reg = <0 0x03d90000 0 0xa000>;
3277			clocks = <&bi_tcxo_div2>,
3278				 <&gcc GCC_GPU_GPLL0_CPH_CLK_SRC>,
3279				 <&gcc GCC_GPU_GPLL0_DIV_CPH_CLK_SRC>;
3280			#clock-cells = <1>;
3281			#reset-cells = <1>;
3282			#power-domain-cells = <1>;
3283		};
3284
3285		adreno_smmu: iommu@3da0000 {
3286			compatible = "qcom,x1e80100-smmu-500", "qcom,adreno-smmu",
3287				     "qcom,smmu-500", "arm,mmu-500";
3288			reg = <0x0 0x03da0000 0x0 0x40000>;
3289			#iommu-cells = <2>;
3290			#global-interrupts = <1>;
3291			interrupts = <GIC_SPI 673 IRQ_TYPE_LEVEL_HIGH>,
3292				     <GIC_SPI 678 IRQ_TYPE_LEVEL_HIGH>,
3293				     <GIC_SPI 679 IRQ_TYPE_LEVEL_HIGH>,
3294				     <GIC_SPI 680 IRQ_TYPE_LEVEL_HIGH>,
3295				     <GIC_SPI 681 IRQ_TYPE_LEVEL_HIGH>,
3296				     <GIC_SPI 682 IRQ_TYPE_LEVEL_HIGH>,
3297				     <GIC_SPI 683 IRQ_TYPE_LEVEL_HIGH>,
3298				     <GIC_SPI 684 IRQ_TYPE_LEVEL_HIGH>,
3299				     <GIC_SPI 685 IRQ_TYPE_LEVEL_HIGH>,
3300				     <GIC_SPI 686 IRQ_TYPE_LEVEL_HIGH>,
3301				     <GIC_SPI 687 IRQ_TYPE_LEVEL_HIGH>,
3302				     <GIC_SPI 688 IRQ_TYPE_LEVEL_HIGH>,
3303				     <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
3304				     <GIC_SPI 476 IRQ_TYPE_LEVEL_HIGH>,
3305				     <GIC_SPI 574 IRQ_TYPE_LEVEL_HIGH>,
3306				     <GIC_SPI 575 IRQ_TYPE_LEVEL_HIGH>,
3307				     <GIC_SPI 576 IRQ_TYPE_LEVEL_HIGH>,
3308				     <GIC_SPI 577 IRQ_TYPE_LEVEL_HIGH>,
3309				     <GIC_SPI 660 IRQ_TYPE_LEVEL_HIGH>,
3310				     <GIC_SPI 662 IRQ_TYPE_LEVEL_HIGH>,
3311				     <GIC_SPI 665 IRQ_TYPE_LEVEL_HIGH>,
3312				     <GIC_SPI 666 IRQ_TYPE_LEVEL_HIGH>,
3313				     <GIC_SPI 667 IRQ_TYPE_LEVEL_HIGH>,
3314				     <GIC_SPI 669 IRQ_TYPE_LEVEL_HIGH>,
3315				     <GIC_SPI 670 IRQ_TYPE_LEVEL_HIGH>,
3316				     <GIC_SPI 700 IRQ_TYPE_LEVEL_HIGH>;
3317			clocks = <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>,
3318				 <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
3319				 <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>,
3320				 <&gpucc GPU_CC_AHB_CLK>;
3321			clock-names = "hlos",
3322				      "bus",
3323				      "iface",
3324				      "ahb";
3325			power-domains = <&gpucc GPU_CX_GDSC>;
3326			dma-coherent;
3327		};
3328
3329		gem_noc: interconnect@26400000 {
3330			compatible = "qcom,x1e80100-gem-noc";
3331			reg = <0 0x26400000 0 0x311200>;
3332
3333			qcom,bcm-voters = <&apps_bcm_voter>;
3334
3335			#interconnect-cells = <2>;
3336		};
3337
3338		nsp_noc: interconnect@320c0000 {
3339			compatible = "qcom,x1e80100-nsp-noc";
3340			reg = <0 0x320C0000 0 0xE080>;
3341
3342			qcom,bcm-voters = <&apps_bcm_voter>;
3343
3344			#interconnect-cells = <2>;
3345		};
3346
3347		lpass_wsa2macro: codec@6aa0000 {
3348			compatible = "qcom,x1e80100-lpass-wsa-macro", "qcom,sm8550-lpass-wsa-macro";
3349			reg = <0 0x06aa0000 0 0x1000>;
3350			clocks = <&q6prmcc LPASS_CLK_ID_WSA2_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3351				 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3352				 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3353				 <&lpass_vamacro>;
3354			clock-names = "mclk",
3355				      "macro",
3356				      "dcodec",
3357				      "fsgen";
3358
3359			#clock-cells = <0>;
3360			clock-output-names = "wsa2-mclk";
3361			#sound-dai-cells = <1>;
3362			sound-name-prefix = "WSA2";
3363		};
3364
3365		swr3: soundwire@6ab0000 {
3366			compatible = "qcom,soundwire-v2.0.0";
3367			reg = <0 0x06ab0000 0 0x10000>;
3368			clocks = <&lpass_wsa2macro>;
3369			clock-names = "iface";
3370			interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
3371			label = "WSA2";
3372
3373			pinctrl-0 = <&wsa2_swr_active>;
3374			pinctrl-names = "default";
3375
3376			qcom,din-ports = <4>;
3377			qcom,dout-ports = <9>;
3378
3379			qcom,ports-sinterval =		/bits/ 16 <0x07 0x1f 0x3f 0x07 0x1f 0x3f 0xc8 0xff 0xff 0x0f 0x0f 0xff 0x31f>;
3380			qcom,ports-offset1 =		/bits/ 8 <0x01 0x03 0x05 0x02 0x04 0x15 0x00 0xff 0xff 0x06 0x0d 0xff 0x00>;
3381			qcom,ports-offset2 =		/bits/ 8 <0xff 0x07 0x1f 0xff 0x07 0x1f 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3382			qcom,ports-hstart =		/bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x0f>;
3383			qcom,ports-hstop =		/bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x0f>;
3384			qcom,ports-word-length =	/bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x18>;
3385			qcom,ports-block-pack-mode =	/bits/ 8 <0x00 0x01 0x01 0x00 0x01 0x01 0x00 0x00 0x00 0x01 0x01 0x00 0x00>;
3386			qcom,ports-block-group-count =	/bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3387			qcom,ports-lane-control =	/bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3388
3389			#address-cells = <2>;
3390			#size-cells = <0>;
3391			#sound-dai-cells = <1>;
3392			status = "disabled";
3393		};
3394
3395		lpass_rxmacro: codec@6ac0000 {
3396			compatible = "qcom,x1e80100-lpass-rx-macro", "qcom,sm8550-lpass-rx-macro";
3397			reg = <0 0x06ac0000 0 0x1000>;
3398			clocks = <&q6prmcc LPASS_CLK_ID_RX_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3399				 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3400				 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3401				 <&lpass_vamacro>;
3402			clock-names = "mclk",
3403				      "macro",
3404				      "dcodec",
3405				      "fsgen";
3406
3407			#clock-cells = <0>;
3408			clock-output-names = "mclk";
3409			#sound-dai-cells = <1>;
3410		};
3411
3412		swr1: soundwire@6ad0000 {
3413			compatible = "qcom,soundwire-v2.0.0";
3414			reg = <0 0x06ad0000 0 0x10000>;
3415			clocks = <&lpass_rxmacro>;
3416			clock-names = "iface";
3417			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
3418			label = "RX";
3419
3420			pinctrl-0 = <&rx_swr_active>;
3421			pinctrl-names = "default";
3422
3423			qcom,din-ports = <1>;
3424			qcom,dout-ports = <11>;
3425
3426			qcom,ports-sinterval =		/bits/ 16 <0x03 0x1f 0x1f 0x07 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3427			qcom,ports-offset1 =		/bits/ 8 <0x00 0x00 0x0b 0x01 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3428			qcom,ports-offset2 =		/bits/ 8 <0x00 0x00 0x0b 0x00 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3429			qcom,ports-hstart =		/bits/ 8 <0xff 0x03 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3430			qcom,ports-hstop =		/bits/ 8 <0xff 0x06 0x0f 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3431			qcom,ports-word-length =	/bits/ 8 <0x01 0x07 0x04 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3432			qcom,ports-block-pack-mode =	/bits/ 8 <0xff 0xff 0x01 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3433			qcom,ports-block-group-count =	/bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3434			qcom,ports-lane-control =	/bits/ 8 <0x01 0x00 0x00 0x00 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3435
3436			#address-cells = <2>;
3437			#size-cells = <0>;
3438			#sound-dai-cells = <1>;
3439			status = "disabled";
3440		};
3441
3442		lpass_txmacro: codec@6ae0000 {
3443			compatible = "qcom,x1e80100-lpass-tx-macro", "qcom,sm8550-lpass-tx-macro";
3444			reg = <0 0x06ae0000 0 0x1000>;
3445			clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3446				 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3447				 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3448				 <&lpass_vamacro>;
3449			clock-names = "mclk",
3450				      "macro",
3451				      "dcodec",
3452				      "fsgen";
3453
3454			#clock-cells = <0>;
3455			clock-output-names = "mclk";
3456			#sound-dai-cells = <1>;
3457		};
3458
3459		lpass_wsamacro: codec@6b00000 {
3460			compatible = "qcom,x1e80100-lpass-wsa-macro", "qcom,sm8550-lpass-wsa-macro";
3461			reg = <0 0x06b00000 0 0x1000>;
3462			clocks = <&q6prmcc LPASS_CLK_ID_WSA_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3463				 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3464				 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3465				 <&lpass_vamacro>;
3466			clock-names = "mclk",
3467				      "macro",
3468				      "dcodec",
3469				      "fsgen";
3470
3471			#clock-cells = <0>;
3472			clock-output-names = "mclk";
3473			#sound-dai-cells = <1>;
3474			sound-name-prefix = "WSA";
3475		};
3476
3477		swr0: soundwire@6b10000 {
3478			compatible = "qcom,soundwire-v2.0.0";
3479			reg = <0 0x06b10000 0 0x10000>;
3480			clocks = <&lpass_wsamacro>;
3481			clock-names = "iface";
3482			interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
3483			label = "WSA";
3484
3485			pinctrl-0 = <&wsa_swr_active>;
3486			pinctrl-names = "default";
3487
3488			qcom,din-ports = <4>;
3489			qcom,dout-ports = <9>;
3490
3491			qcom,ports-sinterval =		/bits/ 16 <0x07 0x1f 0x3f 0x07 0x1f 0x3f 0xc8 0xff 0xff 0x0f 0x0f 0xff 0x31f>;
3492			qcom,ports-offset1 =		/bits/ 8 <0x01 0x03 0x05 0x02 0x04 0x15 0x00 0xff 0xff 0x06 0x0d 0xff 0x00>;
3493			qcom,ports-offset2 =		/bits/ 8 <0xff 0x07 0x1f 0xff 0x07 0x1f 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3494			qcom,ports-hstart =		/bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x0f>;
3495			qcom,ports-hstop =		/bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x0f>;
3496			qcom,ports-word-length =	/bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x18>;
3497			qcom,ports-block-pack-mode =	/bits/ 8 <0x00 0x01 0x01 0x00 0x01 0x01 0x00 0x00 0x00 0x01 0x01 0x00 0x00>;
3498			qcom,ports-block-group-count =	/bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3499			qcom,ports-lane-control =	/bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
3500
3501			#address-cells = <2>;
3502			#size-cells = <0>;
3503			#sound-dai-cells = <1>;
3504			status = "disabled";
3505		};
3506
3507		swr2: soundwire@6d30000 {
3508			compatible = "qcom,soundwire-v2.0.0";
3509			reg = <0 0x06d30000 0 0x10000>;
3510			clocks = <&lpass_txmacro>;
3511			clock-names = "iface";
3512			interrupts = <GIC_SPI 496 IRQ_TYPE_LEVEL_HIGH>,
3513				     <GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH>;
3514			interrupt-names = "core", "wakeup";
3515			label = "TX";
3516
3517			pinctrl-0 = <&tx_swr_active>;
3518			pinctrl-names = "default";
3519
3520			qcom,din-ports = <4>;
3521			qcom,dout-ports = <1>;
3522
3523			qcom,ports-sinterval-low =	/bits/ 8 <0x00 0x01 0x03 0x03 0x00>;
3524			qcom,ports-offset1 =		/bits/ 8 <0x00 0x01 0x02 0x00 0x00>;
3525			qcom,ports-offset2 =		/bits/ 8 <0x00 0x00 0x00 0x00 0xff>;
3526			qcom,ports-hstart =		/bits/ 8 <0xff 0xff 0xff 0xff 0xff>;
3527			qcom,ports-hstop =		/bits/ 8 <0xff 0xff 0xff 0xff 0xff>;
3528			qcom,ports-word-length =	/bits/ 8 <0xff 0xff 0xff 0xff 0xff>;
3529			qcom,ports-block-pack-mode =	/bits/ 8 <0xff 0xff 0xff 0xff 0xff>;
3530			qcom,ports-block-group-count =	/bits/ 8 <0xff 0xff 0xff 0xff 0xff>;
3531			qcom,ports-lane-control =	/bits/ 8 <0xff 0x00 0x00 0x01 0xff>;
3532
3533			#address-cells = <2>;
3534			#size-cells = <0>;
3535			#sound-dai-cells = <1>;
3536			status = "disabled";
3537		};
3538
3539		lpass_vamacro: codec@6d44000 {
3540			compatible = "qcom,x1e80100-lpass-va-macro", "qcom,sm8550-lpass-va-macro";
3541			reg = <0 0x06d44000 0 0x1000>;
3542			clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3543				 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3544				 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
3545			clock-names = "mclk",
3546				      "macro",
3547				      "dcodec";
3548
3549			#clock-cells = <0>;
3550			clock-output-names = "fsgen";
3551			#sound-dai-cells = <1>;
3552		};
3553
3554		lpass_tlmm: pinctrl@6e80000 {
3555			compatible = "qcom,x1e80100-lpass-lpi-pinctrl", "qcom,sm8550-lpass-lpi-pinctrl";
3556			reg = <0 0x06e80000 0 0x20000>,
3557			      <0 0x07250000 0 0x10000>;
3558
3559			clocks = <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
3560				 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
3561			clock-names = "core", "audio";
3562
3563			gpio-controller;
3564			#gpio-cells = <2>;
3565			gpio-ranges = <&lpass_tlmm 0 0 23>;
3566
3567			tx_swr_active: tx-swr-active-state {
3568				clk-pins {
3569					pins = "gpio0";
3570					function = "swr_tx_clk";
3571					drive-strength = <2>;
3572					slew-rate = <1>;
3573					bias-disable;
3574				};
3575
3576				data-pins {
3577					pins = "gpio1", "gpio2";
3578					function = "swr_tx_data";
3579					drive-strength = <2>;
3580					slew-rate = <1>;
3581					bias-bus-hold;
3582				};
3583			};
3584
3585			rx_swr_active: rx-swr-active-state {
3586				clk-pins {
3587					pins = "gpio3";
3588					function = "swr_rx_clk";
3589					drive-strength = <2>;
3590					slew-rate = <1>;
3591					bias-disable;
3592				};
3593
3594				data-pins {
3595					pins = "gpio4", "gpio5";
3596					function = "swr_rx_data";
3597					drive-strength = <2>;
3598					slew-rate = <1>;
3599					bias-bus-hold;
3600				};
3601			};
3602
3603			dmic01_default: dmic01-default-state {
3604				clk-pins {
3605					pins = "gpio6";
3606					function = "dmic1_clk";
3607					drive-strength = <8>;
3608					output-high;
3609				};
3610
3611				data-pins {
3612					pins = "gpio7";
3613					function = "dmic1_data";
3614					drive-strength = <8>;
3615					input-enable;
3616				};
3617			};
3618
3619			dmic23_default: dmic23-default-state {
3620				clk-pins {
3621					pins = "gpio8";
3622					function = "dmic2_clk";
3623					drive-strength = <8>;
3624					output-high;
3625				};
3626
3627				data-pins {
3628					pins = "gpio9";
3629					function = "dmic2_data";
3630					drive-strength = <8>;
3631					input-enable;
3632				};
3633			};
3634
3635			wsa_swr_active: wsa-swr-active-state {
3636				clk-pins {
3637					pins = "gpio10";
3638					function = "wsa_swr_clk";
3639					drive-strength = <2>;
3640					slew-rate = <1>;
3641					bias-disable;
3642				};
3643
3644				data-pins {
3645					pins = "gpio11";
3646					function = "wsa_swr_data";
3647					drive-strength = <2>;
3648					slew-rate = <1>;
3649					bias-bus-hold;
3650				};
3651			};
3652
3653			wsa2_swr_active: wsa2-swr-active-state {
3654				clk-pins {
3655					pins = "gpio15";
3656					function = "wsa2_swr_clk";
3657					drive-strength = <2>;
3658					slew-rate = <1>;
3659					bias-disable;
3660				};
3661
3662				data-pins {
3663					pins = "gpio16";
3664					function = "wsa2_swr_data";
3665					drive-strength = <2>;
3666					slew-rate = <1>;
3667					bias-bus-hold;
3668				};
3669			};
3670		};
3671
3672		lpass_ag_noc: interconnect@7e40000 {
3673			compatible = "qcom,x1e80100-lpass-ag-noc";
3674			reg = <0 0x7e40000 0 0xE080>;
3675
3676			qcom,bcm-voters = <&apps_bcm_voter>;
3677
3678			#interconnect-cells = <2>;
3679		};
3680
3681		lpass_lpiaon_noc: interconnect@7400000 {
3682			compatible = "qcom,x1e80100-lpass-lpiaon-noc";
3683			reg = <0 0x7400000 0 0x19080>;
3684
3685			qcom,bcm-voters = <&apps_bcm_voter>;
3686
3687			#interconnect-cells = <2>;
3688		};
3689
3690		lpass_lpicx_noc: interconnect@7430000 {
3691			compatible = "qcom,x1e80100-lpass-lpicx-noc";
3692			reg = <0 0x7430000 0 0x3A200>;
3693
3694			qcom,bcm-voters = <&apps_bcm_voter>;
3695
3696			#interconnect-cells = <2>;
3697		};
3698
3699		usb_2_hsphy: phy@88e0000 {
3700			compatible = "qcom,x1e80100-snps-eusb2-phy",
3701				     "qcom,sm8550-snps-eusb2-phy";
3702			reg = <0 0x088e0000 0 0x154>;
3703			#phy-cells = <0>;
3704
3705			clocks = <&tcsr TCSR_USB2_2_CLKREF_EN>;
3706			clock-names = "ref";
3707
3708			resets = <&gcc GCC_QUSB2PHY_USB20_HS_BCR>;
3709
3710			status = "disabled";
3711		};
3712
3713		usb_1_ss2: usb@a0f8800 {
3714			compatible = "qcom,x1e80100-dwc3", "qcom,dwc3";
3715			reg = <0 0x0a0f8800 0 0x400>;
3716
3717			clocks = <&gcc GCC_CFG_NOC_USB3_TERT_AXI_CLK>,
3718				 <&gcc GCC_USB30_TERT_MASTER_CLK>,
3719				 <&gcc GCC_AGGRE_USB3_TERT_AXI_CLK>,
3720				 <&gcc GCC_USB30_TERT_SLEEP_CLK>,
3721				 <&gcc GCC_USB30_TERT_MOCK_UTMI_CLK>,
3722				 <&gcc GCC_AGGRE_USB_NOC_AXI_CLK>,
3723				 <&gcc GCC_AGGRE_NOC_USB_NORTH_AXI_CLK>,
3724				 <&gcc GCC_AGGRE_NOC_USB_SOUTH_AXI_CLK>,
3725				 <&gcc GCC_SYS_NOC_USB_AXI_CLK>;
3726			clock-names = "cfg_noc",
3727				      "core",
3728				      "iface",
3729				      "sleep",
3730				      "mock_utmi",
3731				      "noc_aggr",
3732				      "noc_aggr_north",
3733				      "noc_aggr_south",
3734				      "noc_sys";
3735
3736			assigned-clocks = <&gcc GCC_USB30_TERT_MOCK_UTMI_CLK>,
3737					  <&gcc GCC_USB30_TERT_MASTER_CLK>;
3738			assigned-clock-rates = <19200000>,
3739					       <200000000>;
3740
3741			interrupts-extended = <&intc GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>,
3742					      <&pdc 58 IRQ_TYPE_EDGE_BOTH>,
3743					      <&pdc 57 IRQ_TYPE_EDGE_BOTH>,
3744					      <&pdc 10 IRQ_TYPE_LEVEL_HIGH>;
3745			interrupt-names = "pwr_event",
3746					  "dp_hs_phy_irq",
3747					  "dm_hs_phy_irq",
3748					  "ss_phy_irq";
3749
3750			power-domains = <&gcc GCC_USB30_TERT_GDSC>;
3751			required-opps = <&rpmhpd_opp_nom>;
3752
3753			resets = <&gcc GCC_USB30_TERT_BCR>;
3754
3755			interconnects = <&usb_south_anoc MASTER_USB3_2 QCOM_ICC_TAG_ALWAYS
3756					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
3757					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
3758					 &config_noc SLAVE_USB3_2 QCOM_ICC_TAG_ALWAYS>;
3759			interconnect-names = "usb-ddr",
3760					     "apps-usb";
3761
3762			wakeup-source;
3763
3764			#address-cells = <2>;
3765			#size-cells = <2>;
3766			ranges;
3767
3768			status = "disabled";
3769
3770			usb_1_ss2_dwc3: usb@a000000 {
3771				compatible = "snps,dwc3";
3772				reg = <0 0x0a000000 0 0xcd00>;
3773
3774				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
3775
3776				iommus = <&apps_smmu 0x14a0 0x0>;
3777
3778				phys = <&usb_1_ss2_hsphy>,
3779				       <&usb_1_ss2_qmpphy QMP_USB43DP_USB3_PHY>;
3780				phy-names = "usb2-phy",
3781				            "usb3-phy";
3782
3783				snps,dis_u2_susphy_quirk;
3784				snps,dis_enblslpm_quirk;
3785				snps,usb3_lpm_capable;
3786
3787				dma-coherent;
3788
3789				ports {
3790					#address-cells = <1>;
3791					#size-cells = <0>;
3792
3793					port@0 {
3794						reg = <0>;
3795
3796						usb_1_ss2_dwc3_hs: endpoint {
3797						};
3798					};
3799
3800					port@1 {
3801						reg = <1>;
3802
3803						usb_1_ss2_dwc3_ss: endpoint {
3804							remote-endpoint = <&usb_1_ss2_qmpphy_usb_ss_in>;
3805						};
3806					};
3807				};
3808			};
3809		};
3810
3811		usb_2: usb@a2f8800 {
3812			compatible = "qcom,x1e80100-dwc3", "qcom,dwc3";
3813			reg = <0 0x0a2f8800 0 0x400>;
3814			#address-cells = <2>;
3815			#size-cells = <2>;
3816			ranges;
3817
3818			clocks = <&gcc GCC_CFG_NOC_USB2_PRIM_AXI_CLK>,
3819				 <&gcc GCC_USB20_MASTER_CLK>,
3820				 <&gcc GCC_AGGRE_USB2_PRIM_AXI_CLK>,
3821				 <&gcc GCC_USB20_SLEEP_CLK>,
3822				 <&gcc GCC_USB20_MOCK_UTMI_CLK>,
3823				 <&gcc GCC_AGGRE_USB_NOC_AXI_CLK>,
3824				 <&gcc GCC_AGGRE_NOC_USB_NORTH_AXI_CLK>,
3825				 <&gcc GCC_AGGRE_NOC_USB_SOUTH_AXI_CLK>,
3826				 <&gcc GCC_SYS_NOC_USB_AXI_CLK>;
3827			clock-names = "cfg_noc",
3828				      "core",
3829				      "iface",
3830				      "sleep",
3831				      "mock_utmi",
3832				      "noc_aggr",
3833				      "noc_aggr_north",
3834				      "noc_aggr_south",
3835				      "noc_sys";
3836
3837			assigned-clocks = <&gcc GCC_USB20_MOCK_UTMI_CLK>,
3838					  <&gcc GCC_USB20_MASTER_CLK>;
3839			assigned-clock-rates = <19200000>, <200000000>;
3840
3841			interrupts-extended = <&intc GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>,
3842					      <&pdc 50 IRQ_TYPE_EDGE_BOTH>,
3843					      <&pdc 49 IRQ_TYPE_EDGE_BOTH>;
3844			interrupt-names = "pwr_event",
3845					  "dp_hs_phy_irq",
3846					  "dm_hs_phy_irq";
3847
3848			power-domains = <&gcc GCC_USB20_PRIM_GDSC>;
3849			required-opps = <&rpmhpd_opp_nom>;
3850
3851			resets = <&gcc GCC_USB20_PRIM_BCR>;
3852
3853			interconnects = <&usb_north_anoc MASTER_USB2 QCOM_ICC_TAG_ALWAYS
3854					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
3855					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
3856					 &config_noc SLAVE_USB2 QCOM_ICC_TAG_ALWAYS>;
3857			interconnect-names = "usb-ddr",
3858					     "apps-usb";
3859
3860			wakeup-source;
3861
3862			status = "disabled";
3863
3864			usb_2_dwc3: usb@a200000 {
3865				compatible = "snps,dwc3";
3866				reg = <0 0x0a200000 0 0xcd00>;
3867				interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
3868				iommus = <&apps_smmu 0x14e0 0x0>;
3869				phys = <&usb_2_hsphy>;
3870				phy-names = "usb2-phy";
3871				maximum-speed = "high-speed";
3872
3873				ports {
3874					#address-cells = <1>;
3875					#size-cells = <0>;
3876
3877					port@0 {
3878						reg = <0>;
3879
3880						usb_2_dwc3_hs: endpoint {
3881						};
3882					};
3883				};
3884			};
3885		};
3886
3887		usb_1_ss0: usb@a6f8800 {
3888			compatible = "qcom,x1e80100-dwc3", "qcom,dwc3";
3889			reg = <0 0x0a6f8800 0 0x400>;
3890
3891			clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
3892				 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
3893				 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
3894				 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
3895				 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3896				 <&gcc GCC_AGGRE_USB_NOC_AXI_CLK>,
3897				 <&gcc GCC_CFG_NOC_USB_ANOC_NORTH_AHB_CLK>,
3898				 <&gcc GCC_CFG_NOC_USB_ANOC_SOUTH_AHB_CLK>,
3899				 <&gcc GCC_SYS_NOC_USB_AXI_CLK>;
3900			clock-names = "cfg_noc",
3901				      "core",
3902				      "iface",
3903				      "sleep",
3904				      "mock_utmi",
3905				      "noc_aggr",
3906				      "noc_aggr_north",
3907				      "noc_aggr_south",
3908				      "noc_sys";
3909
3910			assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3911					  <&gcc GCC_USB30_PRIM_MASTER_CLK>;
3912			assigned-clock-rates = <19200000>,
3913					       <200000000>;
3914
3915			interrupts-extended = <&intc GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>,
3916					      <&pdc 61 IRQ_TYPE_EDGE_BOTH>,
3917					      <&pdc 15 IRQ_TYPE_EDGE_BOTH>,
3918					      <&pdc 17 IRQ_TYPE_LEVEL_HIGH>;
3919			interrupt-names = "pwr_event",
3920					  "dp_hs_phy_irq",
3921					  "dm_hs_phy_irq",
3922					  "ss_phy_irq";
3923
3924			power-domains = <&gcc GCC_USB30_PRIM_GDSC>;
3925			required-opps = <&rpmhpd_opp_nom>;
3926
3927			resets = <&gcc GCC_USB30_PRIM_BCR>;
3928
3929			wakeup-source;
3930
3931			#address-cells = <2>;
3932			#size-cells = <2>;
3933			ranges;
3934
3935			status = "disabled";
3936
3937			usb_1_ss0_dwc3: usb@a600000 {
3938				compatible = "snps,dwc3";
3939				reg = <0 0x0a600000 0 0xcd00>;
3940
3941				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
3942
3943				iommus = <&apps_smmu 0x1420 0x0>;
3944
3945				phys = <&usb_1_ss0_hsphy>,
3946				       <&usb_1_ss0_qmpphy QMP_USB43DP_USB3_PHY>;
3947				phy-names = "usb2-phy",
3948					    "usb3-phy";
3949
3950				snps,dis_u2_susphy_quirk;
3951				snps,dis_enblslpm_quirk;
3952				snps,usb3_lpm_capable;
3953
3954				dma-coherent;
3955
3956				ports {
3957					#address-cells = <1>;
3958					#size-cells = <0>;
3959
3960					port@0 {
3961						reg = <0>;
3962
3963						usb_1_ss0_dwc3_hs: endpoint {
3964						};
3965					};
3966
3967					port@1 {
3968						reg = <1>;
3969
3970						usb_1_ss0_dwc3_ss: endpoint {
3971							remote-endpoint = <&usb_1_ss0_qmpphy_usb_ss_in>;
3972						};
3973					};
3974				};
3975			};
3976		};
3977
3978		usb_1_ss1: usb@a8f8800 {
3979			compatible = "qcom,x1e80100-dwc3", "qcom,dwc3";
3980			reg = <0 0x0a8f8800 0 0x400>;
3981
3982			clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
3983				 <&gcc GCC_USB30_SEC_MASTER_CLK>,
3984				 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
3985				 <&gcc GCC_USB30_SEC_SLEEP_CLK>,
3986				 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
3987				 <&gcc GCC_AGGRE_USB_NOC_AXI_CLK>,
3988				 <&gcc GCC_AGGRE_NOC_USB_NORTH_AXI_CLK>,
3989				 <&gcc GCC_AGGRE_NOC_USB_SOUTH_AXI_CLK>,
3990				 <&gcc GCC_SYS_NOC_USB_AXI_CLK>;
3991			clock-names = "cfg_noc",
3992				      "core",
3993				      "iface",
3994				      "sleep",
3995				      "mock_utmi",
3996				      "noc_aggr",
3997				      "noc_aggr_north",
3998				      "noc_aggr_south",
3999				      "noc_sys";
4000
4001			assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
4002					  <&gcc GCC_USB30_SEC_MASTER_CLK>;
4003			assigned-clock-rates = <19200000>,
4004					       <200000000>;
4005
4006			interrupts-extended = <&intc GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>,
4007					      <&pdc 60 IRQ_TYPE_EDGE_BOTH>,
4008					      <&pdc 11 IRQ_TYPE_EDGE_BOTH>,
4009					      <&pdc 47 IRQ_TYPE_LEVEL_HIGH>;
4010			interrupt-names = "pwr_event",
4011					  "dp_hs_phy_irq",
4012					  "dm_hs_phy_irq",
4013					  "ss_phy_irq";
4014
4015			power-domains = <&gcc GCC_USB30_SEC_GDSC>;
4016			required-opps = <&rpmhpd_opp_nom>;
4017
4018			resets = <&gcc GCC_USB30_SEC_BCR>;
4019
4020			interconnects = <&usb_south_anoc MASTER_USB3_1 QCOM_ICC_TAG_ALWAYS
4021					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
4022					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
4023					 &config_noc SLAVE_USB3_1 QCOM_ICC_TAG_ALWAYS>;
4024			interconnect-names = "usb-ddr",
4025					     "apps-usb";
4026
4027			wakeup-source;
4028
4029			#address-cells = <2>;
4030			#size-cells = <2>;
4031			ranges;
4032
4033			status = "disabled";
4034
4035			usb_1_ss1_dwc3: usb@a800000 {
4036				compatible = "snps,dwc3";
4037				reg = <0 0x0a800000 0 0xcd00>;
4038
4039				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
4040
4041				iommus = <&apps_smmu 0x1460 0x0>;
4042
4043				phys = <&usb_1_ss1_hsphy>,
4044				       <&usb_1_ss1_qmpphy QMP_USB43DP_USB3_PHY>;
4045				phy-names = "usb2-phy",
4046					    "usb3-phy";
4047
4048				snps,dis_u2_susphy_quirk;
4049				snps,dis_enblslpm_quirk;
4050				snps,usb3_lpm_capable;
4051
4052				dma-coherent;
4053
4054				ports {
4055					#address-cells = <1>;
4056					#size-cells = <0>;
4057
4058					port@0 {
4059						reg = <0>;
4060
4061						usb_1_ss1_dwc3_hs: endpoint {
4062						};
4063					};
4064
4065					port@1 {
4066						reg = <1>;
4067
4068						usb_1_ss1_dwc3_ss: endpoint {
4069							remote-endpoint = <&usb_1_ss1_qmpphy_usb_ss_in>;
4070						};
4071					};
4072				};
4073			};
4074		};
4075
4076		mdss: display-subsystem@ae00000 {
4077			compatible = "qcom,x1e80100-mdss";
4078			reg = <0 0x0ae00000 0 0x1000>;
4079			reg-names = "mdss";
4080
4081			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
4082
4083			clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4084				 <&gcc GCC_DISP_HF_AXI_CLK>,
4085				 <&dispcc DISP_CC_MDSS_MDP_CLK>;
4086
4087			resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;
4088
4089			interconnects = <&mmss_noc MASTER_MDP QCOM_ICC_TAG_ALWAYS
4090					 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
4091					<&mc_virt MASTER_LLCC QCOM_ICC_TAG_ALWAYS
4092					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
4093					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
4094					 &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
4095			interconnect-names = "mdp0-mem",
4096					     "mdp1-mem",
4097					     "cpu-cfg";
4098
4099			power-domains = <&dispcc MDSS_GDSC>;
4100
4101			iommus = <&apps_smmu 0x1c00 0x2>;
4102
4103			interrupt-controller;
4104			#interrupt-cells = <1>;
4105
4106			#address-cells = <2>;
4107			#size-cells = <2>;
4108			ranges;
4109
4110			status = "disabled";
4111
4112			mdss_mdp: display-controller@ae01000 {
4113				compatible = "qcom,x1e80100-dpu";
4114				reg = <0 0x0ae01000 0 0x8f000>,
4115				      <0 0x0aeb0000 0 0x2008>;
4116				reg-names = "mdp",
4117					    "vbif";
4118
4119				interrupts-extended = <&mdss 0>;
4120
4121				clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
4122					 <&dispcc DISP_CC_MDSS_AHB_CLK>,
4123					 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
4124					 <&dispcc DISP_CC_MDSS_MDP_CLK>,
4125					 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
4126				clock-names = "nrt_bus",
4127					      "iface",
4128					      "lut",
4129					      "core",
4130					      "vsync";
4131
4132				operating-points-v2 = <&mdp_opp_table>;
4133
4134				power-domains = <&rpmhpd RPMHPD_MMCX>;
4135
4136				ports {
4137					#address-cells = <1>;
4138					#size-cells = <0>;
4139
4140					port@0 {
4141						reg = <0>;
4142
4143						mdss_intf0_out: endpoint {
4144							remote-endpoint = <&mdss_dp0_in>;
4145						};
4146					};
4147
4148					port@4 {
4149						reg = <4>;
4150
4151						mdss_intf4_out: endpoint {
4152							remote-endpoint = <&mdss_dp1_in>;
4153						};
4154					};
4155
4156					port@5 {
4157						reg = <5>;
4158
4159						mdss_intf5_out: endpoint {
4160							remote-endpoint = <&mdss_dp3_in>;
4161						};
4162					};
4163
4164					port@6 {
4165						reg = <6>;
4166
4167						mdss_intf6_out: endpoint {
4168							remote-endpoint = <&mdss_dp2_in>;
4169						};
4170					};
4171				};
4172
4173				mdp_opp_table: opp-table {
4174					compatible = "operating-points-v2";
4175
4176					opp-200000000 {
4177						opp-hz = /bits/ 64 <200000000>;
4178						required-opps = <&rpmhpd_opp_low_svs>;
4179					};
4180
4181					opp-325000000 {
4182						opp-hz = /bits/ 64 <325000000>;
4183						required-opps = <&rpmhpd_opp_svs>;
4184					};
4185
4186					opp-375000000 {
4187						opp-hz = /bits/ 64 <375000000>;
4188						required-opps = <&rpmhpd_opp_svs_l1>;
4189					};
4190
4191					opp-514000000 {
4192						opp-hz = /bits/ 64 <514000000>;
4193						required-opps = <&rpmhpd_opp_nom>;
4194					};
4195
4196					opp-575000000 {
4197						opp-hz = /bits/ 64 <575000000>;
4198						required-opps = <&rpmhpd_opp_nom_l1>;
4199					};
4200				};
4201			};
4202
4203			mdss_dp0: displayport-controller@ae90000 {
4204				compatible = "qcom,x1e80100-dp";
4205				reg = <0 0xae90000 0 0x200>,
4206				      <0 0xae90200 0 0x200>,
4207				      <0 0xae90400 0 0x600>,
4208				      <0 0xae91000 0 0x400>,
4209				      <0 0xae91400 0 0x400>;
4210
4211				interrupts-extended = <&mdss 12>;
4212
4213				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4214					 <&dispcc DISP_CC_MDSS_DPTX0_AUX_CLK>,
4215					 <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK>,
4216					 <&dispcc DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>,
4217					 <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK>;
4218				clock-names = "core_iface",
4219					      "core_aux",
4220					      "ctrl_link",
4221					      "ctrl_link_iface",
4222					      "stream_pixel";
4223
4224				assigned-clocks = <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>,
4225						  <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>;
4226				assigned-clock-parents = <&usb_1_ss0_qmpphy QMP_USB43DP_DP_LINK_CLK>,
4227							 <&usb_1_ss0_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;
4228
4229				operating-points-v2 = <&mdss_dp0_opp_table>;
4230
4231				power-domains = <&rpmhpd RPMHPD_MMCX>;
4232
4233				phys = <&usb_1_ss0_qmpphy QMP_USB43DP_DP_PHY>;
4234				phy-names = "dp";
4235
4236				#sound-dai-cells = <0>;
4237
4238				status = "disabled";
4239
4240				ports {
4241					#address-cells = <1>;
4242					#size-cells = <0>;
4243
4244					port@0 {
4245						reg = <0>;
4246
4247						mdss_dp0_in: endpoint {
4248							remote-endpoint = <&mdss_intf0_out>;
4249						};
4250					};
4251
4252					port@1 {
4253						reg = <1>;
4254
4255						mdss_dp0_out: endpoint {
4256							remote-endpoint = <&usb_1_ss0_qmpphy_dp_in>;
4257						};
4258					};
4259				};
4260
4261				mdss_dp0_opp_table: opp-table {
4262					compatible = "operating-points-v2";
4263
4264					opp-160000000 {
4265						opp-hz = /bits/ 64 <160000000>;
4266						required-opps = <&rpmhpd_opp_low_svs>;
4267					};
4268
4269					opp-270000000 {
4270						opp-hz = /bits/ 64 <270000000>;
4271						required-opps = <&rpmhpd_opp_svs>;
4272					};
4273
4274					opp-540000000 {
4275						opp-hz = /bits/ 64 <540000000>;
4276						required-opps = <&rpmhpd_opp_svs_l1>;
4277					};
4278
4279					opp-810000000 {
4280						opp-hz = /bits/ 64 <810000000>;
4281						required-opps = <&rpmhpd_opp_nom>;
4282					};
4283				};
4284			};
4285
4286			mdss_dp1: displayport-controller@ae98000 {
4287				compatible = "qcom,x1e80100-dp";
4288				reg = <0 0xae98000 0 0x200>,
4289				      <0 0xae98200 0 0x200>,
4290				      <0 0xae98400 0 0x600>,
4291				      <0 0xae99000 0 0x400>,
4292				      <0 0xae99400 0 0x400>;
4293
4294				interrupts-extended = <&mdss 13>;
4295
4296				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4297					 <&dispcc DISP_CC_MDSS_DPTX1_AUX_CLK>,
4298					 <&dispcc DISP_CC_MDSS_DPTX1_LINK_CLK>,
4299					 <&dispcc DISP_CC_MDSS_DPTX1_LINK_INTF_CLK>,
4300					 <&dispcc DISP_CC_MDSS_DPTX1_PIXEL0_CLK>;
4301				clock-names = "core_iface",
4302					      "core_aux",
4303					      "ctrl_link",
4304					      "ctrl_link_iface",
4305					      "stream_pixel";
4306
4307				assigned-clocks = <&dispcc DISP_CC_MDSS_DPTX1_LINK_CLK_SRC>,
4308						  <&dispcc DISP_CC_MDSS_DPTX1_PIXEL0_CLK_SRC>;
4309				assigned-clock-parents = <&usb_1_ss1_qmpphy QMP_USB43DP_DP_LINK_CLK>,
4310							 <&usb_1_ss1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;
4311
4312				operating-points-v2 = <&mdss_dp1_opp_table>;
4313
4314				power-domains = <&rpmhpd RPMHPD_MMCX>;
4315
4316				phys = <&usb_1_ss1_qmpphy QMP_USB43DP_DP_PHY>;
4317				phy-names = "dp";
4318
4319				#sound-dai-cells = <0>;
4320
4321				status = "disabled";
4322
4323				ports {
4324					#address-cells = <1>;
4325					#size-cells = <0>;
4326
4327					port@0 {
4328						reg = <0>;
4329
4330						mdss_dp1_in: endpoint {
4331							remote-endpoint = <&mdss_intf4_out>;
4332						};
4333					};
4334
4335					port@1 {
4336						reg = <1>;
4337
4338						mdss_dp1_out: endpoint {
4339							remote-endpoint = <&usb_1_ss1_qmpphy_dp_in>;
4340						};
4341					};
4342				};
4343
4344				mdss_dp1_opp_table: opp-table {
4345					compatible = "operating-points-v2";
4346
4347					opp-160000000 {
4348						opp-hz = /bits/ 64 <160000000>;
4349						required-opps = <&rpmhpd_opp_low_svs>;
4350					};
4351
4352					opp-270000000 {
4353						opp-hz = /bits/ 64 <270000000>;
4354						required-opps = <&rpmhpd_opp_svs>;
4355					};
4356
4357					opp-540000000 {
4358						opp-hz = /bits/ 64 <540000000>;
4359						required-opps = <&rpmhpd_opp_svs_l1>;
4360					};
4361
4362					opp-810000000 {
4363						opp-hz = /bits/ 64 <810000000>;
4364						required-opps = <&rpmhpd_opp_nom>;
4365					};
4366				};
4367			};
4368
4369			mdss_dp2: displayport-controller@ae9a000 {
4370				compatible = "qcom,x1e80100-dp";
4371				reg = <0 0xae9a000 0 0x200>,
4372				      <0 0xae9a200 0 0x200>,
4373				      <0 0xae9a400 0 0x600>,
4374				      <0 0xae9b000 0 0x400>,
4375				      <0 0xae9b400 0 0x400>;
4376
4377				interrupts-extended = <&mdss 14>;
4378
4379				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4380					 <&dispcc DISP_CC_MDSS_DPTX2_AUX_CLK>,
4381					 <&dispcc DISP_CC_MDSS_DPTX2_LINK_CLK>,
4382					 <&dispcc DISP_CC_MDSS_DPTX2_LINK_INTF_CLK>,
4383					 <&dispcc DISP_CC_MDSS_DPTX2_PIXEL0_CLK>;
4384				clock-names = "core_iface",
4385					      "core_aux",
4386					      "ctrl_link",
4387					      "ctrl_link_iface",
4388					      "stream_pixel";
4389
4390				assigned-clocks = <&dispcc DISP_CC_MDSS_DPTX2_LINK_CLK_SRC>,
4391						  <&dispcc DISP_CC_MDSS_DPTX2_PIXEL0_CLK_SRC>;
4392				assigned-clock-parents = <&mdss_dp2_phy 0>,
4393							 <&mdss_dp2_phy 1>;
4394
4395				operating-points-v2 = <&mdss_dp2_opp_table>;
4396
4397				power-domains = <&rpmhpd RPMHPD_MMCX>;
4398
4399				phys = <&mdss_dp2_phy>;
4400				phy-names = "dp";
4401
4402				#sound-dai-cells = <0>;
4403
4404				status = "disabled";
4405
4406				ports {
4407					#address-cells = <1>;
4408					#size-cells = <0>;
4409
4410					port@0 {
4411						reg = <0>;
4412						mdss_dp2_in: endpoint {
4413							remote-endpoint = <&mdss_intf6_out>;
4414						};
4415					};
4416
4417					port@1 {
4418						reg = <1>;
4419
4420						mdss_dp2_out: endpoint {
4421							remote-endpoint = <&usb_1_ss2_qmpphy_dp_in>;
4422						};
4423					};
4424				};
4425
4426				mdss_dp2_opp_table: opp-table {
4427					compatible = "operating-points-v2";
4428
4429					opp-160000000 {
4430						opp-hz = /bits/ 64 <160000000>;
4431						required-opps = <&rpmhpd_opp_low_svs>;
4432					};
4433
4434					opp-270000000 {
4435						opp-hz = /bits/ 64 <270000000>;
4436						required-opps = <&rpmhpd_opp_svs>;
4437					};
4438
4439					opp-540000000 {
4440						opp-hz = /bits/ 64 <540000000>;
4441						required-opps = <&rpmhpd_opp_svs_l1>;
4442					};
4443
4444					opp-810000000 {
4445						opp-hz = /bits/ 64 <810000000>;
4446						required-opps = <&rpmhpd_opp_nom>;
4447					};
4448				};
4449			};
4450
4451			mdss_dp3: displayport-controller@aea0000 {
4452				compatible = "qcom,x1e80100-dp";
4453				reg = <0 0xaea0000 0 0x200>,
4454				      <0 0xaea0200 0 0x200>,
4455				      <0 0xaea0400 0 0x600>,
4456				      <0 0xaea1000 0 0x400>,
4457				      <0 0xaea1400 0 0x400>;
4458
4459				interrupts-extended = <&mdss 15>;
4460
4461				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4462					 <&dispcc DISP_CC_MDSS_DPTX3_AUX_CLK>,
4463					 <&dispcc DISP_CC_MDSS_DPTX3_LINK_CLK>,
4464					 <&dispcc DISP_CC_MDSS_DPTX3_LINK_INTF_CLK>,
4465					 <&dispcc DISP_CC_MDSS_DPTX3_PIXEL0_CLK>;
4466				clock-names = "core_iface",
4467					      "core_aux",
4468					      "ctrl_link",
4469					      "ctrl_link_iface",
4470					      "stream_pixel";
4471
4472				assigned-clocks = <&dispcc DISP_CC_MDSS_DPTX3_LINK_CLK_SRC>,
4473						  <&dispcc DISP_CC_MDSS_DPTX3_PIXEL0_CLK_SRC>;
4474				assigned-clock-parents = <&mdss_dp3_phy 0>,
4475							 <&mdss_dp3_phy 1>;
4476
4477				operating-points-v2 = <&mdss_dp3_opp_table>;
4478
4479				power-domains = <&rpmhpd RPMHPD_MMCX>;
4480
4481				phys = <&mdss_dp3_phy>;
4482				phy-names = "dp";
4483
4484				#sound-dai-cells = <0>;
4485
4486				status = "disabled";
4487
4488				ports {
4489					#address-cells = <1>;
4490					#size-cells = <0>;
4491
4492					port@0 {
4493						reg = <0>;
4494
4495						mdss_dp3_in: endpoint {
4496							remote-endpoint = <&mdss_intf5_out>;
4497						};
4498					};
4499
4500					port@1 {
4501						reg = <1>;
4502					};
4503				};
4504
4505				mdss_dp3_opp_table: opp-table {
4506					compatible = "operating-points-v2";
4507
4508					opp-160000000 {
4509						opp-hz = /bits/ 64 <160000000>;
4510						required-opps = <&rpmhpd_opp_low_svs>;
4511					};
4512
4513					opp-270000000 {
4514						opp-hz = /bits/ 64 <270000000>;
4515						required-opps = <&rpmhpd_opp_svs>;
4516					};
4517
4518					opp-540000000 {
4519						opp-hz = /bits/ 64 <540000000>;
4520						required-opps = <&rpmhpd_opp_svs_l1>;
4521					};
4522
4523					opp-810000000 {
4524						opp-hz = /bits/ 64 <810000000>;
4525						required-opps = <&rpmhpd_opp_nom>;
4526					};
4527				};
4528			};
4529
4530		};
4531
4532		mdss_dp2_phy: phy@aec2a00 {
4533			compatible = "qcom,x1e80100-dp-phy";
4534			reg = <0 0x0aec2a00 0 0x19c>,
4535			      <0 0x0aec2200 0 0xec>,
4536			      <0 0x0aec2600 0 0xec>,
4537			      <0 0x0aec2000 0 0x1c8>;
4538
4539			clocks = <&dispcc DISP_CC_MDSS_DPTX2_AUX_CLK>,
4540				 <&dispcc DISP_CC_MDSS_AHB_CLK>;
4541			clock-names = "aux",
4542				      "cfg_ahb";
4543
4544			power-domains = <&rpmhpd RPMHPD_MX>;
4545
4546			#clock-cells = <1>;
4547			#phy-cells = <0>;
4548
4549			status = "disabled";
4550		};
4551
4552		mdss_dp3_phy: phy@aec5a00 {
4553			compatible = "qcom,x1e80100-dp-phy";
4554			reg = <0 0x0aec5a00 0 0x19c>,
4555			      <0 0x0aec5200 0 0xec>,
4556			      <0 0x0aec5600 0 0xec>,
4557			      <0 0x0aec5000 0 0x1c8>;
4558
4559			clocks = <&dispcc DISP_CC_MDSS_DPTX3_AUX_CLK>,
4560				 <&dispcc DISP_CC_MDSS_AHB_CLK>;
4561			clock-names = "aux",
4562				      "cfg_ahb";
4563
4564			power-domains = <&rpmhpd RPMHPD_MX>;
4565
4566			#clock-cells = <1>;
4567			#phy-cells = <0>;
4568
4569			status = "disabled";
4570		};
4571
4572		dispcc: clock-controller@af00000 {
4573			compatible = "qcom,x1e80100-dispcc";
4574			reg = <0 0x0af00000 0 0x20000>;
4575			clocks = <&bi_tcxo_div2>,
4576				 <&bi_tcxo_ao_div2>,
4577				 <&gcc GCC_DISP_AHB_CLK>,
4578				 <&sleep_clk>,
4579				 <0>, /* dsi0 */
4580				 <0>,
4581				 <0>, /* dsi1 */
4582				 <0>,
4583				 <&usb_1_ss0_qmpphy QMP_USB43DP_DP_LINK_CLK>, /* dp0 */
4584				 <&usb_1_ss0_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>,
4585				 <&usb_1_ss1_qmpphy QMP_USB43DP_DP_LINK_CLK>, /* dp1 */
4586				 <&usb_1_ss1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>,
4587				 <&mdss_dp2_phy 0>, /* dp2 */
4588				 <&mdss_dp2_phy 1>,
4589				 <&mdss_dp3_phy 0>, /* dp3 */
4590				 <&mdss_dp3_phy 1>;
4591			power-domains = <&rpmhpd RPMHPD_MMCX>;
4592			required-opps = <&rpmhpd_opp_low_svs>;
4593			#clock-cells = <1>;
4594			#reset-cells = <1>;
4595			#power-domain-cells = <1>;
4596		};
4597
4598		pdc: interrupt-controller@b220000 {
4599			compatible = "qcom,x1e80100-pdc", "qcom,pdc";
4600			reg = <0 0x0b220000 0 0x30000>, <0 0x174000f0 0 0x64>;
4601
4602			qcom,pdc-ranges = <0 480 42>, <42 251 5>,
4603					  <47 522 52>, <99 609 32>,
4604					  <131 717 12>, <143 816 19>;
4605			#interrupt-cells = <2>;
4606			interrupt-parent = <&intc>;
4607			interrupt-controller;
4608		};
4609
4610		aoss_qmp: power-management@c300000 {
4611			compatible = "qcom,x1e80100-aoss-qmp", "qcom,aoss-qmp";
4612			reg = <0 0x0c300000 0 0x400>;
4613			interrupt-parent = <&ipcc>;
4614			interrupts-extended = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP
4615						     IRQ_TYPE_EDGE_RISING>;
4616			mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>;
4617
4618			#clock-cells = <0>;
4619		};
4620
4621		spmi: arbiter@c400000 {
4622			compatible = "qcom,x1e80100-spmi-pmic-arb";
4623			reg = <0 0x0c400000 0 0x3000>,
4624			      <0 0x0c500000 0 0x400000>,
4625			      <0 0x0c440000 0 0x80000>;
4626			reg-names = "core", "chnls", "obsrvr";
4627
4628			qcom,ee = <0>;
4629			qcom,channel = <0>;
4630
4631			#address-cells = <2>;
4632			#size-cells = <2>;
4633			ranges;
4634
4635			spmi_bus0: spmi@c42d000 {
4636				reg = <0 0x0c42d000 0 0x4000>,
4637				      <0 0x0c4c0000 0 0x10000>;
4638				reg-names = "cnfg", "intr";
4639
4640				interrupt-names = "periph_irq";
4641				interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
4642				interrupt-controller;
4643				#interrupt-cells = <4>;
4644
4645				#address-cells = <2>;
4646				#size-cells = <0>;
4647			};
4648
4649			spmi_bus1: spmi@c432000 {
4650				reg = <0 0x0c432000 0 0x4000>,
4651				      <0 0x0c4d0000 0 0x10000>;
4652				reg-names = "cnfg", "intr";
4653
4654				interrupt-names = "periph_irq";
4655				interrupts-extended = <&pdc 3 IRQ_TYPE_LEVEL_HIGH>;
4656				interrupt-controller;
4657				#interrupt-cells = <4>;
4658
4659				#address-cells = <2>;
4660				#size-cells = <0>;
4661			};
4662		};
4663
4664		tlmm: pinctrl@f100000 {
4665			compatible = "qcom,x1e80100-tlmm";
4666			reg = <0 0x0f100000 0 0xf00000>;
4667
4668			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
4669
4670			gpio-controller;
4671			#gpio-cells = <2>;
4672
4673			interrupt-controller;
4674			#interrupt-cells = <2>;
4675
4676			gpio-ranges = <&tlmm 0 0 239>;
4677			wakeup-parent = <&pdc>;
4678
4679			qup_i2c0_data_clk: qup-i2c0-data-clk-state {
4680				/* SDA, SCL */
4681				pins = "gpio0", "gpio1";
4682				function = "qup0_se0";
4683				drive-strength = <2>;
4684				bias-pull-up = <2200>;
4685			};
4686
4687			qup_i2c1_data_clk: qup-i2c1-data-clk-state {
4688				/* SDA, SCL */
4689				pins = "gpio4", "gpio5";
4690				function = "qup0_se1";
4691				drive-strength = <2>;
4692				bias-pull-up = <2200>;
4693			};
4694
4695			qup_i2c2_data_clk: qup-i2c2-data-clk-state {
4696				/* SDA, SCL */
4697				pins = "gpio8", "gpio9";
4698				function = "qup0_se2";
4699				drive-strength = <2>;
4700				bias-pull-up = <2200>;
4701			};
4702
4703			qup_i2c3_data_clk: qup-i2c3-data-clk-state {
4704				/* SDA, SCL */
4705				pins = "gpio12", "gpio13";
4706				function = "qup0_se3";
4707				drive-strength = <2>;
4708				bias-pull-up = <2200>;
4709			};
4710
4711			qup_i2c4_data_clk: qup-i2c4-data-clk-state {
4712				/* SDA, SCL */
4713				pins = "gpio16", "gpio17";
4714				function = "qup0_se4";
4715				drive-strength = <2>;
4716				bias-pull-up = <2200>;
4717			};
4718
4719			qup_i2c5_data_clk: qup-i2c5-data-clk-state {
4720				/* SDA, SCL */
4721				pins = "gpio20", "gpio21";
4722				function = "qup0_se5";
4723				drive-strength = <2>;
4724				bias-pull-up = <2200>;
4725			};
4726
4727			qup_i2c6_data_clk: qup-i2c6-data-clk-state {
4728				/* SDA, SCL */
4729				pins = "gpio24", "gpio25";
4730				function = "qup0_se6";
4731				drive-strength = <2>;
4732				bias-pull-up = <2200>;
4733			};
4734
4735			qup_i2c7_data_clk: qup-i2c7-data-clk-state {
4736				/* SDA, SCL */
4737				pins = "gpio14", "gpio15";
4738				function = "qup0_se7";
4739				drive-strength = <2>;
4740				bias-pull-up = <2200>;
4741			};
4742
4743			qup_i2c8_data_clk: qup-i2c8-data-clk-state {
4744				/* SDA, SCL */
4745				pins = "gpio32", "gpio33";
4746				function = "qup1_se0";
4747				drive-strength = <2>;
4748				bias-pull-up = <2200>;
4749			};
4750
4751			qup_i2c9_data_clk: qup-i2c9-data-clk-state {
4752				/* SDA, SCL */
4753				pins = "gpio36", "gpio37";
4754				function = "qup1_se1";
4755				drive-strength = <2>;
4756				bias-pull-up = <2200>;
4757			};
4758
4759			qup_i2c10_data_clk: qup-i2c10-data-clk-state {
4760				/* SDA, SCL */
4761				pins = "gpio40", "gpio41";
4762				function = "qup1_se2";
4763				drive-strength = <2>;
4764				bias-pull-up = <2200>;
4765			};
4766
4767			qup_i2c11_data_clk: qup-i2c11-data-clk-state {
4768				/* SDA, SCL */
4769				pins = "gpio44", "gpio45";
4770				function = "qup1_se3";
4771				drive-strength = <2>;
4772				bias-pull-up = <2200>;
4773			};
4774
4775			qup_i2c12_data_clk: qup-i2c12-data-clk-state {
4776				/* SDA, SCL */
4777				pins = "gpio48", "gpio49";
4778				function = "qup1_se4";
4779				drive-strength = <2>;
4780				bias-pull-up = <2200>;
4781			};
4782
4783			qup_i2c13_data_clk: qup-i2c13-data-clk-state {
4784				/* SDA, SCL */
4785				pins = "gpio52", "gpio53";
4786				function = "qup1_se5";
4787				drive-strength = <2>;
4788				bias-pull-up = <2200>;
4789			};
4790
4791			qup_i2c14_data_clk: qup-i2c14-data-clk-state {
4792				/* SDA, SCL */
4793				pins = "gpio56", "gpio57";
4794				function = "qup1_se6";
4795				drive-strength = <2>;
4796				bias-pull-up = <2200>;
4797			};
4798
4799			qup_i2c15_data_clk: qup-i2c15-data-clk-state {
4800				/* SDA, SCL */
4801				pins = "gpio54", "gpio55";
4802				function = "qup1_se7";
4803				drive-strength = <2>;
4804				bias-pull-up = <2200>;
4805			};
4806
4807			qup_i2c16_data_clk: qup-i2c16-data-clk-state {
4808				/* SDA, SCL */
4809				pins = "gpio64", "gpio65";
4810				function = "qup2_se0";
4811				drive-strength = <2>;
4812				bias-pull-up = <2200>;
4813			};
4814
4815			qup_i2c17_data_clk: qup-i2c17-data-clk-state {
4816				/* SDA, SCL */
4817				pins = "gpio68", "gpio69";
4818				function = "qup2_se1";
4819				drive-strength = <2>;
4820				bias-pull-up = <2200>;
4821			};
4822
4823			qup_i2c18_data_clk: qup-i2c18-data-clk-state {
4824				/* SDA, SCL */
4825				pins = "gpio72", "gpio73";
4826				function = "qup2_se2";
4827				drive-strength = <2>;
4828				bias-pull-up = <2200>;
4829			};
4830
4831			qup_i2c19_data_clk: qup-i2c19-data-clk-state {
4832				/* SDA, SCL */
4833				pins = "gpio76", "gpio77";
4834				function = "qup2_se3";
4835				drive-strength = <2>;
4836				bias-pull-up = <2200>;
4837			};
4838
4839			qup_i2c20_data_clk: qup-i2c20-data-clk-state {
4840				/* SDA, SCL */
4841				pins = "gpio80", "gpio81";
4842				function = "qup2_se4";
4843				drive-strength = <2>;
4844				bias-pull-up = <2200>;
4845			};
4846
4847			qup_i2c21_data_clk: qup-i2c21-data-clk-state {
4848				/* SDA, SCL */
4849				pins = "gpio84", "gpio85";
4850				function = "qup2_se5";
4851				drive-strength = <2>;
4852				bias-pull-up = <2200>;
4853			};
4854
4855			qup_i2c22_data_clk: qup-i2c22-data-clk-state {
4856				/* SDA, SCL */
4857				pins = "gpio88", "gpio89";
4858				function = "qup2_se6";
4859				drive-strength = <2>;
4860				bias-pull-up = <2200>;
4861			};
4862
4863			qup_i2c23_data_clk: qup-i2c23-data-clk-state {
4864				/* SDA, SCL */
4865				pins = "gpio86", "gpio87";
4866				function = "qup2_se7";
4867				drive-strength = <2>;
4868				bias-pull-up = <2200>;
4869			};
4870
4871			qup_spi0_cs: qup-spi0-cs-state {
4872				pins = "gpio3";
4873				function = "qup0_se0";
4874				drive-strength = <6>;
4875				bias-disable;
4876			};
4877
4878			qup_spi0_data_clk: qup-spi0-data-clk-state {
4879				/* MISO, MOSI, CLK */
4880				pins = "gpio0", "gpio1", "gpio2";
4881				function = "qup0_se0";
4882				drive-strength = <6>;
4883				bias-disable;
4884			};
4885
4886			qup_spi1_cs: qup-spi1-cs-state {
4887				pins = "gpio7";
4888				function = "qup0_se1";
4889				drive-strength = <6>;
4890				bias-disable;
4891			};
4892
4893			qup_spi1_data_clk: qup-spi1-data-clk-state {
4894				/* MISO, MOSI, CLK */
4895				pins = "gpio4", "gpio5", "gpio6";
4896				function = "qup0_se1";
4897				drive-strength = <6>;
4898				bias-disable;
4899			};
4900
4901			qup_spi2_cs: qup-spi2-cs-state {
4902				pins = "gpio11";
4903				function = "qup0_se2";
4904				drive-strength = <6>;
4905				bias-disable;
4906			};
4907
4908			qup_spi2_data_clk: qup-spi2-data-clk-state {
4909				/* MISO, MOSI, CLK */
4910				pins = "gpio8", "gpio9", "gpio10";
4911				function = "qup0_se2";
4912				drive-strength = <6>;
4913				bias-disable;
4914			};
4915
4916			qup_spi3_cs: qup-spi3-cs-state {
4917				pins = "gpio15";
4918				function = "qup0_se3";
4919				drive-strength = <6>;
4920				bias-disable;
4921			};
4922
4923			qup_spi3_data_clk: qup-spi3-data-clk-state {
4924				/* MISO, MOSI, CLK */
4925				pins = "gpio12", "gpio13", "gpio14";
4926				function = "qup0_se3";
4927				drive-strength = <6>;
4928				bias-disable;
4929			};
4930
4931			qup_spi4_cs: qup-spi4-cs-state {
4932				pins = "gpio19";
4933				function = "qup0_se4";
4934				drive-strength = <6>;
4935				bias-disable;
4936			};
4937
4938			qup_spi4_data_clk: qup-spi4-data-clk-state {
4939				/* MISO, MOSI, CLK */
4940				pins = "gpio16", "gpio17", "gpio18";
4941				function = "qup0_se4";
4942				drive-strength = <6>;
4943				bias-disable;
4944			};
4945
4946			qup_spi5_cs: qup-spi5-cs-state {
4947				pins = "gpio23";
4948				function = "qup0_se5";
4949				drive-strength = <6>;
4950				bias-disable;
4951			};
4952
4953			qup_spi5_data_clk: qup-spi5-data-clk-state {
4954				/* MISO, MOSI, CLK */
4955				pins = "gpio20", "gpio21", "gpio22";
4956				function = "qup0_se5";
4957				drive-strength = <6>;
4958				bias-disable;
4959			};
4960
4961			qup_spi6_cs: qup-spi6-cs-state {
4962				pins = "gpio27";
4963				function = "qup0_se6";
4964				drive-strength = <6>;
4965				bias-disable;
4966			};
4967
4968			qup_spi6_data_clk: qup-spi6-data-clk-state {
4969				/* MISO, MOSI, CLK */
4970				pins = "gpio24", "gpio25", "gpio26";
4971				function = "qup0_se6";
4972				drive-strength = <6>;
4973				bias-disable;
4974			};
4975
4976			qup_spi7_cs: qup-spi7-cs-state {
4977				pins = "gpio13";
4978				function = "qup0_se7";
4979				drive-strength = <6>;
4980				bias-disable;
4981			};
4982
4983			qup_spi7_data_clk: qup-spi7-data-clk-state {
4984				/* MISO, MOSI, CLK */
4985				pins = "gpio14", "gpio15", "gpio12";
4986				function = "qup0_se7";
4987				drive-strength = <6>;
4988				bias-disable;
4989			};
4990
4991			qup_spi8_cs: qup-spi8-cs-state {
4992				pins = "gpio35";
4993				function = "qup1_se0";
4994				drive-strength = <6>;
4995				bias-disable;
4996			};
4997
4998			qup_spi8_data_clk: qup-spi8-data-clk-state {
4999				/* MISO, MOSI, CLK */
5000				pins = "gpio32", "gpio33", "gpio34";
5001				function = "qup1_se0";
5002				drive-strength = <6>;
5003				bias-disable;
5004			};
5005
5006			qup_spi9_cs: qup-spi9-cs-state {
5007				pins = "gpio39";
5008				function = "qup1_se1";
5009				drive-strength = <6>;
5010				bias-disable;
5011			};
5012
5013			qup_spi9_data_clk: qup-spi9-data-clk-state {
5014				/* MISO, MOSI, CLK */
5015				pins = "gpio36", "gpio37", "gpio38";
5016				function = "qup1_se1";
5017				drive-strength = <6>;
5018				bias-disable;
5019			};
5020
5021			qup_spi10_cs: qup-spi10-cs-state {
5022				pins = "gpio43";
5023				function = "qup1_se2";
5024				drive-strength = <6>;
5025				bias-disable;
5026			};
5027
5028			qup_spi10_data_clk: qup-spi10-data-clk-state {
5029				/* MISO, MOSI, CLK */
5030				pins = "gpio40", "gpio41", "gpio42";
5031				function = "qup1_se2";
5032				drive-strength = <6>;
5033				bias-disable;
5034			};
5035
5036			qup_spi11_cs: qup-spi11-cs-state {
5037				pins = "gpio47";
5038				function = "qup1_se3";
5039				drive-strength = <6>;
5040				bias-disable;
5041			};
5042
5043			qup_spi11_data_clk: qup-spi11-data-clk-state {
5044				/* MISO, MOSI, CLK */
5045				pins = "gpio44", "gpio45", "gpio46";
5046				function = "qup1_se3";
5047				drive-strength = <6>;
5048				bias-disable;
5049			};
5050
5051			qup_spi12_cs: qup-spi12-cs-state {
5052				pins = "gpio51";
5053				function = "qup1_se4";
5054				drive-strength = <6>;
5055				bias-disable;
5056			};
5057
5058			qup_spi12_data_clk: qup-spi12-data-clk-state {
5059				/* MISO, MOSI, CLK */
5060				pins = "gpio48", "gpio49", "gpio50";
5061				function = "qup1_se4";
5062				drive-strength = <6>;
5063				bias-disable;
5064			};
5065
5066			qup_spi13_cs: qup-spi13-cs-state {
5067				pins = "gpio55";
5068				function = "qup1_se5";
5069				drive-strength = <6>;
5070				bias-disable;
5071			};
5072
5073			qup_spi13_data_clk: qup-spi13-data-clk-state {
5074				/* MISO, MOSI, CLK */
5075				pins = "gpio52", "gpio53", "gpio54";
5076				function = "qup1_se5";
5077				drive-strength = <6>;
5078				bias-disable;
5079			};
5080
5081			qup_spi14_cs: qup-spi14-cs-state {
5082				pins = "gpio59";
5083				function = "qup1_se6";
5084				drive-strength = <6>;
5085				bias-disable;
5086			};
5087
5088			qup_spi14_data_clk: qup-spi14-data-clk-state {
5089				/* MISO, MOSI, CLK */
5090				pins = "gpio56", "gpio57", "gpio58";
5091				function = "qup1_se6";
5092				drive-strength = <6>;
5093				bias-disable;
5094			};
5095
5096			qup_spi15_cs: qup-spi15-cs-state {
5097				pins = "gpio53";
5098				function = "qup1_se7";
5099				drive-strength = <6>;
5100				bias-disable;
5101			};
5102
5103			qup_spi15_data_clk: qup-spi15-data-clk-state {
5104				/* MISO, MOSI, CLK */
5105				pins = "gpio54", "gpio55", "gpio52";
5106				function = "qup1_se7";
5107				drive-strength = <6>;
5108				bias-disable;
5109			};
5110
5111			qup_spi16_cs: qup-spi16-cs-state {
5112				pins = "gpio67";
5113				function = "qup2_se0";
5114				drive-strength = <6>;
5115				bias-disable;
5116			};
5117
5118			qup_spi16_data_clk: qup-spi16-data-clk-state {
5119				/* MISO, MOSI, CLK */
5120				pins = "gpio64", "gpio65", "gpio66";
5121				function = "qup2_se0";
5122				drive-strength = <6>;
5123				bias-disable;
5124			};
5125
5126			qup_spi17_cs: qup-spi17-cs-state {
5127				pins = "gpio71";
5128				function = "qup2_se1";
5129				drive-strength = <6>;
5130				bias-disable;
5131			};
5132
5133			qup_spi17_data_clk: qup-spi17-data-clk-state {
5134				/* MISO, MOSI, CLK */
5135				pins = "gpio68", "gpio69", "gpio70";
5136				function = "qup2_se1";
5137				drive-strength = <6>;
5138				bias-disable;
5139			};
5140
5141			qup_spi18_cs: qup-spi18-cs-state {
5142				pins = "gpio75";
5143				function = "qup2_se2";
5144				drive-strength = <6>;
5145				bias-disable;
5146			};
5147
5148			qup_spi18_data_clk: qup-spi18-data-clk-state {
5149				/* MISO, MOSI, CLK */
5150				pins = "gpio72", "gpio73", "gpio74";
5151				function = "qup2_se2";
5152				drive-strength = <6>;
5153				bias-disable;
5154			};
5155
5156			qup_spi19_cs: qup-spi19-cs-state {
5157				pins = "gpio79";
5158				function = "qup2_se3";
5159				drive-strength = <6>;
5160				bias-disable;
5161			};
5162
5163			qup_spi19_data_clk: qup-spi19-data-clk-state {
5164				/* MISO, MOSI, CLK */
5165				pins = "gpio76", "gpio77", "gpio78";
5166				function = "qup2_se3";
5167				drive-strength = <6>;
5168				bias-disable;
5169			};
5170
5171			qup_spi20_cs: qup-spi20-cs-state {
5172				pins = "gpio83";
5173				function = "qup2_se4";
5174				drive-strength = <6>;
5175				bias-disable;
5176			};
5177
5178			qup_spi20_data_clk: qup-spi20-data-clk-state {
5179				/* MISO, MOSI, CLK */
5180				pins = "gpio80", "gpio81", "gpio82";
5181				function = "qup2_se4";
5182				drive-strength = <6>;
5183				bias-disable;
5184			};
5185
5186			qup_spi21_cs: qup-spi21-cs-state {
5187				pins = "gpio87";
5188				function = "qup2_se5";
5189				drive-strength = <6>;
5190				bias-disable;
5191			};
5192
5193			qup_spi21_data_clk: qup-spi21-data-clk-state {
5194				/* MISO, MOSI, CLK */
5195				pins = "gpio84", "gpio85", "gpio86";
5196				function = "qup2_se5";
5197				drive-strength = <6>;
5198				bias-disable;
5199			};
5200
5201			qup_spi22_cs: qup-spi22-cs-state {
5202				pins = "gpio91";
5203				function = "qup2_se6";
5204				drive-strength = <6>;
5205				bias-disable;
5206			};
5207
5208			qup_spi22_data_clk: qup-spi22-data-clk-state {
5209				/* MISO, MOSI, CLK */
5210				pins = "gpio88", "gpio89", "gpio90";
5211				function = "qup2_se6";
5212				drive-strength = <6>;
5213				bias-disable;
5214			};
5215
5216			qup_spi23_cs: qup-spi23-cs-state {
5217				pins = "gpio85";
5218				function = "qup2_se7";
5219				drive-strength = <6>;
5220				bias-disable;
5221			};
5222
5223			qup_spi23_data_clk: qup-spi23-data-clk-state {
5224				/* MISO, MOSI, CLK */
5225				pins = "gpio86", "gpio87", "gpio84";
5226				function = "qup2_se7";
5227				drive-strength = <6>;
5228				bias-disable;
5229			};
5230
5231			qup_uart21_default: qup-uart21-default-state {
5232				/* TX, RX */
5233				pins = "gpio86", "gpio87";
5234				function = "qup2_se5";
5235				drive-strength = <2>;
5236				bias-disable;
5237			};
5238		};
5239
5240		apps_smmu: iommu@15000000 {
5241			compatible = "qcom,x1e80100-smmu-500", "qcom,smmu-500", "arm,mmu-500";
5242			reg = <0 0x15000000 0 0x100000>;
5243
5244			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
5245				     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
5246				     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
5247				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
5248				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
5249				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
5250				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
5251				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
5252				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
5253				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
5254				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
5255				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
5256				     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
5257				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
5258				     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
5259				     <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
5260				     <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
5261				     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
5262				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
5263				     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
5264				     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
5265				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
5266				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
5267				     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
5268				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
5269				     <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
5270				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
5271				     <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
5272				     <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
5273				     <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
5274				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
5275				     <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
5276				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
5277				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
5278				     <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
5279				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
5280				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
5281				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
5282				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
5283				     <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
5284				     <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
5285				     <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
5286				     <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
5287				     <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
5288				     <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
5289				     <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
5290				     <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
5291				     <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
5292				     <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
5293				     <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
5294				     <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
5295				     <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
5296				     <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
5297				     <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
5298				     <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
5299				     <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
5300				     <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
5301				     <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
5302				     <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
5303				     <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
5304				     <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
5305				     <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
5306				     <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
5307				     <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
5308				     <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
5309				     <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
5310				     <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
5311				     <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
5312				     <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
5313				     <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
5314				     <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
5315				     <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
5316				     <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
5317				     <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
5318				     <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
5319				     <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
5320				     <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
5321				     <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
5322				     <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
5323				     <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
5324				     <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
5325				     <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
5326				     <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
5327				     <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>,
5328				     <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
5329				     <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>,
5330				     <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
5331				     <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
5332				     <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
5333				     <GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH>,
5334				     <GIC_SPI 691 IRQ_TYPE_LEVEL_HIGH>,
5335				     <GIC_SPI 692 IRQ_TYPE_LEVEL_HIGH>,
5336				     <GIC_SPI 693 IRQ_TYPE_LEVEL_HIGH>,
5337				     <GIC_SPI 694 IRQ_TYPE_LEVEL_HIGH>,
5338				     <GIC_SPI 695 IRQ_TYPE_LEVEL_HIGH>,
5339				     <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>,
5340				     <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>;
5341
5342			#iommu-cells = <2>;
5343			#global-interrupts = <1>;
5344		};
5345
5346		intc: interrupt-controller@17000000 {
5347			compatible = "arm,gic-v3";
5348			reg = <0 0x17000000 0 0x10000>,     /* GICD */
5349			      <0 0x17080000 0 0x480000>;    /* GICR * 12 */
5350
5351			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
5352
5353			#interrupt-cells = <3>;
5354			interrupt-controller;
5355
5356			#redistributor-regions = <1>;
5357			redistributor-stride = <0x0 0x40000>;
5358
5359			#address-cells = <2>;
5360			#size-cells = <2>;
5361			ranges;
5362
5363			gic_its: msi-controller@17040000 {
5364				compatible = "arm,gic-v3-its";
5365				reg = <0 0x17040000 0 0x40000>;
5366
5367				msi-controller;
5368				#msi-cells = <1>;
5369
5370				status = "disabled";
5371			};
5372		};
5373
5374		apps_rsc: rsc@17500000 {
5375			compatible = "qcom,rpmh-rsc";
5376			reg = <0 0x17500000 0 0x10000>,
5377			      <0 0x17510000 0 0x10000>,
5378			      <0 0x17520000 0 0x10000>;
5379			reg-names = "drv-0", "drv-1", "drv-2";
5380
5381			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
5382				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
5383				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
5384			qcom,tcs-offset = <0xd00>;
5385			qcom,drv-id = <2>;
5386			qcom,tcs-config = <ACTIVE_TCS    3>, <SLEEP_TCS     2>,
5387					  <WAKE_TCS      2>, <CONTROL_TCS   0>;
5388
5389			label = "apps_rsc";
5390			power-domains = <&SYSTEM_PD>;
5391
5392			apps_bcm_voter: bcm-voter {
5393				compatible = "qcom,bcm-voter";
5394			};
5395
5396			rpmhcc: clock-controller {
5397				compatible = "qcom,x1e80100-rpmh-clk";
5398
5399				clocks = <&xo_board>;
5400				clock-names = "xo";
5401
5402				#clock-cells = <1>;
5403			};
5404
5405			rpmhpd: power-controller {
5406				compatible = "qcom,x1e80100-rpmhpd";
5407
5408				operating-points-v2 = <&rpmhpd_opp_table>;
5409
5410				#power-domain-cells = <1>;
5411
5412				rpmhpd_opp_table: opp-table {
5413					compatible = "operating-points-v2";
5414
5415					rpmhpd_opp_ret: opp-16 {
5416						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
5417					};
5418
5419					rpmhpd_opp_min_svs: opp-48 {
5420						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
5421					};
5422
5423					rpmhpd_opp_low_svs_d2: opp-52 {
5424						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D2>;
5425					};
5426
5427					rpmhpd_opp_low_svs_d1: opp-56 {
5428						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
5429					};
5430
5431					rpmhpd_opp_low_svs_d0: opp-60 {
5432						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D0>;
5433					};
5434
5435					rpmhpd_opp_low_svs: opp-64 {
5436						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
5437					};
5438
5439					rpmhpd_opp_low_svs_l1: opp-80 {
5440						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_L1>;
5441					};
5442
5443					rpmhpd_opp_svs: opp-128 {
5444						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
5445					};
5446
5447					rpmhpd_opp_svs_l0: opp-144 {
5448						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L0>;
5449					};
5450
5451					rpmhpd_opp_svs_l1: opp-192 {
5452						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
5453					};
5454
5455					rpmhpd_opp_nom: opp-256 {
5456						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
5457					};
5458
5459					rpmhpd_opp_nom_l1: opp-320 {
5460						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
5461					};
5462
5463					rpmhpd_opp_nom_l2: opp-336 {
5464						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
5465					};
5466
5467					rpmhpd_opp_turbo: opp-384 {
5468						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
5469					};
5470
5471					rpmhpd_opp_turbo_l1: opp-416 {
5472						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
5473					};
5474				};
5475			};
5476		};
5477
5478		timer@17800000 {
5479			compatible = "arm,armv7-timer-mem";
5480			reg = <0 0x17800000 0 0x1000>;
5481
5482			#address-cells = <2>;
5483			#size-cells = <1>;
5484			ranges = <0 0 0 0 0x20000000>;
5485
5486			frame@17801000 {
5487				reg = <0 0x17801000 0x1000>,
5488				      <0 0x17802000 0x1000>;
5489
5490				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
5491					     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
5492
5493				frame-number = <0>;
5494			};
5495
5496			frame@17803000 {
5497				reg = <0 0x17803000 0x1000>;
5498
5499				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
5500
5501				frame-number = <1>;
5502
5503				status = "disabled";
5504			};
5505
5506			frame@17805000 {
5507				reg = <0 0x17805000 0x1000>;
5508
5509				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
5510
5511				frame-number = <2>;
5512
5513				status = "disabled";
5514			};
5515
5516			frame@17807000 {
5517				reg = <0 0x17807000 0x1000>;
5518
5519				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
5520
5521				frame-number = <3>;
5522
5523				status = "disabled";
5524			};
5525
5526			frame@17809000 {
5527				reg = <0 0x17809000 0x1000>;
5528
5529				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
5530
5531				frame-number = <4>;
5532
5533				status = "disabled";
5534			};
5535
5536			frame@1780b000 {
5537				reg = <0 0x1780b000 0x1000>;
5538
5539				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
5540
5541				frame-number = <5>;
5542
5543				status = "disabled";
5544			};
5545
5546			frame@1780d000 {
5547				reg = <0 0x1780d000 0x1000>;
5548
5549				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
5550
5551				frame-number = <6>;
5552
5553				status = "disabled";
5554			};
5555		};
5556
5557		pmu@24091000 {
5558			compatible = "qcom,x1e80100-llcc-bwmon", "qcom,sc7280-llcc-bwmon";
5559			reg = <0 0x24091000 0 0x1000>;
5560
5561			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
5562
5563			interconnects = <&mc_virt MASTER_LLCC QCOM_ICC_TAG_ACTIVE_ONLY
5564					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>;
5565
5566			operating-points-v2 = <&llcc_bwmon_opp_table>;
5567
5568			llcc_bwmon_opp_table: opp-table {
5569				compatible = "operating-points-v2";
5570
5571				opp-0 {
5572					opp-peak-kBps = <800000>;
5573				};
5574
5575				opp-1 {
5576					opp-peak-kBps = <2188000>;
5577				};
5578
5579				opp-2 {
5580					opp-peak-kBps = <3072000>;
5581				};
5582
5583				opp-3 {
5584					opp-peak-kBps = <6220800>;
5585				};
5586
5587				opp-4 {
5588					opp-peak-kBps = <6835200>;
5589				};
5590
5591				opp-5 {
5592					opp-peak-kBps = <8371200>;
5593				};
5594
5595				opp-6 {
5596					opp-peak-kBps = <10944000>;
5597				};
5598
5599				opp-7 {
5600					opp-peak-kBps = <12748800>;
5601				};
5602
5603				opp-8 {
5604					opp-peak-kBps = <14745600>;
5605				};
5606
5607				opp-9 {
5608					opp-peak-kBps = <16896000>;
5609				};
5610			};
5611		};
5612
5613		/* cluster0 */
5614		pmu@240b3400 {
5615			compatible = "qcom,x1e80100-cpu-bwmon", "qcom,sdm845-bwmon";
5616			reg = <0 0x240b3400 0 0x600>;
5617
5618			interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
5619
5620			interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
5621					 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>;
5622
5623			operating-points-v2 = <&cpu_bwmon_opp_table>;
5624
5625			cpu_bwmon_opp_table: opp-table {
5626				compatible = "operating-points-v2";
5627
5628				opp-0 {
5629					opp-peak-kBps = <4800000>;
5630				};
5631
5632				opp-1 {
5633					opp-peak-kBps = <7464000>;
5634				};
5635
5636				opp-2 {
5637					opp-peak-kBps = <9600000>;
5638				};
5639
5640				opp-3 {
5641					opp-peak-kBps = <12896000>;
5642				};
5643
5644				opp-4 {
5645					opp-peak-kBps = <14928000>;
5646				};
5647
5648				opp-5 {
5649					opp-peak-kBps = <17064000>;
5650				};
5651			};
5652		};
5653
5654		/* cluster2 */
5655		pmu@240b5400 {
5656			compatible = "qcom,x1e80100-cpu-bwmon", "qcom,sdm845-bwmon";
5657			reg = <0 0x240b5400 0 0x600>;
5658
5659			interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
5660
5661			interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
5662					 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>;
5663
5664			operating-points-v2 = <&cpu_bwmon_opp_table>;
5665		};
5666
5667		/* cluster1 */
5668		pmu@240b6400 {
5669			compatible = "qcom,x1e80100-cpu-bwmon", "qcom,sdm845-bwmon";
5670			reg = <0 0x240b6400 0 0x600>;
5671
5672			interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
5673
5674			interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
5675					 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>;
5676
5677			operating-points-v2 = <&cpu_bwmon_opp_table>;
5678		};
5679
5680		system-cache-controller@25000000 {
5681			compatible = "qcom,x1e80100-llcc";
5682			reg = <0 0x25000000 0 0x200000>,
5683			      <0 0x25200000 0 0x200000>,
5684			      <0 0x25400000 0 0x200000>,
5685			      <0 0x25600000 0 0x200000>,
5686			      <0 0x25800000 0 0x200000>,
5687			      <0 0x25a00000 0 0x200000>,
5688			      <0 0x25c00000 0 0x200000>,
5689			      <0 0x25e00000 0 0x200000>,
5690			      <0 0x26000000 0 0x200000>;
5691			reg-names = "llcc0_base",
5692				    "llcc1_base",
5693				    "llcc2_base",
5694				    "llcc3_base",
5695				    "llcc4_base",
5696				    "llcc5_base",
5697				    "llcc6_base",
5698				    "llcc7_base",
5699				    "llcc_broadcast_base";
5700			interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
5701		};
5702
5703		remoteproc_adsp: remoteproc@30000000 {
5704			compatible = "qcom,x1e80100-adsp-pas";
5705			reg = <0 0x30000000 0 0x100>;
5706
5707			interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
5708					      <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
5709					      <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
5710					      <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
5711					      <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
5712			interrupt-names = "wdog",
5713					  "fatal",
5714					  "ready",
5715					  "handover",
5716					  "stop-ack";
5717
5718			clocks = <&rpmhcc RPMH_CXO_CLK>;
5719			clock-names = "xo";
5720
5721			power-domains = <&rpmhpd RPMHPD_LCX>,
5722					<&rpmhpd RPMHPD_LMX>;
5723			power-domain-names = "lcx",
5724					     "lmx";
5725
5726			interconnects = <&lpass_lpicx_noc MASTER_LPASS_PROC QCOM_ICC_TAG_ALWAYS
5727					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
5728
5729			memory-region = <&adspslpi_mem>,
5730					<&q6_adsp_dtb_mem>;
5731
5732			qcom,qmp = <&aoss_qmp>;
5733
5734			qcom,smem-states = <&smp2p_adsp_out 0>;
5735			qcom,smem-state-names = "stop";
5736
5737			status = "disabled";
5738
5739			glink-edge {
5740				interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
5741							     IPCC_MPROC_SIGNAL_GLINK_QMP
5742							     IRQ_TYPE_EDGE_RISING>;
5743				mboxes = <&ipcc IPCC_CLIENT_LPASS
5744						IPCC_MPROC_SIGNAL_GLINK_QMP>;
5745
5746				label = "lpass";
5747				qcom,remote-pid = <2>;
5748
5749				fastrpc {
5750					compatible = "qcom,fastrpc";
5751					qcom,glink-channels = "fastrpcglink-apps-dsp";
5752					label = "adsp";
5753					qcom,non-secure-domain;
5754					#address-cells = <1>;
5755					#size-cells = <0>;
5756
5757					compute-cb@3 {
5758						compatible = "qcom,fastrpc-compute-cb";
5759						reg = <3>;
5760						iommus = <&apps_smmu 0x1003 0x80>,
5761							 <&apps_smmu 0x1063 0x0>;
5762						dma-coherent;
5763					};
5764
5765					compute-cb@4 {
5766						compatible = "qcom,fastrpc-compute-cb";
5767						reg = <4>;
5768						iommus = <&apps_smmu 0x1004 0x80>,
5769							 <&apps_smmu 0x1064 0x0>;
5770						dma-coherent;
5771					};
5772
5773					compute-cb@5 {
5774						compatible = "qcom,fastrpc-compute-cb";
5775						reg = <5>;
5776						iommus = <&apps_smmu 0x1005 0x80>,
5777							 <&apps_smmu 0x1065 0x0>;
5778						dma-coherent;
5779					};
5780
5781					compute-cb@6 {
5782						compatible = "qcom,fastrpc-compute-cb";
5783						reg = <6>;
5784						iommus = <&apps_smmu 0x1006 0x80>,
5785							 <&apps_smmu 0x1066 0x0>;
5786						dma-coherent;
5787					};
5788
5789					compute-cb@7 {
5790						compatible = "qcom,fastrpc-compute-cb";
5791						reg = <7>;
5792						iommus = <&apps_smmu 0x1007 0x80>,
5793							 <&apps_smmu 0x1067 0x0>;
5794						dma-coherent;
5795					};
5796				};
5797
5798				gpr {
5799					compatible = "qcom,gpr";
5800					qcom,glink-channels = "adsp_apps";
5801					qcom,domain = <GPR_DOMAIN_ID_ADSP>;
5802					qcom,intents = <512 20>;
5803					#address-cells = <1>;
5804					#size-cells = <0>;
5805
5806					q6apm: service@1 {
5807						compatible = "qcom,q6apm";
5808						reg = <GPR_APM_MODULE_IID>;
5809						#sound-dai-cells = <0>;
5810						qcom,protection-domain = "avs/audio",
5811									 "msm/adsp/audio_pd";
5812
5813						q6apmbedai: bedais {
5814							compatible = "qcom,q6apm-lpass-dais";
5815							#sound-dai-cells = <1>;
5816						};
5817
5818						q6apmdai: dais {
5819							compatible = "qcom,q6apm-dais";
5820							iommus = <&apps_smmu 0x1001 0x80>,
5821								 <&apps_smmu 0x1061 0x0>;
5822						};
5823					};
5824
5825					q6prm: service@2 {
5826						compatible = "qcom,q6prm";
5827						reg = <GPR_PRM_MODULE_IID>;
5828						qcom,protection-domain = "avs/audio",
5829									 "msm/adsp/audio_pd";
5830
5831						q6prmcc: clock-controller {
5832							compatible = "qcom,q6prm-lpass-clocks";
5833							#clock-cells = <2>;
5834						};
5835					};
5836				};
5837			};
5838		};
5839
5840		remoteproc_cdsp: remoteproc@32300000 {
5841			compatible = "qcom,x1e80100-cdsp-pas";
5842			reg = <0 0x32300000 0 0x1400000>;
5843
5844			interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
5845					      <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>,
5846					      <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>,
5847					      <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>,
5848					      <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>;
5849			interrupt-names = "wdog",
5850					  "fatal",
5851					  "ready",
5852					  "handover",
5853					  "stop-ack";
5854
5855			clocks = <&rpmhcc RPMH_CXO_CLK>;
5856			clock-names = "xo";
5857
5858			power-domains = <&rpmhpd RPMHPD_CX>,
5859					<&rpmhpd RPMHPD_MXC>,
5860					<&rpmhpd RPMHPD_NSP>;
5861			power-domain-names = "cx",
5862					     "mxc",
5863					     "nsp";
5864
5865			interconnects = <&nsp_noc MASTER_CDSP_PROC QCOM_ICC_TAG_ALWAYS
5866					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
5867
5868			memory-region = <&cdsp_mem>,
5869					<&q6_cdsp_dtb_mem>;
5870
5871			qcom,qmp = <&aoss_qmp>;
5872
5873			qcom,smem-states = <&smp2p_cdsp_out 0>;
5874			qcom,smem-state-names = "stop";
5875
5876			status = "disabled";
5877
5878			glink-edge {
5879				interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
5880							     IPCC_MPROC_SIGNAL_GLINK_QMP
5881							     IRQ_TYPE_EDGE_RISING>;
5882				mboxes = <&ipcc IPCC_CLIENT_CDSP
5883						IPCC_MPROC_SIGNAL_GLINK_QMP>;
5884
5885				label = "cdsp";
5886				qcom,remote-pid = <5>;
5887
5888				fastrpc {
5889					compatible = "qcom,fastrpc";
5890					qcom,glink-channels = "fastrpcglink-apps-dsp";
5891					label = "cdsp";
5892					qcom,non-secure-domain;
5893					#address-cells = <1>;
5894					#size-cells = <0>;
5895
5896					compute-cb@1 {
5897						compatible = "qcom,fastrpc-compute-cb";
5898						reg = <1>;
5899						iommus = <&apps_smmu 0x0c01 0x20>;
5900						dma-coherent;
5901					};
5902
5903					compute-cb@2 {
5904						compatible = "qcom,fastrpc-compute-cb";
5905						reg = <2>;
5906						iommus = <&apps_smmu 0x0c02 0x20>;
5907						dma-coherent;
5908					};
5909
5910					compute-cb@3 {
5911						compatible = "qcom,fastrpc-compute-cb";
5912						reg = <3>;
5913						iommus = <&apps_smmu 0x0c03 0x20>;
5914						dma-coherent;
5915					};
5916
5917					compute-cb@4 {
5918						compatible = "qcom,fastrpc-compute-cb";
5919						reg = <4>;
5920						iommus = <&apps_smmu 0x0c04 0x20>;
5921						dma-coherent;
5922					};
5923
5924					compute-cb@5 {
5925						compatible = "qcom,fastrpc-compute-cb";
5926						reg = <5>;
5927						iommus = <&apps_smmu 0x0c05 0x20>;
5928						dma-coherent;
5929					};
5930
5931					compute-cb@6 {
5932						compatible = "qcom,fastrpc-compute-cb";
5933						reg = <6>;
5934						iommus = <&apps_smmu 0x0c06 0x20>;
5935						dma-coherent;
5936					};
5937
5938					compute-cb@7 {
5939						compatible = "qcom,fastrpc-compute-cb";
5940						reg = <7>;
5941						iommus = <&apps_smmu 0x0c07 0x20>;
5942						dma-coherent;
5943					};
5944
5945					compute-cb@8 {
5946						compatible = "qcom,fastrpc-compute-cb";
5947						reg = <8>;
5948						iommus = <&apps_smmu 0x0c08 0x20>;
5949						dma-coherent;
5950					};
5951
5952					/* note: compute-cb@9 is secure */
5953
5954					compute-cb@10 {
5955						compatible = "qcom,fastrpc-compute-cb";
5956						reg = <10>;
5957						iommus = <&apps_smmu 0x0c0c 0x20>;
5958						dma-coherent;
5959					};
5960
5961					compute-cb@11 {
5962						compatible = "qcom,fastrpc-compute-cb";
5963						reg = <11>;
5964						iommus = <&apps_smmu 0x0c0d 0x20>;
5965						dma-coherent;
5966					};
5967
5968					compute-cb@12 {
5969						compatible = "qcom,fastrpc-compute-cb";
5970						reg = <12>;
5971						iommus = <&apps_smmu 0x0c0e 0x20>;
5972						dma-coherent;
5973					};
5974
5975					compute-cb@13 {
5976						compatible = "qcom,fastrpc-compute-cb";
5977						reg = <13>;
5978						iommus = <&apps_smmu 0x0c0f 0x20>;
5979						dma-coherent;
5980					};
5981				};
5982			};
5983		};
5984	};
5985
5986	timer {
5987		compatible = "arm,armv8-timer";
5988
5989		interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
5990			     <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
5991			     <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
5992			     <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
5993	};
5994
5995	thermal-zones {
5996		aoss0-thermal {
5997			thermal-sensors = <&tsens0 0>;
5998
5999			trips {
6000				trip-point0 {
6001					temperature = <90000>;
6002					hysteresis = <2000>;
6003					type = "hot";
6004				};
6005
6006				aoss0-critical {
6007					temperature = <125000>;
6008					hysteresis = <0>;
6009					type = "critical";
6010				};
6011			};
6012		};
6013
6014		cpu0-0-top-thermal {
6015			polling-delay-passive = <250>;
6016
6017			thermal-sensors = <&tsens0 1>;
6018
6019			trips {
6020				trip-point0 {
6021					temperature = <90000>;
6022					hysteresis = <2000>;
6023					type = "passive";
6024				};
6025
6026				trip-point1 {
6027					temperature = <95000>;
6028					hysteresis = <2000>;
6029					type = "passive";
6030				};
6031
6032				cpu-critical {
6033					temperature = <110000>;
6034					hysteresis = <1000>;
6035					type = "critical";
6036				};
6037			};
6038		};
6039
6040		cpu0-0-btm-thermal {
6041			polling-delay-passive = <250>;
6042
6043			thermal-sensors = <&tsens0 2>;
6044
6045			trips {
6046				trip-point0 {
6047					temperature = <90000>;
6048					hysteresis = <2000>;
6049					type = "passive";
6050				};
6051
6052				trip-point1 {
6053					temperature = <95000>;
6054					hysteresis = <2000>;
6055					type = "passive";
6056				};
6057
6058				cpu-critical {
6059					temperature = <110000>;
6060					hysteresis = <1000>;
6061					type = "critical";
6062				};
6063			};
6064		};
6065
6066		cpu0-1-top-thermal {
6067			polling-delay-passive = <250>;
6068
6069			thermal-sensors = <&tsens0 3>;
6070
6071			trips {
6072				trip-point0 {
6073					temperature = <90000>;
6074					hysteresis = <2000>;
6075					type = "passive";
6076				};
6077
6078				trip-point1 {
6079					temperature = <95000>;
6080					hysteresis = <2000>;
6081					type = "passive";
6082				};
6083
6084				cpu-critical {
6085					temperature = <110000>;
6086					hysteresis = <1000>;
6087					type = "critical";
6088				};
6089			};
6090		};
6091
6092		cpu0-1-btm-thermal {
6093			polling-delay-passive = <250>;
6094
6095			thermal-sensors = <&tsens0 4>;
6096
6097			trips {
6098				trip-point0 {
6099					temperature = <90000>;
6100					hysteresis = <2000>;
6101					type = "passive";
6102				};
6103
6104				trip-point1 {
6105					temperature = <95000>;
6106					hysteresis = <2000>;
6107					type = "passive";
6108				};
6109
6110				cpu-critical {
6111					temperature = <110000>;
6112					hysteresis = <1000>;
6113					type = "critical";
6114				};
6115			};
6116		};
6117
6118		cpu0-2-top-thermal {
6119			polling-delay-passive = <250>;
6120
6121			thermal-sensors = <&tsens0 5>;
6122
6123			trips {
6124				trip-point0 {
6125					temperature = <90000>;
6126					hysteresis = <2000>;
6127					type = "passive";
6128				};
6129
6130				trip-point1 {
6131					temperature = <95000>;
6132					hysteresis = <2000>;
6133					type = "passive";
6134				};
6135
6136				cpu-critical {
6137					temperature = <110000>;
6138					hysteresis = <1000>;
6139					type = "critical";
6140				};
6141			};
6142		};
6143
6144		cpu0-2-btm-thermal {
6145			polling-delay-passive = <250>;
6146
6147			thermal-sensors = <&tsens0 6>;
6148
6149			trips {
6150				trip-point0 {
6151					temperature = <90000>;
6152					hysteresis = <2000>;
6153					type = "passive";
6154				};
6155
6156				trip-point1 {
6157					temperature = <95000>;
6158					hysteresis = <2000>;
6159					type = "passive";
6160				};
6161
6162				cpu-critical {
6163					temperature = <110000>;
6164					hysteresis = <1000>;
6165					type = "critical";
6166				};
6167			};
6168		};
6169
6170		cpu0-3-top-thermal {
6171			polling-delay-passive = <250>;
6172
6173			thermal-sensors = <&tsens0 7>;
6174
6175			trips {
6176				trip-point0 {
6177					temperature = <90000>;
6178					hysteresis = <2000>;
6179					type = "passive";
6180				};
6181
6182				trip-point1 {
6183					temperature = <95000>;
6184					hysteresis = <2000>;
6185					type = "passive";
6186				};
6187
6188				cpu-critical {
6189					temperature = <110000>;
6190					hysteresis = <1000>;
6191					type = "critical";
6192				};
6193			};
6194		};
6195
6196		cpu0-3-btm-thermal {
6197			polling-delay-passive = <250>;
6198
6199			thermal-sensors = <&tsens0 8>;
6200
6201			trips {
6202				trip-point0 {
6203					temperature = <90000>;
6204					hysteresis = <2000>;
6205					type = "passive";
6206				};
6207
6208				trip-point1 {
6209					temperature = <95000>;
6210					hysteresis = <2000>;
6211					type = "passive";
6212				};
6213
6214				cpu-critical {
6215					temperature = <110000>;
6216					hysteresis = <1000>;
6217					type = "critical";
6218				};
6219			};
6220		};
6221
6222		cpuss0-top-thermal {
6223			thermal-sensors = <&tsens0 9>;
6224
6225			trips {
6226				trip-point0 {
6227					temperature = <90000>;
6228					hysteresis = <2000>;
6229					type = "hot";
6230				};
6231
6232				cpuss2-critical {
6233					temperature = <125000>;
6234					hysteresis = <0>;
6235					type = "critical";
6236				};
6237			};
6238		};
6239
6240		cpuss0-btm-thermal {
6241			thermal-sensors = <&tsens0 10>;
6242
6243			trips {
6244				trip-point0 {
6245					temperature = <90000>;
6246					hysteresis = <2000>;
6247					type = "hot";
6248				};
6249
6250				cpuss2-critical {
6251					temperature = <125000>;
6252					hysteresis = <0>;
6253					type = "critical";
6254				};
6255			};
6256		};
6257
6258		mem-thermal {
6259			thermal-sensors = <&tsens0 11>;
6260
6261			trips {
6262				trip-point0 {
6263					temperature = <90000>;
6264					hysteresis = <2000>;
6265					type = "hot";
6266				};
6267
6268				mem-critical {
6269					temperature = <125000>;
6270					hysteresis = <0>;
6271					type = "critical";
6272				};
6273			};
6274		};
6275
6276		video-thermal {
6277			polling-delay-passive = <250>;
6278
6279			thermal-sensors = <&tsens0 12>;
6280
6281			trips {
6282				trip-point0 {
6283					temperature = <125000>;
6284					hysteresis = <1000>;
6285					type = "passive";
6286				};
6287			};
6288		};
6289
6290		aoss1-thermal {
6291			thermal-sensors = <&tsens1 0>;
6292
6293			trips {
6294				trip-point0 {
6295					temperature = <90000>;
6296					hysteresis = <2000>;
6297					type = "hot";
6298				};
6299
6300				aoss0-critical {
6301					temperature = <125000>;
6302					hysteresis = <0>;
6303					type = "critical";
6304				};
6305			};
6306		};
6307
6308		cpu1-0-top-thermal {
6309			polling-delay-passive = <250>;
6310
6311			thermal-sensors = <&tsens1 1>;
6312
6313			trips {
6314				trip-point0 {
6315					temperature = <90000>;
6316					hysteresis = <2000>;
6317					type = "passive";
6318				};
6319
6320				trip-point1 {
6321					temperature = <95000>;
6322					hysteresis = <2000>;
6323					type = "passive";
6324				};
6325
6326				cpu-critical {
6327					temperature = <110000>;
6328					hysteresis = <1000>;
6329					type = "critical";
6330				};
6331			};
6332		};
6333
6334		cpu1-0-btm-thermal {
6335			polling-delay-passive = <250>;
6336
6337			thermal-sensors = <&tsens1 2>;
6338
6339			trips {
6340				trip-point0 {
6341					temperature = <90000>;
6342					hysteresis = <2000>;
6343					type = "passive";
6344				};
6345
6346				trip-point1 {
6347					temperature = <95000>;
6348					hysteresis = <2000>;
6349					type = "passive";
6350				};
6351
6352				cpu-critical {
6353					temperature = <110000>;
6354					hysteresis = <1000>;
6355					type = "critical";
6356				};
6357			};
6358		};
6359
6360		cpu1-1-top-thermal {
6361			polling-delay-passive = <250>;
6362
6363			thermal-sensors = <&tsens1 3>;
6364
6365			trips {
6366				trip-point0 {
6367					temperature = <90000>;
6368					hysteresis = <2000>;
6369					type = "passive";
6370				};
6371
6372				trip-point1 {
6373					temperature = <95000>;
6374					hysteresis = <2000>;
6375					type = "passive";
6376				};
6377
6378				cpu-critical {
6379					temperature = <110000>;
6380					hysteresis = <1000>;
6381					type = "critical";
6382				};
6383			};
6384		};
6385
6386		cpu1-1-btm-thermal {
6387			polling-delay-passive = <250>;
6388
6389			thermal-sensors = <&tsens1 4>;
6390
6391			trips {
6392				trip-point0 {
6393					temperature = <90000>;
6394					hysteresis = <2000>;
6395					type = "passive";
6396				};
6397
6398				trip-point1 {
6399					temperature = <95000>;
6400					hysteresis = <2000>;
6401					type = "passive";
6402				};
6403
6404				cpu-critical {
6405					temperature = <110000>;
6406					hysteresis = <1000>;
6407					type = "critical";
6408				};
6409			};
6410		};
6411
6412		cpu1-2-top-thermal {
6413			polling-delay-passive = <250>;
6414
6415			thermal-sensors = <&tsens1 5>;
6416
6417			trips {
6418				trip-point0 {
6419					temperature = <90000>;
6420					hysteresis = <2000>;
6421					type = "passive";
6422				};
6423
6424				trip-point1 {
6425					temperature = <95000>;
6426					hysteresis = <2000>;
6427					type = "passive";
6428				};
6429
6430				cpu-critical {
6431					temperature = <110000>;
6432					hysteresis = <1000>;
6433					type = "critical";
6434				};
6435			};
6436		};
6437
6438		cpu1-2-btm-thermal {
6439			polling-delay-passive = <250>;
6440
6441			thermal-sensors = <&tsens1 6>;
6442
6443			trips {
6444				trip-point0 {
6445					temperature = <90000>;
6446					hysteresis = <2000>;
6447					type = "passive";
6448				};
6449
6450				trip-point1 {
6451					temperature = <95000>;
6452					hysteresis = <2000>;
6453					type = "passive";
6454				};
6455
6456				cpu-critical {
6457					temperature = <110000>;
6458					hysteresis = <1000>;
6459					type = "critical";
6460				};
6461			};
6462		};
6463
6464		cpu1-3-top-thermal {
6465			polling-delay-passive = <250>;
6466
6467			thermal-sensors = <&tsens1 7>;
6468
6469			trips {
6470				trip-point0 {
6471					temperature = <90000>;
6472					hysteresis = <2000>;
6473					type = "passive";
6474				};
6475
6476				trip-point1 {
6477					temperature = <95000>;
6478					hysteresis = <2000>;
6479					type = "passive";
6480				};
6481
6482				cpu-critical {
6483					temperature = <110000>;
6484					hysteresis = <1000>;
6485					type = "critical";
6486				};
6487			};
6488		};
6489
6490		cpu1-3-btm-thermal {
6491			polling-delay-passive = <250>;
6492
6493			thermal-sensors = <&tsens1 8>;
6494
6495			trips {
6496				trip-point0 {
6497					temperature = <90000>;
6498					hysteresis = <2000>;
6499					type = "passive";
6500				};
6501
6502				trip-point1 {
6503					temperature = <95000>;
6504					hysteresis = <2000>;
6505					type = "passive";
6506				};
6507
6508				cpu-critical {
6509					temperature = <110000>;
6510					hysteresis = <1000>;
6511					type = "critical";
6512				};
6513			};
6514		};
6515
6516		cpuss1-top-thermal {
6517			thermal-sensors = <&tsens1 9>;
6518
6519			trips {
6520				trip-point0 {
6521					temperature = <90000>;
6522					hysteresis = <2000>;
6523					type = "hot";
6524				};
6525
6526				cpuss2-critical {
6527					temperature = <125000>;
6528					hysteresis = <0>;
6529					type = "critical";
6530				};
6531			};
6532		};
6533
6534		cpuss1-btm-thermal {
6535			thermal-sensors = <&tsens1 10>;
6536
6537			trips {
6538				trip-point0 {
6539					temperature = <90000>;
6540					hysteresis = <2000>;
6541					type = "hot";
6542				};
6543
6544				cpuss2-critical {
6545					temperature = <125000>;
6546					hysteresis = <0>;
6547					type = "critical";
6548				};
6549			};
6550		};
6551
6552		aoss2-thermal {
6553			thermal-sensors = <&tsens2 0>;
6554
6555			trips {
6556				trip-point0 {
6557					temperature = <90000>;
6558					hysteresis = <2000>;
6559					type = "hot";
6560				};
6561
6562				aoss0-critical {
6563					temperature = <125000>;
6564					hysteresis = <0>;
6565					type = "critical";
6566				};
6567			};
6568		};
6569
6570		cpu2-0-top-thermal {
6571			polling-delay-passive = <250>;
6572
6573			thermal-sensors = <&tsens2 1>;
6574
6575			trips {
6576				trip-point0 {
6577					temperature = <90000>;
6578					hysteresis = <2000>;
6579					type = "passive";
6580				};
6581
6582				trip-point1 {
6583					temperature = <95000>;
6584					hysteresis = <2000>;
6585					type = "passive";
6586				};
6587
6588				cpu-critical {
6589					temperature = <110000>;
6590					hysteresis = <1000>;
6591					type = "critical";
6592				};
6593			};
6594		};
6595
6596		cpu2-0-btm-thermal {
6597			polling-delay-passive = <250>;
6598
6599			thermal-sensors = <&tsens2 2>;
6600
6601			trips {
6602				trip-point0 {
6603					temperature = <90000>;
6604					hysteresis = <2000>;
6605					type = "passive";
6606				};
6607
6608				trip-point1 {
6609					temperature = <95000>;
6610					hysteresis = <2000>;
6611					type = "passive";
6612				};
6613
6614				cpu-critical {
6615					temperature = <110000>;
6616					hysteresis = <1000>;
6617					type = "critical";
6618				};
6619			};
6620		};
6621
6622		cpu2-1-top-thermal {
6623			polling-delay-passive = <250>;
6624
6625			thermal-sensors = <&tsens2 3>;
6626
6627			trips {
6628				trip-point0 {
6629					temperature = <90000>;
6630					hysteresis = <2000>;
6631					type = "passive";
6632				};
6633
6634				trip-point1 {
6635					temperature = <95000>;
6636					hysteresis = <2000>;
6637					type = "passive";
6638				};
6639
6640				cpu-critical {
6641					temperature = <110000>;
6642					hysteresis = <1000>;
6643					type = "critical";
6644				};
6645			};
6646		};
6647
6648		cpu2-1-btm-thermal {
6649			polling-delay-passive = <250>;
6650
6651			thermal-sensors = <&tsens2 4>;
6652
6653			trips {
6654				trip-point0 {
6655					temperature = <90000>;
6656					hysteresis = <2000>;
6657					type = "passive";
6658				};
6659
6660				trip-point1 {
6661					temperature = <95000>;
6662					hysteresis = <2000>;
6663					type = "passive";
6664				};
6665
6666				cpu-critical {
6667					temperature = <110000>;
6668					hysteresis = <1000>;
6669					type = "critical";
6670				};
6671			};
6672		};
6673
6674		cpu2-2-top-thermal {
6675			polling-delay-passive = <250>;
6676
6677			thermal-sensors = <&tsens2 5>;
6678
6679			trips {
6680				trip-point0 {
6681					temperature = <90000>;
6682					hysteresis = <2000>;
6683					type = "passive";
6684				};
6685
6686				trip-point1 {
6687					temperature = <95000>;
6688					hysteresis = <2000>;
6689					type = "passive";
6690				};
6691
6692				cpu-critical {
6693					temperature = <110000>;
6694					hysteresis = <1000>;
6695					type = "critical";
6696				};
6697			};
6698		};
6699
6700		cpu2-2-btm-thermal {
6701			polling-delay-passive = <250>;
6702
6703			thermal-sensors = <&tsens2 6>;
6704
6705			trips {
6706				trip-point0 {
6707					temperature = <90000>;
6708					hysteresis = <2000>;
6709					type = "passive";
6710				};
6711
6712				trip-point1 {
6713					temperature = <95000>;
6714					hysteresis = <2000>;
6715					type = "passive";
6716				};
6717
6718				cpu-critical {
6719					temperature = <110000>;
6720					hysteresis = <1000>;
6721					type = "critical";
6722				};
6723			};
6724		};
6725
6726		cpu2-3-top-thermal {
6727			polling-delay-passive = <250>;
6728
6729			thermal-sensors = <&tsens2 7>;
6730
6731			trips {
6732				trip-point0 {
6733					temperature = <90000>;
6734					hysteresis = <2000>;
6735					type = "passive";
6736				};
6737
6738				trip-point1 {
6739					temperature = <95000>;
6740					hysteresis = <2000>;
6741					type = "passive";
6742				};
6743
6744				cpu-critical {
6745					temperature = <110000>;
6746					hysteresis = <1000>;
6747					type = "critical";
6748				};
6749			};
6750		};
6751
6752		cpu2-3-btm-thermal {
6753			polling-delay-passive = <250>;
6754
6755			thermal-sensors = <&tsens2 8>;
6756
6757			trips {
6758				trip-point0 {
6759					temperature = <90000>;
6760					hysteresis = <2000>;
6761					type = "passive";
6762				};
6763
6764				trip-point1 {
6765					temperature = <95000>;
6766					hysteresis = <2000>;
6767					type = "passive";
6768				};
6769
6770				cpu-critical {
6771					temperature = <110000>;
6772					hysteresis = <1000>;
6773					type = "critical";
6774				};
6775			};
6776		};
6777
6778		cpuss2-top-thermal {
6779			thermal-sensors = <&tsens2 9>;
6780
6781			trips {
6782				trip-point0 {
6783					temperature = <90000>;
6784					hysteresis = <2000>;
6785					type = "hot";
6786				};
6787
6788				cpuss2-critical {
6789					temperature = <125000>;
6790					hysteresis = <0>;
6791					type = "critical";
6792				};
6793			};
6794		};
6795
6796		cpuss2-btm-thermal {
6797			thermal-sensors = <&tsens2 10>;
6798
6799			trips {
6800				trip-point0 {
6801					temperature = <90000>;
6802					hysteresis = <2000>;
6803					type = "hot";
6804				};
6805
6806				cpuss2-critical {
6807					temperature = <125000>;
6808					hysteresis = <0>;
6809					type = "critical";
6810				};
6811			};
6812		};
6813
6814		aoss3-thermal {
6815			thermal-sensors = <&tsens3 0>;
6816
6817			trips {
6818				trip-point0 {
6819					temperature = <90000>;
6820					hysteresis = <2000>;
6821					type = "hot";
6822				};
6823
6824				aoss0-critical {
6825					temperature = <125000>;
6826					hysteresis = <0>;
6827					type = "critical";
6828				};
6829			};
6830		};
6831
6832		nsp0-thermal {
6833			thermal-sensors = <&tsens3 1>;
6834
6835			trips {
6836				trip-point0 {
6837					temperature = <90000>;
6838					hysteresis = <2000>;
6839					type = "hot";
6840				};
6841
6842				nsp0-critical {
6843					temperature = <125000>;
6844					hysteresis = <0>;
6845					type = "critical";
6846				};
6847			};
6848		};
6849
6850		nsp1-thermal {
6851			thermal-sensors = <&tsens3 2>;
6852
6853			trips {
6854				trip-point0 {
6855					temperature = <90000>;
6856					hysteresis = <2000>;
6857					type = "hot";
6858				};
6859
6860				nsp1-critical {
6861					temperature = <125000>;
6862					hysteresis = <0>;
6863					type = "critical";
6864				};
6865			};
6866		};
6867
6868		nsp2-thermal {
6869			thermal-sensors = <&tsens3 3>;
6870
6871			trips {
6872				trip-point0 {
6873					temperature = <90000>;
6874					hysteresis = <2000>;
6875					type = "hot";
6876				};
6877
6878				nsp2-critical {
6879					temperature = <125000>;
6880					hysteresis = <0>;
6881					type = "critical";
6882				};
6883			};
6884		};
6885
6886		nsp3-thermal {
6887			thermal-sensors = <&tsens3 4>;
6888
6889			trips {
6890				trip-point0 {
6891					temperature = <90000>;
6892					hysteresis = <2000>;
6893					type = "hot";
6894				};
6895
6896				nsp3-critical {
6897					temperature = <125000>;
6898					hysteresis = <0>;
6899					type = "critical";
6900				};
6901			};
6902		};
6903
6904		gpuss-0-thermal {
6905			polling-delay-passive = <10>;
6906
6907			thermal-sensors = <&tsens3 5>;
6908
6909			trips {
6910				trip-point0 {
6911					temperature = <85000>;
6912					hysteresis = <1000>;
6913					type = "passive";
6914				};
6915
6916				trip-point1 {
6917					temperature = <90000>;
6918					hysteresis = <1000>;
6919					type = "hot";
6920				};
6921
6922				trip-point2 {
6923					temperature = <125000>;
6924					hysteresis = <1000>;
6925					type = "critical";
6926				};
6927			};
6928		};
6929
6930		gpuss-1-thermal {
6931			polling-delay-passive = <10>;
6932
6933			thermal-sensors = <&tsens3 6>;
6934
6935			trips {
6936				trip-point0 {
6937					temperature = <85000>;
6938					hysteresis = <1000>;
6939					type = "passive";
6940				};
6941
6942				trip-point1 {
6943					temperature = <90000>;
6944					hysteresis = <1000>;
6945					type = "hot";
6946				};
6947
6948				trip-point2 {
6949					temperature = <125000>;
6950					hysteresis = <1000>;
6951					type = "critical";
6952				};
6953			};
6954		};
6955
6956		gpuss-2-thermal {
6957			polling-delay-passive = <10>;
6958
6959			thermal-sensors = <&tsens3 7>;
6960
6961			trips {
6962				trip-point0 {
6963					temperature = <85000>;
6964					hysteresis = <1000>;
6965					type = "passive";
6966				};
6967
6968				trip-point1 {
6969					temperature = <90000>;
6970					hysteresis = <1000>;
6971					type = "hot";
6972				};
6973
6974				trip-point2 {
6975					temperature = <125000>;
6976					hysteresis = <1000>;
6977					type = "critical";
6978				};
6979			};
6980		};
6981
6982		gpuss-3-thermal {
6983			polling-delay-passive = <10>;
6984
6985			thermal-sensors = <&tsens3 8>;
6986
6987			trips {
6988				trip-point0 {
6989					temperature = <85000>;
6990					hysteresis = <1000>;
6991					type = "passive";
6992				};
6993
6994				trip-point1 {
6995					temperature = <90000>;
6996					hysteresis = <1000>;
6997					type = "hot";
6998				};
6999
7000				trip-point2 {
7001					temperature = <125000>;
7002					hysteresis = <1000>;
7003					type = "critical";
7004				};
7005			};
7006		};
7007
7008		gpuss-4-thermal {
7009			polling-delay-passive = <10>;
7010
7011			thermal-sensors = <&tsens3 9>;
7012
7013			trips {
7014				trip-point0 {
7015					temperature = <85000>;
7016					hysteresis = <1000>;
7017					type = "passive";
7018				};
7019
7020				trip-point1 {
7021					temperature = <90000>;
7022					hysteresis = <1000>;
7023					type = "hot";
7024				};
7025
7026				trip-point2 {
7027					temperature = <125000>;
7028					hysteresis = <1000>;
7029					type = "critical";
7030				};
7031			};
7032		};
7033
7034		gpuss-5-thermal {
7035			polling-delay-passive = <10>;
7036
7037			thermal-sensors = <&tsens3 10>;
7038
7039			trips {
7040				trip-point0 {
7041					temperature = <85000>;
7042					hysteresis = <1000>;
7043					type = "passive";
7044				};
7045
7046				trip-point1 {
7047					temperature = <90000>;
7048					hysteresis = <1000>;
7049					type = "hot";
7050				};
7051
7052				trip-point2 {
7053					temperature = <125000>;
7054					hysteresis = <1000>;
7055					type = "critical";
7056				};
7057			};
7058		};
7059
7060		gpuss-6-thermal {
7061			polling-delay-passive = <10>;
7062
7063			thermal-sensors = <&tsens3 11>;
7064
7065			trips {
7066				trip-point0 {
7067					temperature = <85000>;
7068					hysteresis = <1000>;
7069					type = "passive";
7070				};
7071
7072				trip-point1 {
7073					temperature = <90000>;
7074					hysteresis = <1000>;
7075					type = "hot";
7076				};
7077
7078				trip-point2 {
7079					temperature = <125000>;
7080					hysteresis = <1000>;
7081					type = "critical";
7082				};
7083			};
7084		};
7085
7086		gpuss-7-thermal {
7087			polling-delay-passive = <10>;
7088
7089			thermal-sensors = <&tsens3 12>;
7090
7091			trips {
7092				trip-point0 {
7093					temperature = <85000>;
7094					hysteresis = <1000>;
7095					type = "passive";
7096				};
7097
7098				trip-point1 {
7099					temperature = <90000>;
7100					hysteresis = <1000>;
7101					type = "hot";
7102				};
7103
7104				trip-point2 {
7105					temperature = <125000>;
7106					hysteresis = <1000>;
7107					type = "critical";
7108				};
7109			};
7110		};
7111
7112		camera0-thermal {
7113			thermal-sensors = <&tsens3 13>;
7114
7115			trips {
7116				trip-point0 {
7117					temperature = <90000>;
7118					hysteresis = <2000>;
7119					type = "hot";
7120				};
7121
7122				camera0-critical {
7123					temperature = <115000>;
7124					hysteresis = <0>;
7125					type = "critical";
7126				};
7127			};
7128		};
7129
7130		camera1-thermal {
7131			thermal-sensors = <&tsens3 14>;
7132
7133			trips {
7134				trip-point0 {
7135					temperature = <90000>;
7136					hysteresis = <2000>;
7137					type = "hot";
7138				};
7139
7140				camera0-critical {
7141					temperature = <115000>;
7142					hysteresis = <0>;
7143					type = "critical";
7144				};
7145			};
7146		};
7147	};
7148};
7149