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