xref: /linux/arch/arm64/boot/dts/qcom/sm8450.dtsi (revision 908fc4c2)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2021, Linaro Limited
4 */
5
6#include <dt-bindings/interrupt-controller/arm-gic.h>
7#include <dt-bindings/clock/qcom,gcc-sm8450.h>
8#include <dt-bindings/clock/qcom,rpmh.h>
9#include <dt-bindings/dma/qcom-gpi.h>
10#include <dt-bindings/gpio/gpio.h>
11#include <dt-bindings/mailbox/qcom-ipcc.h>
12#include <dt-bindings/power/qcom-rpmpd.h>
13#include <dt-bindings/interconnect/qcom,sm8450.h>
14#include <dt-bindings/soc/qcom,rpmh-rsc.h>
15#include <dt-bindings/thermal/thermal.h>
16
17/ {
18	interrupt-parent = <&intc>;
19
20	#address-cells = <2>;
21	#size-cells = <2>;
22
23	chosen { };
24
25	clocks {
26		xo_board: xo-board {
27			compatible = "fixed-clock";
28			#clock-cells = <0>;
29			clock-frequency = <76800000>;
30		};
31
32		sleep_clk: sleep-clk {
33			compatible = "fixed-clock";
34			#clock-cells = <0>;
35			clock-frequency = <32000>;
36		};
37	};
38
39	cpus {
40		#address-cells = <2>;
41		#size-cells = <0>;
42
43		CPU0: cpu@0 {
44			device_type = "cpu";
45			compatible = "qcom,kryo780";
46			reg = <0x0 0x0>;
47			enable-method = "psci";
48			next-level-cache = <&L2_0>;
49			power-domains = <&CPU_PD0>;
50			power-domain-names = "psci";
51			qcom,freq-domain = <&cpufreq_hw 0>;
52			#cooling-cells = <2>;
53			L2_0: l2-cache {
54			      compatible = "cache";
55			      next-level-cache = <&L3_0>;
56				L3_0: l3-cache {
57				      compatible = "cache";
58				};
59			};
60		};
61
62		CPU1: cpu@100 {
63			device_type = "cpu";
64			compatible = "qcom,kryo780";
65			reg = <0x0 0x100>;
66			enable-method = "psci";
67			next-level-cache = <&L2_100>;
68			power-domains = <&CPU_PD1>;
69			power-domain-names = "psci";
70			qcom,freq-domain = <&cpufreq_hw 0>;
71			#cooling-cells = <2>;
72			L2_100: l2-cache {
73			      compatible = "cache";
74			      next-level-cache = <&L3_0>;
75			};
76		};
77
78		CPU2: cpu@200 {
79			device_type = "cpu";
80			compatible = "qcom,kryo780";
81			reg = <0x0 0x200>;
82			enable-method = "psci";
83			next-level-cache = <&L2_200>;
84			power-domains = <&CPU_PD2>;
85			power-domain-names = "psci";
86			qcom,freq-domain = <&cpufreq_hw 0>;
87			#cooling-cells = <2>;
88			L2_200: l2-cache {
89			      compatible = "cache";
90			      next-level-cache = <&L3_0>;
91			};
92		};
93
94		CPU3: cpu@300 {
95			device_type = "cpu";
96			compatible = "qcom,kryo780";
97			reg = <0x0 0x300>;
98			enable-method = "psci";
99			next-level-cache = <&L2_300>;
100			power-domains = <&CPU_PD3>;
101			power-domain-names = "psci";
102			qcom,freq-domain = <&cpufreq_hw 0>;
103			#cooling-cells = <2>;
104			L2_300: l2-cache {
105			      compatible = "cache";
106			      next-level-cache = <&L3_0>;
107			};
108		};
109
110		CPU4: cpu@400 {
111			device_type = "cpu";
112			compatible = "qcom,kryo780";
113			reg = <0x0 0x400>;
114			enable-method = "psci";
115			next-level-cache = <&L2_400>;
116			power-domains = <&CPU_PD4>;
117			power-domain-names = "psci";
118			qcom,freq-domain = <&cpufreq_hw 1>;
119			#cooling-cells = <2>;
120			L2_400: l2-cache {
121			      compatible = "cache";
122			      next-level-cache = <&L3_0>;
123			};
124		};
125
126		CPU5: cpu@500 {
127			device_type = "cpu";
128			compatible = "qcom,kryo780";
129			reg = <0x0 0x500>;
130			enable-method = "psci";
131			next-level-cache = <&L2_500>;
132			power-domains = <&CPU_PD5>;
133			power-domain-names = "psci";
134			qcom,freq-domain = <&cpufreq_hw 1>;
135			#cooling-cells = <2>;
136			L2_500: l2-cache {
137			      compatible = "cache";
138			      next-level-cache = <&L3_0>;
139			};
140
141		};
142
143		CPU6: cpu@600 {
144			device_type = "cpu";
145			compatible = "qcom,kryo780";
146			reg = <0x0 0x600>;
147			enable-method = "psci";
148			next-level-cache = <&L2_600>;
149			power-domains = <&CPU_PD6>;
150			power-domain-names = "psci";
151			qcom,freq-domain = <&cpufreq_hw 1>;
152			#cooling-cells = <2>;
153			L2_600: l2-cache {
154			      compatible = "cache";
155			      next-level-cache = <&L3_0>;
156			};
157		};
158
159		CPU7: cpu@700 {
160			device_type = "cpu";
161			compatible = "qcom,kryo780";
162			reg = <0x0 0x700>;
163			enable-method = "psci";
164			next-level-cache = <&L2_700>;
165			power-domains = <&CPU_PD7>;
166			power-domain-names = "psci";
167			qcom,freq-domain = <&cpufreq_hw 2>;
168			#cooling-cells = <2>;
169			L2_700: l2-cache {
170			      compatible = "cache";
171			      next-level-cache = <&L3_0>;
172			};
173		};
174
175		cpu-map {
176			cluster0 {
177				core0 {
178					cpu = <&CPU0>;
179				};
180
181				core1 {
182					cpu = <&CPU1>;
183				};
184
185				core2 {
186					cpu = <&CPU2>;
187				};
188
189				core3 {
190					cpu = <&CPU3>;
191				};
192
193				core4 {
194					cpu = <&CPU4>;
195				};
196
197				core5 {
198					cpu = <&CPU5>;
199				};
200
201				core6 {
202					cpu = <&CPU6>;
203				};
204
205				core7 {
206					cpu = <&CPU7>;
207				};
208			};
209		};
210
211		idle-states {
212			entry-method = "psci";
213
214			LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
215				compatible = "arm,idle-state";
216				idle-state-name = "silver-rail-power-collapse";
217				arm,psci-suspend-param = <0x40000004>;
218				entry-latency-us = <800>;
219				exit-latency-us = <750>;
220				min-residency-us = <4090>;
221				local-timer-stop;
222			};
223
224			BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
225				compatible = "arm,idle-state";
226				idle-state-name = "gold-rail-power-collapse";
227				arm,psci-suspend-param = <0x40000004>;
228				entry-latency-us = <600>;
229				exit-latency-us = <1550>;
230				min-residency-us = <4791>;
231				local-timer-stop;
232			};
233		};
234
235		domain-idle-states {
236			CLUSTER_SLEEP_0: cluster-sleep-0 {
237				compatible = "domain-idle-state";
238				idle-state-name = "cluster-l3-off";
239				arm,psci-suspend-param = <0x41000044>;
240				entry-latency-us = <1050>;
241				exit-latency-us = <2500>;
242				min-residency-us = <5309>;
243				local-timer-stop;
244			};
245
246			CLUSTER_SLEEP_1: cluster-sleep-1 {
247				compatible = "domain-idle-state";
248				idle-state-name = "cluster-power-collapse";
249				arm,psci-suspend-param = <0x4100c344>;
250				entry-latency-us = <2700>;
251				exit-latency-us = <3500>;
252				min-residency-us = <13959>;
253				local-timer-stop;
254			};
255		};
256	};
257
258	firmware {
259		scm: scm {
260			compatible = "qcom,scm-sm8450", "qcom,scm";
261			#reset-cells = <1>;
262		};
263	};
264
265	clk_virt: interconnect@0 {
266		compatible = "qcom,sm8450-clk-virt";
267		#interconnect-cells = <2>;
268		qcom,bcm-voters = <&apps_bcm_voter>;
269	};
270
271	mc_virt: interconnect@1 {
272		compatible = "qcom,sm8450-mc-virt";
273		#interconnect-cells = <2>;
274		qcom,bcm-voters = <&apps_bcm_voter>;
275	};
276
277	memory@a0000000 {
278		device_type = "memory";
279		/* We expect the bootloader to fill in the size */
280		reg = <0x0 0xa0000000 0x0 0x0>;
281	};
282
283	pmu {
284		compatible = "arm,armv8-pmuv3";
285		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
286	};
287
288	psci {
289		compatible = "arm,psci-1.0";
290		method = "smc";
291
292		CPU_PD0: cpu0 {
293			#power-domain-cells = <0>;
294			power-domains = <&CLUSTER_PD>;
295			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
296		};
297
298		CPU_PD1: cpu1 {
299			#power-domain-cells = <0>;
300			power-domains = <&CLUSTER_PD>;
301			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
302		};
303
304		CPU_PD2: cpu2 {
305			#power-domain-cells = <0>;
306			power-domains = <&CLUSTER_PD>;
307			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
308		};
309
310		CPU_PD3: cpu3 {
311			#power-domain-cells = <0>;
312			power-domains = <&CLUSTER_PD>;
313			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
314		};
315
316		CPU_PD4: cpu4 {
317			#power-domain-cells = <0>;
318			power-domains = <&CLUSTER_PD>;
319			domain-idle-states = <&BIG_CPU_SLEEP_0>;
320		};
321
322		CPU_PD5: cpu5 {
323			#power-domain-cells = <0>;
324			power-domains = <&CLUSTER_PD>;
325			domain-idle-states = <&BIG_CPU_SLEEP_0>;
326		};
327
328		CPU_PD6: cpu6 {
329			#power-domain-cells = <0>;
330			power-domains = <&CLUSTER_PD>;
331			domain-idle-states = <&BIG_CPU_SLEEP_0>;
332		};
333
334		CPU_PD7: cpu7 {
335			#power-domain-cells = <0>;
336			power-domains = <&CLUSTER_PD>;
337			domain-idle-states = <&BIG_CPU_SLEEP_0>;
338		};
339
340		CLUSTER_PD: cpu-cluster0 {
341			#power-domain-cells = <0>;
342			domain-idle-states = <&CLUSTER_SLEEP_0>, <&CLUSTER_SLEEP_1>;
343		};
344	};
345
346	qup_opp_table_100mhz: qup-100mhz-opp-table {
347		compatible = "operating-points-v2";
348
349		opp-50000000 {
350			opp-hz = /bits/ 64 <50000000>;
351			required-opps = <&rpmhpd_opp_min_svs>;
352		};
353
354		opp-75000000 {
355			opp-hz = /bits/ 64 <75000000>;
356			required-opps = <&rpmhpd_opp_low_svs>;
357		};
358
359		opp-100000000 {
360			opp-hz = /bits/ 64 <100000000>;
361			required-opps = <&rpmhpd_opp_svs>;
362		};
363	};
364
365	reserved_memory: reserved-memory {
366		#address-cells = <2>;
367		#size-cells = <2>;
368		ranges;
369
370		hyp_mem: memory@80000000 {
371			reg = <0x0 0x80000000 0x0 0x600000>;
372			no-map;
373		};
374
375		xbl_dt_log_mem: memory@80600000 {
376			reg = <0x0 0x80600000 0x0 0x40000>;
377			no-map;
378		};
379
380		xbl_ramdump_mem: memory@80640000 {
381			reg = <0x0 0x80640000 0x0 0x180000>;
382			no-map;
383		};
384
385		xbl_sc_mem: memory@807c0000 {
386			reg = <0x0 0x807c0000 0x0 0x40000>;
387			no-map;
388		};
389
390		aop_image_mem: memory@80800000 {
391			reg = <0x0 0x80800000 0x0 0x60000>;
392			no-map;
393		};
394
395		aop_cmd_db_mem: memory@80860000 {
396			compatible = "qcom,cmd-db";
397			reg = <0x0 0x80860000 0x0 0x20000>;
398			no-map;
399		};
400
401		aop_config_mem: memory@80880000 {
402			reg = <0x0 0x80880000 0x0 0x20000>;
403			no-map;
404		};
405
406		tme_crash_dump_mem: memory@808a0000 {
407			reg = <0x0 0x808a0000 0x0 0x40000>;
408			no-map;
409		};
410
411		tme_log_mem: memory@808e0000 {
412			reg = <0x0 0x808e0000 0x0 0x4000>;
413			no-map;
414		};
415
416		uefi_log_mem: memory@808e4000 {
417			reg = <0x0 0x808e4000 0x0 0x10000>;
418			no-map;
419		};
420
421		/* secdata region can be reused by apps */
422		smem: memory@80900000 {
423			compatible = "qcom,smem";
424			reg = <0x0 0x80900000 0x0 0x200000>;
425			hwlocks = <&tcsr_mutex 3>;
426			no-map;
427		};
428
429		cpucp_fw_mem: memory@80b00000 {
430			reg = <0x0 0x80b00000 0x0 0x100000>;
431			no-map;
432		};
433
434		cdsp_secure_heap: memory@80c00000 {
435			reg = <0x0 0x80c00000 0x0 0x4600000>;
436			no-map;
437		};
438
439		camera_mem: memory@85200000 {
440			reg = <0x0 0x85200000 0x0 0x500000>;
441			no-map;
442		};
443
444		video_mem: memory@85700000 {
445			reg = <0x0 0x85700000 0x0 0x700000>;
446			no-map;
447		};
448
449		adsp_mem: memory@85e00000 {
450			reg = <0x0 0x85e00000 0x0 0x2100000>;
451			no-map;
452		};
453
454		slpi_mem: memory@88000000 {
455			reg = <0x0 0x88000000 0x0 0x1900000>;
456			no-map;
457		};
458
459		cdsp_mem: memory@89900000 {
460			reg = <0x0 0x89900000 0x0 0x2000000>;
461			no-map;
462		};
463
464		ipa_fw_mem: memory@8b900000 {
465			reg = <0x0 0x8b900000 0x0 0x10000>;
466			no-map;
467		};
468
469		ipa_gsi_mem: memory@8b910000 {
470			reg = <0x0 0x8b910000 0x0 0xa000>;
471			no-map;
472		};
473
474		gpu_micro_code_mem: memory@8b91a000 {
475			reg = <0x0 0x8b91a000 0x0 0x2000>;
476			no-map;
477		};
478
479		spss_region_mem: memory@8ba00000 {
480			reg = <0x0 0x8ba00000 0x0 0x180000>;
481			no-map;
482		};
483
484		/* First part of the "SPU secure shared memory" region */
485		spu_tz_shared_mem: memory@8bb80000 {
486			reg = <0x0 0x8bb80000 0x0 0x60000>;
487			no-map;
488		};
489
490		/* Second part of the "SPU secure shared memory" region */
491		spu_modem_shared_mem: memory@8bbe0000 {
492			reg = <0x0 0x8bbe0000 0x0 0x20000>;
493			no-map;
494		};
495
496		mpss_mem: memory@8bc00000 {
497			reg = <0x0 0x8bc00000 0x0 0x13200000>;
498			no-map;
499		};
500
501		cvp_mem: memory@9ee00000 {
502			reg = <0x0 0x9ee00000 0x0 0x700000>;
503			no-map;
504		};
505
506		rmtfs_mem: memory@9fd00000 {
507			compatible = "qcom,rmtfs-mem";
508			reg = <0x0 0x9fd00000 0x0 0x280000>;
509			no-map;
510
511			qcom,client-id = <1>;
512			qcom,vmid = <15>;
513		};
514
515		global_sync_mem: memory@a6f00000 {
516			reg = <0x0 0xa6f00000 0x0 0x100000>;
517			no-map;
518		};
519
520		/* uefi region can be reused by APPS */
521
522		/* Linux kernel image is loaded at 0xa0000000 */
523
524		oem_vm_mem: memory@bb000000 {
525			reg = <0x0 0xbb000000 0x0 0x5000000>;
526			no-map;
527		};
528
529		mte_mem: memory@c0000000 {
530			reg = <0x0 0xc0000000 0x0 0x20000000>;
531			no-map;
532		};
533
534		qheebsp_reserved_mem: memory@e0000000 {
535			reg = <0x0 0xe0000000 0x0 0x600000>;
536			no-map;
537		};
538
539		cpusys_vm_mem: memory@e0600000 {
540			reg = <0x0 0xe0600000 0x0 0x400000>;
541			no-map;
542		};
543
544		hyp_reserved_mem: memory@e0a00000 {
545			reg = <0x0 0xe0a00000 0x0 0x100000>;
546			no-map;
547		};
548
549		trust_ui_vm_mem: memory@e0b00000 {
550			reg = <0x0 0xe0b00000 0x0 0x4af3000>;
551			no-map;
552		};
553
554		trust_ui_vm_qrtr: memory@e55f3000 {
555			reg = <0x0 0xe55f3000 0x0 0x9000>;
556			no-map;
557		};
558
559		trust_ui_vm_vblk0_ring: memory@e55fc000 {
560			reg = <0x0 0xe55fc000 0x0 0x4000>;
561			no-map;
562		};
563
564		trust_ui_vm_swiotlb: memory@e5600000 {
565			reg = <0x0 0xe5600000 0x0 0x100000>;
566			no-map;
567		};
568
569		tz_stat_mem: memory@e8800000 {
570			reg = <0x0 0xe8800000 0x0 0x100000>;
571			no-map;
572		};
573
574		tags_mem: memory@e8900000 {
575			reg = <0x0 0xe8900000 0x0 0x1200000>;
576			no-map;
577		};
578
579		qtee_mem: memory@e9b00000 {
580			reg = <0x0 0xe9b00000 0x0 0x500000>;
581			no-map;
582		};
583
584		trusted_apps_mem: memory@ea000000 {
585			reg = <0x0 0xea000000 0x0 0x3900000>;
586			no-map;
587		};
588
589		trusted_apps_ext_mem: memory@ed900000 {
590			reg = <0x0 0xed900000 0x0 0x3b00000>;
591			no-map;
592		};
593	};
594
595	smp2p-adsp {
596		compatible = "qcom,smp2p";
597		qcom,smem = <443>, <429>;
598		interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
599					     IPCC_MPROC_SIGNAL_SMP2P
600					     IRQ_TYPE_EDGE_RISING>;
601		mboxes = <&ipcc IPCC_CLIENT_LPASS
602				IPCC_MPROC_SIGNAL_SMP2P>;
603
604		qcom,local-pid = <0>;
605		qcom,remote-pid = <2>;
606
607		smp2p_adsp_out: master-kernel {
608			qcom,entry-name = "master-kernel";
609			#qcom,smem-state-cells = <1>;
610		};
611
612		smp2p_adsp_in: slave-kernel {
613			qcom,entry-name = "slave-kernel";
614			interrupt-controller;
615			#interrupt-cells = <2>;
616		};
617	};
618
619	smp2p-cdsp {
620		compatible = "qcom,smp2p";
621		qcom,smem = <94>, <432>;
622		interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
623					     IPCC_MPROC_SIGNAL_SMP2P
624					     IRQ_TYPE_EDGE_RISING>;
625		mboxes = <&ipcc IPCC_CLIENT_CDSP
626				IPCC_MPROC_SIGNAL_SMP2P>;
627
628		qcom,local-pid = <0>;
629		qcom,remote-pid = <5>;
630
631		smp2p_cdsp_out: master-kernel {
632			qcom,entry-name = "master-kernel";
633			#qcom,smem-state-cells = <1>;
634		};
635
636		smp2p_cdsp_in: slave-kernel {
637			qcom,entry-name = "slave-kernel";
638			interrupt-controller;
639			#interrupt-cells = <2>;
640		};
641	};
642
643	smp2p-modem {
644		compatible = "qcom,smp2p";
645		qcom,smem = <435>, <428>;
646		interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
647					     IPCC_MPROC_SIGNAL_SMP2P
648					     IRQ_TYPE_EDGE_RISING>;
649		mboxes = <&ipcc IPCC_CLIENT_MPSS
650				IPCC_MPROC_SIGNAL_SMP2P>;
651
652		qcom,local-pid = <0>;
653		qcom,remote-pid = <1>;
654
655		smp2p_modem_out: master-kernel {
656			qcom,entry-name = "master-kernel";
657			#qcom,smem-state-cells = <1>;
658		};
659
660		smp2p_modem_in: slave-kernel {
661			qcom,entry-name = "slave-kernel";
662			interrupt-controller;
663			#interrupt-cells = <2>;
664		};
665
666		ipa_smp2p_out: ipa-ap-to-modem {
667			qcom,entry-name = "ipa";
668			#qcom,smem-state-cells = <1>;
669		};
670
671		ipa_smp2p_in: ipa-modem-to-ap {
672			qcom,entry-name = "ipa";
673			interrupt-controller;
674			#interrupt-cells = <2>;
675		};
676	};
677
678	smp2p-slpi {
679		compatible = "qcom,smp2p";
680		qcom,smem = <481>, <430>;
681		interrupts-extended = <&ipcc IPCC_CLIENT_SLPI
682					     IPCC_MPROC_SIGNAL_SMP2P
683					     IRQ_TYPE_EDGE_RISING>;
684		mboxes = <&ipcc IPCC_CLIENT_SLPI
685				IPCC_MPROC_SIGNAL_SMP2P>;
686
687		qcom,local-pid = <0>;
688		qcom,remote-pid = <3>;
689
690		smp2p_slpi_out: master-kernel {
691			qcom,entry-name = "master-kernel";
692			#qcom,smem-state-cells = <1>;
693		};
694
695		smp2p_slpi_in: slave-kernel {
696			qcom,entry-name = "slave-kernel";
697			interrupt-controller;
698			#interrupt-cells = <2>;
699		};
700	};
701
702	soc: soc@0 {
703		#address-cells = <2>;
704		#size-cells = <2>;
705		ranges = <0 0 0 0 0x10 0>;
706		dma-ranges = <0 0 0 0 0x10 0>;
707		compatible = "simple-bus";
708
709		gcc: clock-controller@100000 {
710			compatible = "qcom,gcc-sm8450";
711			reg = <0x0 0x00100000 0x0 0x1f4200>;
712			#clock-cells = <1>;
713			#reset-cells = <1>;
714			#power-domain-cells = <1>;
715			clocks = <&rpmhcc RPMH_CXO_CLK>,
716				 <&pcie0_lane>,
717				 <&pcie1_lane>,
718				 <&sleep_clk>;
719			clock-names = "bi_tcxo",
720				      "pcie_0_pipe_clk",
721				      "pcie_1_pipe_clk",
722				      "sleep_clk";
723		};
724
725		gpi_dma2: dma-controller@800000 {
726			compatible = "qcom,sm8450-gpi-dma";
727			#dma-cells = <3>;
728			reg = <0 0x800000 0 0x60000>;
729			interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
730				     <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
731				     <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
732				     <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>,
733				     <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>,
734				     <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>,
735				     <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>,
736				     <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>,
737				     <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>,
738				     <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>,
739				     <GIC_SPI 598 IRQ_TYPE_LEVEL_HIGH>,
740				     <GIC_SPI 599 IRQ_TYPE_LEVEL_HIGH>;
741			dma-channels = <12>;
742			dma-channel-mask = <0x7e>;
743			iommus = <&apps_smmu 0x496 0x0>;
744			status = "disabled";
745		};
746
747		qupv3_id_2: geniqup@8c0000 {
748			compatible = "qcom,geni-se-qup";
749			reg = <0x0 0x008c0000 0x0 0x2000>;
750			clock-names = "m-ahb", "s-ahb";
751			clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>,
752				 <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>;
753			iommus = <&apps_smmu 0x483 0x0>;
754			#address-cells = <2>;
755			#size-cells = <2>;
756			ranges;
757			status = "disabled";
758
759			i2c15: i2c@880000 {
760				compatible = "qcom,geni-i2c";
761				reg = <0x0 0x00880000 0x0 0x4000>;
762				clock-names = "se";
763				clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
764				pinctrl-names = "default";
765				pinctrl-0 = <&qup_i2c15_data_clk>;
766				interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
767				#address-cells = <1>;
768				#size-cells = <0>;
769				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
770						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
771						<&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
772				interconnect-names = "qup-core", "qup-config", "qup-memory";
773				dmas = <&gpi_dma2 0 0 QCOM_GPI_I2C>,
774				       <&gpi_dma2 1 0 QCOM_GPI_I2C>;
775				dma-names = "tx", "rx";
776				status = "disabled";
777			};
778
779			spi15: spi@880000 {
780				compatible = "qcom,geni-spi";
781				reg = <0x0 0x00880000 0x0 0x4000>;
782				clock-names = "se";
783				clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
784				interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
785				pinctrl-names = "default";
786				pinctrl-0 = <&qup_spi15_data_clk>, <&qup_spi15_cs>;
787				spi-max-frequency = <50000000>;
788				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
789						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
790				interconnect-names = "qup-core", "qup-config";
791				dmas = <&gpi_dma2 0 0 QCOM_GPI_SPI>,
792				       <&gpi_dma2 1 0 QCOM_GPI_SPI>;
793				dma-names = "tx", "rx";
794				#address-cells = <1>;
795				#size-cells = <0>;
796				status = "disabled";
797			};
798
799			i2c16: i2c@884000 {
800				compatible = "qcom,geni-i2c";
801				reg = <0x0 0x00884000 0x0 0x4000>;
802				clock-names = "se";
803				clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
804				pinctrl-names = "default";
805				pinctrl-0 = <&qup_i2c16_data_clk>;
806				interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
807				#address-cells = <1>;
808				#size-cells = <0>;
809				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
810						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
811						<&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
812				interconnect-names = "qup-core", "qup-config", "qup-memory";
813				dmas = <&gpi_dma2 0 1 QCOM_GPI_I2C>,
814				       <&gpi_dma2 1 1 QCOM_GPI_I2C>;
815				dma-names = "tx", "rx";
816				status = "disabled";
817			};
818
819			spi16: spi@884000 {
820				compatible = "qcom,geni-spi";
821				reg = <0x0 0x00884000 0x0 0x4000>;
822				clock-names = "se";
823				clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
824				interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
825				pinctrl-names = "default";
826				pinctrl-0 = <&qup_spi16_data_clk>, <&qup_spi16_cs>;
827				spi-max-frequency = <50000000>;
828				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
829						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
830				interconnect-names = "qup-core", "qup-config";
831				dmas = <&gpi_dma2 0 1 QCOM_GPI_SPI>,
832				       <&gpi_dma2 1 1 QCOM_GPI_SPI>;
833				dma-names = "tx", "rx";
834				#address-cells = <1>;
835				#size-cells = <0>;
836				status = "disabled";
837			};
838
839			i2c17: i2c@888000 {
840				compatible = "qcom,geni-i2c";
841				reg = <0x0 0x00888000 0x0 0x4000>;
842				clock-names = "se";
843				clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
844				pinctrl-names = "default";
845				pinctrl-0 = <&qup_i2c17_data_clk>;
846				interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
847				#address-cells = <1>;
848				#size-cells = <0>;
849				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
850						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
851						<&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
852				interconnect-names = "qup-core", "qup-config", "qup-memory";
853				dmas = <&gpi_dma2 0 2 QCOM_GPI_I2C>,
854				       <&gpi_dma2 1 2 QCOM_GPI_I2C>;
855				dma-names = "tx", "rx";
856				status = "disabled";
857			};
858
859			spi17: spi@888000 {
860				compatible = "qcom,geni-spi";
861				reg = <0x0 0x00888000 0x0 0x4000>;
862				clock-names = "se";
863				clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
864				interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
865				pinctrl-names = "default";
866				pinctrl-0 = <&qup_spi17_data_clk>, <&qup_spi17_cs>;
867				spi-max-frequency = <50000000>;
868				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
869						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
870				interconnect-names = "qup-core", "qup-config";
871				dmas = <&gpi_dma2 0 2 QCOM_GPI_SPI>,
872				       <&gpi_dma2 1 2 QCOM_GPI_SPI>;
873				dma-names = "tx", "rx";
874				#address-cells = <1>;
875				#size-cells = <0>;
876				status = "disabled";
877			};
878
879			i2c18: i2c@88c000 {
880				compatible = "qcom,geni-i2c";
881				reg = <0x0 0x0088c000 0x0 0x4000>;
882				clock-names = "se";
883				clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
884				pinctrl-names = "default";
885				pinctrl-0 = <&qup_i2c18_data_clk>;
886				interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
887				#address-cells = <1>;
888				#size-cells = <0>;
889				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
890						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
891						<&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
892				interconnect-names = "qup-core", "qup-config", "qup-memory";
893				dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>,
894				       <&gpi_dma2 1 3 QCOM_GPI_I2C>;
895				dma-names = "tx", "rx";
896				status = "disabled";
897			};
898
899			spi18: spi@88c000 {
900				compatible = "qcom,geni-spi";
901				reg = <0 0x0088c000 0 0x4000>;
902				clock-names = "se";
903				clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
904				interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
905				pinctrl-names = "default";
906				pinctrl-0 = <&qup_spi18_data_clk>, <&qup_spi18_cs>;
907				spi-max-frequency = <50000000>;
908				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
909						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
910				interconnect-names = "qup-core", "qup-config";
911				dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>,
912				       <&gpi_dma2 1 3 QCOM_GPI_I2C>;
913				dma-names = "tx", "rx";
914				#address-cells = <1>;
915				#size-cells = <0>;
916				status = "disabled";
917			};
918
919			i2c19: i2c@890000 {
920				compatible = "qcom,geni-i2c";
921				reg = <0x0 0x00890000 0x0 0x4000>;
922				clock-names = "se";
923				clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
924				pinctrl-names = "default";
925				pinctrl-0 = <&qup_i2c19_data_clk>;
926				interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
927				#address-cells = <1>;
928				#size-cells = <0>;
929				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
930						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
931						<&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
932				interconnect-names = "qup-core", "qup-config", "qup-memory";
933				dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>,
934				       <&gpi_dma2 1 4 QCOM_GPI_I2C>;
935				dma-names = "tx", "rx";
936				status = "disabled";
937			};
938
939			spi19: spi@890000 {
940				compatible = "qcom,geni-spi";
941				reg = <0 0x00890000 0 0x4000>;
942				clock-names = "se";
943				clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
944				interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
945				pinctrl-names = "default";
946				pinctrl-0 = <&qup_spi19_data_clk>, <&qup_spi19_cs>;
947				spi-max-frequency = <50000000>;
948				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
949						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
950				interconnect-names = "qup-core", "qup-config";
951				dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>,
952				       <&gpi_dma2 1 4 QCOM_GPI_I2C>;
953				dma-names = "tx", "rx";
954				#address-cells = <1>;
955				#size-cells = <0>;
956				status = "disabled";
957			};
958
959			i2c20: i2c@894000 {
960				compatible = "qcom,geni-i2c";
961				reg = <0x0 0x00894000 0x0 0x4000>;
962				clock-names = "se";
963				clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
964				pinctrl-names = "default";
965				pinctrl-0 = <&qup_i2c20_data_clk>;
966				interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
967				#address-cells = <1>;
968				#size-cells = <0>;
969				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
970						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
971						<&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
972				interconnect-names = "qup-core", "qup-config", "qup-memory";
973				dmas = <&gpi_dma2 0 5 QCOM_GPI_I2C>,
974				       <&gpi_dma2 1 5 QCOM_GPI_I2C>;
975				dma-names = "tx", "rx";
976				status = "disabled";
977			};
978
979			spi20: spi@894000 {
980				compatible = "qcom,geni-spi";
981				reg = <0 0x00894000 0 0x4000>;
982				clock-names = "se";
983				clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
984				interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
985				pinctrl-names = "default";
986				pinctrl-0 = <&qup_spi20_data_clk>, <&qup_spi20_cs>;
987				spi-max-frequency = <50000000>;
988				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
989						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
990				interconnect-names = "qup-core", "qup-config";
991				dmas = <&gpi_dma2 0 5 QCOM_GPI_SPI>,
992				       <&gpi_dma2 1 5 QCOM_GPI_SPI>;
993				dma-names = "tx", "rx";
994				#address-cells = <1>;
995				#size-cells = <0>;
996				status = "disabled";
997			};
998
999			i2c21: i2c@898000 {
1000				compatible = "qcom,geni-i2c";
1001				reg = <0x0 0x00898000 0x0 0x4000>;
1002				clock-names = "se";
1003				clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>;
1004				pinctrl-names = "default";
1005				pinctrl-0 = <&qup_i2c21_data_clk>;
1006				interrupts = <GIC_SPI 579 IRQ_TYPE_LEVEL_HIGH>;
1007				#address-cells = <1>;
1008				#size-cells = <0>;
1009				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
1010						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1011						<&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>;
1012				interconnect-names = "qup-core", "qup-config", "qup-memory";
1013				dmas = <&gpi_dma2 0 6 QCOM_GPI_I2C>,
1014				       <&gpi_dma2 1 6 QCOM_GPI_I2C>;
1015				dma-names = "tx", "rx";
1016				status = "disabled";
1017			};
1018
1019			spi21: spi@898000 {
1020				compatible = "qcom,geni-spi";
1021				reg = <0 0x00898000 0 0x4000>;
1022				clock-names = "se";
1023				clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>;
1024				interrupts = <GIC_SPI 579 IRQ_TYPE_LEVEL_HIGH>;
1025				pinctrl-names = "default";
1026				pinctrl-0 = <&qup_spi21_data_clk>, <&qup_spi21_cs>;
1027				spi-max-frequency = <50000000>;
1028				interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>,
1029						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>;
1030				interconnect-names = "qup-core", "qup-config";
1031				dmas = <&gpi_dma2 0 6 QCOM_GPI_SPI>,
1032				       <&gpi_dma2 1 6 QCOM_GPI_SPI>;
1033				dma-names = "tx", "rx";
1034				#address-cells = <1>;
1035				#size-cells = <0>;
1036				status = "disabled";
1037			};
1038		};
1039
1040		gpi_dma0: dma-controller@900000 {
1041			compatible = "qcom,sm8450-gpi-dma";
1042			#dma-cells = <3>;
1043			reg = <0 0x900000 0 0x60000>;
1044			interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
1045				     <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
1046				     <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
1047				     <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
1048				     <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
1049				     <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
1050				     <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
1051				     <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
1052				     <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
1053				     <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
1054				     <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
1055				     <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>;
1056			dma-channels = <12>;
1057			dma-channel-mask = <0x7e>;
1058			iommus = <&apps_smmu 0x5b6 0x0>;
1059			status = "disabled";
1060		};
1061
1062		qupv3_id_0: geniqup@9c0000 {
1063			compatible = "qcom,geni-se-qup";
1064			reg = <0x0 0x009c0000 0x0 0x2000>;
1065			clock-names = "m-ahb", "s-ahb";
1066			clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
1067				 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
1068			iommus = <&apps_smmu 0x5a3 0x0>;
1069			interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>;
1070			interconnect-names = "qup-core";
1071			#address-cells = <2>;
1072			#size-cells = <2>;
1073			ranges;
1074			status = "disabled";
1075
1076			i2c0: i2c@980000 {
1077				compatible = "qcom,geni-i2c";
1078				reg = <0x0 0x00980000 0x0 0x4000>;
1079				clock-names = "se";
1080				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1081				pinctrl-names = "default";
1082				pinctrl-0 = <&qup_i2c0_data_clk>;
1083				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1084				#address-cells = <1>;
1085				#size-cells = <0>;
1086				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1087						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1088						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1089				interconnect-names = "qup-core", "qup-config", "qup-memory";
1090				dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
1091				       <&gpi_dma0 1 0 QCOM_GPI_I2C>;
1092				dma-names = "tx", "rx";
1093				status = "disabled";
1094			};
1095
1096			spi0: spi@980000 {
1097				compatible = "qcom,geni-spi";
1098				reg = <0x0 0x00980000 0x0 0x4000>;
1099				clock-names = "se";
1100				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1101				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1102				pinctrl-names = "default";
1103				pinctrl-0 = <&qup_spi0_data_clk>, <&qup_spi0_cs>;
1104				power-domains = <&rpmhpd SM8450_CX>;
1105				operating-points-v2 = <&qup_opp_table_100mhz>;
1106				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1107						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1108						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1109				interconnect-names = "qup-core", "qup-config", "qup-memory";
1110				dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
1111				       <&gpi_dma0 1 0 QCOM_GPI_SPI>;
1112				dma-names = "tx", "rx";
1113				#address-cells = <1>;
1114				#size-cells = <0>;
1115				status = "disabled";
1116			};
1117
1118			i2c1: i2c@984000 {
1119				compatible = "qcom,geni-i2c";
1120				reg = <0x0 0x00984000 0x0 0x4000>;
1121				clock-names = "se";
1122				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1123				pinctrl-names = "default";
1124				pinctrl-0 = <&qup_i2c1_data_clk>;
1125				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1126				#address-cells = <1>;
1127				#size-cells = <0>;
1128				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1129						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1130						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1131				interconnect-names = "qup-core", "qup-config", "qup-memory";
1132				dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
1133				       <&gpi_dma0 1 1 QCOM_GPI_I2C>;
1134				dma-names = "tx", "rx";
1135				status = "disabled";
1136			};
1137
1138			spi1: spi@984000 {
1139				compatible = "qcom,geni-spi";
1140				reg = <0x0 0x00984000 0x0 0x4000>;
1141				clock-names = "se";
1142				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1143				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1144				pinctrl-names = "default";
1145				pinctrl-0 = <&qup_spi1_data_clk>, <&qup_spi1_cs>;
1146				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1147						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1148						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1149				interconnect-names = "qup-core", "qup-config", "qup-memory";
1150				dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>,
1151				       <&gpi_dma0 1 1 QCOM_GPI_SPI>;
1152				dma-names = "tx", "rx";
1153				#address-cells = <1>;
1154				#size-cells = <0>;
1155				status = "disabled";
1156			};
1157
1158			i2c2: i2c@988000 {
1159				compatible = "qcom,geni-i2c";
1160				reg = <0x0 0x00988000 0x0 0x4000>;
1161				clock-names = "se";
1162				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1163				pinctrl-names = "default";
1164				pinctrl-0 = <&qup_i2c2_data_clk>;
1165				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1166				#address-cells = <1>;
1167				#size-cells = <0>;
1168				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1169						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1170						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1171				interconnect-names = "qup-core", "qup-config", "qup-memory";
1172				dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
1173				       <&gpi_dma0 1 2 QCOM_GPI_I2C>;
1174				dma-names = "tx", "rx";
1175				status = "disabled";
1176			};
1177
1178			spi2: spi@988000 {
1179				compatible = "qcom,geni-spi";
1180				reg = <0x0 0x00988000 0x0 0x4000>;
1181				clock-names = "se";
1182				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1183				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1184				pinctrl-names = "default";
1185				pinctrl-0 = <&qup_spi2_data_clk>, <&qup_spi2_cs>;
1186				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1187						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1188						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1189				interconnect-names = "qup-core", "qup-config", "qup-memory";
1190				dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
1191				       <&gpi_dma0 1 2 QCOM_GPI_SPI>;
1192				dma-names = "tx", "rx";
1193				#address-cells = <1>;
1194				#size-cells = <0>;
1195				status = "disabled";
1196			};
1197
1198
1199			i2c3: i2c@98c000 {
1200				compatible = "qcom,geni-i2c";
1201				reg = <0x0 0x0098c000 0x0 0x4000>;
1202				clock-names = "se";
1203				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1204				pinctrl-names = "default";
1205				pinctrl-0 = <&qup_i2c3_data_clk>;
1206				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1207				#address-cells = <1>;
1208				#size-cells = <0>;
1209				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1210						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1211						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1212				interconnect-names = "qup-core", "qup-config", "qup-memory";
1213				dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
1214				       <&gpi_dma0 1 3 QCOM_GPI_I2C>;
1215				dma-names = "tx", "rx";
1216				status = "disabled";
1217			};
1218
1219			spi3: spi@98c000 {
1220				compatible = "qcom,geni-spi";
1221				reg = <0x0 0x0098c000 0x0 0x4000>;
1222				clock-names = "se";
1223				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1224				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1225				pinctrl-names = "default";
1226				pinctrl-0 = <&qup_spi3_data_clk>, <&qup_spi3_cs>;
1227				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1228						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1229						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1230				interconnect-names = "qup-core", "qup-config", "qup-memory";
1231				dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>,
1232				       <&gpi_dma0 1 3 QCOM_GPI_SPI>;
1233				dma-names = "tx", "rx";
1234				#address-cells = <1>;
1235				#size-cells = <0>;
1236				status = "disabled";
1237			};
1238
1239			i2c4: i2c@990000 {
1240				compatible = "qcom,geni-i2c";
1241				reg = <0x0 0x00990000 0x0 0x4000>;
1242				clock-names = "se";
1243				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1244				pinctrl-names = "default";
1245				pinctrl-0 = <&qup_i2c4_data_clk>;
1246				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1247				#address-cells = <1>;
1248				#size-cells = <0>;
1249				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1250						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1251						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1252				interconnect-names = "qup-core", "qup-config", "qup-memory";
1253				dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
1254				       <&gpi_dma0 1 4 QCOM_GPI_I2C>;
1255				dma-names = "tx", "rx";
1256				status = "disabled";
1257			};
1258
1259			spi4: spi@990000 {
1260				compatible = "qcom,geni-spi";
1261				reg = <0x0 0x00990000 0x0 0x4000>;
1262				clock-names = "se";
1263				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1264				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1265				pinctrl-names = "default";
1266				pinctrl-0 = <&qup_spi4_data_clk>, <&qup_spi4_cs>;
1267				power-domains = <&rpmhpd SM8450_CX>;
1268				operating-points-v2 = <&qup_opp_table_100mhz>;
1269				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1270						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1271						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1272				interconnect-names = "qup-core", "qup-config", "qup-memory";
1273				dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>,
1274				       <&gpi_dma0 1 4 QCOM_GPI_SPI>;
1275				dma-names = "tx", "rx";
1276				#address-cells = <1>;
1277				#size-cells = <0>;
1278				status = "disabled";
1279			};
1280
1281			i2c5: i2c@994000 {
1282				compatible = "qcom,geni-i2c";
1283				reg = <0x0 0x00994000 0x0 0x4000>;
1284				clock-names = "se";
1285				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1286				pinctrl-names = "default";
1287				pinctrl-0 = <&qup_i2c5_data_clk>;
1288				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1289				#address-cells = <1>;
1290				#size-cells = <0>;
1291				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1292						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1293						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1294				interconnect-names = "qup-core", "qup-config", "qup-memory";
1295				dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
1296				       <&gpi_dma0 1 5 QCOM_GPI_I2C>;
1297				dma-names = "tx", "rx";
1298				status = "disabled";
1299			};
1300
1301			spi5: spi@994000 {
1302				compatible = "qcom,geni-spi";
1303				reg = <0x0 0x00994000 0x0 0x4000>;
1304				clock-names = "se";
1305				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1306				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1307				pinctrl-names = "default";
1308				pinctrl-0 = <&qup_spi5_data_clk>, <&qup_spi5_cs>;
1309				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1310						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1311						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1312				interconnect-names = "qup-core", "qup-config", "qup-memory";
1313				dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>,
1314				       <&gpi_dma0 1 5 QCOM_GPI_SPI>;
1315				dma-names = "tx", "rx";
1316				#address-cells = <1>;
1317				#size-cells = <0>;
1318				status = "disabled";
1319			};
1320
1321
1322			i2c6: i2c@998000 {
1323				compatible = "qcom,geni-i2c";
1324				reg = <0x0 0x998000 0x0 0x4000>;
1325				clock-names = "se";
1326				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1327				pinctrl-names = "default";
1328				pinctrl-0 = <&qup_i2c6_data_clk>;
1329				interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1330				#address-cells = <1>;
1331				#size-cells = <0>;
1332				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1333						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1334						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1335				interconnect-names = "qup-core", "qup-config", "qup-memory";
1336				dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>,
1337				       <&gpi_dma0 1 6 QCOM_GPI_I2C>;
1338				dma-names = "tx", "rx";
1339				status = "disabled";
1340			};
1341
1342			spi6: spi@998000 {
1343				compatible = "qcom,geni-spi";
1344				reg = <0x0 0x998000 0x0 0x4000>;
1345				clock-names = "se";
1346				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1347				interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1348				pinctrl-names = "default";
1349				pinctrl-0 = <&qup_spi6_data_clk>, <&qup_spi6_cs>;
1350				interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>,
1351						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1352						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1353				interconnect-names = "qup-core", "qup-config", "qup-memory";
1354				dmas = <&gpi_dma0 0 6 QCOM_GPI_SPI>,
1355				       <&gpi_dma0 1 6 QCOM_GPI_SPI>;
1356				dma-names = "tx", "rx";
1357				#address-cells = <1>;
1358				#size-cells = <0>;
1359				status = "disabled";
1360			};
1361
1362			uart7: serial@99c000 {
1363				compatible = "qcom,geni-debug-uart";
1364				reg = <0 0x0099c000 0 0x4000>;
1365				clock-names = "se";
1366				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1367				pinctrl-names = "default";
1368				pinctrl-0 = <&qup_uart7_tx>, <&qup_uart7_rx>;
1369				interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1370				#address-cells = <1>;
1371				#size-cells = <0>;
1372				status = "disabled";
1373			};
1374		};
1375
1376		gpi_dma1: dma-controller@a00000 {
1377			compatible = "qcom,sm8450-gpi-dma";
1378			#dma-cells = <3>;
1379			reg = <0 0xa00000 0 0x60000>;
1380			interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
1381				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
1382				     <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
1383				     <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
1384				     <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
1385				     <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
1386				     <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
1387				     <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
1388				     <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
1389				     <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>,
1390				     <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>,
1391				     <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>;
1392			dma-channels = <12>;
1393			dma-channel-mask = <0x7e>;
1394			iommus = <&apps_smmu 0x56 0x0>;
1395			status = "disabled";
1396		};
1397
1398		qupv3_id_1: geniqup@ac0000 {
1399			compatible = "qcom,geni-se-qup";
1400			reg = <0x0 0x00ac0000 0x0 0x6000>;
1401			clock-names = "m-ahb", "s-ahb";
1402			clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
1403				 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
1404			iommus = <&apps_smmu 0x43 0x0>;
1405			interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>;
1406			interconnect-names = "qup-core";
1407			#address-cells = <2>;
1408			#size-cells = <2>;
1409			ranges;
1410			status = "disabled";
1411
1412			i2c8: i2c@a80000 {
1413				compatible = "qcom,geni-i2c";
1414				reg = <0x0 0x00a80000 0x0 0x4000>;
1415				clock-names = "se";
1416				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1417				pinctrl-names = "default";
1418				pinctrl-0 = <&qup_i2c8_data_clk>;
1419				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1420				#address-cells = <1>;
1421				#size-cells = <0>;
1422				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1423						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1424						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1425				interconnect-names = "qup-core", "qup-config", "qup-memory";
1426				dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
1427				       <&gpi_dma1 1 0 QCOM_GPI_I2C>;
1428				dma-names = "tx", "rx";
1429				status = "disabled";
1430			};
1431
1432			spi8: spi@a80000 {
1433				compatible = "qcom,geni-spi";
1434				reg = <0x0 0x00a80000 0x0 0x4000>;
1435				clock-names = "se";
1436				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1437				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1438				pinctrl-names = "default";
1439				pinctrl-0 = <&qup_spi8_data_clk>, <&qup_spi8_cs>;
1440				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1441						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1442						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1443				interconnect-names = "qup-core", "qup-config", "qup-memory";
1444				dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>,
1445				       <&gpi_dma1 1 0 QCOM_GPI_SPI>;
1446				dma-names = "tx", "rx";
1447				#address-cells = <1>;
1448				#size-cells = <0>;
1449				status = "disabled";
1450			};
1451
1452			i2c9: i2c@a84000 {
1453				compatible = "qcom,geni-i2c";
1454				reg = <0x0 0x00a84000 0x0 0x4000>;
1455				clock-names = "se";
1456				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1457				pinctrl-names = "default";
1458				pinctrl-0 = <&qup_i2c9_data_clk>;
1459				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1460				#address-cells = <1>;
1461				#size-cells = <0>;
1462				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1463						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1464						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1465				interconnect-names = "qup-core", "qup-config", "qup-memory";
1466				dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
1467				       <&gpi_dma1 1 1 QCOM_GPI_I2C>;
1468				dma-names = "tx", "rx";
1469				status = "disabled";
1470			};
1471
1472			spi9: spi@a84000 {
1473				compatible = "qcom,geni-spi";
1474				reg = <0x0 0x00a84000 0x0 0x4000>;
1475				clock-names = "se";
1476				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1477				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1478				pinctrl-names = "default";
1479				pinctrl-0 = <&qup_spi9_data_clk>, <&qup_spi9_cs>;
1480				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1481						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1482						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1483				interconnect-names = "qup-core", "qup-config", "qup-memory";
1484				dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>,
1485				       <&gpi_dma1 1 1 QCOM_GPI_SPI>;
1486				dma-names = "tx", "rx";
1487				#address-cells = <1>;
1488				#size-cells = <0>;
1489				status = "disabled";
1490			};
1491
1492			i2c10: i2c@a88000 {
1493				compatible = "qcom,geni-i2c";
1494				reg = <0x0 0x00a88000 0x0 0x4000>;
1495				clock-names = "se";
1496				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1497				pinctrl-names = "default";
1498				pinctrl-0 = <&qup_i2c10_data_clk>;
1499				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1500				#address-cells = <1>;
1501				#size-cells = <0>;
1502				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1503						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1504						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1505				interconnect-names = "qup-core", "qup-config", "qup-memory";
1506				dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
1507				       <&gpi_dma1 1 2 QCOM_GPI_I2C>;
1508				dma-names = "tx", "rx";
1509				status = "disabled";
1510			};
1511
1512			spi10: spi@a88000 {
1513				compatible = "qcom,geni-spi";
1514				reg = <0x0 0x00a88000 0x0 0x4000>;
1515				clock-names = "se";
1516				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1517				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1518				pinctrl-names = "default";
1519				pinctrl-0 = <&qup_spi10_data_clk>, <&qup_spi10_cs>;
1520				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1521						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1522						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1523				interconnect-names = "qup-core", "qup-config", "qup-memory";
1524				dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>,
1525				       <&gpi_dma1 1 2 QCOM_GPI_SPI>;
1526				dma-names = "tx", "rx";
1527				#address-cells = <1>;
1528				#size-cells = <0>;
1529				status = "disabled";
1530			};
1531
1532			i2c11: i2c@a8c000 {
1533				compatible = "qcom,geni-i2c";
1534				reg = <0x0 0x00a8c000 0x0 0x4000>;
1535				clock-names = "se";
1536				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1537				pinctrl-names = "default";
1538				pinctrl-0 = <&qup_i2c11_data_clk>;
1539				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1540				#address-cells = <1>;
1541				#size-cells = <0>;
1542				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1543						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1544						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1545				interconnect-names = "qup-core", "qup-config", "qup-memory";
1546				dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
1547				       <&gpi_dma1 1 3 QCOM_GPI_I2C>;
1548				dma-names = "tx", "rx";
1549				status = "disabled";
1550			};
1551
1552			spi11: spi@a8c000 {
1553				compatible = "qcom,geni-spi";
1554				reg = <0x0 0x00a8c000 0x0 0x4000>;
1555				clock-names = "se";
1556				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1557				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1558				pinctrl-names = "default";
1559				pinctrl-0 = <&qup_spi11_data_clk>, <&qup_spi11_cs>;
1560				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1561						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1562						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1563				interconnect-names = "qup-core", "qup-config", "qup-memory";
1564				dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>,
1565				       <&gpi_dma1 1 3 QCOM_GPI_SPI>;
1566				dma-names = "tx", "rx";
1567				#address-cells = <1>;
1568				#size-cells = <0>;
1569				status = "disabled";
1570			};
1571
1572			i2c12: i2c@a90000 {
1573				compatible = "qcom,geni-i2c";
1574				reg = <0x0 0x00a90000 0x0 0x4000>;
1575				clock-names = "se";
1576				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1577				pinctrl-names = "default";
1578				pinctrl-0 = <&qup_i2c12_data_clk>;
1579				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1580				#address-cells = <1>;
1581				#size-cells = <0>;
1582				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1583						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1584						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1585				interconnect-names = "qup-core", "qup-config", "qup-memory";
1586				dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
1587				       <&gpi_dma1 1 4 QCOM_GPI_I2C>;
1588				dma-names = "tx", "rx";
1589				status = "disabled";
1590			};
1591
1592			spi12: spi@a90000 {
1593				compatible = "qcom,geni-spi";
1594				reg = <0x0 0x00a90000 0x0 0x4000>;
1595				clock-names = "se";
1596				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1597				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1598				pinctrl-names = "default";
1599				pinctrl-0 = <&qup_spi12_data_clk>, <&qup_spi12_cs>;
1600				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1601						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1602						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1603				interconnect-names = "qup-core", "qup-config", "qup-memory";
1604				dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>,
1605				       <&gpi_dma1 1 4 QCOM_GPI_SPI>;
1606				dma-names = "tx", "rx";
1607				#address-cells = <1>;
1608				#size-cells = <0>;
1609				status = "disabled";
1610			};
1611
1612			i2c13: i2c@a94000 {
1613				compatible = "qcom,geni-i2c";
1614				reg = <0 0x00a94000 0 0x4000>;
1615				clock-names = "se";
1616				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1617				pinctrl-names = "default";
1618				pinctrl-0 = <&qup_i2c13_data_clk>;
1619				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1620				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1621						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1622						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1623				interconnect-names = "qup-core", "qup-config", "qup-memory";
1624				dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>,
1625				       <&gpi_dma1 1 5 QCOM_GPI_I2C>;
1626				dma-names = "tx", "rx";
1627				#address-cells = <1>;
1628				#size-cells = <0>;
1629				status = "disabled";
1630			};
1631
1632			spi13: spi@a94000 {
1633				compatible = "qcom,geni-spi";
1634				reg = <0x0 0x00a94000 0x0 0x4000>;
1635				clock-names = "se";
1636				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1637				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1638				pinctrl-names = "default";
1639				pinctrl-0 = <&qup_spi13_data_clk>, <&qup_spi13_cs>;
1640				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1641						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1642						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1643				interconnect-names = "qup-core", "qup-config", "qup-memory";
1644				dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>,
1645				       <&gpi_dma1 1 5 QCOM_GPI_SPI>;
1646				dma-names = "tx", "rx";
1647				#address-cells = <1>;
1648				#size-cells = <0>;
1649				status = "disabled";
1650			};
1651
1652			i2c14: i2c@a98000 {
1653				compatible = "qcom,geni-i2c";
1654				reg = <0 0x00a98000 0 0x4000>;
1655				clock-names = "se";
1656				clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1657				pinctrl-names = "default";
1658				pinctrl-0 = <&qup_i2c14_data_clk>;
1659				interrupts = <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>;
1660				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1661						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1662						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1663				interconnect-names = "qup-core", "qup-config", "qup-memory";
1664				dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>,
1665				       <&gpi_dma1 1 6 QCOM_GPI_I2C>;
1666				dma-names = "tx", "rx";
1667				#address-cells = <1>;
1668				#size-cells = <0>;
1669				status = "disabled";
1670			};
1671
1672			spi14: spi@a98000 {
1673				compatible = "qcom,geni-spi";
1674				reg = <0x0 0x00a98000 0x0 0x4000>;
1675				clock-names = "se";
1676				clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1677				interrupts = <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>;
1678				pinctrl-names = "default";
1679				pinctrl-0 = <&qup_spi14_data_clk>, <&qup_spi14_cs>;
1680				interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>,
1681						<&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>,
1682						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1683				interconnect-names = "qup-core", "qup-config", "qup-memory";
1684				dmas = <&gpi_dma1 0 6 QCOM_GPI_SPI>,
1685				       <&gpi_dma1 1 6 QCOM_GPI_SPI>;
1686				dma-names = "tx", "rx";
1687				#address-cells = <1>;
1688				#size-cells = <0>;
1689				status = "disabled";
1690			};
1691		};
1692
1693		pcie0: pci@1c00000 {
1694			compatible = "qcom,pcie-sm8450-pcie0";
1695			reg = <0 0x01c00000 0 0x3000>,
1696			      <0 0x60000000 0 0xf1d>,
1697			      <0 0x60000f20 0 0xa8>,
1698			      <0 0x60001000 0 0x1000>,
1699			      <0 0x60100000 0 0x100000>;
1700			reg-names = "parf", "dbi", "elbi", "atu", "config";
1701			device_type = "pci";
1702			linux,pci-domain = <0>;
1703			bus-range = <0x00 0xff>;
1704			num-lanes = <1>;
1705
1706			#address-cells = <3>;
1707			#size-cells = <2>;
1708
1709			ranges = <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>,
1710				 <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0x3d00000>;
1711
1712			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
1713			interrupt-names = "msi";
1714			#interrupt-cells = <1>;
1715			interrupt-map-mask = <0 0 0 0x7>;
1716			interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1717					<0 0 0 2 &intc 0 0 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1718					<0 0 0 3 &intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1719					<0 0 0 4 &intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1720
1721			clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
1722				 <&gcc GCC_PCIE_0_PIPE_CLK_SRC>,
1723				 <&pcie0_lane>,
1724				 <&rpmhcc RPMH_CXO_CLK>,
1725				 <&gcc GCC_PCIE_0_AUX_CLK>,
1726				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1727				 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
1728				 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
1729				 <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
1730				 <&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>,
1731				 <&gcc GCC_AGGRE_NOC_PCIE_0_AXI_CLK>,
1732				 <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>;
1733			clock-names = "pipe",
1734				      "pipe_mux",
1735				      "phy_pipe",
1736				      "ref",
1737				      "aux",
1738				      "cfg",
1739				      "bus_master",
1740				      "bus_slave",
1741				      "slave_q2a",
1742				      "ddrss_sf_tbu",
1743				      "aggre0",
1744				      "aggre1";
1745
1746			iommus = <&apps_smmu 0x1c00 0x7f>;
1747			iommu-map = <0x0   &apps_smmu 0x1c00 0x1>,
1748				    <0x100 &apps_smmu 0x1c01 0x1>;
1749
1750			resets = <&gcc GCC_PCIE_0_BCR>;
1751			reset-names = "pci";
1752
1753			power-domains = <&gcc PCIE_0_GDSC>;
1754			power-domain-names = "gdsc";
1755
1756			phys = <&pcie0_lane>;
1757			phy-names = "pciephy";
1758
1759			perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
1760			wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
1761
1762			pinctrl-names = "default";
1763			pinctrl-0 = <&pcie0_default_state>;
1764
1765			status = "disabled";
1766		};
1767
1768		pcie0_phy: phy@1c06000 {
1769			compatible = "qcom,sm8450-qmp-gen3x1-pcie-phy";
1770			reg = <0 0x01c06000 0 0x200>;
1771			#address-cells = <2>;
1772			#size-cells = <2>;
1773			ranges;
1774			clocks = <&gcc GCC_PCIE_0_AUX_CLK>,
1775				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1776				 <&gcc GCC_PCIE_0_CLKREF_EN>,
1777				 <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>;
1778			clock-names = "aux", "cfg_ahb", "ref", "refgen";
1779
1780			resets = <&gcc GCC_PCIE_0_PHY_BCR>;
1781			reset-names = "phy";
1782
1783			assigned-clocks = <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>;
1784			assigned-clock-rates = <100000000>;
1785
1786			status = "disabled";
1787
1788			pcie0_lane: phy@1c06200 {
1789				reg = <0 0x1c06e00 0 0x200>, /* tx */
1790				      <0 0x1c07000 0 0x200>, /* rx */
1791				      <0 0x1c06200 0 0x200>, /* pcs */
1792				      <0 0x1c06600 0 0x200>; /* pcs_pcie */
1793				clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
1794				clock-names = "pipe0";
1795
1796				#clock-cells = <0>;
1797				#phy-cells = <0>;
1798				clock-output-names = "pcie_0_pipe_clk";
1799			};
1800		};
1801
1802		pcie1: pci@1c08000 {
1803			compatible = "qcom,pcie-sm8450-pcie1";
1804			reg = <0 0x01c08000 0 0x3000>,
1805			      <0 0x40000000 0 0xf1d>,
1806			      <0 0x40000f20 0 0xa8>,
1807			      <0 0x40001000 0 0x1000>,
1808			      <0 0x40100000 0 0x100000>;
1809			reg-names = "parf", "dbi", "elbi", "atu", "config";
1810			device_type = "pci";
1811			linux,pci-domain = <1>;
1812			bus-range = <0x00 0xff>;
1813			num-lanes = <2>;
1814
1815			#address-cells = <3>;
1816			#size-cells = <2>;
1817
1818			ranges = <0x01000000 0x0 0x40200000 0 0x40200000 0x0 0x100000>,
1819				 <0x02000000 0x0 0x40300000 0 0x40300000 0x0 0x1fd00000>;
1820
1821			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>;
1822			interrupt-names = "msi";
1823			#interrupt-cells = <1>;
1824			interrupt-map-mask = <0 0 0 0x7>;
1825			interrupt-map = <0 0 0 1 &intc 0 0 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1826					<0 0 0 2 &intc 0 0 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1827					<0 0 0 3 &intc 0 0 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1828					<0 0 0 4 &intc 0 0 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1829
1830			clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
1831				 <&gcc GCC_PCIE_1_PIPE_CLK_SRC>,
1832				 <&pcie1_lane>,
1833				 <&rpmhcc RPMH_CXO_CLK>,
1834				 <&gcc GCC_PCIE_1_AUX_CLK>,
1835				 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1836				 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
1837				 <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
1838				 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
1839				 <&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>,
1840				 <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>;
1841			clock-names = "pipe",
1842				      "pipe_mux",
1843				      "phy_pipe",
1844				      "ref",
1845				      "aux",
1846				      "cfg",
1847				      "bus_master",
1848				      "bus_slave",
1849				      "slave_q2a",
1850				      "ddrss_sf_tbu",
1851				      "aggre1";
1852
1853			iommus = <&apps_smmu 0x1c80 0x7f>;
1854			iommu-map = <0x0   &apps_smmu 0x1c80 0x1>,
1855				    <0x100 &apps_smmu 0x1c81 0x1>;
1856
1857			resets = <&gcc GCC_PCIE_1_BCR>;
1858			reset-names = "pci";
1859
1860			power-domains = <&gcc PCIE_1_GDSC>;
1861			power-domain-names = "gdsc";
1862
1863			phys = <&pcie1_lane>;
1864			phy-names = "pciephy";
1865
1866			perst-gpio = <&tlmm 97 GPIO_ACTIVE_LOW>;
1867			enable-gpio = <&tlmm 99 GPIO_ACTIVE_HIGH>;
1868
1869			pinctrl-names = "default";
1870			pinctrl-0 = <&pcie1_default_state>;
1871
1872			status = "disabled";
1873		};
1874
1875		pcie1_phy: phy@1c0f000 {
1876			compatible = "qcom,sm8450-qmp-gen4x2-pcie-phy";
1877			reg = <0 0x01c0f000 0 0x200>;
1878			#address-cells = <2>;
1879			#size-cells = <2>;
1880			ranges;
1881			clocks = <&gcc GCC_PCIE_1_PHY_AUX_CLK>,
1882				 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1883				 <&gcc GCC_PCIE_1_CLKREF_EN>,
1884				 <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>;
1885			clock-names = "aux", "cfg_ahb", "ref", "refgen";
1886
1887			resets = <&gcc GCC_PCIE_1_PHY_BCR>;
1888			reset-names = "phy";
1889
1890			assigned-clocks = <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>;
1891			assigned-clock-rates = <100000000>;
1892
1893			status = "disabled";
1894
1895			pcie1_lane: phy@1c0e000 {
1896				reg = <0 0x1c0e000 0 0x200>, /* tx */
1897				      <0 0x1c0e200 0 0x300>, /* rx */
1898				      <0 0x1c0f200 0 0x200>, /* pcs */
1899				      <0 0x1c0e800 0 0x200>, /* tx */
1900				      <0 0x1c0ea00 0 0x300>, /* rx */
1901				      <0 0x1c0f400 0 0xc00>; /* pcs_pcie */
1902				clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
1903				clock-names = "pipe0";
1904
1905				#clock-cells = <0>;
1906				#phy-cells = <0>;
1907				clock-output-names = "pcie_1_pipe_clk";
1908			};
1909		};
1910
1911		config_noc: interconnect@1500000 {
1912			compatible = "qcom,sm8450-config-noc";
1913			reg = <0 0x01500000 0 0x1c000>;
1914			#interconnect-cells = <2>;
1915			qcom,bcm-voters = <&apps_bcm_voter>;
1916		};
1917
1918		system_noc: interconnect@1680000 {
1919			compatible = "qcom,sm8450-system-noc";
1920			reg = <0 0x01680000 0 0x1e200>;
1921			#interconnect-cells = <2>;
1922			qcom,bcm-voters = <&apps_bcm_voter>;
1923		};
1924
1925		pcie_noc: interconnect@16c0000 {
1926			compatible = "qcom,sm8450-pcie-anoc";
1927			reg = <0 0x016c0000 0 0xe280>;
1928			#interconnect-cells = <2>;
1929			qcom,bcm-voters = <&apps_bcm_voter>;
1930		};
1931
1932		aggre1_noc: interconnect@16e0000 {
1933			compatible = "qcom,sm8450-aggre1-noc";
1934			reg = <0 0x016e0000 0 0x1c080>;
1935			#interconnect-cells = <2>;
1936			clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1937				 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>;
1938			qcom,bcm-voters = <&apps_bcm_voter>;
1939		};
1940
1941		aggre2_noc: interconnect@1700000 {
1942			compatible = "qcom,sm8450-aggre2-noc";
1943			reg = <0 0x01700000 0 0x31080>;
1944			#interconnect-cells = <2>;
1945			qcom,bcm-voters = <&apps_bcm_voter>;
1946			clocks = <&gcc GCC_AGGRE_NOC_PCIE_0_AXI_CLK>,
1947				 <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>,
1948				 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1949				 <&rpmhcc RPMH_IPA_CLK>;
1950		};
1951
1952		mmss_noc: interconnect@1740000 {
1953			compatible = "qcom,sm8450-mmss-noc";
1954			reg = <0 0x01740000 0 0x1f080>;
1955			#interconnect-cells = <2>;
1956			qcom,bcm-voters = <&apps_bcm_voter>;
1957		};
1958
1959		tcsr_mutex: hwlock@1f40000 {
1960			compatible = "qcom,tcsr-mutex";
1961			reg = <0x0 0x01f40000 0x0 0x40000>;
1962			#hwlock-cells = <1>;
1963		};
1964
1965		usb_1_hsphy: phy@88e3000 {
1966			compatible = "qcom,sm8450-usb-hs-phy",
1967				     "qcom,usb-snps-hs-7nm-phy";
1968			reg = <0 0x088e3000 0 0x400>;
1969			status = "disabled";
1970			#phy-cells = <0>;
1971
1972			clocks = <&rpmhcc RPMH_CXO_CLK>;
1973			clock-names = "ref";
1974
1975			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1976		};
1977
1978		usb_1_qmpphy: phy-wrapper@88e9000 {
1979			compatible = "qcom,sm8450-qmp-usb3-phy";
1980			reg = <0 0x088e9000 0 0x200>,
1981			      <0 0x088e8000 0 0x20>;
1982			status = "disabled";
1983			#address-cells = <2>;
1984			#size-cells = <2>;
1985			ranges;
1986
1987			clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
1988				 <&rpmhcc RPMH_CXO_CLK>,
1989				 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
1990			clock-names = "aux", "ref_clk_src", "com_aux";
1991
1992			resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
1993				 <&gcc GCC_USB3_PHY_PRIM_BCR>;
1994			reset-names = "phy", "common";
1995
1996			usb_1_ssphy: phy@88e9200 {
1997				reg = <0 0x088e9200 0 0x200>,
1998				      <0 0x088e9400 0 0x200>,
1999				      <0 0x088e9c00 0 0x400>,
2000				      <0 0x088e9600 0 0x200>,
2001				      <0 0x088e9800 0 0x200>,
2002				      <0 0x088e9a00 0 0x100>;
2003				#phy-cells = <0>;
2004				#clock-cells = <1>;
2005				clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
2006				clock-names = "pipe0";
2007				clock-output-names = "usb3_phy_pipe_clk_src";
2008			};
2009		};
2010
2011		remoteproc_slpi: remoteproc@2400000 {
2012			compatible = "qcom,sm8450-slpi-pas";
2013			reg = <0 0x02400000 0 0x4000>;
2014
2015			interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>,
2016					      <&smp2p_slpi_in 0 IRQ_TYPE_EDGE_RISING>,
2017					      <&smp2p_slpi_in 1 IRQ_TYPE_EDGE_RISING>,
2018					      <&smp2p_slpi_in 2 IRQ_TYPE_EDGE_RISING>,
2019					      <&smp2p_slpi_in 3 IRQ_TYPE_EDGE_RISING>;
2020			interrupt-names = "wdog", "fatal", "ready",
2021					  "handover", "stop-ack";
2022
2023			clocks = <&rpmhcc RPMH_CXO_CLK>;
2024			clock-names = "xo";
2025
2026			power-domains = <&rpmhpd SM8450_LCX>,
2027					<&rpmhpd SM8450_LMX>;
2028			power-domain-names = "lcx", "lmx";
2029
2030			memory-region = <&slpi_mem>;
2031
2032			qcom,qmp = <&aoss_qmp>;
2033
2034			qcom,smem-states = <&smp2p_slpi_out 0>;
2035			qcom,smem-state-names = "stop";
2036
2037			status = "disabled";
2038
2039			glink-edge {
2040				interrupts-extended = <&ipcc IPCC_CLIENT_SLPI
2041							     IPCC_MPROC_SIGNAL_GLINK_QMP
2042							     IRQ_TYPE_EDGE_RISING>;
2043				mboxes = <&ipcc IPCC_CLIENT_SLPI
2044						IPCC_MPROC_SIGNAL_GLINK_QMP>;
2045
2046				label = "slpi";
2047				qcom,remote-pid = <3>;
2048
2049				fastrpc {
2050					compatible = "qcom,fastrpc";
2051					qcom,glink-channels = "fastrpcglink-apps-dsp";
2052					label = "sdsp";
2053					#address-cells = <1>;
2054					#size-cells = <0>;
2055
2056					compute-cb@1 {
2057						compatible = "qcom,fastrpc-compute-cb";
2058						reg = <1>;
2059						iommus = <&apps_smmu 0x0541 0x0>;
2060					};
2061
2062					compute-cb@2 {
2063						compatible = "qcom,fastrpc-compute-cb";
2064						reg = <2>;
2065						iommus = <&apps_smmu 0x0542 0x0>;
2066					};
2067
2068					compute-cb@3 {
2069						compatible = "qcom,fastrpc-compute-cb";
2070						reg = <3>;
2071						iommus = <&apps_smmu 0x0543 0x0>;
2072						/* note: shared-cb = <4> in downstream */
2073					};
2074				};
2075			};
2076		};
2077
2078		remoteproc_adsp: remoteproc@30000000 {
2079			compatible = "qcom,sm8450-adsp-pas";
2080			reg = <0 0x030000000 0 0x100>;
2081
2082			interrupts-extended = <&pdc 6 IRQ_TYPE_LEVEL_HIGH>,
2083					      <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
2084					      <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
2085					      <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
2086					      <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
2087			interrupt-names = "wdog", "fatal", "ready",
2088					  "handover", "stop-ack";
2089
2090			clocks = <&rpmhcc RPMH_CXO_CLK>;
2091			clock-names = "xo";
2092
2093			power-domains = <&rpmhpd SM8450_LCX>,
2094					<&rpmhpd SM8450_LMX>;
2095			power-domain-names = "lcx", "lmx";
2096
2097			memory-region = <&adsp_mem>;
2098
2099			qcom,qmp = <&aoss_qmp>;
2100
2101			qcom,smem-states = <&smp2p_adsp_out 0>;
2102			qcom,smem-state-names = "stop";
2103
2104			status = "disabled";
2105
2106			remoteproc_adsp_glink: glink-edge {
2107				interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
2108							     IPCC_MPROC_SIGNAL_GLINK_QMP
2109							     IRQ_TYPE_EDGE_RISING>;
2110				mboxes = <&ipcc IPCC_CLIENT_LPASS
2111						IPCC_MPROC_SIGNAL_GLINK_QMP>;
2112
2113				label = "lpass";
2114				qcom,remote-pid = <2>;
2115
2116				fastrpc {
2117					compatible = "qcom,fastrpc";
2118					qcom,glink-channels = "fastrpcglink-apps-dsp";
2119					label = "adsp";
2120					#address-cells = <1>;
2121					#size-cells = <0>;
2122
2123					compute-cb@3 {
2124						compatible = "qcom,fastrpc-compute-cb";
2125						reg = <3>;
2126						iommus = <&apps_smmu 0x1803 0x0>;
2127					};
2128
2129					compute-cb@4 {
2130						compatible = "qcom,fastrpc-compute-cb";
2131						reg = <4>;
2132						iommus = <&apps_smmu 0x1804 0x0>;
2133					};
2134
2135					compute-cb@5 {
2136						compatible = "qcom,fastrpc-compute-cb";
2137						reg = <5>;
2138						iommus = <&apps_smmu 0x1805 0x0>;
2139					};
2140				};
2141			};
2142		};
2143
2144		remoteproc_cdsp: remoteproc@32300000 {
2145			compatible = "qcom,sm8450-cdsp-pas";
2146			reg = <0 0x032300000 0 0x1400000>;
2147
2148			interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>,
2149					      <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>,
2150					      <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>,
2151					      <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>,
2152					      <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>;
2153			interrupt-names = "wdog", "fatal", "ready",
2154					  "handover", "stop-ack";
2155
2156			clocks = <&rpmhcc RPMH_CXO_CLK>;
2157			clock-names = "xo";
2158
2159			power-domains = <&rpmhpd SM8450_CX>,
2160					<&rpmhpd SM8450_MXC>;
2161			power-domain-names = "cx", "mxc";
2162
2163			memory-region = <&cdsp_mem>;
2164
2165			qcom,qmp = <&aoss_qmp>;
2166
2167			qcom,smem-states = <&smp2p_cdsp_out 0>;
2168			qcom,smem-state-names = "stop";
2169
2170			status = "disabled";
2171
2172			glink-edge {
2173				interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
2174							     IPCC_MPROC_SIGNAL_GLINK_QMP
2175							     IRQ_TYPE_EDGE_RISING>;
2176				mboxes = <&ipcc IPCC_CLIENT_CDSP
2177						IPCC_MPROC_SIGNAL_GLINK_QMP>;
2178
2179				label = "cdsp";
2180				qcom,remote-pid = <5>;
2181
2182				fastrpc {
2183					compatible = "qcom,fastrpc";
2184					qcom,glink-channels = "fastrpcglink-apps-dsp";
2185					label = "cdsp";
2186					#address-cells = <1>;
2187					#size-cells = <0>;
2188
2189					compute-cb@1 {
2190						compatible = "qcom,fastrpc-compute-cb";
2191						reg = <1>;
2192						iommus = <&apps_smmu 0x2161 0x0400>,
2193							 <&apps_smmu 0x1021 0x1420>;
2194					};
2195
2196					compute-cb@2 {
2197						compatible = "qcom,fastrpc-compute-cb";
2198						reg = <2>;
2199						iommus = <&apps_smmu 0x2162 0x0400>,
2200							 <&apps_smmu 0x1022 0x1420>;
2201					};
2202
2203					compute-cb@3 {
2204						compatible = "qcom,fastrpc-compute-cb";
2205						reg = <3>;
2206						iommus = <&apps_smmu 0x2163 0x0400>,
2207							 <&apps_smmu 0x1023 0x1420>;
2208					};
2209
2210					compute-cb@4 {
2211						compatible = "qcom,fastrpc-compute-cb";
2212						reg = <4>;
2213						iommus = <&apps_smmu 0x2164 0x0400>,
2214							 <&apps_smmu 0x1024 0x1420>;
2215					};
2216
2217					compute-cb@5 {
2218						compatible = "qcom,fastrpc-compute-cb";
2219						reg = <5>;
2220						iommus = <&apps_smmu 0x2165 0x0400>,
2221							 <&apps_smmu 0x1025 0x1420>;
2222					};
2223
2224					compute-cb@6 {
2225						compatible = "qcom,fastrpc-compute-cb";
2226						reg = <6>;
2227						iommus = <&apps_smmu 0x2166 0x0400>,
2228							 <&apps_smmu 0x1026 0x1420>;
2229					};
2230
2231					compute-cb@7 {
2232						compatible = "qcom,fastrpc-compute-cb";
2233						reg = <7>;
2234						iommus = <&apps_smmu 0x2167 0x0400>,
2235							 <&apps_smmu 0x1027 0x1420>;
2236					};
2237
2238					compute-cb@8 {
2239						compatible = "qcom,fastrpc-compute-cb";
2240						reg = <8>;
2241						iommus = <&apps_smmu 0x2168 0x0400>,
2242							 <&apps_smmu 0x1028 0x1420>;
2243					};
2244
2245					/* note: secure cb9 in downstream */
2246				};
2247			};
2248		};
2249
2250		remoteproc_mpss: remoteproc@4080000 {
2251			compatible = "qcom,sm8450-mpss-pas";
2252			reg = <0x0 0x04080000 0x0 0x4040>;
2253
2254			interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>,
2255					      <&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>,
2256					      <&smp2p_modem_in 1 IRQ_TYPE_EDGE_RISING>,
2257					      <&smp2p_modem_in 2 IRQ_TYPE_EDGE_RISING>,
2258					      <&smp2p_modem_in 3 IRQ_TYPE_EDGE_RISING>,
2259					      <&smp2p_modem_in 7 IRQ_TYPE_EDGE_RISING>;
2260			interrupt-names = "wdog", "fatal", "ready", "handover",
2261					  "stop-ack", "shutdown-ack";
2262
2263			clocks = <&rpmhcc RPMH_CXO_CLK>;
2264			clock-names = "xo";
2265
2266			power-domains = <&rpmhpd 0>,
2267					<&rpmhpd 12>;
2268			power-domain-names = "cx", "mss";
2269
2270			memory-region = <&mpss_mem>;
2271
2272			qcom,qmp = <&aoss_qmp>;
2273
2274			qcom,smem-states = <&smp2p_modem_out 0>;
2275			qcom,smem-state-names = "stop";
2276
2277			status = "disabled";
2278
2279			glink-edge {
2280				interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
2281							     IPCC_MPROC_SIGNAL_GLINK_QMP
2282							     IRQ_TYPE_EDGE_RISING>;
2283				mboxes = <&ipcc IPCC_CLIENT_MPSS
2284						IPCC_MPROC_SIGNAL_GLINK_QMP>;
2285				interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
2286				label = "modem";
2287				qcom,remote-pid = <1>;
2288			};
2289		};
2290
2291		pdc: interrupt-controller@b220000 {
2292			compatible = "qcom,sm8450-pdc", "qcom,pdc";
2293			reg = <0 0x0b220000 0 0x30000>, <0 0x174000f0 0 0x64>;
2294			qcom,pdc-ranges = <0 480 12>, <14 494 24>, <40 520 54>,
2295					  <94 609 31>, <125 63 1>, <126 716 12>;
2296			#interrupt-cells = <2>;
2297			interrupt-parent = <&intc>;
2298			interrupt-controller;
2299		};
2300
2301		tsens0: thermal-sensor@c263000 {
2302			compatible = "qcom,sm8450-tsens", "qcom,tsens-v2";
2303			reg = <0 0x0c263000 0 0x1000>, /* TM */
2304			      <0 0x0c222000 0 0x1000>; /* SROT */
2305			#qcom,sensors = <16>;
2306			interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
2307				     <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
2308			interrupt-names = "uplow", "critical";
2309			#thermal-sensor-cells = <1>;
2310		};
2311
2312		tsens1: thermal-sensor@c265000 {
2313			compatible = "qcom,sm8450-tsens", "qcom,tsens-v2";
2314			reg = <0 0x0c265000 0 0x1000>, /* TM */
2315			      <0 0x0c223000 0 0x1000>; /* SROT */
2316			#qcom,sensors = <16>;
2317			interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
2318				     <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
2319			interrupt-names = "uplow", "critical";
2320			#thermal-sensor-cells = <1>;
2321		};
2322
2323		aoss_qmp: power-controller@c300000 {
2324			compatible = "qcom,sm8450-aoss-qmp", "qcom,aoss-qmp";
2325			reg = <0 0x0c300000 0 0x400>;
2326			interrupts-extended = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP
2327						     IRQ_TYPE_EDGE_RISING>;
2328			mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>;
2329
2330			#clock-cells = <0>;
2331		};
2332
2333		ipcc: mailbox@ed18000 {
2334			compatible = "qcom,sm8450-ipcc", "qcom,ipcc";
2335			reg = <0 0x0ed18000 0 0x1000>;
2336			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
2337			interrupt-controller;
2338			#interrupt-cells = <3>;
2339			#mbox-cells = <2>;
2340		};
2341
2342		tlmm: pinctrl@f100000 {
2343			compatible = "qcom,sm8450-tlmm";
2344			reg = <0 0x0f100000 0 0x300000>;
2345			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
2346			gpio-controller;
2347			#gpio-cells = <2>;
2348			interrupt-controller;
2349			#interrupt-cells = <2>;
2350			gpio-ranges = <&tlmm 0 0 211>;
2351			wakeup-parent = <&pdc>;
2352
2353			pcie0_default_state: pcie0-default-state {
2354				perst {
2355					pins = "gpio94";
2356					function = "gpio";
2357					drive-strength = <2>;
2358					bias-pull-down;
2359				};
2360
2361				clkreq {
2362					pins = "gpio95";
2363					function = "pcie0_clkreqn";
2364					drive-strength = <2>;
2365					bias-pull-up;
2366				};
2367
2368				wake {
2369					pins = "gpio96";
2370					function = "gpio";
2371					drive-strength = <2>;
2372					bias-pull-up;
2373				};
2374			};
2375
2376			pcie1_default_state: pcie1-default-state {
2377				perst {
2378					pins = "gpio97";
2379					function = "gpio";
2380					drive-strength = <2>;
2381					bias-pull-down;
2382				};
2383
2384				clkreq {
2385					pins = "gpio98";
2386					function = "pcie1_clkreqn";
2387					drive-strength = <2>;
2388					bias-pull-up;
2389				};
2390
2391				wake {
2392					pins = "gpio99";
2393					function = "gpio";
2394					drive-strength = <2>;
2395					bias-pull-up;
2396				};
2397			};
2398
2399			qup_i2c0_data_clk: qup-i2c0-data-clk {
2400				pins = "gpio0", "gpio1";
2401				function = "qup0";
2402			};
2403
2404			qup_i2c1_data_clk: qup-i2c1-data-clk {
2405				pins = "gpio4", "gpio5";
2406				function = "qup1";
2407			};
2408
2409			qup_i2c2_data_clk: qup-i2c2-data-clk {
2410				pins = "gpio8", "gpio9";
2411				function = "qup2";
2412			};
2413
2414			qup_i2c3_data_clk: qup-i2c3-data-clk {
2415				pins = "gpio12", "gpio13";
2416				function = "qup3";
2417			};
2418
2419			qup_i2c4_data_clk: qup-i2c4-data-clk {
2420				pins = "gpio16", "gpio17";
2421				function = "qup4";
2422			};
2423
2424			qup_i2c5_data_clk: qup-i2c5-data-clk {
2425				pins = "gpio206", "gpio207";
2426				function = "qup5";
2427			};
2428
2429			qup_i2c6_data_clk: qup-i2c6-data-clk {
2430				pins = "gpio20", "gpio21";
2431				function = "qup6";
2432			};
2433
2434			qup_i2c8_data_clk: qup-i2c8-data-clk {
2435				pins = "gpio28", "gpio29";
2436				function = "qup8";
2437			};
2438
2439			qup_i2c9_data_clk: qup-i2c9-data-clk {
2440				pins = "gpio32", "gpio33";
2441				function = "qup9";
2442			};
2443
2444			qup_i2c10_data_clk: qup-i2c10-data-clk {
2445				pins = "gpio36", "gpio37";
2446				function = "qup10";
2447			};
2448
2449			qup_i2c11_data_clk: qup-i2c11-data-clk {
2450				pins = "gpio40", "gpio41";
2451				function = "qup11";
2452			};
2453
2454			qup_i2c12_data_clk: qup-i2c12-data-clk {
2455				pins = "gpio44", "gpio45";
2456				function = "qup12";
2457			};
2458
2459			qup_i2c13_data_clk: qup-i2c13-data-clk {
2460				pins = "gpio48", "gpio49";
2461				function = "qup13";
2462				drive-strength = <2>;
2463				bias-pull-up;
2464			};
2465
2466			qup_i2c14_data_clk: qup-i2c14-data-clk {
2467				pins = "gpio52", "gpio53";
2468				function = "qup14";
2469				drive-strength = <2>;
2470				bias-pull-up;
2471			};
2472
2473			qup_i2c15_data_clk: qup-i2c15-data-clk {
2474				pins = "gpio56", "gpio57";
2475				function = "qup15";
2476			};
2477
2478			qup_i2c16_data_clk: qup-i2c16-data-clk {
2479				pins = "gpio60", "gpio61";
2480				function = "qup16";
2481			};
2482
2483			qup_i2c17_data_clk: qup-i2c17-data-clk {
2484				pins = "gpio64", "gpio65";
2485				function = "qup17";
2486			};
2487
2488			qup_i2c18_data_clk: qup-i2c18-data-clk {
2489				pins = "gpio68", "gpio69";
2490				function = "qup18";
2491			};
2492
2493			qup_i2c19_data_clk: qup-i2c19-data-clk {
2494				pins = "gpio72", "gpio73";
2495				function = "qup19";
2496			};
2497
2498			qup_i2c20_data_clk: qup-i2c20-data-clk {
2499				pins = "gpio76", "gpio77";
2500				function = "qup20";
2501			};
2502
2503			qup_i2c21_data_clk: qup-i2c21-data-clk {
2504				pins = "gpio80", "gpio81";
2505				function = "qup21";
2506			};
2507
2508			qup_spi0_cs: qup-spi0-cs {
2509				pins = "gpio3";
2510				function = "qup0";
2511			};
2512
2513			qup_spi0_data_clk: qup-spi0-data-clk {
2514				pins = "gpio0", "gpio1", "gpio2";
2515				function = "qup0";
2516			};
2517
2518			qup_spi1_cs: qup-spi1-cs {
2519				pins = "gpio7";
2520				function = "qup1";
2521			};
2522
2523			qup_spi1_data_clk: qup-spi1-data-clk {
2524				pins = "gpio4", "gpio5", "gpio6";
2525				function = "qup1";
2526			};
2527
2528			qup_spi2_cs: qup-spi2-cs {
2529				pins = "gpio11";
2530				function = "qup2";
2531			};
2532
2533			qup_spi2_data_clk: qup-spi2-data-clk {
2534				pins = "gpio8", "gpio9", "gpio10";
2535				function = "qup2";
2536			};
2537
2538			qup_spi3_cs: qup-spi3-cs {
2539				pins = "gpio15";
2540				function = "qup3";
2541			};
2542
2543			qup_spi3_data_clk: qup-spi3-data-clk {
2544				pins = "gpio12", "gpio13", "gpio14";
2545				function = "qup3";
2546			};
2547
2548			qup_spi4_cs: qup-spi4-cs {
2549				pins = "gpio19";
2550				function = "qup4";
2551				drive-strength = <6>;
2552				bias-disable;
2553			};
2554
2555			qup_spi4_data_clk: qup-spi4-data-clk {
2556				pins = "gpio16", "gpio17", "gpio18";
2557				function = "qup4";
2558			};
2559
2560			qup_spi5_cs: qup-spi5-cs {
2561				pins = "gpio85";
2562				function = "qup5";
2563			};
2564
2565			qup_spi5_data_clk: qup-spi5-data-clk {
2566				pins = "gpio206", "gpio207", "gpio84";
2567				function = "qup5";
2568			};
2569
2570			qup_spi6_cs: qup-spi6-cs {
2571				pins = "gpio23";
2572				function = "qup6";
2573			};
2574
2575			qup_spi6_data_clk: qup-spi6-data-clk {
2576				pins = "gpio20", "gpio21", "gpio22";
2577				function = "qup6";
2578			};
2579
2580			qup_spi8_cs: qup-spi8-cs {
2581				pins = "gpio31";
2582				function = "qup8";
2583			};
2584
2585			qup_spi8_data_clk: qup-spi8-data-clk {
2586				pins = "gpio28", "gpio29", "gpio30";
2587				function = "qup8";
2588			};
2589
2590			qup_spi9_cs: qup-spi9-cs {
2591				pins = "gpio35";
2592				function = "qup9";
2593			};
2594
2595			qup_spi9_data_clk: qup-spi9-data-clk {
2596				pins = "gpio32", "gpio33", "gpio34";
2597				function = "qup9";
2598			};
2599
2600			qup_spi10_cs: qup-spi10-cs {
2601				pins = "gpio39";
2602				function = "qup10";
2603			};
2604
2605			qup_spi10_data_clk: qup-spi10-data-clk {
2606				pins = "gpio36", "gpio37", "gpio38";
2607				function = "qup10";
2608			};
2609
2610			qup_spi11_cs: qup-spi11-cs {
2611				pins = "gpio43";
2612				function = "qup11";
2613			};
2614
2615			qup_spi11_data_clk: qup-spi11-data-clk {
2616				pins = "gpio40", "gpio41", "gpio42";
2617				function = "qup11";
2618			};
2619
2620			qup_spi12_cs: qup-spi12-cs {
2621				pins = "gpio47";
2622				function = "qup12";
2623			};
2624
2625			qup_spi12_data_clk: qup-spi12-data-clk {
2626				pins = "gpio44", "gpio45", "gpio46";
2627				function = "qup12";
2628			};
2629
2630			qup_spi13_cs: qup-spi13-cs {
2631				pins = "gpio51";
2632				function = "qup13";
2633			};
2634
2635			qup_spi13_data_clk: qup-spi13-data-clk {
2636				pins = "gpio48", "gpio49", "gpio50";
2637				function = "qup13";
2638			};
2639
2640			qup_spi14_cs: qup-spi14-cs {
2641				pins = "gpio55";
2642				function = "qup14";
2643			};
2644
2645			qup_spi14_data_clk: qup-spi14-data-clk {
2646				pins = "gpio52", "gpio53", "gpio54";
2647				function = "qup14";
2648			};
2649
2650			qup_spi15_cs: qup-spi15-cs {
2651				pins = "gpio59";
2652				function = "qup15";
2653			};
2654
2655			qup_spi15_data_clk: qup-spi15-data-clk {
2656				pins = "gpio56", "gpio57", "gpio58";
2657				function = "qup15";
2658			};
2659
2660			qup_spi16_cs: qup-spi16-cs {
2661				pins = "gpio63";
2662				function = "qup16";
2663			};
2664
2665			qup_spi16_data_clk: qup-spi16-data-clk {
2666				pins = "gpio60", "gpio61", "gpio62";
2667				function = "qup16";
2668			};
2669
2670			qup_spi17_cs: qup-spi17-cs {
2671				pins = "gpio67";
2672				function = "qup17";
2673			};
2674
2675			qup_spi17_data_clk: qup-spi17-data-clk {
2676				pins = "gpio64", "gpio65", "gpio66";
2677				function = "qup17";
2678			};
2679
2680			qup_spi18_cs: qup-spi18-cs {
2681				pins = "gpio71";
2682				function = "qup18";
2683				drive-strength = <6>;
2684				bias-disable;
2685			};
2686
2687			qup_spi18_data_clk: qup-spi18-data-clk {
2688				pins = "gpio68", "gpio69", "gpio70";
2689				function = "qup18";
2690				drive-strength = <6>;
2691				bias-disable;
2692			};
2693
2694			qup_spi19_cs: qup-spi19-cs {
2695				pins = "gpio75";
2696				function = "qup19";
2697				drive-strength = <6>;
2698				bias-disable;
2699			};
2700
2701			qup_spi19_data_clk: qup-spi19-data-clk {
2702				pins = "gpio72", "gpio73", "gpio74";
2703				function = "qup19";
2704				drive-strength = <6>;
2705				bias-disable;
2706			};
2707
2708			qup_spi20_cs: qup-spi20-cs {
2709				pins = "gpio79";
2710				function = "qup20";
2711			};
2712
2713			qup_spi20_data_clk: qup-spi20-data-clk {
2714				pins = "gpio76", "gpio77", "gpio78";
2715				function = "qup20";
2716			};
2717
2718			qup_spi21_cs: qup-spi21-cs {
2719				pins = "gpio83";
2720				function = "qup21";
2721			};
2722
2723			qup_spi21_data_clk: qup-spi21-data-clk {
2724				pins = "gpio80", "gpio81", "gpio82";
2725				function = "qup21";
2726			};
2727
2728			qup_uart7_rx: qup-uart7-rx {
2729				pins = "gpio26";
2730				function = "qup7";
2731				drive-strength = <2>;
2732				bias-disable;
2733			};
2734
2735			qup_uart7_tx: qup-uart7-tx {
2736				pins = "gpio27";
2737				function = "qup7";
2738				drive-strength = <2>;
2739				bias-disable;
2740			};
2741		};
2742
2743		apps_smmu: iommu@15000000 {
2744			compatible = "qcom,sm8450-smmu-500", "arm,mmu-500";
2745			reg = <0 0x15000000 0 0x100000>;
2746			#iommu-cells = <2>;
2747			#global-interrupts = <1>;
2748			interrupts =    <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
2749					<GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
2750					<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
2751					<GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
2752					<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
2753					<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
2754					<GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
2755					<GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
2756					<GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
2757					<GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
2758					<GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
2759					<GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
2760					<GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
2761					<GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
2762					<GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
2763					<GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
2764					<GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
2765					<GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
2766					<GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
2767					<GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
2768					<GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
2769					<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
2770					<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
2771					<GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
2772					<GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
2773					<GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
2774					<GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
2775					<GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
2776					<GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
2777					<GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
2778					<GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
2779					<GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
2780					<GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
2781					<GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
2782					<GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
2783					<GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
2784					<GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
2785					<GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
2786					<GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
2787					<GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
2788					<GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
2789					<GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
2790					<GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
2791					<GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
2792					<GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
2793					<GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
2794					<GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
2795					<GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
2796					<GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
2797					<GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
2798					<GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
2799					<GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
2800					<GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
2801					<GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
2802					<GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
2803					<GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
2804					<GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
2805					<GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
2806					<GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
2807					<GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
2808					<GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
2809					<GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
2810					<GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
2811					<GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
2812					<GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
2813					<GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
2814					<GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
2815					<GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
2816					<GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
2817					<GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
2818					<GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
2819					<GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
2820					<GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
2821					<GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
2822					<GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
2823					<GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
2824					<GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
2825					<GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
2826					<GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
2827					<GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
2828					<GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
2829					<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
2830					<GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
2831					<GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>,
2832					<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
2833					<GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>,
2834					<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
2835					<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
2836					<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
2837					<GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH>,
2838					<GIC_SPI 691 IRQ_TYPE_LEVEL_HIGH>,
2839					<GIC_SPI 692 IRQ_TYPE_LEVEL_HIGH>,
2840					<GIC_SPI 693 IRQ_TYPE_LEVEL_HIGH>,
2841					<GIC_SPI 694 IRQ_TYPE_LEVEL_HIGH>,
2842					<GIC_SPI 695 IRQ_TYPE_LEVEL_HIGH>,
2843					<GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>,
2844					<GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>;
2845		};
2846
2847		intc: interrupt-controller@17100000 {
2848			compatible = "arm,gic-v3";
2849			#interrupt-cells = <3>;
2850			interrupt-controller;
2851			#redistributor-regions = <1>;
2852			redistributor-stride = <0x0 0x40000>;
2853			reg = <0x0 0x17100000 0x0 0x10000>,     /* GICD */
2854			      <0x0 0x17180000 0x0 0x200000>;    /* GICR * 8 */
2855			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
2856			#address-cells = <2>;
2857			#size-cells = <2>;
2858			ranges;
2859
2860			gic_its: msi-controller@17140000 {
2861				compatible = "arm,gic-v3-its";
2862				reg = <0x0 0x17140000 0x0 0x20000>;
2863				msi-controller;
2864				#msi-cells = <1>;
2865			};
2866		};
2867
2868		timer@17420000 {
2869			compatible = "arm,armv7-timer-mem";
2870			#address-cells = <2>;
2871			#size-cells = <2>;
2872			ranges;
2873			reg = <0x0 0x17420000 0x0 0x1000>;
2874			clock-frequency = <19200000>;
2875
2876			frame@17421000 {
2877				frame-number = <0>;
2878				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
2879					     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
2880				reg = <0x0 0x17421000 0x0 0x1000>,
2881				      <0x0 0x17422000 0x0 0x1000>;
2882			};
2883
2884			frame@17423000 {
2885				frame-number = <1>;
2886				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
2887				reg = <0x0 0x17423000 0x0 0x1000>;
2888				status = "disabled";
2889			};
2890
2891			frame@17425000 {
2892				frame-number = <2>;
2893				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
2894				reg = <0x0 0x17425000 0x0 0x1000>;
2895				status = "disabled";
2896			};
2897
2898			frame@17427000 {
2899				frame-number = <3>;
2900				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
2901				reg = <0x0 0x17427000 0x0 0x1000>;
2902				status = "disabled";
2903			};
2904
2905			frame@17429000 {
2906				frame-number = <4>;
2907				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
2908				reg = <0x0 0x17429000 0x0 0x1000>;
2909				status = "disabled";
2910			};
2911
2912			frame@1742b000 {
2913				frame-number = <5>;
2914				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
2915				reg = <0x0 0x1742b000 0x0 0x1000>;
2916				status = "disabled";
2917			};
2918
2919			frame@1742d000 {
2920				frame-number = <6>;
2921				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
2922				reg = <0x0 0x1742d000 0x0 0x1000>;
2923				status = "disabled";
2924			};
2925		};
2926
2927		apps_rsc: rsc@17a00000 {
2928			label = "apps_rsc";
2929			compatible = "qcom,rpmh-rsc";
2930			reg = <0x0 0x17a00000 0x0 0x10000>,
2931			      <0x0 0x17a10000 0x0 0x10000>,
2932			      <0x0 0x17a20000 0x0 0x10000>,
2933			      <0x0 0x17a30000 0x0 0x10000>;
2934			reg-names = "drv-0", "drv-1", "drv-2", "drv-3";
2935			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
2936				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
2937				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
2938			qcom,tcs-offset = <0xd00>;
2939			qcom,drv-id = <2>;
2940			qcom,tcs-config = <ACTIVE_TCS  3>, <SLEEP_TCS   2>,
2941					  <WAKE_TCS    2>, <CONTROL_TCS 0>;
2942
2943			apps_bcm_voter: bcm-voter {
2944				compatible = "qcom,bcm-voter";
2945			};
2946
2947			rpmhcc: clock-controller {
2948				compatible = "qcom,sm8450-rpmh-clk";
2949				#clock-cells = <1>;
2950				clock-names = "xo";
2951				clocks = <&xo_board>;
2952			};
2953
2954			rpmhpd: power-controller {
2955				compatible = "qcom,sm8450-rpmhpd";
2956				#power-domain-cells = <1>;
2957				operating-points-v2 = <&rpmhpd_opp_table>;
2958
2959				rpmhpd_opp_table: opp-table {
2960					compatible = "operating-points-v2";
2961
2962					rpmhpd_opp_ret: opp1 {
2963						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
2964					};
2965
2966					rpmhpd_opp_min_svs: opp2 {
2967						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2968					};
2969
2970					rpmhpd_opp_low_svs: opp3 {
2971						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2972					};
2973
2974					rpmhpd_opp_svs: opp4 {
2975						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2976					};
2977
2978					rpmhpd_opp_svs_l1: opp5 {
2979						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2980					};
2981
2982					rpmhpd_opp_nom: opp6 {
2983						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2984					};
2985
2986					rpmhpd_opp_nom_l1: opp7 {
2987						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
2988					};
2989
2990					rpmhpd_opp_nom_l2: opp8 {
2991						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
2992					};
2993
2994					rpmhpd_opp_turbo: opp9 {
2995						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
2996					};
2997
2998					rpmhpd_opp_turbo_l1: opp10 {
2999						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
3000					};
3001				};
3002			};
3003		};
3004
3005		cpufreq_hw: cpufreq@17d91000 {
3006			compatible = "qcom,sm8450-cpufreq-epss", "qcom,cpufreq-epss";
3007			reg = <0 0x17d91000 0 0x1000>,
3008			      <0 0x17d92000 0 0x1000>,
3009			      <0 0x17d93000 0 0x1000>;
3010			reg-names = "freq-domain0", "freq-domain1", "freq-domain2";
3011			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>;
3012			clock-names = "xo", "alternate";
3013			interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
3014				     <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
3015				     <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
3016			interrupt-names = "dcvsh-irq-0", "dcvsh-irq-1", "dcvsh-irq-2";
3017			#freq-domain-cells = <1>;
3018		};
3019
3020		gem_noc: interconnect@19100000 {
3021			compatible = "qcom,sm8450-gem-noc";
3022			reg = <0 0x19100000 0 0xbb800>;
3023			#interconnect-cells = <2>;
3024			qcom,bcm-voters = <&apps_bcm_voter>;
3025		};
3026
3027		system-cache-controller@19200000 {
3028			compatible = "qcom,sm8450-llcc";
3029			reg = <0 0x19200000 0 0x580000>, <0 0x19a00000 0 0x80000>;
3030			reg-names = "llcc_base", "llcc_broadcast_base";
3031			interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
3032		};
3033
3034		ufs_mem_hc: ufshc@1d84000 {
3035			compatible = "qcom,sm8450-ufshc", "qcom,ufshc",
3036				     "jedec,ufs-2.0";
3037			reg = <0 0x01d84000 0 0x3000>;
3038			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
3039			phys = <&ufs_mem_phy_lanes>;
3040			phy-names = "ufsphy";
3041			lanes-per-direction = <2>;
3042			#reset-cells = <1>;
3043			resets = <&gcc GCC_UFS_PHY_BCR>;
3044			reset-names = "rst";
3045
3046			power-domains = <&gcc UFS_PHY_GDSC>;
3047
3048			iommus = <&apps_smmu 0xe0 0x0>;
3049
3050			interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>,
3051					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>;
3052			interconnect-names = "ufs-ddr", "cpu-ufs";
3053			clock-names =
3054				"core_clk",
3055				"bus_aggr_clk",
3056				"iface_clk",
3057				"core_clk_unipro",
3058				"ref_clk",
3059				"tx_lane0_sync_clk",
3060				"rx_lane0_sync_clk",
3061				"rx_lane1_sync_clk";
3062			clocks =
3063				<&gcc GCC_UFS_PHY_AXI_CLK>,
3064				<&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
3065				<&gcc GCC_UFS_PHY_AHB_CLK>,
3066				<&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
3067				<&rpmhcc RPMH_CXO_CLK>,
3068				<&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
3069				<&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
3070				<&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
3071			freq-table-hz =
3072				<75000000 300000000>,
3073				<0 0>,
3074				<0 0>,
3075				<75000000 300000000>,
3076				<75000000 300000000>,
3077				<0 0>,
3078				<0 0>,
3079				<0 0>;
3080			status = "disabled";
3081		};
3082
3083		ufs_mem_phy: phy@1d87000 {
3084			compatible = "qcom,sm8450-qmp-ufs-phy";
3085			reg = <0 0x01d87000 0 0xe10>;
3086			#address-cells = <2>;
3087			#size-cells = <2>;
3088			ranges;
3089			clock-names = "ref", "ref_aux", "qref";
3090			clocks = <&rpmhcc RPMH_CXO_CLK>,
3091				 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>,
3092				 <&gcc GCC_UFS_0_CLKREF_EN>;
3093
3094			resets = <&ufs_mem_hc 0>;
3095			reset-names = "ufsphy";
3096			status = "disabled";
3097
3098			ufs_mem_phy_lanes: phy@1d87400 {
3099				reg = <0 0x01d87400 0 0x108>,
3100				      <0 0x01d87600 0 0x1e0>,
3101				      <0 0x01d87c00 0 0x1dc>,
3102				      <0 0x01d87800 0 0x108>,
3103				      <0 0x01d87a00 0 0x1e0>;
3104				#phy-cells = <0>;
3105				#clock-cells = <0>;
3106			};
3107		};
3108
3109		usb_1: usb@a6f8800 {
3110			compatible = "qcom,sm8450-dwc3", "qcom,dwc3";
3111			reg = <0 0x0a6f8800 0 0x400>;
3112			status = "disabled";
3113			#address-cells = <2>;
3114			#size-cells = <2>;
3115			ranges;
3116
3117			clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
3118				 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
3119				 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
3120				 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
3121				 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3122				 <&gcc GCC_USB3_0_CLKREF_EN>;
3123			clock-names = "cfg_noc",
3124				      "core",
3125				      "iface",
3126				      "sleep",
3127				      "mock_utmi",
3128				      "xo";
3129
3130			assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3131					  <&gcc GCC_USB30_PRIM_MASTER_CLK>;
3132			assigned-clock-rates = <19200000>, <200000000>;
3133
3134			interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
3135					      <&pdc 17 IRQ_TYPE_LEVEL_HIGH>,
3136					      <&pdc 15 IRQ_TYPE_EDGE_BOTH>,
3137					      <&pdc 14 IRQ_TYPE_EDGE_BOTH>;
3138			interrupt-names = "hs_phy_irq",
3139					  "ss_phy_irq",
3140					  "dm_hs_phy_irq",
3141					  "dp_hs_phy_irq";
3142
3143			power-domains = <&gcc USB30_PRIM_GDSC>;
3144
3145			resets = <&gcc GCC_USB30_PRIM_BCR>;
3146
3147			usb_1_dwc3: usb@a600000 {
3148				compatible = "snps,dwc3";
3149				reg = <0 0x0a600000 0 0xcd00>;
3150				interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
3151				iommus = <&apps_smmu 0x0 0x0>;
3152				snps,dis_u2_susphy_quirk;
3153				snps,dis_enblslpm_quirk;
3154				phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
3155				phy-names = "usb2-phy", "usb3-phy";
3156			};
3157		};
3158
3159		nsp_noc: interconnect@320c0000 {
3160			compatible = "qcom,sm8450-nsp-noc";
3161			reg = <0 0x320c0000 0 0x10000>;
3162			#interconnect-cells = <2>;
3163			qcom,bcm-voters = <&apps_bcm_voter>;
3164		};
3165
3166		lpass_ag_noc: interconnect@3c40000 {
3167			compatible = "qcom,sm8450-lpass-ag-noc";
3168			reg = <0 0x3c40000 0 0x17200>;
3169			#interconnect-cells = <2>;
3170			qcom,bcm-voters = <&apps_bcm_voter>;
3171		};
3172	};
3173
3174	thermal-zones {
3175		aoss0-thermal {
3176			polling-delay-passive = <0>;
3177			polling-delay = <0>;
3178			thermal-sensors = <&tsens0 0>;
3179
3180			trips {
3181				thermal-engine-config {
3182					temperature = <125000>;
3183					hysteresis = <1000>;
3184					type = "passive";
3185				};
3186
3187				reset-mon-cfg {
3188					temperature = <115000>;
3189					hysteresis = <5000>;
3190					type = "passive";
3191				};
3192			};
3193		};
3194
3195		cpuss0-thermal {
3196			polling-delay-passive = <0>;
3197			polling-delay = <0>;
3198			thermal-sensors = <&tsens0 1>;
3199
3200			trips {
3201				thermal-engine-config {
3202					temperature = <125000>;
3203					hysteresis = <1000>;
3204					type = "passive";
3205				};
3206
3207				reset-mon-cfg {
3208					temperature = <115000>;
3209					hysteresis = <5000>;
3210					type = "passive";
3211				};
3212			};
3213		};
3214
3215		cpuss1-thermal {
3216			polling-delay-passive = <0>;
3217			polling-delay = <0>;
3218			thermal-sensors = <&tsens0 2>;
3219
3220			trips {
3221				thermal-engine-config {
3222					temperature = <125000>;
3223					hysteresis = <1000>;
3224					type = "passive";
3225				};
3226
3227				reset-mon-cfg {
3228					temperature = <115000>;
3229					hysteresis = <5000>;
3230					type = "passive";
3231				};
3232			};
3233		};
3234
3235		cpuss3-thermal {
3236			polling-delay-passive = <0>;
3237			polling-delay = <0>;
3238			thermal-sensors = <&tsens0 3>;
3239
3240			trips {
3241				thermal-engine-config {
3242					temperature = <125000>;
3243					hysteresis = <1000>;
3244					type = "passive";
3245				};
3246
3247				reset-mon-cfg {
3248					temperature = <115000>;
3249					hysteresis = <5000>;
3250					type = "passive";
3251				};
3252			};
3253		};
3254
3255		cpuss4-thermal {
3256			polling-delay-passive = <0>;
3257			polling-delay = <0>;
3258			thermal-sensors = <&tsens0 4>;
3259
3260			trips {
3261				thermal-engine-config {
3262					temperature = <125000>;
3263					hysteresis = <1000>;
3264					type = "passive";
3265				};
3266
3267				reset-mon-cfg {
3268					temperature = <115000>;
3269					hysteresis = <5000>;
3270					type = "passive";
3271				};
3272			};
3273		};
3274
3275		cpu4-top-thermal {
3276			polling-delay-passive = <0>;
3277			polling-delay = <0>;
3278			thermal-sensors = <&tsens0 5>;
3279
3280			trips {
3281				cpu4_top_alert0: trip-point0 {
3282					temperature = <90000>;
3283					hysteresis = <2000>;
3284					type = "passive";
3285				};
3286
3287				cpu4_top_alert1: trip-point1 {
3288					temperature = <95000>;
3289					hysteresis = <2000>;
3290					type = "passive";
3291				};
3292
3293				cpu4_top_crit: cpu_crit {
3294					temperature = <110000>;
3295					hysteresis = <1000>;
3296					type = "critical";
3297				};
3298			};
3299		};
3300
3301		cpu4-bottom-thermal {
3302			polling-delay-passive = <0>;
3303			polling-delay = <0>;
3304			thermal-sensors = <&tsens0 6>;
3305
3306			trips {
3307				cpu4_bottom_alert0: trip-point0 {
3308					temperature = <90000>;
3309					hysteresis = <2000>;
3310					type = "passive";
3311				};
3312
3313				cpu4_bottom_alert1: trip-point1 {
3314					temperature = <95000>;
3315					hysteresis = <2000>;
3316					type = "passive";
3317				};
3318
3319				cpu4_bottom_crit: cpu_crit {
3320					temperature = <110000>;
3321					hysteresis = <1000>;
3322					type = "critical";
3323				};
3324			};
3325		};
3326
3327		cpu5-top-thermal {
3328			polling-delay-passive = <0>;
3329			polling-delay = <0>;
3330			thermal-sensors = <&tsens0 7>;
3331
3332			trips {
3333				cpu5_top_alert0: trip-point0 {
3334					temperature = <90000>;
3335					hysteresis = <2000>;
3336					type = "passive";
3337				};
3338
3339				cpu5_top_alert1: trip-point1 {
3340					temperature = <95000>;
3341					hysteresis = <2000>;
3342					type = "passive";
3343				};
3344
3345				cpu5_top_crit: cpu_crit {
3346					temperature = <110000>;
3347					hysteresis = <1000>;
3348					type = "critical";
3349				};
3350			};
3351		};
3352
3353		cpu5-bottom-thermal {
3354			polling-delay-passive = <0>;
3355			polling-delay = <0>;
3356			thermal-sensors = <&tsens0 8>;
3357
3358			trips {
3359				cpu5_bottom_alert0: trip-point0 {
3360					temperature = <90000>;
3361					hysteresis = <2000>;
3362					type = "passive";
3363				};
3364
3365				cpu5_bottom_alert1: trip-point1 {
3366					temperature = <95000>;
3367					hysteresis = <2000>;
3368					type = "passive";
3369				};
3370
3371				cpu5_bottom_crit: cpu_crit {
3372					temperature = <110000>;
3373					hysteresis = <1000>;
3374					type = "critical";
3375				};
3376			};
3377		};
3378
3379		cpu6-top-thermal {
3380			polling-delay-passive = <0>;
3381			polling-delay = <0>;
3382			thermal-sensors = <&tsens0 9>;
3383
3384			trips {
3385				cpu6_top_alert0: trip-point0 {
3386					temperature = <90000>;
3387					hysteresis = <2000>;
3388					type = "passive";
3389				};
3390
3391				cpu6_top_alert1: trip-point1 {
3392					temperature = <95000>;
3393					hysteresis = <2000>;
3394					type = "passive";
3395				};
3396
3397				cpu6_top_crit: cpu_crit {
3398					temperature = <110000>;
3399					hysteresis = <1000>;
3400					type = "critical";
3401				};
3402			};
3403		};
3404
3405		cpu6-bottom-thermal {
3406			polling-delay-passive = <0>;
3407			polling-delay = <0>;
3408			thermal-sensors = <&tsens0 10>;
3409
3410			trips {
3411				cpu6_bottom_alert0: trip-point0 {
3412					temperature = <90000>;
3413					hysteresis = <2000>;
3414					type = "passive";
3415				};
3416
3417				cpu6_bottom_alert1: trip-point1 {
3418					temperature = <95000>;
3419					hysteresis = <2000>;
3420					type = "passive";
3421				};
3422
3423				cpu6_bottom_crit: cpu_crit {
3424					temperature = <110000>;
3425					hysteresis = <1000>;
3426					type = "critical";
3427				};
3428			};
3429		};
3430
3431		cpu7-top-thermal {
3432			polling-delay-passive = <0>;
3433			polling-delay = <0>;
3434			thermal-sensors = <&tsens0 11>;
3435
3436			trips {
3437				cpu7_top_alert0: trip-point0 {
3438					temperature = <90000>;
3439					hysteresis = <2000>;
3440					type = "passive";
3441				};
3442
3443				cpu7_top_alert1: trip-point1 {
3444					temperature = <95000>;
3445					hysteresis = <2000>;
3446					type = "passive";
3447				};
3448
3449				cpu7_top_crit: cpu_crit {
3450					temperature = <110000>;
3451					hysteresis = <1000>;
3452					type = "critical";
3453				};
3454			};
3455		};
3456
3457		cpu7-middle-thermal {
3458			polling-delay-passive = <0>;
3459			polling-delay = <0>;
3460			thermal-sensors = <&tsens0 12>;
3461
3462			trips {
3463				cpu7_middle_alert0: trip-point0 {
3464					temperature = <90000>;
3465					hysteresis = <2000>;
3466					type = "passive";
3467				};
3468
3469				cpu7_middle_alert1: trip-point1 {
3470					temperature = <95000>;
3471					hysteresis = <2000>;
3472					type = "passive";
3473				};
3474
3475				cpu7_middle_crit: cpu_crit {
3476					temperature = <110000>;
3477					hysteresis = <1000>;
3478					type = "critical";
3479				};
3480			};
3481		};
3482
3483		cpu7-bottom-thermal {
3484			polling-delay-passive = <0>;
3485			polling-delay = <0>;
3486			thermal-sensors = <&tsens0 13>;
3487
3488			trips {
3489				cpu7_bottom_alert0: trip-point0 {
3490					temperature = <90000>;
3491					hysteresis = <2000>;
3492					type = "passive";
3493				};
3494
3495				cpu7_bottom_alert1: trip-point1 {
3496					temperature = <95000>;
3497					hysteresis = <2000>;
3498					type = "passive";
3499				};
3500
3501				cpu7_bottom_crit: cpu_crit {
3502					temperature = <110000>;
3503					hysteresis = <1000>;
3504					type = "critical";
3505				};
3506			};
3507		};
3508
3509		gpu-top-thermal {
3510			polling-delay-passive = <10>;
3511			polling-delay = <0>;
3512			thermal-sensors = <&tsens0 14>;
3513
3514			trips {
3515				thermal-engine-config {
3516					temperature = <125000>;
3517					hysteresis = <1000>;
3518					type = "passive";
3519				};
3520
3521				thermal-hal-config {
3522					temperature = <125000>;
3523					hysteresis = <1000>;
3524					type = "passive";
3525				};
3526
3527				reset-mon-cfg {
3528					temperature = <115000>;
3529					hysteresis = <5000>;
3530					type = "passive";
3531				};
3532
3533				gpu0_tj_cfg: tj_cfg {
3534					temperature = <95000>;
3535					hysteresis = <5000>;
3536					type = "passive";
3537				};
3538			};
3539		};
3540
3541		gpu-bottom-thermal {
3542			polling-delay-passive = <10>;
3543			polling-delay = <0>;
3544			thermal-sensors = <&tsens0 15>;
3545
3546			trips {
3547				thermal-engine-config {
3548					temperature = <125000>;
3549					hysteresis = <1000>;
3550					type = "passive";
3551				};
3552
3553				thermal-hal-config {
3554					temperature = <125000>;
3555					hysteresis = <1000>;
3556					type = "passive";
3557				};
3558
3559				reset-mon-cfg {
3560					temperature = <115000>;
3561					hysteresis = <5000>;
3562					type = "passive";
3563				};
3564
3565				gpu1_tj_cfg: tj_cfg {
3566					temperature = <95000>;
3567					hysteresis = <5000>;
3568					type = "passive";
3569				};
3570			};
3571		};
3572
3573		aoss1-thermal {
3574			polling-delay-passive = <0>;
3575			polling-delay = <0>;
3576			thermal-sensors = <&tsens1 0>;
3577
3578			trips {
3579				thermal-engine-config {
3580					temperature = <125000>;
3581					hysteresis = <1000>;
3582					type = "passive";
3583				};
3584
3585				reset-mon-cfg {
3586					temperature = <115000>;
3587					hysteresis = <5000>;
3588					type = "passive";
3589				};
3590			};
3591		};
3592
3593		cpu0-thermal {
3594			polling-delay-passive = <0>;
3595			polling-delay = <0>;
3596			thermal-sensors = <&tsens1 1>;
3597
3598			trips {
3599				cpu0_alert0: trip-point0 {
3600					temperature = <90000>;
3601					hysteresis = <2000>;
3602					type = "passive";
3603				};
3604
3605				cpu0_alert1: trip-point1 {
3606					temperature = <95000>;
3607					hysteresis = <2000>;
3608					type = "passive";
3609				};
3610
3611				cpu0_crit: cpu_crit {
3612					temperature = <110000>;
3613					hysteresis = <1000>;
3614					type = "critical";
3615				};
3616			};
3617		};
3618
3619		cpu1-thermal {
3620			polling-delay-passive = <0>;
3621			polling-delay = <0>;
3622			thermal-sensors = <&tsens1 2>;
3623
3624			trips {
3625				cpu1_alert0: trip-point0 {
3626					temperature = <90000>;
3627					hysteresis = <2000>;
3628					type = "passive";
3629				};
3630
3631				cpu1_alert1: trip-point1 {
3632					temperature = <95000>;
3633					hysteresis = <2000>;
3634					type = "passive";
3635				};
3636
3637				cpu1_crit: cpu_crit {
3638					temperature = <110000>;
3639					hysteresis = <1000>;
3640					type = "critical";
3641				};
3642			};
3643		};
3644
3645		cpu2-thermal {
3646			polling-delay-passive = <0>;
3647			polling-delay = <0>;
3648			thermal-sensors = <&tsens1 3>;
3649
3650			trips {
3651				cpu2_alert0: trip-point0 {
3652					temperature = <90000>;
3653					hysteresis = <2000>;
3654					type = "passive";
3655				};
3656
3657				cpu2_alert1: trip-point1 {
3658					temperature = <95000>;
3659					hysteresis = <2000>;
3660					type = "passive";
3661				};
3662
3663				cpu2_crit: cpu_crit {
3664					temperature = <110000>;
3665					hysteresis = <1000>;
3666					type = "critical";
3667				};
3668			};
3669		};
3670
3671		cpu3-thermal {
3672			polling-delay-passive = <0>;
3673			polling-delay = <0>;
3674			thermal-sensors = <&tsens1 4>;
3675
3676			trips {
3677				cpu3_alert0: trip-point0 {
3678					temperature = <90000>;
3679					hysteresis = <2000>;
3680					type = "passive";
3681				};
3682
3683				cpu3_alert1: trip-point1 {
3684					temperature = <95000>;
3685					hysteresis = <2000>;
3686					type = "passive";
3687				};
3688
3689				cpu3_crit: cpu_crit {
3690					temperature = <110000>;
3691					hysteresis = <1000>;
3692					type = "critical";
3693				};
3694			};
3695		};
3696
3697		cdsp0-thermal {
3698			polling-delay-passive = <10>;
3699			polling-delay = <0>;
3700			thermal-sensors = <&tsens1 5>;
3701
3702			trips {
3703				thermal-engine-config {
3704					temperature = <125000>;
3705					hysteresis = <1000>;
3706					type = "passive";
3707				};
3708
3709				thermal-hal-config {
3710					temperature = <125000>;
3711					hysteresis = <1000>;
3712					type = "passive";
3713				};
3714
3715				reset-mon-cfg {
3716					temperature = <115000>;
3717					hysteresis = <5000>;
3718					type = "passive";
3719				};
3720
3721				cdsp_0_config: junction-config {
3722					temperature = <95000>;
3723					hysteresis = <5000>;
3724					type = "passive";
3725				};
3726			};
3727		};
3728
3729		cdsp1-thermal {
3730			polling-delay-passive = <10>;
3731			polling-delay = <0>;
3732			thermal-sensors = <&tsens1 6>;
3733
3734			trips {
3735				thermal-engine-config {
3736					temperature = <125000>;
3737					hysteresis = <1000>;
3738					type = "passive";
3739				};
3740
3741				thermal-hal-config {
3742					temperature = <125000>;
3743					hysteresis = <1000>;
3744					type = "passive";
3745				};
3746
3747				reset-mon-cfg {
3748					temperature = <115000>;
3749					hysteresis = <5000>;
3750					type = "passive";
3751				};
3752
3753				cdsp_1_config: junction-config {
3754					temperature = <95000>;
3755					hysteresis = <5000>;
3756					type = "passive";
3757				};
3758			};
3759		};
3760
3761		cdsp2-thermal {
3762			polling-delay-passive = <10>;
3763			polling-delay = <0>;
3764			thermal-sensors = <&tsens1 7>;
3765
3766			trips {
3767				thermal-engine-config {
3768					temperature = <125000>;
3769					hysteresis = <1000>;
3770					type = "passive";
3771				};
3772
3773				thermal-hal-config {
3774					temperature = <125000>;
3775					hysteresis = <1000>;
3776					type = "passive";
3777				};
3778
3779				reset-mon-cfg {
3780					temperature = <115000>;
3781					hysteresis = <5000>;
3782					type = "passive";
3783				};
3784
3785				cdsp_2_config: junction-config {
3786					temperature = <95000>;
3787					hysteresis = <5000>;
3788					type = "passive";
3789				};
3790			};
3791		};
3792
3793		video-thermal {
3794			polling-delay-passive = <0>;
3795			polling-delay = <0>;
3796			thermal-sensors = <&tsens1 8>;
3797
3798			trips {
3799				thermal-engine-config {
3800					temperature = <125000>;
3801					hysteresis = <1000>;
3802					type = "passive";
3803				};
3804
3805				reset-mon-cfg {
3806					temperature = <115000>;
3807					hysteresis = <5000>;
3808					type = "passive";
3809				};
3810			};
3811		};
3812
3813		mem-thermal {
3814			polling-delay-passive = <10>;
3815			polling-delay = <0>;
3816			thermal-sensors = <&tsens1 9>;
3817
3818			trips {
3819				thermal-engine-config {
3820					temperature = <125000>;
3821					hysteresis = <1000>;
3822					type = "passive";
3823				};
3824
3825				ddr_config0: ddr0-config {
3826					temperature = <90000>;
3827					hysteresis = <5000>;
3828					type = "passive";
3829				};
3830
3831				reset-mon-cfg {
3832					temperature = <115000>;
3833					hysteresis = <5000>;
3834					type = "passive";
3835				};
3836			};
3837		};
3838
3839		modem0-thermal {
3840			polling-delay-passive = <0>;
3841			polling-delay = <0>;
3842			thermal-sensors = <&tsens1 10>;
3843
3844			trips {
3845				thermal-engine-config {
3846					temperature = <125000>;
3847					hysteresis = <1000>;
3848					type = "passive";
3849				};
3850
3851				mdmss0_config0: mdmss0-config0 {
3852					temperature = <102000>;
3853					hysteresis = <3000>;
3854					type = "passive";
3855				};
3856
3857				mdmss0_config1: mdmss0-config1 {
3858					temperature = <105000>;
3859					hysteresis = <3000>;
3860					type = "passive";
3861				};
3862
3863				reset-mon-cfg {
3864					temperature = <115000>;
3865					hysteresis = <5000>;
3866					type = "passive";
3867				};
3868			};
3869		};
3870
3871		modem1-thermal {
3872			polling-delay-passive = <0>;
3873			polling-delay = <0>;
3874			thermal-sensors = <&tsens1 11>;
3875
3876			trips {
3877				thermal-engine-config {
3878					temperature = <125000>;
3879					hysteresis = <1000>;
3880					type = "passive";
3881				};
3882
3883				mdmss1_config0: mdmss1-config0 {
3884					temperature = <102000>;
3885					hysteresis = <3000>;
3886					type = "passive";
3887				};
3888
3889				mdmss1_config1: mdmss1-config1 {
3890					temperature = <105000>;
3891					hysteresis = <3000>;
3892					type = "passive";
3893				};
3894
3895				reset-mon-cfg {
3896					temperature = <115000>;
3897					hysteresis = <5000>;
3898					type = "passive";
3899				};
3900			};
3901		};
3902
3903		modem2-thermal {
3904			polling-delay-passive = <0>;
3905			polling-delay = <0>;
3906			thermal-sensors = <&tsens1 12>;
3907
3908			trips {
3909				thermal-engine-config {
3910					temperature = <125000>;
3911					hysteresis = <1000>;
3912					type = "passive";
3913				};
3914
3915				mdmss2_config0: mdmss2-config0 {
3916					temperature = <102000>;
3917					hysteresis = <3000>;
3918					type = "passive";
3919				};
3920
3921				mdmss2_config1: mdmss2-config1 {
3922					temperature = <105000>;
3923					hysteresis = <3000>;
3924					type = "passive";
3925				};
3926
3927				reset-mon-cfg {
3928					temperature = <115000>;
3929					hysteresis = <5000>;
3930					type = "passive";
3931				};
3932			};
3933		};
3934
3935		modem3-thermal {
3936			polling-delay-passive = <0>;
3937			polling-delay = <0>;
3938			thermal-sensors = <&tsens1 13>;
3939
3940			trips {
3941				thermal-engine-config {
3942					temperature = <125000>;
3943					hysteresis = <1000>;
3944					type = "passive";
3945				};
3946
3947				mdmss3_config0: mdmss3-config0 {
3948					temperature = <102000>;
3949					hysteresis = <3000>;
3950					type = "passive";
3951				};
3952
3953				mdmss3_config1: mdmss3-config1 {
3954					temperature = <105000>;
3955					hysteresis = <3000>;
3956					type = "passive";
3957				};
3958
3959				reset-mon-cfg {
3960					temperature = <115000>;
3961					hysteresis = <5000>;
3962					type = "passive";
3963				};
3964			};
3965		};
3966
3967		camera0-thermal {
3968			polling-delay-passive = <0>;
3969			polling-delay = <0>;
3970			thermal-sensors = <&tsens1 14>;
3971
3972			trips {
3973				thermal-engine-config {
3974					temperature = <125000>;
3975					hysteresis = <1000>;
3976					type = "passive";
3977				};
3978
3979				reset-mon-cfg {
3980					temperature = <115000>;
3981					hysteresis = <5000>;
3982					type = "passive";
3983				};
3984			};
3985		};
3986
3987		camera1-thermal {
3988			polling-delay-passive = <0>;
3989			polling-delay = <0>;
3990			thermal-sensors = <&tsens1 15>;
3991
3992			trips {
3993				thermal-engine-config {
3994					temperature = <125000>;
3995					hysteresis = <1000>;
3996					type = "passive";
3997				};
3998
3999				reset-mon-cfg {
4000					temperature = <115000>;
4001					hysteresis = <5000>;
4002					type = "passive";
4003				};
4004			};
4005		};
4006	};
4007
4008	timer {
4009		compatible = "arm,armv8-timer";
4010		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
4011			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
4012			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
4013			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
4014		clock-frequency = <19200000>;
4015	};
4016};
4017