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