xref: /linux/arch/arm64/boot/dts/qcom/sc7180.dtsi (revision c5288cda69ee2d8607f5026bd599a5cebf0ee783)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * SC7180 SoC device tree source
4 *
5 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
6 */
7
8#include <dt-bindings/clock/qcom,dispcc-sc7180.h>
9#include <dt-bindings/clock/qcom,gcc-sc7180.h>
10#include <dt-bindings/clock/qcom,gpucc-sc7180.h>
11#include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h>
12#include <dt-bindings/clock/qcom,rpmh.h>
13#include <dt-bindings/clock/qcom,videocc-sc7180.h>
14#include <dt-bindings/firmware/qcom,scm.h>
15#include <dt-bindings/interconnect/qcom,icc.h>
16#include <dt-bindings/interconnect/qcom,osm-l3.h>
17#include <dt-bindings/interconnect/qcom,sc7180.h>
18#include <dt-bindings/interrupt-controller/arm-gic.h>
19#include <dt-bindings/phy/phy-qcom-qmp.h>
20#include <dt-bindings/phy/phy-qcom-qusb2.h>
21#include <dt-bindings/power/qcom-rpmpd.h>
22#include <dt-bindings/reset/qcom,sdm845-aoss.h>
23#include <dt-bindings/reset/qcom,sdm845-pdc.h>
24#include <dt-bindings/soc/qcom,rpmh-rsc.h>
25#include <dt-bindings/soc/qcom,apr.h>
26#include <dt-bindings/sound/qcom,q6afe.h>
27#include <dt-bindings/thermal/thermal.h>
28
29/ {
30	interrupt-parent = <&intc>;
31
32	#address-cells = <2>;
33	#size-cells = <2>;
34
35	aliases {
36		mmc1 = &sdhc_1;
37		mmc2 = &sdhc_2;
38		i2c0 = &i2c0;
39		i2c1 = &i2c1;
40		i2c2 = &i2c2;
41		i2c3 = &i2c3;
42		i2c4 = &i2c4;
43		i2c5 = &i2c5;
44		i2c6 = &i2c6;
45		i2c7 = &i2c7;
46		i2c8 = &i2c8;
47		i2c9 = &i2c9;
48		i2c10 = &i2c10;
49		i2c11 = &i2c11;
50		spi0 = &spi0;
51		spi1 = &spi1;
52		spi3 = &spi3;
53		spi5 = &spi5;
54		spi6 = &spi6;
55		spi8 = &spi8;
56		spi10 = &spi10;
57		spi11 = &spi11;
58	};
59
60	chosen { };
61
62	clocks {
63		xo_board: xo-board {
64			compatible = "fixed-clock";
65			clock-frequency = <38400000>;
66			#clock-cells = <0>;
67		};
68
69		sleep_clk: sleep-clk {
70			compatible = "fixed-clock";
71			clock-frequency = <32764>;
72			#clock-cells = <0>;
73		};
74	};
75
76	cpus {
77		#address-cells = <2>;
78		#size-cells = <0>;
79
80		CPU0: cpu@0 {
81			device_type = "cpu";
82			compatible = "qcom,kryo468";
83			reg = <0x0 0x0>;
84			clocks = <&cpufreq_hw 0>;
85			enable-method = "psci";
86			power-domains = <&CPU_PD0>;
87			power-domain-names = "psci";
88			capacity-dmips-mhz = <415>;
89			dynamic-power-coefficient = <137>;
90			operating-points-v2 = <&cpu0_opp_table>;
91			interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
92					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
93			next-level-cache = <&L2_0>;
94			#cooling-cells = <2>;
95			qcom,freq-domain = <&cpufreq_hw 0>;
96			L2_0: l2-cache {
97				compatible = "cache";
98				cache-level = <2>;
99				cache-unified;
100				next-level-cache = <&L3_0>;
101				L3_0: l3-cache {
102					compatible = "cache";
103					cache-level = <3>;
104					cache-unified;
105				};
106			};
107		};
108
109		CPU1: cpu@100 {
110			device_type = "cpu";
111			compatible = "qcom,kryo468";
112			reg = <0x0 0x100>;
113			clocks = <&cpufreq_hw 0>;
114			enable-method = "psci";
115			power-domains = <&CPU_PD1>;
116			power-domain-names = "psci";
117			capacity-dmips-mhz = <415>;
118			dynamic-power-coefficient = <137>;
119			next-level-cache = <&L2_100>;
120			operating-points-v2 = <&cpu0_opp_table>;
121			interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
122					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
123			#cooling-cells = <2>;
124			qcom,freq-domain = <&cpufreq_hw 0>;
125			L2_100: l2-cache {
126				compatible = "cache";
127				cache-level = <2>;
128				cache-unified;
129				next-level-cache = <&L3_0>;
130			};
131		};
132
133		CPU2: cpu@200 {
134			device_type = "cpu";
135			compatible = "qcom,kryo468";
136			reg = <0x0 0x200>;
137			clocks = <&cpufreq_hw 0>;
138			enable-method = "psci";
139			power-domains = <&CPU_PD2>;
140			power-domain-names = "psci";
141			capacity-dmips-mhz = <415>;
142			dynamic-power-coefficient = <137>;
143			next-level-cache = <&L2_200>;
144			operating-points-v2 = <&cpu0_opp_table>;
145			interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
146					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
147			#cooling-cells = <2>;
148			qcom,freq-domain = <&cpufreq_hw 0>;
149			L2_200: l2-cache {
150				compatible = "cache";
151				cache-level = <2>;
152				cache-unified;
153				next-level-cache = <&L3_0>;
154			};
155		};
156
157		CPU3: cpu@300 {
158			device_type = "cpu";
159			compatible = "qcom,kryo468";
160			reg = <0x0 0x300>;
161			clocks = <&cpufreq_hw 0>;
162			enable-method = "psci";
163			power-domains = <&CPU_PD3>;
164			power-domain-names = "psci";
165			capacity-dmips-mhz = <415>;
166			dynamic-power-coefficient = <137>;
167			next-level-cache = <&L2_300>;
168			operating-points-v2 = <&cpu0_opp_table>;
169			interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
170					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
171			#cooling-cells = <2>;
172			qcom,freq-domain = <&cpufreq_hw 0>;
173			L2_300: l2-cache {
174				compatible = "cache";
175				cache-level = <2>;
176				cache-unified;
177				next-level-cache = <&L3_0>;
178			};
179		};
180
181		CPU4: cpu@400 {
182			device_type = "cpu";
183			compatible = "qcom,kryo468";
184			reg = <0x0 0x400>;
185			clocks = <&cpufreq_hw 0>;
186			enable-method = "psci";
187			power-domains = <&CPU_PD4>;
188			power-domain-names = "psci";
189			capacity-dmips-mhz = <415>;
190			dynamic-power-coefficient = <137>;
191			next-level-cache = <&L2_400>;
192			operating-points-v2 = <&cpu0_opp_table>;
193			interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
194					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
195			#cooling-cells = <2>;
196			qcom,freq-domain = <&cpufreq_hw 0>;
197			L2_400: l2-cache {
198				compatible = "cache";
199				cache-level = <2>;
200				cache-unified;
201				next-level-cache = <&L3_0>;
202			};
203		};
204
205		CPU5: cpu@500 {
206			device_type = "cpu";
207			compatible = "qcom,kryo468";
208			reg = <0x0 0x500>;
209			clocks = <&cpufreq_hw 0>;
210			enable-method = "psci";
211			power-domains = <&CPU_PD5>;
212			power-domain-names = "psci";
213			capacity-dmips-mhz = <415>;
214			dynamic-power-coefficient = <137>;
215			next-level-cache = <&L2_500>;
216			operating-points-v2 = <&cpu0_opp_table>;
217			interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
218					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
219			#cooling-cells = <2>;
220			qcom,freq-domain = <&cpufreq_hw 0>;
221			L2_500: l2-cache {
222				compatible = "cache";
223				cache-level = <2>;
224				cache-unified;
225				next-level-cache = <&L3_0>;
226			};
227		};
228
229		CPU6: cpu@600 {
230			device_type = "cpu";
231			compatible = "qcom,kryo468";
232			reg = <0x0 0x600>;
233			clocks = <&cpufreq_hw 1>;
234			enable-method = "psci";
235			power-domains = <&CPU_PD6>;
236			power-domain-names = "psci";
237			capacity-dmips-mhz = <1024>;
238			dynamic-power-coefficient = <480>;
239			next-level-cache = <&L2_600>;
240			operating-points-v2 = <&cpu6_opp_table>;
241			interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
242					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
243			#cooling-cells = <2>;
244			qcom,freq-domain = <&cpufreq_hw 1>;
245			L2_600: l2-cache {
246				compatible = "cache";
247				cache-level = <2>;
248				cache-unified;
249				next-level-cache = <&L3_0>;
250			};
251		};
252
253		CPU7: cpu@700 {
254			device_type = "cpu";
255			compatible = "qcom,kryo468";
256			reg = <0x0 0x700>;
257			clocks = <&cpufreq_hw 1>;
258			enable-method = "psci";
259			power-domains = <&CPU_PD7>;
260			power-domain-names = "psci";
261			capacity-dmips-mhz = <1024>;
262			dynamic-power-coefficient = <480>;
263			next-level-cache = <&L2_700>;
264			operating-points-v2 = <&cpu6_opp_table>;
265			interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
266					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
267			#cooling-cells = <2>;
268			qcom,freq-domain = <&cpufreq_hw 1>;
269			L2_700: l2-cache {
270				compatible = "cache";
271				cache-level = <2>;
272				cache-unified;
273				next-level-cache = <&L3_0>;
274			};
275		};
276
277		cpu-map {
278			cluster0 {
279				core0 {
280					cpu = <&CPU0>;
281				};
282
283				core1 {
284					cpu = <&CPU1>;
285				};
286
287				core2 {
288					cpu = <&CPU2>;
289				};
290
291				core3 {
292					cpu = <&CPU3>;
293				};
294
295				core4 {
296					cpu = <&CPU4>;
297				};
298
299				core5 {
300					cpu = <&CPU5>;
301				};
302
303				core6 {
304					cpu = <&CPU6>;
305				};
306
307				core7 {
308					cpu = <&CPU7>;
309				};
310			};
311		};
312
313		idle_states: idle-states {
314			entry-method = "psci";
315
316			LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
317				compatible = "arm,idle-state";
318				idle-state-name = "little-power-down";
319				arm,psci-suspend-param = <0x40000003>;
320				entry-latency-us = <549>;
321				exit-latency-us = <901>;
322				min-residency-us = <1774>;
323				local-timer-stop;
324			};
325
326			LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 {
327				compatible = "arm,idle-state";
328				idle-state-name = "little-rail-power-down";
329				arm,psci-suspend-param = <0x40000004>;
330				entry-latency-us = <702>;
331				exit-latency-us = <915>;
332				min-residency-us = <4001>;
333				local-timer-stop;
334			};
335
336			BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
337				compatible = "arm,idle-state";
338				idle-state-name = "big-power-down";
339				arm,psci-suspend-param = <0x40000003>;
340				entry-latency-us = <523>;
341				exit-latency-us = <1244>;
342				min-residency-us = <2207>;
343				local-timer-stop;
344			};
345
346			BIG_CPU_SLEEP_1: cpu-sleep-1-1 {
347				compatible = "arm,idle-state";
348				idle-state-name = "big-rail-power-down";
349				arm,psci-suspend-param = <0x40000004>;
350				entry-latency-us = <526>;
351				exit-latency-us = <1854>;
352				min-residency-us = <5555>;
353				local-timer-stop;
354			};
355		};
356
357		domain_idle_states: domain-idle-states {
358			CLUSTER_SLEEP_PC: cluster-sleep-0 {
359				compatible = "domain-idle-state";
360				idle-state-name = "cluster-l3-power-collapse";
361				arm,psci-suspend-param = <0x41000044>;
362				entry-latency-us = <2752>;
363				exit-latency-us = <3048>;
364				min-residency-us = <6118>;
365			};
366
367			CLUSTER_SLEEP_CX_RET: cluster-sleep-1 {
368				compatible = "domain-idle-state";
369				idle-state-name = "cluster-cx-retention";
370				arm,psci-suspend-param = <0x41001244>;
371				entry-latency-us = <3638>;
372				exit-latency-us = <4562>;
373				min-residency-us = <8467>;
374			};
375
376			CLUSTER_AOSS_SLEEP: cluster-sleep-2 {
377				compatible = "domain-idle-state";
378				idle-state-name = "cluster-power-down";
379				arm,psci-suspend-param = <0x4100b244>;
380				entry-latency-us = <3263>;
381				exit-latency-us = <6562>;
382				min-residency-us = <9826>;
383			};
384		};
385	};
386
387	firmware {
388		scm: scm {
389			compatible = "qcom,scm-sc7180", "qcom,scm";
390		};
391	};
392
393	memory@80000000 {
394		device_type = "memory";
395		/* We expect the bootloader to fill in the size */
396		reg = <0 0x80000000 0 0>;
397	};
398
399	cpu0_opp_table: opp-table-cpu0 {
400		compatible = "operating-points-v2";
401		opp-shared;
402
403		cpu0_opp1: opp-300000000 {
404			opp-hz = /bits/ 64 <300000000>;
405			opp-peak-kBps = <1200000 4800000>;
406		};
407
408		cpu0_opp2: opp-576000000 {
409			opp-hz = /bits/ 64 <576000000>;
410			opp-peak-kBps = <1200000 4800000>;
411		};
412
413		cpu0_opp3: opp-768000000 {
414			opp-hz = /bits/ 64 <768000000>;
415			opp-peak-kBps = <1200000 4800000>;
416		};
417
418		cpu0_opp4: opp-1017600000 {
419			opp-hz = /bits/ 64 <1017600000>;
420			opp-peak-kBps = <1804000 8908800>;
421		};
422
423		cpu0_opp5: opp-1248000000 {
424			opp-hz = /bits/ 64 <1248000000>;
425			opp-peak-kBps = <2188000 12902400>;
426		};
427
428		cpu0_opp6: opp-1324800000 {
429			opp-hz = /bits/ 64 <1324800000>;
430			opp-peak-kBps = <2188000 12902400>;
431		};
432
433		cpu0_opp7: opp-1516800000 {
434			opp-hz = /bits/ 64 <1516800000>;
435			opp-peak-kBps = <3072000 15052800>;
436		};
437
438		cpu0_opp8: opp-1612800000 {
439			opp-hz = /bits/ 64 <1612800000>;
440			opp-peak-kBps = <3072000 15052800>;
441		};
442
443		cpu0_opp9: opp-1708800000 {
444			opp-hz = /bits/ 64 <1708800000>;
445			opp-peak-kBps = <3072000 15052800>;
446		};
447
448		cpu0_opp10: opp-1804800000 {
449			opp-hz = /bits/ 64 <1804800000>;
450			opp-peak-kBps = <4068000 22425600>;
451		};
452	};
453
454	cpu6_opp_table: opp-table-cpu6 {
455		compatible = "operating-points-v2";
456		opp-shared;
457
458		cpu6_opp1: opp-300000000 {
459			opp-hz = /bits/ 64 <300000000>;
460			opp-peak-kBps = <2188000 8908800>;
461		};
462
463		cpu6_opp2: opp-652800000 {
464			opp-hz = /bits/ 64 <652800000>;
465			opp-peak-kBps = <2188000 8908800>;
466		};
467
468		cpu6_opp3: opp-825600000 {
469			opp-hz = /bits/ 64 <825600000>;
470			opp-peak-kBps = <2188000 8908800>;
471		};
472
473		cpu6_opp4: opp-979200000 {
474			opp-hz = /bits/ 64 <979200000>;
475			opp-peak-kBps = <2188000 8908800>;
476		};
477
478		cpu6_opp5: opp-1113600000 {
479			opp-hz = /bits/ 64 <1113600000>;
480			opp-peak-kBps = <2188000 8908800>;
481		};
482
483		cpu6_opp6: opp-1267200000 {
484			opp-hz = /bits/ 64 <1267200000>;
485			opp-peak-kBps = <4068000 12902400>;
486		};
487
488		cpu6_opp7: opp-1555200000 {
489			opp-hz = /bits/ 64 <1555200000>;
490			opp-peak-kBps = <4068000 15052800>;
491		};
492
493		cpu6_opp8: opp-1708800000 {
494			opp-hz = /bits/ 64 <1708800000>;
495			opp-peak-kBps = <6220000 19353600>;
496		};
497
498		cpu6_opp9: opp-1843200000 {
499			opp-hz = /bits/ 64 <1843200000>;
500			opp-peak-kBps = <6220000 19353600>;
501		};
502
503		cpu6_opp10: opp-1900800000 {
504			opp-hz = /bits/ 64 <1900800000>;
505			opp-peak-kBps = <6220000 22425600>;
506		};
507
508		cpu6_opp11: opp-1996800000 {
509			opp-hz = /bits/ 64 <1996800000>;
510			opp-peak-kBps = <6220000 22425600>;
511		};
512
513		cpu6_opp12: opp-2112000000 {
514			opp-hz = /bits/ 64 <2112000000>;
515			opp-peak-kBps = <6220000 22425600>;
516		};
517
518		cpu6_opp13: opp-2208000000 {
519			opp-hz = /bits/ 64 <2208000000>;
520			opp-peak-kBps = <7216000 22425600>;
521		};
522
523		cpu6_opp14: opp-2323200000 {
524			opp-hz = /bits/ 64 <2323200000>;
525			opp-peak-kBps = <7216000 22425600>;
526		};
527
528		cpu6_opp15: opp-2400000000 {
529			opp-hz = /bits/ 64 <2400000000>;
530			opp-peak-kBps = <8532000 23347200>;
531		};
532
533		cpu6_opp16: opp-2553600000 {
534			opp-hz = /bits/ 64 <2553600000>;
535			opp-peak-kBps = <8532000 23347200>;
536		};
537	};
538
539	qspi_opp_table: opp-table-qspi {
540		compatible = "operating-points-v2";
541
542		opp-75000000 {
543			opp-hz = /bits/ 64 <75000000>;
544			required-opps = <&rpmhpd_opp_low_svs>;
545		};
546
547		opp-150000000 {
548			opp-hz = /bits/ 64 <150000000>;
549			required-opps = <&rpmhpd_opp_svs>;
550		};
551
552		opp-300000000 {
553			opp-hz = /bits/ 64 <300000000>;
554			required-opps = <&rpmhpd_opp_nom>;
555		};
556	};
557
558	qup_opp_table: opp-table-qup {
559		compatible = "operating-points-v2";
560
561		opp-75000000 {
562			opp-hz = /bits/ 64 <75000000>;
563			required-opps = <&rpmhpd_opp_low_svs>;
564		};
565
566		opp-100000000 {
567			opp-hz = /bits/ 64 <100000000>;
568			required-opps = <&rpmhpd_opp_svs>;
569		};
570
571		opp-128000000 {
572			opp-hz = /bits/ 64 <128000000>;
573			required-opps = <&rpmhpd_opp_nom>;
574		};
575	};
576
577	pmu {
578		compatible = "arm,armv8-pmuv3";
579		interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
580	};
581
582	psci {
583		compatible = "arm,psci-1.0";
584		method = "smc";
585
586		CPU_PD0: cpu0 {
587			#power-domain-cells = <0>;
588			power-domains = <&CLUSTER_PD>;
589			domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
590		};
591
592		CPU_PD1: cpu1 {
593			#power-domain-cells = <0>;
594			power-domains = <&CLUSTER_PD>;
595			domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
596		};
597
598		CPU_PD2: cpu2 {
599			#power-domain-cells = <0>;
600			power-domains = <&CLUSTER_PD>;
601			domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
602		};
603
604		CPU_PD3: cpu3 {
605			#power-domain-cells = <0>;
606			power-domains = <&CLUSTER_PD>;
607			domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
608		};
609
610		CPU_PD4: cpu4 {
611			#power-domain-cells = <0>;
612			power-domains = <&CLUSTER_PD>;
613			domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
614		};
615
616		CPU_PD5: cpu5 {
617			#power-domain-cells = <0>;
618			power-domains = <&CLUSTER_PD>;
619			domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
620		};
621
622		CPU_PD6: cpu6 {
623			#power-domain-cells = <0>;
624			power-domains = <&CLUSTER_PD>;
625			domain-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
626		};
627
628		CPU_PD7: cpu7 {
629			#power-domain-cells = <0>;
630			power-domains = <&CLUSTER_PD>;
631			domain-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
632		};
633
634		CLUSTER_PD: cpu-cluster0 {
635			#power-domain-cells = <0>;
636			domain-idle-states = <&CLUSTER_SLEEP_PC
637					      &CLUSTER_SLEEP_CX_RET
638					      &CLUSTER_AOSS_SLEEP>;
639		};
640	};
641
642	reserved_memory: reserved-memory {
643		#address-cells = <2>;
644		#size-cells = <2>;
645		ranges;
646
647		hyp_mem: memory@80000000 {
648			reg = <0x0 0x80000000 0x0 0x600000>;
649			no-map;
650		};
651
652		xbl_mem: memory@80600000 {
653			reg = <0x0 0x80600000 0x0 0x200000>;
654			no-map;
655		};
656
657		aop_mem: memory@80800000 {
658			reg = <0x0 0x80800000 0x0 0x20000>;
659			no-map;
660		};
661
662		aop_cmd_db_mem: memory@80820000 {
663			reg = <0x0 0x80820000 0x0 0x20000>;
664			compatible = "qcom,cmd-db";
665			no-map;
666		};
667
668		sec_apps_mem: memory@808ff000 {
669			reg = <0x0 0x808ff000 0x0 0x1000>;
670			no-map;
671		};
672
673		smem_mem: memory@80900000 {
674			reg = <0x0 0x80900000 0x0 0x200000>;
675			no-map;
676		};
677
678		tz_mem: memory@80b00000 {
679			reg = <0x0 0x80b00000 0x0 0x3900000>;
680			no-map;
681		};
682
683		ipa_fw_mem: memory@8b700000 {
684			reg = <0 0x8b700000 0 0x10000>;
685			no-map;
686		};
687
688		rmtfs_mem: memory@94600000 {
689			compatible = "qcom,rmtfs-mem";
690			reg = <0x0 0x94600000 0x0 0x200000>;
691			no-map;
692
693			qcom,client-id = <1>;
694			qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
695		};
696	};
697
698	smem {
699		compatible = "qcom,smem";
700		memory-region = <&smem_mem>;
701		hwlocks = <&tcsr_mutex 3>;
702	};
703
704	smp2p-cdsp {
705		compatible = "qcom,smp2p";
706		qcom,smem = <94>, <432>;
707
708		interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
709
710		mboxes = <&apss_shared 6>;
711
712		qcom,local-pid = <0>;
713		qcom,remote-pid = <5>;
714
715		cdsp_smp2p_out: master-kernel {
716			qcom,entry-name = "master-kernel";
717			#qcom,smem-state-cells = <1>;
718		};
719
720		cdsp_smp2p_in: slave-kernel {
721			qcom,entry-name = "slave-kernel";
722
723			interrupt-controller;
724			#interrupt-cells = <2>;
725		};
726	};
727
728	smp2p-lpass {
729		compatible = "qcom,smp2p";
730		qcom,smem = <443>, <429>;
731
732		interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
733
734		mboxes = <&apss_shared 10>;
735
736		qcom,local-pid = <0>;
737		qcom,remote-pid = <2>;
738
739		adsp_smp2p_out: master-kernel {
740			qcom,entry-name = "master-kernel";
741			#qcom,smem-state-cells = <1>;
742		};
743
744		adsp_smp2p_in: slave-kernel {
745			qcom,entry-name = "slave-kernel";
746
747			interrupt-controller;
748			#interrupt-cells = <2>;
749		};
750	};
751
752	smp2p-mpss {
753		compatible = "qcom,smp2p";
754		qcom,smem = <435>, <428>;
755		interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
756		mboxes = <&apss_shared 14>;
757		qcom,local-pid = <0>;
758		qcom,remote-pid = <1>;
759
760		modem_smp2p_out: master-kernel {
761			qcom,entry-name = "master-kernel";
762			#qcom,smem-state-cells = <1>;
763		};
764
765		modem_smp2p_in: slave-kernel {
766			qcom,entry-name = "slave-kernel";
767			interrupt-controller;
768			#interrupt-cells = <2>;
769		};
770
771		ipa_smp2p_out: ipa-ap-to-modem {
772			qcom,entry-name = "ipa";
773			#qcom,smem-state-cells = <1>;
774		};
775
776		ipa_smp2p_in: ipa-modem-to-ap {
777			qcom,entry-name = "ipa";
778			interrupt-controller;
779			#interrupt-cells = <2>;
780		};
781	};
782
783	soc: soc@0 {
784		#address-cells = <2>;
785		#size-cells = <2>;
786		ranges = <0 0 0 0 0x10 0>;
787		dma-ranges = <0 0 0 0 0x10 0>;
788		compatible = "simple-bus";
789
790		gcc: clock-controller@100000 {
791			compatible = "qcom,gcc-sc7180";
792			reg = <0 0x00100000 0 0x1f0000>;
793			clocks = <&rpmhcc RPMH_CXO_CLK>,
794				 <&rpmhcc RPMH_CXO_CLK_A>,
795				 <&sleep_clk>;
796			clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
797			#clock-cells = <1>;
798			#reset-cells = <1>;
799			#power-domain-cells = <1>;
800			power-domains = <&rpmhpd SC7180_CX>;
801		};
802
803		qfprom: efuse@784000 {
804			compatible = "qcom,sc7180-qfprom", "qcom,qfprom";
805			reg = <0 0x00784000 0 0x7a0>,
806			      <0 0x00780000 0 0x7a0>,
807			      <0 0x00782000 0 0x100>,
808			      <0 0x00786000 0 0x1fff>;
809
810			clocks = <&gcc GCC_SEC_CTRL_CLK_SRC>;
811			clock-names = "core";
812			#address-cells = <1>;
813			#size-cells = <1>;
814
815			qusb2p_hstx_trim: hstx-trim-primary@25b {
816				reg = <0x25b 0x1>;
817				bits = <1 3>;
818			};
819
820			gpu_speed_bin: gpu-speed-bin@1d2 {
821				reg = <0x1d2 0x2>;
822				bits = <5 8>;
823			};
824		};
825
826		sdhc_1: mmc@7c4000 {
827			compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
828			reg = <0 0x007c4000 0 0x1000>,
829				<0 0x007c5000 0 0x1000>;
830			reg-names = "hc", "cqhci";
831
832			iommus = <&apps_smmu 0x60 0x0>;
833			interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>,
834					<GIC_SPI 644 IRQ_TYPE_LEVEL_HIGH>;
835			interrupt-names = "hc_irq", "pwr_irq";
836
837			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
838				 <&gcc GCC_SDCC1_APPS_CLK>,
839				 <&rpmhcc RPMH_CXO_CLK>;
840			clock-names = "iface", "core", "xo";
841			interconnects = <&aggre1_noc MASTER_EMMC 0 &mc_virt SLAVE_EBI1 0>,
842					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_EMMC_CFG 0>;
843			interconnect-names = "sdhc-ddr","cpu-sdhc";
844			power-domains = <&rpmhpd SC7180_CX>;
845			operating-points-v2 = <&sdhc1_opp_table>;
846
847			bus-width = <8>;
848			non-removable;
849			supports-cqe;
850
851			mmc-ddr-1_8v;
852			mmc-hs200-1_8v;
853			mmc-hs400-1_8v;
854			mmc-hs400-enhanced-strobe;
855
856			status = "disabled";
857
858			sdhc1_opp_table: opp-table {
859				compatible = "operating-points-v2";
860
861				opp-100000000 {
862					opp-hz = /bits/ 64 <100000000>;
863					required-opps = <&rpmhpd_opp_low_svs>;
864					opp-peak-kBps = <1800000 600000>;
865					opp-avg-kBps = <100000 0>;
866				};
867
868				opp-384000000 {
869					opp-hz = /bits/ 64 <384000000>;
870					required-opps = <&rpmhpd_opp_nom>;
871					opp-peak-kBps = <5400000 1600000>;
872					opp-avg-kBps = <390000 0>;
873				};
874			};
875		};
876
877		qupv3_id_0: geniqup@8c0000 {
878			compatible = "qcom,geni-se-qup";
879			reg = <0 0x008c0000 0 0x6000>;
880			clock-names = "m-ahb", "s-ahb";
881			clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
882				 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
883			#address-cells = <2>;
884			#size-cells = <2>;
885			ranges;
886			iommus = <&apps_smmu 0x43 0x0>;
887			status = "disabled";
888
889			i2c0: i2c@880000 {
890				compatible = "qcom,geni-i2c";
891				reg = <0 0x00880000 0 0x4000>;
892				clock-names = "se";
893				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
894				pinctrl-names = "default";
895				pinctrl-0 = <&qup_i2c0_default>;
896				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
897				#address-cells = <1>;
898				#size-cells = <0>;
899				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
900						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>,
901						<&aggre1_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
902				interconnect-names = "qup-core", "qup-config",
903							"qup-memory";
904				power-domains = <&rpmhpd SC7180_CX>;
905				required-opps = <&rpmhpd_opp_low_svs>;
906				status = "disabled";
907			};
908
909			spi0: spi@880000 {
910				compatible = "qcom,geni-spi";
911				reg = <0 0x00880000 0 0x4000>;
912				clock-names = "se";
913				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
914				pinctrl-names = "default";
915				pinctrl-0 = <&qup_spi0_spi>, <&qup_spi0_cs>;
916				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
917				#address-cells = <1>;
918				#size-cells = <0>;
919				power-domains = <&rpmhpd SC7180_CX>;
920				operating-points-v2 = <&qup_opp_table>;
921				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
922						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
923				interconnect-names = "qup-core", "qup-config";
924				status = "disabled";
925			};
926
927			uart0: serial@880000 {
928				compatible = "qcom,geni-uart";
929				reg = <0 0x00880000 0 0x4000>;
930				clock-names = "se";
931				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
932				pinctrl-names = "default";
933				pinctrl-0 = <&qup_uart0_default>;
934				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
935				power-domains = <&rpmhpd SC7180_CX>;
936				operating-points-v2 = <&qup_opp_table>;
937				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
938						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
939				interconnect-names = "qup-core", "qup-config";
940				status = "disabled";
941			};
942
943			i2c1: i2c@884000 {
944				compatible = "qcom,geni-i2c";
945				reg = <0 0x00884000 0 0x4000>;
946				clock-names = "se";
947				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
948				pinctrl-names = "default";
949				pinctrl-0 = <&qup_i2c1_default>;
950				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
951				#address-cells = <1>;
952				#size-cells = <0>;
953				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
954						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>,
955						<&aggre1_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
956				interconnect-names = "qup-core", "qup-config",
957							"qup-memory";
958				power-domains = <&rpmhpd SC7180_CX>;
959				required-opps = <&rpmhpd_opp_low_svs>;
960				status = "disabled";
961			};
962
963			spi1: spi@884000 {
964				compatible = "qcom,geni-spi";
965				reg = <0 0x00884000 0 0x4000>;
966				clock-names = "se";
967				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
968				pinctrl-names = "default";
969				pinctrl-0 = <&qup_spi1_spi>, <&qup_spi1_cs>;
970				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
971				#address-cells = <1>;
972				#size-cells = <0>;
973				power-domains = <&rpmhpd SC7180_CX>;
974				operating-points-v2 = <&qup_opp_table>;
975				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
976						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
977				interconnect-names = "qup-core", "qup-config";
978				status = "disabled";
979			};
980
981			uart1: serial@884000 {
982				compatible = "qcom,geni-uart";
983				reg = <0 0x00884000 0 0x4000>;
984				clock-names = "se";
985				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
986				pinctrl-names = "default";
987				pinctrl-0 = <&qup_uart1_default>;
988				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
989				power-domains = <&rpmhpd SC7180_CX>;
990				operating-points-v2 = <&qup_opp_table>;
991				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
992						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
993				interconnect-names = "qup-core", "qup-config";
994				status = "disabled";
995			};
996
997			i2c2: i2c@888000 {
998				compatible = "qcom,geni-i2c";
999				reg = <0 0x00888000 0 0x4000>;
1000				clock-names = "se";
1001				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1002				pinctrl-names = "default";
1003				pinctrl-0 = <&qup_i2c2_default>;
1004				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1005				#address-cells = <1>;
1006				#size-cells = <0>;
1007				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1008						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>,
1009						<&aggre1_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1010				interconnect-names = "qup-core", "qup-config",
1011							"qup-memory";
1012				power-domains = <&rpmhpd SC7180_CX>;
1013				required-opps = <&rpmhpd_opp_low_svs>;
1014				status = "disabled";
1015			};
1016
1017			uart2: serial@888000 {
1018				compatible = "qcom,geni-uart";
1019				reg = <0 0x00888000 0 0x4000>;
1020				clock-names = "se";
1021				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1022				pinctrl-names = "default";
1023				pinctrl-0 = <&qup_uart2_default>;
1024				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1025				power-domains = <&rpmhpd SC7180_CX>;
1026				operating-points-v2 = <&qup_opp_table>;
1027				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1028						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
1029				interconnect-names = "qup-core", "qup-config";
1030				status = "disabled";
1031			};
1032
1033			i2c3: i2c@88c000 {
1034				compatible = "qcom,geni-i2c";
1035				reg = <0 0x0088c000 0 0x4000>;
1036				clock-names = "se";
1037				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1038				pinctrl-names = "default";
1039				pinctrl-0 = <&qup_i2c3_default>;
1040				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1041				#address-cells = <1>;
1042				#size-cells = <0>;
1043				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1044						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>,
1045						<&aggre1_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1046				interconnect-names = "qup-core", "qup-config",
1047							"qup-memory";
1048				power-domains = <&rpmhpd SC7180_CX>;
1049				required-opps = <&rpmhpd_opp_low_svs>;
1050				status = "disabled";
1051			};
1052
1053			spi3: spi@88c000 {
1054				compatible = "qcom,geni-spi";
1055				reg = <0 0x0088c000 0 0x4000>;
1056				clock-names = "se";
1057				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1058				pinctrl-names = "default";
1059				pinctrl-0 = <&qup_spi3_spi>, <&qup_spi3_cs>;
1060				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1061				#address-cells = <1>;
1062				#size-cells = <0>;
1063				power-domains = <&rpmhpd SC7180_CX>;
1064				operating-points-v2 = <&qup_opp_table>;
1065				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1066						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
1067				interconnect-names = "qup-core", "qup-config";
1068				status = "disabled";
1069			};
1070
1071			uart3: serial@88c000 {
1072				compatible = "qcom,geni-uart";
1073				reg = <0 0x0088c000 0 0x4000>;
1074				clock-names = "se";
1075				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1076				pinctrl-names = "default";
1077				pinctrl-0 = <&qup_uart3_default>;
1078				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1079				power-domains = <&rpmhpd SC7180_CX>;
1080				operating-points-v2 = <&qup_opp_table>;
1081				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1082						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
1083				interconnect-names = "qup-core", "qup-config";
1084				status = "disabled";
1085			};
1086
1087			i2c4: i2c@890000 {
1088				compatible = "qcom,geni-i2c";
1089				reg = <0 0x00890000 0 0x4000>;
1090				clock-names = "se";
1091				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1092				pinctrl-names = "default";
1093				pinctrl-0 = <&qup_i2c4_default>;
1094				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1095				#address-cells = <1>;
1096				#size-cells = <0>;
1097				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1098						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>,
1099						<&aggre1_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1100				interconnect-names = "qup-core", "qup-config",
1101							"qup-memory";
1102				power-domains = <&rpmhpd SC7180_CX>;
1103				required-opps = <&rpmhpd_opp_low_svs>;
1104				status = "disabled";
1105			};
1106
1107			uart4: serial@890000 {
1108				compatible = "qcom,geni-uart";
1109				reg = <0 0x00890000 0 0x4000>;
1110				clock-names = "se";
1111				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1112				pinctrl-names = "default";
1113				pinctrl-0 = <&qup_uart4_default>;
1114				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1115				power-domains = <&rpmhpd SC7180_CX>;
1116				operating-points-v2 = <&qup_opp_table>;
1117				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1118						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
1119				interconnect-names = "qup-core", "qup-config";
1120				status = "disabled";
1121			};
1122
1123			i2c5: i2c@894000 {
1124				compatible = "qcom,geni-i2c";
1125				reg = <0 0x00894000 0 0x4000>;
1126				clock-names = "se";
1127				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1128				pinctrl-names = "default";
1129				pinctrl-0 = <&qup_i2c5_default>;
1130				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1131				#address-cells = <1>;
1132				#size-cells = <0>;
1133				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1134						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>,
1135						<&aggre1_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>;
1136				interconnect-names = "qup-core", "qup-config",
1137							"qup-memory";
1138				power-domains = <&rpmhpd SC7180_CX>;
1139				required-opps = <&rpmhpd_opp_low_svs>;
1140				status = "disabled";
1141			};
1142
1143			spi5: spi@894000 {
1144				compatible = "qcom,geni-spi";
1145				reg = <0 0x00894000 0 0x4000>;
1146				clock-names = "se";
1147				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1148				pinctrl-names = "default";
1149				pinctrl-0 = <&qup_spi5_spi>, <&qup_spi5_cs>;
1150				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1151				#address-cells = <1>;
1152				#size-cells = <0>;
1153				power-domains = <&rpmhpd SC7180_CX>;
1154				operating-points-v2 = <&qup_opp_table>;
1155				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1156						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
1157				interconnect-names = "qup-core", "qup-config";
1158				status = "disabled";
1159			};
1160
1161			uart5: serial@894000 {
1162				compatible = "qcom,geni-uart";
1163				reg = <0 0x00894000 0 0x4000>;
1164				clock-names = "se";
1165				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1166				pinctrl-names = "default";
1167				pinctrl-0 = <&qup_uart5_default>;
1168				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1169				power-domains = <&rpmhpd SC7180_CX>;
1170				operating-points-v2 = <&qup_opp_table>;
1171				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1172						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
1173				interconnect-names = "qup-core", "qup-config";
1174				status = "disabled";
1175			};
1176		};
1177
1178		qupv3_id_1: geniqup@ac0000 {
1179			compatible = "qcom,geni-se-qup";
1180			reg = <0 0x00ac0000 0 0x6000>;
1181			clock-names = "m-ahb", "s-ahb";
1182			clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
1183				 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
1184			#address-cells = <2>;
1185			#size-cells = <2>;
1186			ranges;
1187			iommus = <&apps_smmu 0x4c3 0x0>;
1188			status = "disabled";
1189
1190			i2c6: i2c@a80000 {
1191				compatible = "qcom,geni-i2c";
1192				reg = <0 0x00a80000 0 0x4000>;
1193				clock-names = "se";
1194				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1195				pinctrl-names = "default";
1196				pinctrl-0 = <&qup_i2c6_default>;
1197				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1198				#address-cells = <1>;
1199				#size-cells = <0>;
1200				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1201						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>,
1202						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1203				interconnect-names = "qup-core", "qup-config",
1204							"qup-memory";
1205				power-domains = <&rpmhpd SC7180_CX>;
1206				required-opps = <&rpmhpd_opp_low_svs>;
1207				status = "disabled";
1208			};
1209
1210			spi6: spi@a80000 {
1211				compatible = "qcom,geni-spi";
1212				reg = <0 0x00a80000 0 0x4000>;
1213				clock-names = "se";
1214				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1215				pinctrl-names = "default";
1216				pinctrl-0 = <&qup_spi6_spi>, <&qup_spi6_cs>;
1217				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1218				#address-cells = <1>;
1219				#size-cells = <0>;
1220				power-domains = <&rpmhpd SC7180_CX>;
1221				operating-points-v2 = <&qup_opp_table>;
1222				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1223						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
1224				interconnect-names = "qup-core", "qup-config";
1225				status = "disabled";
1226			};
1227
1228			uart6: serial@a80000 {
1229				compatible = "qcom,geni-uart";
1230				reg = <0 0x00a80000 0 0x4000>;
1231				clock-names = "se";
1232				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1233				pinctrl-names = "default";
1234				pinctrl-0 = <&qup_uart6_default>;
1235				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1236				power-domains = <&rpmhpd SC7180_CX>;
1237				operating-points-v2 = <&qup_opp_table>;
1238				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1239						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
1240				interconnect-names = "qup-core", "qup-config";
1241				status = "disabled";
1242			};
1243
1244			i2c7: i2c@a84000 {
1245				compatible = "qcom,geni-i2c";
1246				reg = <0 0x00a84000 0 0x4000>;
1247				clock-names = "se";
1248				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1249				pinctrl-names = "default";
1250				pinctrl-0 = <&qup_i2c7_default>;
1251				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1252				#address-cells = <1>;
1253				#size-cells = <0>;
1254				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1255						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>,
1256						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1257				interconnect-names = "qup-core", "qup-config",
1258							"qup-memory";
1259				power-domains = <&rpmhpd SC7180_CX>;
1260				required-opps = <&rpmhpd_opp_low_svs>;
1261				status = "disabled";
1262			};
1263
1264			uart7: serial@a84000 {
1265				compatible = "qcom,geni-uart";
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_uart7_default>;
1271				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1272				power-domains = <&rpmhpd SC7180_CX>;
1273				operating-points-v2 = <&qup_opp_table>;
1274				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1275						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
1276				interconnect-names = "qup-core", "qup-config";
1277				status = "disabled";
1278			};
1279
1280			i2c8: i2c@a88000 {
1281				compatible = "qcom,geni-i2c";
1282				reg = <0 0x00a88000 0 0x4000>;
1283				clock-names = "se";
1284				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1285				pinctrl-names = "default";
1286				pinctrl-0 = <&qup_i2c8_default>;
1287				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1288				#address-cells = <1>;
1289				#size-cells = <0>;
1290				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1291						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>,
1292						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1293				interconnect-names = "qup-core", "qup-config",
1294							"qup-memory";
1295				power-domains = <&rpmhpd SC7180_CX>;
1296				required-opps = <&rpmhpd_opp_low_svs>;
1297				status = "disabled";
1298			};
1299
1300			spi8: spi@a88000 {
1301				compatible = "qcom,geni-spi";
1302				reg = <0 0x00a88000 0 0x4000>;
1303				clock-names = "se";
1304				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1305				pinctrl-names = "default";
1306				pinctrl-0 = <&qup_spi8_spi>, <&qup_spi8_cs>;
1307				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1308				#address-cells = <1>;
1309				#size-cells = <0>;
1310				power-domains = <&rpmhpd SC7180_CX>;
1311				operating-points-v2 = <&qup_opp_table>;
1312				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1313						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
1314				interconnect-names = "qup-core", "qup-config";
1315				status = "disabled";
1316			};
1317
1318			uart8: serial@a88000 {
1319				compatible = "qcom,geni-debug-uart";
1320				reg = <0 0x00a88000 0 0x4000>;
1321				clock-names = "se";
1322				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1323				pinctrl-names = "default";
1324				pinctrl-0 = <&qup_uart8_default>;
1325				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1326				power-domains = <&rpmhpd SC7180_CX>;
1327				operating-points-v2 = <&qup_opp_table>;
1328				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1329						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
1330				interconnect-names = "qup-core", "qup-config";
1331				status = "disabled";
1332			};
1333
1334			i2c9: i2c@a8c000 {
1335				compatible = "qcom,geni-i2c";
1336				reg = <0 0x00a8c000 0 0x4000>;
1337				clock-names = "se";
1338				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1339				pinctrl-names = "default";
1340				pinctrl-0 = <&qup_i2c9_default>;
1341				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1342				#address-cells = <1>;
1343				#size-cells = <0>;
1344				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1345						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>,
1346						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1347				interconnect-names = "qup-core", "qup-config",
1348							"qup-memory";
1349				power-domains = <&rpmhpd SC7180_CX>;
1350				required-opps = <&rpmhpd_opp_low_svs>;
1351				status = "disabled";
1352			};
1353
1354			uart9: serial@a8c000 {
1355				compatible = "qcom,geni-uart";
1356				reg = <0 0x00a8c000 0 0x4000>;
1357				clock-names = "se";
1358				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1359				pinctrl-names = "default";
1360				pinctrl-0 = <&qup_uart9_default>;
1361				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1362				power-domains = <&rpmhpd SC7180_CX>;
1363				operating-points-v2 = <&qup_opp_table>;
1364				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1365						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
1366				interconnect-names = "qup-core", "qup-config";
1367				status = "disabled";
1368			};
1369
1370			i2c10: i2c@a90000 {
1371				compatible = "qcom,geni-i2c";
1372				reg = <0 0x00a90000 0 0x4000>;
1373				clock-names = "se";
1374				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1375				pinctrl-names = "default";
1376				pinctrl-0 = <&qup_i2c10_default>;
1377				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1378				#address-cells = <1>;
1379				#size-cells = <0>;
1380				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1381						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>,
1382						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1383				interconnect-names = "qup-core", "qup-config",
1384							"qup-memory";
1385				power-domains = <&rpmhpd SC7180_CX>;
1386				required-opps = <&rpmhpd_opp_low_svs>;
1387				status = "disabled";
1388			};
1389
1390			spi10: spi@a90000 {
1391				compatible = "qcom,geni-spi";
1392				reg = <0 0x00a90000 0 0x4000>;
1393				clock-names = "se";
1394				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1395				pinctrl-names = "default";
1396				pinctrl-0 = <&qup_spi10_spi>, <&qup_spi10_cs>;
1397				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1398				#address-cells = <1>;
1399				#size-cells = <0>;
1400				power-domains = <&rpmhpd SC7180_CX>;
1401				operating-points-v2 = <&qup_opp_table>;
1402				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1403						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
1404				interconnect-names = "qup-core", "qup-config";
1405				status = "disabled";
1406			};
1407
1408			uart10: serial@a90000 {
1409				compatible = "qcom,geni-uart";
1410				reg = <0 0x00a90000 0 0x4000>;
1411				clock-names = "se";
1412				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1413				pinctrl-names = "default";
1414				pinctrl-0 = <&qup_uart10_default>;
1415				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1416				power-domains = <&rpmhpd SC7180_CX>;
1417				operating-points-v2 = <&qup_opp_table>;
1418				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1419						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
1420				interconnect-names = "qup-core", "qup-config";
1421				status = "disabled";
1422			};
1423
1424			i2c11: i2c@a94000 {
1425				compatible = "qcom,geni-i2c";
1426				reg = <0 0x00a94000 0 0x4000>;
1427				clock-names = "se";
1428				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1429				pinctrl-names = "default";
1430				pinctrl-0 = <&qup_i2c11_default>;
1431				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1432				#address-cells = <1>;
1433				#size-cells = <0>;
1434				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1435						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>,
1436						<&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>;
1437				interconnect-names = "qup-core", "qup-config",
1438							"qup-memory";
1439				power-domains = <&rpmhpd SC7180_CX>;
1440				required-opps = <&rpmhpd_opp_low_svs>;
1441				status = "disabled";
1442			};
1443
1444			spi11: spi@a94000 {
1445				compatible = "qcom,geni-spi";
1446				reg = <0 0x00a94000 0 0x4000>;
1447				clock-names = "se";
1448				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1449				pinctrl-names = "default";
1450				pinctrl-0 = <&qup_spi11_spi>, <&qup_spi11_cs>;
1451				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1452				#address-cells = <1>;
1453				#size-cells = <0>;
1454				power-domains = <&rpmhpd SC7180_CX>;
1455				operating-points-v2 = <&qup_opp_table>;
1456				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1457						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
1458				interconnect-names = "qup-core", "qup-config";
1459				status = "disabled";
1460			};
1461
1462			uart11: serial@a94000 {
1463				compatible = "qcom,geni-uart";
1464				reg = <0 0x00a94000 0 0x4000>;
1465				clock-names = "se";
1466				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1467				pinctrl-names = "default";
1468				pinctrl-0 = <&qup_uart11_default>;
1469				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1470				power-domains = <&rpmhpd SC7180_CX>;
1471				operating-points-v2 = <&qup_opp_table>;
1472				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1473						<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_1 0>;
1474				interconnect-names = "qup-core", "qup-config";
1475				status = "disabled";
1476			};
1477		};
1478
1479		config_noc: interconnect@1500000 {
1480			compatible = "qcom,sc7180-config-noc";
1481			reg = <0 0x01500000 0 0x28000>;
1482			#interconnect-cells = <2>;
1483			qcom,bcm-voters = <&apps_bcm_voter>;
1484		};
1485
1486		system_noc: interconnect@1620000 {
1487			compatible = "qcom,sc7180-system-noc";
1488			reg = <0 0x01620000 0 0x17080>;
1489			#interconnect-cells = <2>;
1490			qcom,bcm-voters = <&apps_bcm_voter>;
1491		};
1492
1493		mc_virt: interconnect@1638000 {
1494			compatible = "qcom,sc7180-mc-virt";
1495			reg = <0 0x01638000 0 0x1000>;
1496			#interconnect-cells = <2>;
1497			qcom,bcm-voters = <&apps_bcm_voter>;
1498		};
1499
1500		qup_virt: interconnect@1650000 {
1501			compatible = "qcom,sc7180-qup-virt";
1502			reg = <0 0x01650000 0 0x1000>;
1503			#interconnect-cells = <2>;
1504			qcom,bcm-voters = <&apps_bcm_voter>;
1505		};
1506
1507		aggre1_noc: interconnect@16e0000 {
1508			compatible = "qcom,sc7180-aggre1-noc";
1509			reg = <0 0x016e0000 0 0x15080>;
1510			#interconnect-cells = <2>;
1511			qcom,bcm-voters = <&apps_bcm_voter>;
1512		};
1513
1514		aggre2_noc: interconnect@1705000 {
1515			compatible = "qcom,sc7180-aggre2-noc";
1516			reg = <0 0x01705000 0 0x9000>;
1517			#interconnect-cells = <2>;
1518			qcom,bcm-voters = <&apps_bcm_voter>;
1519		};
1520
1521		compute_noc: interconnect@170e000 {
1522			compatible = "qcom,sc7180-compute-noc";
1523			reg = <0 0x0170e000 0 0x6000>;
1524			#interconnect-cells = <2>;
1525			qcom,bcm-voters = <&apps_bcm_voter>;
1526		};
1527
1528		mmss_noc: interconnect@1740000 {
1529			compatible = "qcom,sc7180-mmss-noc";
1530			reg = <0 0x01740000 0 0x1c100>;
1531			#interconnect-cells = <2>;
1532			qcom,bcm-voters = <&apps_bcm_voter>;
1533		};
1534
1535		ufs_mem_hc: ufshc@1d84000 {
1536			compatible = "qcom,sc7180-ufshc", "qcom,ufshc",
1537				     "jedec,ufs-2.0";
1538			reg = <0 0x01d84000 0 0x3000>;
1539			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1540			phys = <&ufs_mem_phy>;
1541			phy-names = "ufsphy";
1542			lanes-per-direction = <1>;
1543			#reset-cells = <1>;
1544			resets = <&gcc GCC_UFS_PHY_BCR>;
1545			reset-names = "rst";
1546
1547			power-domains = <&gcc UFS_PHY_GDSC>;
1548
1549			iommus = <&apps_smmu 0xa0 0x0>;
1550
1551			clock-names = "core_clk",
1552				      "bus_aggr_clk",
1553				      "iface_clk",
1554				      "core_clk_unipro",
1555				      "ref_clk",
1556				      "tx_lane0_sync_clk",
1557				      "rx_lane0_sync_clk";
1558			clocks = <&gcc GCC_UFS_PHY_AXI_CLK>,
1559				 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1560				 <&gcc GCC_UFS_PHY_AHB_CLK>,
1561				 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1562				 <&rpmhcc RPMH_CXO_CLK>,
1563				 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1564				 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>;
1565			freq-table-hz = <50000000 200000000>,
1566					<0 0>,
1567					<0 0>,
1568					<37500000 150000000>,
1569					<0 0>,
1570					<0 0>,
1571					<0 0>;
1572
1573			interconnects = <&aggre1_noc MASTER_UFS_MEM QCOM_ICC_TAG_ALWAYS
1574					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
1575					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1576					 &config_noc SLAVE_UFS_MEM_CFG QCOM_ICC_TAG_ALWAYS>;
1577			interconnect-names = "ufs-ddr", "cpu-ufs";
1578
1579			qcom,ice = <&ice>;
1580
1581			status = "disabled";
1582		};
1583
1584		ufs_mem_phy: phy@1d87000 {
1585			compatible = "qcom,sc7180-qmp-ufs-phy",
1586				     "qcom,sm7150-qmp-ufs-phy";
1587			reg = <0 0x01d87000 0 0x1000>;
1588			clocks = <&rpmhcc RPMH_CXO_CLK>,
1589				 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>,
1590				 <&gcc GCC_UFS_MEM_CLKREF_CLK>;
1591			clock-names = "ref",
1592				      "ref_aux",
1593				      "qref";
1594			power-domains = <&gcc UFS_PHY_GDSC>;
1595			resets = <&ufs_mem_hc 0>;
1596			reset-names = "ufsphy";
1597			#phy-cells = <0>;
1598			status = "disabled";
1599		};
1600
1601		ice: crypto@1d90000 {
1602			compatible = "qcom,sc7180-inline-crypto-engine",
1603				     "qcom,inline-crypto-engine";
1604			reg = <0 0x01d90000 0 0x8000>;
1605			clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
1606		};
1607
1608		ipa: ipa@1e40000 {
1609			compatible = "qcom,sc7180-ipa";
1610
1611			iommus = <&apps_smmu 0x440 0x0>,
1612				 <&apps_smmu 0x442 0x0>;
1613			reg = <0 0x01e40000 0 0x7000>,
1614			      <0 0x01e47000 0 0x2000>,
1615			      <0 0x01e04000 0 0x2c000>;
1616			reg-names = "ipa-reg",
1617				    "ipa-shared",
1618				    "gsi";
1619
1620			interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>,
1621					      <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
1622					      <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1623					      <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
1624			interrupt-names = "ipa",
1625					  "gsi",
1626					  "ipa-clock-query",
1627					  "ipa-setup-ready";
1628
1629			clocks = <&rpmhcc RPMH_IPA_CLK>;
1630			clock-names = "core";
1631
1632			interconnects = <&aggre2_noc MASTER_IPA 0 &mc_virt SLAVE_EBI1 0>,
1633					<&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_IMEM 0>,
1634					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_IPA_CFG 0>;
1635			interconnect-names = "memory",
1636					     "imem",
1637					     "config";
1638
1639			qcom,qmp = <&aoss_qmp>;
1640
1641			qcom,smem-states = <&ipa_smp2p_out 0>,
1642					   <&ipa_smp2p_out 1>;
1643			qcom,smem-state-names = "ipa-clock-enabled-valid",
1644						"ipa-clock-enabled";
1645
1646			status = "disabled";
1647		};
1648
1649		tcsr_mutex: hwlock@1f40000 {
1650			compatible = "qcom,tcsr-mutex";
1651			reg = <0 0x01f40000 0 0x20000>;
1652			#hwlock-cells = <1>;
1653		};
1654
1655		tcsr_regs_1: syscon@1f60000 {
1656			compatible = "qcom,sc7180-tcsr", "syscon";
1657			reg = <0 0x01f60000 0 0x20000>;
1658		};
1659
1660		tcsr_regs_2: syscon@1fc0000 {
1661			compatible = "qcom,sc7180-tcsr", "syscon";
1662			reg = <0 0x01fc0000 0 0x40000>;
1663		};
1664
1665		tlmm: pinctrl@3500000 {
1666			compatible = "qcom,sc7180-pinctrl";
1667			reg = <0 0x03500000 0 0x300000>,
1668			      <0 0x03900000 0 0x300000>,
1669			      <0 0x03d00000 0 0x300000>;
1670			reg-names = "west", "north", "south";
1671			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1672			gpio-controller;
1673			#gpio-cells = <2>;
1674			interrupt-controller;
1675			#interrupt-cells = <2>;
1676			gpio-ranges = <&tlmm 0 0 120>;
1677			wakeup-parent = <&pdc>;
1678
1679			dp_hot_plug_det: dp-hot-plug-det-state {
1680				pins = "gpio117";
1681				function = "dp_hot";
1682			};
1683
1684			qspi_clk: qspi-clk-state {
1685				pins = "gpio63";
1686				function = "qspi_clk";
1687			};
1688
1689			qspi_cs0: qspi-cs0-state {
1690				pins = "gpio68";
1691				function = "qspi_cs";
1692			};
1693
1694			qspi_cs1: qspi-cs1-state {
1695				pins = "gpio72";
1696				function = "qspi_cs";
1697			};
1698
1699			qspi_data0: qspi-data0-state {
1700				pins = "gpio64";
1701				function = "qspi_data";
1702			};
1703
1704			qspi_data1: qspi-data1-state {
1705				pins = "gpio65";
1706				function = "qspi_data";
1707			};
1708
1709			qspi_data23: qspi-data23-state {
1710				pins = "gpio66", "gpio67";
1711				function = "qspi_data";
1712			};
1713
1714			qup_i2c0_default: qup-i2c0-default-state {
1715				pins = "gpio34", "gpio35";
1716				function = "qup00";
1717			};
1718
1719			qup_i2c1_default: qup-i2c1-default-state {
1720				pins = "gpio0", "gpio1";
1721				function = "qup01";
1722			};
1723
1724			qup_i2c2_default: qup-i2c2-default-state {
1725				pins = "gpio15", "gpio16";
1726				function = "qup02_i2c";
1727			};
1728
1729			qup_i2c3_default: qup-i2c3-default-state {
1730				pins = "gpio38", "gpio39";
1731				function = "qup03";
1732			};
1733
1734			qup_i2c4_default: qup-i2c4-default-state {
1735				pins = "gpio115", "gpio116";
1736				function = "qup04_i2c";
1737			};
1738
1739			qup_i2c5_default: qup-i2c5-default-state {
1740				pins = "gpio25", "gpio26";
1741				function = "qup05";
1742			};
1743
1744			qup_i2c6_default: qup-i2c6-default-state {
1745				pins = "gpio59", "gpio60";
1746				function = "qup10";
1747			};
1748
1749			qup_i2c7_default: qup-i2c7-default-state {
1750				pins = "gpio6", "gpio7";
1751				function = "qup11_i2c";
1752			};
1753
1754			qup_i2c8_default: qup-i2c8-default-state {
1755				pins = "gpio42", "gpio43";
1756				function = "qup12";
1757			};
1758
1759			qup_i2c9_default: qup-i2c9-default-state {
1760				pins = "gpio46", "gpio47";
1761				function = "qup13_i2c";
1762			};
1763
1764			qup_i2c10_default: qup-i2c10-default-state {
1765				pins = "gpio86", "gpio87";
1766				function = "qup14";
1767			};
1768
1769			qup_i2c11_default: qup-i2c11-default-state {
1770				pins = "gpio53", "gpio54";
1771				function = "qup15";
1772			};
1773
1774			qup_spi0_spi: qup-spi0-spi-state {
1775				pins = "gpio34", "gpio35", "gpio36";
1776				function = "qup00";
1777			};
1778
1779			qup_spi0_cs: qup-spi0-cs-state {
1780				pins = "gpio37";
1781				function = "qup00";
1782			};
1783
1784			qup_spi0_cs_gpio: qup-spi0-cs-gpio-state {
1785				pins = "gpio37";
1786				function = "gpio";
1787			};
1788
1789			qup_spi1_spi: qup-spi1-spi-state {
1790				pins = "gpio0", "gpio1", "gpio2";
1791				function = "qup01";
1792			};
1793
1794			qup_spi1_cs: qup-spi1-cs-state {
1795				pins = "gpio3";
1796				function = "qup01";
1797			};
1798
1799			qup_spi1_cs_gpio: qup-spi1-cs-gpio-state {
1800				pins = "gpio3";
1801				function = "gpio";
1802			};
1803
1804			qup_spi3_spi: qup-spi3-spi-state {
1805				pins = "gpio38", "gpio39", "gpio40";
1806				function = "qup03";
1807			};
1808
1809			qup_spi3_cs: qup-spi3-cs-state {
1810				pins = "gpio41";
1811				function = "qup03";
1812			};
1813
1814			qup_spi3_cs_gpio: qup-spi3-cs-gpio-state {
1815				pins = "gpio41";
1816				function = "gpio";
1817			};
1818
1819			qup_spi5_spi: qup-spi5-spi-state {
1820				pins = "gpio25", "gpio26", "gpio27";
1821				function = "qup05";
1822			};
1823
1824			qup_spi5_cs: qup-spi5-cs-state {
1825				pins = "gpio28";
1826				function = "qup05";
1827			};
1828
1829			qup_spi5_cs_gpio: qup-spi5-cs-gpio-state {
1830				pins = "gpio28";
1831				function = "gpio";
1832			};
1833
1834			qup_spi6_spi: qup-spi6-spi-state {
1835				pins = "gpio59", "gpio60", "gpio61";
1836				function = "qup10";
1837			};
1838
1839			qup_spi6_cs: qup-spi6-cs-state {
1840				pins = "gpio62";
1841				function = "qup10";
1842			};
1843
1844			qup_spi6_cs_gpio: qup-spi6-cs-gpio-state {
1845				pins = "gpio62";
1846				function = "gpio";
1847			};
1848
1849			qup_spi8_spi: qup-spi8-spi-state {
1850				pins = "gpio42", "gpio43", "gpio44";
1851				function = "qup12";
1852			};
1853
1854			qup_spi8_cs: qup-spi8-cs-state {
1855				pins = "gpio45";
1856				function = "qup12";
1857			};
1858
1859			qup_spi8_cs_gpio: qup-spi8-cs-gpio-state {
1860				pins = "gpio45";
1861				function = "gpio";
1862			};
1863
1864			qup_spi10_spi: qup-spi10-spi-state {
1865				pins = "gpio86", "gpio87", "gpio88";
1866				function = "qup14";
1867			};
1868
1869			qup_spi10_cs: qup-spi10-cs-state {
1870				pins = "gpio89";
1871				function = "qup14";
1872			};
1873
1874			qup_spi10_cs_gpio: qup-spi10-cs-gpio-state {
1875				pins = "gpio89";
1876				function = "gpio";
1877			};
1878
1879			qup_spi11_spi: qup-spi11-spi-state {
1880				pins = "gpio53", "gpio54", "gpio55";
1881				function = "qup15";
1882			};
1883
1884			qup_spi11_cs: qup-spi11-cs-state {
1885				pins = "gpio56";
1886				function = "qup15";
1887			};
1888
1889			qup_spi11_cs_gpio: qup-spi11-cs-gpio-state {
1890				pins = "gpio56";
1891				function = "gpio";
1892			};
1893
1894			qup_uart0_default: qup-uart0-default-state {
1895				qup_uart0_cts: cts-pins {
1896					pins = "gpio34";
1897					function = "qup00";
1898				};
1899
1900				qup_uart0_rts: rts-pins {
1901					pins = "gpio35";
1902					function = "qup00";
1903				};
1904
1905				qup_uart0_tx: tx-pins {
1906					pins = "gpio36";
1907					function = "qup00";
1908				};
1909
1910				qup_uart0_rx: rx-pins {
1911					pins = "gpio37";
1912					function = "qup00";
1913				};
1914			};
1915
1916			qup_uart1_default: qup-uart1-default-state {
1917				qup_uart1_cts: cts-pins {
1918					pins = "gpio0";
1919					function = "qup01";
1920				};
1921
1922				qup_uart1_rts: rts-pins {
1923					pins = "gpio1";
1924					function = "qup01";
1925				};
1926
1927				qup_uart1_tx: tx-pins {
1928					pins = "gpio2";
1929					function = "qup01";
1930				};
1931
1932				qup_uart1_rx: rx-pins {
1933					pins = "gpio3";
1934					function = "qup01";
1935				};
1936			};
1937
1938			qup_uart2_default: qup-uart2-default-state {
1939				qup_uart2_tx: tx-pins {
1940					pins = "gpio15";
1941					function = "qup02_uart";
1942				};
1943
1944				qup_uart2_rx: rx-pins {
1945					pins = "gpio16";
1946					function = "qup02_uart";
1947				};
1948			};
1949
1950			qup_uart3_default: qup-uart3-default-state {
1951				qup_uart3_cts: cts-pins {
1952					pins = "gpio38";
1953					function = "qup03";
1954				};
1955
1956				qup_uart3_rts: rts-pins {
1957					pins = "gpio39";
1958					function = "qup03";
1959				};
1960
1961				qup_uart3_tx: tx-pins {
1962					pins = "gpio40";
1963					function = "qup03";
1964				};
1965
1966				qup_uart3_rx: rx-pins {
1967					pins = "gpio41";
1968					function = "qup03";
1969				};
1970			};
1971
1972			qup_uart4_default: qup-uart4-default-state {
1973				qup_uart4_tx: tx-pins {
1974					pins = "gpio115";
1975					function = "qup04_uart";
1976				};
1977
1978				qup_uart4_rx: rx-pins {
1979					pins = "gpio116";
1980					function = "qup04_uart";
1981				};
1982			};
1983
1984			qup_uart5_default: qup-uart5-default-state {
1985				qup_uart5_cts: cts-pins {
1986					pins = "gpio25";
1987					function = "qup05";
1988				};
1989
1990				qup_uart5_rts: rts-pins {
1991					pins = "gpio26";
1992					function = "qup05";
1993				};
1994
1995				qup_uart5_tx: tx-pins {
1996					pins = "gpio27";
1997					function = "qup05";
1998				};
1999
2000				qup_uart5_rx: rx-pins {
2001					pins = "gpio28";
2002					function = "qup05";
2003				};
2004			};
2005
2006			qup_uart6_default: qup-uart6-default-state {
2007				qup_uart6_cts: cts-pins {
2008					pins = "gpio59";
2009					function = "qup10";
2010				};
2011
2012				qup_uart6_rts: rts-pins {
2013					pins = "gpio60";
2014					function = "qup10";
2015				};
2016
2017				qup_uart6_tx: tx-pins {
2018					pins = "gpio61";
2019					function = "qup10";
2020				};
2021
2022				qup_uart6_rx: rx-pins {
2023					pins = "gpio62";
2024					function = "qup10";
2025				};
2026			};
2027
2028			qup_uart7_default: qup-uart7-default-state {
2029				qup_uart7_tx: tx-pins {
2030					pins = "gpio6";
2031					function = "qup11_uart";
2032				};
2033
2034				qup_uart7_rx: rx-pins {
2035					pins = "gpio7";
2036					function = "qup11_uart";
2037				};
2038			};
2039
2040			qup_uart8_default: qup-uart8-default-state {
2041				qup_uart8_tx: tx-pins {
2042					pins = "gpio44";
2043					function = "qup12";
2044				};
2045
2046				qup_uart8_rx: rx-pins {
2047					pins = "gpio45";
2048					function = "qup12";
2049				};
2050			};
2051
2052			qup_uart9_default: qup-uart9-default-state {
2053				qup_uart9_tx: tx-pins {
2054					pins = "gpio46";
2055					function = "qup13_uart";
2056				};
2057
2058				qup_uart9_rx: rx-pins {
2059					pins = "gpio47";
2060					function = "qup13_uart";
2061				};
2062			};
2063
2064			qup_uart10_default: qup-uart10-default-state {
2065				qup_uart10_cts: cts-pins {
2066					pins = "gpio86";
2067					function = "qup14";
2068				};
2069
2070				qup_uart10_rts: rts-pins {
2071					pins = "gpio87";
2072					function = "qup14";
2073				};
2074
2075				qup_uart10_tx: tx-pins {
2076					pins = "gpio88";
2077					function = "qup14";
2078				};
2079
2080				qup_uart10_rx: rx-pins {
2081					pins = "gpio89";
2082					function = "qup14";
2083				};
2084			};
2085
2086			qup_uart11_default: qup-uart11-default-state {
2087				qup_uart11_cts: cts-pins {
2088					pins = "gpio53";
2089					function = "qup15";
2090				};
2091
2092				qup_uart11_rts: rts-pins {
2093					pins = "gpio54";
2094					function = "qup15";
2095				};
2096
2097				qup_uart11_tx: tx-pins {
2098					pins = "gpio55";
2099					function = "qup15";
2100				};
2101
2102				qup_uart11_rx: rx-pins {
2103					pins = "gpio56";
2104					function = "qup15";
2105				};
2106			};
2107
2108			sec_mi2s_active: sec-mi2s-active-state {
2109				pins = "gpio49", "gpio50", "gpio51";
2110				function = "mi2s_1";
2111			};
2112
2113			pri_mi2s_active: pri-mi2s-active-state {
2114				pins = "gpio53", "gpio54", "gpio55", "gpio56";
2115				function = "mi2s_0";
2116			};
2117
2118			pri_mi2s_mclk_active: pri-mi2s-mclk-active-state {
2119				pins = "gpio57";
2120				function = "lpass_ext";
2121			};
2122
2123			ter_mi2s_active: ter-mi2s-active-state {
2124				pins = "gpio63", "gpio64", "gpio65", "gpio66";
2125				function = "mi2s_2";
2126			};
2127		};
2128
2129		remoteproc_mpss: remoteproc@4080000 {
2130			compatible = "qcom,sc7180-mpss-pas";
2131			reg = <0 0x04080000 0 0x4040>;
2132
2133			interrupts-extended = <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
2134					      <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2135					      <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2136					      <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2137					      <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
2138					      <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
2139			interrupt-names = "wdog", "fatal", "ready", "handover",
2140					  "stop-ack", "shutdown-ack";
2141
2142			clocks = <&rpmhcc RPMH_CXO_CLK>;
2143			clock-names = "xo";
2144
2145			power-domains = <&rpmhpd SC7180_CX>,
2146					<&rpmhpd SC7180_MX>,
2147					<&rpmhpd SC7180_MSS>;
2148			power-domain-names = "cx", "mx", "mss";
2149
2150			memory-region = <&mpss_mem>;
2151
2152			qcom,qmp = <&aoss_qmp>;
2153
2154			qcom,smem-states = <&modem_smp2p_out 0>;
2155			qcom,smem-state-names = "stop";
2156
2157			status = "disabled";
2158
2159			glink-edge {
2160				interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
2161				label = "modem";
2162				qcom,remote-pid = <1>;
2163				mboxes = <&apss_shared 12>;
2164			};
2165		};
2166
2167		gpu: gpu@5000000 {
2168			compatible = "qcom,adreno-618.0", "qcom,adreno";
2169			reg = <0 0x05000000 0 0x40000>, <0 0x0509e000 0 0x1000>,
2170				<0 0x05061000 0 0x800>;
2171			reg-names = "kgsl_3d0_reg_memory", "cx_mem", "cx_dbgc";
2172			interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
2173			iommus = <&adreno_smmu 0>;
2174			operating-points-v2 = <&gpu_opp_table>;
2175			qcom,gmu = <&gmu>;
2176
2177			#cooling-cells = <2>;
2178
2179			nvmem-cells = <&gpu_speed_bin>;
2180			nvmem-cell-names = "speed_bin";
2181
2182			interconnects = <&gem_noc MASTER_GFX3D 0 &mc_virt SLAVE_EBI1 0>;
2183			interconnect-names = "gfx-mem";
2184
2185			gpu_opp_table: opp-table {
2186				compatible = "operating-points-v2";
2187
2188				opp-825000000 {
2189					opp-hz = /bits/ 64 <825000000>;
2190					opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
2191					opp-peak-kBps = <8532000>;
2192					opp-supported-hw = <0x04>;
2193				};
2194
2195				opp-800000000 {
2196					opp-hz = /bits/ 64 <800000000>;
2197					opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
2198					opp-peak-kBps = <8532000>;
2199					opp-supported-hw = <0x07>;
2200				};
2201
2202				opp-650000000 {
2203					opp-hz = /bits/ 64 <650000000>;
2204					opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
2205					opp-peak-kBps = <7216000>;
2206					opp-supported-hw = <0x07>;
2207				};
2208
2209				opp-565000000 {
2210					opp-hz = /bits/ 64 <565000000>;
2211					opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2212					opp-peak-kBps = <5412000>;
2213					opp-supported-hw = <0x07>;
2214				};
2215
2216				opp-430000000 {
2217					opp-hz = /bits/ 64 <430000000>;
2218					opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2219					opp-peak-kBps = <5412000>;
2220					opp-supported-hw = <0x07>;
2221				};
2222
2223				opp-355000000 {
2224					opp-hz = /bits/ 64 <355000000>;
2225					opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2226					opp-peak-kBps = <3072000>;
2227					opp-supported-hw = <0x07>;
2228				};
2229
2230				opp-267000000 {
2231					opp-hz = /bits/ 64 <267000000>;
2232					opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2233					opp-peak-kBps = <3072000>;
2234					opp-supported-hw = <0x07>;
2235				};
2236
2237				opp-180000000 {
2238					opp-hz = /bits/ 64 <180000000>;
2239					opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2240					opp-peak-kBps = <1804000>;
2241					opp-supported-hw = <0x07>;
2242				};
2243			};
2244		};
2245
2246		adreno_smmu: iommu@5040000 {
2247			compatible = "qcom,sc7180-smmu-v2", "qcom,adreno-smmu", "qcom,smmu-v2";
2248			reg = <0 0x05040000 0 0x10000>;
2249			#iommu-cells = <1>;
2250			#global-interrupts = <2>;
2251			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
2252					<GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
2253					<GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
2254					<GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
2255					<GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
2256					<GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
2257					<GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
2258					<GIC_SPI 369 IRQ_TYPE_EDGE_RISING>,
2259					<GIC_SPI 370 IRQ_TYPE_EDGE_RISING>,
2260					<GIC_SPI 371 IRQ_TYPE_EDGE_RISING>;
2261
2262			clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
2263				<&gcc GCC_GPU_CFG_AHB_CLK>;
2264			clock-names = "bus", "iface";
2265
2266			power-domains = <&gpucc CX_GDSC>;
2267		};
2268
2269		gmu: gmu@506a000 {
2270			compatible = "qcom,adreno-gmu-618.0", "qcom,adreno-gmu";
2271			reg = <0 0x0506a000 0 0x31000>, <0 0x0b290000 0 0x10000>,
2272				<0 0x0b490000 0 0x10000>;
2273			reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
2274			interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
2275				   <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
2276			interrupt-names = "hfi", "gmu";
2277			clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
2278			       <&gpucc GPU_CC_CXO_CLK>,
2279			       <&gcc GCC_DDRSS_GPU_AXI_CLK>,
2280			       <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
2281			clock-names = "gmu", "cxo", "axi", "memnoc";
2282			power-domains = <&gpucc CX_GDSC>, <&gpucc GX_GDSC>;
2283			power-domain-names = "cx", "gx";
2284			iommus = <&adreno_smmu 5>;
2285			operating-points-v2 = <&gmu_opp_table>;
2286
2287			gmu_opp_table: opp-table {
2288				compatible = "operating-points-v2";
2289
2290				opp-200000000 {
2291					opp-hz = /bits/ 64 <200000000>;
2292					opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2293				};
2294			};
2295		};
2296
2297		gpucc: clock-controller@5090000 {
2298			compatible = "qcom,sc7180-gpucc";
2299			reg = <0 0x05090000 0 0x9000>;
2300			clocks = <&rpmhcc RPMH_CXO_CLK>,
2301				 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
2302				 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
2303			clock-names = "bi_tcxo",
2304				      "gcc_gpu_gpll0_clk_src",
2305				      "gcc_gpu_gpll0_div_clk_src";
2306			#clock-cells = <1>;
2307			#reset-cells = <1>;
2308			#power-domain-cells = <1>;
2309		};
2310
2311		dma@10a2000 {
2312			compatible = "qcom,sc7180-dcc", "qcom,dcc";
2313			reg = <0x0 0x010a2000 0x0 0x1000>,
2314			      <0x0 0x010ae000 0x0 0x2000>;
2315			status = "disabled";
2316		};
2317
2318		stm@6002000 {
2319			compatible = "arm,coresight-stm", "arm,primecell";
2320			reg = <0 0x06002000 0 0x1000>,
2321			      <0 0x16280000 0 0x180000>;
2322			reg-names = "stm-base", "stm-stimulus-base";
2323
2324			clocks = <&aoss_qmp>;
2325			clock-names = "apb_pclk";
2326
2327			out-ports {
2328				port {
2329					stm_out: endpoint {
2330						remote-endpoint = <&funnel0_in7>;
2331					};
2332				};
2333			};
2334		};
2335
2336		funnel@6041000 {
2337			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2338			reg = <0 0x06041000 0 0x1000>;
2339
2340			clocks = <&aoss_qmp>;
2341			clock-names = "apb_pclk";
2342
2343			out-ports {
2344				port {
2345					funnel0_out: endpoint {
2346						remote-endpoint = <&merge_funnel_in0>;
2347					};
2348				};
2349			};
2350
2351			in-ports {
2352				#address-cells = <1>;
2353				#size-cells = <0>;
2354
2355				port@7 {
2356					reg = <7>;
2357					funnel0_in7: endpoint {
2358						remote-endpoint = <&stm_out>;
2359					};
2360				};
2361			};
2362		};
2363
2364		funnel@6042000 {
2365			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2366			reg = <0 0x06042000 0 0x1000>;
2367
2368			clocks = <&aoss_qmp>;
2369			clock-names = "apb_pclk";
2370
2371			out-ports {
2372				port {
2373					funnel1_out: endpoint {
2374						remote-endpoint = <&merge_funnel_in1>;
2375					};
2376				};
2377			};
2378
2379			in-ports {
2380				#address-cells = <1>;
2381				#size-cells = <0>;
2382
2383				port@4 {
2384					reg = <4>;
2385					funnel1_in4: endpoint {
2386						remote-endpoint = <&apss_merge_funnel_out>;
2387					};
2388				};
2389			};
2390		};
2391
2392		funnel@6045000 {
2393			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2394			reg = <0 0x06045000 0 0x1000>;
2395
2396			clocks = <&aoss_qmp>;
2397			clock-names = "apb_pclk";
2398
2399			out-ports {
2400				port {
2401					merge_funnel_out: endpoint {
2402						remote-endpoint = <&swao_funnel_in>;
2403					};
2404				};
2405			};
2406
2407			in-ports {
2408				#address-cells = <1>;
2409				#size-cells = <0>;
2410
2411				port@0 {
2412					reg = <0>;
2413					merge_funnel_in0: endpoint {
2414						remote-endpoint = <&funnel0_out>;
2415					};
2416				};
2417
2418				port@1 {
2419					reg = <1>;
2420					merge_funnel_in1: endpoint {
2421						remote-endpoint = <&funnel1_out>;
2422					};
2423				};
2424			};
2425		};
2426
2427		replicator@6046000 {
2428			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
2429			reg = <0 0x06046000 0 0x1000>;
2430
2431			clocks = <&aoss_qmp>;
2432			clock-names = "apb_pclk";
2433
2434			out-ports {
2435				port {
2436					replicator_out: endpoint {
2437						remote-endpoint = <&etr_in>;
2438					};
2439				};
2440			};
2441
2442			in-ports {
2443				port {
2444					replicator_in: endpoint {
2445						remote-endpoint = <&swao_replicator_out>;
2446					};
2447				};
2448			};
2449		};
2450
2451		etr@6048000 {
2452			compatible = "arm,coresight-tmc", "arm,primecell";
2453			reg = <0 0x06048000 0 0x1000>;
2454			iommus = <&apps_smmu 0x04a0 0x20>;
2455
2456			clocks = <&aoss_qmp>;
2457			clock-names = "apb_pclk";
2458			arm,scatter-gather;
2459
2460			in-ports {
2461				port {
2462					etr_in: endpoint {
2463						remote-endpoint = <&replicator_out>;
2464					};
2465				};
2466			};
2467		};
2468
2469		funnel@6b04000 {
2470			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2471			reg = <0 0x06b04000 0 0x1000>;
2472
2473			clocks = <&aoss_qmp>;
2474			clock-names = "apb_pclk";
2475
2476			out-ports {
2477				port {
2478					swao_funnel_out: endpoint {
2479						remote-endpoint = <&etf_in>;
2480					};
2481				};
2482			};
2483
2484			in-ports {
2485				#address-cells = <1>;
2486				#size-cells = <0>;
2487
2488				port@7 {
2489					reg = <7>;
2490					swao_funnel_in: endpoint {
2491						remote-endpoint = <&merge_funnel_out>;
2492					};
2493				};
2494			};
2495		};
2496
2497		etf@6b05000 {
2498			compatible = "arm,coresight-tmc", "arm,primecell";
2499			reg = <0 0x06b05000 0 0x1000>;
2500
2501			clocks = <&aoss_qmp>;
2502			clock-names = "apb_pclk";
2503
2504			out-ports {
2505				port {
2506					etf_out: endpoint {
2507						remote-endpoint = <&swao_replicator_in>;
2508					};
2509				};
2510			};
2511
2512			in-ports {
2513				port {
2514					etf_in: endpoint {
2515						remote-endpoint = <&swao_funnel_out>;
2516					};
2517				};
2518			};
2519		};
2520
2521		replicator@6b06000 {
2522			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
2523			reg = <0 0x06b06000 0 0x1000>;
2524
2525			clocks = <&aoss_qmp>;
2526			clock-names = "apb_pclk";
2527			qcom,replicator-loses-context;
2528
2529			out-ports {
2530				port {
2531					swao_replicator_out: endpoint {
2532						remote-endpoint = <&replicator_in>;
2533					};
2534				};
2535			};
2536
2537			in-ports {
2538				port {
2539					swao_replicator_in: endpoint {
2540						remote-endpoint = <&etf_out>;
2541					};
2542				};
2543			};
2544		};
2545
2546		etm@7040000 {
2547			compatible = "arm,coresight-etm4x", "arm,primecell";
2548			reg = <0 0x07040000 0 0x1000>;
2549
2550			cpu = <&CPU0>;
2551
2552			clocks = <&aoss_qmp>;
2553			clock-names = "apb_pclk";
2554			arm,coresight-loses-context-with-cpu;
2555			qcom,skip-power-up;
2556
2557			out-ports {
2558				port {
2559					etm0_out: endpoint {
2560						remote-endpoint = <&apss_funnel_in0>;
2561					};
2562				};
2563			};
2564		};
2565
2566		etm@7140000 {
2567			compatible = "arm,coresight-etm4x", "arm,primecell";
2568			reg = <0 0x07140000 0 0x1000>;
2569
2570			cpu = <&CPU1>;
2571
2572			clocks = <&aoss_qmp>;
2573			clock-names = "apb_pclk";
2574			arm,coresight-loses-context-with-cpu;
2575			qcom,skip-power-up;
2576
2577			out-ports {
2578				port {
2579					etm1_out: endpoint {
2580						remote-endpoint = <&apss_funnel_in1>;
2581					};
2582				};
2583			};
2584		};
2585
2586		etm@7240000 {
2587			compatible = "arm,coresight-etm4x", "arm,primecell";
2588			reg = <0 0x07240000 0 0x1000>;
2589
2590			cpu = <&CPU2>;
2591
2592			clocks = <&aoss_qmp>;
2593			clock-names = "apb_pclk";
2594			arm,coresight-loses-context-with-cpu;
2595			qcom,skip-power-up;
2596
2597			out-ports {
2598				port {
2599					etm2_out: endpoint {
2600						remote-endpoint = <&apss_funnel_in2>;
2601					};
2602				};
2603			};
2604		};
2605
2606		etm@7340000 {
2607			compatible = "arm,coresight-etm4x", "arm,primecell";
2608			reg = <0 0x07340000 0 0x1000>;
2609
2610			cpu = <&CPU3>;
2611
2612			clocks = <&aoss_qmp>;
2613			clock-names = "apb_pclk";
2614			arm,coresight-loses-context-with-cpu;
2615			qcom,skip-power-up;
2616
2617			out-ports {
2618				port {
2619					etm3_out: endpoint {
2620						remote-endpoint = <&apss_funnel_in3>;
2621					};
2622				};
2623			};
2624		};
2625
2626		etm@7440000 {
2627			compatible = "arm,coresight-etm4x", "arm,primecell";
2628			reg = <0 0x07440000 0 0x1000>;
2629
2630			cpu = <&CPU4>;
2631
2632			clocks = <&aoss_qmp>;
2633			clock-names = "apb_pclk";
2634			arm,coresight-loses-context-with-cpu;
2635			qcom,skip-power-up;
2636
2637			out-ports {
2638				port {
2639					etm4_out: endpoint {
2640						remote-endpoint = <&apss_funnel_in4>;
2641					};
2642				};
2643			};
2644		};
2645
2646		etm@7540000 {
2647			compatible = "arm,coresight-etm4x", "arm,primecell";
2648			reg = <0 0x07540000 0 0x1000>;
2649
2650			cpu = <&CPU5>;
2651
2652			clocks = <&aoss_qmp>;
2653			clock-names = "apb_pclk";
2654			arm,coresight-loses-context-with-cpu;
2655			qcom,skip-power-up;
2656
2657			out-ports {
2658				port {
2659					etm5_out: endpoint {
2660						remote-endpoint = <&apss_funnel_in5>;
2661					};
2662				};
2663			};
2664		};
2665
2666		etm@7640000 {
2667			compatible = "arm,coresight-etm4x", "arm,primecell";
2668			reg = <0 0x07640000 0 0x1000>;
2669
2670			cpu = <&CPU6>;
2671
2672			clocks = <&aoss_qmp>;
2673			clock-names = "apb_pclk";
2674			arm,coresight-loses-context-with-cpu;
2675			qcom,skip-power-up;
2676
2677			out-ports {
2678				port {
2679					etm6_out: endpoint {
2680						remote-endpoint = <&apss_funnel_in6>;
2681					};
2682				};
2683			};
2684		};
2685
2686		etm@7740000 {
2687			compatible = "arm,coresight-etm4x", "arm,primecell";
2688			reg = <0 0x07740000 0 0x1000>;
2689
2690			cpu = <&CPU7>;
2691
2692			clocks = <&aoss_qmp>;
2693			clock-names = "apb_pclk";
2694			arm,coresight-loses-context-with-cpu;
2695			qcom,skip-power-up;
2696
2697			out-ports {
2698				port {
2699					etm7_out: endpoint {
2700						remote-endpoint = <&apss_funnel_in7>;
2701					};
2702				};
2703			};
2704		};
2705
2706		funnel@7800000 { /* APSS Funnel */
2707			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2708			reg = <0 0x07800000 0 0x1000>;
2709
2710			clocks = <&aoss_qmp>;
2711			clock-names = "apb_pclk";
2712
2713			out-ports {
2714				port {
2715					apss_funnel_out: endpoint {
2716						remote-endpoint = <&apss_merge_funnel_in>;
2717					};
2718				};
2719			};
2720
2721			in-ports {
2722				#address-cells = <1>;
2723				#size-cells = <0>;
2724
2725				port@0 {
2726					reg = <0>;
2727					apss_funnel_in0: endpoint {
2728						remote-endpoint = <&etm0_out>;
2729					};
2730				};
2731
2732				port@1 {
2733					reg = <1>;
2734					apss_funnel_in1: endpoint {
2735						remote-endpoint = <&etm1_out>;
2736					};
2737				};
2738
2739				port@2 {
2740					reg = <2>;
2741					apss_funnel_in2: endpoint {
2742						remote-endpoint = <&etm2_out>;
2743					};
2744				};
2745
2746				port@3 {
2747					reg = <3>;
2748					apss_funnel_in3: endpoint {
2749						remote-endpoint = <&etm3_out>;
2750					};
2751				};
2752
2753				port@4 {
2754					reg = <4>;
2755					apss_funnel_in4: endpoint {
2756						remote-endpoint = <&etm4_out>;
2757					};
2758				};
2759
2760				port@5 {
2761					reg = <5>;
2762					apss_funnel_in5: endpoint {
2763						remote-endpoint = <&etm5_out>;
2764					};
2765				};
2766
2767				port@6 {
2768					reg = <6>;
2769					apss_funnel_in6: endpoint {
2770						remote-endpoint = <&etm6_out>;
2771					};
2772				};
2773
2774				port@7 {
2775					reg = <7>;
2776					apss_funnel_in7: endpoint {
2777						remote-endpoint = <&etm7_out>;
2778					};
2779				};
2780			};
2781		};
2782
2783		funnel@7810000 {
2784			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2785			reg = <0 0x07810000 0 0x1000>;
2786
2787			clocks = <&aoss_qmp>;
2788			clock-names = "apb_pclk";
2789
2790			out-ports {
2791				port {
2792					apss_merge_funnel_out: endpoint {
2793						remote-endpoint = <&funnel1_in4>;
2794					};
2795				};
2796			};
2797
2798			in-ports {
2799				port {
2800					apss_merge_funnel_in: endpoint {
2801						remote-endpoint = <&apss_funnel_out>;
2802					};
2803				};
2804			};
2805		};
2806
2807		sdhc_2: mmc@8804000 {
2808			compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
2809			reg = <0 0x08804000 0 0x1000>;
2810
2811			iommus = <&apps_smmu 0x80 0>;
2812			interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
2813					<GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
2814			interrupt-names = "hc_irq", "pwr_irq";
2815
2816			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
2817				 <&gcc GCC_SDCC2_APPS_CLK>,
2818				 <&rpmhcc RPMH_CXO_CLK>;
2819			clock-names = "iface", "core", "xo";
2820
2821			interconnects = <&aggre1_noc MASTER_SDCC_2 0 &mc_virt SLAVE_EBI1 0>,
2822					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_SDCC_2 0>;
2823			interconnect-names = "sdhc-ddr","cpu-sdhc";
2824			power-domains = <&rpmhpd SC7180_CX>;
2825			operating-points-v2 = <&sdhc2_opp_table>;
2826
2827			bus-width = <4>;
2828
2829			status = "disabled";
2830
2831			sdhc2_opp_table: opp-table {
2832				compatible = "operating-points-v2";
2833
2834				opp-100000000 {
2835					opp-hz = /bits/ 64 <100000000>;
2836					required-opps = <&rpmhpd_opp_low_svs>;
2837					opp-peak-kBps = <1800000 600000>;
2838					opp-avg-kBps = <100000 0>;
2839				};
2840
2841				opp-202000000 {
2842					opp-hz = /bits/ 64 <202000000>;
2843					required-opps = <&rpmhpd_opp_nom>;
2844					opp-peak-kBps = <5400000 1600000>;
2845					opp-avg-kBps = <200000 0>;
2846				};
2847			};
2848		};
2849
2850		qspi: spi@88dc000 {
2851			compatible = "qcom,sc7180-qspi", "qcom,qspi-v1";
2852			reg = <0 0x088dc000 0 0x600>;
2853			iommus = <&apps_smmu 0x20 0x0>;
2854			#address-cells = <1>;
2855			#size-cells = <0>;
2856			interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
2857			clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
2858				 <&gcc GCC_QSPI_CORE_CLK>;
2859			clock-names = "iface", "core";
2860			interconnects = <&gem_noc MASTER_APPSS_PROC 0
2861					&config_noc SLAVE_QSPI_0 0>;
2862			interconnect-names = "qspi-config";
2863			power-domains = <&rpmhpd SC7180_CX>;
2864			operating-points-v2 = <&qspi_opp_table>;
2865			status = "disabled";
2866		};
2867
2868		usb_1_hsphy: phy@88e3000 {
2869			compatible = "qcom,sc7180-qusb2-phy", "qcom,qusb2-v2-phy";
2870			reg = <0 0x088e3000 0 0x400>;
2871			status = "disabled";
2872			#phy-cells = <0>;
2873			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2874				 <&rpmhcc RPMH_CXO_CLK>;
2875			clock-names = "cfg_ahb", "ref";
2876			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
2877
2878			nvmem-cells = <&qusb2p_hstx_trim>;
2879		};
2880
2881		usb_1_qmpphy: phy@88e8000 {
2882			compatible = "qcom,sc7180-qmp-usb3-dp-phy";
2883			reg = <0 0x088e8000 0 0x3000>;
2884			status = "disabled";
2885
2886			clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
2887				 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
2888				 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>,
2889				 <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>,
2890				 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>;
2891			clock-names = "aux",
2892				      "ref",
2893				      "com_aux",
2894				      "usb3_pipe",
2895				      "cfg_ahb";
2896
2897			resets = <&gcc GCC_USB3_PHY_PRIM_BCR>,
2898				 <&gcc GCC_USB3_DP_PHY_PRIM_BCR>;
2899			reset-names = "phy", "common";
2900
2901			#clock-cells = <1>;
2902			#phy-cells = <1>;
2903		};
2904
2905		pmu@90b6300 {
2906			compatible = "qcom,sc7180-cpu-bwmon", "qcom,sdm845-bwmon";
2907			reg = <0 0x090b6300 0 0x600>;
2908			interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
2909
2910			interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
2911					 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>;
2912			operating-points-v2 = <&cpu_bwmon_opp_table>;
2913
2914			cpu_bwmon_opp_table: opp-table {
2915				compatible = "operating-points-v2";
2916
2917				opp-0 {
2918					opp-peak-kBps = <2288000>;
2919				};
2920
2921				opp-1 {
2922					opp-peak-kBps = <4577000>;
2923				};
2924
2925				opp-2 {
2926					opp-peak-kBps = <7110000>;
2927				};
2928
2929				opp-3 {
2930					opp-peak-kBps = <9155000>;
2931				};
2932
2933				opp-4 {
2934					opp-peak-kBps = <12298000>;
2935				};
2936
2937				opp-5 {
2938					opp-peak-kBps = <14236000>;
2939				};
2940			};
2941		};
2942
2943		pmu@90cd000 {
2944			compatible = "qcom,sc7180-llcc-bwmon", "qcom,sc7280-llcc-bwmon";
2945			reg = <0 0x090cd000 0 0x1000>;
2946			interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
2947
2948			interconnects = <&mc_virt MASTER_LLCC QCOM_ICC_TAG_ACTIVE_ONLY
2949					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>;
2950			operating-points-v2 = <&llcc_bwmon_opp_table>;
2951
2952			llcc_bwmon_opp_table: opp-table {
2953				compatible = "operating-points-v2";
2954
2955				opp-0 {
2956					opp-peak-kBps = <1144000>;
2957				};
2958
2959				opp-1 {
2960					opp-peak-kBps = <1720000>;
2961				};
2962
2963				opp-2 {
2964					opp-peak-kBps = <2086000>;
2965				};
2966
2967				opp-3 {
2968					opp-peak-kBps = <2929000>;
2969				};
2970
2971				opp-4 {
2972					opp-peak-kBps = <3879000>;
2973				};
2974
2975				opp-5 {
2976					opp-peak-kBps = <5931000>;
2977				};
2978
2979				opp-6 {
2980					opp-peak-kBps = <6881000>;
2981				};
2982
2983				opp-7 {
2984					opp-peak-kBps = <8137000>;
2985				};
2986			};
2987		};
2988
2989		dc_noc: interconnect@9160000 {
2990			compatible = "qcom,sc7180-dc-noc";
2991			reg = <0 0x09160000 0 0x03200>;
2992			#interconnect-cells = <2>;
2993			qcom,bcm-voters = <&apps_bcm_voter>;
2994		};
2995
2996		system-cache-controller@9200000 {
2997			compatible = "qcom,sc7180-llcc";
2998			reg = <0 0x09200000 0 0x50000>, <0 0x09600000 0 0x50000>;
2999			reg-names = "llcc0_base", "llcc_broadcast_base";
3000			interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
3001		};
3002
3003		gem_noc: interconnect@9680000 {
3004			compatible = "qcom,sc7180-gem-noc";
3005			reg = <0 0x09680000 0 0x3e200>;
3006			#interconnect-cells = <2>;
3007			qcom,bcm-voters = <&apps_bcm_voter>;
3008		};
3009
3010		npu_noc: interconnect@9990000 {
3011			compatible = "qcom,sc7180-npu-noc";
3012			reg = <0 0x09990000 0 0x1600>;
3013			#interconnect-cells = <2>;
3014			qcom,bcm-voters = <&apps_bcm_voter>;
3015		};
3016
3017		usb_1: usb@a6f8800 {
3018			compatible = "qcom,sc7180-dwc3", "qcom,dwc3";
3019			reg = <0 0x0a6f8800 0 0x400>;
3020			status = "disabled";
3021			#address-cells = <2>;
3022			#size-cells = <2>;
3023			ranges;
3024			dma-ranges;
3025
3026			clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
3027				 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
3028				 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
3029				 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
3030				 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
3031			clock-names = "cfg_noc",
3032				      "core",
3033				      "iface",
3034				      "sleep",
3035				      "mock_utmi";
3036
3037			assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3038					  <&gcc GCC_USB30_PRIM_MASTER_CLK>;
3039			assigned-clock-rates = <19200000>, <150000000>;
3040
3041			interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
3042					      <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
3043					      <&pdc 9 IRQ_TYPE_EDGE_BOTH>,
3044					      <&pdc 8 IRQ_TYPE_EDGE_BOTH>,
3045					      <&pdc 6 IRQ_TYPE_LEVEL_HIGH>;
3046			interrupt-names = "pwr_event",
3047					  "hs_phy_irq",
3048					  "dp_hs_phy_irq",
3049					  "dm_hs_phy_irq",
3050					  "ss_phy_irq";
3051
3052			power-domains = <&gcc USB30_PRIM_GDSC>;
3053			required-opps = <&rpmhpd_opp_nom>;
3054
3055			resets = <&gcc GCC_USB30_PRIM_BCR>;
3056
3057			interconnects = <&aggre2_noc MASTER_USB3 0 &mc_virt SLAVE_EBI1 0>,
3058					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3 0>;
3059			interconnect-names = "usb-ddr", "apps-usb";
3060
3061			wakeup-source;
3062
3063			usb_1_dwc3: usb@a600000 {
3064				compatible = "snps,dwc3";
3065				reg = <0 0x0a600000 0 0xe000>;
3066				interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
3067				iommus = <&apps_smmu 0x540 0>;
3068				snps,dis_u2_susphy_quirk;
3069				snps,dis_enblslpm_quirk;
3070				phys = <&usb_1_hsphy>, <&usb_1_qmpphy QMP_USB43DP_USB3_PHY>;
3071				phy-names = "usb2-phy", "usb3-phy";
3072				maximum-speed = "super-speed";
3073			};
3074		};
3075
3076		venus: video-codec@aa00000 {
3077			compatible = "qcom,sc7180-venus";
3078			reg = <0 0x0aa00000 0 0xff000>;
3079			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
3080			power-domains = <&videocc VENUS_GDSC>,
3081					<&videocc VCODEC0_GDSC>,
3082					<&rpmhpd SC7180_CX>;
3083			power-domain-names = "venus", "vcodec0", "cx";
3084			operating-points-v2 = <&venus_opp_table>;
3085			clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
3086				 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
3087				 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
3088				 <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
3089				 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>;
3090			clock-names = "core", "iface", "bus",
3091				      "vcodec0_core", "vcodec0_bus";
3092			iommus = <&apps_smmu 0x0c00 0x60>;
3093			memory-region = <&venus_mem>;
3094			interconnects = <&mmss_noc MASTER_VIDEO_P0 0 &mc_virt SLAVE_EBI1 0>,
3095					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_VENUS_CFG 0>;
3096			interconnect-names = "video-mem", "cpu-cfg";
3097
3098			video-decoder {
3099				compatible = "venus-decoder";
3100			};
3101
3102			video-encoder {
3103				compatible = "venus-encoder";
3104			};
3105
3106			venus_opp_table: opp-table {
3107				compatible = "operating-points-v2";
3108
3109				opp-150000000 {
3110					opp-hz = /bits/ 64 <150000000>;
3111					required-opps = <&rpmhpd_opp_low_svs>;
3112				};
3113
3114				opp-270000000 {
3115					opp-hz = /bits/ 64 <270000000>;
3116					required-opps = <&rpmhpd_opp_svs>;
3117				};
3118
3119				opp-340000000 {
3120					opp-hz = /bits/ 64 <340000000>;
3121					required-opps = <&rpmhpd_opp_svs_l1>;
3122				};
3123
3124				opp-434000000 {
3125					opp-hz = /bits/ 64 <434000000>;
3126					required-opps = <&rpmhpd_opp_nom>;
3127				};
3128
3129				opp-500000097 {
3130					opp-hz = /bits/ 64 <500000097>;
3131					required-opps = <&rpmhpd_opp_turbo>;
3132				};
3133			};
3134		};
3135
3136		videocc: clock-controller@ab00000 {
3137			compatible = "qcom,sc7180-videocc";
3138			reg = <0 0x0ab00000 0 0x10000>;
3139			clocks = <&rpmhcc RPMH_CXO_CLK>;
3140			clock-names = "bi_tcxo";
3141			#clock-cells = <1>;
3142			#reset-cells = <1>;
3143			#power-domain-cells = <1>;
3144		};
3145
3146		camnoc_virt: interconnect@ac00000 {
3147			compatible = "qcom,sc7180-camnoc-virt";
3148			reg = <0 0x0ac00000 0 0x1000>;
3149			#interconnect-cells = <2>;
3150			qcom,bcm-voters = <&apps_bcm_voter>;
3151		};
3152
3153		camcc: clock-controller@ad00000 {
3154			compatible = "qcom,sc7180-camcc";
3155			reg = <0 0x0ad00000 0 0x10000>;
3156			clocks = <&rpmhcc RPMH_CXO_CLK>,
3157			       <&gcc GCC_CAMERA_AHB_CLK>,
3158			       <&gcc GCC_CAMERA_XO_CLK>;
3159			clock-names = "bi_tcxo", "iface", "xo";
3160			#clock-cells = <1>;
3161			#reset-cells = <1>;
3162			#power-domain-cells = <1>;
3163		};
3164
3165		mdss: display-subsystem@ae00000 {
3166			compatible = "qcom,sc7180-mdss";
3167			reg = <0 0x0ae00000 0 0x1000>;
3168			reg-names = "mdss";
3169
3170			power-domains = <&dispcc MDSS_GDSC>;
3171
3172			clocks = <&gcc GCC_DISP_AHB_CLK>,
3173				 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3174				 <&dispcc DISP_CC_MDSS_MDP_CLK>;
3175			clock-names = "iface", "ahb", "core";
3176
3177			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
3178			interrupt-controller;
3179			#interrupt-cells = <1>;
3180
3181			interconnects = <&mmss_noc MASTER_MDP0 QCOM_ICC_TAG_ALWAYS
3182					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
3183					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
3184					 &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ALWAYS>;
3185			interconnect-names = "mdp0-mem",
3186					     "cpu-cfg";
3187
3188			iommus = <&apps_smmu 0x800 0x2>;
3189
3190			#address-cells = <2>;
3191			#size-cells = <2>;
3192			ranges;
3193
3194			status = "disabled";
3195
3196			mdp: display-controller@ae01000 {
3197				compatible = "qcom,sc7180-dpu";
3198				reg = <0 0x0ae01000 0 0x8f000>,
3199				      <0 0x0aeb0000 0 0x2008>;
3200				reg-names = "mdp", "vbif";
3201
3202				clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
3203					 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3204					 <&dispcc DISP_CC_MDSS_ROT_CLK>,
3205					 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
3206					 <&dispcc DISP_CC_MDSS_MDP_CLK>,
3207					 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
3208				clock-names = "bus", "iface", "rot", "lut", "core",
3209					      "vsync";
3210				assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>,
3211						  <&dispcc DISP_CC_MDSS_ROT_CLK>,
3212						  <&dispcc DISP_CC_MDSS_AHB_CLK>;
3213				assigned-clock-rates = <19200000>,
3214						       <19200000>,
3215						       <19200000>;
3216				operating-points-v2 = <&mdp_opp_table>;
3217				power-domains = <&rpmhpd SC7180_CX>;
3218
3219				interrupt-parent = <&mdss>;
3220				interrupts = <0>;
3221
3222				ports {
3223					#address-cells = <1>;
3224					#size-cells = <0>;
3225
3226					port@0 {
3227						reg = <0>;
3228						dpu_intf1_out: endpoint {
3229							remote-endpoint = <&mdss_dsi0_in>;
3230						};
3231					};
3232
3233					port@2 {
3234						reg = <2>;
3235						dpu_intf0_out: endpoint {
3236							remote-endpoint = <&dp_in>;
3237						};
3238					};
3239				};
3240
3241				mdp_opp_table: opp-table {
3242					compatible = "operating-points-v2";
3243
3244					opp-200000000 {
3245						opp-hz = /bits/ 64 <200000000>;
3246						required-opps = <&rpmhpd_opp_low_svs>;
3247					};
3248
3249					opp-300000000 {
3250						opp-hz = /bits/ 64 <300000000>;
3251						required-opps = <&rpmhpd_opp_svs>;
3252					};
3253
3254					opp-345000000 {
3255						opp-hz = /bits/ 64 <345000000>;
3256						required-opps = <&rpmhpd_opp_svs_l1>;
3257					};
3258
3259					opp-460000000 {
3260						opp-hz = /bits/ 64 <460000000>;
3261						required-opps = <&rpmhpd_opp_nom>;
3262					};
3263				};
3264			};
3265
3266			mdss_dsi0: dsi@ae94000 {
3267				compatible = "qcom,sc7180-dsi-ctrl",
3268					     "qcom,mdss-dsi-ctrl";
3269				reg = <0 0x0ae94000 0 0x400>;
3270				reg-names = "dsi_ctrl";
3271
3272				interrupt-parent = <&mdss>;
3273				interrupts = <4>;
3274
3275				clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
3276					 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
3277					 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
3278					 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
3279					 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3280					 <&gcc GCC_DISP_HF_AXI_CLK>;
3281				clock-names = "byte",
3282					      "byte_intf",
3283					      "pixel",
3284					      "core",
3285					      "iface",
3286					      "bus";
3287
3288				assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
3289				assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>;
3290
3291				operating-points-v2 = <&dsi_opp_table>;
3292				power-domains = <&rpmhpd SC7180_CX>;
3293
3294				phys = <&mdss_dsi0_phy>;
3295
3296				#address-cells = <1>;
3297				#size-cells = <0>;
3298
3299				status = "disabled";
3300
3301				ports {
3302					#address-cells = <1>;
3303					#size-cells = <0>;
3304
3305					port@0 {
3306						reg = <0>;
3307						mdss_dsi0_in: endpoint {
3308							remote-endpoint = <&dpu_intf1_out>;
3309						};
3310					};
3311
3312					port@1 {
3313						reg = <1>;
3314						mdss_dsi0_out: endpoint {
3315						};
3316					};
3317				};
3318
3319				dsi_opp_table: opp-table {
3320					compatible = "operating-points-v2";
3321
3322					opp-187500000 {
3323						opp-hz = /bits/ 64 <187500000>;
3324						required-opps = <&rpmhpd_opp_low_svs>;
3325					};
3326
3327					opp-300000000 {
3328						opp-hz = /bits/ 64 <300000000>;
3329						required-opps = <&rpmhpd_opp_svs>;
3330					};
3331
3332					opp-358000000 {
3333						opp-hz = /bits/ 64 <358000000>;
3334						required-opps = <&rpmhpd_opp_svs_l1>;
3335					};
3336				};
3337			};
3338
3339			mdss_dsi0_phy: phy@ae94400 {
3340				compatible = "qcom,dsi-phy-10nm";
3341				reg = <0 0x0ae94400 0 0x200>,
3342				      <0 0x0ae94600 0 0x280>,
3343				      <0 0x0ae94a00 0 0x1e0>;
3344				reg-names = "dsi_phy",
3345					    "dsi_phy_lane",
3346					    "dsi_pll";
3347
3348				#clock-cells = <1>;
3349				#phy-cells = <0>;
3350
3351				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3352					 <&rpmhcc RPMH_CXO_CLK>;
3353				clock-names = "iface", "ref";
3354
3355				status = "disabled";
3356			};
3357
3358			mdss_dp: displayport-controller@ae90000 {
3359				compatible = "qcom,sc7180-dp";
3360				status = "disabled";
3361
3362				reg = <0 0x0ae90000 0 0x200>,
3363				      <0 0x0ae90200 0 0x200>,
3364				      <0 0x0ae90400 0 0xc00>,
3365				      <0 0x0ae91000 0 0x400>,
3366				      <0 0x0ae91400 0 0x400>;
3367
3368				interrupt-parent = <&mdss>;
3369				interrupts = <12>;
3370
3371				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3372					 <&dispcc DISP_CC_MDSS_DP_AUX_CLK>,
3373					 <&dispcc DISP_CC_MDSS_DP_LINK_CLK>,
3374					 <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>,
3375					 <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>;
3376				clock-names = "core_iface", "core_aux", "ctrl_link",
3377					      "ctrl_link_iface", "stream_pixel";
3378				assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>,
3379						  <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>;
3380				assigned-clock-parents = <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>,
3381							 <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;
3382				phys = <&usb_1_qmpphy QMP_USB43DP_DP_PHY>;
3383				phy-names = "dp";
3384
3385				operating-points-v2 = <&dp_opp_table>;
3386				power-domains = <&rpmhpd SC7180_CX>;
3387
3388				#sound-dai-cells = <0>;
3389
3390				ports {
3391					#address-cells = <1>;
3392					#size-cells = <0>;
3393					port@0 {
3394						reg = <0>;
3395						dp_in: endpoint {
3396							remote-endpoint = <&dpu_intf0_out>;
3397						};
3398					};
3399
3400					port@1 {
3401						reg = <1>;
3402						mdss_dp_out: endpoint { };
3403					};
3404				};
3405
3406				dp_opp_table: opp-table {
3407					compatible = "operating-points-v2";
3408
3409					opp-160000000 {
3410						opp-hz = /bits/ 64 <160000000>;
3411						required-opps = <&rpmhpd_opp_low_svs>;
3412					};
3413
3414					opp-270000000 {
3415						opp-hz = /bits/ 64 <270000000>;
3416						required-opps = <&rpmhpd_opp_svs>;
3417					};
3418
3419					opp-540000000 {
3420						opp-hz = /bits/ 64 <540000000>;
3421						required-opps = <&rpmhpd_opp_svs_l1>;
3422					};
3423
3424					opp-810000000 {
3425						opp-hz = /bits/ 64 <810000000>;
3426						required-opps = <&rpmhpd_opp_nom>;
3427					};
3428				};
3429			};
3430		};
3431
3432		dispcc: clock-controller@af00000 {
3433			compatible = "qcom,sc7180-dispcc";
3434			reg = <0 0x0af00000 0 0x200000>;
3435			clocks = <&rpmhcc RPMH_CXO_CLK>,
3436				 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
3437				 <&mdss_dsi0_phy 0>,
3438				 <&mdss_dsi0_phy 1>,
3439				 <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>,
3440				 <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;
3441			clock-names = "bi_tcxo",
3442				      "gcc_disp_gpll0_clk_src",
3443				      "dsi0_phy_pll_out_byteclk",
3444				      "dsi0_phy_pll_out_dsiclk",
3445				      "dp_phy_pll_link_clk",
3446				      "dp_phy_pll_vco_div_clk";
3447			#clock-cells = <1>;
3448			#reset-cells = <1>;
3449			#power-domain-cells = <1>;
3450		};
3451
3452		pdc: interrupt-controller@b220000 {
3453			compatible = "qcom,sc7180-pdc", "qcom,pdc";
3454			reg = <0 0x0b220000 0 0x30000>;
3455			qcom,pdc-ranges = <0 480 94>, <94 609 31>, <125 63 1>;
3456			#interrupt-cells = <2>;
3457			interrupt-parent = <&intc>;
3458			interrupt-controller;
3459		};
3460
3461		pdc_reset: reset-controller@b2e0000 {
3462			compatible = "qcom,sc7180-pdc-global", "qcom,sdm845-pdc-global";
3463			reg = <0 0x0b2e0000 0 0x20000>;
3464			#reset-cells = <1>;
3465		};
3466
3467		tsens0: thermal-sensor@c263000 {
3468			compatible = "qcom,sc7180-tsens","qcom,tsens-v2";
3469			reg = <0 0x0c263000 0 0x1ff>, /* TM */
3470				<0 0x0c222000 0 0x1ff>; /* SROT */
3471			#qcom,sensors = <15>;
3472			interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
3473				     <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
3474			interrupt-names = "uplow","critical";
3475			#thermal-sensor-cells = <1>;
3476		};
3477
3478		tsens1: thermal-sensor@c265000 {
3479			compatible = "qcom,sc7180-tsens","qcom,tsens-v2";
3480			reg = <0 0x0c265000 0 0x1ff>, /* TM */
3481				<0 0x0c223000 0 0x1ff>; /* SROT */
3482			#qcom,sensors = <10>;
3483			interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
3484				     <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
3485			interrupt-names = "uplow","critical";
3486			#thermal-sensor-cells = <1>;
3487		};
3488
3489		aoss_reset: reset-controller@c2a0000 {
3490			compatible = "qcom,sc7180-aoss-cc", "qcom,sdm845-aoss-cc";
3491			reg = <0 0x0c2a0000 0 0x31000>;
3492			#reset-cells = <1>;
3493		};
3494
3495		aoss_qmp: power-management@c300000 {
3496			compatible = "qcom,sc7180-aoss-qmp", "qcom,aoss-qmp";
3497			reg = <0 0x0c300000 0 0x400>;
3498			interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
3499			mboxes = <&apss_shared 0>;
3500
3501			#clock-cells = <0>;
3502		};
3503
3504		sram@c3f0000 {
3505			compatible = "qcom,rpmh-stats";
3506			reg = <0 0x0c3f0000 0 0x400>;
3507		};
3508
3509		spmi_bus: spmi@c440000 {
3510			compatible = "qcom,spmi-pmic-arb";
3511			reg = <0 0x0c440000 0 0x1100>,
3512			      <0 0x0c600000 0 0x2000000>,
3513			      <0 0x0e600000 0 0x100000>,
3514			      <0 0x0e700000 0 0xa0000>,
3515			      <0 0x0c40a000 0 0x26000>;
3516			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
3517			interrupt-names = "periph_irq";
3518			interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
3519			qcom,ee = <0>;
3520			qcom,channel = <0>;
3521			#address-cells = <2>;
3522			#size-cells = <0>;
3523			interrupt-controller;
3524			#interrupt-cells = <4>;
3525		};
3526
3527		sram@146aa000 {
3528			compatible = "qcom,sc7180-imem", "syscon", "simple-mfd";
3529			reg = <0 0x146aa000 0 0x2000>;
3530
3531			#address-cells = <1>;
3532			#size-cells = <1>;
3533
3534			ranges = <0 0 0x146aa000 0x2000>;
3535
3536			pil-reloc@94c {
3537				compatible = "qcom,pil-reloc-info";
3538				reg = <0x94c 0xc8>;
3539			};
3540		};
3541
3542		apps_smmu: iommu@15000000 {
3543			compatible = "qcom,sc7180-smmu-500", "arm,mmu-500";
3544			reg = <0 0x15000000 0 0x100000>;
3545			#iommu-cells = <2>;
3546			#global-interrupts = <1>;
3547			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
3548				     <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
3549				     <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
3550				     <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
3551				     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
3552				     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
3553				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
3554				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
3555				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
3556				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
3557				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
3558				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
3559				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
3560				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
3561				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
3562				     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
3563				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
3564				     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
3565				     <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
3566				     <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
3567				     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
3568				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
3569				     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
3570				     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
3571				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
3572				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
3573				     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
3574				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
3575				     <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
3576				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
3577				     <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
3578				     <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
3579				     <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
3580				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
3581				     <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
3582				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
3583				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
3584				     <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
3585				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
3586				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
3587				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
3588				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
3589				     <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
3590				     <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
3591				     <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
3592				     <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
3593				     <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
3594				     <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
3595				     <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
3596				     <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
3597				     <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
3598				     <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
3599				     <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
3600				     <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
3601				     <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
3602				     <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
3603				     <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
3604				     <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
3605				     <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
3606				     <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
3607				     <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
3608				     <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
3609				     <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
3610				     <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
3611				     <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
3612				     <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
3613				     <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
3614				     <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
3615				     <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
3616				     <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
3617				     <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
3618				     <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
3619				     <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
3620				     <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
3621				     <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
3622				     <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
3623				     <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
3624				     <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
3625				     <GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>,
3626				     <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>,
3627				     <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>;
3628		};
3629
3630		intc: interrupt-controller@17a00000 {
3631			compatible = "arm,gic-v3";
3632			#address-cells = <2>;
3633			#size-cells = <2>;
3634			ranges;
3635			#interrupt-cells = <3>;
3636			interrupt-controller;
3637			reg = <0 0x17a00000 0 0x10000>,     /* GICD */
3638			      <0 0x17a60000 0 0x100000>;    /* GICR * 8 */
3639			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
3640
3641			msi-controller@17a40000 {
3642				compatible = "arm,gic-v3-its";
3643				msi-controller;
3644				#msi-cells = <1>;
3645				reg = <0 0x17a40000 0 0x20000>;
3646				status = "disabled";
3647			};
3648		};
3649
3650		apss_shared: mailbox@17c00000 {
3651			compatible = "qcom,sc7180-apss-shared",
3652				     "qcom,sdm845-apss-shared";
3653			reg = <0 0x17c00000 0 0x10000>;
3654			#mbox-cells = <1>;
3655		};
3656
3657		watchdog@17c10000 {
3658			compatible = "qcom,apss-wdt-sc7180", "qcom,kpss-wdt";
3659			reg = <0 0x17c10000 0 0x1000>;
3660			clocks = <&sleep_clk>;
3661			interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
3662		};
3663
3664		timer@17c20000 {
3665			#address-cells = <1>;
3666			#size-cells = <1>;
3667			ranges = <0 0 0 0x20000000>;
3668			compatible = "arm,armv7-timer-mem";
3669			reg = <0 0x17c20000 0 0x1000>;
3670
3671			frame@17c21000 {
3672				frame-number = <0>;
3673				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
3674					     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
3675				reg = <0x17c21000 0x1000>,
3676				      <0x17c22000 0x1000>;
3677			};
3678
3679			frame@17c23000 {
3680				frame-number = <1>;
3681				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
3682				reg = <0x17c23000 0x1000>;
3683				status = "disabled";
3684			};
3685
3686			frame@17c25000 {
3687				frame-number = <2>;
3688				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
3689				reg = <0x17c25000 0x1000>;
3690				status = "disabled";
3691			};
3692
3693			frame@17c27000 {
3694				frame-number = <3>;
3695				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
3696				reg = <0x17c27000 0x1000>;
3697				status = "disabled";
3698			};
3699
3700			frame@17c29000 {
3701				frame-number = <4>;
3702				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
3703				reg = <0x17c29000 0x1000>;
3704				status = "disabled";
3705			};
3706
3707			frame@17c2b000 {
3708				frame-number = <5>;
3709				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
3710				reg = <0x17c2b000 0x1000>;
3711				status = "disabled";
3712			};
3713
3714			frame@17c2d000 {
3715				frame-number = <6>;
3716				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
3717				reg = <0x17c2d000 0x1000>;
3718				status = "disabled";
3719			};
3720		};
3721
3722		apps_rsc: rsc@18200000 {
3723			compatible = "qcom,rpmh-rsc";
3724			reg = <0 0x18200000 0 0x10000>,
3725			      <0 0x18210000 0 0x10000>,
3726			      <0 0x18220000 0 0x10000>;
3727			reg-names = "drv-0", "drv-1", "drv-2";
3728			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
3729				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
3730				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
3731			qcom,tcs-offset = <0xd00>;
3732			qcom,drv-id = <2>;
3733			qcom,tcs-config = <ACTIVE_TCS  2>,
3734					  <SLEEP_TCS   3>,
3735					  <WAKE_TCS    3>,
3736					  <CONTROL_TCS 1>;
3737			power-domains = <&CLUSTER_PD>;
3738
3739			rpmhcc: clock-controller {
3740				compatible = "qcom,sc7180-rpmh-clk";
3741				clocks = <&xo_board>;
3742				clock-names = "xo";
3743				#clock-cells = <1>;
3744			};
3745
3746			rpmhpd: power-controller {
3747				compatible = "qcom,sc7180-rpmhpd";
3748				#power-domain-cells = <1>;
3749				operating-points-v2 = <&rpmhpd_opp_table>;
3750
3751				rpmhpd_opp_table: opp-table {
3752					compatible = "operating-points-v2";
3753
3754					rpmhpd_opp_ret: opp1 {
3755						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
3756					};
3757
3758					rpmhpd_opp_min_svs: opp2 {
3759						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
3760					};
3761
3762					rpmhpd_opp_low_svs: opp3 {
3763						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
3764					};
3765
3766					rpmhpd_opp_svs: opp4 {
3767						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
3768					};
3769
3770					rpmhpd_opp_svs_l1: opp5 {
3771						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
3772					};
3773
3774					rpmhpd_opp_svs_l2: opp6 {
3775						opp-level = <224>;
3776					};
3777
3778					rpmhpd_opp_nom: opp7 {
3779						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
3780					};
3781
3782					rpmhpd_opp_nom_l1: opp8 {
3783						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
3784					};
3785
3786					rpmhpd_opp_nom_l2: opp9 {
3787						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
3788					};
3789
3790					rpmhpd_opp_turbo: opp10 {
3791						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
3792					};
3793
3794					rpmhpd_opp_turbo_l1: opp11 {
3795						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
3796					};
3797				};
3798			};
3799
3800			apps_bcm_voter: bcm-voter {
3801				compatible = "qcom,bcm-voter";
3802			};
3803		};
3804
3805		osm_l3: interconnect@18321000 {
3806			compatible = "qcom,sc7180-osm-l3", "qcom,osm-l3";
3807			reg = <0 0x18321000 0 0x1400>;
3808
3809			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
3810			clock-names = "xo", "alternate";
3811
3812			#interconnect-cells = <1>;
3813		};
3814
3815		cpufreq_hw: cpufreq@18323000 {
3816			compatible = "qcom,sc7180-cpufreq-hw", "qcom,cpufreq-hw";
3817			reg = <0 0x18323000 0 0x1400>, <0 0x18325800 0 0x1400>;
3818			reg-names = "freq-domain0", "freq-domain1";
3819
3820			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
3821			clock-names = "xo", "alternate";
3822
3823			#freq-domain-cells = <1>;
3824			#clock-cells = <1>;
3825		};
3826
3827		wifi: wifi@18800000 {
3828			compatible = "qcom,wcn3990-wifi";
3829			reg = <0 0x18800000 0 0x800000>;
3830			reg-names = "membase";
3831			iommus = <&apps_smmu 0xc0 0x1>;
3832			interrupts =
3833				<GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH /* CE0 */ >,
3834				<GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH /* CE1 */ >,
3835				<GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH /* CE2 */ >,
3836				<GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH /* CE3 */ >,
3837				<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH /* CE4 */ >,
3838				<GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH /* CE5 */ >,
3839				<GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH /* CE6 */ >,
3840				<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH /* CE7 */ >,
3841				<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH /* CE8 */ >,
3842				<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH /* CE9 */ >,
3843				<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH /* CE10 */>,
3844				<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH /* CE11 */>;
3845			memory-region = <&wlan_mem>;
3846			qcom,msa-fixed-perm;
3847			status = "disabled";
3848		};
3849
3850		remoteproc_adsp: remoteproc@62400000 {
3851			compatible = "qcom,sc7180-adsp-pas";
3852			reg = <0 0x62400000 0 0x100>;
3853
3854			interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
3855					      <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
3856					      <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
3857					      <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
3858					      <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
3859			interrupt-names = "wdog",
3860					  "fatal",
3861					  "ready",
3862					  "handover",
3863					  "stop-ack";
3864
3865			clocks = <&rpmhcc RPMH_CXO_CLK>;
3866			clock-names = "xo";
3867
3868			power-domains = <&rpmhpd SC7180_LCX>,
3869					<&rpmhpd SC7180_LMX>;
3870			power-domain-names = "lcx", "lmx";
3871
3872			qcom,qmp = <&aoss_qmp>;
3873			qcom,smem-states = <&adsp_smp2p_out 0>;
3874			qcom,smem-state-names = "stop";
3875
3876			status = "disabled";
3877
3878			glink-edge {
3879				interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
3880				label = "lpass";
3881				qcom,remote-pid = <2>;
3882				mboxes = <&apss_shared 8>;
3883
3884				apr {
3885					compatible = "qcom,apr-v2";
3886					qcom,glink-channels = "apr_audio_svc";
3887					qcom,domain = <APR_DOMAIN_ADSP>;
3888					#address-cells = <1>;
3889					#size-cells = <0>;
3890
3891					service@3 {
3892						compatible = "qcom,q6core";
3893						reg = <APR_SVC_ADSP_CORE>;
3894						qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
3895					};
3896
3897					q6afe: service@4 {
3898						compatible = "qcom,q6afe";
3899						reg = <APR_SVC_AFE>;
3900						qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
3901
3902						q6afedai: dais {
3903							compatible = "qcom,q6afe-dais";
3904							#address-cells = <1>;
3905							#size-cells = <0>;
3906							#sound-dai-cells = <1>;
3907						};
3908
3909						q6afecc: clock-controller {
3910							compatible = "qcom,q6afe-clocks";
3911							#clock-cells = <2>;
3912						};
3913					};
3914
3915					q6asm: service@7 {
3916						compatible = "qcom,q6asm";
3917						reg = <APR_SVC_ASM>;
3918						qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
3919
3920						q6asmdai: dais {
3921							compatible = "qcom,q6asm-dais";
3922							#address-cells = <1>;
3923							#size-cells = <0>;
3924							#sound-dai-cells = <1>;
3925							iommus = <&apps_smmu 0x1001 0x0>;
3926						};
3927					};
3928
3929					q6adm: service@8 {
3930						compatible = "qcom,q6adm";
3931						reg = <APR_SVC_ADM>;
3932						qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
3933
3934						q6routing: routing {
3935							compatible = "qcom,q6adm-routing";
3936							#sound-dai-cells = <0>;
3937						};
3938					};
3939				};
3940
3941				fastrpc {
3942					compatible = "qcom,fastrpc";
3943					qcom,glink-channels = "fastrpcglink-apps-dsp";
3944					label = "adsp";
3945					#address-cells = <1>;
3946					#size-cells = <0>;
3947
3948					compute-cb@3 {
3949						compatible = "qcom,fastrpc-compute-cb";
3950						reg = <3>;
3951						iommus = <&apps_smmu 0x1003 0x0>;
3952					};
3953
3954					compute-cb@4 {
3955						compatible = "qcom,fastrpc-compute-cb";
3956						reg = <4>;
3957						iommus = <&apps_smmu 0x1004 0x0>;
3958					};
3959
3960					compute-cb@5 {
3961						compatible = "qcom,fastrpc-compute-cb";
3962						reg = <5>;
3963						iommus = <&apps_smmu 0x1005 0x0>;
3964						qcom,nsessions = <5>;
3965					};
3966				};
3967			};
3968		};
3969
3970		lpasscc: clock-controller@62d00000 {
3971			compatible = "qcom,sc7180-lpasscorecc";
3972			reg = <0 0x62d00000 0 0x50000>,
3973			      <0 0x62780000 0 0x30000>;
3974			reg-names = "lpass_core_cc", "lpass_audio_cc";
3975			clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>,
3976				 <&rpmhcc RPMH_CXO_CLK>;
3977			clock-names = "iface", "bi_tcxo";
3978			power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>;
3979			#clock-cells = <1>;
3980			#power-domain-cells = <1>;
3981
3982			status = "reserved"; /* Controlled by ADSP */
3983		};
3984
3985		lpass_cpu: lpass@62d87000 {
3986			compatible = "qcom,sc7180-lpass-cpu";
3987
3988			reg = <0 0x62d87000 0 0x68000>, <0 0x62f00000 0 0x29000>;
3989			reg-names = "lpass-hdmiif", "lpass-lpaif";
3990
3991			iommus = <&apps_smmu 0x1020 0>,
3992				<&apps_smmu 0x1021 0>,
3993				<&apps_smmu 0x1032 0>;
3994
3995			power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>;
3996			required-opps = <&rpmhpd_opp_nom>;
3997
3998			status = "disabled";
3999
4000			clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>,
4001				 <&lpasscc LPASS_AUDIO_CORE_CORE_CLK>,
4002				 <&lpasscc LPASS_AUDIO_CORE_EXT_MCLK0_CLK>,
4003				 <&lpasscc LPASS_AUDIO_CORE_SYSNOC_MPORT_CORE_CLK>,
4004				 <&lpasscc LPASS_AUDIO_CORE_LPAIF_PRI_IBIT_CLK>,
4005				 <&lpasscc LPASS_AUDIO_CORE_LPAIF_SEC_IBIT_CLK>;
4006
4007			clock-names = "pcnoc-sway-clk", "audio-core",
4008					"mclk0", "pcnoc-mport-clk",
4009					"mi2s-bit-clk0", "mi2s-bit-clk1";
4010
4011
4012			#sound-dai-cells = <1>;
4013			#address-cells = <1>;
4014			#size-cells = <0>;
4015
4016			interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
4017					<GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
4018			interrupt-names = "lpass-irq-lpaif", "lpass-irq-hdmi";
4019		};
4020
4021		lpass_hm: clock-controller@63000000 {
4022			compatible = "qcom,sc7180-lpasshm";
4023			reg = <0 0x63000000 0 0x28>;
4024			clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>,
4025				 <&rpmhcc RPMH_CXO_CLK>;
4026			clock-names = "iface", "bi_tcxo";
4027			power-domains = <&rpmhpd SC7180_CX>;
4028
4029			#clock-cells = <1>;
4030			#power-domain-cells = <1>;
4031
4032			status = "reserved"; /* Controlled by ADSP */
4033		};
4034	};
4035
4036	thermal-zones {
4037		cpu0_thermal: cpu0-thermal {
4038			polling-delay-passive = <250>;
4039			polling-delay = <0>;
4040
4041			thermal-sensors = <&tsens0 1>;
4042			sustainable-power = <1052>;
4043
4044			trips {
4045				cpu0_alert0: trip-point0 {
4046					temperature = <90000>;
4047					hysteresis = <2000>;
4048					type = "passive";
4049				};
4050
4051				cpu0_alert1: trip-point1 {
4052					temperature = <95000>;
4053					hysteresis = <2000>;
4054					type = "passive";
4055				};
4056
4057				cpu0_crit: cpu-crit {
4058					temperature = <110000>;
4059					hysteresis = <1000>;
4060					type = "critical";
4061				};
4062			};
4063
4064			cooling-maps {
4065				map0 {
4066					trip = <&cpu0_alert0>;
4067					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4068							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4069							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4070							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4071							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4072							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4073				};
4074				map1 {
4075					trip = <&cpu0_alert1>;
4076					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4077							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4078							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4079							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4080							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4081							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4082				};
4083			};
4084		};
4085
4086		cpu1_thermal: cpu1-thermal {
4087			polling-delay-passive = <250>;
4088			polling-delay = <0>;
4089
4090			thermal-sensors = <&tsens0 2>;
4091			sustainable-power = <1052>;
4092
4093			trips {
4094				cpu1_alert0: trip-point0 {
4095					temperature = <90000>;
4096					hysteresis = <2000>;
4097					type = "passive";
4098				};
4099
4100				cpu1_alert1: trip-point1 {
4101					temperature = <95000>;
4102					hysteresis = <2000>;
4103					type = "passive";
4104				};
4105
4106				cpu1_crit: cpu-crit {
4107					temperature = <110000>;
4108					hysteresis = <1000>;
4109					type = "critical";
4110				};
4111			};
4112
4113			cooling-maps {
4114				map0 {
4115					trip = <&cpu1_alert0>;
4116					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4117							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4118							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4119							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4120							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4121							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4122				};
4123				map1 {
4124					trip = <&cpu1_alert1>;
4125					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4126							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4127							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4128							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4129							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4130							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4131				};
4132			};
4133		};
4134
4135		cpu2_thermal: cpu2-thermal {
4136			polling-delay-passive = <250>;
4137			polling-delay = <0>;
4138
4139			thermal-sensors = <&tsens0 3>;
4140			sustainable-power = <1052>;
4141
4142			trips {
4143				cpu2_alert0: trip-point0 {
4144					temperature = <90000>;
4145					hysteresis = <2000>;
4146					type = "passive";
4147				};
4148
4149				cpu2_alert1: trip-point1 {
4150					temperature = <95000>;
4151					hysteresis = <2000>;
4152					type = "passive";
4153				};
4154
4155				cpu2_crit: cpu-crit {
4156					temperature = <110000>;
4157					hysteresis = <1000>;
4158					type = "critical";
4159				};
4160			};
4161
4162			cooling-maps {
4163				map0 {
4164					trip = <&cpu2_alert0>;
4165					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4166							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4167							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4168							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4169							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4170							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4171				};
4172				map1 {
4173					trip = <&cpu2_alert1>;
4174					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4175							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4176							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4177							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4178							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4179							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4180				};
4181			};
4182		};
4183
4184		cpu3_thermal: cpu3-thermal {
4185			polling-delay-passive = <250>;
4186			polling-delay = <0>;
4187
4188			thermal-sensors = <&tsens0 4>;
4189			sustainable-power = <1052>;
4190
4191			trips {
4192				cpu3_alert0: trip-point0 {
4193					temperature = <90000>;
4194					hysteresis = <2000>;
4195					type = "passive";
4196				};
4197
4198				cpu3_alert1: trip-point1 {
4199					temperature = <95000>;
4200					hysteresis = <2000>;
4201					type = "passive";
4202				};
4203
4204				cpu3_crit: cpu-crit {
4205					temperature = <110000>;
4206					hysteresis = <1000>;
4207					type = "critical";
4208				};
4209			};
4210
4211			cooling-maps {
4212				map0 {
4213					trip = <&cpu3_alert0>;
4214					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4215							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4216							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4217							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4218							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4219							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4220				};
4221				map1 {
4222					trip = <&cpu3_alert1>;
4223					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4224							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4225							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4226							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4227							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4228							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4229				};
4230			};
4231		};
4232
4233		cpu4_thermal: cpu4-thermal {
4234			polling-delay-passive = <250>;
4235			polling-delay = <0>;
4236
4237			thermal-sensors = <&tsens0 5>;
4238			sustainable-power = <1052>;
4239
4240			trips {
4241				cpu4_alert0: trip-point0 {
4242					temperature = <90000>;
4243					hysteresis = <2000>;
4244					type = "passive";
4245				};
4246
4247				cpu4_alert1: trip-point1 {
4248					temperature = <95000>;
4249					hysteresis = <2000>;
4250					type = "passive";
4251				};
4252
4253				cpu4_crit: cpu-crit {
4254					temperature = <110000>;
4255					hysteresis = <1000>;
4256					type = "critical";
4257				};
4258			};
4259
4260			cooling-maps {
4261				map0 {
4262					trip = <&cpu4_alert0>;
4263					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4264							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4265							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4266							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4267							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4268							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4269				};
4270				map1 {
4271					trip = <&cpu4_alert1>;
4272					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4273							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4274							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4275							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4276							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4277							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4278				};
4279			};
4280		};
4281
4282		cpu5_thermal: cpu5-thermal {
4283			polling-delay-passive = <250>;
4284			polling-delay = <0>;
4285
4286			thermal-sensors = <&tsens0 6>;
4287			sustainable-power = <1052>;
4288
4289			trips {
4290				cpu5_alert0: trip-point0 {
4291					temperature = <90000>;
4292					hysteresis = <2000>;
4293					type = "passive";
4294				};
4295
4296				cpu5_alert1: trip-point1 {
4297					temperature = <95000>;
4298					hysteresis = <2000>;
4299					type = "passive";
4300				};
4301
4302				cpu5_crit: cpu-crit {
4303					temperature = <110000>;
4304					hysteresis = <1000>;
4305					type = "critical";
4306				};
4307			};
4308
4309			cooling-maps {
4310				map0 {
4311					trip = <&cpu5_alert0>;
4312					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4313							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4314							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4315							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4316							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4317							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4318				};
4319				map1 {
4320					trip = <&cpu5_alert1>;
4321					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4322							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4323							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4324							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4325							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4326							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4327				};
4328			};
4329		};
4330
4331		cpu6_thermal: cpu6-thermal {
4332			polling-delay-passive = <250>;
4333			polling-delay = <0>;
4334
4335			thermal-sensors = <&tsens0 9>;
4336			sustainable-power = <1425>;
4337
4338			trips {
4339				cpu6_alert0: trip-point0 {
4340					temperature = <90000>;
4341					hysteresis = <2000>;
4342					type = "passive";
4343				};
4344
4345				cpu6_alert1: trip-point1 {
4346					temperature = <95000>;
4347					hysteresis = <2000>;
4348					type = "passive";
4349				};
4350
4351				cpu6_crit: cpu-crit {
4352					temperature = <110000>;
4353					hysteresis = <1000>;
4354					type = "critical";
4355				};
4356			};
4357
4358			cooling-maps {
4359				map0 {
4360					trip = <&cpu6_alert0>;
4361					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4362							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4363				};
4364				map1 {
4365					trip = <&cpu6_alert1>;
4366					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4367							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4368				};
4369			};
4370		};
4371
4372		cpu7_thermal: cpu7-thermal {
4373			polling-delay-passive = <250>;
4374			polling-delay = <0>;
4375
4376			thermal-sensors = <&tsens0 10>;
4377			sustainable-power = <1425>;
4378
4379			trips {
4380				cpu7_alert0: trip-point0 {
4381					temperature = <90000>;
4382					hysteresis = <2000>;
4383					type = "passive";
4384				};
4385
4386				cpu7_alert1: trip-point1 {
4387					temperature = <95000>;
4388					hysteresis = <2000>;
4389					type = "passive";
4390				};
4391
4392				cpu7_crit: cpu-crit {
4393					temperature = <110000>;
4394					hysteresis = <1000>;
4395					type = "critical";
4396				};
4397			};
4398
4399			cooling-maps {
4400				map0 {
4401					trip = <&cpu7_alert0>;
4402					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4403							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4404				};
4405				map1 {
4406					trip = <&cpu7_alert1>;
4407					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4408							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4409				};
4410			};
4411		};
4412
4413		cpu8_thermal: cpu8-thermal {
4414			polling-delay-passive = <250>;
4415			polling-delay = <0>;
4416
4417			thermal-sensors = <&tsens0 11>;
4418			sustainable-power = <1425>;
4419
4420			trips {
4421				cpu8_alert0: trip-point0 {
4422					temperature = <90000>;
4423					hysteresis = <2000>;
4424					type = "passive";
4425				};
4426
4427				cpu8_alert1: trip-point1 {
4428					temperature = <95000>;
4429					hysteresis = <2000>;
4430					type = "passive";
4431				};
4432
4433				cpu8_crit: cpu-crit {
4434					temperature = <110000>;
4435					hysteresis = <1000>;
4436					type = "critical";
4437				};
4438			};
4439
4440			cooling-maps {
4441				map0 {
4442					trip = <&cpu8_alert0>;
4443					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4444							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4445				};
4446				map1 {
4447					trip = <&cpu8_alert1>;
4448					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4449							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4450				};
4451			};
4452		};
4453
4454		cpu9_thermal: cpu9-thermal {
4455			polling-delay-passive = <250>;
4456			polling-delay = <0>;
4457
4458			thermal-sensors = <&tsens0 12>;
4459			sustainable-power = <1425>;
4460
4461			trips {
4462				cpu9_alert0: trip-point0 {
4463					temperature = <90000>;
4464					hysteresis = <2000>;
4465					type = "passive";
4466				};
4467
4468				cpu9_alert1: trip-point1 {
4469					temperature = <95000>;
4470					hysteresis = <2000>;
4471					type = "passive";
4472				};
4473
4474				cpu9_crit: cpu-crit {
4475					temperature = <110000>;
4476					hysteresis = <1000>;
4477					type = "critical";
4478				};
4479			};
4480
4481			cooling-maps {
4482				map0 {
4483					trip = <&cpu9_alert0>;
4484					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4485							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4486				};
4487				map1 {
4488					trip = <&cpu9_alert1>;
4489					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4490							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4491				};
4492			};
4493		};
4494
4495		aoss0-thermal {
4496			polling-delay-passive = <250>;
4497			polling-delay = <0>;
4498
4499			thermal-sensors = <&tsens0 0>;
4500
4501			trips {
4502				aoss0_alert0: trip-point0 {
4503					temperature = <90000>;
4504					hysteresis = <2000>;
4505					type = "hot";
4506				};
4507
4508				aoss0_crit: aoss0-crit {
4509					temperature = <110000>;
4510					hysteresis = <2000>;
4511					type = "critical";
4512				};
4513			};
4514		};
4515
4516		cpuss0-thermal {
4517			polling-delay-passive = <250>;
4518			polling-delay = <0>;
4519
4520			thermal-sensors = <&tsens0 7>;
4521
4522			trips {
4523				cpuss0_alert0: trip-point0 {
4524					temperature = <90000>;
4525					hysteresis = <2000>;
4526					type = "hot";
4527				};
4528				cpuss0_crit: cluster0-crit {
4529					temperature = <110000>;
4530					hysteresis = <2000>;
4531					type = "critical";
4532				};
4533			};
4534		};
4535
4536		cpuss1-thermal {
4537			polling-delay-passive = <250>;
4538			polling-delay = <0>;
4539
4540			thermal-sensors = <&tsens0 8>;
4541
4542			trips {
4543				cpuss1_alert0: trip-point0 {
4544					temperature = <90000>;
4545					hysteresis = <2000>;
4546					type = "hot";
4547				};
4548				cpuss1_crit: cluster0-crit {
4549					temperature = <110000>;
4550					hysteresis = <2000>;
4551					type = "critical";
4552				};
4553			};
4554		};
4555
4556		gpuss0-thermal {
4557			polling-delay-passive = <250>;
4558			polling-delay = <0>;
4559
4560			thermal-sensors = <&tsens0 13>;
4561
4562			trips {
4563				gpuss0_alert0: trip-point0 {
4564					temperature = <95000>;
4565					hysteresis = <2000>;
4566					type = "passive";
4567				};
4568
4569				gpuss0_crit: gpuss0-crit {
4570					temperature = <110000>;
4571					hysteresis = <2000>;
4572					type = "critical";
4573				};
4574			};
4575
4576			cooling-maps {
4577				map0 {
4578					trip = <&gpuss0_alert0>;
4579					cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4580				};
4581			};
4582		};
4583
4584		gpuss1-thermal {
4585			polling-delay-passive = <250>;
4586			polling-delay = <0>;
4587
4588			thermal-sensors = <&tsens0 14>;
4589
4590			trips {
4591				gpuss1_alert0: trip-point0 {
4592					temperature = <95000>;
4593					hysteresis = <2000>;
4594					type = "passive";
4595				};
4596
4597				gpuss1_crit: gpuss1-crit {
4598					temperature = <110000>;
4599					hysteresis = <2000>;
4600					type = "critical";
4601				};
4602			};
4603
4604			cooling-maps {
4605				map0 {
4606					trip = <&gpuss1_alert0>;
4607					cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4608				};
4609			};
4610		};
4611
4612		aoss1-thermal {
4613			polling-delay-passive = <250>;
4614			polling-delay = <0>;
4615
4616			thermal-sensors = <&tsens1 0>;
4617
4618			trips {
4619				aoss1_alert0: trip-point0 {
4620					temperature = <90000>;
4621					hysteresis = <2000>;
4622					type = "hot";
4623				};
4624
4625				aoss1_crit: aoss1-crit {
4626					temperature = <110000>;
4627					hysteresis = <2000>;
4628					type = "critical";
4629				};
4630			};
4631		};
4632
4633		cwlan-thermal {
4634			polling-delay-passive = <250>;
4635			polling-delay = <0>;
4636
4637			thermal-sensors = <&tsens1 1>;
4638
4639			trips {
4640				cwlan_alert0: trip-point0 {
4641					temperature = <90000>;
4642					hysteresis = <2000>;
4643					type = "hot";
4644				};
4645
4646				cwlan_crit: cwlan-crit {
4647					temperature = <110000>;
4648					hysteresis = <2000>;
4649					type = "critical";
4650				};
4651			};
4652		};
4653
4654		audio-thermal {
4655			polling-delay-passive = <250>;
4656			polling-delay = <0>;
4657
4658			thermal-sensors = <&tsens1 2>;
4659
4660			trips {
4661				audio_alert0: trip-point0 {
4662					temperature = <90000>;
4663					hysteresis = <2000>;
4664					type = "hot";
4665				};
4666
4667				audio_crit: audio-crit {
4668					temperature = <110000>;
4669					hysteresis = <2000>;
4670					type = "critical";
4671				};
4672			};
4673		};
4674
4675		ddr-thermal {
4676			polling-delay-passive = <250>;
4677			polling-delay = <0>;
4678
4679			thermal-sensors = <&tsens1 3>;
4680
4681			trips {
4682				ddr_alert0: trip-point0 {
4683					temperature = <90000>;
4684					hysteresis = <2000>;
4685					type = "hot";
4686				};
4687
4688				ddr_crit: ddr-crit {
4689					temperature = <110000>;
4690					hysteresis = <2000>;
4691					type = "critical";
4692				};
4693			};
4694		};
4695
4696		q6-hvx-thermal {
4697			polling-delay-passive = <250>;
4698			polling-delay = <0>;
4699
4700			thermal-sensors = <&tsens1 4>;
4701
4702			trips {
4703				q6_hvx_alert0: trip-point0 {
4704					temperature = <90000>;
4705					hysteresis = <2000>;
4706					type = "hot";
4707				};
4708
4709				q6_hvx_crit: q6-hvx-crit {
4710					temperature = <110000>;
4711					hysteresis = <2000>;
4712					type = "critical";
4713				};
4714			};
4715		};
4716
4717		camera-thermal {
4718			polling-delay-passive = <250>;
4719			polling-delay = <0>;
4720
4721			thermal-sensors = <&tsens1 5>;
4722
4723			trips {
4724				camera_alert0: trip-point0 {
4725					temperature = <90000>;
4726					hysteresis = <2000>;
4727					type = "hot";
4728				};
4729
4730				camera_crit: camera-crit {
4731					temperature = <110000>;
4732					hysteresis = <2000>;
4733					type = "critical";
4734				};
4735			};
4736		};
4737
4738		mdm-core-thermal {
4739			polling-delay-passive = <250>;
4740			polling-delay = <0>;
4741
4742			thermal-sensors = <&tsens1 6>;
4743
4744			trips {
4745				mdm_alert0: trip-point0 {
4746					temperature = <90000>;
4747					hysteresis = <2000>;
4748					type = "hot";
4749				};
4750
4751				mdm_crit: mdm-crit {
4752					temperature = <110000>;
4753					hysteresis = <2000>;
4754					type = "critical";
4755				};
4756			};
4757		};
4758
4759		mdm-dsp-thermal {
4760			polling-delay-passive = <250>;
4761			polling-delay = <0>;
4762
4763			thermal-sensors = <&tsens1 7>;
4764
4765			trips {
4766				mdm_dsp_alert0: trip-point0 {
4767					temperature = <90000>;
4768					hysteresis = <2000>;
4769					type = "hot";
4770				};
4771
4772				mdm_dsp_crit: mdm-dsp-crit {
4773					temperature = <110000>;
4774					hysteresis = <2000>;
4775					type = "critical";
4776				};
4777			};
4778		};
4779
4780		npu-thermal {
4781			polling-delay-passive = <250>;
4782			polling-delay = <0>;
4783
4784			thermal-sensors = <&tsens1 8>;
4785
4786			trips {
4787				npu_alert0: trip-point0 {
4788					temperature = <90000>;
4789					hysteresis = <2000>;
4790					type = "hot";
4791				};
4792
4793				npu_crit: npu-crit {
4794					temperature = <110000>;
4795					hysteresis = <2000>;
4796					type = "critical";
4797				};
4798			};
4799		};
4800
4801		video-thermal {
4802			polling-delay-passive = <250>;
4803			polling-delay = <0>;
4804
4805			thermal-sensors = <&tsens1 9>;
4806
4807			trips {
4808				video_alert0: trip-point0 {
4809					temperature = <90000>;
4810					hysteresis = <2000>;
4811					type = "hot";
4812				};
4813
4814				video_crit: video-crit {
4815					temperature = <110000>;
4816					hysteresis = <2000>;
4817					type = "critical";
4818				};
4819			};
4820		};
4821	};
4822
4823	timer {
4824		compatible = "arm,armv8-timer";
4825		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
4826			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
4827			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
4828			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
4829	};
4830};
4831