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		ipa: ipa@1e40000 {
1536			compatible = "qcom,sc7180-ipa";
1537
1538			iommus = <&apps_smmu 0x440 0x0>,
1539				 <&apps_smmu 0x442 0x0>;
1540			reg = <0 0x01e40000 0 0x7000>,
1541			      <0 0x01e47000 0 0x2000>,
1542			      <0 0x01e04000 0 0x2c000>;
1543			reg-names = "ipa-reg",
1544				    "ipa-shared",
1545				    "gsi";
1546
1547			interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>,
1548					      <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
1549					      <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1550					      <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
1551			interrupt-names = "ipa",
1552					  "gsi",
1553					  "ipa-clock-query",
1554					  "ipa-setup-ready";
1555
1556			clocks = <&rpmhcc RPMH_IPA_CLK>;
1557			clock-names = "core";
1558
1559			interconnects = <&aggre2_noc MASTER_IPA 0 &mc_virt SLAVE_EBI1 0>,
1560					<&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_IMEM 0>,
1561					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_IPA_CFG 0>;
1562			interconnect-names = "memory",
1563					     "imem",
1564					     "config";
1565
1566			qcom,qmp = <&aoss_qmp>;
1567
1568			qcom,smem-states = <&ipa_smp2p_out 0>,
1569					   <&ipa_smp2p_out 1>;
1570			qcom,smem-state-names = "ipa-clock-enabled-valid",
1571						"ipa-clock-enabled";
1572
1573			status = "disabled";
1574		};
1575
1576		tcsr_mutex: hwlock@1f40000 {
1577			compatible = "qcom,tcsr-mutex";
1578			reg = <0 0x01f40000 0 0x20000>;
1579			#hwlock-cells = <1>;
1580		};
1581
1582		tcsr_regs_1: syscon@1f60000 {
1583			compatible = "qcom,sc7180-tcsr", "syscon";
1584			reg = <0 0x01f60000 0 0x20000>;
1585		};
1586
1587		tcsr_regs_2: syscon@1fc0000 {
1588			compatible = "qcom,sc7180-tcsr", "syscon";
1589			reg = <0 0x01fc0000 0 0x40000>;
1590		};
1591
1592		tlmm: pinctrl@3500000 {
1593			compatible = "qcom,sc7180-pinctrl";
1594			reg = <0 0x03500000 0 0x300000>,
1595			      <0 0x03900000 0 0x300000>,
1596			      <0 0x03d00000 0 0x300000>;
1597			reg-names = "west", "north", "south";
1598			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1599			gpio-controller;
1600			#gpio-cells = <2>;
1601			interrupt-controller;
1602			#interrupt-cells = <2>;
1603			gpio-ranges = <&tlmm 0 0 120>;
1604			wakeup-parent = <&pdc>;
1605
1606			dp_hot_plug_det: dp-hot-plug-det-state {
1607				pins = "gpio117";
1608				function = "dp_hot";
1609			};
1610
1611			qspi_clk: qspi-clk-state {
1612				pins = "gpio63";
1613				function = "qspi_clk";
1614			};
1615
1616			qspi_cs0: qspi-cs0-state {
1617				pins = "gpio68";
1618				function = "qspi_cs";
1619			};
1620
1621			qspi_cs1: qspi-cs1-state {
1622				pins = "gpio72";
1623				function = "qspi_cs";
1624			};
1625
1626			qspi_data0: qspi-data0-state {
1627				pins = "gpio64";
1628				function = "qspi_data";
1629			};
1630
1631			qspi_data1: qspi-data1-state {
1632				pins = "gpio65";
1633				function = "qspi_data";
1634			};
1635
1636			qspi_data23: qspi-data23-state {
1637				pins = "gpio66", "gpio67";
1638				function = "qspi_data";
1639			};
1640
1641			qup_i2c0_default: qup-i2c0-default-state {
1642				pins = "gpio34", "gpio35";
1643				function = "qup00";
1644			};
1645
1646			qup_i2c1_default: qup-i2c1-default-state {
1647				pins = "gpio0", "gpio1";
1648				function = "qup01";
1649			};
1650
1651			qup_i2c2_default: qup-i2c2-default-state {
1652				pins = "gpio15", "gpio16";
1653				function = "qup02_i2c";
1654			};
1655
1656			qup_i2c3_default: qup-i2c3-default-state {
1657				pins = "gpio38", "gpio39";
1658				function = "qup03";
1659			};
1660
1661			qup_i2c4_default: qup-i2c4-default-state {
1662				pins = "gpio115", "gpio116";
1663				function = "qup04_i2c";
1664			};
1665
1666			qup_i2c5_default: qup-i2c5-default-state {
1667				pins = "gpio25", "gpio26";
1668				function = "qup05";
1669			};
1670
1671			qup_i2c6_default: qup-i2c6-default-state {
1672				pins = "gpio59", "gpio60";
1673				function = "qup10";
1674			};
1675
1676			qup_i2c7_default: qup-i2c7-default-state {
1677				pins = "gpio6", "gpio7";
1678				function = "qup11_i2c";
1679			};
1680
1681			qup_i2c8_default: qup-i2c8-default-state {
1682				pins = "gpio42", "gpio43";
1683				function = "qup12";
1684			};
1685
1686			qup_i2c9_default: qup-i2c9-default-state {
1687				pins = "gpio46", "gpio47";
1688				function = "qup13_i2c";
1689			};
1690
1691			qup_i2c10_default: qup-i2c10-default-state {
1692				pins = "gpio86", "gpio87";
1693				function = "qup14";
1694			};
1695
1696			qup_i2c11_default: qup-i2c11-default-state {
1697				pins = "gpio53", "gpio54";
1698				function = "qup15";
1699			};
1700
1701			qup_spi0_spi: qup-spi0-spi-state {
1702				pins = "gpio34", "gpio35", "gpio36";
1703				function = "qup00";
1704			};
1705
1706			qup_spi0_cs: qup-spi0-cs-state {
1707				pins = "gpio37";
1708				function = "qup00";
1709			};
1710
1711			qup_spi0_cs_gpio: qup-spi0-cs-gpio-state {
1712				pins = "gpio37";
1713				function = "gpio";
1714			};
1715
1716			qup_spi1_spi: qup-spi1-spi-state {
1717				pins = "gpio0", "gpio1", "gpio2";
1718				function = "qup01";
1719			};
1720
1721			qup_spi1_cs: qup-spi1-cs-state {
1722				pins = "gpio3";
1723				function = "qup01";
1724			};
1725
1726			qup_spi1_cs_gpio: qup-spi1-cs-gpio-state {
1727				pins = "gpio3";
1728				function = "gpio";
1729			};
1730
1731			qup_spi3_spi: qup-spi3-spi-state {
1732				pins = "gpio38", "gpio39", "gpio40";
1733				function = "qup03";
1734			};
1735
1736			qup_spi3_cs: qup-spi3-cs-state {
1737				pins = "gpio41";
1738				function = "qup03";
1739			};
1740
1741			qup_spi3_cs_gpio: qup-spi3-cs-gpio-state {
1742				pins = "gpio41";
1743				function = "gpio";
1744			};
1745
1746			qup_spi5_spi: qup-spi5-spi-state {
1747				pins = "gpio25", "gpio26", "gpio27";
1748				function = "qup05";
1749			};
1750
1751			qup_spi5_cs: qup-spi5-cs-state {
1752				pins = "gpio28";
1753				function = "qup05";
1754			};
1755
1756			qup_spi5_cs_gpio: qup-spi5-cs-gpio-state {
1757				pins = "gpio28";
1758				function = "gpio";
1759			};
1760
1761			qup_spi6_spi: qup-spi6-spi-state {
1762				pins = "gpio59", "gpio60", "gpio61";
1763				function = "qup10";
1764			};
1765
1766			qup_spi6_cs: qup-spi6-cs-state {
1767				pins = "gpio62";
1768				function = "qup10";
1769			};
1770
1771			qup_spi6_cs_gpio: qup-spi6-cs-gpio-state {
1772				pins = "gpio62";
1773				function = "gpio";
1774			};
1775
1776			qup_spi8_spi: qup-spi8-spi-state {
1777				pins = "gpio42", "gpio43", "gpio44";
1778				function = "qup12";
1779			};
1780
1781			qup_spi8_cs: qup-spi8-cs-state {
1782				pins = "gpio45";
1783				function = "qup12";
1784			};
1785
1786			qup_spi8_cs_gpio: qup-spi8-cs-gpio-state {
1787				pins = "gpio45";
1788				function = "gpio";
1789			};
1790
1791			qup_spi10_spi: qup-spi10-spi-state {
1792				pins = "gpio86", "gpio87", "gpio88";
1793				function = "qup14";
1794			};
1795
1796			qup_spi10_cs: qup-spi10-cs-state {
1797				pins = "gpio89";
1798				function = "qup14";
1799			};
1800
1801			qup_spi10_cs_gpio: qup-spi10-cs-gpio-state {
1802				pins = "gpio89";
1803				function = "gpio";
1804			};
1805
1806			qup_spi11_spi: qup-spi11-spi-state {
1807				pins = "gpio53", "gpio54", "gpio55";
1808				function = "qup15";
1809			};
1810
1811			qup_spi11_cs: qup-spi11-cs-state {
1812				pins = "gpio56";
1813				function = "qup15";
1814			};
1815
1816			qup_spi11_cs_gpio: qup-spi11-cs-gpio-state {
1817				pins = "gpio56";
1818				function = "gpio";
1819			};
1820
1821			qup_uart0_default: qup-uart0-default-state {
1822				qup_uart0_cts: cts-pins {
1823					pins = "gpio34";
1824					function = "qup00";
1825				};
1826
1827				qup_uart0_rts: rts-pins {
1828					pins = "gpio35";
1829					function = "qup00";
1830				};
1831
1832				qup_uart0_tx: tx-pins {
1833					pins = "gpio36";
1834					function = "qup00";
1835				};
1836
1837				qup_uart0_rx: rx-pins {
1838					pins = "gpio37";
1839					function = "qup00";
1840				};
1841			};
1842
1843			qup_uart1_default: qup-uart1-default-state {
1844				qup_uart1_cts: cts-pins {
1845					pins = "gpio0";
1846					function = "qup01";
1847				};
1848
1849				qup_uart1_rts: rts-pins {
1850					pins = "gpio1";
1851					function = "qup01";
1852				};
1853
1854				qup_uart1_tx: tx-pins {
1855					pins = "gpio2";
1856					function = "qup01";
1857				};
1858
1859				qup_uart1_rx: rx-pins {
1860					pins = "gpio3";
1861					function = "qup01";
1862				};
1863			};
1864
1865			qup_uart2_default: qup-uart2-default-state {
1866				qup_uart2_tx: tx-pins {
1867					pins = "gpio15";
1868					function = "qup02_uart";
1869				};
1870
1871				qup_uart2_rx: rx-pins {
1872					pins = "gpio16";
1873					function = "qup02_uart";
1874				};
1875			};
1876
1877			qup_uart3_default: qup-uart3-default-state {
1878				qup_uart3_cts: cts-pins {
1879					pins = "gpio38";
1880					function = "qup03";
1881				};
1882
1883				qup_uart3_rts: rts-pins {
1884					pins = "gpio39";
1885					function = "qup03";
1886				};
1887
1888				qup_uart3_tx: tx-pins {
1889					pins = "gpio40";
1890					function = "qup03";
1891				};
1892
1893				qup_uart3_rx: rx-pins {
1894					pins = "gpio41";
1895					function = "qup03";
1896				};
1897			};
1898
1899			qup_uart4_default: qup-uart4-default-state {
1900				qup_uart4_tx: tx-pins {
1901					pins = "gpio115";
1902					function = "qup04_uart";
1903				};
1904
1905				qup_uart4_rx: rx-pins {
1906					pins = "gpio116";
1907					function = "qup04_uart";
1908				};
1909			};
1910
1911			qup_uart5_default: qup-uart5-default-state {
1912				qup_uart5_cts: cts-pins {
1913					pins = "gpio25";
1914					function = "qup05";
1915				};
1916
1917				qup_uart5_rts: rts-pins {
1918					pins = "gpio26";
1919					function = "qup05";
1920				};
1921
1922				qup_uart5_tx: tx-pins {
1923					pins = "gpio27";
1924					function = "qup05";
1925				};
1926
1927				qup_uart5_rx: rx-pins {
1928					pins = "gpio28";
1929					function = "qup05";
1930				};
1931			};
1932
1933			qup_uart6_default: qup-uart6-default-state {
1934				qup_uart6_cts: cts-pins {
1935					pins = "gpio59";
1936					function = "qup10";
1937				};
1938
1939				qup_uart6_rts: rts-pins {
1940					pins = "gpio60";
1941					function = "qup10";
1942				};
1943
1944				qup_uart6_tx: tx-pins {
1945					pins = "gpio61";
1946					function = "qup10";
1947				};
1948
1949				qup_uart6_rx: rx-pins {
1950					pins = "gpio62";
1951					function = "qup10";
1952				};
1953			};
1954
1955			qup_uart7_default: qup-uart7-default-state {
1956				qup_uart7_tx: tx-pins {
1957					pins = "gpio6";
1958					function = "qup11_uart";
1959				};
1960
1961				qup_uart7_rx: rx-pins {
1962					pins = "gpio7";
1963					function = "qup11_uart";
1964				};
1965			};
1966
1967			qup_uart8_default: qup-uart8-default-state {
1968				qup_uart8_tx: tx-pins {
1969					pins = "gpio44";
1970					function = "qup12";
1971				};
1972
1973				qup_uart8_rx: rx-pins {
1974					pins = "gpio45";
1975					function = "qup12";
1976				};
1977			};
1978
1979			qup_uart9_default: qup-uart9-default-state {
1980				qup_uart9_tx: tx-pins {
1981					pins = "gpio46";
1982					function = "qup13_uart";
1983				};
1984
1985				qup_uart9_rx: rx-pins {
1986					pins = "gpio47";
1987					function = "qup13_uart";
1988				};
1989			};
1990
1991			qup_uart10_default: qup-uart10-default-state {
1992				qup_uart10_cts: cts-pins {
1993					pins = "gpio86";
1994					function = "qup14";
1995				};
1996
1997				qup_uart10_rts: rts-pins {
1998					pins = "gpio87";
1999					function = "qup14";
2000				};
2001
2002				qup_uart10_tx: tx-pins {
2003					pins = "gpio88";
2004					function = "qup14";
2005				};
2006
2007				qup_uart10_rx: rx-pins {
2008					pins = "gpio89";
2009					function = "qup14";
2010				};
2011			};
2012
2013			qup_uart11_default: qup-uart11-default-state {
2014				qup_uart11_cts: cts-pins {
2015					pins = "gpio53";
2016					function = "qup15";
2017				};
2018
2019				qup_uart11_rts: rts-pins {
2020					pins = "gpio54";
2021					function = "qup15";
2022				};
2023
2024				qup_uart11_tx: tx-pins {
2025					pins = "gpio55";
2026					function = "qup15";
2027				};
2028
2029				qup_uart11_rx: rx-pins {
2030					pins = "gpio56";
2031					function = "qup15";
2032				};
2033			};
2034
2035			sec_mi2s_active: sec-mi2s-active-state {
2036				pins = "gpio49", "gpio50", "gpio51";
2037				function = "mi2s_1";
2038			};
2039
2040			pri_mi2s_active: pri-mi2s-active-state {
2041				pins = "gpio53", "gpio54", "gpio55", "gpio56";
2042				function = "mi2s_0";
2043			};
2044
2045			pri_mi2s_mclk_active: pri-mi2s-mclk-active-state {
2046				pins = "gpio57";
2047				function = "lpass_ext";
2048			};
2049
2050			ter_mi2s_active: ter-mi2s-active-state {
2051				pins = "gpio63", "gpio64", "gpio65", "gpio66";
2052				function = "mi2s_2";
2053			};
2054		};
2055
2056		remoteproc_mpss: remoteproc@4080000 {
2057			compatible = "qcom,sc7180-mpss-pas";
2058			reg = <0 0x04080000 0 0x4040>;
2059
2060			interrupts-extended = <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
2061					      <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2062					      <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2063					      <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2064					      <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
2065					      <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
2066			interrupt-names = "wdog", "fatal", "ready", "handover",
2067					  "stop-ack", "shutdown-ack";
2068
2069			clocks = <&rpmhcc RPMH_CXO_CLK>;
2070			clock-names = "xo";
2071
2072			power-domains = <&rpmhpd SC7180_CX>,
2073					<&rpmhpd SC7180_MX>,
2074					<&rpmhpd SC7180_MSS>;
2075			power-domain-names = "cx", "mx", "mss";
2076
2077			memory-region = <&mpss_mem>;
2078
2079			qcom,qmp = <&aoss_qmp>;
2080
2081			qcom,smem-states = <&modem_smp2p_out 0>;
2082			qcom,smem-state-names = "stop";
2083
2084			status = "disabled";
2085
2086			glink-edge {
2087				interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
2088				label = "modem";
2089				qcom,remote-pid = <1>;
2090				mboxes = <&apss_shared 12>;
2091			};
2092		};
2093
2094		gpu: gpu@5000000 {
2095			compatible = "qcom,adreno-618.0", "qcom,adreno";
2096			reg = <0 0x05000000 0 0x40000>, <0 0x0509e000 0 0x1000>,
2097				<0 0x05061000 0 0x800>;
2098			reg-names = "kgsl_3d0_reg_memory", "cx_mem", "cx_dbgc";
2099			interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
2100			iommus = <&adreno_smmu 0>;
2101			operating-points-v2 = <&gpu_opp_table>;
2102			qcom,gmu = <&gmu>;
2103
2104			#cooling-cells = <2>;
2105
2106			nvmem-cells = <&gpu_speed_bin>;
2107			nvmem-cell-names = "speed_bin";
2108
2109			interconnects = <&gem_noc MASTER_GFX3D 0 &mc_virt SLAVE_EBI1 0>;
2110			interconnect-names = "gfx-mem";
2111
2112			gpu_opp_table: opp-table {
2113				compatible = "operating-points-v2";
2114
2115				opp-825000000 {
2116					opp-hz = /bits/ 64 <825000000>;
2117					opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
2118					opp-peak-kBps = <8532000>;
2119					opp-supported-hw = <0x04>;
2120				};
2121
2122				opp-800000000 {
2123					opp-hz = /bits/ 64 <800000000>;
2124					opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
2125					opp-peak-kBps = <8532000>;
2126					opp-supported-hw = <0x07>;
2127				};
2128
2129				opp-650000000 {
2130					opp-hz = /bits/ 64 <650000000>;
2131					opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
2132					opp-peak-kBps = <7216000>;
2133					opp-supported-hw = <0x07>;
2134				};
2135
2136				opp-565000000 {
2137					opp-hz = /bits/ 64 <565000000>;
2138					opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2139					opp-peak-kBps = <5412000>;
2140					opp-supported-hw = <0x07>;
2141				};
2142
2143				opp-430000000 {
2144					opp-hz = /bits/ 64 <430000000>;
2145					opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2146					opp-peak-kBps = <5412000>;
2147					opp-supported-hw = <0x07>;
2148				};
2149
2150				opp-355000000 {
2151					opp-hz = /bits/ 64 <355000000>;
2152					opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2153					opp-peak-kBps = <3072000>;
2154					opp-supported-hw = <0x07>;
2155				};
2156
2157				opp-267000000 {
2158					opp-hz = /bits/ 64 <267000000>;
2159					opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2160					opp-peak-kBps = <3072000>;
2161					opp-supported-hw = <0x07>;
2162				};
2163
2164				opp-180000000 {
2165					opp-hz = /bits/ 64 <180000000>;
2166					opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2167					opp-peak-kBps = <1804000>;
2168					opp-supported-hw = <0x07>;
2169				};
2170			};
2171		};
2172
2173		adreno_smmu: iommu@5040000 {
2174			compatible = "qcom,sc7180-smmu-v2", "qcom,adreno-smmu", "qcom,smmu-v2";
2175			reg = <0 0x05040000 0 0x10000>;
2176			#iommu-cells = <1>;
2177			#global-interrupts = <2>;
2178			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
2179					<GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
2180					<GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
2181					<GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
2182					<GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
2183					<GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
2184					<GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
2185					<GIC_SPI 369 IRQ_TYPE_EDGE_RISING>,
2186					<GIC_SPI 370 IRQ_TYPE_EDGE_RISING>,
2187					<GIC_SPI 371 IRQ_TYPE_EDGE_RISING>;
2188
2189			clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
2190				<&gcc GCC_GPU_CFG_AHB_CLK>;
2191			clock-names = "bus", "iface";
2192
2193			power-domains = <&gpucc CX_GDSC>;
2194		};
2195
2196		gmu: gmu@506a000 {
2197			compatible = "qcom,adreno-gmu-618.0", "qcom,adreno-gmu";
2198			reg = <0 0x0506a000 0 0x31000>, <0 0x0b290000 0 0x10000>,
2199				<0 0x0b490000 0 0x10000>;
2200			reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
2201			interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
2202				   <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
2203			interrupt-names = "hfi", "gmu";
2204			clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
2205			       <&gpucc GPU_CC_CXO_CLK>,
2206			       <&gcc GCC_DDRSS_GPU_AXI_CLK>,
2207			       <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
2208			clock-names = "gmu", "cxo", "axi", "memnoc";
2209			power-domains = <&gpucc CX_GDSC>, <&gpucc GX_GDSC>;
2210			power-domain-names = "cx", "gx";
2211			iommus = <&adreno_smmu 5>;
2212			operating-points-v2 = <&gmu_opp_table>;
2213
2214			gmu_opp_table: opp-table {
2215				compatible = "operating-points-v2";
2216
2217				opp-200000000 {
2218					opp-hz = /bits/ 64 <200000000>;
2219					opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2220				};
2221			};
2222		};
2223
2224		gpucc: clock-controller@5090000 {
2225			compatible = "qcom,sc7180-gpucc";
2226			reg = <0 0x05090000 0 0x9000>;
2227			clocks = <&rpmhcc RPMH_CXO_CLK>,
2228				 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
2229				 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
2230			clock-names = "bi_tcxo",
2231				      "gcc_gpu_gpll0_clk_src",
2232				      "gcc_gpu_gpll0_div_clk_src";
2233			#clock-cells = <1>;
2234			#reset-cells = <1>;
2235			#power-domain-cells = <1>;
2236		};
2237
2238		dma@10a2000 {
2239			compatible = "qcom,sc7180-dcc", "qcom,dcc";
2240			reg = <0x0 0x010a2000 0x0 0x1000>,
2241			      <0x0 0x010ae000 0x0 0x2000>;
2242		};
2243
2244		stm@6002000 {
2245			compatible = "arm,coresight-stm", "arm,primecell";
2246			reg = <0 0x06002000 0 0x1000>,
2247			      <0 0x16280000 0 0x180000>;
2248			reg-names = "stm-base", "stm-stimulus-base";
2249
2250			clocks = <&aoss_qmp>;
2251			clock-names = "apb_pclk";
2252
2253			out-ports {
2254				port {
2255					stm_out: endpoint {
2256						remote-endpoint = <&funnel0_in7>;
2257					};
2258				};
2259			};
2260		};
2261
2262		funnel@6041000 {
2263			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2264			reg = <0 0x06041000 0 0x1000>;
2265
2266			clocks = <&aoss_qmp>;
2267			clock-names = "apb_pclk";
2268
2269			out-ports {
2270				port {
2271					funnel0_out: endpoint {
2272						remote-endpoint = <&merge_funnel_in0>;
2273					};
2274				};
2275			};
2276
2277			in-ports {
2278				#address-cells = <1>;
2279				#size-cells = <0>;
2280
2281				port@7 {
2282					reg = <7>;
2283					funnel0_in7: endpoint {
2284						remote-endpoint = <&stm_out>;
2285					};
2286				};
2287			};
2288		};
2289
2290		funnel@6042000 {
2291			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2292			reg = <0 0x06042000 0 0x1000>;
2293
2294			clocks = <&aoss_qmp>;
2295			clock-names = "apb_pclk";
2296
2297			out-ports {
2298				port {
2299					funnel1_out: endpoint {
2300						remote-endpoint = <&merge_funnel_in1>;
2301					};
2302				};
2303			};
2304
2305			in-ports {
2306				#address-cells = <1>;
2307				#size-cells = <0>;
2308
2309				port@4 {
2310					reg = <4>;
2311					funnel1_in4: endpoint {
2312						remote-endpoint = <&apss_merge_funnel_out>;
2313					};
2314				};
2315			};
2316		};
2317
2318		funnel@6045000 {
2319			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2320			reg = <0 0x06045000 0 0x1000>;
2321
2322			clocks = <&aoss_qmp>;
2323			clock-names = "apb_pclk";
2324
2325			out-ports {
2326				port {
2327					merge_funnel_out: endpoint {
2328						remote-endpoint = <&swao_funnel_in>;
2329					};
2330				};
2331			};
2332
2333			in-ports {
2334				#address-cells = <1>;
2335				#size-cells = <0>;
2336
2337				port@0 {
2338					reg = <0>;
2339					merge_funnel_in0: endpoint {
2340						remote-endpoint = <&funnel0_out>;
2341					};
2342				};
2343
2344				port@1 {
2345					reg = <1>;
2346					merge_funnel_in1: endpoint {
2347						remote-endpoint = <&funnel1_out>;
2348					};
2349				};
2350			};
2351		};
2352
2353		replicator@6046000 {
2354			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
2355			reg = <0 0x06046000 0 0x1000>;
2356
2357			clocks = <&aoss_qmp>;
2358			clock-names = "apb_pclk";
2359
2360			out-ports {
2361				port {
2362					replicator_out: endpoint {
2363						remote-endpoint = <&etr_in>;
2364					};
2365				};
2366			};
2367
2368			in-ports {
2369				port {
2370					replicator_in: endpoint {
2371						remote-endpoint = <&swao_replicator_out>;
2372					};
2373				};
2374			};
2375		};
2376
2377		etr@6048000 {
2378			compatible = "arm,coresight-tmc", "arm,primecell";
2379			reg = <0 0x06048000 0 0x1000>;
2380			iommus = <&apps_smmu 0x04a0 0x20>;
2381
2382			clocks = <&aoss_qmp>;
2383			clock-names = "apb_pclk";
2384			arm,scatter-gather;
2385
2386			in-ports {
2387				port {
2388					etr_in: endpoint {
2389						remote-endpoint = <&replicator_out>;
2390					};
2391				};
2392			};
2393		};
2394
2395		funnel@6b04000 {
2396			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2397			reg = <0 0x06b04000 0 0x1000>;
2398
2399			clocks = <&aoss_qmp>;
2400			clock-names = "apb_pclk";
2401
2402			out-ports {
2403				port {
2404					swao_funnel_out: endpoint {
2405						remote-endpoint = <&etf_in>;
2406					};
2407				};
2408			};
2409
2410			in-ports {
2411				#address-cells = <1>;
2412				#size-cells = <0>;
2413
2414				port@7 {
2415					reg = <7>;
2416					swao_funnel_in: endpoint {
2417						remote-endpoint = <&merge_funnel_out>;
2418					};
2419				};
2420			};
2421		};
2422
2423		etf@6b05000 {
2424			compatible = "arm,coresight-tmc", "arm,primecell";
2425			reg = <0 0x06b05000 0 0x1000>;
2426
2427			clocks = <&aoss_qmp>;
2428			clock-names = "apb_pclk";
2429
2430			out-ports {
2431				port {
2432					etf_out: endpoint {
2433						remote-endpoint = <&swao_replicator_in>;
2434					};
2435				};
2436			};
2437
2438			in-ports {
2439				port {
2440					etf_in: endpoint {
2441						remote-endpoint = <&swao_funnel_out>;
2442					};
2443				};
2444			};
2445		};
2446
2447		replicator@6b06000 {
2448			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
2449			reg = <0 0x06b06000 0 0x1000>;
2450
2451			clocks = <&aoss_qmp>;
2452			clock-names = "apb_pclk";
2453			qcom,replicator-loses-context;
2454
2455			out-ports {
2456				port {
2457					swao_replicator_out: endpoint {
2458						remote-endpoint = <&replicator_in>;
2459					};
2460				};
2461			};
2462
2463			in-ports {
2464				port {
2465					swao_replicator_in: endpoint {
2466						remote-endpoint = <&etf_out>;
2467					};
2468				};
2469			};
2470		};
2471
2472		etm@7040000 {
2473			compatible = "arm,coresight-etm4x", "arm,primecell";
2474			reg = <0 0x07040000 0 0x1000>;
2475
2476			cpu = <&CPU0>;
2477
2478			clocks = <&aoss_qmp>;
2479			clock-names = "apb_pclk";
2480			arm,coresight-loses-context-with-cpu;
2481			qcom,skip-power-up;
2482
2483			out-ports {
2484				port {
2485					etm0_out: endpoint {
2486						remote-endpoint = <&apss_funnel_in0>;
2487					};
2488				};
2489			};
2490		};
2491
2492		etm@7140000 {
2493			compatible = "arm,coresight-etm4x", "arm,primecell";
2494			reg = <0 0x07140000 0 0x1000>;
2495
2496			cpu = <&CPU1>;
2497
2498			clocks = <&aoss_qmp>;
2499			clock-names = "apb_pclk";
2500			arm,coresight-loses-context-with-cpu;
2501			qcom,skip-power-up;
2502
2503			out-ports {
2504				port {
2505					etm1_out: endpoint {
2506						remote-endpoint = <&apss_funnel_in1>;
2507					};
2508				};
2509			};
2510		};
2511
2512		etm@7240000 {
2513			compatible = "arm,coresight-etm4x", "arm,primecell";
2514			reg = <0 0x07240000 0 0x1000>;
2515
2516			cpu = <&CPU2>;
2517
2518			clocks = <&aoss_qmp>;
2519			clock-names = "apb_pclk";
2520			arm,coresight-loses-context-with-cpu;
2521			qcom,skip-power-up;
2522
2523			out-ports {
2524				port {
2525					etm2_out: endpoint {
2526						remote-endpoint = <&apss_funnel_in2>;
2527					};
2528				};
2529			};
2530		};
2531
2532		etm@7340000 {
2533			compatible = "arm,coresight-etm4x", "arm,primecell";
2534			reg = <0 0x07340000 0 0x1000>;
2535
2536			cpu = <&CPU3>;
2537
2538			clocks = <&aoss_qmp>;
2539			clock-names = "apb_pclk";
2540			arm,coresight-loses-context-with-cpu;
2541			qcom,skip-power-up;
2542
2543			out-ports {
2544				port {
2545					etm3_out: endpoint {
2546						remote-endpoint = <&apss_funnel_in3>;
2547					};
2548				};
2549			};
2550		};
2551
2552		etm@7440000 {
2553			compatible = "arm,coresight-etm4x", "arm,primecell";
2554			reg = <0 0x07440000 0 0x1000>;
2555
2556			cpu = <&CPU4>;
2557
2558			clocks = <&aoss_qmp>;
2559			clock-names = "apb_pclk";
2560			arm,coresight-loses-context-with-cpu;
2561			qcom,skip-power-up;
2562
2563			out-ports {
2564				port {
2565					etm4_out: endpoint {
2566						remote-endpoint = <&apss_funnel_in4>;
2567					};
2568				};
2569			};
2570		};
2571
2572		etm@7540000 {
2573			compatible = "arm,coresight-etm4x", "arm,primecell";
2574			reg = <0 0x07540000 0 0x1000>;
2575
2576			cpu = <&CPU5>;
2577
2578			clocks = <&aoss_qmp>;
2579			clock-names = "apb_pclk";
2580			arm,coresight-loses-context-with-cpu;
2581			qcom,skip-power-up;
2582
2583			out-ports {
2584				port {
2585					etm5_out: endpoint {
2586						remote-endpoint = <&apss_funnel_in5>;
2587					};
2588				};
2589			};
2590		};
2591
2592		etm@7640000 {
2593			compatible = "arm,coresight-etm4x", "arm,primecell";
2594			reg = <0 0x07640000 0 0x1000>;
2595
2596			cpu = <&CPU6>;
2597
2598			clocks = <&aoss_qmp>;
2599			clock-names = "apb_pclk";
2600			arm,coresight-loses-context-with-cpu;
2601			qcom,skip-power-up;
2602
2603			out-ports {
2604				port {
2605					etm6_out: endpoint {
2606						remote-endpoint = <&apss_funnel_in6>;
2607					};
2608				};
2609			};
2610		};
2611
2612		etm@7740000 {
2613			compatible = "arm,coresight-etm4x", "arm,primecell";
2614			reg = <0 0x07740000 0 0x1000>;
2615
2616			cpu = <&CPU7>;
2617
2618			clocks = <&aoss_qmp>;
2619			clock-names = "apb_pclk";
2620			arm,coresight-loses-context-with-cpu;
2621			qcom,skip-power-up;
2622
2623			out-ports {
2624				port {
2625					etm7_out: endpoint {
2626						remote-endpoint = <&apss_funnel_in7>;
2627					};
2628				};
2629			};
2630		};
2631
2632		funnel@7800000 { /* APSS Funnel */
2633			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2634			reg = <0 0x07800000 0 0x1000>;
2635
2636			clocks = <&aoss_qmp>;
2637			clock-names = "apb_pclk";
2638
2639			out-ports {
2640				port {
2641					apss_funnel_out: endpoint {
2642						remote-endpoint = <&apss_merge_funnel_in>;
2643					};
2644				};
2645			};
2646
2647			in-ports {
2648				#address-cells = <1>;
2649				#size-cells = <0>;
2650
2651				port@0 {
2652					reg = <0>;
2653					apss_funnel_in0: endpoint {
2654						remote-endpoint = <&etm0_out>;
2655					};
2656				};
2657
2658				port@1 {
2659					reg = <1>;
2660					apss_funnel_in1: endpoint {
2661						remote-endpoint = <&etm1_out>;
2662					};
2663				};
2664
2665				port@2 {
2666					reg = <2>;
2667					apss_funnel_in2: endpoint {
2668						remote-endpoint = <&etm2_out>;
2669					};
2670				};
2671
2672				port@3 {
2673					reg = <3>;
2674					apss_funnel_in3: endpoint {
2675						remote-endpoint = <&etm3_out>;
2676					};
2677				};
2678
2679				port@4 {
2680					reg = <4>;
2681					apss_funnel_in4: endpoint {
2682						remote-endpoint = <&etm4_out>;
2683					};
2684				};
2685
2686				port@5 {
2687					reg = <5>;
2688					apss_funnel_in5: endpoint {
2689						remote-endpoint = <&etm5_out>;
2690					};
2691				};
2692
2693				port@6 {
2694					reg = <6>;
2695					apss_funnel_in6: endpoint {
2696						remote-endpoint = <&etm6_out>;
2697					};
2698				};
2699
2700				port@7 {
2701					reg = <7>;
2702					apss_funnel_in7: endpoint {
2703						remote-endpoint = <&etm7_out>;
2704					};
2705				};
2706			};
2707		};
2708
2709		funnel@7810000 {
2710			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2711			reg = <0 0x07810000 0 0x1000>;
2712
2713			clocks = <&aoss_qmp>;
2714			clock-names = "apb_pclk";
2715
2716			out-ports {
2717				port {
2718					apss_merge_funnel_out: endpoint {
2719						remote-endpoint = <&funnel1_in4>;
2720					};
2721				};
2722			};
2723
2724			in-ports {
2725				port {
2726					apss_merge_funnel_in: endpoint {
2727						remote-endpoint = <&apss_funnel_out>;
2728					};
2729				};
2730			};
2731		};
2732
2733		sdhc_2: mmc@8804000 {
2734			compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
2735			reg = <0 0x08804000 0 0x1000>;
2736
2737			iommus = <&apps_smmu 0x80 0>;
2738			interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
2739					<GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
2740			interrupt-names = "hc_irq", "pwr_irq";
2741
2742			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
2743				 <&gcc GCC_SDCC2_APPS_CLK>,
2744				 <&rpmhcc RPMH_CXO_CLK>;
2745			clock-names = "iface", "core", "xo";
2746
2747			interconnects = <&aggre1_noc MASTER_SDCC_2 0 &mc_virt SLAVE_EBI1 0>,
2748					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_SDCC_2 0>;
2749			interconnect-names = "sdhc-ddr","cpu-sdhc";
2750			power-domains = <&rpmhpd SC7180_CX>;
2751			operating-points-v2 = <&sdhc2_opp_table>;
2752
2753			bus-width = <4>;
2754
2755			status = "disabled";
2756
2757			sdhc2_opp_table: opp-table {
2758				compatible = "operating-points-v2";
2759
2760				opp-100000000 {
2761					opp-hz = /bits/ 64 <100000000>;
2762					required-opps = <&rpmhpd_opp_low_svs>;
2763					opp-peak-kBps = <1800000 600000>;
2764					opp-avg-kBps = <100000 0>;
2765				};
2766
2767				opp-202000000 {
2768					opp-hz = /bits/ 64 <202000000>;
2769					required-opps = <&rpmhpd_opp_nom>;
2770					opp-peak-kBps = <5400000 1600000>;
2771					opp-avg-kBps = <200000 0>;
2772				};
2773			};
2774		};
2775
2776		qspi: spi@88dc000 {
2777			compatible = "qcom,sc7180-qspi", "qcom,qspi-v1";
2778			reg = <0 0x088dc000 0 0x600>;
2779			iommus = <&apps_smmu 0x20 0x0>;
2780			#address-cells = <1>;
2781			#size-cells = <0>;
2782			interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
2783			clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
2784				 <&gcc GCC_QSPI_CORE_CLK>;
2785			clock-names = "iface", "core";
2786			interconnects = <&gem_noc MASTER_APPSS_PROC 0
2787					&config_noc SLAVE_QSPI_0 0>;
2788			interconnect-names = "qspi-config";
2789			power-domains = <&rpmhpd SC7180_CX>;
2790			operating-points-v2 = <&qspi_opp_table>;
2791			status = "disabled";
2792		};
2793
2794		usb_1_hsphy: phy@88e3000 {
2795			compatible = "qcom,sc7180-qusb2-phy", "qcom,qusb2-v2-phy";
2796			reg = <0 0x088e3000 0 0x400>;
2797			status = "disabled";
2798			#phy-cells = <0>;
2799			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2800				 <&rpmhcc RPMH_CXO_CLK>;
2801			clock-names = "cfg_ahb", "ref";
2802			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
2803
2804			nvmem-cells = <&qusb2p_hstx_trim>;
2805		};
2806
2807		usb_1_qmpphy: phy@88e8000 {
2808			compatible = "qcom,sc7180-qmp-usb3-dp-phy";
2809			reg = <0 0x088e8000 0 0x3000>;
2810			status = "disabled";
2811
2812			clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
2813				 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
2814				 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>,
2815				 <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>,
2816				 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>;
2817			clock-names = "aux",
2818				      "ref",
2819				      "com_aux",
2820				      "usb3_pipe",
2821				      "cfg_ahb";
2822
2823			resets = <&gcc GCC_USB3_PHY_PRIM_BCR>,
2824				 <&gcc GCC_USB3_DP_PHY_PRIM_BCR>;
2825			reset-names = "phy", "common";
2826
2827			#clock-cells = <1>;
2828			#phy-cells = <1>;
2829		};
2830
2831		pmu@90b6300 {
2832			compatible = "qcom,sc7180-cpu-bwmon", "qcom,sdm845-bwmon";
2833			reg = <0 0x090b6300 0 0x600>;
2834			interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
2835
2836			interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
2837					 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>;
2838			operating-points-v2 = <&cpu_bwmon_opp_table>;
2839
2840			cpu_bwmon_opp_table: opp-table {
2841				compatible = "operating-points-v2";
2842
2843				opp-0 {
2844					opp-peak-kBps = <2288000>;
2845				};
2846
2847				opp-1 {
2848					opp-peak-kBps = <4577000>;
2849				};
2850
2851				opp-2 {
2852					opp-peak-kBps = <7110000>;
2853				};
2854
2855				opp-3 {
2856					opp-peak-kBps = <9155000>;
2857				};
2858
2859				opp-4 {
2860					opp-peak-kBps = <12298000>;
2861				};
2862
2863				opp-5 {
2864					opp-peak-kBps = <14236000>;
2865				};
2866			};
2867		};
2868
2869		pmu@90cd000 {
2870			compatible = "qcom,sc7180-llcc-bwmon", "qcom,sc7280-llcc-bwmon";
2871			reg = <0 0x090cd000 0 0x1000>;
2872			interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
2873
2874			interconnects = <&mc_virt MASTER_LLCC QCOM_ICC_TAG_ACTIVE_ONLY
2875					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>;
2876			operating-points-v2 = <&llcc_bwmon_opp_table>;
2877
2878			llcc_bwmon_opp_table: opp-table {
2879				compatible = "operating-points-v2";
2880
2881				opp-0 {
2882					opp-peak-kBps = <1144000>;
2883				};
2884
2885				opp-1 {
2886					opp-peak-kBps = <1720000>;
2887				};
2888
2889				opp-2 {
2890					opp-peak-kBps = <2086000>;
2891				};
2892
2893				opp-3 {
2894					opp-peak-kBps = <2929000>;
2895				};
2896
2897				opp-4 {
2898					opp-peak-kBps = <3879000>;
2899				};
2900
2901				opp-5 {
2902					opp-peak-kBps = <5931000>;
2903				};
2904
2905				opp-6 {
2906					opp-peak-kBps = <6881000>;
2907				};
2908
2909				opp-7 {
2910					opp-peak-kBps = <8137000>;
2911				};
2912			};
2913		};
2914
2915		dc_noc: interconnect@9160000 {
2916			compatible = "qcom,sc7180-dc-noc";
2917			reg = <0 0x09160000 0 0x03200>;
2918			#interconnect-cells = <2>;
2919			qcom,bcm-voters = <&apps_bcm_voter>;
2920		};
2921
2922		system-cache-controller@9200000 {
2923			compatible = "qcom,sc7180-llcc";
2924			reg = <0 0x09200000 0 0x50000>, <0 0x09600000 0 0x50000>;
2925			reg-names = "llcc0_base", "llcc_broadcast_base";
2926			interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
2927		};
2928
2929		gem_noc: interconnect@9680000 {
2930			compatible = "qcom,sc7180-gem-noc";
2931			reg = <0 0x09680000 0 0x3e200>;
2932			#interconnect-cells = <2>;
2933			qcom,bcm-voters = <&apps_bcm_voter>;
2934		};
2935
2936		npu_noc: interconnect@9990000 {
2937			compatible = "qcom,sc7180-npu-noc";
2938			reg = <0 0x09990000 0 0x1600>;
2939			#interconnect-cells = <2>;
2940			qcom,bcm-voters = <&apps_bcm_voter>;
2941		};
2942
2943		usb_1: usb@a6f8800 {
2944			compatible = "qcom,sc7180-dwc3", "qcom,dwc3";
2945			reg = <0 0x0a6f8800 0 0x400>;
2946			status = "disabled";
2947			#address-cells = <2>;
2948			#size-cells = <2>;
2949			ranges;
2950			dma-ranges;
2951
2952			clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
2953				 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
2954				 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
2955				 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
2956				 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
2957			clock-names = "cfg_noc",
2958				      "core",
2959				      "iface",
2960				      "sleep",
2961				      "mock_utmi";
2962
2963			assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
2964					  <&gcc GCC_USB30_PRIM_MASTER_CLK>;
2965			assigned-clock-rates = <19200000>, <150000000>;
2966
2967			interrupts-extended = <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
2968					      <&pdc 6 IRQ_TYPE_LEVEL_HIGH>,
2969					      <&pdc 8 IRQ_TYPE_EDGE_BOTH>,
2970					      <&pdc 9 IRQ_TYPE_EDGE_BOTH>;
2971			interrupt-names = "hs_phy_irq", "ss_phy_irq",
2972					  "dm_hs_phy_irq", "dp_hs_phy_irq";
2973
2974			power-domains = <&gcc USB30_PRIM_GDSC>;
2975			required-opps = <&rpmhpd_opp_nom>;
2976
2977			resets = <&gcc GCC_USB30_PRIM_BCR>;
2978
2979			interconnects = <&aggre2_noc MASTER_USB3 0 &mc_virt SLAVE_EBI1 0>,
2980					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3 0>;
2981			interconnect-names = "usb-ddr", "apps-usb";
2982
2983			wakeup-source;
2984
2985			usb_1_dwc3: usb@a600000 {
2986				compatible = "snps,dwc3";
2987				reg = <0 0x0a600000 0 0xe000>;
2988				interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
2989				iommus = <&apps_smmu 0x540 0>;
2990				snps,dis_u2_susphy_quirk;
2991				snps,dis_enblslpm_quirk;
2992				phys = <&usb_1_hsphy>, <&usb_1_qmpphy QMP_USB43DP_USB3_PHY>;
2993				phy-names = "usb2-phy", "usb3-phy";
2994				maximum-speed = "super-speed";
2995			};
2996		};
2997
2998		venus: video-codec@aa00000 {
2999			compatible = "qcom,sc7180-venus";
3000			reg = <0 0x0aa00000 0 0xff000>;
3001			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
3002			power-domains = <&videocc VENUS_GDSC>,
3003					<&videocc VCODEC0_GDSC>,
3004					<&rpmhpd SC7180_CX>;
3005			power-domain-names = "venus", "vcodec0", "cx";
3006			operating-points-v2 = <&venus_opp_table>;
3007			clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
3008				 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
3009				 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
3010				 <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
3011				 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>;
3012			clock-names = "core", "iface", "bus",
3013				      "vcodec0_core", "vcodec0_bus";
3014			iommus = <&apps_smmu 0x0c00 0x60>;
3015			memory-region = <&venus_mem>;
3016			interconnects = <&mmss_noc MASTER_VIDEO_P0 0 &mc_virt SLAVE_EBI1 0>,
3017					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_VENUS_CFG 0>;
3018			interconnect-names = "video-mem", "cpu-cfg";
3019
3020			video-decoder {
3021				compatible = "venus-decoder";
3022			};
3023
3024			video-encoder {
3025				compatible = "venus-encoder";
3026			};
3027
3028			venus_opp_table: opp-table {
3029				compatible = "operating-points-v2";
3030
3031				opp-150000000 {
3032					opp-hz = /bits/ 64 <150000000>;
3033					required-opps = <&rpmhpd_opp_low_svs>;
3034				};
3035
3036				opp-270000000 {
3037					opp-hz = /bits/ 64 <270000000>;
3038					required-opps = <&rpmhpd_opp_svs>;
3039				};
3040
3041				opp-340000000 {
3042					opp-hz = /bits/ 64 <340000000>;
3043					required-opps = <&rpmhpd_opp_svs_l1>;
3044				};
3045
3046				opp-434000000 {
3047					opp-hz = /bits/ 64 <434000000>;
3048					required-opps = <&rpmhpd_opp_nom>;
3049				};
3050
3051				opp-500000097 {
3052					opp-hz = /bits/ 64 <500000097>;
3053					required-opps = <&rpmhpd_opp_turbo>;
3054				};
3055			};
3056		};
3057
3058		videocc: clock-controller@ab00000 {
3059			compatible = "qcom,sc7180-videocc";
3060			reg = <0 0x0ab00000 0 0x10000>;
3061			clocks = <&rpmhcc RPMH_CXO_CLK>;
3062			clock-names = "bi_tcxo";
3063			#clock-cells = <1>;
3064			#reset-cells = <1>;
3065			#power-domain-cells = <1>;
3066		};
3067
3068		camnoc_virt: interconnect@ac00000 {
3069			compatible = "qcom,sc7180-camnoc-virt";
3070			reg = <0 0x0ac00000 0 0x1000>;
3071			#interconnect-cells = <2>;
3072			qcom,bcm-voters = <&apps_bcm_voter>;
3073		};
3074
3075		camcc: clock-controller@ad00000 {
3076			compatible = "qcom,sc7180-camcc";
3077			reg = <0 0x0ad00000 0 0x10000>;
3078			clocks = <&rpmhcc RPMH_CXO_CLK>,
3079			       <&gcc GCC_CAMERA_AHB_CLK>,
3080			       <&gcc GCC_CAMERA_XO_CLK>;
3081			clock-names = "bi_tcxo", "iface", "xo";
3082			#clock-cells = <1>;
3083			#reset-cells = <1>;
3084			#power-domain-cells = <1>;
3085		};
3086
3087		mdss: display-subsystem@ae00000 {
3088			compatible = "qcom,sc7180-mdss";
3089			reg = <0 0x0ae00000 0 0x1000>;
3090			reg-names = "mdss";
3091
3092			power-domains = <&dispcc MDSS_GDSC>;
3093
3094			clocks = <&gcc GCC_DISP_AHB_CLK>,
3095				 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3096				 <&dispcc DISP_CC_MDSS_MDP_CLK>;
3097			clock-names = "iface", "ahb", "core";
3098
3099			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
3100			interrupt-controller;
3101			#interrupt-cells = <1>;
3102
3103			interconnects = <&mmss_noc MASTER_MDP0 QCOM_ICC_TAG_ALWAYS
3104					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
3105					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
3106					 &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ALWAYS>;
3107			interconnect-names = "mdp0-mem",
3108					     "cpu-cfg";
3109
3110			iommus = <&apps_smmu 0x800 0x2>;
3111
3112			#address-cells = <2>;
3113			#size-cells = <2>;
3114			ranges;
3115
3116			status = "disabled";
3117
3118			mdp: display-controller@ae01000 {
3119				compatible = "qcom,sc7180-dpu";
3120				reg = <0 0x0ae01000 0 0x8f000>,
3121				      <0 0x0aeb0000 0 0x2008>;
3122				reg-names = "mdp", "vbif";
3123
3124				clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
3125					 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3126					 <&dispcc DISP_CC_MDSS_ROT_CLK>,
3127					 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
3128					 <&dispcc DISP_CC_MDSS_MDP_CLK>,
3129					 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
3130				clock-names = "bus", "iface", "rot", "lut", "core",
3131					      "vsync";
3132				assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>,
3133						  <&dispcc DISP_CC_MDSS_ROT_CLK>,
3134						  <&dispcc DISP_CC_MDSS_AHB_CLK>;
3135				assigned-clock-rates = <19200000>,
3136						       <19200000>,
3137						       <19200000>;
3138				operating-points-v2 = <&mdp_opp_table>;
3139				power-domains = <&rpmhpd SC7180_CX>;
3140
3141				interrupt-parent = <&mdss>;
3142				interrupts = <0>;
3143
3144				ports {
3145					#address-cells = <1>;
3146					#size-cells = <0>;
3147
3148					port@0 {
3149						reg = <0>;
3150						dpu_intf1_out: endpoint {
3151							remote-endpoint = <&mdss_dsi0_in>;
3152						};
3153					};
3154
3155					port@2 {
3156						reg = <2>;
3157						dpu_intf0_out: endpoint {
3158							remote-endpoint = <&dp_in>;
3159						};
3160					};
3161				};
3162
3163				mdp_opp_table: opp-table {
3164					compatible = "operating-points-v2";
3165
3166					opp-200000000 {
3167						opp-hz = /bits/ 64 <200000000>;
3168						required-opps = <&rpmhpd_opp_low_svs>;
3169					};
3170
3171					opp-300000000 {
3172						opp-hz = /bits/ 64 <300000000>;
3173						required-opps = <&rpmhpd_opp_svs>;
3174					};
3175
3176					opp-345000000 {
3177						opp-hz = /bits/ 64 <345000000>;
3178						required-opps = <&rpmhpd_opp_svs_l1>;
3179					};
3180
3181					opp-460000000 {
3182						opp-hz = /bits/ 64 <460000000>;
3183						required-opps = <&rpmhpd_opp_nom>;
3184					};
3185				};
3186			};
3187
3188			mdss_dsi0: dsi@ae94000 {
3189				compatible = "qcom,sc7180-dsi-ctrl",
3190					     "qcom,mdss-dsi-ctrl";
3191				reg = <0 0x0ae94000 0 0x400>;
3192				reg-names = "dsi_ctrl";
3193
3194				interrupt-parent = <&mdss>;
3195				interrupts = <4>;
3196
3197				clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
3198					 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
3199					 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
3200					 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
3201					 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3202					 <&gcc GCC_DISP_HF_AXI_CLK>;
3203				clock-names = "byte",
3204					      "byte_intf",
3205					      "pixel",
3206					      "core",
3207					      "iface",
3208					      "bus";
3209
3210				assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
3211				assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>;
3212
3213				operating-points-v2 = <&dsi_opp_table>;
3214				power-domains = <&rpmhpd SC7180_CX>;
3215
3216				phys = <&mdss_dsi0_phy>;
3217
3218				#address-cells = <1>;
3219				#size-cells = <0>;
3220
3221				status = "disabled";
3222
3223				ports {
3224					#address-cells = <1>;
3225					#size-cells = <0>;
3226
3227					port@0 {
3228						reg = <0>;
3229						mdss_dsi0_in: endpoint {
3230							remote-endpoint = <&dpu_intf1_out>;
3231						};
3232					};
3233
3234					port@1 {
3235						reg = <1>;
3236						mdss_dsi0_out: endpoint {
3237						};
3238					};
3239				};
3240
3241				dsi_opp_table: opp-table {
3242					compatible = "operating-points-v2";
3243
3244					opp-187500000 {
3245						opp-hz = /bits/ 64 <187500000>;
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-358000000 {
3255						opp-hz = /bits/ 64 <358000000>;
3256						required-opps = <&rpmhpd_opp_svs_l1>;
3257					};
3258				};
3259			};
3260
3261			mdss_dsi0_phy: phy@ae94400 {
3262				compatible = "qcom,dsi-phy-10nm";
3263				reg = <0 0x0ae94400 0 0x200>,
3264				      <0 0x0ae94600 0 0x280>,
3265				      <0 0x0ae94a00 0 0x1e0>;
3266				reg-names = "dsi_phy",
3267					    "dsi_phy_lane",
3268					    "dsi_pll";
3269
3270				#clock-cells = <1>;
3271				#phy-cells = <0>;
3272
3273				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3274					 <&rpmhcc RPMH_CXO_CLK>;
3275				clock-names = "iface", "ref";
3276
3277				status = "disabled";
3278			};
3279
3280			mdss_dp: displayport-controller@ae90000 {
3281				compatible = "qcom,sc7180-dp";
3282				status = "disabled";
3283
3284				reg = <0 0x0ae90000 0 0x200>,
3285				      <0 0x0ae90200 0 0x200>,
3286				      <0 0x0ae90400 0 0xc00>,
3287				      <0 0x0ae91000 0 0x400>,
3288				      <0 0x0ae91400 0 0x400>;
3289
3290				interrupt-parent = <&mdss>;
3291				interrupts = <12>;
3292
3293				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3294					 <&dispcc DISP_CC_MDSS_DP_AUX_CLK>,
3295					 <&dispcc DISP_CC_MDSS_DP_LINK_CLK>,
3296					 <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>,
3297					 <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>;
3298				clock-names = "core_iface", "core_aux", "ctrl_link",
3299					      "ctrl_link_iface", "stream_pixel";
3300				assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>,
3301						  <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>;
3302				assigned-clock-parents = <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>,
3303							 <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;
3304				phys = <&usb_1_qmpphy QMP_USB43DP_DP_PHY>;
3305				phy-names = "dp";
3306
3307				operating-points-v2 = <&dp_opp_table>;
3308				power-domains = <&rpmhpd SC7180_CX>;
3309
3310				#sound-dai-cells = <0>;
3311
3312				ports {
3313					#address-cells = <1>;
3314					#size-cells = <0>;
3315					port@0 {
3316						reg = <0>;
3317						dp_in: endpoint {
3318							remote-endpoint = <&dpu_intf0_out>;
3319						};
3320					};
3321
3322					port@1 {
3323						reg = <1>;
3324						mdss_dp_out: endpoint { };
3325					};
3326				};
3327
3328				dp_opp_table: opp-table {
3329					compatible = "operating-points-v2";
3330
3331					opp-160000000 {
3332						opp-hz = /bits/ 64 <160000000>;
3333						required-opps = <&rpmhpd_opp_low_svs>;
3334					};
3335
3336					opp-270000000 {
3337						opp-hz = /bits/ 64 <270000000>;
3338						required-opps = <&rpmhpd_opp_svs>;
3339					};
3340
3341					opp-540000000 {
3342						opp-hz = /bits/ 64 <540000000>;
3343						required-opps = <&rpmhpd_opp_svs_l1>;
3344					};
3345
3346					opp-810000000 {
3347						opp-hz = /bits/ 64 <810000000>;
3348						required-opps = <&rpmhpd_opp_nom>;
3349					};
3350				};
3351			};
3352		};
3353
3354		dispcc: clock-controller@af00000 {
3355			compatible = "qcom,sc7180-dispcc";
3356			reg = <0 0x0af00000 0 0x200000>;
3357			clocks = <&rpmhcc RPMH_CXO_CLK>,
3358				 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
3359				 <&mdss_dsi0_phy 0>,
3360				 <&mdss_dsi0_phy 1>,
3361				 <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>,
3362				 <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;
3363			clock-names = "bi_tcxo",
3364				      "gcc_disp_gpll0_clk_src",
3365				      "dsi0_phy_pll_out_byteclk",
3366				      "dsi0_phy_pll_out_dsiclk",
3367				      "dp_phy_pll_link_clk",
3368				      "dp_phy_pll_vco_div_clk";
3369			#clock-cells = <1>;
3370			#reset-cells = <1>;
3371			#power-domain-cells = <1>;
3372		};
3373
3374		pdc: interrupt-controller@b220000 {
3375			compatible = "qcom,sc7180-pdc", "qcom,pdc";
3376			reg = <0 0x0b220000 0 0x30000>;
3377			qcom,pdc-ranges = <0 480 94>, <94 609 31>, <125 63 1>;
3378			#interrupt-cells = <2>;
3379			interrupt-parent = <&intc>;
3380			interrupt-controller;
3381		};
3382
3383		pdc_reset: reset-controller@b2e0000 {
3384			compatible = "qcom,sc7180-pdc-global", "qcom,sdm845-pdc-global";
3385			reg = <0 0x0b2e0000 0 0x20000>;
3386			#reset-cells = <1>;
3387		};
3388
3389		tsens0: thermal-sensor@c263000 {
3390			compatible = "qcom,sc7180-tsens","qcom,tsens-v2";
3391			reg = <0 0x0c263000 0 0x1ff>, /* TM */
3392				<0 0x0c222000 0 0x1ff>; /* SROT */
3393			#qcom,sensors = <15>;
3394			interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
3395				     <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
3396			interrupt-names = "uplow","critical";
3397			#thermal-sensor-cells = <1>;
3398		};
3399
3400		tsens1: thermal-sensor@c265000 {
3401			compatible = "qcom,sc7180-tsens","qcom,tsens-v2";
3402			reg = <0 0x0c265000 0 0x1ff>, /* TM */
3403				<0 0x0c223000 0 0x1ff>; /* SROT */
3404			#qcom,sensors = <10>;
3405			interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
3406				     <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
3407			interrupt-names = "uplow","critical";
3408			#thermal-sensor-cells = <1>;
3409		};
3410
3411		aoss_reset: reset-controller@c2a0000 {
3412			compatible = "qcom,sc7180-aoss-cc", "qcom,sdm845-aoss-cc";
3413			reg = <0 0x0c2a0000 0 0x31000>;
3414			#reset-cells = <1>;
3415		};
3416
3417		aoss_qmp: power-management@c300000 {
3418			compatible = "qcom,sc7180-aoss-qmp", "qcom,aoss-qmp";
3419			reg = <0 0x0c300000 0 0x400>;
3420			interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
3421			mboxes = <&apss_shared 0>;
3422
3423			#clock-cells = <0>;
3424		};
3425
3426		sram@c3f0000 {
3427			compatible = "qcom,rpmh-stats";
3428			reg = <0 0x0c3f0000 0 0x400>;
3429		};
3430
3431		spmi_bus: spmi@c440000 {
3432			compatible = "qcom,spmi-pmic-arb";
3433			reg = <0 0x0c440000 0 0x1100>,
3434			      <0 0x0c600000 0 0x2000000>,
3435			      <0 0x0e600000 0 0x100000>,
3436			      <0 0x0e700000 0 0xa0000>,
3437			      <0 0x0c40a000 0 0x26000>;
3438			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
3439			interrupt-names = "periph_irq";
3440			interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
3441			qcom,ee = <0>;
3442			qcom,channel = <0>;
3443			#address-cells = <2>;
3444			#size-cells = <0>;
3445			interrupt-controller;
3446			#interrupt-cells = <4>;
3447		};
3448
3449		sram@146aa000 {
3450			compatible = "qcom,sc7180-imem", "syscon", "simple-mfd";
3451			reg = <0 0x146aa000 0 0x2000>;
3452
3453			#address-cells = <1>;
3454			#size-cells = <1>;
3455
3456			ranges = <0 0 0x146aa000 0x2000>;
3457
3458			pil-reloc@94c {
3459				compatible = "qcom,pil-reloc-info";
3460				reg = <0x94c 0xc8>;
3461			};
3462		};
3463
3464		apps_smmu: iommu@15000000 {
3465			compatible = "qcom,sc7180-smmu-500", "arm,mmu-500";
3466			reg = <0 0x15000000 0 0x100000>;
3467			#iommu-cells = <2>;
3468			#global-interrupts = <1>;
3469			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
3470				     <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
3471				     <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
3472				     <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
3473				     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
3474				     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
3475				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
3476				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
3477				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
3478				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
3479				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
3480				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
3481				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
3482				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
3483				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
3484				     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
3485				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
3486				     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
3487				     <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
3488				     <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
3489				     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
3490				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
3491				     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
3492				     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
3493				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
3494				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
3495				     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
3496				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
3497				     <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
3498				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
3499				     <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
3500				     <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
3501				     <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
3502				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
3503				     <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
3504				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
3505				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
3506				     <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
3507				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
3508				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
3509				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
3510				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
3511				     <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
3512				     <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
3513				     <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
3514				     <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
3515				     <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
3516				     <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
3517				     <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
3518				     <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
3519				     <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
3520				     <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
3521				     <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
3522				     <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
3523				     <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
3524				     <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
3525				     <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
3526				     <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
3527				     <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
3528				     <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
3529				     <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
3530				     <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
3531				     <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
3532				     <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
3533				     <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
3534				     <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
3535				     <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
3536				     <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
3537				     <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
3538				     <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
3539				     <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
3540				     <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
3541				     <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
3542				     <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
3543				     <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
3544				     <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
3545				     <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
3546				     <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
3547				     <GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>,
3548				     <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>,
3549				     <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>;
3550		};
3551
3552		intc: interrupt-controller@17a00000 {
3553			compatible = "arm,gic-v3";
3554			#address-cells = <2>;
3555			#size-cells = <2>;
3556			ranges;
3557			#interrupt-cells = <3>;
3558			interrupt-controller;
3559			reg = <0 0x17a00000 0 0x10000>,     /* GICD */
3560			      <0 0x17a60000 0 0x100000>;    /* GICR * 8 */
3561			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
3562
3563			msi-controller@17a40000 {
3564				compatible = "arm,gic-v3-its";
3565				msi-controller;
3566				#msi-cells = <1>;
3567				reg = <0 0x17a40000 0 0x20000>;
3568				status = "disabled";
3569			};
3570		};
3571
3572		apss_shared: mailbox@17c00000 {
3573			compatible = "qcom,sc7180-apss-shared",
3574				     "qcom,sdm845-apss-shared";
3575			reg = <0 0x17c00000 0 0x10000>;
3576			#mbox-cells = <1>;
3577		};
3578
3579		watchdog@17c10000 {
3580			compatible = "qcom,apss-wdt-sc7180", "qcom,kpss-wdt";
3581			reg = <0 0x17c10000 0 0x1000>;
3582			clocks = <&sleep_clk>;
3583			interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
3584		};
3585
3586		timer@17c20000 {
3587			#address-cells = <1>;
3588			#size-cells = <1>;
3589			ranges = <0 0 0 0x20000000>;
3590			compatible = "arm,armv7-timer-mem";
3591			reg = <0 0x17c20000 0 0x1000>;
3592
3593			frame@17c21000 {
3594				frame-number = <0>;
3595				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
3596					     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
3597				reg = <0x17c21000 0x1000>,
3598				      <0x17c22000 0x1000>;
3599			};
3600
3601			frame@17c23000 {
3602				frame-number = <1>;
3603				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
3604				reg = <0x17c23000 0x1000>;
3605				status = "disabled";
3606			};
3607
3608			frame@17c25000 {
3609				frame-number = <2>;
3610				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
3611				reg = <0x17c25000 0x1000>;
3612				status = "disabled";
3613			};
3614
3615			frame@17c27000 {
3616				frame-number = <3>;
3617				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
3618				reg = <0x17c27000 0x1000>;
3619				status = "disabled";
3620			};
3621
3622			frame@17c29000 {
3623				frame-number = <4>;
3624				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
3625				reg = <0x17c29000 0x1000>;
3626				status = "disabled";
3627			};
3628
3629			frame@17c2b000 {
3630				frame-number = <5>;
3631				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
3632				reg = <0x17c2b000 0x1000>;
3633				status = "disabled";
3634			};
3635
3636			frame@17c2d000 {
3637				frame-number = <6>;
3638				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
3639				reg = <0x17c2d000 0x1000>;
3640				status = "disabled";
3641			};
3642		};
3643
3644		apps_rsc: rsc@18200000 {
3645			compatible = "qcom,rpmh-rsc";
3646			reg = <0 0x18200000 0 0x10000>,
3647			      <0 0x18210000 0 0x10000>,
3648			      <0 0x18220000 0 0x10000>;
3649			reg-names = "drv-0", "drv-1", "drv-2";
3650			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
3651				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
3652				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
3653			qcom,tcs-offset = <0xd00>;
3654			qcom,drv-id = <2>;
3655			qcom,tcs-config = <ACTIVE_TCS  2>,
3656					  <SLEEP_TCS   3>,
3657					  <WAKE_TCS    3>,
3658					  <CONTROL_TCS 1>;
3659			power-domains = <&CLUSTER_PD>;
3660
3661			rpmhcc: clock-controller {
3662				compatible = "qcom,sc7180-rpmh-clk";
3663				clocks = <&xo_board>;
3664				clock-names = "xo";
3665				#clock-cells = <1>;
3666			};
3667
3668			rpmhpd: power-controller {
3669				compatible = "qcom,sc7180-rpmhpd";
3670				#power-domain-cells = <1>;
3671				operating-points-v2 = <&rpmhpd_opp_table>;
3672
3673				rpmhpd_opp_table: opp-table {
3674					compatible = "operating-points-v2";
3675
3676					rpmhpd_opp_ret: opp1 {
3677						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
3678					};
3679
3680					rpmhpd_opp_min_svs: opp2 {
3681						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
3682					};
3683
3684					rpmhpd_opp_low_svs: opp3 {
3685						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
3686					};
3687
3688					rpmhpd_opp_svs: opp4 {
3689						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
3690					};
3691
3692					rpmhpd_opp_svs_l1: opp5 {
3693						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
3694					};
3695
3696					rpmhpd_opp_svs_l2: opp6 {
3697						opp-level = <224>;
3698					};
3699
3700					rpmhpd_opp_nom: opp7 {
3701						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
3702					};
3703
3704					rpmhpd_opp_nom_l1: opp8 {
3705						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
3706					};
3707
3708					rpmhpd_opp_nom_l2: opp9 {
3709						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
3710					};
3711
3712					rpmhpd_opp_turbo: opp10 {
3713						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
3714					};
3715
3716					rpmhpd_opp_turbo_l1: opp11 {
3717						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
3718					};
3719				};
3720			};
3721
3722			apps_bcm_voter: bcm-voter {
3723				compatible = "qcom,bcm-voter";
3724			};
3725		};
3726
3727		osm_l3: interconnect@18321000 {
3728			compatible = "qcom,sc7180-osm-l3", "qcom,osm-l3";
3729			reg = <0 0x18321000 0 0x1400>;
3730
3731			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
3732			clock-names = "xo", "alternate";
3733
3734			#interconnect-cells = <1>;
3735		};
3736
3737		cpufreq_hw: cpufreq@18323000 {
3738			compatible = "qcom,sc7180-cpufreq-hw", "qcom,cpufreq-hw";
3739			reg = <0 0x18323000 0 0x1400>, <0 0x18325800 0 0x1400>;
3740			reg-names = "freq-domain0", "freq-domain1";
3741
3742			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
3743			clock-names = "xo", "alternate";
3744
3745			#freq-domain-cells = <1>;
3746			#clock-cells = <1>;
3747		};
3748
3749		wifi: wifi@18800000 {
3750			compatible = "qcom,wcn3990-wifi";
3751			reg = <0 0x18800000 0 0x800000>;
3752			reg-names = "membase";
3753			iommus = <&apps_smmu 0xc0 0x1>;
3754			interrupts =
3755				<GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH /* CE0 */ >,
3756				<GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH /* CE1 */ >,
3757				<GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH /* CE2 */ >,
3758				<GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH /* CE3 */ >,
3759				<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH /* CE4 */ >,
3760				<GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH /* CE5 */ >,
3761				<GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH /* CE6 */ >,
3762				<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH /* CE7 */ >,
3763				<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH /* CE8 */ >,
3764				<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH /* CE9 */ >,
3765				<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH /* CE10 */>,
3766				<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH /* CE11 */>;
3767			memory-region = <&wlan_mem>;
3768			qcom,msa-fixed-perm;
3769			status = "disabled";
3770		};
3771
3772		remoteproc_adsp: remoteproc@62400000 {
3773			compatible = "qcom,sc7180-adsp-pas";
3774			reg = <0 0x62400000 0 0x100>;
3775
3776			interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
3777					      <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
3778					      <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
3779					      <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
3780					      <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
3781			interrupt-names = "wdog",
3782					  "fatal",
3783					  "ready",
3784					  "handover",
3785					  "stop-ack";
3786
3787			clocks = <&rpmhcc RPMH_CXO_CLK>;
3788			clock-names = "xo";
3789
3790			power-domains = <&rpmhpd SC7180_LCX>,
3791					<&rpmhpd SC7180_LMX>;
3792			power-domain-names = "lcx", "lmx";
3793
3794			qcom,qmp = <&aoss_qmp>;
3795			qcom,smem-states = <&adsp_smp2p_out 0>;
3796			qcom,smem-state-names = "stop";
3797
3798			status = "disabled";
3799
3800			glink-edge {
3801				interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
3802				label = "lpass";
3803				qcom,remote-pid = <2>;
3804				mboxes = <&apss_shared 8>;
3805
3806				apr {
3807					compatible = "qcom,apr-v2";
3808					qcom,glink-channels = "apr_audio_svc";
3809					qcom,domain = <APR_DOMAIN_ADSP>;
3810					#address-cells = <1>;
3811					#size-cells = <0>;
3812
3813					service@3 {
3814						compatible = "qcom,q6core";
3815						reg = <APR_SVC_ADSP_CORE>;
3816						qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
3817					};
3818
3819					q6afe: service@4 {
3820						compatible = "qcom,q6afe";
3821						reg = <APR_SVC_AFE>;
3822						qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
3823
3824						q6afedai: dais {
3825							compatible = "qcom,q6afe-dais";
3826							#address-cells = <1>;
3827							#size-cells = <0>;
3828							#sound-dai-cells = <1>;
3829						};
3830
3831						q6afecc: clock-controller {
3832							compatible = "qcom,q6afe-clocks";
3833							#clock-cells = <2>;
3834						};
3835					};
3836
3837					q6asm: service@7 {
3838						compatible = "qcom,q6asm";
3839						reg = <APR_SVC_ASM>;
3840						qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
3841
3842						q6asmdai: dais {
3843							compatible = "qcom,q6asm-dais";
3844							#address-cells = <1>;
3845							#size-cells = <0>;
3846							#sound-dai-cells = <1>;
3847							iommus = <&apps_smmu 0x1001 0x0>;
3848						};
3849					};
3850
3851					q6adm: service@8 {
3852						compatible = "qcom,q6adm";
3853						reg = <APR_SVC_ADM>;
3854						qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
3855
3856						q6routing: routing {
3857							compatible = "qcom,q6adm-routing";
3858							#sound-dai-cells = <0>;
3859						};
3860					};
3861				};
3862
3863				fastrpc {
3864					compatible = "qcom,fastrpc";
3865					qcom,glink-channels = "fastrpcglink-apps-dsp";
3866					label = "adsp";
3867					#address-cells = <1>;
3868					#size-cells = <0>;
3869
3870					compute-cb@3 {
3871						compatible = "qcom,fastrpc-compute-cb";
3872						reg = <3>;
3873						iommus = <&apps_smmu 0x1003 0x0>;
3874					};
3875
3876					compute-cb@4 {
3877						compatible = "qcom,fastrpc-compute-cb";
3878						reg = <4>;
3879						iommus = <&apps_smmu 0x1004 0x0>;
3880					};
3881
3882					compute-cb@5 {
3883						compatible = "qcom,fastrpc-compute-cb";
3884						reg = <5>;
3885						iommus = <&apps_smmu 0x1005 0x0>;
3886						qcom,nsessions = <5>;
3887					};
3888				};
3889			};
3890		};
3891
3892		lpasscc: clock-controller@62d00000 {
3893			compatible = "qcom,sc7180-lpasscorecc";
3894			reg = <0 0x62d00000 0 0x50000>,
3895			      <0 0x62780000 0 0x30000>;
3896			reg-names = "lpass_core_cc", "lpass_audio_cc";
3897			clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>,
3898				 <&rpmhcc RPMH_CXO_CLK>;
3899			clock-names = "iface", "bi_tcxo";
3900			power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>;
3901			#clock-cells = <1>;
3902			#power-domain-cells = <1>;
3903
3904			status = "reserved"; /* Controlled by ADSP */
3905		};
3906
3907		lpass_cpu: lpass@62d87000 {
3908			compatible = "qcom,sc7180-lpass-cpu";
3909
3910			reg = <0 0x62d87000 0 0x68000>, <0 0x62f00000 0 0x29000>;
3911			reg-names = "lpass-hdmiif", "lpass-lpaif";
3912
3913			iommus = <&apps_smmu 0x1020 0>,
3914				<&apps_smmu 0x1021 0>,
3915				<&apps_smmu 0x1032 0>;
3916
3917			power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>;
3918			required-opps = <&rpmhpd_opp_nom>;
3919
3920			status = "disabled";
3921
3922			clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>,
3923				 <&lpasscc LPASS_AUDIO_CORE_CORE_CLK>,
3924				 <&lpasscc LPASS_AUDIO_CORE_EXT_MCLK0_CLK>,
3925				 <&lpasscc LPASS_AUDIO_CORE_SYSNOC_MPORT_CORE_CLK>,
3926				 <&lpasscc LPASS_AUDIO_CORE_LPAIF_PRI_IBIT_CLK>,
3927				 <&lpasscc LPASS_AUDIO_CORE_LPAIF_SEC_IBIT_CLK>;
3928
3929			clock-names = "pcnoc-sway-clk", "audio-core",
3930					"mclk0", "pcnoc-mport-clk",
3931					"mi2s-bit-clk0", "mi2s-bit-clk1";
3932
3933
3934			#sound-dai-cells = <1>;
3935			#address-cells = <1>;
3936			#size-cells = <0>;
3937
3938			interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
3939					<GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
3940			interrupt-names = "lpass-irq-lpaif", "lpass-irq-hdmi";
3941		};
3942
3943		lpass_hm: clock-controller@63000000 {
3944			compatible = "qcom,sc7180-lpasshm";
3945			reg = <0 0x63000000 0 0x28>;
3946			clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>,
3947				 <&rpmhcc RPMH_CXO_CLK>;
3948			clock-names = "iface", "bi_tcxo";
3949			power-domains = <&rpmhpd SC7180_CX>;
3950
3951			#clock-cells = <1>;
3952			#power-domain-cells = <1>;
3953
3954			status = "reserved"; /* Controlled by ADSP */
3955		};
3956	};
3957
3958	thermal-zones {
3959		cpu0_thermal: cpu0-thermal {
3960			polling-delay-passive = <250>;
3961			polling-delay = <0>;
3962
3963			thermal-sensors = <&tsens0 1>;
3964			sustainable-power = <1052>;
3965
3966			trips {
3967				cpu0_alert0: trip-point0 {
3968					temperature = <90000>;
3969					hysteresis = <2000>;
3970					type = "passive";
3971				};
3972
3973				cpu0_alert1: trip-point1 {
3974					temperature = <95000>;
3975					hysteresis = <2000>;
3976					type = "passive";
3977				};
3978
3979				cpu0_crit: cpu-crit {
3980					temperature = <110000>;
3981					hysteresis = <1000>;
3982					type = "critical";
3983				};
3984			};
3985
3986			cooling-maps {
3987				map0 {
3988					trip = <&cpu0_alert0>;
3989					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3990							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3991							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3992							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3993							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3994							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3995				};
3996				map1 {
3997					trip = <&cpu0_alert1>;
3998					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3999							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4000							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4001							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4002							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4003							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4004				};
4005			};
4006		};
4007
4008		cpu1_thermal: cpu1-thermal {
4009			polling-delay-passive = <250>;
4010			polling-delay = <0>;
4011
4012			thermal-sensors = <&tsens0 2>;
4013			sustainable-power = <1052>;
4014
4015			trips {
4016				cpu1_alert0: trip-point0 {
4017					temperature = <90000>;
4018					hysteresis = <2000>;
4019					type = "passive";
4020				};
4021
4022				cpu1_alert1: trip-point1 {
4023					temperature = <95000>;
4024					hysteresis = <2000>;
4025					type = "passive";
4026				};
4027
4028				cpu1_crit: cpu-crit {
4029					temperature = <110000>;
4030					hysteresis = <1000>;
4031					type = "critical";
4032				};
4033			};
4034
4035			cooling-maps {
4036				map0 {
4037					trip = <&cpu1_alert0>;
4038					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4039							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4040							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4041							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4042							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4043							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4044				};
4045				map1 {
4046					trip = <&cpu1_alert1>;
4047					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4048							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4049							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4050							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4051							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4052							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4053				};
4054			};
4055		};
4056
4057		cpu2_thermal: cpu2-thermal {
4058			polling-delay-passive = <250>;
4059			polling-delay = <0>;
4060
4061			thermal-sensors = <&tsens0 3>;
4062			sustainable-power = <1052>;
4063
4064			trips {
4065				cpu2_alert0: trip-point0 {
4066					temperature = <90000>;
4067					hysteresis = <2000>;
4068					type = "passive";
4069				};
4070
4071				cpu2_alert1: trip-point1 {
4072					temperature = <95000>;
4073					hysteresis = <2000>;
4074					type = "passive";
4075				};
4076
4077				cpu2_crit: cpu-crit {
4078					temperature = <110000>;
4079					hysteresis = <1000>;
4080					type = "critical";
4081				};
4082			};
4083
4084			cooling-maps {
4085				map0 {
4086					trip = <&cpu2_alert0>;
4087					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4088							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4089							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4090							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4091							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4092							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4093				};
4094				map1 {
4095					trip = <&cpu2_alert1>;
4096					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4097							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4098							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4099							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4100							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4101							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4102				};
4103			};
4104		};
4105
4106		cpu3_thermal: cpu3-thermal {
4107			polling-delay-passive = <250>;
4108			polling-delay = <0>;
4109
4110			thermal-sensors = <&tsens0 4>;
4111			sustainable-power = <1052>;
4112
4113			trips {
4114				cpu3_alert0: trip-point0 {
4115					temperature = <90000>;
4116					hysteresis = <2000>;
4117					type = "passive";
4118				};
4119
4120				cpu3_alert1: trip-point1 {
4121					temperature = <95000>;
4122					hysteresis = <2000>;
4123					type = "passive";
4124				};
4125
4126				cpu3_crit: cpu-crit {
4127					temperature = <110000>;
4128					hysteresis = <1000>;
4129					type = "critical";
4130				};
4131			};
4132
4133			cooling-maps {
4134				map0 {
4135					trip = <&cpu3_alert0>;
4136					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4137							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4138							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4139							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4140							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4141							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4142				};
4143				map1 {
4144					trip = <&cpu3_alert1>;
4145					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4146							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4147							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4148							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4149							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4150							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4151				};
4152			};
4153		};
4154
4155		cpu4_thermal: cpu4-thermal {
4156			polling-delay-passive = <250>;
4157			polling-delay = <0>;
4158
4159			thermal-sensors = <&tsens0 5>;
4160			sustainable-power = <1052>;
4161
4162			trips {
4163				cpu4_alert0: trip-point0 {
4164					temperature = <90000>;
4165					hysteresis = <2000>;
4166					type = "passive";
4167				};
4168
4169				cpu4_alert1: trip-point1 {
4170					temperature = <95000>;
4171					hysteresis = <2000>;
4172					type = "passive";
4173				};
4174
4175				cpu4_crit: cpu-crit {
4176					temperature = <110000>;
4177					hysteresis = <1000>;
4178					type = "critical";
4179				};
4180			};
4181
4182			cooling-maps {
4183				map0 {
4184					trip = <&cpu4_alert0>;
4185					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4186							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4187							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4188							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4189							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4190							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4191				};
4192				map1 {
4193					trip = <&cpu4_alert1>;
4194					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4195							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4196							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4197							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4198							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4199							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4200				};
4201			};
4202		};
4203
4204		cpu5_thermal: cpu5-thermal {
4205			polling-delay-passive = <250>;
4206			polling-delay = <0>;
4207
4208			thermal-sensors = <&tsens0 6>;
4209			sustainable-power = <1052>;
4210
4211			trips {
4212				cpu5_alert0: trip-point0 {
4213					temperature = <90000>;
4214					hysteresis = <2000>;
4215					type = "passive";
4216				};
4217
4218				cpu5_alert1: trip-point1 {
4219					temperature = <95000>;
4220					hysteresis = <2000>;
4221					type = "passive";
4222				};
4223
4224				cpu5_crit: cpu-crit {
4225					temperature = <110000>;
4226					hysteresis = <1000>;
4227					type = "critical";
4228				};
4229			};
4230
4231			cooling-maps {
4232				map0 {
4233					trip = <&cpu5_alert0>;
4234					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4235							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4236							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4237							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4238							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4239							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4240				};
4241				map1 {
4242					trip = <&cpu5_alert1>;
4243					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4244							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4245							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4246							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4247							 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4248							 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4249				};
4250			};
4251		};
4252
4253		cpu6_thermal: cpu6-thermal {
4254			polling-delay-passive = <250>;
4255			polling-delay = <0>;
4256
4257			thermal-sensors = <&tsens0 9>;
4258			sustainable-power = <1425>;
4259
4260			trips {
4261				cpu6_alert0: trip-point0 {
4262					temperature = <90000>;
4263					hysteresis = <2000>;
4264					type = "passive";
4265				};
4266
4267				cpu6_alert1: trip-point1 {
4268					temperature = <95000>;
4269					hysteresis = <2000>;
4270					type = "passive";
4271				};
4272
4273				cpu6_crit: cpu-crit {
4274					temperature = <110000>;
4275					hysteresis = <1000>;
4276					type = "critical";
4277				};
4278			};
4279
4280			cooling-maps {
4281				map0 {
4282					trip = <&cpu6_alert0>;
4283					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4284							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4285				};
4286				map1 {
4287					trip = <&cpu6_alert1>;
4288					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4289							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4290				};
4291			};
4292		};
4293
4294		cpu7_thermal: cpu7-thermal {
4295			polling-delay-passive = <250>;
4296			polling-delay = <0>;
4297
4298			thermal-sensors = <&tsens0 10>;
4299			sustainable-power = <1425>;
4300
4301			trips {
4302				cpu7_alert0: trip-point0 {
4303					temperature = <90000>;
4304					hysteresis = <2000>;
4305					type = "passive";
4306				};
4307
4308				cpu7_alert1: trip-point1 {
4309					temperature = <95000>;
4310					hysteresis = <2000>;
4311					type = "passive";
4312				};
4313
4314				cpu7_crit: cpu-crit {
4315					temperature = <110000>;
4316					hysteresis = <1000>;
4317					type = "critical";
4318				};
4319			};
4320
4321			cooling-maps {
4322				map0 {
4323					trip = <&cpu7_alert0>;
4324					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4325							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4326				};
4327				map1 {
4328					trip = <&cpu7_alert1>;
4329					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4330							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4331				};
4332			};
4333		};
4334
4335		cpu8_thermal: cpu8-thermal {
4336			polling-delay-passive = <250>;
4337			polling-delay = <0>;
4338
4339			thermal-sensors = <&tsens0 11>;
4340			sustainable-power = <1425>;
4341
4342			trips {
4343				cpu8_alert0: trip-point0 {
4344					temperature = <90000>;
4345					hysteresis = <2000>;
4346					type = "passive";
4347				};
4348
4349				cpu8_alert1: trip-point1 {
4350					temperature = <95000>;
4351					hysteresis = <2000>;
4352					type = "passive";
4353				};
4354
4355				cpu8_crit: cpu-crit {
4356					temperature = <110000>;
4357					hysteresis = <1000>;
4358					type = "critical";
4359				};
4360			};
4361
4362			cooling-maps {
4363				map0 {
4364					trip = <&cpu8_alert0>;
4365					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4366							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4367				};
4368				map1 {
4369					trip = <&cpu8_alert1>;
4370					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4371							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4372				};
4373			};
4374		};
4375
4376		cpu9_thermal: cpu9-thermal {
4377			polling-delay-passive = <250>;
4378			polling-delay = <0>;
4379
4380			thermal-sensors = <&tsens0 12>;
4381			sustainable-power = <1425>;
4382
4383			trips {
4384				cpu9_alert0: trip-point0 {
4385					temperature = <90000>;
4386					hysteresis = <2000>;
4387					type = "passive";
4388				};
4389
4390				cpu9_alert1: trip-point1 {
4391					temperature = <95000>;
4392					hysteresis = <2000>;
4393					type = "passive";
4394				};
4395
4396				cpu9_crit: cpu-crit {
4397					temperature = <110000>;
4398					hysteresis = <1000>;
4399					type = "critical";
4400				};
4401			};
4402
4403			cooling-maps {
4404				map0 {
4405					trip = <&cpu9_alert0>;
4406					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4407							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4408				};
4409				map1 {
4410					trip = <&cpu9_alert1>;
4411					cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4412							 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4413				};
4414			};
4415		};
4416
4417		aoss0-thermal {
4418			polling-delay-passive = <250>;
4419			polling-delay = <0>;
4420
4421			thermal-sensors = <&tsens0 0>;
4422
4423			trips {
4424				aoss0_alert0: trip-point0 {
4425					temperature = <90000>;
4426					hysteresis = <2000>;
4427					type = "hot";
4428				};
4429
4430				aoss0_crit: aoss0-crit {
4431					temperature = <110000>;
4432					hysteresis = <2000>;
4433					type = "critical";
4434				};
4435			};
4436		};
4437
4438		cpuss0-thermal {
4439			polling-delay-passive = <250>;
4440			polling-delay = <0>;
4441
4442			thermal-sensors = <&tsens0 7>;
4443
4444			trips {
4445				cpuss0_alert0: trip-point0 {
4446					temperature = <90000>;
4447					hysteresis = <2000>;
4448					type = "hot";
4449				};
4450				cpuss0_crit: cluster0-crit {
4451					temperature = <110000>;
4452					hysteresis = <2000>;
4453					type = "critical";
4454				};
4455			};
4456		};
4457
4458		cpuss1-thermal {
4459			polling-delay-passive = <250>;
4460			polling-delay = <0>;
4461
4462			thermal-sensors = <&tsens0 8>;
4463
4464			trips {
4465				cpuss1_alert0: trip-point0 {
4466					temperature = <90000>;
4467					hysteresis = <2000>;
4468					type = "hot";
4469				};
4470				cpuss1_crit: cluster0-crit {
4471					temperature = <110000>;
4472					hysteresis = <2000>;
4473					type = "critical";
4474				};
4475			};
4476		};
4477
4478		gpuss0-thermal {
4479			polling-delay-passive = <250>;
4480			polling-delay = <0>;
4481
4482			thermal-sensors = <&tsens0 13>;
4483
4484			trips {
4485				gpuss0_alert0: trip-point0 {
4486					temperature = <95000>;
4487					hysteresis = <2000>;
4488					type = "passive";
4489				};
4490
4491				gpuss0_crit: gpuss0-crit {
4492					temperature = <110000>;
4493					hysteresis = <2000>;
4494					type = "critical";
4495				};
4496			};
4497
4498			cooling-maps {
4499				map0 {
4500					trip = <&gpuss0_alert0>;
4501					cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4502				};
4503			};
4504		};
4505
4506		gpuss1-thermal {
4507			polling-delay-passive = <250>;
4508			polling-delay = <0>;
4509
4510			thermal-sensors = <&tsens0 14>;
4511
4512			trips {
4513				gpuss1_alert0: trip-point0 {
4514					temperature = <95000>;
4515					hysteresis = <2000>;
4516					type = "passive";
4517				};
4518
4519				gpuss1_crit: gpuss1-crit {
4520					temperature = <110000>;
4521					hysteresis = <2000>;
4522					type = "critical";
4523				};
4524			};
4525
4526			cooling-maps {
4527				map0 {
4528					trip = <&gpuss1_alert0>;
4529					cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4530				};
4531			};
4532		};
4533
4534		aoss1-thermal {
4535			polling-delay-passive = <250>;
4536			polling-delay = <0>;
4537
4538			thermal-sensors = <&tsens1 0>;
4539
4540			trips {
4541				aoss1_alert0: trip-point0 {
4542					temperature = <90000>;
4543					hysteresis = <2000>;
4544					type = "hot";
4545				};
4546
4547				aoss1_crit: aoss1-crit {
4548					temperature = <110000>;
4549					hysteresis = <2000>;
4550					type = "critical";
4551				};
4552			};
4553		};
4554
4555		cwlan-thermal {
4556			polling-delay-passive = <250>;
4557			polling-delay = <0>;
4558
4559			thermal-sensors = <&tsens1 1>;
4560
4561			trips {
4562				cwlan_alert0: trip-point0 {
4563					temperature = <90000>;
4564					hysteresis = <2000>;
4565					type = "hot";
4566				};
4567
4568				cwlan_crit: cwlan-crit {
4569					temperature = <110000>;
4570					hysteresis = <2000>;
4571					type = "critical";
4572				};
4573			};
4574		};
4575
4576		audio-thermal {
4577			polling-delay-passive = <250>;
4578			polling-delay = <0>;
4579
4580			thermal-sensors = <&tsens1 2>;
4581
4582			trips {
4583				audio_alert0: trip-point0 {
4584					temperature = <90000>;
4585					hysteresis = <2000>;
4586					type = "hot";
4587				};
4588
4589				audio_crit: audio-crit {
4590					temperature = <110000>;
4591					hysteresis = <2000>;
4592					type = "critical";
4593				};
4594			};
4595		};
4596
4597		ddr-thermal {
4598			polling-delay-passive = <250>;
4599			polling-delay = <0>;
4600
4601			thermal-sensors = <&tsens1 3>;
4602
4603			trips {
4604				ddr_alert0: trip-point0 {
4605					temperature = <90000>;
4606					hysteresis = <2000>;
4607					type = "hot";
4608				};
4609
4610				ddr_crit: ddr-crit {
4611					temperature = <110000>;
4612					hysteresis = <2000>;
4613					type = "critical";
4614				};
4615			};
4616		};
4617
4618		q6-hvx-thermal {
4619			polling-delay-passive = <250>;
4620			polling-delay = <0>;
4621
4622			thermal-sensors = <&tsens1 4>;
4623
4624			trips {
4625				q6_hvx_alert0: trip-point0 {
4626					temperature = <90000>;
4627					hysteresis = <2000>;
4628					type = "hot";
4629				};
4630
4631				q6_hvx_crit: q6-hvx-crit {
4632					temperature = <110000>;
4633					hysteresis = <2000>;
4634					type = "critical";
4635				};
4636			};
4637		};
4638
4639		camera-thermal {
4640			polling-delay-passive = <250>;
4641			polling-delay = <0>;
4642
4643			thermal-sensors = <&tsens1 5>;
4644
4645			trips {
4646				camera_alert0: trip-point0 {
4647					temperature = <90000>;
4648					hysteresis = <2000>;
4649					type = "hot";
4650				};
4651
4652				camera_crit: camera-crit {
4653					temperature = <110000>;
4654					hysteresis = <2000>;
4655					type = "critical";
4656				};
4657			};
4658		};
4659
4660		mdm-core-thermal {
4661			polling-delay-passive = <250>;
4662			polling-delay = <0>;
4663
4664			thermal-sensors = <&tsens1 6>;
4665
4666			trips {
4667				mdm_alert0: trip-point0 {
4668					temperature = <90000>;
4669					hysteresis = <2000>;
4670					type = "hot";
4671				};
4672
4673				mdm_crit: mdm-crit {
4674					temperature = <110000>;
4675					hysteresis = <2000>;
4676					type = "critical";
4677				};
4678			};
4679		};
4680
4681		mdm-dsp-thermal {
4682			polling-delay-passive = <250>;
4683			polling-delay = <0>;
4684
4685			thermal-sensors = <&tsens1 7>;
4686
4687			trips {
4688				mdm_dsp_alert0: trip-point0 {
4689					temperature = <90000>;
4690					hysteresis = <2000>;
4691					type = "hot";
4692				};
4693
4694				mdm_dsp_crit: mdm-dsp-crit {
4695					temperature = <110000>;
4696					hysteresis = <2000>;
4697					type = "critical";
4698				};
4699			};
4700		};
4701
4702		npu-thermal {
4703			polling-delay-passive = <250>;
4704			polling-delay = <0>;
4705
4706			thermal-sensors = <&tsens1 8>;
4707
4708			trips {
4709				npu_alert0: trip-point0 {
4710					temperature = <90000>;
4711					hysteresis = <2000>;
4712					type = "hot";
4713				};
4714
4715				npu_crit: npu-crit {
4716					temperature = <110000>;
4717					hysteresis = <2000>;
4718					type = "critical";
4719				};
4720			};
4721		};
4722
4723		video-thermal {
4724			polling-delay-passive = <250>;
4725			polling-delay = <0>;
4726
4727			thermal-sensors = <&tsens1 9>;
4728
4729			trips {
4730				video_alert0: trip-point0 {
4731					temperature = <90000>;
4732					hysteresis = <2000>;
4733					type = "hot";
4734				};
4735
4736				video_crit: video-crit {
4737					temperature = <110000>;
4738					hysteresis = <2000>;
4739					type = "critical";
4740				};
4741			};
4742		};
4743	};
4744
4745	timer {
4746		compatible = "arm,armv8-timer";
4747		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
4748			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
4749			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
4750			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
4751	};
4752};
4753