xref: /linux/scripts/dtc/include-prefixes/arm64/qcom/sm8250.dtsi (revision 115e74a29b530d121891238e9551c4bcdf7b04b5)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2020, The Linux Foundation. All rights reserved.
4 */
5
6#include <dt-bindings/interrupt-controller/arm-gic.h>
7#include <dt-bindings/clock/qcom,dispcc-sm8250.h>
8#include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
9#include <dt-bindings/clock/qcom,gcc-sm8250.h>
10#include <dt-bindings/clock/qcom,gpucc-sm8250.h>
11#include <dt-bindings/clock/qcom,rpmh.h>
12#include <dt-bindings/dma/qcom-gpi.h>
13#include <dt-bindings/gpio/gpio.h>
14#include <dt-bindings/interconnect/qcom,osm-l3.h>
15#include <dt-bindings/interconnect/qcom,sm8250.h>
16#include <dt-bindings/mailbox/qcom-ipcc.h>
17#include <dt-bindings/phy/phy-qcom-qmp.h>
18#include <dt-bindings/power/qcom-rpmpd.h>
19#include <dt-bindings/power/qcom,rpmhpd.h>
20#include <dt-bindings/soc/qcom,apr.h>
21#include <dt-bindings/soc/qcom,rpmh-rsc.h>
22#include <dt-bindings/sound/qcom,q6afe.h>
23#include <dt-bindings/thermal/thermal.h>
24#include <dt-bindings/clock/qcom,camcc-sm8250.h>
25#include <dt-bindings/clock/qcom,videocc-sm8250.h>
26
27/ {
28	interrupt-parent = <&intc>;
29
30	#address-cells = <2>;
31	#size-cells = <2>;
32
33	aliases {
34		i2c0 = &i2c0;
35		i2c1 = &i2c1;
36		i2c2 = &i2c2;
37		i2c3 = &i2c3;
38		i2c4 = &i2c4;
39		i2c5 = &i2c5;
40		i2c6 = &i2c6;
41		i2c7 = &i2c7;
42		i2c8 = &i2c8;
43		i2c9 = &i2c9;
44		i2c10 = &i2c10;
45		i2c11 = &i2c11;
46		i2c12 = &i2c12;
47		i2c13 = &i2c13;
48		i2c14 = &i2c14;
49		i2c15 = &i2c15;
50		i2c16 = &i2c16;
51		i2c17 = &i2c17;
52		i2c18 = &i2c18;
53		i2c19 = &i2c19;
54		spi0 = &spi0;
55		spi1 = &spi1;
56		spi2 = &spi2;
57		spi3 = &spi3;
58		spi4 = &spi4;
59		spi5 = &spi5;
60		spi6 = &spi6;
61		spi7 = &spi7;
62		spi8 = &spi8;
63		spi9 = &spi9;
64		spi10 = &spi10;
65		spi11 = &spi11;
66		spi12 = &spi12;
67		spi13 = &spi13;
68		spi14 = &spi14;
69		spi15 = &spi15;
70		spi16 = &spi16;
71		spi17 = &spi17;
72		spi18 = &spi18;
73		spi19 = &spi19;
74	};
75
76	chosen { };
77
78	clocks {
79		xo_board: xo-board {
80			compatible = "fixed-clock";
81			#clock-cells = <0>;
82			clock-frequency = <38400000>;
83			clock-output-names = "xo_board";
84		};
85
86		sleep_clk: sleep-clk {
87			compatible = "fixed-clock";
88			clock-frequency = <32764>;
89			#clock-cells = <0>;
90		};
91	};
92
93	cpus {
94		#address-cells = <2>;
95		#size-cells = <0>;
96
97		cpu0: cpu@0 {
98			device_type = "cpu";
99			compatible = "qcom,kryo485";
100			reg = <0x0 0x0>;
101			clocks = <&cpufreq_hw 0>;
102			enable-method = "psci";
103			capacity-dmips-mhz = <448>;
104			dynamic-power-coefficient = <105>;
105			next-level-cache = <&l2_0>;
106			power-domains = <&cpu_pd0>;
107			power-domain-names = "psci";
108			qcom,freq-domain = <&cpufreq_hw 0>;
109			operating-points-v2 = <&cpu0_opp_table>;
110			interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>,
111					<&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
112			#cooling-cells = <2>;
113			l2_0: l2-cache {
114				compatible = "cache";
115				cache-level = <2>;
116				cache-size = <0x20000>;
117				cache-unified;
118				next-level-cache = <&l3_0>;
119				l3_0: l3-cache {
120					compatible = "cache";
121					cache-level = <3>;
122					cache-size = <0x400000>;
123					cache-unified;
124				};
125			};
126		};
127
128		cpu1: cpu@100 {
129			device_type = "cpu";
130			compatible = "qcom,kryo485";
131			reg = <0x0 0x100>;
132			clocks = <&cpufreq_hw 0>;
133			enable-method = "psci";
134			capacity-dmips-mhz = <448>;
135			dynamic-power-coefficient = <105>;
136			next-level-cache = <&l2_100>;
137			power-domains = <&cpu_pd1>;
138			power-domain-names = "psci";
139			qcom,freq-domain = <&cpufreq_hw 0>;
140			operating-points-v2 = <&cpu0_opp_table>;
141			interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>,
142					<&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
143			#cooling-cells = <2>;
144			l2_100: l2-cache {
145				compatible = "cache";
146				cache-level = <2>;
147				cache-size = <0x20000>;
148				cache-unified;
149				next-level-cache = <&l3_0>;
150			};
151		};
152
153		cpu2: cpu@200 {
154			device_type = "cpu";
155			compatible = "qcom,kryo485";
156			reg = <0x0 0x200>;
157			clocks = <&cpufreq_hw 0>;
158			enable-method = "psci";
159			capacity-dmips-mhz = <448>;
160			dynamic-power-coefficient = <105>;
161			next-level-cache = <&l2_200>;
162			power-domains = <&cpu_pd2>;
163			power-domain-names = "psci";
164			qcom,freq-domain = <&cpufreq_hw 0>;
165			operating-points-v2 = <&cpu0_opp_table>;
166			interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>,
167					<&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
168			#cooling-cells = <2>;
169			l2_200: l2-cache {
170				compatible = "cache";
171				cache-level = <2>;
172				cache-size = <0x20000>;
173				cache-unified;
174				next-level-cache = <&l3_0>;
175			};
176		};
177
178		cpu3: cpu@300 {
179			device_type = "cpu";
180			compatible = "qcom,kryo485";
181			reg = <0x0 0x300>;
182			clocks = <&cpufreq_hw 0>;
183			enable-method = "psci";
184			capacity-dmips-mhz = <448>;
185			dynamic-power-coefficient = <105>;
186			next-level-cache = <&l2_300>;
187			power-domains = <&cpu_pd3>;
188			power-domain-names = "psci";
189			qcom,freq-domain = <&cpufreq_hw 0>;
190			operating-points-v2 = <&cpu0_opp_table>;
191			interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>,
192					<&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
193			#cooling-cells = <2>;
194			l2_300: l2-cache {
195				compatible = "cache";
196				cache-level = <2>;
197				cache-size = <0x20000>;
198				cache-unified;
199				next-level-cache = <&l3_0>;
200			};
201		};
202
203		cpu4: cpu@400 {
204			device_type = "cpu";
205			compatible = "qcom,kryo485";
206			reg = <0x0 0x400>;
207			clocks = <&cpufreq_hw 1>;
208			enable-method = "psci";
209			capacity-dmips-mhz = <1024>;
210			dynamic-power-coefficient = <379>;
211			next-level-cache = <&l2_400>;
212			power-domains = <&cpu_pd4>;
213			power-domain-names = "psci";
214			qcom,freq-domain = <&cpufreq_hw 1>;
215			operating-points-v2 = <&cpu4_opp_table>;
216			interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>,
217					<&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
218			#cooling-cells = <2>;
219			l2_400: l2-cache {
220				compatible = "cache";
221				cache-level = <2>;
222				cache-size = <0x40000>;
223				cache-unified;
224				next-level-cache = <&l3_0>;
225			};
226		};
227
228		cpu5: cpu@500 {
229			device_type = "cpu";
230			compatible = "qcom,kryo485";
231			reg = <0x0 0x500>;
232			clocks = <&cpufreq_hw 1>;
233			enable-method = "psci";
234			capacity-dmips-mhz = <1024>;
235			dynamic-power-coefficient = <379>;
236			next-level-cache = <&l2_500>;
237			power-domains = <&cpu_pd5>;
238			power-domain-names = "psci";
239			qcom,freq-domain = <&cpufreq_hw 1>;
240			operating-points-v2 = <&cpu4_opp_table>;
241			interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>,
242					<&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
243			#cooling-cells = <2>;
244			l2_500: l2-cache {
245				compatible = "cache";
246				cache-level = <2>;
247				cache-size = <0x40000>;
248				cache-unified;
249				next-level-cache = <&l3_0>;
250			};
251		};
252
253		cpu6: cpu@600 {
254			device_type = "cpu";
255			compatible = "qcom,kryo485";
256			reg = <0x0 0x600>;
257			clocks = <&cpufreq_hw 1>;
258			enable-method = "psci";
259			capacity-dmips-mhz = <1024>;
260			dynamic-power-coefficient = <379>;
261			next-level-cache = <&l2_600>;
262			power-domains = <&cpu_pd6>;
263			power-domain-names = "psci";
264			qcom,freq-domain = <&cpufreq_hw 1>;
265			operating-points-v2 = <&cpu4_opp_table>;
266			interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>,
267					<&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
268			#cooling-cells = <2>;
269			l2_600: l2-cache {
270				compatible = "cache";
271				cache-level = <2>;
272				cache-size = <0x40000>;
273				cache-unified;
274				next-level-cache = <&l3_0>;
275			};
276		};
277
278		cpu7: cpu@700 {
279			device_type = "cpu";
280			compatible = "qcom,kryo485";
281			reg = <0x0 0x700>;
282			clocks = <&cpufreq_hw 2>;
283			enable-method = "psci";
284			capacity-dmips-mhz = <1024>;
285			dynamic-power-coefficient = <444>;
286			next-level-cache = <&l2_700>;
287			power-domains = <&cpu_pd7>;
288			power-domain-names = "psci";
289			qcom,freq-domain = <&cpufreq_hw 2>;
290			operating-points-v2 = <&cpu7_opp_table>;
291			interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>,
292					<&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>;
293			#cooling-cells = <2>;
294			l2_700: l2-cache {
295				compatible = "cache";
296				cache-level = <2>;
297				cache-size = <0x80000>;
298				cache-unified;
299				next-level-cache = <&l3_0>;
300			};
301		};
302
303		cpu-map {
304			cluster0 {
305				core0 {
306					cpu = <&cpu0>;
307				};
308
309				core1 {
310					cpu = <&cpu1>;
311				};
312
313				core2 {
314					cpu = <&cpu2>;
315				};
316
317				core3 {
318					cpu = <&cpu3>;
319				};
320
321				core4 {
322					cpu = <&cpu4>;
323				};
324
325				core5 {
326					cpu = <&cpu5>;
327				};
328
329				core6 {
330					cpu = <&cpu6>;
331				};
332
333				core7 {
334					cpu = <&cpu7>;
335				};
336			};
337		};
338
339		idle-states {
340			entry-method = "psci";
341
342			little_cpu_sleep_0: cpu-sleep-0-0 {
343				compatible = "arm,idle-state";
344				idle-state-name = "silver-rail-power-collapse";
345				arm,psci-suspend-param = <0x40000004>;
346				entry-latency-us = <360>;
347				exit-latency-us = <531>;
348				min-residency-us = <3934>;
349				local-timer-stop;
350			};
351
352			big_cpu_sleep_0: cpu-sleep-1-0 {
353				compatible = "arm,idle-state";
354				idle-state-name = "gold-rail-power-collapse";
355				arm,psci-suspend-param = <0x40000004>;
356				entry-latency-us = <702>;
357				exit-latency-us = <1061>;
358				min-residency-us = <4488>;
359				local-timer-stop;
360			};
361		};
362
363		domain-idle-states {
364			cluster_sleep_0: cluster-sleep-0 {
365				compatible = "domain-idle-state";
366				arm,psci-suspend-param = <0x4100c244>;
367				entry-latency-us = <3264>;
368				exit-latency-us = <6562>;
369				min-residency-us = <9987>;
370			};
371		};
372	};
373
374	qup_virt: interconnect-qup-virt {
375		compatible = "qcom,sm8250-qup-virt";
376		#interconnect-cells = <2>;
377		qcom,bcm-voters = <&apps_bcm_voter>;
378	};
379
380	cpu0_opp_table: opp-table-cpu0 {
381		compatible = "operating-points-v2";
382		opp-shared;
383
384		cpu0_opp1: opp-300000000 {
385			opp-hz = /bits/ 64 <300000000>;
386			opp-peak-kBps = <800000 9600000>;
387		};
388
389		cpu0_opp2: opp-403200000 {
390			opp-hz = /bits/ 64 <403200000>;
391			opp-peak-kBps = <800000 9600000>;
392		};
393
394		cpu0_opp3: opp-518400000 {
395			opp-hz = /bits/ 64 <518400000>;
396			opp-peak-kBps = <800000 16588800>;
397		};
398
399		cpu0_opp4: opp-614400000 {
400			opp-hz = /bits/ 64 <614400000>;
401			opp-peak-kBps = <800000 16588800>;
402		};
403
404		cpu0_opp5: opp-691200000 {
405			opp-hz = /bits/ 64 <691200000>;
406			opp-peak-kBps = <800000 19660800>;
407		};
408
409		cpu0_opp6: opp-787200000 {
410			opp-hz = /bits/ 64 <787200000>;
411			opp-peak-kBps = <1804000 19660800>;
412		};
413
414		cpu0_opp7: opp-883200000 {
415			opp-hz = /bits/ 64 <883200000>;
416			opp-peak-kBps = <1804000 23347200>;
417		};
418
419		cpu0_opp8: opp-979200000 {
420			opp-hz = /bits/ 64 <979200000>;
421			opp-peak-kBps = <1804000 26419200>;
422		};
423
424		cpu0_opp9: opp-1075200000 {
425			opp-hz = /bits/ 64 <1075200000>;
426			opp-peak-kBps = <1804000 29491200>;
427		};
428
429		cpu0_opp10: opp-1171200000 {
430			opp-hz = /bits/ 64 <1171200000>;
431			opp-peak-kBps = <1804000 32563200>;
432		};
433
434		cpu0_opp11: opp-1248000000 {
435			opp-hz = /bits/ 64 <1248000000>;
436			opp-peak-kBps = <1804000 36249600>;
437		};
438
439		cpu0_opp12: opp-1344000000 {
440			opp-hz = /bits/ 64 <1344000000>;
441			opp-peak-kBps = <2188000 36249600>;
442		};
443
444		cpu0_opp13: opp-1420800000 {
445			opp-hz = /bits/ 64 <1420800000>;
446			opp-peak-kBps = <2188000 39321600>;
447		};
448
449		cpu0_opp14: opp-1516800000 {
450			opp-hz = /bits/ 64 <1516800000>;
451			opp-peak-kBps = <3072000 42393600>;
452		};
453
454		cpu0_opp15: opp-1612800000 {
455			opp-hz = /bits/ 64 <1612800000>;
456			opp-peak-kBps = <3072000 42393600>;
457		};
458
459		cpu0_opp16: opp-1708800000 {
460			opp-hz = /bits/ 64 <1708800000>;
461			opp-peak-kBps = <4068000 42393600>;
462		};
463
464		cpu0_opp17: opp-1804800000 {
465			opp-hz = /bits/ 64 <1804800000>;
466			opp-peak-kBps = <4068000 42393600>;
467		};
468	};
469
470	cpu4_opp_table: opp-table-cpu4 {
471		compatible = "operating-points-v2";
472		opp-shared;
473
474		cpu4_opp1: opp-710400000 {
475			opp-hz = /bits/ 64 <710400000>;
476			opp-peak-kBps = <1804000 19660800>;
477		};
478
479		cpu4_opp2: opp-825600000 {
480			opp-hz = /bits/ 64 <825600000>;
481			opp-peak-kBps = <2188000 23347200>;
482		};
483
484		cpu4_opp3: opp-940800000 {
485			opp-hz = /bits/ 64 <940800000>;
486			opp-peak-kBps = <2188000 26419200>;
487		};
488
489		cpu4_opp4: opp-1056000000 {
490			opp-hz = /bits/ 64 <1056000000>;
491			opp-peak-kBps = <3072000 26419200>;
492		};
493
494		cpu4_opp5: opp-1171200000 {
495			opp-hz = /bits/ 64 <1171200000>;
496			opp-peak-kBps = <3072000 29491200>;
497		};
498
499		cpu4_opp6: opp-1286400000 {
500			opp-hz = /bits/ 64 <1286400000>;
501			opp-peak-kBps = <4068000 29491200>;
502		};
503
504		cpu4_opp7: opp-1382400000 {
505			opp-hz = /bits/ 64 <1382400000>;
506			opp-peak-kBps = <4068000 32563200>;
507		};
508
509		cpu4_opp8: opp-1478400000 {
510			opp-hz = /bits/ 64 <1478400000>;
511			opp-peak-kBps = <4068000 32563200>;
512		};
513
514		cpu4_opp9: opp-1574400000 {
515			opp-hz = /bits/ 64 <1574400000>;
516			opp-peak-kBps = <5412000 39321600>;
517		};
518
519		cpu4_opp10: opp-1670400000 {
520			opp-hz = /bits/ 64 <1670400000>;
521			opp-peak-kBps = <5412000 42393600>;
522		};
523
524		cpu4_opp11: opp-1766400000 {
525			opp-hz = /bits/ 64 <1766400000>;
526			opp-peak-kBps = <5412000 45465600>;
527		};
528
529		cpu4_opp12: opp-1862400000 {
530			opp-hz = /bits/ 64 <1862400000>;
531			opp-peak-kBps = <6220000 45465600>;
532		};
533
534		cpu4_opp13: opp-1958400000 {
535			opp-hz = /bits/ 64 <1958400000>;
536			opp-peak-kBps = <6220000 48537600>;
537		};
538
539		cpu4_opp14: opp-2054400000 {
540			opp-hz = /bits/ 64 <2054400000>;
541			opp-peak-kBps = <7216000 48537600>;
542		};
543
544		cpu4_opp15: opp-2150400000 {
545			opp-hz = /bits/ 64 <2150400000>;
546			opp-peak-kBps = <7216000 51609600>;
547		};
548
549		cpu4_opp16: opp-2246400000 {
550			opp-hz = /bits/ 64 <2246400000>;
551			opp-peak-kBps = <7216000 51609600>;
552		};
553
554		cpu4_opp17: opp-2342400000 {
555			opp-hz = /bits/ 64 <2342400000>;
556			opp-peak-kBps = <8368000 51609600>;
557		};
558
559		cpu4_opp18: opp-2419200000 {
560			opp-hz = /bits/ 64 <2419200000>;
561			opp-peak-kBps = <8368000 51609600>;
562		};
563	};
564
565	cpu7_opp_table: opp-table-cpu7 {
566		compatible = "operating-points-v2";
567		opp-shared;
568
569		cpu7_opp1: opp-844800000 {
570			opp-hz = /bits/ 64 <844800000>;
571			opp-peak-kBps = <2188000 19660800>;
572		};
573
574		cpu7_opp2: opp-960000000 {
575			opp-hz = /bits/ 64 <960000000>;
576			opp-peak-kBps = <2188000 26419200>;
577		};
578
579		cpu7_opp3: opp-1075200000 {
580			opp-hz = /bits/ 64 <1075200000>;
581			opp-peak-kBps = <3072000 26419200>;
582		};
583
584		cpu7_opp4: opp-1190400000 {
585			opp-hz = /bits/ 64 <1190400000>;
586			opp-peak-kBps = <3072000 29491200>;
587		};
588
589		cpu7_opp5: opp-1305600000 {
590			opp-hz = /bits/ 64 <1305600000>;
591			opp-peak-kBps = <4068000 32563200>;
592		};
593
594		cpu7_opp6: opp-1401600000 {
595			opp-hz = /bits/ 64 <1401600000>;
596			opp-peak-kBps = <4068000 32563200>;
597		};
598
599		cpu7_opp7: opp-1516800000 {
600			opp-hz = /bits/ 64 <1516800000>;
601			opp-peak-kBps = <4068000 36249600>;
602		};
603
604		cpu7_opp8: opp-1632000000 {
605			opp-hz = /bits/ 64 <1632000000>;
606			opp-peak-kBps = <5412000 39321600>;
607		};
608
609		cpu7_opp9: opp-1747200000 {
610			opp-hz = /bits/ 64 <1747200000>;
611			opp-peak-kBps = <5412000 42393600>;
612		};
613
614		cpu7_opp10: opp-1862400000 {
615			opp-hz = /bits/ 64 <1862400000>;
616			opp-peak-kBps = <6220000 45465600>;
617		};
618
619		cpu7_opp11: opp-1977600000 {
620			opp-hz = /bits/ 64 <1977600000>;
621			opp-peak-kBps = <6220000 48537600>;
622		};
623
624		cpu7_opp12: opp-2073600000 {
625			opp-hz = /bits/ 64 <2073600000>;
626			opp-peak-kBps = <7216000 48537600>;
627		};
628
629		cpu7_opp13: opp-2169600000 {
630			opp-hz = /bits/ 64 <2169600000>;
631			opp-peak-kBps = <7216000 51609600>;
632		};
633
634		cpu7_opp14: opp-2265600000 {
635			opp-hz = /bits/ 64 <2265600000>;
636			opp-peak-kBps = <7216000 51609600>;
637		};
638
639		cpu7_opp15: opp-2361600000 {
640			opp-hz = /bits/ 64 <2361600000>;
641			opp-peak-kBps = <8368000 51609600>;
642		};
643
644		cpu7_opp16: opp-2457600000 {
645			opp-hz = /bits/ 64 <2457600000>;
646			opp-peak-kBps = <8368000 51609600>;
647		};
648
649		cpu7_opp17: opp-2553600000 {
650			opp-hz = /bits/ 64 <2553600000>;
651			opp-peak-kBps = <8368000 51609600>;
652		};
653
654		cpu7_opp18: opp-2649600000 {
655			opp-hz = /bits/ 64 <2649600000>;
656			opp-peak-kBps = <8368000 51609600>;
657		};
658
659		cpu7_opp19: opp-2745600000 {
660			opp-hz = /bits/ 64 <2745600000>;
661			opp-peak-kBps = <8368000 51609600>;
662		};
663
664		cpu7_opp20: opp-2841600000 {
665			opp-hz = /bits/ 64 <2841600000>;
666			opp-peak-kBps = <8368000 51609600>;
667		};
668	};
669
670	firmware {
671		scm: scm {
672			compatible = "qcom,scm-sm8250", "qcom,scm";
673			qcom,dload-mode = <&tcsr 0x13000>;
674			#reset-cells = <1>;
675		};
676	};
677
678	memory@80000000 {
679		device_type = "memory";
680		/* We expect the bootloader to fill in the size */
681		reg = <0x0 0x80000000 0x0 0x0>;
682	};
683
684	pmu {
685		compatible = "arm,armv8-pmuv3";
686		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
687	};
688
689	psci {
690		compatible = "arm,psci-1.0";
691		method = "smc";
692
693		cpu_pd0: power-domain-cpu0 {
694			#power-domain-cells = <0>;
695			power-domains = <&cluster_pd>;
696			domain-idle-states = <&little_cpu_sleep_0>;
697		};
698
699		cpu_pd1: power-domain-cpu1 {
700			#power-domain-cells = <0>;
701			power-domains = <&cluster_pd>;
702			domain-idle-states = <&little_cpu_sleep_0>;
703		};
704
705		cpu_pd2: power-domain-cpu2 {
706			#power-domain-cells = <0>;
707			power-domains = <&cluster_pd>;
708			domain-idle-states = <&little_cpu_sleep_0>;
709		};
710
711		cpu_pd3: power-domain-cpu3 {
712			#power-domain-cells = <0>;
713			power-domains = <&cluster_pd>;
714			domain-idle-states = <&little_cpu_sleep_0>;
715		};
716
717		cpu_pd4: power-domain-cpu4 {
718			#power-domain-cells = <0>;
719			power-domains = <&cluster_pd>;
720			domain-idle-states = <&big_cpu_sleep_0>;
721		};
722
723		cpu_pd5: power-domain-cpu5 {
724			#power-domain-cells = <0>;
725			power-domains = <&cluster_pd>;
726			domain-idle-states = <&big_cpu_sleep_0>;
727		};
728
729		cpu_pd6: power-domain-cpu6 {
730			#power-domain-cells = <0>;
731			power-domains = <&cluster_pd>;
732			domain-idle-states = <&big_cpu_sleep_0>;
733		};
734
735		cpu_pd7: power-domain-cpu7 {
736			#power-domain-cells = <0>;
737			power-domains = <&cluster_pd>;
738			domain-idle-states = <&big_cpu_sleep_0>;
739		};
740
741		cluster_pd: power-domain-cpu-cluster0 {
742			#power-domain-cells = <0>;
743			domain-idle-states = <&cluster_sleep_0>;
744		};
745	};
746
747	qup_opp_table: opp-table-qup {
748		compatible = "operating-points-v2";
749
750		opp-50000000 {
751			opp-hz = /bits/ 64 <50000000>;
752			required-opps = <&rpmhpd_opp_min_svs>;
753		};
754
755		opp-75000000 {
756			opp-hz = /bits/ 64 <75000000>;
757			required-opps = <&rpmhpd_opp_low_svs>;
758		};
759
760		opp-120000000 {
761			opp-hz = /bits/ 64 <120000000>;
762			required-opps = <&rpmhpd_opp_svs>;
763		};
764	};
765
766	reserved-memory {
767		#address-cells = <2>;
768		#size-cells = <2>;
769		ranges;
770
771		hyp_mem: memory@80000000 {
772			reg = <0x0 0x80000000 0x0 0x600000>;
773			no-map;
774		};
775
776		xbl_aop_mem: memory@80700000 {
777			reg = <0x0 0x80700000 0x0 0x160000>;
778			no-map;
779		};
780
781		cmd_db: memory@80860000 {
782			compatible = "qcom,cmd-db";
783			reg = <0x0 0x80860000 0x0 0x20000>;
784			no-map;
785		};
786
787		smem_mem: memory@80900000 {
788			reg = <0x0 0x80900000 0x0 0x200000>;
789			no-map;
790		};
791
792		removed_mem: memory@80b00000 {
793			reg = <0x0 0x80b00000 0x0 0x5300000>;
794			no-map;
795		};
796
797		camera_mem: memory@86200000 {
798			reg = <0x0 0x86200000 0x0 0x500000>;
799			no-map;
800		};
801
802		wlan_mem: memory@86700000 {
803			reg = <0x0 0x86700000 0x0 0x100000>;
804			no-map;
805		};
806
807		ipa_fw_mem: memory@86800000 {
808			reg = <0x0 0x86800000 0x0 0x10000>;
809			no-map;
810		};
811
812		ipa_gsi_mem: memory@86810000 {
813			reg = <0x0 0x86810000 0x0 0xa000>;
814			no-map;
815		};
816
817		gpu_mem: memory@8681a000 {
818			reg = <0x0 0x8681a000 0x0 0x2000>;
819			no-map;
820		};
821
822		npu_mem: memory@86900000 {
823			reg = <0x0 0x86900000 0x0 0x500000>;
824			no-map;
825		};
826
827		video_mem: memory@86e00000 {
828			reg = <0x0 0x86e00000 0x0 0x500000>;
829			no-map;
830		};
831
832		cvp_mem: memory@87300000 {
833			reg = <0x0 0x87300000 0x0 0x500000>;
834			no-map;
835		};
836
837		cdsp_mem: memory@87800000 {
838			reg = <0x0 0x87800000 0x0 0x1400000>;
839			no-map;
840		};
841
842		slpi_mem: memory@88c00000 {
843			reg = <0x0 0x88c00000 0x0 0x1500000>;
844			no-map;
845		};
846
847		adsp_mem: memory@8a100000 {
848			reg = <0x0 0x8a100000 0x0 0x1d00000>;
849			no-map;
850		};
851
852		spss_mem: memory@8be00000 {
853			reg = <0x0 0x8be00000 0x0 0x100000>;
854			no-map;
855		};
856
857		cdsp_secure_heap: memory@8bf00000 {
858			reg = <0x0 0x8bf00000 0x0 0x4600000>;
859			no-map;
860		};
861	};
862
863	smem {
864		compatible = "qcom,smem";
865		memory-region = <&smem_mem>;
866		hwlocks = <&tcsr_mutex 3>;
867	};
868
869	smp2p-adsp {
870		compatible = "qcom,smp2p";
871		qcom,smem = <443>, <429>;
872		interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
873					     IPCC_MPROC_SIGNAL_SMP2P
874					     IRQ_TYPE_EDGE_RISING>;
875		mboxes = <&ipcc IPCC_CLIENT_LPASS
876				IPCC_MPROC_SIGNAL_SMP2P>;
877
878		qcom,local-pid = <0>;
879		qcom,remote-pid = <2>;
880
881		smp2p_adsp_out: master-kernel {
882			qcom,entry-name = "master-kernel";
883			#qcom,smem-state-cells = <1>;
884		};
885
886		smp2p_adsp_in: slave-kernel {
887			qcom,entry-name = "slave-kernel";
888			interrupt-controller;
889			#interrupt-cells = <2>;
890		};
891	};
892
893	smp2p-cdsp {
894		compatible = "qcom,smp2p";
895		qcom,smem = <94>, <432>;
896		interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
897					     IPCC_MPROC_SIGNAL_SMP2P
898					     IRQ_TYPE_EDGE_RISING>;
899		mboxes = <&ipcc IPCC_CLIENT_CDSP
900				IPCC_MPROC_SIGNAL_SMP2P>;
901
902		qcom,local-pid = <0>;
903		qcom,remote-pid = <5>;
904
905		smp2p_cdsp_out: master-kernel {
906			qcom,entry-name = "master-kernel";
907			#qcom,smem-state-cells = <1>;
908		};
909
910		smp2p_cdsp_in: slave-kernel {
911			qcom,entry-name = "slave-kernel";
912			interrupt-controller;
913			#interrupt-cells = <2>;
914		};
915	};
916
917	smp2p-slpi {
918		compatible = "qcom,smp2p";
919		qcom,smem = <481>, <430>;
920		interrupts-extended = <&ipcc IPCC_CLIENT_SLPI
921					     IPCC_MPROC_SIGNAL_SMP2P
922					     IRQ_TYPE_EDGE_RISING>;
923		mboxes = <&ipcc IPCC_CLIENT_SLPI
924				IPCC_MPROC_SIGNAL_SMP2P>;
925
926		qcom,local-pid = <0>;
927		qcom,remote-pid = <3>;
928
929		smp2p_slpi_out: master-kernel {
930			qcom,entry-name = "master-kernel";
931			#qcom,smem-state-cells = <1>;
932		};
933
934		smp2p_slpi_in: slave-kernel {
935			qcom,entry-name = "slave-kernel";
936			interrupt-controller;
937			#interrupt-cells = <2>;
938		};
939	};
940
941	soc: soc@0 {
942		#address-cells = <2>;
943		#size-cells = <2>;
944		ranges = <0 0 0 0 0x10 0>;
945		dma-ranges = <0 0 0 0 0x10 0>;
946		compatible = "simple-bus";
947
948		gcc: clock-controller@100000 {
949			compatible = "qcom,gcc-sm8250";
950			reg = <0x0 0x00100000 0x0 0x1f0000>;
951			#clock-cells = <1>;
952			#reset-cells = <1>;
953			#power-domain-cells = <1>;
954			clock-names = "bi_tcxo",
955				      "bi_tcxo_ao",
956				      "sleep_clk";
957			clocks = <&rpmhcc RPMH_CXO_CLK>,
958				 <&rpmhcc RPMH_CXO_CLK_A>,
959				 <&sleep_clk>;
960		};
961
962		ipcc: mailbox@408000 {
963			compatible = "qcom,sm8250-ipcc", "qcom,ipcc";
964			reg = <0 0x00408000 0 0x1000>;
965			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
966			interrupt-controller;
967			#interrupt-cells = <3>;
968			#mbox-cells = <2>;
969		};
970
971		qfprom: efuse@784000 {
972			compatible = "qcom,sm8250-qfprom", "qcom,qfprom";
973			reg = <0 0x00784000 0 0x8ff>;
974			#address-cells = <1>;
975			#size-cells = <1>;
976
977			gpu_speed_bin: gpu-speed-bin@19b {
978				reg = <0x19b 0x1>;
979				bits = <5 3>;
980			};
981		};
982
983		rng: rng@793000 {
984			compatible = "qcom,prng-ee";
985			reg = <0 0x00793000 0 0x1000>;
986			clocks = <&gcc GCC_PRNG_AHB_CLK>;
987			clock-names = "core";
988		};
989
990		gpi_dma2: dma-controller@800000 {
991			compatible = "qcom,sm8250-gpi-dma", "qcom,sdm845-gpi-dma";
992			reg = <0 0x00800000 0 0x70000>;
993			interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
994				     <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
995				     <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
996				     <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>,
997				     <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>,
998				     <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>,
999				     <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>,
1000				     <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>,
1001				     <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>,
1002				     <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>;
1003			dma-channels = <10>;
1004			dma-channel-mask = <0x3f>;
1005			iommus = <&apps_smmu 0x76 0x0>;
1006			#dma-cells = <3>;
1007			status = "disabled";
1008		};
1009
1010		qupv3_id_2: geniqup@8c0000 {
1011			compatible = "qcom,geni-se-qup";
1012			reg = <0x0 0x008c0000 0x0 0x6000>;
1013			clock-names = "m-ahb", "s-ahb";
1014			clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>,
1015				 <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>;
1016			#address-cells = <2>;
1017			#size-cells = <2>;
1018			iommus = <&apps_smmu 0x63 0x0>;
1019			ranges;
1020			status = "disabled";
1021
1022			i2c14: i2c@880000 {
1023				compatible = "qcom,geni-i2c";
1024				reg = <0 0x00880000 0 0x4000>;
1025				clock-names = "se";
1026				clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
1027				pinctrl-names = "default";
1028				pinctrl-0 = <&qup_i2c14_default>;
1029				interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1030				dmas = <&gpi_dma2 0 0 QCOM_GPI_I2C>,
1031				       <&gpi_dma2 1 0 QCOM_GPI_I2C>;
1032				dma-names = "tx", "rx";
1033				power-domains = <&rpmhpd SM8250_CX>;
1034				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1035						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>,
1036						<&aggre1_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>;
1037				interconnect-names = "qup-core",
1038						     "qup-config",
1039						     "qup-memory";
1040				#address-cells = <1>;
1041				#size-cells = <0>;
1042				status = "disabled";
1043			};
1044
1045			spi14: spi@880000 {
1046				compatible = "qcom,geni-spi";
1047				reg = <0 0x00880000 0 0x4000>;
1048				clock-names = "se";
1049				clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
1050				interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1051				dmas = <&gpi_dma2 0 0 QCOM_GPI_SPI>,
1052				       <&gpi_dma2 1 0 QCOM_GPI_SPI>;
1053				dma-names = "tx", "rx";
1054				power-domains = <&rpmhpd RPMHPD_CX>;
1055				operating-points-v2 = <&qup_opp_table>;
1056				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1057						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>,
1058						<&aggre1_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>;
1059				interconnect-names = "qup-core",
1060						     "qup-config",
1061						     "qup-memory";
1062				#address-cells = <1>;
1063				#size-cells = <0>;
1064				status = "disabled";
1065			};
1066
1067			i2c15: i2c@884000 {
1068				compatible = "qcom,geni-i2c";
1069				reg = <0 0x00884000 0 0x4000>;
1070				clock-names = "se";
1071				clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
1072				pinctrl-names = "default";
1073				pinctrl-0 = <&qup_i2c15_default>;
1074				interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
1075				dmas = <&gpi_dma2 0 1 QCOM_GPI_I2C>,
1076				       <&gpi_dma2 1 1 QCOM_GPI_I2C>;
1077				dma-names = "tx", "rx";
1078				power-domains = <&rpmhpd SM8250_CX>;
1079				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1080						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>,
1081						<&aggre1_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>;
1082				interconnect-names = "qup-core",
1083						     "qup-config",
1084						     "qup-memory";
1085				#address-cells = <1>;
1086				#size-cells = <0>;
1087				status = "disabled";
1088			};
1089
1090			spi15: spi@884000 {
1091				compatible = "qcom,geni-spi";
1092				reg = <0 0x00884000 0 0x4000>;
1093				clock-names = "se";
1094				clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
1095				interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
1096				dmas = <&gpi_dma2 0 1 QCOM_GPI_SPI>,
1097				       <&gpi_dma2 1 1 QCOM_GPI_SPI>;
1098				dma-names = "tx", "rx";
1099				power-domains = <&rpmhpd RPMHPD_CX>;
1100				operating-points-v2 = <&qup_opp_table>;
1101				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1102						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>,
1103						<&aggre1_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>;
1104				interconnect-names = "qup-core",
1105						     "qup-config",
1106						     "qup-memory";
1107				#address-cells = <1>;
1108				#size-cells = <0>;
1109				status = "disabled";
1110			};
1111
1112			i2c16: i2c@888000 {
1113				compatible = "qcom,geni-i2c";
1114				reg = <0 0x00888000 0 0x4000>;
1115				clock-names = "se";
1116				clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
1117				pinctrl-names = "default";
1118				pinctrl-0 = <&qup_i2c16_default>;
1119				interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
1120				dmas = <&gpi_dma2 0 2 QCOM_GPI_I2C>,
1121				       <&gpi_dma2 1 2 QCOM_GPI_I2C>;
1122				dma-names = "tx", "rx";
1123				power-domains = <&rpmhpd SM8250_CX>;
1124				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1125						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>,
1126						<&aggre1_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>;
1127				interconnect-names = "qup-core",
1128						     "qup-config",
1129						     "qup-memory";
1130				#address-cells = <1>;
1131				#size-cells = <0>;
1132				status = "disabled";
1133			};
1134
1135			spi16: spi@888000 {
1136				compatible = "qcom,geni-spi";
1137				reg = <0 0x00888000 0 0x4000>;
1138				clock-names = "se";
1139				clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
1140				interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
1141				dmas = <&gpi_dma2 0 2 QCOM_GPI_SPI>,
1142				       <&gpi_dma2 1 2 QCOM_GPI_SPI>;
1143				dma-names = "tx", "rx";
1144				power-domains = <&rpmhpd RPMHPD_CX>;
1145				operating-points-v2 = <&qup_opp_table>;
1146				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1147						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>,
1148						<&aggre1_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>;
1149				interconnect-names = "qup-core",
1150						     "qup-config",
1151						     "qup-memory";
1152				#address-cells = <1>;
1153				#size-cells = <0>;
1154				status = "disabled";
1155			};
1156
1157			i2c17: i2c@88c000 {
1158				compatible = "qcom,geni-i2c";
1159				reg = <0 0x0088c000 0 0x4000>;
1160				clock-names = "se";
1161				clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
1162				pinctrl-names = "default";
1163				pinctrl-0 = <&qup_i2c17_default>;
1164				interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
1165				dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>,
1166				       <&gpi_dma2 1 3 QCOM_GPI_I2C>;
1167				dma-names = "tx", "rx";
1168				power-domains = <&rpmhpd SM8250_CX>;
1169				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1170						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>,
1171						<&aggre1_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>;
1172				interconnect-names = "qup-core",
1173						     "qup-config",
1174						     "qup-memory";
1175				#address-cells = <1>;
1176				#size-cells = <0>;
1177				status = "disabled";
1178			};
1179
1180			spi17: spi@88c000 {
1181				compatible = "qcom,geni-spi";
1182				reg = <0 0x0088c000 0 0x4000>;
1183				clock-names = "se";
1184				clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
1185				interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
1186				dmas = <&gpi_dma2 0 3 QCOM_GPI_SPI>,
1187				       <&gpi_dma2 1 3 QCOM_GPI_SPI>;
1188				dma-names = "tx", "rx";
1189				power-domains = <&rpmhpd RPMHPD_CX>;
1190				operating-points-v2 = <&qup_opp_table>;
1191				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1192						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>,
1193						<&aggre1_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>;
1194				interconnect-names = "qup-core",
1195						     "qup-config",
1196						     "qup-memory";
1197				#address-cells = <1>;
1198				#size-cells = <0>;
1199				status = "disabled";
1200			};
1201
1202			uart17: serial@88c000 {
1203				compatible = "qcom,geni-uart";
1204				reg = <0 0x0088c000 0 0x4000>;
1205				clock-names = "se";
1206				clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
1207				pinctrl-names = "default";
1208				pinctrl-0 = <&qup_uart17_default>;
1209				interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
1210				power-domains = <&rpmhpd RPMHPD_CX>;
1211				operating-points-v2 = <&qup_opp_table>;
1212				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1213						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>;
1214				interconnect-names = "qup-core",
1215						     "qup-config";
1216				status = "disabled";
1217			};
1218
1219			i2c18: i2c@890000 {
1220				compatible = "qcom,geni-i2c";
1221				reg = <0 0x00890000 0 0x4000>;
1222				clock-names = "se";
1223				clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
1224				pinctrl-names = "default";
1225				pinctrl-0 = <&qup_i2c18_default>;
1226				interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
1227				dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>,
1228				       <&gpi_dma2 1 4 QCOM_GPI_I2C>;
1229				dma-names = "tx", "rx";
1230				power-domains = <&rpmhpd SM8250_CX>;
1231				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1232						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>,
1233						<&aggre1_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>;
1234				interconnect-names = "qup-core",
1235						     "qup-config",
1236						     "qup-memory";
1237				#address-cells = <1>;
1238				#size-cells = <0>;
1239				status = "disabled";
1240			};
1241
1242			spi18: spi@890000 {
1243				compatible = "qcom,geni-spi";
1244				reg = <0 0x00890000 0 0x4000>;
1245				clock-names = "se";
1246				clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
1247				interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
1248				dmas = <&gpi_dma2 0 4 QCOM_GPI_SPI>,
1249				       <&gpi_dma2 1 4 QCOM_GPI_SPI>;
1250				dma-names = "tx", "rx";
1251				power-domains = <&rpmhpd RPMHPD_CX>;
1252				operating-points-v2 = <&qup_opp_table>;
1253				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1254						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>,
1255						<&aggre1_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>;
1256				interconnect-names = "qup-core",
1257						     "qup-config",
1258						     "qup-memory";
1259				#address-cells = <1>;
1260				#size-cells = <0>;
1261				status = "disabled";
1262			};
1263
1264			uart18: serial@890000 {
1265				compatible = "qcom,geni-uart";
1266				reg = <0 0x00890000 0 0x4000>;
1267				clock-names = "se";
1268				clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
1269				pinctrl-names = "default";
1270				pinctrl-0 = <&qup_uart18_default>;
1271				interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
1272				power-domains = <&rpmhpd RPMHPD_CX>;
1273				operating-points-v2 = <&qup_opp_table>;
1274				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1275						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>;
1276				interconnect-names = "qup-core",
1277						     "qup-config";
1278				status = "disabled";
1279			};
1280
1281			i2c19: i2c@894000 {
1282				compatible = "qcom,geni-i2c";
1283				reg = <0 0x00894000 0 0x4000>;
1284				clock-names = "se";
1285				clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
1286				pinctrl-names = "default";
1287				pinctrl-0 = <&qup_i2c19_default>;
1288				interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
1289				dmas = <&gpi_dma2 0 5 QCOM_GPI_I2C>,
1290				       <&gpi_dma2 1 5 QCOM_GPI_I2C>;
1291				dma-names = "tx", "rx";
1292				power-domains = <&rpmhpd SM8250_CX>;
1293				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1294						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>,
1295						<&aggre1_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>;
1296				interconnect-names = "qup-core",
1297						     "qup-config",
1298						     "qup-memory";
1299				#address-cells = <1>;
1300				#size-cells = <0>;
1301				status = "disabled";
1302			};
1303
1304			spi19: spi@894000 {
1305				compatible = "qcom,geni-spi";
1306				reg = <0 0x00894000 0 0x4000>;
1307				clock-names = "se";
1308				clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
1309				interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
1310				dmas = <&gpi_dma2 0 5 QCOM_GPI_SPI>,
1311				       <&gpi_dma2 1 5 QCOM_GPI_SPI>;
1312				dma-names = "tx", "rx";
1313				power-domains = <&rpmhpd RPMHPD_CX>;
1314				operating-points-v2 = <&qup_opp_table>;
1315				interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
1316						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>,
1317						<&aggre1_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>;
1318				interconnect-names = "qup-core",
1319						     "qup-config",
1320						     "qup-memory";
1321				#address-cells = <1>;
1322				#size-cells = <0>;
1323				status = "disabled";
1324			};
1325		};
1326
1327		gpi_dma0: dma-controller@900000 {
1328			compatible = "qcom,sm8250-gpi-dma", "qcom,sdm845-gpi-dma";
1329			reg = <0 0x00900000 0 0x70000>;
1330			interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
1331				     <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
1332				     <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
1333				     <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
1334				     <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
1335				     <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
1336				     <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
1337				     <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
1338				     <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
1339				     <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
1340				     <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
1341				     <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
1342				     <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
1343			dma-channels = <15>;
1344			dma-channel-mask = <0x7ff>;
1345			iommus = <&apps_smmu 0x5b6 0x0>;
1346			#dma-cells = <3>;
1347			status = "disabled";
1348		};
1349
1350		qupv3_id_0: geniqup@9c0000 {
1351			compatible = "qcom,geni-se-qup";
1352			reg = <0x0 0x009c0000 0x0 0x6000>;
1353			clock-names = "m-ahb", "s-ahb";
1354			clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
1355				 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
1356			#address-cells = <2>;
1357			#size-cells = <2>;
1358			iommus = <&apps_smmu 0x5a3 0x0>;
1359			ranges;
1360			status = "disabled";
1361
1362			i2c0: i2c@980000 {
1363				compatible = "qcom,geni-i2c";
1364				reg = <0 0x00980000 0 0x4000>;
1365				clock-names = "se";
1366				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1367				pinctrl-names = "default";
1368				pinctrl-0 = <&qup_i2c0_default>;
1369				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1370				dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
1371				       <&gpi_dma0 1 0 QCOM_GPI_I2C>;
1372				dma-names = "tx", "rx";
1373				power-domains = <&rpmhpd SM8250_CX>;
1374				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1375						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1376						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1377				interconnect-names = "qup-core",
1378						     "qup-config",
1379						     "qup-memory";
1380				#address-cells = <1>;
1381				#size-cells = <0>;
1382				status = "disabled";
1383			};
1384
1385			spi0: spi@980000 {
1386				compatible = "qcom,geni-spi";
1387				reg = <0 0x00980000 0 0x4000>;
1388				clock-names = "se";
1389				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1390				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1391				dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
1392				       <&gpi_dma0 1 0 QCOM_GPI_SPI>;
1393				dma-names = "tx", "rx";
1394				power-domains = <&rpmhpd RPMHPD_CX>;
1395				operating-points-v2 = <&qup_opp_table>;
1396				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1397						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1398						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1399				interconnect-names = "qup-core",
1400						     "qup-config",
1401						     "qup-memory";
1402				#address-cells = <1>;
1403				#size-cells = <0>;
1404				status = "disabled";
1405			};
1406
1407			i2c1: i2c@984000 {
1408				compatible = "qcom,geni-i2c";
1409				reg = <0 0x00984000 0 0x4000>;
1410				clock-names = "se";
1411				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1412				pinctrl-names = "default";
1413				pinctrl-0 = <&qup_i2c1_default>;
1414				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1415				dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
1416				       <&gpi_dma0 1 1 QCOM_GPI_I2C>;
1417				dma-names = "tx", "rx";
1418				power-domains = <&rpmhpd SM8250_CX>;
1419				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1420						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1421						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1422				interconnect-names = "qup-core",
1423						     "qup-config",
1424						     "qup-memory";
1425				#address-cells = <1>;
1426				#size-cells = <0>;
1427				status = "disabled";
1428			};
1429
1430			spi1: spi@984000 {
1431				compatible = "qcom,geni-spi";
1432				reg = <0 0x00984000 0 0x4000>;
1433				clock-names = "se";
1434				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1435				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1436				dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>,
1437				       <&gpi_dma0 1 1 QCOM_GPI_SPI>;
1438				dma-names = "tx", "rx";
1439				power-domains = <&rpmhpd RPMHPD_CX>;
1440				operating-points-v2 = <&qup_opp_table>;
1441				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1442						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1443						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1444				interconnect-names = "qup-core",
1445						     "qup-config",
1446						     "qup-memory";
1447				#address-cells = <1>;
1448				#size-cells = <0>;
1449				status = "disabled";
1450			};
1451
1452			i2c2: i2c@988000 {
1453				compatible = "qcom,geni-i2c";
1454				reg = <0 0x00988000 0 0x4000>;
1455				clock-names = "se";
1456				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1457				pinctrl-names = "default";
1458				pinctrl-0 = <&qup_i2c2_default>;
1459				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1460				dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
1461				       <&gpi_dma0 1 2 QCOM_GPI_I2C>;
1462				dma-names = "tx", "rx";
1463				power-domains = <&rpmhpd SM8250_CX>;
1464				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1465						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1466						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1467				interconnect-names = "qup-core",
1468						     "qup-config",
1469						     "qup-memory";
1470				#address-cells = <1>;
1471				#size-cells = <0>;
1472				status = "disabled";
1473			};
1474
1475			spi2: spi@988000 {
1476				compatible = "qcom,geni-spi";
1477				reg = <0 0x00988000 0 0x4000>;
1478				clock-names = "se";
1479				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1480				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1481				dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
1482				       <&gpi_dma0 1 2 QCOM_GPI_SPI>;
1483				dma-names = "tx", "rx";
1484				power-domains = <&rpmhpd RPMHPD_CX>;
1485				operating-points-v2 = <&qup_opp_table>;
1486				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1487						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1488						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1489				interconnect-names = "qup-core",
1490						     "qup-config",
1491						     "qup-memory";
1492				#address-cells = <1>;
1493				#size-cells = <0>;
1494				status = "disabled";
1495			};
1496
1497			uart2: serial@988000 {
1498				compatible = "qcom,geni-debug-uart";
1499				reg = <0 0x00988000 0 0x4000>;
1500				clock-names = "se";
1501				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1502				pinctrl-names = "default";
1503				pinctrl-0 = <&qup_uart2_default>;
1504				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1505				power-domains = <&rpmhpd RPMHPD_CX>;
1506				operating-points-v2 = <&qup_opp_table>;
1507				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1508						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>;
1509				interconnect-names = "qup-core",
1510						     "qup-config";
1511				status = "disabled";
1512			};
1513
1514			i2c3: i2c@98c000 {
1515				compatible = "qcom,geni-i2c";
1516				reg = <0 0x0098c000 0 0x4000>;
1517				clock-names = "se";
1518				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1519				pinctrl-names = "default";
1520				pinctrl-0 = <&qup_i2c3_default>;
1521				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1522				dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
1523				       <&gpi_dma0 1 3 QCOM_GPI_I2C>;
1524				dma-names = "tx", "rx";
1525				power-domains = <&rpmhpd SM8250_CX>;
1526				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1527						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1528						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1529				interconnect-names = "qup-core",
1530						     "qup-config",
1531						     "qup-memory";
1532				#address-cells = <1>;
1533				#size-cells = <0>;
1534				status = "disabled";
1535			};
1536
1537			spi3: spi@98c000 {
1538				compatible = "qcom,geni-spi";
1539				reg = <0 0x0098c000 0 0x4000>;
1540				clock-names = "se";
1541				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1542				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1543				dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>,
1544				       <&gpi_dma0 1 3 QCOM_GPI_SPI>;
1545				dma-names = "tx", "rx";
1546				power-domains = <&rpmhpd RPMHPD_CX>;
1547				operating-points-v2 = <&qup_opp_table>;
1548				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1549						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1550						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1551				interconnect-names = "qup-core",
1552						     "qup-config",
1553						     "qup-memory";
1554				#address-cells = <1>;
1555				#size-cells = <0>;
1556				status = "disabled";
1557			};
1558
1559			i2c4: i2c@990000 {
1560				compatible = "qcom,geni-i2c";
1561				reg = <0 0x00990000 0 0x4000>;
1562				clock-names = "se";
1563				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1564				pinctrl-names = "default";
1565				pinctrl-0 = <&qup_i2c4_default>;
1566				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1567				dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
1568				       <&gpi_dma0 1 4 QCOM_GPI_I2C>;
1569				dma-names = "tx", "rx";
1570				power-domains = <&rpmhpd SM8250_CX>;
1571				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1572						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1573						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1574				interconnect-names = "qup-core",
1575						     "qup-config",
1576						     "qup-memory";
1577				#address-cells = <1>;
1578				#size-cells = <0>;
1579				status = "disabled";
1580			};
1581
1582			spi4: spi@990000 {
1583				compatible = "qcom,geni-spi";
1584				reg = <0 0x00990000 0 0x4000>;
1585				clock-names = "se";
1586				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1587				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1588				dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>,
1589				       <&gpi_dma0 1 4 QCOM_GPI_SPI>;
1590				dma-names = "tx", "rx";
1591				power-domains = <&rpmhpd RPMHPD_CX>;
1592				operating-points-v2 = <&qup_opp_table>;
1593				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1594						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1595						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1596				interconnect-names = "qup-core",
1597						     "qup-config",
1598						     "qup-memory";
1599				#address-cells = <1>;
1600				#size-cells = <0>;
1601				status = "disabled";
1602			};
1603
1604			i2c5: i2c@994000 {
1605				compatible = "qcom,geni-i2c";
1606				reg = <0 0x00994000 0 0x4000>;
1607				clock-names = "se";
1608				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1609				pinctrl-names = "default";
1610				pinctrl-0 = <&qup_i2c5_default>;
1611				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1612				dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
1613				       <&gpi_dma0 1 5 QCOM_GPI_I2C>;
1614				dma-names = "tx", "rx";
1615				power-domains = <&rpmhpd SM8250_CX>;
1616				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1617						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1618						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1619				interconnect-names = "qup-core",
1620						     "qup-config",
1621						     "qup-memory";
1622				#address-cells = <1>;
1623				#size-cells = <0>;
1624				status = "disabled";
1625			};
1626
1627			spi5: spi@994000 {
1628				compatible = "qcom,geni-spi";
1629				reg = <0 0x00994000 0 0x4000>;
1630				clock-names = "se";
1631				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1632				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1633				dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>,
1634				       <&gpi_dma0 1 5 QCOM_GPI_SPI>;
1635				dma-names = "tx", "rx";
1636				power-domains = <&rpmhpd RPMHPD_CX>;
1637				operating-points-v2 = <&qup_opp_table>;
1638				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1639						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1640						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1641				interconnect-names = "qup-core",
1642						     "qup-config",
1643						     "qup-memory";
1644				#address-cells = <1>;
1645				#size-cells = <0>;
1646				status = "disabled";
1647			};
1648
1649			i2c6: i2c@998000 {
1650				compatible = "qcom,geni-i2c";
1651				reg = <0 0x00998000 0 0x4000>;
1652				clock-names = "se";
1653				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1654				pinctrl-names = "default";
1655				pinctrl-0 = <&qup_i2c6_default>;
1656				interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1657				dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>,
1658				       <&gpi_dma0 1 6 QCOM_GPI_I2C>;
1659				dma-names = "tx", "rx";
1660				power-domains = <&rpmhpd SM8250_CX>;
1661				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1662						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1663						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1664				interconnect-names = "qup-core",
1665						     "qup-config",
1666						     "qup-memory";
1667				#address-cells = <1>;
1668				#size-cells = <0>;
1669				status = "disabled";
1670			};
1671
1672			spi6: spi@998000 {
1673				compatible = "qcom,geni-spi";
1674				reg = <0 0x00998000 0 0x4000>;
1675				clock-names = "se";
1676				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1677				interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1678				dmas = <&gpi_dma0 0 6 QCOM_GPI_SPI>,
1679				       <&gpi_dma0 1 6 QCOM_GPI_SPI>;
1680				dma-names = "tx", "rx";
1681				power-domains = <&rpmhpd RPMHPD_CX>;
1682				operating-points-v2 = <&qup_opp_table>;
1683				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1684						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1685						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1686				interconnect-names = "qup-core",
1687						     "qup-config",
1688						     "qup-memory";
1689				#address-cells = <1>;
1690				#size-cells = <0>;
1691				status = "disabled";
1692			};
1693
1694			uart6: serial@998000 {
1695				compatible = "qcom,geni-uart";
1696				reg = <0 0x00998000 0 0x4000>;
1697				clock-names = "se";
1698				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1699				pinctrl-names = "default";
1700				pinctrl-0 = <&qup_uart6_default>;
1701				interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1702				power-domains = <&rpmhpd RPMHPD_CX>;
1703				operating-points-v2 = <&qup_opp_table>;
1704				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1705						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>;
1706				interconnect-names = "qup-core",
1707						     "qup-config";
1708				status = "disabled";
1709			};
1710
1711			i2c7: i2c@99c000 {
1712				compatible = "qcom,geni-i2c";
1713				reg = <0 0x0099c000 0 0x4000>;
1714				clock-names = "se";
1715				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1716				pinctrl-names = "default";
1717				pinctrl-0 = <&qup_i2c7_default>;
1718				interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1719				dmas = <&gpi_dma0 0 7 QCOM_GPI_I2C>,
1720				       <&gpi_dma0 1 7 QCOM_GPI_I2C>;
1721				dma-names = "tx", "rx";
1722				power-domains = <&rpmhpd SM8250_CX>;
1723				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1724						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1725						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1726				interconnect-names = "qup-core",
1727						     "qup-config",
1728						     "qup-memory";
1729				#address-cells = <1>;
1730				#size-cells = <0>;
1731				status = "disabled";
1732			};
1733
1734			spi7: spi@99c000 {
1735				compatible = "qcom,geni-spi";
1736				reg = <0 0x0099c000 0 0x4000>;
1737				clock-names = "se";
1738				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1739				interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1740				dmas = <&gpi_dma0 0 7 QCOM_GPI_SPI>,
1741				       <&gpi_dma0 1 7 QCOM_GPI_SPI>;
1742				dma-names = "tx", "rx";
1743				power-domains = <&rpmhpd RPMHPD_CX>;
1744				operating-points-v2 = <&qup_opp_table>;
1745				interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
1746						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>,
1747						<&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>;
1748				interconnect-names = "qup-core",
1749						     "qup-config",
1750						     "qup-memory";
1751				#address-cells = <1>;
1752				#size-cells = <0>;
1753				status = "disabled";
1754			};
1755		};
1756
1757		gpi_dma1: dma-controller@a00000 {
1758			compatible = "qcom,sm8250-gpi-dma", "qcom,sdm845-gpi-dma";
1759			reg = <0 0x00a00000 0 0x70000>;
1760			interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
1761				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
1762				     <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
1763				     <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
1764				     <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
1765				     <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
1766				     <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
1767				     <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
1768				     <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
1769				     <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>;
1770			dma-channels = <10>;
1771			dma-channel-mask = <0x3f>;
1772			iommus = <&apps_smmu 0x56 0x0>;
1773			#dma-cells = <3>;
1774			status = "disabled";
1775		};
1776
1777		qupv3_id_1: geniqup@ac0000 {
1778			compatible = "qcom,geni-se-qup";
1779			reg = <0x0 0x00ac0000 0x0 0x6000>;
1780			clock-names = "m-ahb", "s-ahb";
1781			clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
1782				 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
1783			#address-cells = <2>;
1784			#size-cells = <2>;
1785			iommus = <&apps_smmu 0x43 0x0>;
1786			ranges;
1787			status = "disabled";
1788
1789			i2c8: i2c@a80000 {
1790				compatible = "qcom,geni-i2c";
1791				reg = <0 0x00a80000 0 0x4000>;
1792				clock-names = "se";
1793				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1794				pinctrl-names = "default";
1795				pinctrl-0 = <&qup_i2c8_default>;
1796				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1797				dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
1798				       <&gpi_dma1 1 0 QCOM_GPI_I2C>;
1799				dma-names = "tx", "rx";
1800				power-domains = <&rpmhpd SM8250_CX>;
1801				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1802						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>,
1803						<&aggre1_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>;
1804				interconnect-names = "qup-core",
1805						     "qup-config",
1806						     "qup-memory";
1807				#address-cells = <1>;
1808				#size-cells = <0>;
1809				status = "disabled";
1810			};
1811
1812			spi8: spi@a80000 {
1813				compatible = "qcom,geni-spi";
1814				reg = <0 0x00a80000 0 0x4000>;
1815				clock-names = "se";
1816				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1817				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1818				dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>,
1819				       <&gpi_dma1 1 0 QCOM_GPI_SPI>;
1820				dma-names = "tx", "rx";
1821				power-domains = <&rpmhpd RPMHPD_CX>;
1822				operating-points-v2 = <&qup_opp_table>;
1823				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1824						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>,
1825						<&aggre1_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>;
1826				interconnect-names = "qup-core",
1827						     "qup-config",
1828						     "qup-memory";
1829				#address-cells = <1>;
1830				#size-cells = <0>;
1831				status = "disabled";
1832			};
1833
1834			i2c9: i2c@a84000 {
1835				compatible = "qcom,geni-i2c";
1836				reg = <0 0x00a84000 0 0x4000>;
1837				clock-names = "se";
1838				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1839				pinctrl-names = "default";
1840				pinctrl-0 = <&qup_i2c9_default>;
1841				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1842				dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
1843				       <&gpi_dma1 1 1 QCOM_GPI_I2C>;
1844				dma-names = "tx", "rx";
1845				power-domains = <&rpmhpd SM8250_CX>;
1846				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1847						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>,
1848						<&aggre1_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>;
1849				interconnect-names = "qup-core",
1850						     "qup-config",
1851						     "qup-memory";
1852				#address-cells = <1>;
1853				#size-cells = <0>;
1854				status = "disabled";
1855			};
1856
1857			spi9: spi@a84000 {
1858				compatible = "qcom,geni-spi";
1859				reg = <0 0x00a84000 0 0x4000>;
1860				clock-names = "se";
1861				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1862				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1863				dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>,
1864				       <&gpi_dma1 1 1 QCOM_GPI_SPI>;
1865				dma-names = "tx", "rx";
1866				power-domains = <&rpmhpd RPMHPD_CX>;
1867				operating-points-v2 = <&qup_opp_table>;
1868				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1869						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>,
1870						<&aggre1_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>;
1871				interconnect-names = "qup-core",
1872						     "qup-config",
1873						     "qup-memory";
1874				#address-cells = <1>;
1875				#size-cells = <0>;
1876				status = "disabled";
1877			};
1878
1879			i2c10: i2c@a88000 {
1880				compatible = "qcom,geni-i2c";
1881				reg = <0 0x00a88000 0 0x4000>;
1882				clock-names = "se";
1883				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1884				pinctrl-names = "default";
1885				pinctrl-0 = <&qup_i2c10_default>;
1886				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1887				dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
1888				       <&gpi_dma1 1 2 QCOM_GPI_I2C>;
1889				dma-names = "tx", "rx";
1890				power-domains = <&rpmhpd SM8250_CX>;
1891				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1892						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>,
1893						<&aggre1_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>;
1894				interconnect-names = "qup-core",
1895						     "qup-config",
1896						     "qup-memory";
1897				#address-cells = <1>;
1898				#size-cells = <0>;
1899				status = "disabled";
1900			};
1901
1902			spi10: spi@a88000 {
1903				compatible = "qcom,geni-spi";
1904				reg = <0 0x00a88000 0 0x4000>;
1905				clock-names = "se";
1906				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1907				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1908				dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>,
1909				       <&gpi_dma1 1 2 QCOM_GPI_SPI>;
1910				dma-names = "tx", "rx";
1911				power-domains = <&rpmhpd RPMHPD_CX>;
1912				operating-points-v2 = <&qup_opp_table>;
1913				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1914						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>,
1915						<&aggre1_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>;
1916				interconnect-names = "qup-core",
1917						     "qup-config",
1918						     "qup-memory";
1919				#address-cells = <1>;
1920				#size-cells = <0>;
1921				status = "disabled";
1922			};
1923
1924			i2c11: i2c@a8c000 {
1925				compatible = "qcom,geni-i2c";
1926				reg = <0 0x00a8c000 0 0x4000>;
1927				clock-names = "se";
1928				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1929				pinctrl-names = "default";
1930				pinctrl-0 = <&qup_i2c11_default>;
1931				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1932				dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
1933				       <&gpi_dma1 1 3 QCOM_GPI_I2C>;
1934				dma-names = "tx", "rx";
1935				power-domains = <&rpmhpd SM8250_CX>;
1936				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1937						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>,
1938						<&aggre1_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>;
1939				interconnect-names = "qup-core",
1940						     "qup-config",
1941						     "qup-memory";
1942				#address-cells = <1>;
1943				#size-cells = <0>;
1944				status = "disabled";
1945			};
1946
1947			spi11: spi@a8c000 {
1948				compatible = "qcom,geni-spi";
1949				reg = <0 0x00a8c000 0 0x4000>;
1950				clock-names = "se";
1951				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1952				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1953				dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>,
1954				       <&gpi_dma1 1 3 QCOM_GPI_SPI>;
1955				dma-names = "tx", "rx";
1956				power-domains = <&rpmhpd RPMHPD_CX>;
1957				operating-points-v2 = <&qup_opp_table>;
1958				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1959						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>,
1960						<&aggre1_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>;
1961				interconnect-names = "qup-core",
1962						     "qup-config",
1963						     "qup-memory";
1964				#address-cells = <1>;
1965				#size-cells = <0>;
1966				status = "disabled";
1967			};
1968
1969			i2c12: i2c@a90000 {
1970				compatible = "qcom,geni-i2c";
1971				reg = <0 0x00a90000 0 0x4000>;
1972				clock-names = "se";
1973				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1974				pinctrl-names = "default";
1975				pinctrl-0 = <&qup_i2c12_default>;
1976				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1977				dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
1978				       <&gpi_dma1 1 4 QCOM_GPI_I2C>;
1979				dma-names = "tx", "rx";
1980				power-domains = <&rpmhpd SM8250_CX>;
1981				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
1982						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>,
1983						<&aggre1_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>;
1984				interconnect-names = "qup-core",
1985						     "qup-config",
1986						     "qup-memory";
1987				#address-cells = <1>;
1988				#size-cells = <0>;
1989				status = "disabled";
1990			};
1991
1992			spi12: spi@a90000 {
1993				compatible = "qcom,geni-spi";
1994				reg = <0 0x00a90000 0 0x4000>;
1995				clock-names = "se";
1996				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1997				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1998				dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>,
1999				       <&gpi_dma1 1 4 QCOM_GPI_SPI>;
2000				dma-names = "tx", "rx";
2001				power-domains = <&rpmhpd RPMHPD_CX>;
2002				operating-points-v2 = <&qup_opp_table>;
2003				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
2004						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>,
2005						<&aggre1_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>;
2006				interconnect-names = "qup-core",
2007						     "qup-config",
2008						     "qup-memory";
2009				#address-cells = <1>;
2010				#size-cells = <0>;
2011				status = "disabled";
2012			};
2013
2014			uart12: serial@a90000 {
2015				compatible = "qcom,geni-debug-uart";
2016				reg = <0x0 0x00a90000 0x0 0x4000>;
2017				clock-names = "se";
2018				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
2019				pinctrl-names = "default";
2020				pinctrl-0 = <&qup_uart12_default>;
2021				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
2022				power-domains = <&rpmhpd RPMHPD_CX>;
2023				operating-points-v2 = <&qup_opp_table>;
2024				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
2025						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>;
2026				interconnect-names = "qup-core",
2027						     "qup-config";
2028				status = "disabled";
2029			};
2030
2031			i2c13: i2c@a94000 {
2032				compatible = "qcom,geni-i2c";
2033				reg = <0 0x00a94000 0 0x4000>;
2034				clock-names = "se";
2035				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
2036				pinctrl-names = "default";
2037				pinctrl-0 = <&qup_i2c13_default>;
2038				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
2039				dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>,
2040				       <&gpi_dma1 1 5 QCOM_GPI_I2C>;
2041				dma-names = "tx", "rx";
2042				power-domains = <&rpmhpd SM8250_CX>;
2043				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
2044						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>,
2045						<&aggre1_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>;
2046				interconnect-names = "qup-core",
2047						     "qup-config",
2048						     "qup-memory";
2049				#address-cells = <1>;
2050				#size-cells = <0>;
2051				status = "disabled";
2052			};
2053
2054			spi13: spi@a94000 {
2055				compatible = "qcom,geni-spi";
2056				reg = <0 0x00a94000 0 0x4000>;
2057				clock-names = "se";
2058				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
2059				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
2060				dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>,
2061				       <&gpi_dma1 1 5 QCOM_GPI_SPI>;
2062				dma-names = "tx", "rx";
2063				power-domains = <&rpmhpd RPMHPD_CX>;
2064				operating-points-v2 = <&qup_opp_table>;
2065				interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>,
2066						<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>,
2067						<&aggre1_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>;
2068				interconnect-names = "qup-core",
2069						     "qup-config",
2070						     "qup-memory";
2071				#address-cells = <1>;
2072				#size-cells = <0>;
2073				status = "disabled";
2074			};
2075		};
2076
2077		config_noc: interconnect@1500000 {
2078			compatible = "qcom,sm8250-config-noc";
2079			reg = <0 0x01500000 0 0xa580>;
2080			#interconnect-cells = <2>;
2081			qcom,bcm-voters = <&apps_bcm_voter>;
2082		};
2083
2084		system_noc: interconnect@1620000 {
2085			compatible = "qcom,sm8250-system-noc";
2086			reg = <0 0x01620000 0 0x1c200>;
2087			#interconnect-cells = <2>;
2088			qcom,bcm-voters = <&apps_bcm_voter>;
2089		};
2090
2091		mc_virt: interconnect@163d000 {
2092			compatible = "qcom,sm8250-mc-virt";
2093			reg = <0 0x0163d000 0 0x1000>;
2094			#interconnect-cells = <2>;
2095			qcom,bcm-voters = <&apps_bcm_voter>;
2096		};
2097
2098		aggre1_noc: interconnect@16e0000 {
2099			compatible = "qcom,sm8250-aggre1-noc";
2100			reg = <0 0x016e0000 0 0x1f180>;
2101			#interconnect-cells = <2>;
2102			qcom,bcm-voters = <&apps_bcm_voter>;
2103		};
2104
2105		aggre2_noc: interconnect@1700000 {
2106			compatible = "qcom,sm8250-aggre2-noc";
2107			reg = <0 0x01700000 0 0x33000>;
2108			#interconnect-cells = <2>;
2109			qcom,bcm-voters = <&apps_bcm_voter>;
2110		};
2111
2112		compute_noc: interconnect@1733000 {
2113			compatible = "qcom,sm8250-compute-noc";
2114			reg = <0 0x01733000 0 0xa180>;
2115			#interconnect-cells = <2>;
2116			qcom,bcm-voters = <&apps_bcm_voter>;
2117		};
2118
2119		mmss_noc: interconnect@1740000 {
2120			compatible = "qcom,sm8250-mmss-noc";
2121			reg = <0 0x01740000 0 0x1f080>;
2122			#interconnect-cells = <2>;
2123			qcom,bcm-voters = <&apps_bcm_voter>;
2124		};
2125
2126		pcie0: pcie@1c00000 {
2127			compatible = "qcom,pcie-sm8250";
2128			reg = <0 0x01c00000 0 0x3000>,
2129			      <0 0x60000000 0 0xf1d>,
2130			      <0 0x60000f20 0 0xa8>,
2131			      <0 0x60001000 0 0x1000>,
2132			      <0 0x60100000 0 0x100000>,
2133			      <0 0x01c03000 0 0x1000>;
2134			reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
2135			device_type = "pci";
2136			linux,pci-domain = <0>;
2137			bus-range = <0x00 0xff>;
2138			num-lanes = <1>;
2139
2140			#address-cells = <3>;
2141			#size-cells = <2>;
2142
2143			ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
2144				 <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>;
2145
2146			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
2147				     <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
2148				     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
2149				     <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
2150				     <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
2151				     <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
2152				     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
2153				     <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
2154				     <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
2155			interrupt-names = "msi0",
2156					  "msi1",
2157					  "msi2",
2158					  "msi3",
2159					  "msi4",
2160					  "msi5",
2161					  "msi6",
2162					  "msi7",
2163					  "global";
2164			#interrupt-cells = <1>;
2165			interrupt-map-mask = <0 0 0 0x7>;
2166			interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
2167					<0 0 0 2 &intc 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
2168					<0 0 0 3 &intc 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
2169					<0 0 0 4 &intc 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
2170
2171			clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
2172				 <&gcc GCC_PCIE_0_AUX_CLK>,
2173				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
2174				 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
2175				 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
2176				 <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
2177				 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>,
2178				 <&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>;
2179			clock-names = "pipe",
2180				      "aux",
2181				      "cfg",
2182				      "bus_master",
2183				      "bus_slave",
2184				      "slave_q2a",
2185				      "tbu",
2186				      "ddrss_sf_tbu";
2187
2188			iommu-map = <0x0   &apps_smmu 0x1c00 0x1>,
2189				    <0x100 &apps_smmu 0x1c01 0x1>;
2190
2191			resets = <&gcc GCC_PCIE_0_BCR>;
2192			reset-names = "pci";
2193
2194			power-domains = <&gcc PCIE_0_GDSC>;
2195
2196			phys = <&pcie0_phy>;
2197			phy-names = "pciephy";
2198
2199			perst-gpios = <&tlmm 79 GPIO_ACTIVE_LOW>;
2200			wake-gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>;
2201
2202			pinctrl-names = "default";
2203			pinctrl-0 = <&pcie0_default_state>;
2204			dma-coherent;
2205
2206			status = "disabled";
2207
2208			pcieport0: pcie@0 {
2209				device_type = "pci";
2210				reg = <0x0 0x0 0x0 0x0 0x0>;
2211				bus-range = <0x01 0xff>;
2212
2213				#address-cells = <3>;
2214				#size-cells = <2>;
2215				ranges;
2216			};
2217		};
2218
2219		pcie0_phy: phy@1c06000 {
2220			compatible = "qcom,sm8250-qmp-gen3x1-pcie-phy";
2221			reg = <0 0x01c06000 0 0x1000>;
2222
2223			clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
2224				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
2225				 <&gcc GCC_PCIE_WIFI_CLKREF_EN>,
2226				 <&gcc GCC_PCIE0_PHY_REFGEN_CLK>,
2227				 <&gcc GCC_PCIE_0_PIPE_CLK>;
2228			clock-names = "aux",
2229				      "cfg_ahb",
2230				      "ref",
2231				      "refgen",
2232				      "pipe";
2233
2234			clock-output-names = "pcie_0_pipe_clk";
2235			#clock-cells = <0>;
2236
2237			#phy-cells = <0>;
2238
2239			resets = <&gcc GCC_PCIE_0_PHY_BCR>;
2240			reset-names = "phy";
2241
2242			assigned-clocks = <&gcc GCC_PCIE0_PHY_REFGEN_CLK>;
2243			assigned-clock-rates = <100000000>;
2244
2245			status = "disabled";
2246		};
2247
2248		pcie1: pcie@1c08000 {
2249			compatible = "qcom,pcie-sm8250";
2250			reg = <0 0x01c08000 0 0x3000>,
2251			      <0 0x40000000 0 0xf1d>,
2252			      <0 0x40000f20 0 0xa8>,
2253			      <0 0x40001000 0 0x1000>,
2254			      <0 0x40100000 0 0x100000>,
2255			      <0 0x01c0b000 0 0x1000>;
2256			reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
2257			device_type = "pci";
2258			linux,pci-domain = <1>;
2259			bus-range = <0x00 0xff>;
2260			num-lanes = <2>;
2261
2262			#address-cells = <3>;
2263			#size-cells = <2>;
2264
2265			ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>,
2266				 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
2267
2268			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,
2269				     <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
2270				     <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
2271				     <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
2272				     <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
2273				     <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
2274				     <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>,
2275				     <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>,
2276				     <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>;
2277			interrupt-names = "msi0",
2278					  "msi1",
2279					  "msi2",
2280					  "msi3",
2281					  "msi4",
2282					  "msi5",
2283					  "msi6",
2284					  "msi7",
2285					  "global";
2286			#interrupt-cells = <1>;
2287			interrupt-map-mask = <0 0 0 0x7>;
2288			interrupt-map = <0 0 0 1 &intc 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
2289					<0 0 0 2 &intc 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
2290					<0 0 0 3 &intc 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
2291					<0 0 0 4 &intc 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
2292
2293			clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
2294				 <&gcc GCC_PCIE_1_AUX_CLK>,
2295				 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
2296				 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
2297				 <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
2298				 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
2299				 <&gcc GCC_PCIE_WIGIG_CLKREF_EN>,
2300				 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>,
2301				 <&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>;
2302			clock-names = "pipe",
2303				      "aux",
2304				      "cfg",
2305				      "bus_master",
2306				      "bus_slave",
2307				      "slave_q2a",
2308				      "ref",
2309				      "tbu",
2310				      "ddrss_sf_tbu";
2311
2312			assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
2313			assigned-clock-rates = <19200000>;
2314
2315			iommu-map = <0x0   &apps_smmu 0x1c80 0x1>,
2316				    <0x100 &apps_smmu 0x1c81 0x1>;
2317
2318			resets = <&gcc GCC_PCIE_1_BCR>;
2319			reset-names = "pci";
2320
2321			power-domains = <&gcc PCIE_1_GDSC>;
2322
2323			phys = <&pcie1_phy>;
2324			phy-names = "pciephy";
2325
2326			perst-gpios = <&tlmm 82 GPIO_ACTIVE_LOW>;
2327			wake-gpios = <&tlmm 84 GPIO_ACTIVE_HIGH>;
2328
2329			pinctrl-names = "default";
2330			pinctrl-0 = <&pcie1_default_state>;
2331			dma-coherent;
2332
2333			status = "disabled";
2334
2335			pcie@0 {
2336				device_type = "pci";
2337				reg = <0x0 0x0 0x0 0x0 0x0>;
2338				bus-range = <0x01 0xff>;
2339
2340				#address-cells = <3>;
2341				#size-cells = <2>;
2342				ranges;
2343			};
2344		};
2345
2346		pcie1_phy: phy@1c0e000 {
2347			compatible = "qcom,sm8250-qmp-gen3x2-pcie-phy";
2348			reg = <0 0x01c0e000 0 0x1000>;
2349
2350			clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
2351				 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
2352				 <&gcc GCC_PCIE_WIGIG_CLKREF_EN>,
2353				 <&gcc GCC_PCIE1_PHY_REFGEN_CLK>,
2354				 <&gcc GCC_PCIE_1_PIPE_CLK>;
2355			clock-names = "aux",
2356				      "cfg_ahb",
2357				      "ref",
2358				      "refgen",
2359				      "pipe";
2360
2361			clock-output-names = "pcie_1_pipe_clk";
2362			#clock-cells = <0>;
2363
2364			#phy-cells = <0>;
2365
2366			resets = <&gcc GCC_PCIE_1_PHY_BCR>;
2367			reset-names = "phy";
2368
2369			assigned-clocks = <&gcc GCC_PCIE1_PHY_REFGEN_CLK>;
2370			assigned-clock-rates = <100000000>;
2371
2372			status = "disabled";
2373		};
2374
2375		pcie2: pcie@1c10000 {
2376			compatible = "qcom,pcie-sm8250";
2377			reg = <0 0x01c10000 0 0x3000>,
2378			      <0 0x64000000 0 0xf1d>,
2379			      <0 0x64000f20 0 0xa8>,
2380			      <0 0x64001000 0 0x1000>,
2381			      <0 0x64100000 0 0x100000>,
2382			      <0 0x01c13000 0 0x1000>;
2383			reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
2384			device_type = "pci";
2385			linux,pci-domain = <2>;
2386			bus-range = <0x00 0xff>;
2387			num-lanes = <2>;
2388
2389			#address-cells = <3>;
2390			#size-cells = <2>;
2391
2392			ranges = <0x01000000 0x0 0x00000000 0x0 0x64200000 0x0 0x100000>,
2393				 <0x02000000 0x0 0x64300000 0x0 0x64300000 0x0 0x3d00000>;
2394
2395			interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>,
2396				     <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
2397				     <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
2398				     <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
2399				     <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>,
2400				     <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>,
2401				     <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>,
2402				     <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH>,
2403				     <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>;
2404			interrupt-names = "msi0",
2405					  "msi1",
2406					  "msi2",
2407					  "msi3",
2408					  "msi4",
2409					  "msi5",
2410					  "msi6",
2411					  "msi7",
2412					  "global";
2413			#interrupt-cells = <1>;
2414			interrupt-map-mask = <0 0 0 0x7>;
2415			interrupt-map = <0 0 0 1 &intc 0 290 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
2416					<0 0 0 2 &intc 0 415 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
2417					<0 0 0 3 &intc 0 416 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
2418					<0 0 0 4 &intc 0 417 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
2419
2420			clocks = <&gcc GCC_PCIE_2_PIPE_CLK>,
2421				 <&gcc GCC_PCIE_2_AUX_CLK>,
2422				 <&gcc GCC_PCIE_2_CFG_AHB_CLK>,
2423				 <&gcc GCC_PCIE_2_MSTR_AXI_CLK>,
2424				 <&gcc GCC_PCIE_2_SLV_AXI_CLK>,
2425				 <&gcc GCC_PCIE_2_SLV_Q2A_AXI_CLK>,
2426				 <&gcc GCC_PCIE_MDM_CLKREF_EN>,
2427				 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>,
2428				 <&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>;
2429			clock-names = "pipe",
2430				      "aux",
2431				      "cfg",
2432				      "bus_master",
2433				      "bus_slave",
2434				      "slave_q2a",
2435				      "ref",
2436				      "tbu",
2437				      "ddrss_sf_tbu";
2438
2439			assigned-clocks = <&gcc GCC_PCIE_2_AUX_CLK>;
2440			assigned-clock-rates = <19200000>;
2441
2442			iommu-map = <0x0   &apps_smmu 0x1d00 0x1>,
2443				    <0x100 &apps_smmu 0x1d01 0x1>;
2444
2445			resets = <&gcc GCC_PCIE_2_BCR>;
2446			reset-names = "pci";
2447
2448			power-domains = <&gcc PCIE_2_GDSC>;
2449
2450			phys = <&pcie2_phy>;
2451			phy-names = "pciephy";
2452
2453			perst-gpios = <&tlmm 85 GPIO_ACTIVE_LOW>;
2454			wake-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>;
2455
2456			pinctrl-names = "default";
2457			pinctrl-0 = <&pcie2_default_state>;
2458			dma-coherent;
2459
2460			status = "disabled";
2461
2462			pcie@0 {
2463				device_type = "pci";
2464				reg = <0x0 0x0 0x0 0x0 0x0>;
2465				bus-range = <0x01 0xff>;
2466
2467				#address-cells = <3>;
2468				#size-cells = <2>;
2469				ranges;
2470			};
2471		};
2472
2473		pcie2_phy: phy@1c16000 {
2474			compatible = "qcom,sm8250-qmp-modem-pcie-phy";
2475			reg = <0 0x01c16000 0 0x1000>;
2476
2477			clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
2478				 <&gcc GCC_PCIE_2_CFG_AHB_CLK>,
2479				 <&gcc GCC_PCIE_MDM_CLKREF_EN>,
2480				 <&gcc GCC_PCIE2_PHY_REFGEN_CLK>,
2481				 <&gcc GCC_PCIE_2_PIPE_CLK>;
2482			clock-names = "aux",
2483				      "cfg_ahb",
2484				      "ref",
2485				      "refgen",
2486				      "pipe";
2487
2488			clock-output-names = "pcie_2_pipe_clk";
2489			#clock-cells = <0>;
2490
2491			#phy-cells = <0>;
2492
2493			resets = <&gcc GCC_PCIE_2_PHY_BCR>;
2494			reset-names = "phy";
2495
2496			assigned-clocks = <&gcc GCC_PCIE2_PHY_REFGEN_CLK>;
2497			assigned-clock-rates = <100000000>;
2498
2499			status = "disabled";
2500		};
2501
2502		ufs_mem_hc: ufshc@1d84000 {
2503			compatible = "qcom,sm8250-ufshc", "qcom,ufshc",
2504				     "jedec,ufs-2.0";
2505			reg = <0 0x01d84000 0 0x3000>;
2506			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
2507			phys = <&ufs_mem_phy>;
2508			phy-names = "ufsphy";
2509			lanes-per-direction = <2>;
2510			#reset-cells = <1>;
2511			resets = <&gcc GCC_UFS_PHY_BCR>;
2512			reset-names = "rst";
2513
2514			power-domains = <&gcc UFS_PHY_GDSC>;
2515
2516			iommus = <&apps_smmu 0x0e0 0>, <&apps_smmu 0x4e0 0>;
2517
2518			clock-names =
2519				"core_clk",
2520				"bus_aggr_clk",
2521				"iface_clk",
2522				"core_clk_unipro",
2523				"ref_clk",
2524				"tx_lane0_sync_clk",
2525				"rx_lane0_sync_clk",
2526				"rx_lane1_sync_clk";
2527			clocks =
2528				<&gcc GCC_UFS_PHY_AXI_CLK>,
2529				<&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
2530				<&gcc GCC_UFS_PHY_AHB_CLK>,
2531				<&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
2532				<&rpmhcc RPMH_CXO_CLK>,
2533				<&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
2534				<&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
2535				<&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
2536
2537			operating-points-v2 = <&ufs_opp_table>;
2538
2539			interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI_CH0 0>,
2540					<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_UFS_MEM_CFG 0>;
2541			interconnect-names = "ufs-ddr", "cpu-ufs";
2542
2543			status = "disabled";
2544
2545			ufs_opp_table: opp-table {
2546				compatible = "operating-points-v2";
2547
2548				opp-37500000 {
2549					opp-hz = /bits/ 64 <37500000>,
2550						 /bits/ 64 <0>,
2551						 /bits/ 64 <0>,
2552						 /bits/ 64 <37500000>,
2553						 /bits/ 64 <0>,
2554						 /bits/ 64 <0>,
2555						 /bits/ 64 <0>,
2556						 /bits/ 64 <0>;
2557					required-opps = <&rpmhpd_opp_low_svs>;
2558				};
2559
2560				opp-300000000 {
2561					opp-hz = /bits/ 64 <300000000>,
2562						 /bits/ 64 <0>,
2563						 /bits/ 64 <0>,
2564						 /bits/ 64 <300000000>,
2565						 /bits/ 64 <0>,
2566						 /bits/ 64 <0>,
2567						 /bits/ 64 <0>,
2568						 /bits/ 64 <0>;
2569					required-opps = <&rpmhpd_opp_nom>;
2570				};
2571			};
2572		};
2573
2574		ufs_mem_phy: phy@1d87000 {
2575			compatible = "qcom,sm8250-qmp-ufs-phy";
2576			reg = <0 0x01d87000 0 0x1000>;
2577
2578			clocks = <&rpmhcc RPMH_CXO_CLK>,
2579				 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>,
2580				 <&gcc GCC_UFS_1X_CLKREF_EN>;
2581			clock-names = "ref",
2582				      "ref_aux",
2583				      "qref";
2584
2585			resets = <&ufs_mem_hc 0>;
2586			reset-names = "ufsphy";
2587
2588			power-domains = <&gcc UFS_PHY_GDSC>;
2589
2590			#phy-cells = <0>;
2591
2592			status = "disabled";
2593		};
2594
2595		cryptobam: dma-controller@1dc4000 {
2596			compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
2597			reg = <0 0x01dc4000 0 0x24000>;
2598			interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
2599			#dma-cells = <1>;
2600			qcom,ee = <0>;
2601			qcom,controlled-remotely;
2602			num-channels = <8>;
2603			qcom,num-ees = <2>;
2604			iommus = <&apps_smmu 0x592 0x0000>,
2605				 <&apps_smmu 0x598 0x0000>,
2606				 <&apps_smmu 0x599 0x0000>,
2607				 <&apps_smmu 0x59f 0x0000>,
2608				 <&apps_smmu 0x586 0x0011>,
2609				 <&apps_smmu 0x596 0x0011>;
2610		};
2611
2612		crypto: crypto@1dfa000 {
2613			compatible = "qcom,sm8250-qce", "qcom,sm8150-qce", "qcom,qce";
2614			reg = <0 0x01dfa000 0 0x6000>;
2615			dmas = <&cryptobam 4>, <&cryptobam 5>;
2616			dma-names = "rx", "tx";
2617			iommus = <&apps_smmu 0x592 0x0000>,
2618				 <&apps_smmu 0x598 0x0000>,
2619				 <&apps_smmu 0x599 0x0000>,
2620				 <&apps_smmu 0x59f 0x0000>,
2621				 <&apps_smmu 0x586 0x0011>,
2622				 <&apps_smmu 0x596 0x0011>;
2623			interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 0 &mc_virt SLAVE_EBI_CH0 0>;
2624			interconnect-names = "memory";
2625		};
2626
2627		tcsr_mutex: hwlock@1f40000 {
2628			compatible = "qcom,tcsr-mutex";
2629			reg = <0x0 0x01f40000 0x0 0x40000>;
2630			#hwlock-cells = <1>;
2631		};
2632
2633		tcsr: syscon@1fc0000 {
2634			compatible = "qcom,sm8250-tcsr", "syscon";
2635			reg = <0x0 0x1fc0000 0x0 0x30000>;
2636		};
2637
2638		wsamacro: codec@3240000 {
2639			compatible = "qcom,sm8250-lpass-wsa-macro";
2640			reg = <0 0x03240000 0 0x1000>;
2641			clocks = <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2642				 <&q6afecc LPASS_CLK_ID_TX_CORE_NPL_MCLK  LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2643				 <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2644				 <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2645				 <&vamacro>;
2646
2647			clock-names = "mclk", "npl", "macro", "dcodec", "fsgen";
2648
2649			#clock-cells = <0>;
2650			clock-output-names = "mclk";
2651			#sound-dai-cells = <1>;
2652
2653			pinctrl-names = "default";
2654			pinctrl-0 = <&wsa_swr_active>;
2655
2656			status = "disabled";
2657		};
2658
2659		swr0: soundwire@3250000 {
2660			reg = <0 0x03250000 0 0x2000>;
2661			compatible = "qcom,soundwire-v1.5.1";
2662			interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
2663			clocks = <&wsamacro>;
2664			clock-names = "iface";
2665
2666			qcom,din-ports = <2>;
2667			qcom,dout-ports = <6>;
2668
2669			qcom,ports-sinterval-low =	/bits/ 8 <0x07 0x1f 0x3f 0x07 0x1f 0x3f 0x0f 0x0f>;
2670			qcom,ports-offset1 =		/bits/ 8 <0x01 0x02 0x0c 0x06 0x12 0x0d 0x07 0x0a>;
2671			qcom,ports-offset2 =		/bits/ 8 <0xff 0x00 0x1f 0xff 0x00 0x1f 0x00 0x00>;
2672			qcom,ports-block-pack-mode =	/bits/ 8 <0x0 0x0 0x1 0x0 0x0 0x1 0x0 0x0>;
2673
2674			#sound-dai-cells = <1>;
2675			#address-cells = <2>;
2676			#size-cells = <0>;
2677
2678			status = "disabled";
2679		};
2680
2681		vamacro: codec@3370000 {
2682			compatible = "qcom,sm8250-lpass-va-macro";
2683			reg = <0 0x03370000 0 0x1000>;
2684			clocks = <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2685				<&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2686				<&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
2687
2688			clock-names = "mclk", "macro", "dcodec";
2689
2690			#clock-cells = <0>;
2691			clock-output-names = "fsgen";
2692			#sound-dai-cells = <1>;
2693		};
2694
2695		rxmacro: rxmacro@3200000 {
2696			pinctrl-names = "default";
2697			pinctrl-0 = <&rx_swr_active>;
2698			compatible = "qcom,sm8250-lpass-rx-macro";
2699			reg = <0 0x03200000 0 0x1000>;
2700			status = "disabled";
2701
2702			clocks = <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2703				<&q6afecc LPASS_CLK_ID_TX_CORE_NPL_MCLK  LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2704				<&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2705				<&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2706				<&vamacro>;
2707
2708			clock-names = "mclk", "npl", "macro", "dcodec", "fsgen";
2709
2710			#clock-cells = <0>;
2711			clock-output-names = "mclk";
2712			#sound-dai-cells = <1>;
2713		};
2714
2715		swr1: soundwire@3210000 {
2716			reg = <0 0x03210000 0 0x2000>;
2717			compatible = "qcom,soundwire-v1.5.1";
2718			status = "disabled";
2719			interrupts = <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>;
2720			clocks = <&rxmacro>;
2721			clock-names = "iface";
2722			label = "RX";
2723			qcom,din-ports = <0>;
2724			qcom,dout-ports = <5>;
2725
2726			qcom,ports-sinterval-low =	/bits/ 8 <0x03 0x1f 0x1f 0x07 0x00>;
2727			qcom,ports-offset1 =		/bits/ 8 <0x00 0x00 0x0b 0x01 0x00>;
2728			qcom,ports-offset2 =		/bits/ 8 <0x00 0x00 0x0b 0x00 0x00>;
2729			qcom,ports-hstart =		/bits/ 8 <0xff 0x03 0xff 0xff 0xff>;
2730			qcom,ports-hstop =		/bits/ 8 <0xff 0x06 0xff 0xff 0xff>;
2731			qcom,ports-word-length =	/bits/ 8 <0x01 0x07 0x04 0xff 0xff>;
2732			qcom,ports-block-pack-mode =	/bits/ 8 <0xff 0x00 0x01 0xff 0xff>;
2733			qcom,ports-lane-control =	/bits/ 8 <0x01 0x00 0x00 0x00 0x00>;
2734			qcom,ports-block-group-count =	/bits/ 8 <0xff 0xff 0xff 0xff 0x00>;
2735
2736			#sound-dai-cells = <1>;
2737			#address-cells = <2>;
2738			#size-cells = <0>;
2739		};
2740
2741		txmacro: txmacro@3220000 {
2742			pinctrl-names = "default";
2743			pinctrl-0 = <&tx_swr_active>;
2744			compatible = "qcom,sm8250-lpass-tx-macro";
2745			reg = <0 0x03220000 0 0x1000>;
2746			status = "disabled";
2747
2748			clocks = <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2749				 <&q6afecc LPASS_CLK_ID_TX_CORE_NPL_MCLK  LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2750				 <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2751				 <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2752				 <&vamacro>;
2753
2754			clock-names = "mclk", "npl", "macro", "dcodec", "fsgen";
2755
2756			#clock-cells = <0>;
2757			clock-output-names = "mclk";
2758			#sound-dai-cells = <1>;
2759		};
2760
2761		/* tx macro */
2762		swr2: soundwire@3230000 {
2763			reg = <0 0x03230000 0 0x2000>;
2764			compatible = "qcom,soundwire-v1.5.1";
2765			interrupts = <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>;
2766			interrupt-names = "core";
2767			status = "disabled";
2768
2769			clocks = <&txmacro>;
2770			clock-names = "iface";
2771			label = "TX";
2772
2773			qcom,din-ports = <5>;
2774			qcom,dout-ports = <0>;
2775			qcom,ports-sinterval-low =	/bits/ 8 <0xff 0x01 0x01 0x03 0x03>;
2776			qcom,ports-offset1 =		/bits/ 8 <0xff 0x01 0x00 0x02 0x00>;
2777			qcom,ports-offset2 =		/bits/ 8 <0xff 0x00 0x00 0x00 0x00>;
2778			qcom,ports-block-pack-mode =	/bits/ 8 <0xff 0xff 0xff 0xff 0xff>;
2779			qcom,ports-hstart =		/bits/ 8 <0xff 0xff 0xff 0xff 0xff>;
2780			qcom,ports-hstop =		/bits/ 8 <0xff 0xff 0xff 0xff 0xff>;
2781			qcom,ports-word-length =	/bits/ 8 <0xff 0xff 0xff 0xff 0xff>;
2782			qcom,ports-block-group-count =	/bits/ 8 <0xff 0xff 0xff 0xff 0xff>;
2783			qcom,ports-lane-control =	/bits/ 8 <0xff 0x00 0x01 0x00 0x01>;
2784			#sound-dai-cells = <1>;
2785			#address-cells = <2>;
2786			#size-cells = <0>;
2787		};
2788
2789		lpass_tlmm: pinctrl@33c0000 {
2790			compatible = "qcom,sm8250-lpass-lpi-pinctrl";
2791			reg = <0 0x033c0000 0x0 0x20000>,
2792			      <0 0x03550000 0x0 0x10000>;
2793			gpio-controller;
2794			#gpio-cells = <2>;
2795			gpio-ranges = <&lpass_tlmm 0 0 14>;
2796
2797			clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
2798				<&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
2799			clock-names = "core", "audio";
2800
2801			wsa_swr_active: wsa-swr-active-state {
2802				clk-pins {
2803					pins = "gpio10";
2804					function = "wsa_swr_clk";
2805					drive-strength = <2>;
2806					slew-rate = <1>;
2807					bias-disable;
2808				};
2809
2810				data-pins {
2811					pins = "gpio11";
2812					function = "wsa_swr_data";
2813					drive-strength = <2>;
2814					slew-rate = <1>;
2815					bias-bus-hold;
2816				};
2817			};
2818
2819			wsa_swr_sleep: wsa-swr-sleep-state {
2820				clk-pins {
2821					pins = "gpio10";
2822					function = "wsa_swr_clk";
2823					drive-strength = <2>;
2824					bias-pull-down;
2825				};
2826
2827				data-pins {
2828					pins = "gpio11";
2829					function = "wsa_swr_data";
2830					drive-strength = <2>;
2831					bias-pull-down;
2832				};
2833			};
2834
2835			dmic01_active: dmic01-active-state {
2836				clk-pins {
2837					pins = "gpio6";
2838					function = "dmic1_clk";
2839					drive-strength = <8>;
2840					output-high;
2841				};
2842				data-pins {
2843					pins = "gpio7";
2844					function = "dmic1_data";
2845					drive-strength = <8>;
2846				};
2847			};
2848
2849			dmic01_sleep: dmic01-sleep-state {
2850				clk-pins {
2851					pins = "gpio6";
2852					function = "dmic1_clk";
2853					drive-strength = <2>;
2854					bias-disable;
2855					output-low;
2856				};
2857
2858				data-pins {
2859					pins = "gpio7";
2860					function = "dmic1_data";
2861					drive-strength = <2>;
2862					bias-pull-down;
2863				};
2864			};
2865
2866			rx_swr_active: rx-swr-active-state {
2867				clk-pins {
2868					pins = "gpio3";
2869					function = "swr_rx_clk";
2870					drive-strength = <2>;
2871					slew-rate = <1>;
2872					bias-disable;
2873				};
2874
2875				data-pins {
2876					pins = "gpio4", "gpio5";
2877					function = "swr_rx_data";
2878					drive-strength = <2>;
2879					slew-rate = <1>;
2880					bias-bus-hold;
2881				};
2882			};
2883
2884			tx_swr_active: tx-swr-active-state {
2885				clk-pins {
2886					pins = "gpio0";
2887					function = "swr_tx_clk";
2888					drive-strength = <2>;
2889					slew-rate = <1>;
2890					bias-disable;
2891				};
2892
2893				data-pins {
2894					pins = "gpio1", "gpio2";
2895					function = "swr_tx_data";
2896					drive-strength = <2>;
2897					slew-rate = <1>;
2898					bias-bus-hold;
2899				};
2900			};
2901
2902			tx_swr_sleep: tx-swr-sleep-state {
2903				clk-pins {
2904					pins = "gpio0";
2905					function = "swr_tx_clk";
2906					drive-strength = <2>;
2907					bias-pull-down;
2908				};
2909
2910				data1-pins {
2911					pins = "gpio1";
2912					function = "swr_tx_data";
2913					drive-strength = <2>;
2914					bias-bus-hold;
2915				};
2916
2917				data2-pins {
2918					pins = "gpio2";
2919					function = "swr_tx_data";
2920					drive-strength = <2>;
2921					bias-pull-down;
2922				};
2923			};
2924		};
2925
2926		gpu: gpu@3d00000 {
2927			compatible = "qcom,adreno-650.2",
2928				     "qcom,adreno";
2929
2930			reg = <0 0x03d00000 0 0x40000>;
2931			reg-names = "kgsl_3d0_reg_memory";
2932
2933			interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
2934
2935			iommus = <&adreno_smmu 0 0x401>;
2936
2937			operating-points-v2 = <&gpu_opp_table>;
2938
2939			qcom,gmu = <&gmu>;
2940
2941			nvmem-cells = <&gpu_speed_bin>;
2942			nvmem-cell-names = "speed_bin";
2943			#cooling-cells = <2>;
2944
2945			status = "disabled";
2946
2947			zap-shader {
2948				memory-region = <&gpu_mem>;
2949			};
2950
2951			gpu_opp_table: opp-table {
2952				compatible = "operating-points-v2";
2953
2954				opp-670000000 {
2955					opp-hz = /bits/ 64 <670000000>;
2956					opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
2957					opp-supported-hw = <0xa>;
2958				};
2959
2960				opp-587000000 {
2961					opp-hz = /bits/ 64 <587000000>;
2962					opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2963					opp-supported-hw = <0xb>;
2964				};
2965
2966				opp-525000000 {
2967					opp-hz = /bits/ 64 <525000000>;
2968					opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
2969					opp-supported-hw = <0xf>;
2970				};
2971
2972				opp-490000000 {
2973					opp-hz = /bits/ 64 <490000000>;
2974					opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2975					opp-supported-hw = <0xf>;
2976				};
2977
2978				opp-441600000 {
2979					opp-hz = /bits/ 64 <441600000>;
2980					opp-level = <RPMH_REGULATOR_LEVEL_SVS_L0>;
2981					opp-supported-hw = <0xf>;
2982				};
2983
2984				opp-400000000 {
2985					opp-hz = /bits/ 64 <400000000>;
2986					opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2987					opp-supported-hw = <0xf>;
2988				};
2989
2990				opp-305000000 {
2991					opp-hz = /bits/ 64 <305000000>;
2992					opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2993					opp-supported-hw = <0xf>;
2994				};
2995			};
2996		};
2997
2998		gmu: gmu@3d6a000 {
2999			compatible = "qcom,adreno-gmu-650.2", "qcom,adreno-gmu";
3000
3001			reg = <0 0x03d6a000 0 0x30000>,
3002			      <0 0x3de0000 0 0x10000>,
3003			      <0 0xb290000 0 0x10000>,
3004			      <0 0xb490000 0 0x10000>;
3005			reg-names = "gmu", "rscc", "gmu_pdc", "gmu_pdc_seq";
3006
3007			interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
3008				     <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
3009			interrupt-names = "hfi", "gmu";
3010
3011			clocks = <&gpucc GPU_CC_AHB_CLK>,
3012				 <&gpucc GPU_CC_CX_GMU_CLK>,
3013				 <&gpucc GPU_CC_CXO_CLK>,
3014				 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
3015				 <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
3016			clock-names = "ahb", "gmu", "cxo", "axi", "memnoc";
3017
3018			power-domains = <&gpucc GPU_CX_GDSC>,
3019					<&gpucc GPU_GX_GDSC>;
3020			power-domain-names = "cx", "gx";
3021
3022			iommus = <&adreno_smmu 5 0x400>;
3023
3024			operating-points-v2 = <&gmu_opp_table>;
3025
3026			status = "disabled";
3027
3028			gmu_opp_table: opp-table {
3029				compatible = "operating-points-v2";
3030
3031				opp-200000000 {
3032					opp-hz = /bits/ 64 <200000000>;
3033					opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
3034				};
3035			};
3036		};
3037
3038		gpucc: clock-controller@3d90000 {
3039			compatible = "qcom,sm8250-gpucc";
3040			reg = <0 0x03d90000 0 0x9000>;
3041			clocks = <&rpmhcc RPMH_CXO_CLK>,
3042				 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
3043				 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
3044			clock-names = "bi_tcxo",
3045				      "gcc_gpu_gpll0_clk_src",
3046				      "gcc_gpu_gpll0_div_clk_src";
3047			#clock-cells = <1>;
3048			#reset-cells = <1>;
3049			#power-domain-cells = <1>;
3050		};
3051
3052		adreno_smmu: iommu@3da0000 {
3053			compatible = "qcom,sm8250-smmu-500", "qcom,adreno-smmu",
3054				     "qcom,smmu-500", "arm,mmu-500";
3055			reg = <0 0x03da0000 0 0x10000>;
3056			#iommu-cells = <2>;
3057			#global-interrupts = <2>;
3058			interrupts = <GIC_SPI 672 IRQ_TYPE_LEVEL_HIGH>,
3059				     <GIC_SPI 673 IRQ_TYPE_LEVEL_HIGH>,
3060				     <GIC_SPI 678 IRQ_TYPE_LEVEL_HIGH>,
3061				     <GIC_SPI 679 IRQ_TYPE_LEVEL_HIGH>,
3062				     <GIC_SPI 680 IRQ_TYPE_LEVEL_HIGH>,
3063				     <GIC_SPI 681 IRQ_TYPE_LEVEL_HIGH>,
3064				     <GIC_SPI 682 IRQ_TYPE_LEVEL_HIGH>,
3065				     <GIC_SPI 683 IRQ_TYPE_LEVEL_HIGH>,
3066				     <GIC_SPI 684 IRQ_TYPE_LEVEL_HIGH>,
3067				     <GIC_SPI 685 IRQ_TYPE_LEVEL_HIGH>;
3068			clocks = <&gpucc GPU_CC_AHB_CLK>,
3069				 <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
3070				 <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>;
3071			clock-names = "ahb", "bus", "iface";
3072
3073			power-domains = <&gpucc GPU_CX_GDSC>;
3074			dma-coherent;
3075		};
3076
3077		slpi: remoteproc@5c00000 {
3078			compatible = "qcom,sm8250-slpi-pas";
3079			reg = <0 0x05c00000 0 0x4000>;
3080
3081			interrupts-extended = <&pdc 9 IRQ_TYPE_EDGE_RISING>,
3082					      <&smp2p_slpi_in 0 IRQ_TYPE_EDGE_RISING>,
3083					      <&smp2p_slpi_in 1 IRQ_TYPE_EDGE_RISING>,
3084					      <&smp2p_slpi_in 2 IRQ_TYPE_EDGE_RISING>,
3085					      <&smp2p_slpi_in 3 IRQ_TYPE_EDGE_RISING>;
3086			interrupt-names = "wdog", "fatal", "ready",
3087					  "handover", "stop-ack";
3088
3089			clocks = <&rpmhcc RPMH_CXO_CLK>;
3090			clock-names = "xo";
3091
3092			power-domains = <&rpmhpd RPMHPD_LCX>,
3093					<&rpmhpd RPMHPD_LMX>;
3094			power-domain-names = "lcx", "lmx";
3095
3096			memory-region = <&slpi_mem>;
3097
3098			qcom,qmp = <&aoss_qmp>;
3099
3100			qcom,smem-states = <&smp2p_slpi_out 0>;
3101			qcom,smem-state-names = "stop";
3102
3103			status = "disabled";
3104
3105			glink-edge {
3106				interrupts-extended = <&ipcc IPCC_CLIENT_SLPI
3107							     IPCC_MPROC_SIGNAL_GLINK_QMP
3108							     IRQ_TYPE_EDGE_RISING>;
3109				mboxes = <&ipcc IPCC_CLIENT_SLPI
3110						IPCC_MPROC_SIGNAL_GLINK_QMP>;
3111
3112				label = "slpi";
3113				qcom,remote-pid = <3>;
3114
3115				fastrpc {
3116					compatible = "qcom,fastrpc";
3117					qcom,glink-channels = "fastrpcglink-apps-dsp";
3118					label = "sdsp";
3119					qcom,non-secure-domain;
3120					#address-cells = <1>;
3121					#size-cells = <0>;
3122
3123					compute-cb@1 {
3124						compatible = "qcom,fastrpc-compute-cb";
3125						reg = <1>;
3126						iommus = <&apps_smmu 0x0541 0x0>;
3127					};
3128
3129					compute-cb@2 {
3130						compatible = "qcom,fastrpc-compute-cb";
3131						reg = <2>;
3132						iommus = <&apps_smmu 0x0542 0x0>;
3133					};
3134
3135					compute-cb@3 {
3136						compatible = "qcom,fastrpc-compute-cb";
3137						reg = <3>;
3138						iommus = <&apps_smmu 0x0543 0x0>;
3139						/* note: shared-cb = <4> in downstream */
3140					};
3141				};
3142			};
3143		};
3144
3145		stm@6002000 {
3146			compatible = "arm,coresight-stm", "arm,primecell";
3147			reg = <0 0x06002000 0 0x1000>, <0 0x16280000 0 0x180000>;
3148			reg-names = "stm-base", "stm-stimulus-base";
3149
3150			clocks = <&aoss_qmp>;
3151			clock-names = "apb_pclk";
3152
3153			out-ports {
3154				port {
3155					stm_out: endpoint {
3156						remote-endpoint = <&funnel0_in7>;
3157					};
3158				};
3159			};
3160		};
3161
3162		tpda@6004000 {
3163			compatible = "qcom,coresight-tpda", "arm,primecell";
3164			reg = <0 0x06004000 0 0x1000>;
3165
3166			clocks = <&aoss_qmp>;
3167			clock-names = "apb_pclk";
3168
3169			out-ports {
3170
3171				port {
3172					tpda_out_funnel_qatb: endpoint {
3173						remote-endpoint = <&funnel_qatb_in_tpda>;
3174					};
3175				};
3176			};
3177
3178			in-ports {
3179				#address-cells = <1>;
3180				#size-cells = <0>;
3181
3182				port@9 {
3183					reg = <9>;
3184					tpda_9_in_tpdm_mm: endpoint {
3185						remote-endpoint = <&tpdm_mm_out_tpda9>;
3186					};
3187				};
3188
3189				port@17 {
3190					reg = <23>;
3191					tpda_23_in_tpdm_prng: endpoint {
3192						remote-endpoint = <&tpdm_prng_out_tpda_23>;
3193					};
3194				};
3195			};
3196		};
3197
3198		funnel@6005000 {
3199			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3200			reg = <0 0x06005000 0 0x1000>;
3201
3202			clocks = <&aoss_qmp>;
3203			clock-names = "apb_pclk";
3204
3205			out-ports {
3206				port {
3207					funnel_qatb_out_funnel_in0: endpoint {
3208						remote-endpoint = <&funnel_in0_in_funnel_qatb>;
3209					};
3210				};
3211			};
3212
3213			in-ports {
3214				port {
3215					funnel_qatb_in_tpda: endpoint {
3216						remote-endpoint = <&tpda_out_funnel_qatb>;
3217					};
3218				};
3219			};
3220		};
3221
3222		funnel@6041000 {
3223			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3224			reg = <0 0x06041000 0 0x1000>;
3225
3226			clocks = <&aoss_qmp>;
3227			clock-names = "apb_pclk";
3228
3229			out-ports {
3230				port {
3231					funnel_in0_out_funnel_merg: endpoint {
3232						remote-endpoint = <&funnel_merg_in_funnel_in0>;
3233					};
3234				};
3235			};
3236
3237			in-ports {
3238				#address-cells = <1>;
3239				#size-cells = <0>;
3240
3241				port@6 {
3242					reg = <6>;
3243					funnel_in0_in_funnel_qatb: endpoint {
3244						remote-endpoint = <&funnel_qatb_out_funnel_in0>;
3245					};
3246				};
3247
3248				port@7 {
3249					reg = <7>;
3250					funnel0_in7: endpoint {
3251						remote-endpoint = <&stm_out>;
3252					};
3253				};
3254			};
3255		};
3256
3257		funnel@6042000 {
3258			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3259			reg = <0 0x06042000 0 0x1000>;
3260
3261			clocks = <&aoss_qmp>;
3262			clock-names = "apb_pclk";
3263
3264			out-ports {
3265				port {
3266					funnel_in1_out_funnel_merg: endpoint {
3267						remote-endpoint = <&funnel_merg_in_funnel_in1>;
3268					};
3269				};
3270			};
3271
3272			in-ports {
3273				#address-cells = <1>;
3274				#size-cells = <0>;
3275
3276				port@4 {
3277					reg = <4>;
3278					funnel_in1_in_funnel_apss_merg: endpoint {
3279					remote-endpoint = <&funnel_apss_merg_out_funnel_in1>;
3280					};
3281				};
3282			};
3283		};
3284
3285		funnel@6045000 {
3286			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3287			reg = <0 0x06045000 0 0x1000>;
3288
3289			clocks = <&aoss_qmp>;
3290			clock-names = "apb_pclk";
3291
3292			out-ports {
3293				port {
3294					funnel_merg_out_funnel_swao: endpoint {
3295					remote-endpoint = <&funnel_swao_in_funnel_merg>;
3296					};
3297				};
3298			};
3299
3300			in-ports {
3301				#address-cells = <1>;
3302				#size-cells = <0>;
3303
3304				port@0 {
3305					reg = <0>;
3306					funnel_merg_in_funnel_in0: endpoint {
3307					remote-endpoint = <&funnel_in0_out_funnel_merg>;
3308					};
3309				};
3310
3311				port@1 {
3312					reg = <1>;
3313					funnel_merg_in_funnel_in1: endpoint {
3314					remote-endpoint = <&funnel_in1_out_funnel_merg>;
3315					};
3316				};
3317			};
3318		};
3319
3320		replicator@6046000 {
3321			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
3322			reg = <0 0x06046000 0 0x1000>;
3323
3324			clocks = <&aoss_qmp>;
3325			clock-names = "apb_pclk";
3326
3327			out-ports {
3328				port {
3329					replicator_out: endpoint {
3330						remote-endpoint = <&etr_in>;
3331					};
3332				};
3333			};
3334
3335			in-ports {
3336				port {
3337					replicator_cx_in_swao_out: endpoint {
3338						remote-endpoint = <&replicator_swao_out_cx_in>;
3339					};
3340				};
3341			};
3342		};
3343
3344		etr@6048000 {
3345			compatible = "arm,coresight-tmc", "arm,primecell";
3346			reg = <0 0x06048000 0 0x1000>;
3347
3348			clocks = <&aoss_qmp>;
3349			clock-names = "apb_pclk";
3350			arm,scatter-gather;
3351
3352			in-ports {
3353				port {
3354					etr_in: endpoint {
3355						remote-endpoint = <&replicator_out>;
3356					};
3357				};
3358			};
3359		};
3360
3361		tpdm@684c000 {
3362			compatible = "qcom,coresight-tpdm", "arm,primecell";
3363			reg = <0 0x0684c000 0 0x1000>;
3364
3365			clocks = <&aoss_qmp>;
3366			clock-names = "apb_pclk";
3367
3368			out-ports {
3369				port {
3370					tpdm_prng_out_tpda_23: endpoint {
3371						remote-endpoint = <&tpda_23_in_tpdm_prng>;
3372					};
3373				};
3374			};
3375		};
3376
3377		funnel@6b04000 {
3378			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3379			arm,primecell-periphid = <0x000bb908>;
3380
3381			reg = <0 0x06b04000 0 0x1000>;
3382
3383			clocks = <&aoss_qmp>;
3384			clock-names = "apb_pclk";
3385
3386			out-ports {
3387				port {
3388					funnel_swao_out_etf: endpoint {
3389						remote-endpoint = <&etf_in_funnel_swao_out>;
3390					};
3391				};
3392			};
3393
3394			in-ports {
3395				#address-cells = <1>;
3396				#size-cells = <0>;
3397
3398				port@7 {
3399					reg = <7>;
3400					funnel_swao_in_funnel_merg: endpoint {
3401						remote-endpoint = <&funnel_merg_out_funnel_swao>;
3402					};
3403				};
3404			};
3405		};
3406
3407		etf@6b05000 {
3408			compatible = "arm,coresight-tmc", "arm,primecell";
3409			reg = <0 0x06b05000 0 0x1000>;
3410
3411			clocks = <&aoss_qmp>;
3412			clock-names = "apb_pclk";
3413
3414			out-ports {
3415				port {
3416					etf_out: endpoint {
3417						remote-endpoint = <&replicator_in>;
3418					};
3419				};
3420			};
3421
3422			in-ports {
3423
3424				port {
3425					etf_in_funnel_swao_out: endpoint {
3426						remote-endpoint = <&funnel_swao_out_etf>;
3427					};
3428				};
3429			};
3430		};
3431
3432		replicator@6b06000 {
3433			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
3434			reg = <0 0x06b06000 0 0x1000>;
3435
3436			clocks = <&aoss_qmp>;
3437			clock-names = "apb_pclk";
3438
3439			out-ports {
3440				port {
3441					replicator_swao_out_cx_in: endpoint {
3442						remote-endpoint = <&replicator_cx_in_swao_out>;
3443					};
3444				};
3445			};
3446
3447			in-ports {
3448				port {
3449					replicator_in: endpoint {
3450						remote-endpoint = <&etf_out>;
3451					};
3452				};
3453			};
3454		};
3455
3456		tpdm@6c08000 {
3457			compatible = "qcom,coresight-tpdm", "arm,primecell";
3458			reg = <0 0x06c08000 0 0x1000>;
3459
3460			clocks = <&aoss_qmp>;
3461			clock-names = "apb_pclk";
3462
3463			out-ports {
3464				port {
3465					tpdm_mm_out_funnel_dl_mm: endpoint {
3466						remote-endpoint = <&funnel_dl_mm_in_tpdm_mm>;
3467					};
3468				};
3469			};
3470		};
3471
3472		funnel@6c0b000 {
3473			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3474			reg = <0 0x06c0b000 0 0x1000>;
3475
3476			clocks = <&aoss_qmp>;
3477			clock-names = "apb_pclk";
3478
3479			out-ports {
3480				port {
3481					funnel_dl_mm_out_funnel_dl_center: endpoint {
3482					remote-endpoint = <&funnel_dl_center_in_funnel_dl_mm>;
3483					};
3484				};
3485			};
3486
3487			in-ports {
3488				#address-cells = <1>;
3489				#size-cells = <0>;
3490
3491				port@3 {
3492					reg = <3>;
3493					funnel_dl_mm_in_tpdm_mm: endpoint {
3494						remote-endpoint = <&tpdm_mm_out_funnel_dl_mm>;
3495					};
3496				};
3497			};
3498		};
3499
3500		funnel@6c2d000 {
3501			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3502			reg = <0 0x06c2d000 0 0x1000>;
3503
3504			clocks = <&aoss_qmp>;
3505			clock-names = "apb_pclk";
3506
3507			out-ports {
3508				port {
3509					tpdm_mm_out_tpda9: endpoint {
3510						remote-endpoint = <&tpda_9_in_tpdm_mm>;
3511					};
3512				};
3513			};
3514
3515			in-ports {
3516				#address-cells = <1>;
3517				#size-cells = <0>;
3518
3519				port@2 {
3520					reg = <2>;
3521					funnel_dl_center_in_funnel_dl_mm: endpoint {
3522					remote-endpoint = <&funnel_dl_mm_out_funnel_dl_center>;
3523					};
3524				};
3525			};
3526		};
3527
3528		etm@7040000 {
3529			compatible = "arm,coresight-etm4x", "arm,primecell";
3530			reg = <0 0x07040000 0 0x1000>;
3531
3532			cpu = <&cpu0>;
3533
3534			clocks = <&aoss_qmp>;
3535			clock-names = "apb_pclk";
3536			arm,coresight-loses-context-with-cpu;
3537
3538			out-ports {
3539				port {
3540					etm0_out: endpoint {
3541						remote-endpoint = <&apss_funnel_in0>;
3542					};
3543				};
3544			};
3545		};
3546
3547		etm@7140000 {
3548			compatible = "arm,coresight-etm4x", "arm,primecell";
3549			reg = <0 0x07140000 0 0x1000>;
3550
3551			cpu = <&cpu1>;
3552
3553			clocks = <&aoss_qmp>;
3554			clock-names = "apb_pclk";
3555			arm,coresight-loses-context-with-cpu;
3556
3557			out-ports {
3558				port {
3559					etm1_out: endpoint {
3560						remote-endpoint = <&apss_funnel_in1>;
3561					};
3562				};
3563			};
3564		};
3565
3566		etm@7240000 {
3567			compatible = "arm,coresight-etm4x", "arm,primecell";
3568			reg = <0 0x07240000 0 0x1000>;
3569
3570			cpu = <&cpu2>;
3571
3572			clocks = <&aoss_qmp>;
3573			clock-names = "apb_pclk";
3574			arm,coresight-loses-context-with-cpu;
3575
3576			out-ports {
3577				port {
3578					etm2_out: endpoint {
3579						remote-endpoint = <&apss_funnel_in2>;
3580					};
3581				};
3582			};
3583		};
3584
3585		etm@7340000 {
3586			compatible = "arm,coresight-etm4x", "arm,primecell";
3587			reg = <0 0x07340000 0 0x1000>;
3588
3589			cpu = <&cpu3>;
3590
3591			clocks = <&aoss_qmp>;
3592			clock-names = "apb_pclk";
3593			arm,coresight-loses-context-with-cpu;
3594
3595			out-ports {
3596				port {
3597					etm3_out: endpoint {
3598						remote-endpoint = <&apss_funnel_in3>;
3599					};
3600				};
3601			};
3602		};
3603
3604		etm@7440000 {
3605			compatible = "arm,coresight-etm4x", "arm,primecell";
3606			reg = <0 0x07440000 0 0x1000>;
3607
3608			cpu = <&cpu4>;
3609
3610			clocks = <&aoss_qmp>;
3611			clock-names = "apb_pclk";
3612			arm,coresight-loses-context-with-cpu;
3613
3614			out-ports {
3615				port {
3616					etm4_out: endpoint {
3617						remote-endpoint = <&apss_funnel_in4>;
3618					};
3619				};
3620			};
3621		};
3622
3623		etm@7540000 {
3624			compatible = "arm,coresight-etm4x", "arm,primecell";
3625			reg = <0 0x07540000 0 0x1000>;
3626
3627			cpu = <&cpu5>;
3628
3629			clocks = <&aoss_qmp>;
3630			clock-names = "apb_pclk";
3631			arm,coresight-loses-context-with-cpu;
3632
3633			out-ports {
3634				port {
3635					etm5_out: endpoint {
3636						remote-endpoint = <&apss_funnel_in5>;
3637					};
3638				};
3639			};
3640		};
3641
3642		etm@7640000 {
3643			compatible = "arm,coresight-etm4x", "arm,primecell";
3644			reg = <0 0x07640000 0 0x1000>;
3645
3646			cpu = <&cpu6>;
3647
3648			clocks = <&aoss_qmp>;
3649			clock-names = "apb_pclk";
3650			arm,coresight-loses-context-with-cpu;
3651
3652			out-ports {
3653				port {
3654					etm6_out: endpoint {
3655						remote-endpoint = <&apss_funnel_in6>;
3656					};
3657				};
3658			};
3659		};
3660
3661		etm@7740000 {
3662			compatible = "arm,coresight-etm4x", "arm,primecell";
3663			reg = <0 0x07740000 0 0x1000>;
3664
3665			cpu = <&cpu7>;
3666
3667			clocks = <&aoss_qmp>;
3668			clock-names = "apb_pclk";
3669			arm,coresight-loses-context-with-cpu;
3670
3671			out-ports {
3672				port {
3673					etm7_out: endpoint {
3674						remote-endpoint = <&apss_funnel_in7>;
3675					};
3676				};
3677			};
3678		};
3679
3680		funnel@7800000 {
3681			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3682			reg = <0 0x07800000 0 0x1000>;
3683
3684			clocks = <&aoss_qmp>;
3685			clock-names = "apb_pclk";
3686
3687			out-ports {
3688				port {
3689					funnel_apss_out_funnel_apss_merg: endpoint {
3690					remote-endpoint = <&funnel_apss_merg_in_funnel_apss>;
3691					};
3692				};
3693			};
3694
3695			in-ports {
3696				#address-cells = <1>;
3697				#size-cells = <0>;
3698
3699				port@0 {
3700					reg = <0>;
3701					apss_funnel_in0: endpoint {
3702						remote-endpoint = <&etm0_out>;
3703					};
3704				};
3705
3706				port@1 {
3707					reg = <1>;
3708					apss_funnel_in1: endpoint {
3709						remote-endpoint = <&etm1_out>;
3710					};
3711				};
3712
3713				port@2 {
3714					reg = <2>;
3715					apss_funnel_in2: endpoint {
3716						remote-endpoint = <&etm2_out>;
3717					};
3718				};
3719
3720				port@3 {
3721					reg = <3>;
3722					apss_funnel_in3: endpoint {
3723						remote-endpoint = <&etm3_out>;
3724					};
3725				};
3726
3727				port@4 {
3728					reg = <4>;
3729					apss_funnel_in4: endpoint {
3730						remote-endpoint = <&etm4_out>;
3731					};
3732				};
3733
3734				port@5 {
3735					reg = <5>;
3736					apss_funnel_in5: endpoint {
3737						remote-endpoint = <&etm5_out>;
3738					};
3739				};
3740
3741				port@6 {
3742					reg = <6>;
3743					apss_funnel_in6: endpoint {
3744						remote-endpoint = <&etm6_out>;
3745					};
3746				};
3747
3748				port@7 {
3749					reg = <7>;
3750					apss_funnel_in7: endpoint {
3751						remote-endpoint = <&etm7_out>;
3752					};
3753				};
3754			};
3755		};
3756
3757		funnel@7810000 {
3758			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3759			reg = <0 0x07810000 0 0x1000>;
3760
3761			clocks = <&aoss_qmp>;
3762			clock-names = "apb_pclk";
3763
3764			out-ports {
3765				port {
3766					funnel_apss_merg_out_funnel_in1: endpoint {
3767					remote-endpoint = <&funnel_in1_in_funnel_apss_merg>;
3768					};
3769				};
3770			};
3771
3772			in-ports {
3773				port {
3774					funnel_apss_merg_in_funnel_apss: endpoint {
3775					remote-endpoint = <&funnel_apss_out_funnel_apss_merg>;
3776					};
3777				};
3778			};
3779		};
3780
3781		cdsp: remoteproc@8300000 {
3782			compatible = "qcom,sm8250-cdsp-pas";
3783			reg = <0 0x08300000 0 0x10000>;
3784
3785			interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
3786					      <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>,
3787					      <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>,
3788					      <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>,
3789					      <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>;
3790			interrupt-names = "wdog", "fatal", "ready",
3791					  "handover", "stop-ack";
3792
3793			clocks = <&rpmhcc RPMH_CXO_CLK>;
3794			clock-names = "xo";
3795
3796			power-domains = <&rpmhpd RPMHPD_CX>;
3797
3798			memory-region = <&cdsp_mem>;
3799
3800			qcom,qmp = <&aoss_qmp>;
3801
3802			qcom,smem-states = <&smp2p_cdsp_out 0>;
3803			qcom,smem-state-names = "stop";
3804
3805			status = "disabled";
3806
3807			glink-edge {
3808				interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
3809							     IPCC_MPROC_SIGNAL_GLINK_QMP
3810							     IRQ_TYPE_EDGE_RISING>;
3811				mboxes = <&ipcc IPCC_CLIENT_CDSP
3812						IPCC_MPROC_SIGNAL_GLINK_QMP>;
3813
3814				label = "cdsp";
3815				qcom,remote-pid = <5>;
3816
3817				fastrpc {
3818					compatible = "qcom,fastrpc";
3819					qcom,glink-channels = "fastrpcglink-apps-dsp";
3820					label = "cdsp";
3821					qcom,non-secure-domain;
3822					#address-cells = <1>;
3823					#size-cells = <0>;
3824
3825					compute-cb@1 {
3826						compatible = "qcom,fastrpc-compute-cb";
3827						reg = <1>;
3828						iommus = <&apps_smmu 0x1001 0x0460>;
3829					};
3830
3831					compute-cb@2 {
3832						compatible = "qcom,fastrpc-compute-cb";
3833						reg = <2>;
3834						iommus = <&apps_smmu 0x1002 0x0460>;
3835					};
3836
3837					compute-cb@3 {
3838						compatible = "qcom,fastrpc-compute-cb";
3839						reg = <3>;
3840						iommus = <&apps_smmu 0x1003 0x0460>;
3841					};
3842
3843					compute-cb@4 {
3844						compatible = "qcom,fastrpc-compute-cb";
3845						reg = <4>;
3846						iommus = <&apps_smmu 0x1004 0x0460>;
3847					};
3848
3849					compute-cb@5 {
3850						compatible = "qcom,fastrpc-compute-cb";
3851						reg = <5>;
3852						iommus = <&apps_smmu 0x1005 0x0460>;
3853					};
3854
3855					compute-cb@6 {
3856						compatible = "qcom,fastrpc-compute-cb";
3857						reg = <6>;
3858						iommus = <&apps_smmu 0x1006 0x0460>;
3859					};
3860
3861					compute-cb@7 {
3862						compatible = "qcom,fastrpc-compute-cb";
3863						reg = <7>;
3864						iommus = <&apps_smmu 0x1007 0x0460>;
3865					};
3866
3867					compute-cb@8 {
3868						compatible = "qcom,fastrpc-compute-cb";
3869						reg = <8>;
3870						iommus = <&apps_smmu 0x1008 0x0460>;
3871					};
3872
3873					/* note: secure cb9 in downstream */
3874				};
3875			};
3876		};
3877
3878		usb_1_hsphy: phy@88e3000 {
3879			compatible = "qcom,sm8250-usb-hs-phy",
3880				     "qcom,usb-snps-hs-7nm-phy";
3881			reg = <0 0x088e3000 0 0x400>;
3882			status = "disabled";
3883			#phy-cells = <0>;
3884
3885			clocks = <&rpmhcc RPMH_CXO_CLK>;
3886			clock-names = "ref";
3887
3888			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
3889		};
3890
3891		usb_2_hsphy: phy@88e4000 {
3892			compatible = "qcom,sm8250-usb-hs-phy",
3893				     "qcom,usb-snps-hs-7nm-phy";
3894			reg = <0 0x088e4000 0 0x400>;
3895			status = "disabled";
3896			#phy-cells = <0>;
3897
3898			clocks = <&rpmhcc RPMH_CXO_CLK>;
3899			clock-names = "ref";
3900
3901			resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
3902		};
3903
3904		usb_1_qmpphy: phy@88e8000 {
3905			compatible = "qcom,sm8250-qmp-usb3-dp-phy";
3906			reg = <0 0x088e8000 0 0x3000>;
3907			status = "disabled";
3908
3909			clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
3910				 <&rpmhcc RPMH_CXO_CLK>,
3911				 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>,
3912				 <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
3913			clock-names = "aux",
3914				      "ref",
3915				      "com_aux",
3916				      "usb3_pipe";
3917
3918			resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
3919				 <&gcc GCC_USB3_PHY_PRIM_BCR>;
3920			reset-names = "phy", "common";
3921
3922			#clock-cells = <1>;
3923			#phy-cells = <1>;
3924
3925			orientation-switch;
3926
3927			ports {
3928				#address-cells = <1>;
3929				#size-cells = <0>;
3930
3931				port@0 {
3932					reg = <0>;
3933					usb_1_qmpphy_out: endpoint {};
3934				};
3935
3936				port@1 {
3937					reg = <1>;
3938
3939					usb_1_qmpphy_usb_ss_in: endpoint {
3940						remote-endpoint = <&usb_1_dwc3_ss_out>;
3941					};
3942				};
3943
3944				port@2 {
3945					reg = <2>;
3946
3947					usb_1_qmpphy_dp_in: endpoint {};
3948				};
3949			};
3950		};
3951
3952		usb_2_qmpphy: phy@88eb000 {
3953			compatible = "qcom,sm8250-qmp-usb3-uni-phy";
3954			reg = <0 0x088eb000 0 0x1000>;
3955
3956			clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
3957				 <&gcc GCC_USB3_SEC_CLKREF_EN>,
3958				 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>,
3959				 <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
3960			clock-names = "aux",
3961				      "ref",
3962				      "com_aux",
3963				      "pipe";
3964			clock-output-names = "usb3_uni_phy_pipe_clk_src";
3965			#clock-cells = <0>;
3966			#phy-cells = <0>;
3967
3968			resets = <&gcc GCC_USB3_PHY_SEC_BCR>,
3969				 <&gcc GCC_USB3PHY_PHY_SEC_BCR>;
3970			reset-names = "phy",
3971				      "phy_phy";
3972
3973			status = "disabled";
3974		};
3975
3976		sdhc_2: mmc@8804000 {
3977			compatible = "qcom,sm8250-sdhci", "qcom,sdhci-msm-v5";
3978			reg = <0 0x08804000 0 0x1000>;
3979
3980			interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
3981				     <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
3982			interrupt-names = "hc_irq", "pwr_irq";
3983
3984			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
3985				 <&gcc GCC_SDCC2_APPS_CLK>,
3986				 <&rpmhcc RPMH_CXO_CLK>;
3987			clock-names = "iface", "core", "xo";
3988			iommus = <&apps_smmu 0x4a0 0x0>;
3989			qcom,dll-config = <0x0007642c>;
3990			qcom,ddr-config = <0x80040868>;
3991			power-domains = <&rpmhpd RPMHPD_CX>;
3992			operating-points-v2 = <&sdhc2_opp_table>;
3993
3994			status = "disabled";
3995
3996			sdhc2_opp_table: opp-table {
3997				compatible = "operating-points-v2";
3998
3999				opp-19200000 {
4000					opp-hz = /bits/ 64 <19200000>;
4001					required-opps = <&rpmhpd_opp_min_svs>;
4002				};
4003
4004				opp-50000000 {
4005					opp-hz = /bits/ 64 <50000000>;
4006					required-opps = <&rpmhpd_opp_low_svs>;
4007				};
4008
4009				opp-100000000 {
4010					opp-hz = /bits/ 64 <100000000>;
4011					required-opps = <&rpmhpd_opp_svs>;
4012				};
4013
4014				opp-202000000 {
4015					opp-hz = /bits/ 64 <202000000>;
4016					required-opps = <&rpmhpd_opp_svs_l1>;
4017				};
4018			};
4019		};
4020
4021		pmu@9091000 {
4022			compatible = "qcom,sm8250-llcc-bwmon", "qcom,sc7280-llcc-bwmon";
4023			reg = <0 0x09091000 0 0x1000>;
4024
4025			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
4026
4027			interconnects = <&mc_virt MASTER_LLCC 3 &mc_virt SLAVE_EBI_CH0 3>;
4028
4029			operating-points-v2 = <&llcc_bwmon_opp_table>;
4030
4031			llcc_bwmon_opp_table: opp-table {
4032				compatible = "operating-points-v2";
4033
4034				opp-800000 {
4035					opp-peak-kBps = <(200 * 4 * 1000)>;
4036				};
4037
4038				opp-1200000 {
4039					opp-peak-kBps = <(300 * 4 * 1000)>;
4040				};
4041
4042				opp-1804000 {
4043					opp-peak-kBps = <(451 * 4 * 1000)>;
4044				};
4045
4046				opp-2188000 {
4047					opp-peak-kBps = <(547 * 4 * 1000)>;
4048				};
4049
4050				opp-2724000 {
4051					opp-peak-kBps = <(681 * 4 * 1000)>;
4052				};
4053
4054				opp-3072000 {
4055					opp-peak-kBps = <(768 * 4 * 1000)>;
4056				};
4057
4058				opp-4068000 {
4059					opp-peak-kBps = <(1017 * 4 * 1000)>;
4060				};
4061
4062				/* 1353 MHz, LPDDR4X */
4063
4064				opp-6220000 {
4065					opp-peak-kBps = <(1555 * 4 * 1000)>;
4066				};
4067
4068				opp-7216000 {
4069					opp-peak-kBps = <(1804 * 4 * 1000)>;
4070				};
4071
4072				opp-8368000 {
4073					opp-peak-kBps = <(2092 * 4 * 1000)>;
4074				};
4075
4076				/* LPDDR5 */
4077				opp-10944000 {
4078					opp-peak-kBps = <(2736 * 4 * 1000)>;
4079				};
4080			};
4081		};
4082
4083		pmu@90b6400 {
4084			compatible = "qcom,sm8250-cpu-bwmon", "qcom,sdm845-bwmon";
4085			reg = <0 0x090b6400 0 0x600>;
4086
4087			interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
4088
4089			interconnects = <&gem_noc MASTER_AMPSS_M0 3 &gem_noc SLAVE_LLCC 3>;
4090			operating-points-v2 = <&cpu_bwmon_opp_table>;
4091
4092			cpu_bwmon_opp_table: opp-table {
4093				compatible = "operating-points-v2";
4094
4095				opp-800000 {
4096					opp-peak-kBps = <(200 * 4 * 1000)>;
4097				};
4098
4099				opp-1804000 {
4100					opp-peak-kBps = <(451 * 4 * 1000)>;
4101				};
4102
4103				opp-2188000 {
4104					opp-peak-kBps = <(547 * 4 * 1000)>;
4105				};
4106
4107				opp-2724000 {
4108					opp-peak-kBps = <(681 * 4 * 1000)>;
4109				};
4110
4111				opp-3072000 {
4112					opp-peak-kBps = <(768 * 4 * 1000)>;
4113				};
4114
4115				/* 1017MHz, 1353 MHz, LPDDR4X */
4116
4117				opp-6220000 {
4118					opp-peak-kBps = <(1555 * 4 * 1000)>;
4119				};
4120
4121				opp-6832000 {
4122					opp-peak-kBps = <(1708 * 4 * 1000)>;
4123				};
4124
4125				opp-8368000 {
4126					opp-peak-kBps = <(2092 * 4 * 1000)>;
4127				};
4128
4129				/* 2133MHz, LPDDR4X */
4130
4131				/* LPDDR5 */
4132				opp-10944000 {
4133					opp-peak-kBps = <(2736 * 4 * 1000)>;
4134				};
4135
4136				/* LPDDR5 */
4137				opp-12784000 {
4138					opp-peak-kBps = <(3196 * 4 * 1000)>;
4139				};
4140			};
4141		};
4142
4143		dc_noc: interconnect@90c0000 {
4144			compatible = "qcom,sm8250-dc-noc";
4145			reg = <0 0x090c0000 0 0x4200>;
4146			#interconnect-cells = <2>;
4147			qcom,bcm-voters = <&apps_bcm_voter>;
4148		};
4149
4150		gem_noc: interconnect@9100000 {
4151			compatible = "qcom,sm8250-gem-noc";
4152			reg = <0 0x09100000 0 0xb4000>;
4153			#interconnect-cells = <2>;
4154			qcom,bcm-voters = <&apps_bcm_voter>;
4155		};
4156
4157		npu_noc: interconnect@9990000 {
4158			compatible = "qcom,sm8250-npu-noc";
4159			reg = <0 0x09990000 0 0x1600>;
4160			#interconnect-cells = <2>;
4161			qcom,bcm-voters = <&apps_bcm_voter>;
4162		};
4163
4164		usb_1: usb@a6f8800 {
4165			compatible = "qcom,sm8250-dwc3", "qcom,dwc3";
4166			reg = <0 0x0a6f8800 0 0x400>;
4167			status = "disabled";
4168			#address-cells = <2>;
4169			#size-cells = <2>;
4170			ranges;
4171			dma-ranges;
4172
4173			clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
4174				 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
4175				 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
4176				 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
4177				 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
4178				 <&gcc GCC_USB3_SEC_CLKREF_EN>;
4179			clock-names = "cfg_noc",
4180				      "core",
4181				      "iface",
4182				      "sleep",
4183				      "mock_utmi",
4184				      "xo";
4185
4186			assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
4187					  <&gcc GCC_USB30_PRIM_MASTER_CLK>;
4188			assigned-clock-rates = <19200000>, <200000000>;
4189
4190			interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
4191					      <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
4192					      <&pdc 14 IRQ_TYPE_EDGE_BOTH>,
4193					      <&pdc 15 IRQ_TYPE_EDGE_BOTH>,
4194					      <&pdc 17 IRQ_TYPE_LEVEL_HIGH>;
4195			interrupt-names = "pwr_event",
4196					  "hs_phy_irq",
4197					  "dp_hs_phy_irq",
4198					  "dm_hs_phy_irq",
4199					  "ss_phy_irq";
4200
4201			power-domains = <&gcc USB30_PRIM_GDSC>;
4202			wakeup-source;
4203
4204			resets = <&gcc GCC_USB30_PRIM_BCR>;
4205
4206			interconnects = <&aggre1_noc MASTER_USB3 0 &mc_virt SLAVE_EBI_CH0 0>,
4207					<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3 0>;
4208			interconnect-names = "usb-ddr", "apps-usb";
4209
4210			usb_1_dwc3: usb@a600000 {
4211				compatible = "snps,dwc3";
4212				reg = <0 0x0a600000 0 0xcd00>;
4213				interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
4214				iommus = <&apps_smmu 0x0 0x0>;
4215				snps,dis_u2_susphy_quirk;
4216				snps,dis_enblslpm_quirk;
4217				snps,dis-u1-entry-quirk;
4218				snps,dis-u2-entry-quirk;
4219				phys = <&usb_1_hsphy>, <&usb_1_qmpphy QMP_USB43DP_USB3_PHY>;
4220				phy-names = "usb2-phy", "usb3-phy";
4221
4222				ports {
4223					#address-cells = <1>;
4224					#size-cells = <0>;
4225
4226					port@0 {
4227						reg = <0>;
4228
4229						usb_1_dwc3_hs_out: endpoint {
4230						};
4231					};
4232
4233					port@1 {
4234						reg = <1>;
4235
4236						usb_1_dwc3_ss_out: endpoint {
4237							remote-endpoint = <&usb_1_qmpphy_usb_ss_in>;
4238						};
4239					};
4240				};
4241			};
4242		};
4243
4244		system-cache-controller@9200000 {
4245			compatible = "qcom,sm8250-llcc";
4246			reg = <0 0x09200000 0 0x50000>, <0 0x09280000 0 0x50000>,
4247			      <0 0x09300000 0 0x50000>, <0 0x09380000 0 0x50000>,
4248			      <0 0x09600000 0 0x50000>;
4249			reg-names = "llcc0_base", "llcc1_base", "llcc2_base",
4250				    "llcc3_base", "llcc_broadcast_base";
4251		};
4252
4253		usb_2: usb@a8f8800 {
4254			compatible = "qcom,sm8250-dwc3", "qcom,dwc3";
4255			reg = <0 0x0a8f8800 0 0x400>;
4256			status = "disabled";
4257			#address-cells = <2>;
4258			#size-cells = <2>;
4259			ranges;
4260			dma-ranges;
4261
4262			clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
4263				 <&gcc GCC_USB30_SEC_MASTER_CLK>,
4264				 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
4265				 <&gcc GCC_USB30_SEC_SLEEP_CLK>,
4266				 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
4267				 <&gcc GCC_USB3_SEC_CLKREF_EN>;
4268			clock-names = "cfg_noc",
4269				      "core",
4270				      "iface",
4271				      "sleep",
4272				      "mock_utmi",
4273				      "xo";
4274
4275			assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
4276					  <&gcc GCC_USB30_SEC_MASTER_CLK>;
4277			assigned-clock-rates = <19200000>, <200000000>;
4278
4279			interrupts-extended = <&intc GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
4280					      <&intc GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
4281					      <&pdc 12 IRQ_TYPE_EDGE_BOTH>,
4282					      <&pdc 13 IRQ_TYPE_EDGE_BOTH>,
4283					      <&pdc 16 IRQ_TYPE_LEVEL_HIGH>;
4284			interrupt-names = "pwr_event",
4285					  "hs_phy_irq",
4286					  "dp_hs_phy_irq",
4287					  "dm_hs_phy_irq",
4288					  "ss_phy_irq";
4289
4290			power-domains = <&gcc USB30_SEC_GDSC>;
4291			wakeup-source;
4292
4293			resets = <&gcc GCC_USB30_SEC_BCR>;
4294
4295			interconnects = <&aggre1_noc MASTER_USB3_1 0 &mc_virt SLAVE_EBI_CH0 0>,
4296					<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3_1 0>;
4297			interconnect-names = "usb-ddr", "apps-usb";
4298
4299			usb_2_dwc3: usb@a800000 {
4300				compatible = "snps,dwc3";
4301				reg = <0 0x0a800000 0 0xcd00>;
4302				interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
4303				iommus = <&apps_smmu 0x20 0>;
4304				snps,dis_u2_susphy_quirk;
4305				snps,dis_enblslpm_quirk;
4306				snps,dis-u1-entry-quirk;
4307				snps,dis-u2-entry-quirk;
4308				phys = <&usb_2_hsphy>, <&usb_2_qmpphy>;
4309				phy-names = "usb2-phy", "usb3-phy";
4310			};
4311		};
4312
4313		venus: video-codec@aa00000 {
4314			compatible = "qcom,sm8250-venus";
4315			reg = <0 0x0aa00000 0 0x100000>;
4316			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
4317			power-domains = <&videocc MVS0C_GDSC>,
4318					<&videocc MVS0_GDSC>,
4319					<&rpmhpd RPMHPD_MX>;
4320			power-domain-names = "venus", "vcodec0", "mx";
4321			operating-points-v2 = <&venus_opp_table>;
4322
4323			clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
4324				 <&videocc VIDEO_CC_MVS0C_CLK>,
4325				 <&videocc VIDEO_CC_MVS0_CLK>;
4326			clock-names = "iface", "core", "vcodec0_core";
4327
4328			interconnects = <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_VENUS_CFG 0>,
4329					<&mmss_noc MASTER_VIDEO_P0 0 &mc_virt SLAVE_EBI_CH0 0>;
4330			interconnect-names = "cpu-cfg", "video-mem";
4331
4332			iommus = <&apps_smmu 0x2100 0x0400>;
4333			memory-region = <&video_mem>;
4334
4335			resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>,
4336				 <&videocc VIDEO_CC_MVS0C_CLK_ARES>;
4337			reset-names = "bus", "core";
4338
4339			status = "disabled";
4340
4341			video-decoder {
4342				compatible = "venus-decoder";
4343			};
4344
4345			video-encoder {
4346				compatible = "venus-encoder";
4347			};
4348
4349			venus_opp_table: opp-table {
4350				compatible = "operating-points-v2";
4351
4352				opp-720000000 {
4353					opp-hz = /bits/ 64 <720000000>;
4354					required-opps = <&rpmhpd_opp_low_svs>;
4355				};
4356
4357				opp-1014000000 {
4358					opp-hz = /bits/ 64 <1014000000>;
4359					required-opps = <&rpmhpd_opp_svs>;
4360				};
4361
4362				opp-1098000000 {
4363					opp-hz = /bits/ 64 <1098000000>;
4364					required-opps = <&rpmhpd_opp_svs_l1>;
4365				};
4366
4367				opp-1332000000 {
4368					opp-hz = /bits/ 64 <1332000000>;
4369					required-opps = <&rpmhpd_opp_nom>;
4370				};
4371			};
4372		};
4373
4374		videocc: clock-controller@abf0000 {
4375			compatible = "qcom,sm8250-videocc";
4376			reg = <0 0x0abf0000 0 0x10000>;
4377			clocks = <&gcc GCC_VIDEO_AHB_CLK>,
4378				 <&rpmhcc RPMH_CXO_CLK>,
4379				 <&rpmhcc RPMH_CXO_CLK_A>;
4380			power-domains = <&rpmhpd RPMHPD_MMCX>;
4381			required-opps = <&rpmhpd_opp_low_svs>;
4382			clock-names = "iface", "bi_tcxo", "bi_tcxo_ao";
4383			#clock-cells = <1>;
4384			#reset-cells = <1>;
4385			#power-domain-cells = <1>;
4386		};
4387
4388		cci0: cci@ac4f000 {
4389			compatible = "qcom,sm8250-cci", "qcom,msm8996-cci";
4390			#address-cells = <1>;
4391			#size-cells = <0>;
4392
4393			reg = <0 0x0ac4f000 0 0x1000>;
4394			interrupts = <GIC_SPI 460 IRQ_TYPE_EDGE_RISING>;
4395			power-domains = <&camcc TITAN_TOP_GDSC>;
4396
4397			clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>,
4398				 <&camcc CAM_CC_SLOW_AHB_CLK_SRC>,
4399				 <&camcc CAM_CC_CPAS_AHB_CLK>,
4400				 <&camcc CAM_CC_CCI_0_CLK>,
4401				 <&camcc CAM_CC_CCI_0_CLK_SRC>;
4402			clock-names = "camnoc_axi",
4403				      "slow_ahb_src",
4404				      "cpas_ahb",
4405				      "cci",
4406				      "cci_src";
4407
4408			pinctrl-0 = <&cci0_default>;
4409			pinctrl-1 = <&cci0_sleep>;
4410			pinctrl-names = "default", "sleep";
4411
4412			status = "disabled";
4413
4414			cci0_i2c0: i2c-bus@0 {
4415				reg = <0>;
4416				clock-frequency = <1000000>;
4417				#address-cells = <1>;
4418				#size-cells = <0>;
4419			};
4420
4421			cci0_i2c1: i2c-bus@1 {
4422				reg = <1>;
4423				clock-frequency = <1000000>;
4424				#address-cells = <1>;
4425				#size-cells = <0>;
4426			};
4427		};
4428
4429		cci1: cci@ac50000 {
4430			compatible = "qcom,sm8250-cci", "qcom,msm8996-cci";
4431			#address-cells = <1>;
4432			#size-cells = <0>;
4433
4434			reg = <0 0x0ac50000 0 0x1000>;
4435			interrupts = <GIC_SPI 271 IRQ_TYPE_EDGE_RISING>;
4436			power-domains = <&camcc TITAN_TOP_GDSC>;
4437
4438			clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>,
4439				 <&camcc CAM_CC_SLOW_AHB_CLK_SRC>,
4440				 <&camcc CAM_CC_CPAS_AHB_CLK>,
4441				 <&camcc CAM_CC_CCI_1_CLK>,
4442				 <&camcc CAM_CC_CCI_1_CLK_SRC>;
4443			clock-names = "camnoc_axi",
4444				      "slow_ahb_src",
4445				      "cpas_ahb",
4446				      "cci",
4447				      "cci_src";
4448
4449			pinctrl-0 = <&cci1_default>;
4450			pinctrl-1 = <&cci1_sleep>;
4451			pinctrl-names = "default", "sleep";
4452
4453			status = "disabled";
4454
4455			cci1_i2c0: i2c-bus@0 {
4456				reg = <0>;
4457				clock-frequency = <1000000>;
4458				#address-cells = <1>;
4459				#size-cells = <0>;
4460			};
4461
4462			cci1_i2c1: i2c-bus@1 {
4463				reg = <1>;
4464				clock-frequency = <1000000>;
4465				#address-cells = <1>;
4466				#size-cells = <0>;
4467			};
4468		};
4469
4470		camss: camss@ac6a000 {
4471			compatible = "qcom,sm8250-camss";
4472			status = "disabled";
4473
4474			reg = <0 0x0ac6a000 0 0x2000>,
4475			      <0 0x0ac6c000 0 0x2000>,
4476			      <0 0x0ac6e000 0 0x1000>,
4477			      <0 0x0ac70000 0 0x1000>,
4478			      <0 0x0ac72000 0 0x1000>,
4479			      <0 0x0ac74000 0 0x1000>,
4480			      <0 0x0acb4000 0 0xd000>,
4481			      <0 0x0acc3000 0 0xd000>,
4482			      <0 0x0acd9000 0 0x2200>,
4483			      <0 0x0acdb200 0 0x2200>;
4484			reg-names = "csiphy0",
4485				    "csiphy1",
4486				    "csiphy2",
4487				    "csiphy3",
4488				    "csiphy4",
4489				    "csiphy5",
4490				    "vfe0",
4491				    "vfe1",
4492				    "vfe_lite0",
4493				    "vfe_lite1";
4494
4495			interrupts = <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
4496				     <GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
4497				     <GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
4498				     <GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
4499				     <GIC_SPI 86 IRQ_TYPE_EDGE_RISING>,
4500				     <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>,
4501				     <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
4502				     <GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
4503				     <GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
4504				     <GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
4505				     <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
4506				     <GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
4507				     <GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
4508				     <GIC_SPI 360 IRQ_TYPE_EDGE_RISING>;
4509			interrupt-names = "csiphy0",
4510					  "csiphy1",
4511					  "csiphy2",
4512					  "csiphy3",
4513					  "csiphy4",
4514					  "csiphy5",
4515					  "csid0",
4516					  "csid1",
4517					  "csid2",
4518					  "csid3",
4519					  "vfe0",
4520					  "vfe1",
4521					  "vfe_lite0",
4522					  "vfe_lite1";
4523
4524			power-domains = <&camcc IFE_0_GDSC>,
4525					<&camcc IFE_1_GDSC>,
4526					<&camcc TITAN_TOP_GDSC>;
4527
4528			clocks = <&gcc GCC_CAMERA_AHB_CLK>,
4529				 <&gcc GCC_CAMERA_HF_AXI_CLK>,
4530				 <&gcc GCC_CAMERA_SF_AXI_CLK>,
4531				 <&camcc CAM_CC_CAMNOC_AXI_CLK>,
4532				 <&camcc CAM_CC_CAMNOC_AXI_CLK_SRC>,
4533				 <&camcc CAM_CC_CORE_AHB_CLK>,
4534				 <&camcc CAM_CC_CPAS_AHB_CLK>,
4535				 <&camcc CAM_CC_CSIPHY0_CLK>,
4536				 <&camcc CAM_CC_CSI0PHYTIMER_CLK>,
4537				 <&camcc CAM_CC_CSIPHY1_CLK>,
4538				 <&camcc CAM_CC_CSI1PHYTIMER_CLK>,
4539				 <&camcc CAM_CC_CSIPHY2_CLK>,
4540				 <&camcc CAM_CC_CSI2PHYTIMER_CLK>,
4541				 <&camcc CAM_CC_CSIPHY3_CLK>,
4542				 <&camcc CAM_CC_CSI3PHYTIMER_CLK>,
4543				 <&camcc CAM_CC_CSIPHY4_CLK>,
4544				 <&camcc CAM_CC_CSI4PHYTIMER_CLK>,
4545				 <&camcc CAM_CC_CSIPHY5_CLK>,
4546				 <&camcc CAM_CC_CSI5PHYTIMER_CLK>,
4547				 <&camcc CAM_CC_SLOW_AHB_CLK_SRC>,
4548				 <&camcc CAM_CC_IFE_0_AHB_CLK>,
4549				 <&camcc CAM_CC_IFE_0_AXI_CLK>,
4550				 <&camcc CAM_CC_IFE_0_CLK>,
4551				 <&camcc CAM_CC_IFE_0_CPHY_RX_CLK>,
4552				 <&camcc CAM_CC_IFE_0_CSID_CLK>,
4553				 <&camcc CAM_CC_IFE_0_AREG_CLK>,
4554				 <&camcc CAM_CC_IFE_1_AHB_CLK>,
4555				 <&camcc CAM_CC_IFE_1_AXI_CLK>,
4556				 <&camcc CAM_CC_IFE_1_CLK>,
4557				 <&camcc CAM_CC_IFE_1_CPHY_RX_CLK>,
4558				 <&camcc CAM_CC_IFE_1_CSID_CLK>,
4559				 <&camcc CAM_CC_IFE_1_AREG_CLK>,
4560				 <&camcc CAM_CC_IFE_LITE_AHB_CLK>,
4561				 <&camcc CAM_CC_IFE_LITE_AXI_CLK>,
4562				 <&camcc CAM_CC_IFE_LITE_CLK>,
4563				 <&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
4564				 <&camcc CAM_CC_IFE_LITE_CSID_CLK>;
4565
4566			clock-names = "cam_ahb_clk",
4567				      "cam_hf_axi",
4568				      "cam_sf_axi",
4569				      "camnoc_axi",
4570				      "camnoc_axi_src",
4571				      "core_ahb",
4572				      "cpas_ahb",
4573				      "csiphy0",
4574				      "csiphy0_timer",
4575				      "csiphy1",
4576				      "csiphy1_timer",
4577				      "csiphy2",
4578				      "csiphy2_timer",
4579				      "csiphy3",
4580				      "csiphy3_timer",
4581				      "csiphy4",
4582				      "csiphy4_timer",
4583				      "csiphy5",
4584				      "csiphy5_timer",
4585				      "slow_ahb_src",
4586				      "vfe0_ahb",
4587				      "vfe0_axi",
4588				      "vfe0",
4589				      "vfe0_cphy_rx",
4590				      "vfe0_csid",
4591				      "vfe0_areg",
4592				      "vfe1_ahb",
4593				      "vfe1_axi",
4594				      "vfe1",
4595				      "vfe1_cphy_rx",
4596				      "vfe1_csid",
4597				      "vfe1_areg",
4598				      "vfe_lite_ahb",
4599				      "vfe_lite_axi",
4600				      "vfe_lite",
4601				      "vfe_lite_cphy_rx",
4602				      "vfe_lite_csid";
4603
4604			iommus = <&apps_smmu 0x800 0x400>,
4605				 <&apps_smmu 0x801 0x400>,
4606				 <&apps_smmu 0x840 0x400>,
4607				 <&apps_smmu 0x841 0x400>,
4608				 <&apps_smmu 0xc00 0x400>,
4609				 <&apps_smmu 0xc01 0x400>,
4610				 <&apps_smmu 0xc40 0x400>,
4611				 <&apps_smmu 0xc41 0x400>;
4612
4613			interconnects = <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_CAMERA_CFG 0>,
4614					<&mmss_noc MASTER_CAMNOC_HF 0 &mc_virt SLAVE_EBI_CH0 0>,
4615					<&mmss_noc MASTER_CAMNOC_SF 0 &mc_virt SLAVE_EBI_CH0 0>,
4616					<&mmss_noc MASTER_CAMNOC_ICP 0 &mc_virt SLAVE_EBI_CH0 0>;
4617			interconnect-names = "cam_ahb",
4618					     "cam_hf_0_mnoc",
4619					     "cam_sf_0_mnoc",
4620					     "cam_sf_icp_mnoc";
4621
4622			ports {
4623				#address-cells = <1>;
4624				#size-cells = <0>;
4625
4626				port@0 {
4627					reg = <0>;
4628				};
4629
4630				port@1 {
4631					reg = <1>;
4632				};
4633
4634				port@2 {
4635					reg = <2>;
4636				};
4637
4638				port@3 {
4639					reg = <3>;
4640				};
4641
4642				port@4 {
4643					reg = <4>;
4644				};
4645
4646				port@5 {
4647					reg = <5>;
4648				};
4649			};
4650		};
4651
4652		camcc: clock-controller@ad00000 {
4653			compatible = "qcom,sm8250-camcc";
4654			reg = <0 0x0ad00000 0 0x10000>;
4655			clocks = <&gcc GCC_CAMERA_AHB_CLK>,
4656				 <&rpmhcc RPMH_CXO_CLK>,
4657				 <&rpmhcc RPMH_CXO_CLK_A>,
4658				 <&sleep_clk>;
4659			clock-names = "iface", "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
4660			power-domains = <&rpmhpd RPMHPD_MMCX>;
4661			required-opps = <&rpmhpd_opp_low_svs>;
4662			#clock-cells = <1>;
4663			#reset-cells = <1>;
4664			#power-domain-cells = <1>;
4665		};
4666
4667		mdss: display-subsystem@ae00000 {
4668			compatible = "qcom,sm8250-mdss";
4669			reg = <0 0x0ae00000 0 0x1000>;
4670			reg-names = "mdss";
4671
4672			interconnects = <&mmss_noc MASTER_MDP_PORT0 0 &mc_virt SLAVE_EBI_CH0 0>,
4673					<&mmss_noc MASTER_MDP_PORT1 0 &mc_virt SLAVE_EBI_CH0 0>;
4674			interconnect-names = "mdp0-mem", "mdp1-mem";
4675
4676			power-domains = <&dispcc MDSS_GDSC>;
4677
4678			clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4679				 <&gcc GCC_DISP_HF_AXI_CLK>,
4680				 <&gcc GCC_DISP_SF_AXI_CLK>,
4681				 <&dispcc DISP_CC_MDSS_MDP_CLK>;
4682			clock-names = "iface", "bus", "nrt_bus", "core";
4683
4684			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
4685			interrupt-controller;
4686			#interrupt-cells = <1>;
4687
4688			iommus = <&apps_smmu 0x820 0x402>;
4689
4690			status = "disabled";
4691
4692			#address-cells = <2>;
4693			#size-cells = <2>;
4694			ranges;
4695
4696			mdss_mdp: display-controller@ae01000 {
4697				compatible = "qcom,sm8250-dpu";
4698				reg = <0 0x0ae01000 0 0x8f000>,
4699				      <0 0x0aeb0000 0 0x3000>;
4700				reg-names = "mdp", "vbif";
4701
4702				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4703					 <&gcc GCC_DISP_HF_AXI_CLK>,
4704					 <&dispcc DISP_CC_MDSS_MDP_CLK>,
4705					 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
4706				clock-names = "iface", "bus", "core", "vsync";
4707
4708				assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
4709				assigned-clock-rates = <19200000>;
4710
4711				operating-points-v2 = <&mdp_opp_table>;
4712				power-domains = <&rpmhpd RPMHPD_MMCX>;
4713
4714				interrupt-parent = <&mdss>;
4715				interrupts = <0>;
4716
4717				ports {
4718					#address-cells = <1>;
4719					#size-cells = <0>;
4720
4721					port@0 {
4722						reg = <0>;
4723						dpu_intf1_out: endpoint {
4724							remote-endpoint = <&mdss_dsi0_in>;
4725						};
4726					};
4727
4728					port@1 {
4729						reg = <1>;
4730						dpu_intf2_out: endpoint {
4731							remote-endpoint = <&mdss_dsi1_in>;
4732						};
4733					};
4734
4735					port@2 {
4736						reg = <2>;
4737
4738						dpu_intf0_out: endpoint {
4739							remote-endpoint = <&mdss_dp_in>;
4740						};
4741					};
4742				};
4743
4744				mdp_opp_table: opp-table {
4745					compatible = "operating-points-v2";
4746
4747					opp-200000000 {
4748						opp-hz = /bits/ 64 <200000000>;
4749						required-opps = <&rpmhpd_opp_low_svs>;
4750					};
4751
4752					opp-300000000 {
4753						opp-hz = /bits/ 64 <300000000>;
4754						required-opps = <&rpmhpd_opp_svs>;
4755					};
4756
4757					opp-345000000 {
4758						opp-hz = /bits/ 64 <345000000>;
4759						required-opps = <&rpmhpd_opp_svs_l1>;
4760					};
4761
4762					opp-460000000 {
4763						opp-hz = /bits/ 64 <460000000>;
4764						required-opps = <&rpmhpd_opp_nom>;
4765					};
4766				};
4767			};
4768
4769			mdss_dp: displayport-controller@ae90000 {
4770				compatible = "qcom,sm8250-dp", "qcom,sm8350-dp";
4771				reg = <0 0xae90000 0 0x200>,
4772				      <0 0xae90200 0 0x200>,
4773				      <0 0xae90400 0 0x600>,
4774				      <0 0xae91000 0 0x400>,
4775				      <0 0xae91400 0 0x400>;
4776				interrupt-parent = <&mdss>;
4777				interrupts = <12>;
4778				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4779					 <&dispcc DISP_CC_MDSS_DP_AUX_CLK>,
4780					 <&dispcc DISP_CC_MDSS_DP_LINK_CLK>,
4781					 <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>,
4782					 <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>;
4783				clock-names = "core_iface",
4784					      "core_aux",
4785					      "ctrl_link",
4786					      "ctrl_link_iface",
4787					      "stream_pixel";
4788
4789				assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>,
4790						  <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>;
4791				assigned-clock-parents = <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>,
4792							 <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;
4793
4794				phys = <&usb_1_qmpphy QMP_USB43DP_DP_PHY>;
4795				phy-names = "dp";
4796
4797				#sound-dai-cells = <0>;
4798
4799				operating-points-v2 = <&dp_opp_table>;
4800				power-domains = <&rpmhpd SM8250_MMCX>;
4801
4802				status = "disabled";
4803
4804				ports {
4805					#address-cells = <1>;
4806					#size-cells = <0>;
4807
4808					port@0 {
4809						reg = <0>;
4810						mdss_dp_in: endpoint {
4811							remote-endpoint = <&dpu_intf0_out>;
4812						};
4813					};
4814
4815					port@1 {
4816						reg = <1>;
4817
4818						mdss_dp_out: endpoint {
4819						};
4820					};
4821				};
4822
4823				dp_opp_table: opp-table {
4824					compatible = "operating-points-v2";
4825
4826					opp-160000000 {
4827						opp-hz = /bits/ 64 <160000000>;
4828						required-opps = <&rpmhpd_opp_low_svs>;
4829					};
4830
4831					opp-270000000 {
4832						opp-hz = /bits/ 64 <270000000>;
4833						required-opps = <&rpmhpd_opp_svs>;
4834					};
4835
4836					opp-540000000 {
4837						opp-hz = /bits/ 64 <540000000>;
4838						required-opps = <&rpmhpd_opp_svs_l1>;
4839					};
4840
4841					opp-810000000 {
4842						opp-hz = /bits/ 64 <810000000>;
4843						required-opps = <&rpmhpd_opp_nom>;
4844					};
4845				};
4846			};
4847
4848			mdss_dsi0: dsi@ae94000 {
4849				compatible = "qcom,sm8250-dsi-ctrl",
4850					     "qcom,mdss-dsi-ctrl";
4851				reg = <0 0x0ae94000 0 0x400>;
4852				reg-names = "dsi_ctrl";
4853
4854				interrupt-parent = <&mdss>;
4855				interrupts = <4>;
4856
4857				clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
4858					 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
4859					 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
4860					 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
4861					 <&dispcc DISP_CC_MDSS_AHB_CLK>,
4862					<&gcc GCC_DISP_HF_AXI_CLK>;
4863				clock-names = "byte",
4864					      "byte_intf",
4865					      "pixel",
4866					      "core",
4867					      "iface",
4868					      "bus";
4869
4870				assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
4871						  <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
4872				assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
4873							 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>;
4874
4875				operating-points-v2 = <&dsi_opp_table>;
4876				power-domains = <&rpmhpd RPMHPD_MMCX>;
4877
4878				phys = <&mdss_dsi0_phy>;
4879
4880				status = "disabled";
4881
4882				#address-cells = <1>;
4883				#size-cells = <0>;
4884
4885				ports {
4886					#address-cells = <1>;
4887					#size-cells = <0>;
4888
4889					port@0 {
4890						reg = <0>;
4891						mdss_dsi0_in: endpoint {
4892							remote-endpoint = <&dpu_intf1_out>;
4893						};
4894					};
4895
4896					port@1 {
4897						reg = <1>;
4898						mdss_dsi0_out: endpoint {
4899						};
4900					};
4901				};
4902
4903				dsi_opp_table: opp-table {
4904					compatible = "operating-points-v2";
4905
4906					opp-187500000 {
4907						opp-hz = /bits/ 64 <187500000>;
4908						required-opps = <&rpmhpd_opp_low_svs>;
4909					};
4910
4911					opp-300000000 {
4912						opp-hz = /bits/ 64 <300000000>;
4913						required-opps = <&rpmhpd_opp_svs>;
4914					};
4915
4916					opp-358000000 {
4917						opp-hz = /bits/ 64 <358000000>;
4918						required-opps = <&rpmhpd_opp_svs_l1>;
4919					};
4920				};
4921			};
4922
4923			mdss_dsi0_phy: phy@ae94400 {
4924				compatible = "qcom,dsi-phy-7nm";
4925				reg = <0 0x0ae94400 0 0x200>,
4926				      <0 0x0ae94600 0 0x280>,
4927				      <0 0x0ae94900 0 0x260>;
4928				reg-names = "dsi_phy",
4929					    "dsi_phy_lane",
4930					    "dsi_pll";
4931
4932				#clock-cells = <1>;
4933				#phy-cells = <0>;
4934
4935				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4936					 <&rpmhcc RPMH_CXO_CLK>;
4937				clock-names = "iface", "ref";
4938
4939				status = "disabled";
4940			};
4941
4942			mdss_dsi1: dsi@ae96000 {
4943				compatible = "qcom,sm8250-dsi-ctrl",
4944					     "qcom,mdss-dsi-ctrl";
4945				reg = <0 0x0ae96000 0 0x400>;
4946				reg-names = "dsi_ctrl";
4947
4948				interrupt-parent = <&mdss>;
4949				interrupts = <5>;
4950
4951				clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
4952					 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
4953					 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
4954					 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
4955					 <&dispcc DISP_CC_MDSS_AHB_CLK>,
4956					 <&gcc GCC_DISP_HF_AXI_CLK>;
4957				clock-names = "byte",
4958					      "byte_intf",
4959					      "pixel",
4960					      "core",
4961					      "iface",
4962					      "bus";
4963
4964				assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
4965						  <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
4966				assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>,
4967							 <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>;
4968
4969				operating-points-v2 = <&dsi_opp_table>;
4970				power-domains = <&rpmhpd RPMHPD_MMCX>;
4971
4972				phys = <&mdss_dsi1_phy>;
4973
4974				status = "disabled";
4975
4976				#address-cells = <1>;
4977				#size-cells = <0>;
4978
4979				ports {
4980					#address-cells = <1>;
4981					#size-cells = <0>;
4982
4983					port@0 {
4984						reg = <0>;
4985						mdss_dsi1_in: endpoint {
4986							remote-endpoint = <&dpu_intf2_out>;
4987						};
4988					};
4989
4990					port@1 {
4991						reg = <1>;
4992						mdss_dsi1_out: endpoint {
4993						};
4994					};
4995				};
4996			};
4997
4998			mdss_dsi1_phy: phy@ae96400 {
4999				compatible = "qcom,dsi-phy-7nm";
5000				reg = <0 0x0ae96400 0 0x200>,
5001				      <0 0x0ae96600 0 0x280>,
5002				      <0 0x0ae96900 0 0x260>;
5003				reg-names = "dsi_phy",
5004					    "dsi_phy_lane",
5005					    "dsi_pll";
5006
5007				#clock-cells = <1>;
5008				#phy-cells = <0>;
5009
5010				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
5011					 <&rpmhcc RPMH_CXO_CLK>;
5012				clock-names = "iface", "ref";
5013
5014				status = "disabled";
5015			};
5016		};
5017
5018		dispcc: clock-controller@af00000 {
5019			compatible = "qcom,sm8250-dispcc";
5020			reg = <0 0x0af00000 0 0x10000>;
5021			power-domains = <&rpmhpd RPMHPD_MMCX>;
5022			required-opps = <&rpmhpd_opp_low_svs>;
5023			clocks = <&rpmhcc RPMH_CXO_CLK>,
5024				 <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
5025				 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>,
5026				 <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>,
5027				 <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>,
5028				 <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>,
5029				 <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;
5030			clock-names = "bi_tcxo",
5031				      "dsi0_phy_pll_out_byteclk",
5032				      "dsi0_phy_pll_out_dsiclk",
5033				      "dsi1_phy_pll_out_byteclk",
5034				      "dsi1_phy_pll_out_dsiclk",
5035				      "dp_phy_pll_link_clk",
5036				      "dp_phy_pll_vco_div_clk";
5037			#clock-cells = <1>;
5038			#reset-cells = <1>;
5039			#power-domain-cells = <1>;
5040		};
5041
5042		pdc: interrupt-controller@b220000 {
5043			compatible = "qcom,sm8250-pdc", "qcom,pdc";
5044			reg = <0 0x0b220000 0 0x30000>, <0 0x17c000f0 0 0x60>;
5045			qcom,pdc-ranges = <0 480 94>, <94 609 31>,
5046					  <125 63 1>, <126 716 12>;
5047			#interrupt-cells = <2>;
5048			interrupt-parent = <&intc>;
5049			interrupt-controller;
5050		};
5051
5052		tsens0: thermal-sensor@c263000 {
5053			compatible = "qcom,sm8250-tsens", "qcom,tsens-v2";
5054			reg = <0 0x0c263000 0 0x1ff>, /* TM */
5055			      <0 0x0c222000 0 0x1ff>; /* SROT */
5056			#qcom,sensors = <16>;
5057			interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
5058				     <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
5059			interrupt-names = "uplow", "critical";
5060			#thermal-sensor-cells = <1>;
5061		};
5062
5063		tsens1: thermal-sensor@c265000 {
5064			compatible = "qcom,sm8250-tsens", "qcom,tsens-v2";
5065			reg = <0 0x0c265000 0 0x1ff>, /* TM */
5066			      <0 0x0c223000 0 0x1ff>; /* SROT */
5067			#qcom,sensors = <9>;
5068			interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
5069				     <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
5070			interrupt-names = "uplow", "critical";
5071			#thermal-sensor-cells = <1>;
5072		};
5073
5074		aoss_qmp: power-management@c300000 {
5075			compatible = "qcom,sm8250-aoss-qmp", "qcom,aoss-qmp";
5076			reg = <0 0x0c300000 0 0x400>;
5077			interrupts-extended = <&ipcc IPCC_CLIENT_AOP
5078						     IPCC_MPROC_SIGNAL_GLINK_QMP
5079						     IRQ_TYPE_EDGE_RISING>;
5080			mboxes = <&ipcc IPCC_CLIENT_AOP
5081					IPCC_MPROC_SIGNAL_GLINK_QMP>;
5082
5083			#clock-cells = <0>;
5084		};
5085
5086		sram@c3f0000 {
5087			compatible = "qcom,rpmh-stats";
5088			reg = <0 0x0c3f0000 0 0x400>;
5089		};
5090
5091		spmi_bus: spmi@c440000 {
5092			compatible = "qcom,spmi-pmic-arb";
5093			reg = <0x0 0x0c440000 0x0 0x0001100>,
5094			      <0x0 0x0c600000 0x0 0x2000000>,
5095			      <0x0 0x0e600000 0x0 0x0100000>,
5096			      <0x0 0x0e700000 0x0 0x00a0000>,
5097			      <0x0 0x0c40a000 0x0 0x0026000>;
5098			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
5099			interrupt-names = "periph_irq";
5100			interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
5101			qcom,ee = <0>;
5102			qcom,channel = <0>;
5103			#address-cells = <2>;
5104			#size-cells = <0>;
5105			interrupt-controller;
5106			#interrupt-cells = <4>;
5107		};
5108
5109		tlmm: pinctrl@f100000 {
5110			compatible = "qcom,sm8250-pinctrl";
5111			reg = <0 0x0f100000 0 0x300000>,
5112			      <0 0x0f500000 0 0x300000>,
5113			      <0 0x0f900000 0 0x300000>;
5114			reg-names = "west", "south", "north";
5115			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
5116			gpio-controller;
5117			#gpio-cells = <2>;
5118			interrupt-controller;
5119			#interrupt-cells = <2>;
5120			gpio-ranges = <&tlmm 0 0 181>;
5121			wakeup-parent = <&pdc>;
5122
5123			cam2_default: cam2-default-state {
5124				rst-pins {
5125					pins = "gpio78";
5126					function = "gpio";
5127					drive-strength = <2>;
5128					bias-disable;
5129				};
5130
5131				mclk-pins {
5132					pins = "gpio96";
5133					function = "cam_mclk";
5134					drive-strength = <16>;
5135					bias-disable;
5136				};
5137			};
5138
5139			cam2_suspend: cam2-suspend-state {
5140				rst-pins {
5141					pins = "gpio78";
5142					function = "gpio";
5143					drive-strength = <2>;
5144					bias-pull-down;
5145					output-low;
5146				};
5147
5148				mclk-pins {
5149					pins = "gpio96";
5150					function = "cam_mclk";
5151					drive-strength = <2>;
5152					bias-disable;
5153				};
5154			};
5155
5156			cci0_default: cci0-default-state {
5157				cci0_i2c0_default: cci0-i2c0-default-pins {
5158					/* SDA, SCL */
5159					pins = "gpio101", "gpio102";
5160					function = "cci_i2c";
5161
5162					bias-pull-up;
5163					drive-strength = <2>; /* 2 mA */
5164				};
5165
5166				cci0_i2c1_default: cci0-i2c1-default-pins {
5167					/* SDA, SCL */
5168					pins = "gpio103", "gpio104";
5169					function = "cci_i2c";
5170
5171					bias-pull-up;
5172					drive-strength = <2>; /* 2 mA */
5173				};
5174			};
5175
5176			cci0_sleep: cci0-sleep-state {
5177				cci0_i2c0_sleep: cci0-i2c0-sleep-pins {
5178					/* SDA, SCL */
5179					pins = "gpio101", "gpio102";
5180					function = "cci_i2c";
5181
5182					drive-strength = <2>; /* 2 mA */
5183					bias-pull-down;
5184				};
5185
5186				cci0_i2c1_sleep: cci0-i2c1-sleep-pins {
5187					/* SDA, SCL */
5188					pins = "gpio103", "gpio104";
5189					function = "cci_i2c";
5190
5191					drive-strength = <2>; /* 2 mA */
5192					bias-pull-down;
5193				};
5194			};
5195
5196			cci1_default: cci1-default-state {
5197				cci1_i2c0_default: cci1-i2c0-default-pins {
5198					/* SDA, SCL */
5199					pins = "gpio105","gpio106";
5200					function = "cci_i2c";
5201
5202					bias-pull-up;
5203					drive-strength = <2>; /* 2 mA */
5204				};
5205
5206				cci1_i2c1_default: cci1-i2c1-default-pins {
5207					/* SDA, SCL */
5208					pins = "gpio107","gpio108";
5209					function = "cci_i2c";
5210
5211					bias-pull-up;
5212					drive-strength = <2>; /* 2 mA */
5213				};
5214			};
5215
5216			cci1_sleep: cci1-sleep-state {
5217				cci1_i2c0_sleep: cci1-i2c0-sleep-pins {
5218					/* SDA, SCL */
5219					pins = "gpio105","gpio106";
5220					function = "cci_i2c";
5221
5222					bias-pull-down;
5223					drive-strength = <2>; /* 2 mA */
5224				};
5225
5226				cci1_i2c1_sleep: cci1-i2c1-sleep-pins {
5227					/* SDA, SCL */
5228					pins = "gpio107","gpio108";
5229					function = "cci_i2c";
5230
5231					bias-pull-down;
5232					drive-strength = <2>; /* 2 mA */
5233				};
5234			};
5235
5236			pri_mi2s_active: pri-mi2s-active-state {
5237				sclk-pins {
5238					pins = "gpio138";
5239					function = "mi2s0_sck";
5240					drive-strength = <8>;
5241					bias-disable;
5242				};
5243
5244				ws-pins {
5245					pins = "gpio141";
5246					function = "mi2s0_ws";
5247					drive-strength = <8>;
5248					output-high;
5249				};
5250
5251				data0-pins {
5252					pins = "gpio139";
5253					function = "mi2s0_data0";
5254					drive-strength = <8>;
5255					bias-disable;
5256					output-high;
5257				};
5258
5259				data1-pins {
5260					pins = "gpio140";
5261					function = "mi2s0_data1";
5262					drive-strength = <8>;
5263					output-high;
5264				};
5265			};
5266
5267			qup_i2c0_default: qup-i2c0-default-state {
5268				pins = "gpio28", "gpio29";
5269				function = "qup0";
5270				drive-strength = <2>;
5271				bias-disable;
5272			};
5273
5274			qup_i2c1_default: qup-i2c1-default-state {
5275				pins = "gpio4", "gpio5";
5276				function = "qup1";
5277				drive-strength = <2>;
5278				bias-disable;
5279			};
5280
5281			qup_i2c2_default: qup-i2c2-default-state {
5282				pins = "gpio115", "gpio116";
5283				function = "qup2";
5284				drive-strength = <2>;
5285				bias-disable;
5286			};
5287
5288			qup_i2c3_default: qup-i2c3-default-state {
5289				pins = "gpio119", "gpio120";
5290				function = "qup3";
5291				drive-strength = <2>;
5292				bias-disable;
5293			};
5294
5295			qup_i2c4_default: qup-i2c4-default-state {
5296				pins = "gpio8", "gpio9";
5297				function = "qup4";
5298				drive-strength = <2>;
5299				bias-disable;
5300			};
5301
5302			qup_i2c5_default: qup-i2c5-default-state {
5303				pins = "gpio12", "gpio13";
5304				function = "qup5";
5305				drive-strength = <2>;
5306				bias-disable;
5307			};
5308
5309			qup_i2c6_default: qup-i2c6-default-state {
5310				pins = "gpio16", "gpio17";
5311				function = "qup6";
5312				drive-strength = <2>;
5313				bias-disable;
5314			};
5315
5316			qup_i2c7_default: qup-i2c7-default-state {
5317				pins = "gpio20", "gpio21";
5318				function = "qup7";
5319				drive-strength = <2>;
5320				bias-disable;
5321			};
5322
5323			qup_i2c8_default: qup-i2c8-default-state {
5324				pins = "gpio24", "gpio25";
5325				function = "qup8";
5326				drive-strength = <2>;
5327				bias-disable;
5328			};
5329
5330			qup_i2c9_default: qup-i2c9-default-state {
5331				pins = "gpio125", "gpio126";
5332				function = "qup9";
5333				drive-strength = <2>;
5334				bias-disable;
5335			};
5336
5337			qup_i2c10_default: qup-i2c10-default-state {
5338				pins = "gpio129", "gpio130";
5339				function = "qup10";
5340				drive-strength = <2>;
5341				bias-disable;
5342			};
5343
5344			qup_i2c11_default: qup-i2c11-default-state {
5345				pins = "gpio60", "gpio61";
5346				function = "qup11";
5347				drive-strength = <2>;
5348				bias-disable;
5349			};
5350
5351			qup_i2c12_default: qup-i2c12-default-state {
5352				pins = "gpio32", "gpio33";
5353				function = "qup12";
5354				drive-strength = <2>;
5355				bias-disable;
5356			};
5357
5358			qup_i2c13_default: qup-i2c13-default-state {
5359				pins = "gpio36", "gpio37";
5360				function = "qup13";
5361				drive-strength = <2>;
5362				bias-disable;
5363			};
5364
5365			qup_i2c14_default: qup-i2c14-default-state {
5366				pins = "gpio40", "gpio41";
5367				function = "qup14";
5368				drive-strength = <2>;
5369				bias-disable;
5370			};
5371
5372			qup_i2c15_default: qup-i2c15-default-state {
5373				pins = "gpio44", "gpio45";
5374				function = "qup15";
5375				drive-strength = <2>;
5376				bias-disable;
5377			};
5378
5379			qup_i2c16_default: qup-i2c16-default-state {
5380				pins = "gpio48", "gpio49";
5381				function = "qup16";
5382				drive-strength = <2>;
5383				bias-disable;
5384			};
5385
5386			qup_i2c17_default: qup-i2c17-default-state {
5387				pins = "gpio52", "gpio53";
5388				function = "qup17";
5389				drive-strength = <2>;
5390				bias-disable;
5391			};
5392
5393			qup_i2c18_default: qup-i2c18-default-state {
5394				pins = "gpio56", "gpio57";
5395				function = "qup18";
5396				drive-strength = <2>;
5397				bias-disable;
5398			};
5399
5400			qup_i2c19_default: qup-i2c19-default-state {
5401				pins = "gpio0", "gpio1";
5402				function = "qup19";
5403				drive-strength = <2>;
5404				bias-disable;
5405			};
5406
5407			qup_spi0_cs: qup-spi0-cs-state {
5408				pins = "gpio31";
5409				function = "qup0";
5410			};
5411
5412			qup_spi0_cs_gpio: qup-spi0-cs-gpio-state {
5413				pins = "gpio31";
5414				function = "gpio";
5415			};
5416
5417			qup_spi0_data_clk: qup-spi0-data-clk-state {
5418				pins = "gpio28", "gpio29",
5419				       "gpio30";
5420				function = "qup0";
5421			};
5422
5423			qup_spi1_cs: qup-spi1-cs-state {
5424				pins = "gpio7";
5425				function = "qup1";
5426			};
5427
5428			qup_spi1_cs_gpio: qup-spi1-cs-gpio-state {
5429				pins = "gpio7";
5430				function = "gpio";
5431			};
5432
5433			qup_spi1_data_clk: qup-spi1-data-clk-state {
5434				pins = "gpio4", "gpio5",
5435				       "gpio6";
5436				function = "qup1";
5437			};
5438
5439			qup_spi2_cs: qup-spi2-cs-state {
5440				pins = "gpio118";
5441				function = "qup2";
5442			};
5443
5444			qup_spi2_cs_gpio: qup-spi2-cs-gpio-state {
5445				pins = "gpio118";
5446				function = "gpio";
5447			};
5448
5449			qup_spi2_data_clk: qup-spi2-data-clk-state {
5450				pins = "gpio115", "gpio116",
5451				       "gpio117";
5452				function = "qup2";
5453			};
5454
5455			qup_spi3_cs: qup-spi3-cs-state {
5456				pins = "gpio122";
5457				function = "qup3";
5458			};
5459
5460			qup_spi3_cs_gpio: qup-spi3-cs-gpio-state {
5461				pins = "gpio122";
5462				function = "gpio";
5463			};
5464
5465			qup_spi3_data_clk: qup-spi3-data-clk-state {
5466				pins = "gpio119", "gpio120",
5467				       "gpio121";
5468				function = "qup3";
5469			};
5470
5471			qup_spi4_cs: qup-spi4-cs-state {
5472				pins = "gpio11";
5473				function = "qup4";
5474			};
5475
5476			qup_spi4_cs_gpio: qup-spi4-cs-gpio-state {
5477				pins = "gpio11";
5478				function = "gpio";
5479			};
5480
5481			qup_spi4_data_clk: qup-spi4-data-clk-state {
5482				pins = "gpio8", "gpio9",
5483				       "gpio10";
5484				function = "qup4";
5485			};
5486
5487			qup_spi5_cs: qup-spi5-cs-state {
5488				pins = "gpio15";
5489				function = "qup5";
5490			};
5491
5492			qup_spi5_cs_gpio: qup-spi5-cs-gpio-state {
5493				pins = "gpio15";
5494				function = "gpio";
5495			};
5496
5497			qup_spi5_data_clk: qup-spi5-data-clk-state {
5498				pins = "gpio12", "gpio13",
5499				       "gpio14";
5500				function = "qup5";
5501			};
5502
5503			qup_spi6_cs: qup-spi6-cs-state {
5504				pins = "gpio19";
5505				function = "qup6";
5506			};
5507
5508			qup_spi6_cs_gpio: qup-spi6-cs-gpio-state {
5509				pins = "gpio19";
5510				function = "gpio";
5511			};
5512
5513			qup_spi6_data_clk: qup-spi6-data-clk-state {
5514				pins = "gpio16", "gpio17",
5515				       "gpio18";
5516				function = "qup6";
5517			};
5518
5519			qup_spi7_cs: qup-spi7-cs-state {
5520				pins = "gpio23";
5521				function = "qup7";
5522			};
5523
5524			qup_spi7_cs_gpio: qup-spi7-cs-gpio-state {
5525				pins = "gpio23";
5526				function = "gpio";
5527			};
5528
5529			qup_spi7_data_clk: qup-spi7-data-clk-state {
5530				pins = "gpio20", "gpio21",
5531				       "gpio22";
5532				function = "qup7";
5533			};
5534
5535			qup_spi8_cs: qup-spi8-cs-state {
5536				pins = "gpio27";
5537				function = "qup8";
5538			};
5539
5540			qup_spi8_cs_gpio: qup-spi8-cs-gpio-state {
5541				pins = "gpio27";
5542				function = "gpio";
5543			};
5544
5545			qup_spi8_data_clk: qup-spi8-data-clk-state {
5546				pins = "gpio24", "gpio25",
5547				       "gpio26";
5548				function = "qup8";
5549			};
5550
5551			qup_spi9_cs: qup-spi9-cs-state {
5552				pins = "gpio128";
5553				function = "qup9";
5554			};
5555
5556			qup_spi9_cs_gpio: qup-spi9-cs-gpio-state {
5557				pins = "gpio128";
5558				function = "gpio";
5559			};
5560
5561			qup_spi9_data_clk: qup-spi9-data-clk-state {
5562				pins = "gpio125", "gpio126",
5563				       "gpio127";
5564				function = "qup9";
5565			};
5566
5567			qup_spi10_cs: qup-spi10-cs-state {
5568				pins = "gpio132";
5569				function = "qup10";
5570			};
5571
5572			qup_spi10_cs_gpio: qup-spi10-cs-gpio-state {
5573				pins = "gpio132";
5574				function = "gpio";
5575			};
5576
5577			qup_spi10_data_clk: qup-spi10-data-clk-state {
5578				pins = "gpio129", "gpio130",
5579				       "gpio131";
5580				function = "qup10";
5581			};
5582
5583			qup_spi11_cs: qup-spi11-cs-state {
5584				pins = "gpio63";
5585				function = "qup11";
5586			};
5587
5588			qup_spi11_cs_gpio: qup-spi11-cs-gpio-state {
5589				pins = "gpio63";
5590				function = "gpio";
5591			};
5592
5593			qup_spi11_data_clk: qup-spi11-data-clk-state {
5594				pins = "gpio60", "gpio61",
5595				       "gpio62";
5596				function = "qup11";
5597			};
5598
5599			qup_spi12_cs: qup-spi12-cs-state {
5600				pins = "gpio35";
5601				function = "qup12";
5602			};
5603
5604			qup_spi12_cs_gpio: qup-spi12-cs-gpio-state {
5605				pins = "gpio35";
5606				function = "gpio";
5607			};
5608
5609			qup_spi12_data_clk: qup-spi12-data-clk-state {
5610				pins = "gpio32", "gpio33",
5611				       "gpio34";
5612				function = "qup12";
5613			};
5614
5615			qup_spi13_cs: qup-spi13-cs-state {
5616				pins = "gpio39";
5617				function = "qup13";
5618			};
5619
5620			qup_spi13_cs_gpio: qup-spi13-cs-gpio-state {
5621				pins = "gpio39";
5622				function = "gpio";
5623			};
5624
5625			qup_spi13_data_clk: qup-spi13-data-clk-state {
5626				pins = "gpio36", "gpio37",
5627				       "gpio38";
5628				function = "qup13";
5629			};
5630
5631			qup_spi14_cs: qup-spi14-cs-state {
5632				pins = "gpio43";
5633				function = "qup14";
5634			};
5635
5636			qup_spi14_cs_gpio: qup-spi14-cs-gpio-state {
5637				pins = "gpio43";
5638				function = "gpio";
5639			};
5640
5641			qup_spi14_data_clk: qup-spi14-data-clk-state {
5642				pins = "gpio40", "gpio41",
5643				       "gpio42";
5644				function = "qup14";
5645			};
5646
5647			qup_spi15_cs: qup-spi15-cs-state {
5648				pins = "gpio47";
5649				function = "qup15";
5650			};
5651
5652			qup_spi15_cs_gpio: qup-spi15-cs-gpio-state {
5653				pins = "gpio47";
5654				function = "gpio";
5655			};
5656
5657			qup_spi15_data_clk: qup-spi15-data-clk-state {
5658				pins = "gpio44", "gpio45",
5659				       "gpio46";
5660				function = "qup15";
5661			};
5662
5663			qup_spi16_cs: qup-spi16-cs-state {
5664				pins = "gpio51";
5665				function = "qup16";
5666			};
5667
5668			qup_spi16_cs_gpio: qup-spi16-cs-gpio-state {
5669				pins = "gpio51";
5670				function = "gpio";
5671			};
5672
5673			qup_spi16_data_clk: qup-spi16-data-clk-state {
5674				pins = "gpio48", "gpio49",
5675				       "gpio50";
5676				function = "qup16";
5677			};
5678
5679			qup_spi17_cs: qup-spi17-cs-state {
5680				pins = "gpio55";
5681				function = "qup17";
5682			};
5683
5684			qup_spi17_cs_gpio: qup-spi17-cs-gpio-state {
5685				pins = "gpio55";
5686				function = "gpio";
5687			};
5688
5689			qup_spi17_data_clk: qup-spi17-data-clk-state {
5690				pins = "gpio52", "gpio53",
5691				       "gpio54";
5692				function = "qup17";
5693			};
5694
5695			qup_spi18_cs: qup-spi18-cs-state {
5696				pins = "gpio59";
5697				function = "qup18";
5698			};
5699
5700			qup_spi18_cs_gpio: qup-spi18-cs-gpio-state {
5701				pins = "gpio59";
5702				function = "gpio";
5703			};
5704
5705			qup_spi18_data_clk: qup-spi18-data-clk-state {
5706				pins = "gpio56", "gpio57",
5707				       "gpio58";
5708				function = "qup18";
5709			};
5710
5711			qup_spi19_cs: qup-spi19-cs-state {
5712				pins = "gpio3";
5713				function = "qup19";
5714			};
5715
5716			qup_spi19_cs_gpio: qup-spi19-cs-gpio-state {
5717				pins = "gpio3";
5718				function = "gpio";
5719			};
5720
5721			qup_spi19_data_clk: qup-spi19-data-clk-state {
5722				pins = "gpio0", "gpio1",
5723				       "gpio2";
5724				function = "qup19";
5725			};
5726
5727			qup_uart2_default: qup-uart2-default-state {
5728				pins = "gpio117", "gpio118";
5729				function = "qup2";
5730			};
5731
5732			qup_uart6_default: qup-uart6-default-state {
5733				pins = "gpio16", "gpio17", "gpio18", "gpio19";
5734				function = "qup6";
5735			};
5736
5737			qup_uart12_default: qup-uart12-default-state {
5738				pins = "gpio34", "gpio35";
5739				function = "qup12";
5740			};
5741
5742			qup_uart17_default: qup-uart17-default-state {
5743				pins = "gpio52", "gpio53", "gpio54", "gpio55";
5744				function = "qup17";
5745			};
5746
5747			qup_uart18_default: qup-uart18-default-state {
5748				pins = "gpio58", "gpio59";
5749				function = "qup18";
5750			};
5751
5752			tert_mi2s_active: tert-mi2s-active-state {
5753				sck-pins {
5754					pins = "gpio133";
5755					function = "mi2s2_sck";
5756					drive-strength = <8>;
5757					bias-disable;
5758				};
5759
5760				data0-pins {
5761					pins = "gpio134";
5762					function = "mi2s2_data0";
5763					drive-strength = <8>;
5764					bias-disable;
5765					output-high;
5766				};
5767
5768				ws-pins {
5769					pins = "gpio135";
5770					function = "mi2s2_ws";
5771					drive-strength = <8>;
5772					output-high;
5773				};
5774			};
5775
5776			sdc2_sleep_state: sdc2-sleep-state {
5777				clk-pins {
5778					pins = "sdc2_clk";
5779					drive-strength = <2>;
5780					bias-disable;
5781				};
5782
5783				cmd-pins {
5784					pins = "sdc2_cmd";
5785					drive-strength = <2>;
5786					bias-pull-up;
5787				};
5788
5789				data-pins {
5790					pins = "sdc2_data";
5791					drive-strength = <2>;
5792					bias-pull-up;
5793				};
5794			};
5795
5796			pcie0_default_state: pcie0-default-state {
5797				perst-pins {
5798					pins = "gpio79";
5799					function = "gpio";
5800					drive-strength = <2>;
5801					bias-pull-down;
5802				};
5803
5804				clkreq-pins {
5805					pins = "gpio80";
5806					function = "pci_e0";
5807					drive-strength = <2>;
5808					bias-pull-up;
5809				};
5810
5811				wake-pins {
5812					pins = "gpio81";
5813					function = "gpio";
5814					drive-strength = <2>;
5815					bias-pull-up;
5816				};
5817			};
5818
5819			pcie1_default_state: pcie1-default-state {
5820				perst-pins {
5821					pins = "gpio82";
5822					function = "gpio";
5823					drive-strength = <2>;
5824					bias-pull-down;
5825				};
5826
5827				clkreq-pins {
5828					pins = "gpio83";
5829					function = "pci_e1";
5830					drive-strength = <2>;
5831					bias-pull-up;
5832				};
5833
5834				wake-pins {
5835					pins = "gpio84";
5836					function = "gpio";
5837					drive-strength = <2>;
5838					bias-pull-up;
5839				};
5840			};
5841
5842			pcie2_default_state: pcie2-default-state {
5843				perst-pins {
5844					pins = "gpio85";
5845					function = "gpio";
5846					drive-strength = <2>;
5847					bias-pull-down;
5848				};
5849
5850				clkreq-pins {
5851					pins = "gpio86";
5852					function = "pci_e2";
5853					drive-strength = <2>;
5854					bias-pull-up;
5855				};
5856
5857				wake-pins {
5858					pins = "gpio87";
5859					function = "gpio";
5860					drive-strength = <2>;
5861					bias-pull-up;
5862				};
5863			};
5864		};
5865
5866		apps_smmu: iommu@15000000 {
5867			compatible = "qcom,sm8250-smmu-500", "qcom,smmu-500", "arm,mmu-500";
5868			reg = <0 0x15000000 0 0x100000>;
5869			#iommu-cells = <2>;
5870			#global-interrupts = <2>;
5871			interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
5872				     <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
5873				     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
5874				     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
5875				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
5876				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
5877				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
5878				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
5879				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
5880				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
5881				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
5882				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
5883				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
5884				     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
5885				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
5886				     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
5887				     <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
5888				     <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
5889				     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
5890				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
5891				     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
5892				     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
5893				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
5894				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
5895				     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
5896				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
5897				     <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
5898				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
5899				     <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
5900				     <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
5901				     <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
5902				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
5903				     <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
5904				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
5905				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
5906				     <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
5907				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
5908				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
5909				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
5910				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
5911				     <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
5912				     <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
5913				     <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
5914				     <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
5915				     <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
5916				     <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
5917				     <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
5918				     <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
5919				     <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
5920				     <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
5921				     <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
5922				     <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
5923				     <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
5924				     <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
5925				     <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
5926				     <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
5927				     <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
5928				     <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
5929				     <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
5930				     <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
5931				     <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
5932				     <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
5933				     <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
5934				     <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
5935				     <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
5936				     <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
5937				     <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
5938				     <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
5939				     <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
5940				     <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
5941				     <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
5942				     <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
5943				     <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
5944				     <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
5945				     <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
5946				     <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
5947				     <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
5948				     <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
5949				     <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
5950				     <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
5951				     <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
5952				     <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
5953				     <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>,
5954				     <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
5955				     <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
5956				     <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
5957				     <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
5958				     <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
5959				     <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
5960				     <GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH>,
5961				     <GIC_SPI 691 IRQ_TYPE_LEVEL_HIGH>,
5962				     <GIC_SPI 692 IRQ_TYPE_LEVEL_HIGH>,
5963				     <GIC_SPI 693 IRQ_TYPE_LEVEL_HIGH>,
5964				     <GIC_SPI 694 IRQ_TYPE_LEVEL_HIGH>,
5965				     <GIC_SPI 695 IRQ_TYPE_LEVEL_HIGH>,
5966				     <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>,
5967				     <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>,
5968				     <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>;
5969			dma-coherent;
5970		};
5971
5972		adsp: remoteproc@17300000 {
5973			compatible = "qcom,sm8250-adsp-pas";
5974			reg = <0 0x17300000 0 0x100>;
5975
5976			interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
5977					      <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
5978					      <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
5979					      <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
5980					      <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
5981			interrupt-names = "wdog", "fatal", "ready",
5982					  "handover", "stop-ack";
5983
5984			clocks = <&rpmhcc RPMH_CXO_CLK>;
5985			clock-names = "xo";
5986
5987			power-domains = <&rpmhpd RPMHPD_LCX>,
5988					<&rpmhpd RPMHPD_LMX>;
5989			power-domain-names = "lcx", "lmx";
5990
5991			memory-region = <&adsp_mem>;
5992
5993			qcom,qmp = <&aoss_qmp>;
5994
5995			qcom,smem-states = <&smp2p_adsp_out 0>;
5996			qcom,smem-state-names = "stop";
5997
5998			status = "disabled";
5999
6000			glink-edge {
6001				interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
6002							     IPCC_MPROC_SIGNAL_GLINK_QMP
6003							     IRQ_TYPE_EDGE_RISING>;
6004				mboxes = <&ipcc IPCC_CLIENT_LPASS
6005						IPCC_MPROC_SIGNAL_GLINK_QMP>;
6006
6007				label = "lpass";
6008				qcom,remote-pid = <2>;
6009
6010				apr {
6011					compatible = "qcom,apr-v2";
6012					qcom,glink-channels = "apr_audio_svc";
6013					qcom,domain = <APR_DOMAIN_ADSP>;
6014					#address-cells = <1>;
6015					#size-cells = <0>;
6016
6017					service@3 {
6018						reg = <APR_SVC_ADSP_CORE>;
6019						compatible = "qcom,q6core";
6020						qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
6021					};
6022
6023					q6afe: service@4 {
6024						compatible = "qcom,q6afe";
6025						reg = <APR_SVC_AFE>;
6026						qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
6027						q6afedai: dais {
6028							compatible = "qcom,q6afe-dais";
6029							#address-cells = <1>;
6030							#size-cells = <0>;
6031							#sound-dai-cells = <1>;
6032						};
6033
6034						q6afecc: clock-controller {
6035							compatible = "qcom,q6afe-clocks";
6036							#clock-cells = <2>;
6037						};
6038					};
6039
6040					q6asm: service@7 {
6041						compatible = "qcom,q6asm";
6042						reg = <APR_SVC_ASM>;
6043						qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
6044						q6asmdai: dais {
6045							compatible = "qcom,q6asm-dais";
6046							#address-cells = <1>;
6047							#size-cells = <0>;
6048							#sound-dai-cells = <1>;
6049							iommus = <&apps_smmu 0x1801 0x0>;
6050						};
6051					};
6052
6053					q6adm: service@8 {
6054						compatible = "qcom,q6adm";
6055						reg = <APR_SVC_ADM>;
6056						qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
6057						q6routing: routing {
6058							compatible = "qcom,q6adm-routing";
6059							#sound-dai-cells = <0>;
6060						};
6061					};
6062				};
6063
6064				fastrpc {
6065					compatible = "qcom,fastrpc";
6066					qcom,glink-channels = "fastrpcglink-apps-dsp";
6067					label = "adsp";
6068					qcom,non-secure-domain;
6069					#address-cells = <1>;
6070					#size-cells = <0>;
6071
6072					compute-cb@3 {
6073						compatible = "qcom,fastrpc-compute-cb";
6074						reg = <3>;
6075						iommus = <&apps_smmu 0x1803 0x0>;
6076					};
6077
6078					compute-cb@4 {
6079						compatible = "qcom,fastrpc-compute-cb";
6080						reg = <4>;
6081						iommus = <&apps_smmu 0x1804 0x0>;
6082					};
6083
6084					compute-cb@5 {
6085						compatible = "qcom,fastrpc-compute-cb";
6086						reg = <5>;
6087						iommus = <&apps_smmu 0x1805 0x0>;
6088					};
6089				};
6090			};
6091		};
6092
6093		intc: interrupt-controller@17a00000 {
6094			compatible = "arm,gic-v3";
6095			#interrupt-cells = <3>;
6096			interrupt-controller;
6097			reg = <0x0 0x17a00000 0x0 0x10000>,     /* GICD */
6098			      <0x0 0x17a60000 0x0 0x100000>;    /* GICR * 8 */
6099			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
6100		};
6101
6102		watchdog@17c10000 {
6103			compatible = "qcom,apss-wdt-sm8250", "qcom,kpss-wdt";
6104			reg = <0 0x17c10000 0 0x1000>;
6105			clocks = <&sleep_clk>;
6106			interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
6107		};
6108
6109		timer@17c20000 {
6110			#address-cells = <1>;
6111			#size-cells = <1>;
6112			ranges = <0 0 0 0x20000000>;
6113			compatible = "arm,armv7-timer-mem";
6114			reg = <0x0 0x17c20000 0x0 0x1000>;
6115			clock-frequency = <19200000>;
6116
6117			frame@17c21000 {
6118				frame-number = <0>;
6119				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
6120					     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
6121				reg = <0x17c21000 0x1000>,
6122				      <0x17c22000 0x1000>;
6123			};
6124
6125			frame@17c23000 {
6126				frame-number = <1>;
6127				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
6128				reg = <0x17c23000 0x1000>;
6129				status = "disabled";
6130			};
6131
6132			frame@17c25000 {
6133				frame-number = <2>;
6134				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
6135				reg = <0x17c25000 0x1000>;
6136				status = "disabled";
6137			};
6138
6139			frame@17c27000 {
6140				frame-number = <3>;
6141				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
6142				reg = <0x17c27000 0x1000>;
6143				status = "disabled";
6144			};
6145
6146			frame@17c29000 {
6147				frame-number = <4>;
6148				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
6149				reg = <0x17c29000 0x1000>;
6150				status = "disabled";
6151			};
6152
6153			frame@17c2b000 {
6154				frame-number = <5>;
6155				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
6156				reg = <0x17c2b000 0x1000>;
6157				status = "disabled";
6158			};
6159
6160			frame@17c2d000 {
6161				frame-number = <6>;
6162				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
6163				reg = <0x17c2d000 0x1000>;
6164				status = "disabled";
6165			};
6166		};
6167
6168		apps_rsc: rsc@18200000 {
6169			label = "apps_rsc";
6170			compatible = "qcom,rpmh-rsc";
6171			reg = <0x0 0x18200000 0x0 0x10000>,
6172				<0x0 0x18210000 0x0 0x10000>,
6173				<0x0 0x18220000 0x0 0x10000>;
6174			reg-names = "drv-0", "drv-1", "drv-2";
6175			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
6176				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
6177				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
6178			qcom,tcs-offset = <0xd00>;
6179			qcom,drv-id = <2>;
6180			qcom,tcs-config = <ACTIVE_TCS  2>, <SLEEP_TCS   3>,
6181					  <WAKE_TCS    3>, <CONTROL_TCS 1>;
6182			power-domains = <&cluster_pd>;
6183
6184			rpmhcc: clock-controller {
6185				compatible = "qcom,sm8250-rpmh-clk";
6186				#clock-cells = <1>;
6187				clock-names = "xo";
6188				clocks = <&xo_board>;
6189			};
6190
6191			rpmhpd: power-controller {
6192				compatible = "qcom,sm8250-rpmhpd";
6193				#power-domain-cells = <1>;
6194				operating-points-v2 = <&rpmhpd_opp_table>;
6195
6196				rpmhpd_opp_table: opp-table {
6197					compatible = "operating-points-v2";
6198
6199					rpmhpd_opp_ret: opp1 {
6200						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
6201					};
6202
6203					rpmhpd_opp_min_svs: opp2 {
6204						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
6205					};
6206
6207					rpmhpd_opp_low_svs: opp3 {
6208						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
6209					};
6210
6211					rpmhpd_opp_svs: opp4 {
6212						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
6213					};
6214
6215					rpmhpd_opp_svs_l1: opp5 {
6216						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
6217					};
6218
6219					rpmhpd_opp_nom: opp6 {
6220						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
6221					};
6222
6223					rpmhpd_opp_nom_l1: opp7 {
6224						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
6225					};
6226
6227					rpmhpd_opp_nom_l2: opp8 {
6228						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
6229					};
6230
6231					rpmhpd_opp_turbo: opp9 {
6232						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
6233					};
6234
6235					rpmhpd_opp_turbo_l1: opp10 {
6236						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
6237					};
6238				};
6239			};
6240
6241			apps_bcm_voter: bcm-voter {
6242				compatible = "qcom,bcm-voter";
6243			};
6244		};
6245
6246		epss_l3: interconnect@18590000 {
6247			compatible = "qcom,sm8250-epss-l3", "qcom,epss-l3";
6248			reg = <0 0x18590000 0 0x1000>;
6249
6250			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
6251			clock-names = "xo", "alternate";
6252
6253			#interconnect-cells = <1>;
6254		};
6255
6256		cpufreq_hw: cpufreq@18591000 {
6257			compatible = "qcom,sm8250-cpufreq-epss", "qcom,cpufreq-epss";
6258			reg = <0 0x18591000 0 0x1000>,
6259			      <0 0x18592000 0 0x1000>,
6260			      <0 0x18593000 0 0x1000>;
6261			reg-names = "freq-domain0", "freq-domain1",
6262				    "freq-domain2";
6263
6264			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
6265			clock-names = "xo", "alternate";
6266			interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
6267				     <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
6268				     <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
6269			interrupt-names = "dcvsh-irq-0", "dcvsh-irq-1", "dcvsh-irq-2";
6270			#freq-domain-cells = <1>;
6271			#clock-cells = <1>;
6272		};
6273	};
6274
6275	sound: sound {
6276	};
6277
6278	timer {
6279		compatible = "arm,armv8-timer";
6280		interrupts = <GIC_PPI 13
6281				(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
6282			     <GIC_PPI 14
6283				(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
6284			     <GIC_PPI 11
6285				(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
6286			     <GIC_PPI 10
6287				(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
6288	};
6289
6290	thermal-zones {
6291		cpu0-thermal {
6292			polling-delay-passive = <250>;
6293
6294			thermal-sensors = <&tsens0 1>;
6295
6296			trips {
6297				cpu0_alert0: trip-point0 {
6298					temperature = <90000>;
6299					hysteresis = <2000>;
6300					type = "passive";
6301				};
6302
6303				cpu0_alert1: trip-point1 {
6304					temperature = <95000>;
6305					hysteresis = <2000>;
6306					type = "passive";
6307				};
6308
6309				cpu0_crit: cpu-crit {
6310					temperature = <110000>;
6311					hysteresis = <1000>;
6312					type = "critical";
6313				};
6314			};
6315
6316			cooling-maps {
6317				map0 {
6318					trip = <&cpu0_alert0>;
6319					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6320							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6321							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6322							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6323				};
6324				map1 {
6325					trip = <&cpu0_alert1>;
6326					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6327							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6328							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6329							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6330				};
6331			};
6332		};
6333
6334		cpu1-thermal {
6335			polling-delay-passive = <250>;
6336
6337			thermal-sensors = <&tsens0 2>;
6338
6339			trips {
6340				cpu1_alert0: trip-point0 {
6341					temperature = <90000>;
6342					hysteresis = <2000>;
6343					type = "passive";
6344				};
6345
6346				cpu1_alert1: trip-point1 {
6347					temperature = <95000>;
6348					hysteresis = <2000>;
6349					type = "passive";
6350				};
6351
6352				cpu1_crit: cpu-crit {
6353					temperature = <110000>;
6354					hysteresis = <1000>;
6355					type = "critical";
6356				};
6357			};
6358
6359			cooling-maps {
6360				map0 {
6361					trip = <&cpu1_alert0>;
6362					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6363							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6364							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6365							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6366				};
6367				map1 {
6368					trip = <&cpu1_alert1>;
6369					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6370							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6371							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6372							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6373				};
6374			};
6375		};
6376
6377		cpu2-thermal {
6378			polling-delay-passive = <250>;
6379
6380			thermal-sensors = <&tsens0 3>;
6381
6382			trips {
6383				cpu2_alert0: trip-point0 {
6384					temperature = <90000>;
6385					hysteresis = <2000>;
6386					type = "passive";
6387				};
6388
6389				cpu2_alert1: trip-point1 {
6390					temperature = <95000>;
6391					hysteresis = <2000>;
6392					type = "passive";
6393				};
6394
6395				cpu2_crit: cpu-crit {
6396					temperature = <110000>;
6397					hysteresis = <1000>;
6398					type = "critical";
6399				};
6400			};
6401
6402			cooling-maps {
6403				map0 {
6404					trip = <&cpu2_alert0>;
6405					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6406							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6407							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6408							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6409				};
6410				map1 {
6411					trip = <&cpu2_alert1>;
6412					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6413							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6414							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6415							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6416				};
6417			};
6418		};
6419
6420		cpu3-thermal {
6421			polling-delay-passive = <250>;
6422
6423			thermal-sensors = <&tsens0 4>;
6424
6425			trips {
6426				cpu3_alert0: trip-point0 {
6427					temperature = <90000>;
6428					hysteresis = <2000>;
6429					type = "passive";
6430				};
6431
6432				cpu3_alert1: trip-point1 {
6433					temperature = <95000>;
6434					hysteresis = <2000>;
6435					type = "passive";
6436				};
6437
6438				cpu3_crit: cpu-crit {
6439					temperature = <110000>;
6440					hysteresis = <1000>;
6441					type = "critical";
6442				};
6443			};
6444
6445			cooling-maps {
6446				map0 {
6447					trip = <&cpu3_alert0>;
6448					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6449							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6450							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6451							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6452				};
6453				map1 {
6454					trip = <&cpu3_alert1>;
6455					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6456							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6457							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6458							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6459				};
6460			};
6461		};
6462
6463		cpu4-top-thermal {
6464			polling-delay-passive = <250>;
6465
6466			thermal-sensors = <&tsens0 7>;
6467
6468			trips {
6469				cpu4_top_alert0: trip-point0 {
6470					temperature = <90000>;
6471					hysteresis = <2000>;
6472					type = "passive";
6473				};
6474
6475				cpu4_top_alert1: trip-point1 {
6476					temperature = <95000>;
6477					hysteresis = <2000>;
6478					type = "passive";
6479				};
6480
6481				cpu4_top_crit: cpu-crit {
6482					temperature = <110000>;
6483					hysteresis = <1000>;
6484					type = "critical";
6485				};
6486			};
6487
6488			cooling-maps {
6489				map0 {
6490					trip = <&cpu4_top_alert0>;
6491					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6492							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6493							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6494							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6495				};
6496				map1 {
6497					trip = <&cpu4_top_alert1>;
6498					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6499							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6500							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6501							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6502				};
6503			};
6504		};
6505
6506		cpu5-top-thermal {
6507			polling-delay-passive = <250>;
6508
6509			thermal-sensors = <&tsens0 8>;
6510
6511			trips {
6512				cpu5_top_alert0: trip-point0 {
6513					temperature = <90000>;
6514					hysteresis = <2000>;
6515					type = "passive";
6516				};
6517
6518				cpu5_top_alert1: trip-point1 {
6519					temperature = <95000>;
6520					hysteresis = <2000>;
6521					type = "passive";
6522				};
6523
6524				cpu5_top_crit: cpu-crit {
6525					temperature = <110000>;
6526					hysteresis = <1000>;
6527					type = "critical";
6528				};
6529			};
6530
6531			cooling-maps {
6532				map0 {
6533					trip = <&cpu5_top_alert0>;
6534					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6535							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6536							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6537							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6538				};
6539				map1 {
6540					trip = <&cpu5_top_alert1>;
6541					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6542							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6543							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6544							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6545				};
6546			};
6547		};
6548
6549		cpu6-top-thermal {
6550			polling-delay-passive = <250>;
6551
6552			thermal-sensors = <&tsens0 9>;
6553
6554			trips {
6555				cpu6_top_alert0: trip-point0 {
6556					temperature = <90000>;
6557					hysteresis = <2000>;
6558					type = "passive";
6559				};
6560
6561				cpu6_top_alert1: trip-point1 {
6562					temperature = <95000>;
6563					hysteresis = <2000>;
6564					type = "passive";
6565				};
6566
6567				cpu6_top_crit: cpu-crit {
6568					temperature = <110000>;
6569					hysteresis = <1000>;
6570					type = "critical";
6571				};
6572			};
6573
6574			cooling-maps {
6575				map0 {
6576					trip = <&cpu6_top_alert0>;
6577					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6578							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6579							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6580							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6581				};
6582				map1 {
6583					trip = <&cpu6_top_alert1>;
6584					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6585							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6586							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6587							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6588				};
6589			};
6590		};
6591
6592		cpu7-top-thermal {
6593			polling-delay-passive = <250>;
6594
6595			thermal-sensors = <&tsens0 10>;
6596
6597			trips {
6598				cpu7_top_alert0: trip-point0 {
6599					temperature = <90000>;
6600					hysteresis = <2000>;
6601					type = "passive";
6602				};
6603
6604				cpu7_top_alert1: trip-point1 {
6605					temperature = <95000>;
6606					hysteresis = <2000>;
6607					type = "passive";
6608				};
6609
6610				cpu7_top_crit: cpu-crit {
6611					temperature = <110000>;
6612					hysteresis = <1000>;
6613					type = "critical";
6614				};
6615			};
6616
6617			cooling-maps {
6618				map0 {
6619					trip = <&cpu7_top_alert0>;
6620					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6621							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6622							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6623							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6624				};
6625				map1 {
6626					trip = <&cpu7_top_alert1>;
6627					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6628							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6629							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6630							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6631				};
6632			};
6633		};
6634
6635		cpu4-bottom-thermal {
6636			polling-delay-passive = <250>;
6637
6638			thermal-sensors = <&tsens0 11>;
6639
6640			trips {
6641				cpu4_bottom_alert0: trip-point0 {
6642					temperature = <90000>;
6643					hysteresis = <2000>;
6644					type = "passive";
6645				};
6646
6647				cpu4_bottom_alert1: trip-point1 {
6648					temperature = <95000>;
6649					hysteresis = <2000>;
6650					type = "passive";
6651				};
6652
6653				cpu4_bottom_crit: cpu-crit {
6654					temperature = <110000>;
6655					hysteresis = <1000>;
6656					type = "critical";
6657				};
6658			};
6659
6660			cooling-maps {
6661				map0 {
6662					trip = <&cpu4_bottom_alert0>;
6663					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6664							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6665							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6666							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6667				};
6668				map1 {
6669					trip = <&cpu4_bottom_alert1>;
6670					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6671							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6672							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6673							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6674				};
6675			};
6676		};
6677
6678		cpu5-bottom-thermal {
6679			polling-delay-passive = <250>;
6680
6681			thermal-sensors = <&tsens0 12>;
6682
6683			trips {
6684				cpu5_bottom_alert0: trip-point0 {
6685					temperature = <90000>;
6686					hysteresis = <2000>;
6687					type = "passive";
6688				};
6689
6690				cpu5_bottom_alert1: trip-point1 {
6691					temperature = <95000>;
6692					hysteresis = <2000>;
6693					type = "passive";
6694				};
6695
6696				cpu5_bottom_crit: cpu-crit {
6697					temperature = <110000>;
6698					hysteresis = <1000>;
6699					type = "critical";
6700				};
6701			};
6702
6703			cooling-maps {
6704				map0 {
6705					trip = <&cpu5_bottom_alert0>;
6706					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6707							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6708							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6709							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6710				};
6711				map1 {
6712					trip = <&cpu5_bottom_alert1>;
6713					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6714							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6715							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6716							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6717				};
6718			};
6719		};
6720
6721		cpu6-bottom-thermal {
6722			polling-delay-passive = <250>;
6723
6724			thermal-sensors = <&tsens0 13>;
6725
6726			trips {
6727				cpu6_bottom_alert0: trip-point0 {
6728					temperature = <90000>;
6729					hysteresis = <2000>;
6730					type = "passive";
6731				};
6732
6733				cpu6_bottom_alert1: trip-point1 {
6734					temperature = <95000>;
6735					hysteresis = <2000>;
6736					type = "passive";
6737				};
6738
6739				cpu6_bottom_crit: cpu-crit {
6740					temperature = <110000>;
6741					hysteresis = <1000>;
6742					type = "critical";
6743				};
6744			};
6745
6746			cooling-maps {
6747				map0 {
6748					trip = <&cpu6_bottom_alert0>;
6749					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6750							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6751							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6752							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6753				};
6754				map1 {
6755					trip = <&cpu6_bottom_alert1>;
6756					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6757							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6758							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6759							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6760				};
6761			};
6762		};
6763
6764		cpu7-bottom-thermal {
6765			polling-delay-passive = <250>;
6766
6767			thermal-sensors = <&tsens0 14>;
6768
6769			trips {
6770				cpu7_bottom_alert0: trip-point0 {
6771					temperature = <90000>;
6772					hysteresis = <2000>;
6773					type = "passive";
6774				};
6775
6776				cpu7_bottom_alert1: trip-point1 {
6777					temperature = <95000>;
6778					hysteresis = <2000>;
6779					type = "passive";
6780				};
6781
6782				cpu7_bottom_crit: cpu-crit {
6783					temperature = <110000>;
6784					hysteresis = <1000>;
6785					type = "critical";
6786				};
6787			};
6788
6789			cooling-maps {
6790				map0 {
6791					trip = <&cpu7_bottom_alert0>;
6792					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6793							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6794							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6795							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6796				};
6797				map1 {
6798					trip = <&cpu7_bottom_alert1>;
6799					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6800							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6801							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
6802							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6803				};
6804			};
6805		};
6806
6807		aoss0-thermal {
6808			polling-delay-passive = <250>;
6809
6810			thermal-sensors = <&tsens0 0>;
6811
6812			trips {
6813				aoss0_alert0: trip-point0 {
6814					temperature = <90000>;
6815					hysteresis = <2000>;
6816					type = "hot";
6817				};
6818			};
6819		};
6820
6821		cluster0-thermal {
6822			polling-delay-passive = <250>;
6823
6824			thermal-sensors = <&tsens0 5>;
6825
6826			trips {
6827				cluster0_alert0: trip-point0 {
6828					temperature = <90000>;
6829					hysteresis = <2000>;
6830					type = "hot";
6831				};
6832				cluster0_crit: cluster0-crit {
6833					temperature = <110000>;
6834					hysteresis = <2000>;
6835					type = "critical";
6836				};
6837			};
6838		};
6839
6840		cluster1-thermal {
6841			polling-delay-passive = <250>;
6842
6843			thermal-sensors = <&tsens0 6>;
6844
6845			trips {
6846				cluster1_alert0: trip-point0 {
6847					temperature = <90000>;
6848					hysteresis = <2000>;
6849					type = "hot";
6850				};
6851				cluster1_crit: cluster1-crit {
6852					temperature = <110000>;
6853					hysteresis = <2000>;
6854					type = "critical";
6855				};
6856			};
6857		};
6858
6859		gpu-top-thermal {
6860			polling-delay-passive = <250>;
6861
6862			thermal-sensors = <&tsens0 15>;
6863
6864			cooling-maps {
6865				map0 {
6866					trip = <&gpu_top_alert0>;
6867					cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
6868				};
6869			};
6870
6871			trips {
6872				gpu_top_alert0: trip-point0 {
6873					temperature = <85000>;
6874					hysteresis = <1000>;
6875					type = "passive";
6876				};
6877
6878				trip-point1 {
6879					temperature = <90000>;
6880					hysteresis = <1000>;
6881					type = "hot";
6882				};
6883
6884				trip-point2 {
6885					temperature = <110000>;
6886					hysteresis = <1000>;
6887					type = "critical";
6888				};
6889			};
6890		};
6891
6892		aoss1-thermal {
6893			polling-delay-passive = <250>;
6894
6895			thermal-sensors = <&tsens1 0>;
6896
6897			trips {
6898				aoss1_alert0: trip-point0 {
6899					temperature = <90000>;
6900					hysteresis = <2000>;
6901					type = "hot";
6902				};
6903			};
6904		};
6905
6906		wlan-thermal {
6907			polling-delay-passive = <250>;
6908
6909			thermal-sensors = <&tsens1 1>;
6910
6911			trips {
6912				wlan_alert0: trip-point0 {
6913					temperature = <90000>;
6914					hysteresis = <2000>;
6915					type = "hot";
6916				};
6917			};
6918		};
6919
6920		video-thermal {
6921			polling-delay-passive = <250>;
6922
6923			thermal-sensors = <&tsens1 2>;
6924
6925			trips {
6926				video_alert0: trip-point0 {
6927					temperature = <90000>;
6928					hysteresis = <2000>;
6929					type = "hot";
6930				};
6931			};
6932		};
6933
6934		mem-thermal {
6935			polling-delay-passive = <250>;
6936
6937			thermal-sensors = <&tsens1 3>;
6938
6939			trips {
6940				mem_alert0: trip-point0 {
6941					temperature = <90000>;
6942					hysteresis = <2000>;
6943					type = "hot";
6944				};
6945			};
6946		};
6947
6948		q6-hvx-thermal {
6949			polling-delay-passive = <250>;
6950
6951			thermal-sensors = <&tsens1 4>;
6952
6953			trips {
6954				q6_hvx_alert0: trip-point0 {
6955					temperature = <90000>;
6956					hysteresis = <2000>;
6957					type = "hot";
6958				};
6959			};
6960		};
6961
6962		camera-thermal {
6963			polling-delay-passive = <250>;
6964
6965			thermal-sensors = <&tsens1 5>;
6966
6967			trips {
6968				camera_alert0: trip-point0 {
6969					temperature = <90000>;
6970					hysteresis = <2000>;
6971					type = "hot";
6972				};
6973			};
6974		};
6975
6976		compute-thermal {
6977			polling-delay-passive = <250>;
6978
6979			thermal-sensors = <&tsens1 6>;
6980
6981			trips {
6982				compute_alert0: trip-point0 {
6983					temperature = <90000>;
6984					hysteresis = <2000>;
6985					type = "hot";
6986				};
6987			};
6988		};
6989
6990		npu-thermal {
6991			polling-delay-passive = <250>;
6992
6993			thermal-sensors = <&tsens1 7>;
6994
6995			trips {
6996				npu_alert0: trip-point0 {
6997					temperature = <90000>;
6998					hysteresis = <2000>;
6999					type = "hot";
7000				};
7001			};
7002		};
7003
7004		gpu-bottom-thermal {
7005			polling-delay-passive = <250>;
7006
7007			thermal-sensors = <&tsens1 8>;
7008
7009			cooling-maps {
7010				map0 {
7011					trip = <&gpu_bottom_alert0>;
7012					cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
7013				};
7014			};
7015
7016			trips {
7017				gpu_bottom_alert0: trip-point0 {
7018					temperature = <85000>;
7019					hysteresis = <1000>;
7020					type = "passive";
7021				};
7022
7023				trip-point1 {
7024					temperature = <90000>;
7025					hysteresis = <1000>;
7026					type = "hot";
7027				};
7028
7029				trip-point2 {
7030					temperature = <110000>;
7031					hysteresis = <1000>;
7032					type = "critical";
7033				};
7034			};
7035		};
7036	};
7037};
7038