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