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