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