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