xref: /openbmc/linux/arch/arm64/boot/dts/qcom/sc7280.dtsi (revision 1c39e6f9)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * sc7280 SoC device tree source
4 *
5 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
6 */
7
8#include <dt-bindings/clock/qcom,gcc-sc7280.h>
9#include <dt-bindings/clock/qcom,rpmh.h>
10#include <dt-bindings/interconnect/qcom,sc7280.h>
11#include <dt-bindings/interrupt-controller/arm-gic.h>
12#include <dt-bindings/mailbox/qcom-ipcc.h>
13#include <dt-bindings/power/qcom-aoss-qmp.h>
14#include <dt-bindings/power/qcom-rpmpd.h>
15#include <dt-bindings/reset/qcom,sdm845-aoss.h>
16#include <dt-bindings/reset/qcom,sdm845-pdc.h>
17#include <dt-bindings/soc/qcom,rpmh-rsc.h>
18#include <dt-bindings/thermal/thermal.h>
19
20/ {
21	interrupt-parent = <&intc>;
22
23	#address-cells = <2>;
24	#size-cells = <2>;
25
26	chosen { };
27
28	aliases {
29		mmc1 = &sdhc_1;
30		mmc2 = &sdhc_2;
31	};
32
33	clocks {
34		xo_board: xo-board {
35			compatible = "fixed-clock";
36			clock-frequency = <76800000>;
37			#clock-cells = <0>;
38		};
39
40		sleep_clk: sleep-clk {
41			compatible = "fixed-clock";
42			clock-frequency = <32000>;
43			#clock-cells = <0>;
44		};
45	};
46
47	reserved-memory {
48		#address-cells = <2>;
49		#size-cells = <2>;
50		ranges;
51
52		aop_mem: memory@80800000 {
53			reg = <0x0 0x80800000 0x0 0x60000>;
54			no-map;
55		};
56
57		aop_cmd_db_mem: memory@80860000 {
58			reg = <0x0 0x80860000 0x0 0x20000>;
59			compatible = "qcom,cmd-db";
60			no-map;
61		};
62
63		smem_mem: memory@80900000 {
64			reg = <0x0 0x80900000 0x0 0x200000>;
65			no-map;
66		};
67
68		cpucp_mem: memory@80b00000 {
69			no-map;
70			reg = <0x0 0x80b00000 0x0 0x100000>;
71		};
72	};
73
74	cpus {
75		#address-cells = <2>;
76		#size-cells = <0>;
77
78		CPU0: cpu@0 {
79			device_type = "cpu";
80			compatible = "arm,kryo";
81			reg = <0x0 0x0>;
82			enable-method = "psci";
83			cpu-idle-states = <&LITTLE_CPU_SLEEP_0
84					   &LITTLE_CPU_SLEEP_1
85					   &CLUSTER_SLEEP_0>;
86			next-level-cache = <&L2_0>;
87			qcom,freq-domain = <&cpufreq_hw 0>;
88			#cooling-cells = <2>;
89			L2_0: l2-cache {
90				compatible = "cache";
91				next-level-cache = <&L3_0>;
92				L3_0: l3-cache {
93					compatible = "cache";
94				};
95			};
96		};
97
98		CPU1: cpu@100 {
99			device_type = "cpu";
100			compatible = "arm,kryo";
101			reg = <0x0 0x100>;
102			enable-method = "psci";
103			cpu-idle-states = <&LITTLE_CPU_SLEEP_0
104					   &LITTLE_CPU_SLEEP_1
105					   &CLUSTER_SLEEP_0>;
106			next-level-cache = <&L2_100>;
107			qcom,freq-domain = <&cpufreq_hw 0>;
108			#cooling-cells = <2>;
109			L2_100: l2-cache {
110				compatible = "cache";
111				next-level-cache = <&L3_0>;
112			};
113		};
114
115		CPU2: cpu@200 {
116			device_type = "cpu";
117			compatible = "arm,kryo";
118			reg = <0x0 0x200>;
119			enable-method = "psci";
120			cpu-idle-states = <&LITTLE_CPU_SLEEP_0
121					   &LITTLE_CPU_SLEEP_1
122					   &CLUSTER_SLEEP_0>;
123			next-level-cache = <&L2_200>;
124			qcom,freq-domain = <&cpufreq_hw 0>;
125			#cooling-cells = <2>;
126			L2_200: l2-cache {
127				compatible = "cache";
128				next-level-cache = <&L3_0>;
129			};
130		};
131
132		CPU3: cpu@300 {
133			device_type = "cpu";
134			compatible = "arm,kryo";
135			reg = <0x0 0x300>;
136			enable-method = "psci";
137			cpu-idle-states = <&LITTLE_CPU_SLEEP_0
138					   &LITTLE_CPU_SLEEP_1
139					   &CLUSTER_SLEEP_0>;
140			next-level-cache = <&L2_300>;
141			qcom,freq-domain = <&cpufreq_hw 0>;
142			#cooling-cells = <2>;
143			L2_300: l2-cache {
144				compatible = "cache";
145				next-level-cache = <&L3_0>;
146			};
147		};
148
149		CPU4: cpu@400 {
150			device_type = "cpu";
151			compatible = "arm,kryo";
152			reg = <0x0 0x400>;
153			enable-method = "psci";
154			cpu-idle-states = <&BIG_CPU_SLEEP_0
155					   &BIG_CPU_SLEEP_1
156					   &CLUSTER_SLEEP_0>;
157			next-level-cache = <&L2_400>;
158			qcom,freq-domain = <&cpufreq_hw 1>;
159			#cooling-cells = <2>;
160			L2_400: l2-cache {
161				compatible = "cache";
162				next-level-cache = <&L3_0>;
163			};
164		};
165
166		CPU5: cpu@500 {
167			device_type = "cpu";
168			compatible = "arm,kryo";
169			reg = <0x0 0x500>;
170			enable-method = "psci";
171			cpu-idle-states = <&BIG_CPU_SLEEP_0
172					   &BIG_CPU_SLEEP_1
173					   &CLUSTER_SLEEP_0>;
174			next-level-cache = <&L2_500>;
175			qcom,freq-domain = <&cpufreq_hw 1>;
176			#cooling-cells = <2>;
177			L2_500: l2-cache {
178				compatible = "cache";
179				next-level-cache = <&L3_0>;
180			};
181		};
182
183		CPU6: cpu@600 {
184			device_type = "cpu";
185			compatible = "arm,kryo";
186			reg = <0x0 0x600>;
187			enable-method = "psci";
188			cpu-idle-states = <&BIG_CPU_SLEEP_0
189					   &BIG_CPU_SLEEP_1
190					   &CLUSTER_SLEEP_0>;
191			next-level-cache = <&L2_600>;
192			qcom,freq-domain = <&cpufreq_hw 1>;
193			#cooling-cells = <2>;
194			L2_600: l2-cache {
195				compatible = "cache";
196				next-level-cache = <&L3_0>;
197			};
198		};
199
200		CPU7: cpu@700 {
201			device_type = "cpu";
202			compatible = "arm,kryo";
203			reg = <0x0 0x700>;
204			enable-method = "psci";
205			cpu-idle-states = <&BIG_CPU_SLEEP_0
206					   &BIG_CPU_SLEEP_1
207					   &CLUSTER_SLEEP_0>;
208			next-level-cache = <&L2_700>;
209			qcom,freq-domain = <&cpufreq_hw 1>;
210			#cooling-cells = <2>;
211			L2_700: l2-cache {
212				compatible = "cache";
213				next-level-cache = <&L3_0>;
214			};
215		};
216
217		idle-states {
218			entry-method = "psci";
219
220			LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
221				compatible = "arm,idle-state";
222				idle-state-name = "little-power-down";
223				arm,psci-suspend-param = <0x40000003>;
224				entry-latency-us = <549>;
225				exit-latency-us = <901>;
226				min-residency-us = <1774>;
227				local-timer-stop;
228			};
229
230			LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 {
231				compatible = "arm,idle-state";
232				idle-state-name = "little-rail-power-down";
233				arm,psci-suspend-param = <0x40000004>;
234				entry-latency-us = <702>;
235				exit-latency-us = <915>;
236				min-residency-us = <4001>;
237				local-timer-stop;
238			};
239
240			BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
241				compatible = "arm,idle-state";
242				idle-state-name = "big-power-down";
243				arm,psci-suspend-param = <0x40000003>;
244				entry-latency-us = <523>;
245				exit-latency-us = <1244>;
246				min-residency-us = <2207>;
247				local-timer-stop;
248			};
249
250			BIG_CPU_SLEEP_1: cpu-sleep-1-1 {
251				compatible = "arm,idle-state";
252				idle-state-name = "big-rail-power-down";
253				arm,psci-suspend-param = <0x40000004>;
254				entry-latency-us = <526>;
255				exit-latency-us = <1854>;
256				min-residency-us = <5555>;
257				local-timer-stop;
258			};
259
260			CLUSTER_SLEEP_0: cluster-sleep-0 {
261				compatible = "arm,idle-state";
262				idle-state-name = "cluster-power-down";
263				arm,psci-suspend-param = <0x40003444>;
264				entry-latency-us = <3263>;
265				exit-latency-us = <6562>;
266				min-residency-us = <9926>;
267				local-timer-stop;
268			};
269		};
270	};
271
272	memory@80000000 {
273		device_type = "memory";
274		/* We expect the bootloader to fill in the size */
275		reg = <0 0x80000000 0 0>;
276	};
277
278	firmware {
279		scm {
280			compatible = "qcom,scm-sc7280", "qcom,scm";
281		};
282	};
283
284	clk_virt: interconnect {
285		compatible = "qcom,sc7280-clk-virt";
286		#interconnect-cells = <2>;
287		qcom,bcm-voters = <&apps_bcm_voter>;
288	};
289
290	smem {
291		compatible = "qcom,smem";
292		memory-region = <&smem_mem>;
293		hwlocks = <&tcsr_mutex 3>;
294	};
295
296	smp2p-adsp {
297		compatible = "qcom,smp2p";
298		qcom,smem = <443>, <429>;
299		interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
300					     IPCC_MPROC_SIGNAL_SMP2P
301					     IRQ_TYPE_EDGE_RISING>;
302		mboxes = <&ipcc IPCC_CLIENT_LPASS
303				IPCC_MPROC_SIGNAL_SMP2P>;
304
305		qcom,local-pid = <0>;
306		qcom,remote-pid = <2>;
307
308		adsp_smp2p_out: master-kernel {
309			qcom,entry-name = "master-kernel";
310			#qcom,smem-state-cells = <1>;
311		};
312
313		adsp_smp2p_in: slave-kernel {
314			qcom,entry-name = "slave-kernel";
315			interrupt-controller;
316			#interrupt-cells = <2>;
317		};
318	};
319
320	smp2p-cdsp {
321		compatible = "qcom,smp2p";
322		qcom,smem = <94>, <432>;
323		interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
324					     IPCC_MPROC_SIGNAL_SMP2P
325					     IRQ_TYPE_EDGE_RISING>;
326		mboxes = <&ipcc IPCC_CLIENT_CDSP
327				IPCC_MPROC_SIGNAL_SMP2P>;
328
329		qcom,local-pid = <0>;
330		qcom,remote-pid = <5>;
331
332		cdsp_smp2p_out: master-kernel {
333			qcom,entry-name = "master-kernel";
334			#qcom,smem-state-cells = <1>;
335		};
336
337		cdsp_smp2p_in: slave-kernel {
338			qcom,entry-name = "slave-kernel";
339			interrupt-controller;
340			#interrupt-cells = <2>;
341		};
342	};
343
344	smp2p-mpss {
345		compatible = "qcom,smp2p";
346		qcom,smem = <435>, <428>;
347		interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
348					     IPCC_MPROC_SIGNAL_SMP2P
349					     IRQ_TYPE_EDGE_RISING>;
350		mboxes = <&ipcc IPCC_CLIENT_MPSS
351				IPCC_MPROC_SIGNAL_SMP2P>;
352
353		qcom,local-pid = <0>;
354		qcom,remote-pid = <1>;
355
356		modem_smp2p_out: master-kernel {
357			qcom,entry-name = "master-kernel";
358			#qcom,smem-state-cells = <1>;
359		};
360
361		modem_smp2p_in: slave-kernel {
362			qcom,entry-name = "slave-kernel";
363			interrupt-controller;
364			#interrupt-cells = <2>;
365		};
366
367		ipa_smp2p_out: ipa-ap-to-modem {
368			qcom,entry-name = "ipa";
369			#qcom,smem-state-cells = <1>;
370		};
371
372		ipa_smp2p_in: ipa-modem-to-ap {
373			qcom,entry-name = "ipa";
374			interrupt-controller;
375			#interrupt-cells = <2>;
376		};
377	};
378
379	smp2p-wpss {
380		compatible = "qcom,smp2p";
381		qcom,smem = <617>, <616>;
382		interrupts-extended = <&ipcc IPCC_CLIENT_WPSS
383					     IPCC_MPROC_SIGNAL_SMP2P
384					     IRQ_TYPE_EDGE_RISING>;
385		mboxes = <&ipcc IPCC_CLIENT_WPSS
386				IPCC_MPROC_SIGNAL_SMP2P>;
387
388		qcom,local-pid = <0>;
389		qcom,remote-pid = <13>;
390
391		wpss_smp2p_out: master-kernel {
392			qcom,entry-name = "master-kernel";
393			#qcom,smem-state-cells = <1>;
394		};
395
396		wpss_smp2p_in: slave-kernel {
397			qcom,entry-name = "slave-kernel";
398			interrupt-controller;
399			#interrupt-cells = <2>;
400		};
401	};
402
403	pmu {
404		compatible = "arm,armv8-pmuv3";
405		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
406	};
407
408	psci {
409		compatible = "arm,psci-1.0";
410		method = "smc";
411	};
412
413	soc: soc@0 {
414		#address-cells = <2>;
415		#size-cells = <2>;
416		ranges = <0 0 0 0 0x10 0>;
417		dma-ranges = <0 0 0 0 0x10 0>;
418		compatible = "simple-bus";
419
420		gcc: clock-controller@100000 {
421			compatible = "qcom,gcc-sc7280";
422			reg = <0 0x00100000 0 0x1f0000>;
423			clocks = <&rpmhcc RPMH_CXO_CLK>,
424				 <&rpmhcc RPMH_CXO_CLK_A>, <&sleep_clk>,
425				 <0>, <0>, <0>, <0>, <0>, <0>;
426			clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk",
427				      "pcie_0_pipe_clk", "pcie_1_pipe-clk",
428				      "ufs_phy_rx_symbol_0_clk", "ufs_phy_rx_symbol_1_clk",
429				      "ufs_phy_tx_symbol_0_clk",
430				      "usb3_phy_wrapper_gcc_usb30_pipe_clk";
431			#clock-cells = <1>;
432			#reset-cells = <1>;
433			#power-domain-cells = <1>;
434		};
435
436		ipcc: mailbox@408000 {
437			compatible = "qcom,sc7280-ipcc", "qcom,ipcc";
438			reg = <0 0x00408000 0 0x1000>;
439			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
440			interrupt-controller;
441			#interrupt-cells = <3>;
442			#mbox-cells = <2>;
443		};
444
445		sdhc_1: sdhci@7c4000 {
446			compatible = "qcom,sc7280-sdhci", "qcom,sdhci-msm-v5";
447			status = "disabled";
448
449			reg = <0 0x007c4000 0 0x1000>,
450			      <0 0x007c5000 0 0x1000>;
451			reg-names = "hc", "cqhci";
452
453			iommus = <&apps_smmu 0xc0 0x0>;
454			interrupts = <GIC_SPI 652 IRQ_TYPE_LEVEL_HIGH>,
455				     <GIC_SPI 656 IRQ_TYPE_LEVEL_HIGH>;
456			interrupt-names = "hc_irq", "pwr_irq";
457
458			clocks = <&gcc GCC_SDCC1_APPS_CLK>,
459				 <&gcc GCC_SDCC1_AHB_CLK>,
460				 <&rpmhcc RPMH_CXO_CLK>;
461			clock-names = "core", "iface", "xo";
462			interconnects = <&aggre1_noc MASTER_SDCC_1 0 &mc_virt SLAVE_EBI1 0>,
463					<&gem_noc MASTER_APPSS_PROC 0 &cnoc2 SLAVE_SDCC_1 0>;
464			interconnect-names = "sdhc-ddr","cpu-sdhc";
465			power-domains = <&rpmhpd SC7280_CX>;
466			operating-points-v2 = <&sdhc1_opp_table>;
467
468			bus-width = <8>;
469			supports-cqe;
470
471			qcom,dll-config = <0x0007642c>;
472			qcom,ddr-config = <0x80040868>;
473
474			mmc-ddr-1_8v;
475			mmc-hs200-1_8v;
476			mmc-hs400-1_8v;
477			mmc-hs400-enhanced-strobe;
478
479			sdhc1_opp_table: opp-table {
480				compatible = "operating-points-v2";
481
482				opp-100000000 {
483					opp-hz = /bits/ 64 <100000000>;
484					required-opps = <&rpmhpd_opp_low_svs>;
485					opp-peak-kBps = <1800000 400000>;
486					opp-avg-kBps = <100000 0>;
487				};
488
489				opp-384000000 {
490					opp-hz = /bits/ 64 <384000000>;
491					required-opps = <&rpmhpd_opp_nom>;
492					opp-peak-kBps = <5400000 1600000>;
493					opp-avg-kBps = <390000 0>;
494				};
495			};
496
497		};
498
499		qupv3_id_0: geniqup@9c0000 {
500			compatible = "qcom,geni-se-qup";
501			reg = <0 0x009c0000 0 0x2000>;
502			clock-names = "m-ahb", "s-ahb";
503			clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
504				 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
505			#address-cells = <2>;
506			#size-cells = <2>;
507			ranges;
508			status = "disabled";
509
510			uart5: serial@994000 {
511				compatible = "qcom,geni-debug-uart";
512				reg = <0 0x00994000 0 0x4000>;
513				clock-names = "se";
514				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
515				pinctrl-names = "default";
516				pinctrl-0 = <&qup_uart5_default>;
517				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
518				status = "disabled";
519			};
520		};
521
522		cnoc2: interconnect@1500000 {
523			reg = <0 0x01500000 0 0x1000>;
524			compatible = "qcom,sc7280-cnoc2";
525			#interconnect-cells = <2>;
526			qcom,bcm-voters = <&apps_bcm_voter>;
527		};
528
529		cnoc3: interconnect@1502000 {
530			reg = <0 0x01502000 0 0x1000>;
531			compatible = "qcom,sc7280-cnoc3";
532			#interconnect-cells = <2>;
533			qcom,bcm-voters = <&apps_bcm_voter>;
534		};
535
536		mc_virt: interconnect@1580000 {
537			reg = <0 0x01580000 0 0x4>;
538			compatible = "qcom,sc7280-mc-virt";
539			#interconnect-cells = <2>;
540			qcom,bcm-voters = <&apps_bcm_voter>;
541		};
542
543		system_noc: interconnect@1680000 {
544			reg = <0 0x01680000 0 0x15480>;
545			compatible = "qcom,sc7280-system-noc";
546			#interconnect-cells = <2>;
547			qcom,bcm-voters = <&apps_bcm_voter>;
548		};
549
550		aggre1_noc: interconnect@16e0000 {
551			compatible = "qcom,sc7280-aggre1-noc";
552			reg = <0 0x016e0000 0 0x1c080>;
553			#interconnect-cells = <2>;
554			qcom,bcm-voters = <&apps_bcm_voter>;
555		};
556
557		aggre2_noc: interconnect@1700000 {
558			reg = <0 0x01700000 0 0x2b080>;
559			compatible = "qcom,sc7280-aggre2-noc";
560			#interconnect-cells = <2>;
561			qcom,bcm-voters = <&apps_bcm_voter>;
562		};
563
564		mmss_noc: interconnect@1740000 {
565			reg = <0 0x01740000 0 0x1e080>;
566			compatible = "qcom,sc7280-mmss-noc";
567			#interconnect-cells = <2>;
568			qcom,bcm-voters = <&apps_bcm_voter>;
569		};
570
571		tcsr_mutex: hwlock@1f40000 {
572			compatible = "qcom,tcsr-mutex", "syscon";
573			reg = <0 0x01f40000 0 0x40000>;
574			#hwlock-cells = <1>;
575		};
576
577		lpasscc: lpasscc@3000000 {
578			compatible = "qcom,sc7280-lpasscc";
579			reg = <0 0x03000000 0 0x40>,
580			      <0 0x03c04000 0 0x4>,
581			      <0 0x03389000 0 0x24>;
582			reg-names = "qdsp6ss", "top_cc", "cc";
583			clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>;
584			clock-names = "iface";
585			#clock-cells = <1>;
586		};
587
588		lpass_ag_noc: interconnect@3c40000 {
589			reg = <0 0x03c40000 0 0xf080>;
590			compatible = "qcom,sc7280-lpass-ag-noc";
591			#interconnect-cells = <2>;
592			qcom,bcm-voters = <&apps_bcm_voter>;
593		};
594
595		gpucc: clock-controller@3d90000 {
596			compatible = "qcom,sc7280-gpucc";
597			reg = <0 0x03d90000 0 0x9000>;
598			clocks = <&rpmhcc RPMH_CXO_CLK>,
599				 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
600				 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
601			clock-names = "bi_tcxo",
602				      "gcc_gpu_gpll0_clk_src",
603				      "gcc_gpu_gpll0_div_clk_src";
604			#clock-cells = <1>;
605			#reset-cells = <1>;
606			#power-domain-cells = <1>;
607		};
608
609		stm@6002000 {
610			compatible = "arm,coresight-stm", "arm,primecell";
611			reg = <0 0x06002000 0 0x1000>,
612			      <0 0x16280000 0 0x180000>;
613			reg-names = "stm-base", "stm-stimulus-base";
614
615			clocks = <&aoss_qmp>;
616			clock-names = "apb_pclk";
617
618			out-ports {
619				port {
620					stm_out: endpoint {
621						remote-endpoint = <&funnel0_in7>;
622					};
623				};
624			};
625		};
626
627		funnel@6041000 {
628			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
629			reg = <0 0x06041000 0 0x1000>;
630
631			clocks = <&aoss_qmp>;
632			clock-names = "apb_pclk";
633
634			out-ports {
635				port {
636					funnel0_out: endpoint {
637						remote-endpoint = <&merge_funnel_in0>;
638					};
639				};
640			};
641
642			in-ports {
643				#address-cells = <1>;
644				#size-cells = <0>;
645
646				port@7 {
647					reg = <7>;
648					funnel0_in7: endpoint {
649						remote-endpoint = <&stm_out>;
650					};
651				};
652			};
653		};
654
655		funnel@6042000 {
656			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
657			reg = <0 0x06042000 0 0x1000>;
658
659			clocks = <&aoss_qmp>;
660			clock-names = "apb_pclk";
661
662			out-ports {
663				port {
664					funnel1_out: endpoint {
665						remote-endpoint = <&merge_funnel_in1>;
666					};
667				};
668			};
669
670			in-ports {
671				#address-cells = <1>;
672				#size-cells = <0>;
673
674				port@4 {
675					reg = <4>;
676					funnel1_in4: endpoint {
677						remote-endpoint = <&apss_merge_funnel_out>;
678					};
679				};
680			};
681		};
682
683		funnel@6045000 {
684			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
685			reg = <0 0x06045000 0 0x1000>;
686
687			clocks = <&aoss_qmp>;
688			clock-names = "apb_pclk";
689
690			out-ports {
691				port {
692					merge_funnel_out: endpoint {
693						remote-endpoint = <&swao_funnel_in>;
694					};
695				};
696			};
697
698			in-ports {
699				#address-cells = <1>;
700				#size-cells = <0>;
701
702				port@0 {
703					reg = <0>;
704					merge_funnel_in0: endpoint {
705						remote-endpoint = <&funnel0_out>;
706					};
707				};
708
709				port@1 {
710					reg = <1>;
711					merge_funnel_in1: endpoint {
712						remote-endpoint = <&funnel1_out>;
713					};
714				};
715			};
716		};
717
718		replicator@6046000 {
719			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
720			reg = <0 0x06046000 0 0x1000>;
721
722			clocks = <&aoss_qmp>;
723			clock-names = "apb_pclk";
724
725			out-ports {
726				port {
727					replicator_out: endpoint {
728						remote-endpoint = <&etr_in>;
729					};
730				};
731			};
732
733			in-ports {
734				port {
735					replicator_in: endpoint {
736						remote-endpoint = <&swao_replicator_out>;
737					};
738				};
739			};
740		};
741
742		etr@6048000 {
743			compatible = "arm,coresight-tmc", "arm,primecell";
744			reg = <0 0x06048000 0 0x1000>;
745			iommus = <&apps_smmu 0x04c0 0>;
746
747			clocks = <&aoss_qmp>;
748			clock-names = "apb_pclk";
749			arm,scatter-gather;
750
751			in-ports {
752				port {
753					etr_in: endpoint {
754						remote-endpoint = <&replicator_out>;
755					};
756				};
757			};
758		};
759
760		funnel@6b04000 {
761			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
762			reg = <0 0x06b04000 0 0x1000>;
763
764			clocks = <&aoss_qmp>;
765			clock-names = "apb_pclk";
766
767			out-ports {
768				port {
769					swao_funnel_out: endpoint {
770						remote-endpoint = <&etf_in>;
771					};
772				};
773			};
774
775			in-ports {
776				#address-cells = <1>;
777				#size-cells = <0>;
778
779				port@7 {
780					reg = <7>;
781					swao_funnel_in: endpoint {
782						remote-endpoint = <&merge_funnel_out>;
783					};
784				};
785			};
786		};
787
788		etf@6b05000 {
789			compatible = "arm,coresight-tmc", "arm,primecell";
790			reg = <0 0x06b05000 0 0x1000>;
791
792			clocks = <&aoss_qmp>;
793			clock-names = "apb_pclk";
794
795			out-ports {
796				port {
797					etf_out: endpoint {
798						remote-endpoint = <&swao_replicator_in>;
799					};
800				};
801			};
802
803			in-ports {
804				port {
805					etf_in: endpoint {
806						remote-endpoint = <&swao_funnel_out>;
807					};
808				};
809			};
810		};
811
812		replicator@6b06000 {
813			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
814			reg = <0 0x06b06000 0 0x1000>;
815
816			clocks = <&aoss_qmp>;
817			clock-names = "apb_pclk";
818			qcom,replicator-loses-context;
819
820			out-ports {
821				port {
822					swao_replicator_out: endpoint {
823						remote-endpoint = <&replicator_in>;
824					};
825				};
826			};
827
828			in-ports {
829				port {
830					swao_replicator_in: endpoint {
831						remote-endpoint = <&etf_out>;
832					};
833				};
834			};
835		};
836
837		etm@7040000 {
838			compatible = "arm,coresight-etm4x", "arm,primecell";
839			reg = <0 0x07040000 0 0x1000>;
840
841			cpu = <&CPU0>;
842
843			clocks = <&aoss_qmp>;
844			clock-names = "apb_pclk";
845			arm,coresight-loses-context-with-cpu;
846			qcom,skip-power-up;
847
848			out-ports {
849				port {
850					etm0_out: endpoint {
851						remote-endpoint = <&apss_funnel_in0>;
852					};
853				};
854			};
855		};
856
857		etm@7140000 {
858			compatible = "arm,coresight-etm4x", "arm,primecell";
859			reg = <0 0x07140000 0 0x1000>;
860
861			cpu = <&CPU1>;
862
863			clocks = <&aoss_qmp>;
864			clock-names = "apb_pclk";
865			arm,coresight-loses-context-with-cpu;
866			qcom,skip-power-up;
867
868			out-ports {
869				port {
870					etm1_out: endpoint {
871						remote-endpoint = <&apss_funnel_in1>;
872					};
873				};
874			};
875		};
876
877		etm@7240000 {
878			compatible = "arm,coresight-etm4x", "arm,primecell";
879			reg = <0 0x07240000 0 0x1000>;
880
881			cpu = <&CPU2>;
882
883			clocks = <&aoss_qmp>;
884			clock-names = "apb_pclk";
885			arm,coresight-loses-context-with-cpu;
886			qcom,skip-power-up;
887
888			out-ports {
889				port {
890					etm2_out: endpoint {
891						remote-endpoint = <&apss_funnel_in2>;
892					};
893				};
894			};
895		};
896
897		etm@7340000 {
898			compatible = "arm,coresight-etm4x", "arm,primecell";
899			reg = <0 0x07340000 0 0x1000>;
900
901			cpu = <&CPU3>;
902
903			clocks = <&aoss_qmp>;
904			clock-names = "apb_pclk";
905			arm,coresight-loses-context-with-cpu;
906			qcom,skip-power-up;
907
908			out-ports {
909				port {
910					etm3_out: endpoint {
911						remote-endpoint = <&apss_funnel_in3>;
912					};
913				};
914			};
915		};
916
917		etm@7440000 {
918			compatible = "arm,coresight-etm4x", "arm,primecell";
919			reg = <0 0x07440000 0 0x1000>;
920
921			cpu = <&CPU4>;
922
923			clocks = <&aoss_qmp>;
924			clock-names = "apb_pclk";
925			arm,coresight-loses-context-with-cpu;
926			qcom,skip-power-up;
927
928			out-ports {
929				port {
930					etm4_out: endpoint {
931						remote-endpoint = <&apss_funnel_in4>;
932					};
933				};
934			};
935		};
936
937		etm@7540000 {
938			compatible = "arm,coresight-etm4x", "arm,primecell";
939			reg = <0 0x07540000 0 0x1000>;
940
941			cpu = <&CPU5>;
942
943			clocks = <&aoss_qmp>;
944			clock-names = "apb_pclk";
945			arm,coresight-loses-context-with-cpu;
946			qcom,skip-power-up;
947
948			out-ports {
949				port {
950					etm5_out: endpoint {
951						remote-endpoint = <&apss_funnel_in5>;
952					};
953				};
954			};
955		};
956
957		etm@7640000 {
958			compatible = "arm,coresight-etm4x", "arm,primecell";
959			reg = <0 0x07640000 0 0x1000>;
960
961			cpu = <&CPU6>;
962
963			clocks = <&aoss_qmp>;
964			clock-names = "apb_pclk";
965			arm,coresight-loses-context-with-cpu;
966			qcom,skip-power-up;
967
968			out-ports {
969				port {
970					etm6_out: endpoint {
971						remote-endpoint = <&apss_funnel_in6>;
972					};
973				};
974			};
975		};
976
977		etm@7740000 {
978			compatible = "arm,coresight-etm4x", "arm,primecell";
979			reg = <0 0x07740000 0 0x1000>;
980
981			cpu = <&CPU7>;
982
983			clocks = <&aoss_qmp>;
984			clock-names = "apb_pclk";
985			arm,coresight-loses-context-with-cpu;
986			qcom,skip-power-up;
987
988			out-ports {
989				port {
990					etm7_out: endpoint {
991						remote-endpoint = <&apss_funnel_in7>;
992					};
993				};
994			};
995		};
996
997		funnel@7800000 { /* APSS Funnel */
998			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
999			reg = <0 0x07800000 0 0x1000>;
1000
1001			clocks = <&aoss_qmp>;
1002			clock-names = "apb_pclk";
1003
1004			out-ports {
1005				port {
1006					apss_funnel_out: endpoint {
1007						remote-endpoint = <&apss_merge_funnel_in>;
1008					};
1009				};
1010			};
1011
1012			in-ports {
1013				#address-cells = <1>;
1014				#size-cells = <0>;
1015
1016				port@0 {
1017					reg = <0>;
1018					apss_funnel_in0: endpoint {
1019						remote-endpoint = <&etm0_out>;
1020					};
1021				};
1022
1023				port@1 {
1024					reg = <1>;
1025					apss_funnel_in1: endpoint {
1026						remote-endpoint = <&etm1_out>;
1027					};
1028				};
1029
1030				port@2 {
1031					reg = <2>;
1032					apss_funnel_in2: endpoint {
1033						remote-endpoint = <&etm2_out>;
1034					};
1035				};
1036
1037				port@3 {
1038					reg = <3>;
1039					apss_funnel_in3: endpoint {
1040						remote-endpoint = <&etm3_out>;
1041					};
1042				};
1043
1044				port@4 {
1045					reg = <4>;
1046					apss_funnel_in4: endpoint {
1047						remote-endpoint = <&etm4_out>;
1048					};
1049				};
1050
1051				port@5 {
1052					reg = <5>;
1053					apss_funnel_in5: endpoint {
1054						remote-endpoint = <&etm5_out>;
1055					};
1056				};
1057
1058				port@6 {
1059					reg = <6>;
1060					apss_funnel_in6: endpoint {
1061						remote-endpoint = <&etm6_out>;
1062					};
1063				};
1064
1065				port@7 {
1066					reg = <7>;
1067					apss_funnel_in7: endpoint {
1068						remote-endpoint = <&etm7_out>;
1069					};
1070				};
1071			};
1072		};
1073
1074		funnel@7810000 {
1075			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1076			reg = <0 0x07810000 0 0x1000>;
1077
1078			clocks = <&aoss_qmp>;
1079			clock-names = "apb_pclk";
1080
1081			out-ports {
1082				port {
1083					apss_merge_funnel_out: endpoint {
1084						remote-endpoint = <&funnel1_in4>;
1085					};
1086				};
1087			};
1088
1089			in-ports {
1090				port {
1091					apss_merge_funnel_in: endpoint {
1092						remote-endpoint = <&apss_funnel_out>;
1093					};
1094				};
1095			};
1096		};
1097
1098		sdhc_2: sdhci@8804000 {
1099			compatible = "qcom,sc7280-sdhci", "qcom,sdhci-msm-v5";
1100			status = "disabled";
1101
1102			reg = <0 0x08804000 0 0x1000>;
1103
1104			iommus = <&apps_smmu 0x100 0x0>;
1105			interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
1106				     <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
1107			interrupt-names = "hc_irq", "pwr_irq";
1108
1109			clocks = <&gcc GCC_SDCC2_APPS_CLK>,
1110				 <&gcc GCC_SDCC2_AHB_CLK>,
1111				 <&rpmhcc RPMH_CXO_CLK>;
1112			clock-names = "core", "iface", "xo";
1113			interconnects = <&aggre1_noc MASTER_SDCC_2 0 &mc_virt SLAVE_EBI1 0>,
1114					<&gem_noc MASTER_APPSS_PROC 0 &cnoc2 SLAVE_SDCC_2 0>;
1115			interconnect-names = "sdhc-ddr","cpu-sdhc";
1116			power-domains = <&rpmhpd SC7280_CX>;
1117			operating-points-v2 = <&sdhc2_opp_table>;
1118
1119			bus-width = <4>;
1120
1121			qcom,dll-config = <0x0007642c>;
1122
1123			sdhc2_opp_table: opp-table {
1124				compatible = "operating-points-v2";
1125
1126				opp-100000000 {
1127					opp-hz = /bits/ 64 <100000000>;
1128					required-opps = <&rpmhpd_opp_low_svs>;
1129					opp-peak-kBps = <1800000 400000>;
1130					opp-avg-kBps = <100000 0>;
1131				};
1132
1133				opp-202000000 {
1134					opp-hz = /bits/ 64 <202000000>;
1135					required-opps = <&rpmhpd_opp_nom>;
1136					opp-peak-kBps = <5400000 1600000>;
1137					opp-avg-kBps = <200000 0>;
1138				};
1139			};
1140
1141		};
1142
1143		usb_1_hsphy: phy@88e3000 {
1144			compatible = "qcom,sc7280-usb-hs-phy",
1145				     "qcom,usb-snps-hs-7nm-phy";
1146			reg = <0 0x088e3000 0 0x400>;
1147			status = "disabled";
1148			#phy-cells = <0>;
1149
1150			clocks = <&rpmhcc RPMH_CXO_CLK>;
1151			clock-names = "ref";
1152
1153			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1154		};
1155
1156		usb_2_hsphy: phy@88e4000 {
1157			compatible = "qcom,sc7280-usb-hs-phy",
1158				     "qcom,usb-snps-hs-7nm-phy";
1159			reg = <0 0x088e4000 0 0x400>;
1160			status = "disabled";
1161			#phy-cells = <0>;
1162
1163			clocks = <&rpmhcc RPMH_CXO_CLK>;
1164			clock-names = "ref";
1165
1166			resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
1167		};
1168
1169		usb_1_qmpphy: phy-wrapper@88e9000 {
1170			compatible = "qcom,sc7280-qmp-usb3-dp-phy",
1171				     "qcom,sm8250-qmp-usb3-dp-phy";
1172			reg = <0 0x088e9000 0 0x200>,
1173			      <0 0x088e8000 0 0x40>,
1174			      <0 0x088ea000 0 0x200>;
1175			status = "disabled";
1176			#address-cells = <2>;
1177			#size-cells = <2>;
1178			ranges;
1179
1180			clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
1181				 <&rpmhcc RPMH_CXO_CLK>,
1182				 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
1183			clock-names = "aux", "ref_clk_src", "com_aux";
1184
1185			resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
1186				 <&gcc GCC_USB3_PHY_PRIM_BCR>;
1187			reset-names = "phy", "common";
1188
1189			usb_1_ssphy: usb3-phy@88e9200 {
1190				reg = <0 0x088e9200 0 0x200>,
1191				      <0 0x088e9400 0 0x200>,
1192				      <0 0x088e9c00 0 0x400>,
1193				      <0 0x088e9600 0 0x200>,
1194				      <0 0x088e9800 0 0x200>,
1195				      <0 0x088e9a00 0 0x100>;
1196				#clock-cells = <0>;
1197				#phy-cells = <0>;
1198				clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
1199				clock-names = "pipe0";
1200				clock-output-names = "usb3_phy_pipe_clk_src";
1201			};
1202
1203			dp_phy: dp-phy@88ea200 {
1204				reg = <0 0x088ea200 0 0x200>,
1205				      <0 0x088ea400 0 0x200>,
1206				      <0 0x088eac00 0 0x400>,
1207				      <0 0x088ea600 0 0x200>,
1208				      <0 0x088ea800 0 0x200>,
1209				      <0 0x088eaa00 0 0x100>;
1210				#phy-cells = <0>;
1211				#clock-cells = <1>;
1212				clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
1213				clock-names = "pipe0";
1214				clock-output-names = "usb3_phy_pipe_clk_src";
1215			};
1216		};
1217
1218		usb_2: usb@8cf8800 {
1219			compatible = "qcom,sc7280-dwc3", "qcom,dwc3";
1220			reg = <0 0x08cf8800 0 0x400>;
1221			status = "disabled";
1222			#address-cells = <2>;
1223			#size-cells = <2>;
1224			ranges;
1225			dma-ranges;
1226
1227			clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
1228				 <&gcc GCC_USB30_SEC_MASTER_CLK>,
1229				 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
1230				 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1231				 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
1232			clock-names = "cfg_noc", "core", "iface","mock_utmi",
1233				      "sleep";
1234
1235			assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1236					  <&gcc GCC_USB30_SEC_MASTER_CLK>;
1237			assigned-clock-rates = <19200000>, <200000000>;
1238
1239			interrupts-extended = <&intc GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>,
1240				     <&pdc 13 IRQ_TYPE_EDGE_RISING>,
1241				     <&pdc 12 IRQ_TYPE_EDGE_RISING>;
1242			interrupt-names = "hs_phy_irq",
1243					  "dm_hs_phy_irq", "dp_hs_phy_irq";
1244
1245			power-domains = <&gcc GCC_USB30_SEC_GDSC>;
1246
1247			resets = <&gcc GCC_USB30_SEC_BCR>;
1248
1249			usb_2_dwc3: usb@8c00000 {
1250				compatible = "snps,dwc3";
1251				reg = <0 0x08c00000 0 0xe000>;
1252				interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>;
1253				iommus = <&apps_smmu 0xa0 0x0>;
1254				snps,dis_u2_susphy_quirk;
1255				snps,dis_enblslpm_quirk;
1256				phys = <&usb_2_hsphy>;
1257				phy-names = "usb2-phy";
1258				maximum-speed = "high-speed";
1259			};
1260		};
1261
1262		dc_noc: interconnect@90e0000 {
1263			reg = <0 0x090e0000 0 0x5080>;
1264			compatible = "qcom,sc7280-dc-noc";
1265			#interconnect-cells = <2>;
1266			qcom,bcm-voters = <&apps_bcm_voter>;
1267		};
1268
1269		gem_noc: interconnect@9100000 {
1270			reg = <0 0x9100000 0 0xe2200>;
1271			compatible = "qcom,sc7280-gem-noc";
1272			#interconnect-cells = <2>;
1273			qcom,bcm-voters = <&apps_bcm_voter>;
1274		};
1275
1276		system-cache-controller@9200000 {
1277			compatible = "qcom,sc7280-llcc";
1278			reg = <0 0x09200000 0 0xd0000>, <0 0x09600000 0 0x50000>;
1279			reg-names = "llcc_base", "llcc_broadcast_base";
1280			interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
1281		};
1282
1283		nsp_noc: interconnect@a0c0000 {
1284			reg = <0 0x0a0c0000 0 0x10000>;
1285			compatible = "qcom,sc7280-nsp-noc";
1286			#interconnect-cells = <2>;
1287			qcom,bcm-voters = <&apps_bcm_voter>;
1288		};
1289
1290		usb_1: usb@a6f8800 {
1291			compatible = "qcom,sc7280-dwc3", "qcom,dwc3";
1292			reg = <0 0x0a6f8800 0 0x400>;
1293			status = "disabled";
1294			#address-cells = <2>;
1295			#size-cells = <2>;
1296			ranges;
1297			dma-ranges;
1298
1299			clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
1300				 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
1301				 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
1302				 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1303				 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
1304			clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1305				      "sleep";
1306
1307			assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1308					  <&gcc GCC_USB30_PRIM_MASTER_CLK>;
1309			assigned-clock-rates = <19200000>, <200000000>;
1310
1311			interrupts-extended = <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
1312					      <&pdc 14 IRQ_TYPE_EDGE_BOTH>,
1313					      <&pdc 15 IRQ_TYPE_EDGE_BOTH>,
1314					      <&pdc 17 IRQ_TYPE_LEVEL_HIGH>;
1315			interrupt-names = "hs_phy_irq", "dp_hs_phy_irq",
1316					  "dm_hs_phy_irq", "ss_phy_irq";
1317
1318			power-domains = <&gcc GCC_USB30_PRIM_GDSC>;
1319
1320			resets = <&gcc GCC_USB30_PRIM_BCR>;
1321
1322			usb_1_dwc3: usb@a600000 {
1323				compatible = "snps,dwc3";
1324				reg = <0 0x0a600000 0 0xe000>;
1325				interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
1326				iommus = <&apps_smmu 0xe0 0x0>;
1327				snps,dis_u2_susphy_quirk;
1328				snps,dis_enblslpm_quirk;
1329				phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
1330				phy-names = "usb2-phy", "usb3-phy";
1331				maximum-speed = "super-speed";
1332			};
1333		};
1334
1335		videocc: clock-controller@aaf0000 {
1336			compatible = "qcom,sc7280-videocc";
1337			reg = <0 0xaaf0000 0 0x10000>;
1338			clocks = <&rpmhcc RPMH_CXO_CLK>,
1339				<&rpmhcc RPMH_CXO_CLK_A>;
1340			clock-names = "bi_tcxo", "bi_tcxo_ao";
1341			#clock-cells = <1>;
1342			#reset-cells = <1>;
1343			#power-domain-cells = <1>;
1344		};
1345
1346		dispcc: clock-controller@af00000 {
1347			compatible = "qcom,sc7280-dispcc";
1348			reg = <0 0xaf00000 0 0x20000>;
1349			clocks = <&rpmhcc RPMH_CXO_CLK>,
1350				 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
1351				 <0>, <0>, <0>, <0>, <0>, <0>;
1352			clock-names = "bi_tcxo", "gcc_disp_gpll0_clk",
1353				      "dsi0_phy_pll_out_byteclk",
1354				      "dsi0_phy_pll_out_dsiclk",
1355				      "dp_phy_pll_link_clk",
1356				      "dp_phy_pll_vco_div_clk",
1357				      "edp_phy_pll_link_clk",
1358				      "edp_phy_pll_vco_div_clk";
1359			#clock-cells = <1>;
1360			#reset-cells = <1>;
1361			#power-domain-cells = <1>;
1362		};
1363
1364		pdc: interrupt-controller@b220000 {
1365			compatible = "qcom,sc7280-pdc", "qcom,pdc";
1366			reg = <0 0x0b220000 0 0x30000>;
1367			qcom,pdc-ranges = <0 480 40>, <40 140 14>, <54 263 1>,
1368					  <55 306 4>, <59 312 3>, <62 374 2>,
1369					  <64 434 2>, <66 438 3>, <69 86 1>,
1370					  <70 520 54>, <124 609 31>, <155 63 1>,
1371					  <156 716 12>;
1372			#interrupt-cells = <2>;
1373			interrupt-parent = <&intc>;
1374			interrupt-controller;
1375		};
1376
1377		pdc_reset: reset-controller@b5e0000 {
1378			compatible = "qcom,sc7280-pdc-global";
1379			reg = <0 0x0b5e0000 0 0x20000>;
1380			#reset-cells = <1>;
1381		};
1382
1383		tsens0: thermal-sensor@c263000 {
1384			compatible = "qcom,sc7280-tsens","qcom,tsens-v2";
1385			reg = <0 0x0c263000 0 0x1ff>, /* TM */
1386				<0 0x0c222000 0 0x1ff>; /* SROT */
1387			#qcom,sensors = <15>;
1388			interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
1389				     <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
1390			interrupt-names = "uplow","critical";
1391			#thermal-sensor-cells = <1>;
1392		};
1393
1394		tsens1: thermal-sensor@c265000 {
1395			compatible = "qcom,sc7280-tsens","qcom,tsens-v2";
1396			reg = <0 0x0c265000 0 0x1ff>, /* TM */
1397				<0 0x0c223000 0 0x1ff>; /* SROT */
1398			#qcom,sensors = <12>;
1399			interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
1400				     <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
1401			interrupt-names = "uplow","critical";
1402			#thermal-sensor-cells = <1>;
1403		};
1404
1405		aoss_reset: reset-controller@c2a0000 {
1406			compatible = "qcom,sc7280-aoss-cc", "qcom,sdm845-aoss-cc";
1407			reg = <0 0x0c2a0000 0 0x31000>;
1408			#reset-cells = <1>;
1409		};
1410
1411		aoss_qmp: power-controller@c300000 {
1412			compatible = "qcom,sc7280-aoss-qmp";
1413			reg = <0 0x0c300000 0 0x100000>;
1414			interrupts-extended = <&ipcc IPCC_CLIENT_AOP
1415						     IPCC_MPROC_SIGNAL_GLINK_QMP
1416						     IRQ_TYPE_EDGE_RISING>;
1417			mboxes = <&ipcc IPCC_CLIENT_AOP
1418					IPCC_MPROC_SIGNAL_GLINK_QMP>;
1419
1420			#clock-cells = <0>;
1421			#power-domain-cells = <1>;
1422		};
1423
1424		spmi_bus: spmi@c440000 {
1425			compatible = "qcom,spmi-pmic-arb";
1426			reg = <0 0x0c440000 0 0x1100>,
1427			      <0 0x0c600000 0 0x2000000>,
1428			      <0 0x0e600000 0 0x100000>,
1429			      <0 0x0e700000 0 0xa0000>,
1430			      <0 0x0c40a000 0 0x26000>;
1431			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1432			interrupt-names = "periph_irq";
1433			interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
1434			qcom,ee = <0>;
1435			qcom,channel = <0>;
1436			#address-cells = <1>;
1437			#size-cells = <1>;
1438			interrupt-controller;
1439			#interrupt-cells = <4>;
1440		};
1441
1442		tlmm: pinctrl@f100000 {
1443			compatible = "qcom,sc7280-pinctrl";
1444			reg = <0 0x0f100000 0 0x300000>;
1445			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1446			gpio-controller;
1447			#gpio-cells = <2>;
1448			interrupt-controller;
1449			#interrupt-cells = <2>;
1450			gpio-ranges = <&tlmm 0 0 175>;
1451			wakeup-parent = <&pdc>;
1452
1453			qup_uart5_default: qup-uart5-default {
1454				pins = "gpio46", "gpio47";
1455				function = "qup13";
1456			};
1457
1458			sdc1_on: sdc1-on {
1459				clk {
1460					pins = "sdc1_clk";
1461				};
1462
1463				cmd {
1464					pins = "sdc1_cmd";
1465				};
1466
1467				data {
1468					pins = "sdc1_data";
1469				};
1470
1471				rclk {
1472					pins = "sdc1_rclk";
1473				};
1474			};
1475
1476			sdc1_off: sdc1-off {
1477				clk {
1478					pins = "sdc1_clk";
1479					drive-strength = <2>;
1480					bias-bus-hold;
1481				};
1482
1483				cmd {
1484					pins = "sdc1_cmd";
1485					drive-strength = <2>;
1486					bias-bus-hold;
1487				};
1488
1489				data {
1490					pins = "sdc1_data";
1491					drive-strength = <2>;
1492					bias-bus-hold;
1493				};
1494
1495				rclk {
1496					pins = "sdc1_rclk";
1497					bias-bus-hold;
1498				};
1499			};
1500
1501			sdc2_on: sdc2-on {
1502				clk {
1503					pins = "sdc2_clk";
1504				};
1505
1506				cmd {
1507					pins = "sdc2_cmd";
1508				};
1509
1510				data {
1511					pins = "sdc2_data";
1512				};
1513
1514				sd-cd {
1515					pins = "gpio91";
1516				};
1517			};
1518
1519			sdc2_off: sdc2-off {
1520				clk {
1521					pins = "sdc2_clk";
1522					drive-strength = <2>;
1523					bias-bus-hold;
1524				};
1525
1526				cmd {
1527					pins ="sdc2_cmd";
1528					drive-strength = <2>;
1529					bias-bus-hold;
1530				};
1531
1532				data {
1533					pins ="sdc2_data";
1534					drive-strength = <2>;
1535					bias-bus-hold;
1536				};
1537			};
1538		};
1539
1540		apps_smmu: iommu@15000000 {
1541			compatible = "qcom,sc7280-smmu-500", "arm,mmu-500";
1542			reg = <0 0x15000000 0 0x100000>;
1543			#iommu-cells = <2>;
1544			#global-interrupts = <1>;
1545			dma-coherent;
1546			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
1547				     <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
1548				     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
1549				     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
1550				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
1551				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
1552				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
1553				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
1554				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
1555				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
1556				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
1557				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
1558				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
1559				     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
1560				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
1561				     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
1562				     <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
1563				     <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
1564				     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
1565				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
1566				     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
1567				     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1568				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1569				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1570				     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
1571				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
1572				     <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
1573				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
1574				     <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
1575				     <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
1576				     <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
1577				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
1578				     <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
1579				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
1580				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
1581				     <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
1582				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
1583				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
1584				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
1585				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
1586				     <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
1587				     <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
1588				     <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
1589				     <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
1590				     <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
1591				     <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
1592				     <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
1593				     <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
1594				     <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
1595				     <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
1596				     <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
1597				     <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
1598				     <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
1599				     <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
1600				     <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
1601				     <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
1602				     <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
1603				     <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
1604				     <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
1605				     <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
1606				     <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
1607				     <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
1608				     <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
1609				     <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
1610				     <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
1611				     <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
1612				     <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
1613				     <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
1614				     <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
1615				     <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
1616				     <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
1617				     <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
1618				     <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
1619				     <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
1620				     <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
1621				     <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
1622				     <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
1623				     <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
1624				     <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
1625				     <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
1626				     <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>;
1627		};
1628
1629		intc: interrupt-controller@17a00000 {
1630			compatible = "arm,gic-v3";
1631			#address-cells = <2>;
1632			#size-cells = <2>;
1633			ranges;
1634			#interrupt-cells = <3>;
1635			interrupt-controller;
1636			reg = <0 0x17a00000 0 0x10000>,     /* GICD */
1637			      <0 0x17a60000 0 0x100000>;    /* GICR * 8 */
1638			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
1639
1640			gic-its@17a40000 {
1641				compatible = "arm,gic-v3-its";
1642				msi-controller;
1643				#msi-cells = <1>;
1644				reg = <0 0x17a40000 0 0x20000>;
1645				status = "disabled";
1646			};
1647		};
1648
1649		watchdog@17c10000 {
1650			compatible = "qcom,apss-wdt-sc7280", "qcom,kpss-wdt";
1651			reg = <0 0x17c10000 0 0x1000>;
1652			clocks = <&sleep_clk>;
1653			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
1654		};
1655
1656		timer@17c20000 {
1657			#address-cells = <2>;
1658			#size-cells = <2>;
1659			ranges;
1660			compatible = "arm,armv7-timer-mem";
1661			reg = <0 0x17c20000 0 0x1000>;
1662
1663			frame@17c21000 {
1664				frame-number = <0>;
1665				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
1666					     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1667				reg = <0 0x17c21000 0 0x1000>,
1668				      <0 0x17c22000 0 0x1000>;
1669			};
1670
1671			frame@17c23000 {
1672				frame-number = <1>;
1673				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
1674				reg = <0 0x17c23000 0 0x1000>;
1675				status = "disabled";
1676			};
1677
1678			frame@17c25000 {
1679				frame-number = <2>;
1680				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
1681				reg = <0 0x17c25000 0 0x1000>;
1682				status = "disabled";
1683			};
1684
1685			frame@17c27000 {
1686				frame-number = <3>;
1687				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
1688				reg = <0 0x17c27000 0 0x1000>;
1689				status = "disabled";
1690			};
1691
1692			frame@17c29000 {
1693				frame-number = <4>;
1694				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1695				reg = <0 0x17c29000 0 0x1000>;
1696				status = "disabled";
1697			};
1698
1699			frame@17c2b000 {
1700				frame-number = <5>;
1701				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
1702				reg = <0 0x17c2b000 0 0x1000>;
1703				status = "disabled";
1704			};
1705
1706			frame@17c2d000 {
1707				frame-number = <6>;
1708				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1709				reg = <0 0x17c2d000 0 0x1000>;
1710				status = "disabled";
1711			};
1712		};
1713
1714		apps_rsc: rsc@18200000 {
1715			compatible = "qcom,rpmh-rsc";
1716			reg = <0 0x18200000 0 0x10000>,
1717			      <0 0x18210000 0 0x10000>,
1718			      <0 0x18220000 0 0x10000>;
1719			reg-names = "drv-0", "drv-1", "drv-2";
1720			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
1721				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
1722				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1723			qcom,tcs-offset = <0xd00>;
1724			qcom,drv-id = <2>;
1725			qcom,tcs-config = <ACTIVE_TCS  2>,
1726					  <SLEEP_TCS   3>,
1727					  <WAKE_TCS    3>,
1728					  <CONTROL_TCS 1>;
1729
1730			apps_bcm_voter: bcm-voter {
1731				compatible = "qcom,bcm-voter";
1732			};
1733
1734			rpmhpd: power-controller {
1735				compatible = "qcom,sc7280-rpmhpd";
1736				#power-domain-cells = <1>;
1737				operating-points-v2 = <&rpmhpd_opp_table>;
1738
1739				rpmhpd_opp_table: opp-table {
1740					compatible = "operating-points-v2";
1741
1742					rpmhpd_opp_ret: opp1 {
1743						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
1744					};
1745
1746					rpmhpd_opp_low_svs: opp2 {
1747						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
1748					};
1749
1750					rpmhpd_opp_svs: opp3 {
1751						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
1752					};
1753
1754					rpmhpd_opp_svs_l1: opp4 {
1755						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
1756					};
1757
1758					rpmhpd_opp_svs_l2: opp5 {
1759						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
1760					};
1761
1762					rpmhpd_opp_nom: opp6 {
1763						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
1764					};
1765
1766					rpmhpd_opp_nom_l1: opp7 {
1767						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
1768					};
1769
1770					rpmhpd_opp_turbo: opp8 {
1771						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
1772					};
1773
1774					rpmhpd_opp_turbo_l1: opp9 {
1775						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
1776					};
1777				};
1778			};
1779
1780			rpmhcc: clock-controller {
1781				compatible = "qcom,sc7280-rpmh-clk";
1782				clocks = <&xo_board>;
1783				clock-names = "xo";
1784				#clock-cells = <1>;
1785			};
1786		};
1787
1788		cpufreq_hw: cpufreq@18591000 {
1789			compatible = "qcom,cpufreq-epss";
1790			reg = <0 0x18591000 0 0x1000>,
1791			      <0 0x18592000 0 0x1000>,
1792			      <0 0x18593000 0 0x1000>;
1793			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>;
1794			clock-names = "xo", "alternate";
1795			#freq-domain-cells = <1>;
1796		};
1797	};
1798
1799	thermal_zones: thermal-zones {
1800		cpu0-thermal {
1801			polling-delay-passive = <250>;
1802			polling-delay = <0>;
1803
1804			thermal-sensors = <&tsens0 1>;
1805
1806			trips {
1807				cpu0_alert0: trip-point0 {
1808					temperature = <90000>;
1809					hysteresis = <2000>;
1810					type = "passive";
1811				};
1812
1813				cpu0_alert1: trip-point1 {
1814					temperature = <95000>;
1815					hysteresis = <2000>;
1816					type = "passive";
1817				};
1818
1819				cpu0_crit: cpu-crit {
1820					temperature = <110000>;
1821					hysteresis = <0>;
1822					type = "critical";
1823				};
1824			};
1825
1826			cooling-maps {
1827				map0 {
1828					trip = <&cpu0_alert0>;
1829					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1830							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1831							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1832							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1833				};
1834				map1 {
1835					trip = <&cpu0_alert1>;
1836					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1837							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1838							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1839							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1840				};
1841			};
1842		};
1843
1844		cpu1-thermal {
1845			polling-delay-passive = <250>;
1846			polling-delay = <0>;
1847
1848			thermal-sensors = <&tsens0 2>;
1849
1850			trips {
1851				cpu1_alert0: trip-point0 {
1852					temperature = <90000>;
1853					hysteresis = <2000>;
1854					type = "passive";
1855				};
1856
1857				cpu1_alert1: trip-point1 {
1858					temperature = <95000>;
1859					hysteresis = <2000>;
1860					type = "passive";
1861				};
1862
1863				cpu1_crit: cpu-crit {
1864					temperature = <110000>;
1865					hysteresis = <0>;
1866					type = "critical";
1867				};
1868			};
1869
1870			cooling-maps {
1871				map0 {
1872					trip = <&cpu1_alert0>;
1873					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1874							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1875							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1876							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1877				};
1878				map1 {
1879					trip = <&cpu1_alert1>;
1880					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1881							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1882							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1883							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1884				};
1885			};
1886		};
1887
1888		cpu2-thermal {
1889			polling-delay-passive = <250>;
1890			polling-delay = <0>;
1891
1892			thermal-sensors = <&tsens0 3>;
1893
1894			trips {
1895				cpu2_alert0: trip-point0 {
1896					temperature = <90000>;
1897					hysteresis = <2000>;
1898					type = "passive";
1899				};
1900
1901				cpu2_alert1: trip-point1 {
1902					temperature = <95000>;
1903					hysteresis = <2000>;
1904					type = "passive";
1905				};
1906
1907				cpu2_crit: cpu-crit {
1908					temperature = <110000>;
1909					hysteresis = <0>;
1910					type = "critical";
1911				};
1912			};
1913
1914			cooling-maps {
1915				map0 {
1916					trip = <&cpu2_alert0>;
1917					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1918							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1919							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1920							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1921				};
1922				map1 {
1923					trip = <&cpu2_alert1>;
1924					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1925							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1926							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1927							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1928				};
1929			};
1930		};
1931
1932		cpu3-thermal {
1933			polling-delay-passive = <250>;
1934			polling-delay = <0>;
1935
1936			thermal-sensors = <&tsens0 4>;
1937
1938			trips {
1939				cpu3_alert0: trip-point0 {
1940					temperature = <90000>;
1941					hysteresis = <2000>;
1942					type = "passive";
1943				};
1944
1945				cpu3_alert1: trip-point1 {
1946					temperature = <95000>;
1947					hysteresis = <2000>;
1948					type = "passive";
1949				};
1950
1951				cpu3_crit: cpu-crit {
1952					temperature = <110000>;
1953					hysteresis = <0>;
1954					type = "critical";
1955				};
1956			};
1957
1958			cooling-maps {
1959				map0 {
1960					trip = <&cpu3_alert0>;
1961					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1962							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1963							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1964							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1965				};
1966				map1 {
1967					trip = <&cpu3_alert1>;
1968					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1969							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1970							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1971							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1972				};
1973			};
1974		};
1975
1976		cpu4-thermal {
1977			polling-delay-passive = <250>;
1978			polling-delay = <0>;
1979
1980			thermal-sensors = <&tsens0 7>;
1981
1982			trips {
1983				cpu4_alert0: trip-point0 {
1984					temperature = <90000>;
1985					hysteresis = <2000>;
1986					type = "passive";
1987				};
1988
1989				cpu4_alert1: trip-point1 {
1990					temperature = <95000>;
1991					hysteresis = <2000>;
1992					type = "passive";
1993				};
1994
1995				cpu4_crit: cpu-crit {
1996					temperature = <110000>;
1997					hysteresis = <0>;
1998					type = "critical";
1999				};
2000			};
2001
2002			cooling-maps {
2003				map0 {
2004					trip = <&cpu4_alert0>;
2005					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2006							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2007							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2008							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2009				};
2010				map1 {
2011					trip = <&cpu4_alert1>;
2012					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2013							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2014							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2015							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2016				};
2017			};
2018		};
2019
2020		cpu5-thermal {
2021			polling-delay-passive = <250>;
2022			polling-delay = <0>;
2023
2024			thermal-sensors = <&tsens0 8>;
2025
2026			trips {
2027				cpu5_alert0: trip-point0 {
2028					temperature = <90000>;
2029					hysteresis = <2000>;
2030					type = "passive";
2031				};
2032
2033				cpu5_alert1: trip-point1 {
2034					temperature = <95000>;
2035					hysteresis = <2000>;
2036					type = "passive";
2037				};
2038
2039				cpu5_crit: cpu-crit {
2040					temperature = <110000>;
2041					hysteresis = <0>;
2042					type = "critical";
2043				};
2044			};
2045
2046			cooling-maps {
2047				map0 {
2048					trip = <&cpu5_alert0>;
2049					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2050							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2051							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2052							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2053				};
2054				map1 {
2055					trip = <&cpu5_alert1>;
2056					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2057							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2058							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2059							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2060				};
2061			};
2062		};
2063
2064		cpu6-thermal {
2065			polling-delay-passive = <250>;
2066			polling-delay = <0>;
2067
2068			thermal-sensors = <&tsens0 9>;
2069
2070			trips {
2071				cpu6_alert0: trip-point0 {
2072					temperature = <90000>;
2073					hysteresis = <2000>;
2074					type = "passive";
2075				};
2076
2077				cpu6_alert1: trip-point1 {
2078					temperature = <95000>;
2079					hysteresis = <2000>;
2080					type = "passive";
2081				};
2082
2083				cpu6_crit: cpu-crit {
2084					temperature = <110000>;
2085					hysteresis = <0>;
2086					type = "critical";
2087				};
2088			};
2089
2090			cooling-maps {
2091				map0 {
2092					trip = <&cpu6_alert0>;
2093					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2094							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2095							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2096							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2097				};
2098				map1 {
2099					trip = <&cpu6_alert1>;
2100					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2101							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2102							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2103							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2104				};
2105			};
2106		};
2107
2108		cpu7-thermal {
2109			polling-delay-passive = <250>;
2110			polling-delay = <0>;
2111
2112			thermal-sensors = <&tsens0 10>;
2113
2114			trips {
2115				cpu7_alert0: trip-point0 {
2116					temperature = <90000>;
2117					hysteresis = <2000>;
2118					type = "passive";
2119				};
2120
2121				cpu7_alert1: trip-point1 {
2122					temperature = <95000>;
2123					hysteresis = <2000>;
2124					type = "passive";
2125				};
2126
2127				cpu7_crit: cpu-crit {
2128					temperature = <110000>;
2129					hysteresis = <0>;
2130					type = "critical";
2131				};
2132			};
2133
2134			cooling-maps {
2135				map0 {
2136					trip = <&cpu7_alert0>;
2137					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2138							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2139							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2140							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2141				};
2142				map1 {
2143					trip = <&cpu7_alert1>;
2144					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2145							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2146							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2147							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2148				};
2149			};
2150		};
2151
2152		cpu8-thermal {
2153			polling-delay-passive = <250>;
2154			polling-delay = <0>;
2155
2156			thermal-sensors = <&tsens0 11>;
2157
2158			trips {
2159				cpu8_alert0: trip-point0 {
2160					temperature = <90000>;
2161					hysteresis = <2000>;
2162					type = "passive";
2163				};
2164
2165				cpu8_alert1: trip-point1 {
2166					temperature = <95000>;
2167					hysteresis = <2000>;
2168					type = "passive";
2169				};
2170
2171				cpu8_crit: cpu-crit {
2172					temperature = <110000>;
2173					hysteresis = <0>;
2174					type = "critical";
2175				};
2176			};
2177
2178			cooling-maps {
2179				map0 {
2180					trip = <&cpu8_alert0>;
2181					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2182							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2183							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2184							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2185				};
2186				map1 {
2187					trip = <&cpu8_alert1>;
2188					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2189							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2190							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2191							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2192				};
2193			};
2194		};
2195
2196		cpu9-thermal {
2197			polling-delay-passive = <250>;
2198			polling-delay = <0>;
2199
2200			thermal-sensors = <&tsens0 12>;
2201
2202			trips {
2203				cpu9_alert0: trip-point0 {
2204					temperature = <90000>;
2205					hysteresis = <2000>;
2206					type = "passive";
2207				};
2208
2209				cpu9_alert1: trip-point1 {
2210					temperature = <95000>;
2211					hysteresis = <2000>;
2212					type = "passive";
2213				};
2214
2215				cpu9_crit: cpu-crit {
2216					temperature = <110000>;
2217					hysteresis = <0>;
2218					type = "critical";
2219				};
2220			};
2221
2222			cooling-maps {
2223				map0 {
2224					trip = <&cpu9_alert0>;
2225					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2226							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2227							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2228							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2229				};
2230				map1 {
2231					trip = <&cpu9_alert1>;
2232					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2233							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2234							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2235							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2236				};
2237			};
2238		};
2239
2240		cpu10-thermal {
2241			polling-delay-passive = <250>;
2242			polling-delay = <0>;
2243
2244			thermal-sensors = <&tsens0 13>;
2245
2246			trips {
2247				cpu10_alert0: trip-point0 {
2248					temperature = <90000>;
2249					hysteresis = <2000>;
2250					type = "passive";
2251				};
2252
2253				cpu10_alert1: trip-point1 {
2254					temperature = <95000>;
2255					hysteresis = <2000>;
2256					type = "passive";
2257				};
2258
2259				cpu10_crit: cpu-crit {
2260					temperature = <110000>;
2261					hysteresis = <0>;
2262					type = "critical";
2263				};
2264			};
2265
2266			cooling-maps {
2267				map0 {
2268					trip = <&cpu10_alert0>;
2269					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2270							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2271							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2272							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2273				};
2274				map1 {
2275					trip = <&cpu10_alert1>;
2276					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2277							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2278							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2279							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2280				};
2281			};
2282		};
2283
2284		cpu11-thermal {
2285			polling-delay-passive = <250>;
2286			polling-delay = <0>;
2287
2288			thermal-sensors = <&tsens0 14>;
2289
2290			trips {
2291				cpu11_alert0: trip-point0 {
2292					temperature = <90000>;
2293					hysteresis = <2000>;
2294					type = "passive";
2295				};
2296
2297				cpu11_alert1: trip-point1 {
2298					temperature = <95000>;
2299					hysteresis = <2000>;
2300					type = "passive";
2301				};
2302
2303				cpu11_crit: cpu-crit {
2304					temperature = <110000>;
2305					hysteresis = <0>;
2306					type = "critical";
2307				};
2308			};
2309
2310			cooling-maps {
2311				map0 {
2312					trip = <&cpu11_alert0>;
2313					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2314							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2315							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2316							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2317				};
2318				map1 {
2319					trip = <&cpu11_alert1>;
2320					cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2321							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2322							 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2323							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2324				};
2325			};
2326		};
2327
2328		aoss0-thermal {
2329			polling-delay-passive = <0>;
2330			polling-delay = <0>;
2331
2332			thermal-sensors = <&tsens0 0>;
2333
2334			trips {
2335				aoss0_alert0: trip-point0 {
2336					temperature = <90000>;
2337					hysteresis = <2000>;
2338					type = "hot";
2339				};
2340
2341				aoss0_crit: aoss0-crit {
2342					temperature = <110000>;
2343					hysteresis = <0>;
2344					type = "critical";
2345				};
2346			};
2347		};
2348
2349		aoss1-thermal {
2350			polling-delay-passive = <0>;
2351			polling-delay = <0>;
2352
2353			thermal-sensors = <&tsens1 0>;
2354
2355			trips {
2356				aoss1_alert0: trip-point0 {
2357					temperature = <90000>;
2358					hysteresis = <2000>;
2359					type = "hot";
2360				};
2361
2362				aoss1_crit: aoss1-crit {
2363					temperature = <110000>;
2364					hysteresis = <0>;
2365					type = "critical";
2366				};
2367			};
2368		};
2369
2370		cpuss0-thermal {
2371			polling-delay-passive = <0>;
2372			polling-delay = <0>;
2373
2374			thermal-sensors = <&tsens0 5>;
2375
2376			trips {
2377				cpuss0_alert0: trip-point0 {
2378					temperature = <90000>;
2379					hysteresis = <2000>;
2380					type = "hot";
2381				};
2382				cpuss0_crit: cluster0-crit {
2383					temperature = <110000>;
2384					hysteresis = <0>;
2385					type = "critical";
2386				};
2387			};
2388		};
2389
2390		cpuss1-thermal {
2391			polling-delay-passive = <0>;
2392			polling-delay = <0>;
2393
2394			thermal-sensors = <&tsens0 6>;
2395
2396			trips {
2397				cpuss1_alert0: trip-point0 {
2398					temperature = <90000>;
2399					hysteresis = <2000>;
2400					type = "hot";
2401				};
2402				cpuss1_crit: cluster0-crit {
2403					temperature = <110000>;
2404					hysteresis = <0>;
2405					type = "critical";
2406				};
2407			};
2408		};
2409
2410		gpuss0-thermal {
2411			polling-delay-passive = <0>;
2412			polling-delay = <0>;
2413
2414			thermal-sensors = <&tsens1 1>;
2415
2416			trips {
2417				gpuss0_alert0: trip-point0 {
2418					temperature = <90000>;
2419					hysteresis = <2000>;
2420					type = "hot";
2421				};
2422
2423				gpuss0_crit: gpuss0-crit {
2424					temperature = <110000>;
2425					hysteresis = <0>;
2426					type = "critical";
2427				};
2428			};
2429		};
2430
2431		gpuss1-thermal {
2432			polling-delay-passive = <0>;
2433			polling-delay = <0>;
2434
2435			thermal-sensors = <&tsens1 2>;
2436
2437			trips {
2438				gpuss1_alert0: trip-point0 {
2439					temperature = <90000>;
2440					hysteresis = <2000>;
2441					type = "hot";
2442				};
2443
2444				gpuss1_crit: gpuss1-crit {
2445					temperature = <110000>;
2446					hysteresis = <0>;
2447					type = "critical";
2448				};
2449			};
2450		};
2451
2452		nspss0-thermal {
2453			polling-delay-passive = <0>;
2454			polling-delay = <0>;
2455
2456			thermal-sensors = <&tsens1 3>;
2457
2458			trips {
2459				nspss0_alert0: trip-point0 {
2460					temperature = <90000>;
2461					hysteresis = <2000>;
2462					type = "hot";
2463				};
2464
2465				nspss0_crit: nspss0-crit {
2466					temperature = <110000>;
2467					hysteresis = <0>;
2468					type = "critical";
2469				};
2470			};
2471		};
2472
2473		nspss1-thermal {
2474			polling-delay-passive = <0>;
2475			polling-delay = <0>;
2476
2477			thermal-sensors = <&tsens1 4>;
2478
2479			trips {
2480				nspss1_alert0: trip-point0 {
2481					temperature = <90000>;
2482					hysteresis = <2000>;
2483					type = "hot";
2484				};
2485
2486				nspss1_crit: nspss1-crit {
2487					temperature = <110000>;
2488					hysteresis = <0>;
2489					type = "critical";
2490				};
2491			};
2492		};
2493
2494		video-thermal {
2495			polling-delay-passive = <0>;
2496			polling-delay = <0>;
2497
2498			thermal-sensors = <&tsens1 5>;
2499
2500			trips {
2501				video_alert0: trip-point0 {
2502					temperature = <90000>;
2503					hysteresis = <2000>;
2504					type = "hot";
2505				};
2506
2507				video_crit: video-crit {
2508					temperature = <110000>;
2509					hysteresis = <0>;
2510					type = "critical";
2511				};
2512			};
2513		};
2514
2515		ddr-thermal {
2516			polling-delay-passive = <0>;
2517			polling-delay = <0>;
2518
2519			thermal-sensors = <&tsens1 6>;
2520
2521			trips {
2522				ddr_alert0: trip-point0 {
2523					temperature = <90000>;
2524					hysteresis = <2000>;
2525					type = "hot";
2526				};
2527
2528				ddr_crit: ddr-crit {
2529					temperature = <110000>;
2530					hysteresis = <0>;
2531					type = "critical";
2532				};
2533			};
2534		};
2535
2536		mdmss0-thermal {
2537			polling-delay-passive = <0>;
2538			polling-delay = <0>;
2539
2540			thermal-sensors = <&tsens1 7>;
2541
2542			trips {
2543				mdmss0_alert0: trip-point0 {
2544					temperature = <90000>;
2545					hysteresis = <2000>;
2546					type = "hot";
2547				};
2548
2549				mdmss0_crit: mdmss0-crit {
2550					temperature = <110000>;
2551					hysteresis = <0>;
2552					type = "critical";
2553				};
2554			};
2555		};
2556
2557		mdmss1-thermal {
2558			polling-delay-passive = <0>;
2559			polling-delay = <0>;
2560
2561			thermal-sensors = <&tsens1 8>;
2562
2563			trips {
2564				mdmss1_alert0: trip-point0 {
2565					temperature = <90000>;
2566					hysteresis = <2000>;
2567					type = "hot";
2568				};
2569
2570				mdmss1_crit: mdmss1-crit {
2571					temperature = <110000>;
2572					hysteresis = <0>;
2573					type = "critical";
2574				};
2575			};
2576		};
2577
2578		mdmss2-thermal {
2579			polling-delay-passive = <0>;
2580			polling-delay = <0>;
2581
2582			thermal-sensors = <&tsens1 9>;
2583
2584			trips {
2585				mdmss2_alert0: trip-point0 {
2586					temperature = <90000>;
2587					hysteresis = <2000>;
2588					type = "hot";
2589				};
2590
2591				mdmss2_crit: mdmss2-crit {
2592					temperature = <110000>;
2593					hysteresis = <0>;
2594					type = "critical";
2595				};
2596			};
2597		};
2598
2599		mdmss3-thermal {
2600			polling-delay-passive = <0>;
2601			polling-delay = <0>;
2602
2603			thermal-sensors = <&tsens1 10>;
2604
2605			trips {
2606				mdmss3_alert0: trip-point0 {
2607					temperature = <90000>;
2608					hysteresis = <2000>;
2609					type = "hot";
2610				};
2611
2612				mdmss3_crit: mdmss3-crit {
2613					temperature = <110000>;
2614					hysteresis = <0>;
2615					type = "critical";
2616				};
2617			};
2618		};
2619
2620		camera0-thermal {
2621			polling-delay-passive = <0>;
2622			polling-delay = <0>;
2623
2624			thermal-sensors = <&tsens1 11>;
2625
2626			trips {
2627				camera0_alert0: trip-point0 {
2628					temperature = <90000>;
2629					hysteresis = <2000>;
2630					type = "hot";
2631				};
2632
2633				camera0_crit: camera0-crit {
2634					temperature = <110000>;
2635					hysteresis = <0>;
2636					type = "critical";
2637				};
2638			};
2639		};
2640	};
2641
2642	timer {
2643		compatible = "arm,armv8-timer";
2644		interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
2645			     <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
2646			     <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
2647			     <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
2648	};
2649};
2650