xref: /openbmc/linux/arch/arm64/boot/dts/qcom/sdm845.dtsi (revision 726ccdba)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * SDM845 SoC device tree source
4 *
5 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
6 */
7
8#include <dt-bindings/clock/qcom,camcc-sdm845.h>
9#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
10#include <dt-bindings/clock/qcom,gcc-sdm845.h>
11#include <dt-bindings/clock/qcom,gpucc-sdm845.h>
12#include <dt-bindings/clock/qcom,lpass-sdm845.h>
13#include <dt-bindings/clock/qcom,rpmh.h>
14#include <dt-bindings/clock/qcom,videocc-sdm845.h>
15#include <dt-bindings/dma/qcom-gpi.h>
16#include <dt-bindings/firmware/qcom,scm.h>
17#include <dt-bindings/gpio/gpio.h>
18#include <dt-bindings/interconnect/qcom,osm-l3.h>
19#include <dt-bindings/interconnect/qcom,sdm845.h>
20#include <dt-bindings/interrupt-controller/arm-gic.h>
21#include <dt-bindings/phy/phy-qcom-qusb2.h>
22#include <dt-bindings/power/qcom-rpmpd.h>
23#include <dt-bindings/reset/qcom,sdm845-aoss.h>
24#include <dt-bindings/reset/qcom,sdm845-pdc.h>
25#include <dt-bindings/soc/qcom,apr.h>
26#include <dt-bindings/soc/qcom,rpmh-rsc.h>
27#include <dt-bindings/clock/qcom,gcc-sdm845.h>
28#include <dt-bindings/thermal/thermal.h>
29
30/ {
31	interrupt-parent = <&intc>;
32
33	#address-cells = <2>;
34	#size-cells = <2>;
35
36	aliases {
37		i2c0 = &i2c0;
38		i2c1 = &i2c1;
39		i2c2 = &i2c2;
40		i2c3 = &i2c3;
41		i2c4 = &i2c4;
42		i2c5 = &i2c5;
43		i2c6 = &i2c6;
44		i2c7 = &i2c7;
45		i2c8 = &i2c8;
46		i2c9 = &i2c9;
47		i2c10 = &i2c10;
48		i2c11 = &i2c11;
49		i2c12 = &i2c12;
50		i2c13 = &i2c13;
51		i2c14 = &i2c14;
52		i2c15 = &i2c15;
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	};
70
71	chosen { };
72
73	clocks {
74		xo_board: xo-board {
75			compatible = "fixed-clock";
76			#clock-cells = <0>;
77			clock-frequency = <38400000>;
78			clock-output-names = "xo_board";
79		};
80
81		sleep_clk: sleep-clk {
82			compatible = "fixed-clock";
83			#clock-cells = <0>;
84			clock-frequency = <32764>;
85		};
86	};
87
88	cpus: cpus {
89		#address-cells = <2>;
90		#size-cells = <0>;
91
92		CPU0: cpu@0 {
93			device_type = "cpu";
94			compatible = "qcom,kryo385";
95			reg = <0x0 0x0>;
96			clocks = <&cpufreq_hw 0>;
97			enable-method = "psci";
98			capacity-dmips-mhz = <611>;
99			dynamic-power-coefficient = <154>;
100			qcom,freq-domain = <&cpufreq_hw 0>;
101			operating-points-v2 = <&cpu0_opp_table>;
102			interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
103					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
104			power-domains = <&CPU_PD0>;
105			power-domain-names = "psci";
106			#cooling-cells = <2>;
107			next-level-cache = <&L2_0>;
108			L2_0: l2-cache {
109				compatible = "cache";
110				cache-level = <2>;
111				next-level-cache = <&L3_0>;
112				L3_0: l3-cache {
113				      compatible = "cache";
114				      cache-level = <3>;
115				};
116			};
117		};
118
119		CPU1: cpu@100 {
120			device_type = "cpu";
121			compatible = "qcom,kryo385";
122			reg = <0x0 0x100>;
123			clocks = <&cpufreq_hw 0>;
124			enable-method = "psci";
125			capacity-dmips-mhz = <611>;
126			dynamic-power-coefficient = <154>;
127			qcom,freq-domain = <&cpufreq_hw 0>;
128			operating-points-v2 = <&cpu0_opp_table>;
129			interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
130					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
131			power-domains = <&CPU_PD1>;
132			power-domain-names = "psci";
133			#cooling-cells = <2>;
134			next-level-cache = <&L2_100>;
135			L2_100: l2-cache {
136				compatible = "cache";
137				cache-level = <2>;
138				next-level-cache = <&L3_0>;
139			};
140		};
141
142		CPU2: cpu@200 {
143			device_type = "cpu";
144			compatible = "qcom,kryo385";
145			reg = <0x0 0x200>;
146			clocks = <&cpufreq_hw 0>;
147			enable-method = "psci";
148			capacity-dmips-mhz = <611>;
149			dynamic-power-coefficient = <154>;
150			qcom,freq-domain = <&cpufreq_hw 0>;
151			operating-points-v2 = <&cpu0_opp_table>;
152			interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
153					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
154			power-domains = <&CPU_PD2>;
155			power-domain-names = "psci";
156			#cooling-cells = <2>;
157			next-level-cache = <&L2_200>;
158			L2_200: l2-cache {
159				compatible = "cache";
160				cache-level = <2>;
161				next-level-cache = <&L3_0>;
162			};
163		};
164
165		CPU3: cpu@300 {
166			device_type = "cpu";
167			compatible = "qcom,kryo385";
168			reg = <0x0 0x300>;
169			clocks = <&cpufreq_hw 0>;
170			enable-method = "psci";
171			capacity-dmips-mhz = <611>;
172			dynamic-power-coefficient = <154>;
173			qcom,freq-domain = <&cpufreq_hw 0>;
174			operating-points-v2 = <&cpu0_opp_table>;
175			interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
176					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
177			#cooling-cells = <2>;
178			power-domains = <&CPU_PD3>;
179			power-domain-names = "psci";
180			next-level-cache = <&L2_300>;
181			L2_300: l2-cache {
182				compatible = "cache";
183				cache-level = <2>;
184				next-level-cache = <&L3_0>;
185			};
186		};
187
188		CPU4: cpu@400 {
189			device_type = "cpu";
190			compatible = "qcom,kryo385";
191			reg = <0x0 0x400>;
192			clocks = <&cpufreq_hw 1>;
193			enable-method = "psci";
194			capacity-dmips-mhz = <1024>;
195			dynamic-power-coefficient = <442>;
196			qcom,freq-domain = <&cpufreq_hw 1>;
197			operating-points-v2 = <&cpu4_opp_table>;
198			interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
199					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
200			power-domains = <&CPU_PD4>;
201			power-domain-names = "psci";
202			#cooling-cells = <2>;
203			next-level-cache = <&L2_400>;
204			L2_400: l2-cache {
205				compatible = "cache";
206				cache-level = <2>;
207				next-level-cache = <&L3_0>;
208			};
209		};
210
211		CPU5: cpu@500 {
212			device_type = "cpu";
213			compatible = "qcom,kryo385";
214			reg = <0x0 0x500>;
215			clocks = <&cpufreq_hw 1>;
216			enable-method = "psci";
217			capacity-dmips-mhz = <1024>;
218			dynamic-power-coefficient = <442>;
219			qcom,freq-domain = <&cpufreq_hw 1>;
220			operating-points-v2 = <&cpu4_opp_table>;
221			interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
222					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
223			power-domains = <&CPU_PD5>;
224			power-domain-names = "psci";
225			#cooling-cells = <2>;
226			next-level-cache = <&L2_500>;
227			L2_500: l2-cache {
228				compatible = "cache";
229				cache-level = <2>;
230				next-level-cache = <&L3_0>;
231			};
232		};
233
234		CPU6: cpu@600 {
235			device_type = "cpu";
236			compatible = "qcom,kryo385";
237			reg = <0x0 0x600>;
238			clocks = <&cpufreq_hw 1>;
239			enable-method = "psci";
240			capacity-dmips-mhz = <1024>;
241			dynamic-power-coefficient = <442>;
242			qcom,freq-domain = <&cpufreq_hw 1>;
243			operating-points-v2 = <&cpu4_opp_table>;
244			interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
245					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
246			power-domains = <&CPU_PD6>;
247			power-domain-names = "psci";
248			#cooling-cells = <2>;
249			next-level-cache = <&L2_600>;
250			L2_600: l2-cache {
251				compatible = "cache";
252				cache-level = <2>;
253				next-level-cache = <&L3_0>;
254			};
255		};
256
257		CPU7: cpu@700 {
258			device_type = "cpu";
259			compatible = "qcom,kryo385";
260			reg = <0x0 0x700>;
261			clocks = <&cpufreq_hw 1>;
262			enable-method = "psci";
263			capacity-dmips-mhz = <1024>;
264			dynamic-power-coefficient = <442>;
265			qcom,freq-domain = <&cpufreq_hw 1>;
266			operating-points-v2 = <&cpu4_opp_table>;
267			interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
268					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
269			power-domains = <&CPU_PD7>;
270			power-domain-names = "psci";
271			#cooling-cells = <2>;
272			next-level-cache = <&L2_700>;
273			L2_700: l2-cache {
274				compatible = "cache";
275				cache-level = <2>;
276				next-level-cache = <&L3_0>;
277			};
278		};
279
280		cpu-map {
281			cluster0 {
282				core0 {
283					cpu = <&CPU0>;
284				};
285
286				core1 {
287					cpu = <&CPU1>;
288				};
289
290				core2 {
291					cpu = <&CPU2>;
292				};
293
294				core3 {
295					cpu = <&CPU3>;
296				};
297
298				core4 {
299					cpu = <&CPU4>;
300				};
301
302				core5 {
303					cpu = <&CPU5>;
304				};
305
306				core6 {
307					cpu = <&CPU6>;
308				};
309
310				core7 {
311					cpu = <&CPU7>;
312				};
313			};
314		};
315
316		cpu_idle_states: idle-states {
317			entry-method = "psci";
318
319			LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
320				compatible = "arm,idle-state";
321				idle-state-name = "little-rail-power-collapse";
322				arm,psci-suspend-param = <0x40000004>;
323				entry-latency-us = <350>;
324				exit-latency-us = <461>;
325				min-residency-us = <1890>;
326				local-timer-stop;
327			};
328
329			BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
330				compatible = "arm,idle-state";
331				idle-state-name = "big-rail-power-collapse";
332				arm,psci-suspend-param = <0x40000004>;
333				entry-latency-us = <264>;
334				exit-latency-us = <621>;
335				min-residency-us = <952>;
336				local-timer-stop;
337			};
338		};
339
340		domain-idle-states {
341			CLUSTER_SLEEP_0: cluster-sleep-0 {
342				compatible = "domain-idle-state";
343				arm,psci-suspend-param = <0x4100c244>;
344				entry-latency-us = <3263>;
345				exit-latency-us = <6562>;
346				min-residency-us = <9987>;
347			};
348		};
349	};
350
351	firmware {
352		scm {
353			compatible = "qcom,scm-sdm845", "qcom,scm";
354		};
355	};
356
357	memory@80000000 {
358		device_type = "memory";
359		/* We expect the bootloader to fill in the size */
360		reg = <0 0x80000000 0 0>;
361	};
362
363	cpu0_opp_table: opp-table-cpu0 {
364		compatible = "operating-points-v2";
365		opp-shared;
366
367		cpu0_opp1: opp-300000000 {
368			opp-hz = /bits/ 64 <300000000>;
369			opp-peak-kBps = <800000 4800000>;
370		};
371
372		cpu0_opp2: opp-403200000 {
373			opp-hz = /bits/ 64 <403200000>;
374			opp-peak-kBps = <800000 4800000>;
375		};
376
377		cpu0_opp3: opp-480000000 {
378			opp-hz = /bits/ 64 <480000000>;
379			opp-peak-kBps = <800000 6451200>;
380		};
381
382		cpu0_opp4: opp-576000000 {
383			opp-hz = /bits/ 64 <576000000>;
384			opp-peak-kBps = <800000 6451200>;
385		};
386
387		cpu0_opp5: opp-652800000 {
388			opp-hz = /bits/ 64 <652800000>;
389			opp-peak-kBps = <800000 7680000>;
390		};
391
392		cpu0_opp6: opp-748800000 {
393			opp-hz = /bits/ 64 <748800000>;
394			opp-peak-kBps = <1804000 9216000>;
395		};
396
397		cpu0_opp7: opp-825600000 {
398			opp-hz = /bits/ 64 <825600000>;
399			opp-peak-kBps = <1804000 9216000>;
400		};
401
402		cpu0_opp8: opp-902400000 {
403			opp-hz = /bits/ 64 <902400000>;
404			opp-peak-kBps = <1804000 10444800>;
405		};
406
407		cpu0_opp9: opp-979200000 {
408			opp-hz = /bits/ 64 <979200000>;
409			opp-peak-kBps = <1804000 11980800>;
410		};
411
412		cpu0_opp10: opp-1056000000 {
413			opp-hz = /bits/ 64 <1056000000>;
414			opp-peak-kBps = <1804000 11980800>;
415		};
416
417		cpu0_opp11: opp-1132800000 {
418			opp-hz = /bits/ 64 <1132800000>;
419			opp-peak-kBps = <2188000 13516800>;
420		};
421
422		cpu0_opp12: opp-1228800000 {
423			opp-hz = /bits/ 64 <1228800000>;
424			opp-peak-kBps = <2188000 15052800>;
425		};
426
427		cpu0_opp13: opp-1324800000 {
428			opp-hz = /bits/ 64 <1324800000>;
429			opp-peak-kBps = <2188000 16588800>;
430		};
431
432		cpu0_opp14: opp-1420800000 {
433			opp-hz = /bits/ 64 <1420800000>;
434			opp-peak-kBps = <3072000 18124800>;
435		};
436
437		cpu0_opp15: opp-1516800000 {
438			opp-hz = /bits/ 64 <1516800000>;
439			opp-peak-kBps = <3072000 19353600>;
440		};
441
442		cpu0_opp16: opp-1612800000 {
443			opp-hz = /bits/ 64 <1612800000>;
444			opp-peak-kBps = <4068000 19353600>;
445		};
446
447		cpu0_opp17: opp-1689600000 {
448			opp-hz = /bits/ 64 <1689600000>;
449			opp-peak-kBps = <4068000 20889600>;
450		};
451
452		cpu0_opp18: opp-1766400000 {
453			opp-hz = /bits/ 64 <1766400000>;
454			opp-peak-kBps = <4068000 22425600>;
455		};
456	};
457
458	cpu4_opp_table: opp-table-cpu4 {
459		compatible = "operating-points-v2";
460		opp-shared;
461
462		cpu4_opp1: opp-300000000 {
463			opp-hz = /bits/ 64 <300000000>;
464			opp-peak-kBps = <800000 4800000>;
465		};
466
467		cpu4_opp2: opp-403200000 {
468			opp-hz = /bits/ 64 <403200000>;
469			opp-peak-kBps = <800000 4800000>;
470		};
471
472		cpu4_opp3: opp-480000000 {
473			opp-hz = /bits/ 64 <480000000>;
474			opp-peak-kBps = <1804000 4800000>;
475		};
476
477		cpu4_opp4: opp-576000000 {
478			opp-hz = /bits/ 64 <576000000>;
479			opp-peak-kBps = <1804000 4800000>;
480		};
481
482		cpu4_opp5: opp-652800000 {
483			opp-hz = /bits/ 64 <652800000>;
484			opp-peak-kBps = <1804000 4800000>;
485		};
486
487		cpu4_opp6: opp-748800000 {
488			opp-hz = /bits/ 64 <748800000>;
489			opp-peak-kBps = <1804000 4800000>;
490		};
491
492		cpu4_opp7: opp-825600000 {
493			opp-hz = /bits/ 64 <825600000>;
494			opp-peak-kBps = <2188000 9216000>;
495		};
496
497		cpu4_opp8: opp-902400000 {
498			opp-hz = /bits/ 64 <902400000>;
499			opp-peak-kBps = <2188000 9216000>;
500		};
501
502		cpu4_opp9: opp-979200000 {
503			opp-hz = /bits/ 64 <979200000>;
504			opp-peak-kBps = <2188000 9216000>;
505		};
506
507		cpu4_opp10: opp-1056000000 {
508			opp-hz = /bits/ 64 <1056000000>;
509			opp-peak-kBps = <3072000 9216000>;
510		};
511
512		cpu4_opp11: opp-1132800000 {
513			opp-hz = /bits/ 64 <1132800000>;
514			opp-peak-kBps = <3072000 11980800>;
515		};
516
517		cpu4_opp12: opp-1209600000 {
518			opp-hz = /bits/ 64 <1209600000>;
519			opp-peak-kBps = <4068000 11980800>;
520		};
521
522		cpu4_opp13: opp-1286400000 {
523			opp-hz = /bits/ 64 <1286400000>;
524			opp-peak-kBps = <4068000 11980800>;
525		};
526
527		cpu4_opp14: opp-1363200000 {
528			opp-hz = /bits/ 64 <1363200000>;
529			opp-peak-kBps = <4068000 15052800>;
530		};
531
532		cpu4_opp15: opp-1459200000 {
533			opp-hz = /bits/ 64 <1459200000>;
534			opp-peak-kBps = <4068000 15052800>;
535		};
536
537		cpu4_opp16: opp-1536000000 {
538			opp-hz = /bits/ 64 <1536000000>;
539			opp-peak-kBps = <5412000 15052800>;
540		};
541
542		cpu4_opp17: opp-1612800000 {
543			opp-hz = /bits/ 64 <1612800000>;
544			opp-peak-kBps = <5412000 15052800>;
545		};
546
547		cpu4_opp18: opp-1689600000 {
548			opp-hz = /bits/ 64 <1689600000>;
549			opp-peak-kBps = <5412000 19353600>;
550		};
551
552		cpu4_opp19: opp-1766400000 {
553			opp-hz = /bits/ 64 <1766400000>;
554			opp-peak-kBps = <6220000 19353600>;
555		};
556
557		cpu4_opp20: opp-1843200000 {
558			opp-hz = /bits/ 64 <1843200000>;
559			opp-peak-kBps = <6220000 19353600>;
560		};
561
562		cpu4_opp21: opp-1920000000 {
563			opp-hz = /bits/ 64 <1920000000>;
564			opp-peak-kBps = <7216000 19353600>;
565		};
566
567		cpu4_opp22: opp-1996800000 {
568			opp-hz = /bits/ 64 <1996800000>;
569			opp-peak-kBps = <7216000 20889600>;
570		};
571
572		cpu4_opp23: opp-2092800000 {
573			opp-hz = /bits/ 64 <2092800000>;
574			opp-peak-kBps = <7216000 20889600>;
575		};
576
577		cpu4_opp24: opp-2169600000 {
578			opp-hz = /bits/ 64 <2169600000>;
579			opp-peak-kBps = <7216000 20889600>;
580		};
581
582		cpu4_opp25: opp-2246400000 {
583			opp-hz = /bits/ 64 <2246400000>;
584			opp-peak-kBps = <7216000 20889600>;
585		};
586
587		cpu4_opp26: opp-2323200000 {
588			opp-hz = /bits/ 64 <2323200000>;
589			opp-peak-kBps = <7216000 20889600>;
590		};
591
592		cpu4_opp27: opp-2400000000 {
593			opp-hz = /bits/ 64 <2400000000>;
594			opp-peak-kBps = <7216000 22425600>;
595		};
596
597		cpu4_opp28: opp-2476800000 {
598			opp-hz = /bits/ 64 <2476800000>;
599			opp-peak-kBps = <7216000 22425600>;
600		};
601
602		cpu4_opp29: opp-2553600000 {
603			opp-hz = /bits/ 64 <2553600000>;
604			opp-peak-kBps = <7216000 22425600>;
605		};
606
607		cpu4_opp30: opp-2649600000 {
608			opp-hz = /bits/ 64 <2649600000>;
609			opp-peak-kBps = <7216000 22425600>;
610		};
611
612		cpu4_opp31: opp-2745600000 {
613			opp-hz = /bits/ 64 <2745600000>;
614			opp-peak-kBps = <7216000 25497600>;
615		};
616
617		cpu4_opp32: opp-2803200000 {
618			opp-hz = /bits/ 64 <2803200000>;
619			opp-peak-kBps = <7216000 25497600>;
620		};
621	};
622
623	dsi_opp_table: opp-table-dsi {
624		compatible = "operating-points-v2";
625
626		opp-19200000 {
627			opp-hz = /bits/ 64 <19200000>;
628			required-opps = <&rpmhpd_opp_min_svs>;
629		};
630
631		opp-180000000 {
632			opp-hz = /bits/ 64 <180000000>;
633			required-opps = <&rpmhpd_opp_low_svs>;
634		};
635
636		opp-275000000 {
637			opp-hz = /bits/ 64 <275000000>;
638			required-opps = <&rpmhpd_opp_svs>;
639		};
640
641		opp-328580000 {
642			opp-hz = /bits/ 64 <328580000>;
643			required-opps = <&rpmhpd_opp_svs_l1>;
644		};
645
646		opp-358000000 {
647			opp-hz = /bits/ 64 <358000000>;
648			required-opps = <&rpmhpd_opp_nom>;
649		};
650	};
651
652	qspi_opp_table: opp-table-qspi {
653		compatible = "operating-points-v2";
654
655		opp-19200000 {
656			opp-hz = /bits/ 64 <19200000>;
657			required-opps = <&rpmhpd_opp_min_svs>;
658		};
659
660		opp-100000000 {
661			opp-hz = /bits/ 64 <100000000>;
662			required-opps = <&rpmhpd_opp_low_svs>;
663		};
664
665		opp-150000000 {
666			opp-hz = /bits/ 64 <150000000>;
667			required-opps = <&rpmhpd_opp_svs>;
668		};
669
670		opp-300000000 {
671			opp-hz = /bits/ 64 <300000000>;
672			required-opps = <&rpmhpd_opp_nom>;
673		};
674	};
675
676	qup_opp_table: opp-table-qup {
677		compatible = "operating-points-v2";
678
679		opp-50000000 {
680			opp-hz = /bits/ 64 <50000000>;
681			required-opps = <&rpmhpd_opp_min_svs>;
682		};
683
684		opp-75000000 {
685			opp-hz = /bits/ 64 <75000000>;
686			required-opps = <&rpmhpd_opp_low_svs>;
687		};
688
689		opp-100000000 {
690			opp-hz = /bits/ 64 <100000000>;
691			required-opps = <&rpmhpd_opp_svs>;
692		};
693
694		opp-128000000 {
695			opp-hz = /bits/ 64 <128000000>;
696			required-opps = <&rpmhpd_opp_nom>;
697		};
698	};
699
700	pmu {
701		compatible = "arm,armv8-pmuv3";
702		interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
703	};
704
705	psci: psci {
706		compatible = "arm,psci-1.0";
707		method = "smc";
708
709		CPU_PD0: power-domain-cpu0 {
710			#power-domain-cells = <0>;
711			power-domains = <&CLUSTER_PD>;
712			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
713		};
714
715		CPU_PD1: power-domain-cpu1 {
716			#power-domain-cells = <0>;
717			power-domains = <&CLUSTER_PD>;
718			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
719		};
720
721		CPU_PD2: power-domain-cpu2 {
722			#power-domain-cells = <0>;
723			power-domains = <&CLUSTER_PD>;
724			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
725		};
726
727		CPU_PD3: power-domain-cpu3 {
728			#power-domain-cells = <0>;
729			power-domains = <&CLUSTER_PD>;
730			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
731		};
732
733		CPU_PD4: power-domain-cpu4 {
734			#power-domain-cells = <0>;
735			power-domains = <&CLUSTER_PD>;
736			domain-idle-states = <&BIG_CPU_SLEEP_0>;
737		};
738
739		CPU_PD5: power-domain-cpu5 {
740			#power-domain-cells = <0>;
741			power-domains = <&CLUSTER_PD>;
742			domain-idle-states = <&BIG_CPU_SLEEP_0>;
743		};
744
745		CPU_PD6: power-domain-cpu6 {
746			#power-domain-cells = <0>;
747			power-domains = <&CLUSTER_PD>;
748			domain-idle-states = <&BIG_CPU_SLEEP_0>;
749		};
750
751		CPU_PD7: power-domain-cpu7 {
752			#power-domain-cells = <0>;
753			power-domains = <&CLUSTER_PD>;
754			domain-idle-states = <&BIG_CPU_SLEEP_0>;
755		};
756
757		CLUSTER_PD: power-domain-cluster {
758			#power-domain-cells = <0>;
759			domain-idle-states = <&CLUSTER_SLEEP_0>;
760		};
761	};
762
763	reserved-memory {
764		#address-cells = <2>;
765		#size-cells = <2>;
766		ranges;
767
768		hyp_mem: hyp-mem@85700000 {
769			reg = <0 0x85700000 0 0x600000>;
770			no-map;
771		};
772
773		xbl_mem: xbl-mem@85e00000 {
774			reg = <0 0x85e00000 0 0x100000>;
775			no-map;
776		};
777
778		aop_mem: aop-mem@85fc0000 {
779			reg = <0 0x85fc0000 0 0x20000>;
780			no-map;
781		};
782
783		aop_cmd_db_mem: aop-cmd-db-mem@85fe0000 {
784			compatible = "qcom,cmd-db";
785			reg = <0x0 0x85fe0000 0 0x20000>;
786			no-map;
787		};
788
789		smem@86000000 {
790			compatible = "qcom,smem";
791			reg = <0x0 0x86000000 0 0x200000>;
792			no-map;
793			hwlocks = <&tcsr_mutex 3>;
794		};
795
796		tz_mem: tz@86200000 {
797			reg = <0 0x86200000 0 0x2d00000>;
798			no-map;
799		};
800
801		rmtfs_mem: rmtfs@88f00000 {
802			compatible = "qcom,rmtfs-mem";
803			reg = <0 0x88f00000 0 0x200000>;
804			no-map;
805
806			qcom,client-id = <1>;
807			qcom,vmid = <15>;
808		};
809
810		qseecom_mem: qseecom@8ab00000 {
811			reg = <0 0x8ab00000 0 0x1400000>;
812			no-map;
813		};
814
815		camera_mem: camera-mem@8bf00000 {
816			reg = <0 0x8bf00000 0 0x500000>;
817			no-map;
818		};
819
820		ipa_fw_mem: ipa-fw@8c400000 {
821			reg = <0 0x8c400000 0 0x10000>;
822			no-map;
823		};
824
825		ipa_gsi_mem: ipa-gsi@8c410000 {
826			reg = <0 0x8c410000 0 0x5000>;
827			no-map;
828		};
829
830		gpu_mem: gpu@8c415000 {
831			reg = <0 0x8c415000 0 0x2000>;
832			no-map;
833		};
834
835		adsp_mem: adsp@8c500000 {
836			reg = <0 0x8c500000 0 0x1a00000>;
837			no-map;
838		};
839
840		wlan_msa_mem: wlan-msa@8df00000 {
841			reg = <0 0x8df00000 0 0x100000>;
842			no-map;
843		};
844
845		mpss_region: mpss@8e000000 {
846			reg = <0 0x8e000000 0 0x7800000>;
847			no-map;
848		};
849
850		venus_mem: venus@95800000 {
851			reg = <0 0x95800000 0 0x500000>;
852			no-map;
853		};
854
855		cdsp_mem: cdsp@95d00000 {
856			reg = <0 0x95d00000 0 0x800000>;
857			no-map;
858		};
859
860		mba_region: mba@96500000 {
861			reg = <0 0x96500000 0 0x200000>;
862			no-map;
863		};
864
865		slpi_mem: slpi@96700000 {
866			reg = <0 0x96700000 0 0x1400000>;
867			no-map;
868		};
869
870		spss_mem: spss@97b00000 {
871			reg = <0 0x97b00000 0 0x100000>;
872			no-map;
873		};
874
875		mdata_mem: mpss-metadata {
876			alloc-ranges = <0 0xa0000000 0 0x20000000>;
877			size = <0 0x4000>;
878			no-map;
879		};
880
881		fastrpc_mem: fastrpc {
882			compatible = "shared-dma-pool";
883			alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
884			alignment = <0x0 0x400000>;
885			size = <0x0 0x1000000>;
886			reusable;
887		};
888	};
889
890	adsp_pas: remoteproc-adsp {
891		compatible = "qcom,sdm845-adsp-pas";
892
893		interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
894				      <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
895				      <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
896				      <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
897				      <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
898		interrupt-names = "wdog", "fatal", "ready",
899				  "handover", "stop-ack";
900
901		clocks = <&rpmhcc RPMH_CXO_CLK>;
902		clock-names = "xo";
903
904		memory-region = <&adsp_mem>;
905
906		qcom,qmp = <&aoss_qmp>;
907
908		qcom,smem-states = <&adsp_smp2p_out 0>;
909		qcom,smem-state-names = "stop";
910
911		status = "disabled";
912
913		glink-edge {
914			interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
915			label = "lpass";
916			qcom,remote-pid = <2>;
917			mboxes = <&apss_shared 8>;
918
919			apr {
920				compatible = "qcom,apr-v2";
921				qcom,glink-channels = "apr_audio_svc";
922				qcom,domain = <APR_DOMAIN_ADSP>;
923				#address-cells = <1>;
924				#size-cells = <0>;
925				qcom,intents = <512 20>;
926
927				service@3 {
928					reg = <APR_SVC_ADSP_CORE>;
929					compatible = "qcom,q6core";
930					qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
931				};
932
933				q6afe: service@4 {
934					compatible = "qcom,q6afe";
935					reg = <APR_SVC_AFE>;
936					qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
937					q6afedai: dais {
938						compatible = "qcom,q6afe-dais";
939						#address-cells = <1>;
940						#size-cells = <0>;
941						#sound-dai-cells = <1>;
942					};
943				};
944
945				q6asm: service@7 {
946					compatible = "qcom,q6asm";
947					reg = <APR_SVC_ASM>;
948					qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
949					q6asmdai: dais {
950						compatible = "qcom,q6asm-dais";
951						#address-cells = <1>;
952						#size-cells = <0>;
953						#sound-dai-cells = <1>;
954						iommus = <&apps_smmu 0x1821 0x0>;
955					};
956				};
957
958				q6adm: service@8 {
959					compatible = "qcom,q6adm";
960					reg = <APR_SVC_ADM>;
961					qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
962					q6routing: routing {
963						compatible = "qcom,q6adm-routing";
964						#sound-dai-cells = <0>;
965					};
966				};
967			};
968
969			fastrpc {
970				compatible = "qcom,fastrpc";
971				qcom,glink-channels = "fastrpcglink-apps-dsp";
972				label = "adsp";
973				qcom,non-secure-domain;
974				#address-cells = <1>;
975				#size-cells = <0>;
976
977				compute-cb@3 {
978					compatible = "qcom,fastrpc-compute-cb";
979					reg = <3>;
980					iommus = <&apps_smmu 0x1823 0x0>;
981				};
982
983				compute-cb@4 {
984					compatible = "qcom,fastrpc-compute-cb";
985					reg = <4>;
986					iommus = <&apps_smmu 0x1824 0x0>;
987				};
988			};
989		};
990	};
991
992	cdsp_pas: remoteproc-cdsp {
993		compatible = "qcom,sdm845-cdsp-pas";
994
995		interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
996				      <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
997				      <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
998				      <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
999				      <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
1000		interrupt-names = "wdog", "fatal", "ready",
1001				  "handover", "stop-ack";
1002
1003		clocks = <&rpmhcc RPMH_CXO_CLK>;
1004		clock-names = "xo";
1005
1006		memory-region = <&cdsp_mem>;
1007
1008		qcom,qmp = <&aoss_qmp>;
1009
1010		qcom,smem-states = <&cdsp_smp2p_out 0>;
1011		qcom,smem-state-names = "stop";
1012
1013		status = "disabled";
1014
1015		glink-edge {
1016			interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>;
1017			label = "turing";
1018			qcom,remote-pid = <5>;
1019			mboxes = <&apss_shared 4>;
1020			fastrpc {
1021				compatible = "qcom,fastrpc";
1022				qcom,glink-channels = "fastrpcglink-apps-dsp";
1023				label = "cdsp";
1024				qcom,non-secure-domain;
1025				#address-cells = <1>;
1026				#size-cells = <0>;
1027
1028				compute-cb@1 {
1029					compatible = "qcom,fastrpc-compute-cb";
1030					reg = <1>;
1031					iommus = <&apps_smmu 0x1401 0x30>;
1032				};
1033
1034				compute-cb@2 {
1035					compatible = "qcom,fastrpc-compute-cb";
1036					reg = <2>;
1037					iommus = <&apps_smmu 0x1402 0x30>;
1038				};
1039
1040				compute-cb@3 {
1041					compatible = "qcom,fastrpc-compute-cb";
1042					reg = <3>;
1043					iommus = <&apps_smmu 0x1403 0x30>;
1044				};
1045
1046				compute-cb@4 {
1047					compatible = "qcom,fastrpc-compute-cb";
1048					reg = <4>;
1049					iommus = <&apps_smmu 0x1404 0x30>;
1050				};
1051
1052				compute-cb@5 {
1053					compatible = "qcom,fastrpc-compute-cb";
1054					reg = <5>;
1055					iommus = <&apps_smmu 0x1405 0x30>;
1056				};
1057
1058				compute-cb@6 {
1059					compatible = "qcom,fastrpc-compute-cb";
1060					reg = <6>;
1061					iommus = <&apps_smmu 0x1406 0x30>;
1062				};
1063
1064				compute-cb@7 {
1065					compatible = "qcom,fastrpc-compute-cb";
1066					reg = <7>;
1067					iommus = <&apps_smmu 0x1407 0x30>;
1068				};
1069
1070				compute-cb@8 {
1071					compatible = "qcom,fastrpc-compute-cb";
1072					reg = <8>;
1073					iommus = <&apps_smmu 0x1408 0x30>;
1074				};
1075			};
1076		};
1077	};
1078
1079	smp2p-cdsp {
1080		compatible = "qcom,smp2p";
1081		qcom,smem = <94>, <432>;
1082
1083		interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
1084
1085		mboxes = <&apss_shared 6>;
1086
1087		qcom,local-pid = <0>;
1088		qcom,remote-pid = <5>;
1089
1090		cdsp_smp2p_out: master-kernel {
1091			qcom,entry-name = "master-kernel";
1092			#qcom,smem-state-cells = <1>;
1093		};
1094
1095		cdsp_smp2p_in: slave-kernel {
1096			qcom,entry-name = "slave-kernel";
1097
1098			interrupt-controller;
1099			#interrupt-cells = <2>;
1100		};
1101	};
1102
1103	smp2p-lpass {
1104		compatible = "qcom,smp2p";
1105		qcom,smem = <443>, <429>;
1106
1107		interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
1108
1109		mboxes = <&apss_shared 10>;
1110
1111		qcom,local-pid = <0>;
1112		qcom,remote-pid = <2>;
1113
1114		adsp_smp2p_out: master-kernel {
1115			qcom,entry-name = "master-kernel";
1116			#qcom,smem-state-cells = <1>;
1117		};
1118
1119		adsp_smp2p_in: slave-kernel {
1120			qcom,entry-name = "slave-kernel";
1121
1122			interrupt-controller;
1123			#interrupt-cells = <2>;
1124		};
1125	};
1126
1127	smp2p-mpss {
1128		compatible = "qcom,smp2p";
1129		qcom,smem = <435>, <428>;
1130		interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
1131		mboxes = <&apss_shared 14>;
1132		qcom,local-pid = <0>;
1133		qcom,remote-pid = <1>;
1134
1135		modem_smp2p_out: master-kernel {
1136			qcom,entry-name = "master-kernel";
1137			#qcom,smem-state-cells = <1>;
1138		};
1139
1140		modem_smp2p_in: slave-kernel {
1141			qcom,entry-name = "slave-kernel";
1142			interrupt-controller;
1143			#interrupt-cells = <2>;
1144		};
1145
1146		ipa_smp2p_out: ipa-ap-to-modem {
1147			qcom,entry-name = "ipa";
1148			#qcom,smem-state-cells = <1>;
1149		};
1150
1151		ipa_smp2p_in: ipa-modem-to-ap {
1152			qcom,entry-name = "ipa";
1153			interrupt-controller;
1154			#interrupt-cells = <2>;
1155		};
1156	};
1157
1158	smp2p-slpi {
1159		compatible = "qcom,smp2p";
1160		qcom,smem = <481>, <430>;
1161		interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
1162		mboxes = <&apss_shared 26>;
1163		qcom,local-pid = <0>;
1164		qcom,remote-pid = <3>;
1165
1166		slpi_smp2p_out: master-kernel {
1167			qcom,entry-name = "master-kernel";
1168			#qcom,smem-state-cells = <1>;
1169		};
1170
1171		slpi_smp2p_in: slave-kernel {
1172			qcom,entry-name = "slave-kernel";
1173			interrupt-controller;
1174			#interrupt-cells = <2>;
1175		};
1176	};
1177
1178	soc: soc@0 {
1179		#address-cells = <2>;
1180		#size-cells = <2>;
1181		ranges = <0 0 0 0 0x10 0>;
1182		dma-ranges = <0 0 0 0 0x10 0>;
1183		compatible = "simple-bus";
1184
1185		gcc: clock-controller@100000 {
1186			compatible = "qcom,gcc-sdm845";
1187			reg = <0 0x00100000 0 0x1f0000>;
1188			clocks = <&rpmhcc RPMH_CXO_CLK>,
1189				 <&rpmhcc RPMH_CXO_CLK_A>,
1190				 <&sleep_clk>,
1191				 <&pcie0_lane>,
1192				 <&pcie1_lane>;
1193			clock-names = "bi_tcxo",
1194				      "bi_tcxo_ao",
1195				      "sleep_clk",
1196				      "pcie_0_pipe_clk",
1197				      "pcie_1_pipe_clk";
1198			#clock-cells = <1>;
1199			#reset-cells = <1>;
1200			#power-domain-cells = <1>;
1201		};
1202
1203		qfprom@784000 {
1204			compatible = "qcom,sdm845-qfprom", "qcom,qfprom";
1205			reg = <0 0x00784000 0 0x8ff>;
1206			#address-cells = <1>;
1207			#size-cells = <1>;
1208
1209			qusb2p_hstx_trim: hstx-trim-primary@1eb {
1210				reg = <0x1eb 0x1>;
1211				bits = <1 4>;
1212			};
1213
1214			qusb2s_hstx_trim: hstx-trim-secondary@1eb {
1215				reg = <0x1eb 0x2>;
1216				bits = <6 4>;
1217			};
1218		};
1219
1220		rng: rng@793000 {
1221			compatible = "qcom,prng-ee";
1222			reg = <0 0x00793000 0 0x1000>;
1223			clocks = <&gcc GCC_PRNG_AHB_CLK>;
1224			clock-names = "core";
1225		};
1226
1227		gpi_dma0: dma-controller@800000 {
1228			#dma-cells = <3>;
1229			compatible = "qcom,sdm845-gpi-dma";
1230			reg = <0 0x00800000 0 0x60000>;
1231			interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
1232				     <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
1233				     <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
1234				     <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
1235				     <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
1236				     <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
1237				     <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
1238				     <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
1239				     <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
1240				     <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
1241				     <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
1242				     <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
1243				     <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
1244			dma-channels = <13>;
1245			dma-channel-mask = <0xfa>;
1246			iommus = <&apps_smmu 0x0016 0x0>;
1247			status = "disabled";
1248		};
1249
1250		qupv3_id_0: geniqup@8c0000 {
1251			compatible = "qcom,geni-se-qup";
1252			reg = <0 0x008c0000 0 0x6000>;
1253			clock-names = "m-ahb", "s-ahb";
1254			clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
1255				 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
1256			iommus = <&apps_smmu 0x3 0x0>;
1257			#address-cells = <2>;
1258			#size-cells = <2>;
1259			ranges;
1260			interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>;
1261			interconnect-names = "qup-core";
1262			status = "disabled";
1263
1264			i2c0: i2c@880000 {
1265				compatible = "qcom,geni-i2c";
1266				reg = <0 0x00880000 0 0x4000>;
1267				clock-names = "se";
1268				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1269				pinctrl-names = "default";
1270				pinctrl-0 = <&qup_i2c0_default>;
1271				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1272				#address-cells = <1>;
1273				#size-cells = <0>;
1274				power-domains = <&rpmhpd SDM845_CX>;
1275				operating-points-v2 = <&qup_opp_table>;
1276				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1277						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
1278						<&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
1279				interconnect-names = "qup-core", "qup-config", "qup-memory";
1280				dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
1281				       <&gpi_dma0 1 0 QCOM_GPI_I2C>;
1282				dma-names = "tx", "rx";
1283				status = "disabled";
1284			};
1285
1286			spi0: spi@880000 {
1287				compatible = "qcom,geni-spi";
1288				reg = <0 0x00880000 0 0x4000>;
1289				clock-names = "se";
1290				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1291				pinctrl-names = "default";
1292				pinctrl-0 = <&qup_spi0_default>;
1293				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1294				#address-cells = <1>;
1295				#size-cells = <0>;
1296				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1297						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1298				interconnect-names = "qup-core", "qup-config";
1299				dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
1300				       <&gpi_dma0 1 0 QCOM_GPI_SPI>;
1301				dma-names = "tx", "rx";
1302				status = "disabled";
1303			};
1304
1305			uart0: serial@880000 {
1306				compatible = "qcom,geni-uart";
1307				reg = <0 0x00880000 0 0x4000>;
1308				clock-names = "se";
1309				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1310				pinctrl-names = "default";
1311				pinctrl-0 = <&qup_uart0_default>;
1312				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1313				power-domains = <&rpmhpd SDM845_CX>;
1314				operating-points-v2 = <&qup_opp_table>;
1315				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1316						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1317				interconnect-names = "qup-core", "qup-config";
1318				status = "disabled";
1319			};
1320
1321			i2c1: i2c@884000 {
1322				compatible = "qcom,geni-i2c";
1323				reg = <0 0x00884000 0 0x4000>;
1324				clock-names = "se";
1325				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1326				pinctrl-names = "default";
1327				pinctrl-0 = <&qup_i2c1_default>;
1328				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1329				#address-cells = <1>;
1330				#size-cells = <0>;
1331				power-domains = <&rpmhpd SDM845_CX>;
1332				operating-points-v2 = <&qup_opp_table>;
1333				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1334						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
1335						<&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
1336				interconnect-names = "qup-core", "qup-config", "qup-memory";
1337				dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
1338				       <&gpi_dma0 1 1 QCOM_GPI_I2C>;
1339				dma-names = "tx", "rx";
1340				status = "disabled";
1341			};
1342
1343			spi1: spi@884000 {
1344				compatible = "qcom,geni-spi";
1345				reg = <0 0x00884000 0 0x4000>;
1346				clock-names = "se";
1347				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1348				pinctrl-names = "default";
1349				pinctrl-0 = <&qup_spi1_default>;
1350				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1351				#address-cells = <1>;
1352				#size-cells = <0>;
1353				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1354						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1355				interconnect-names = "qup-core", "qup-config";
1356				dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>,
1357				       <&gpi_dma0 1 1 QCOM_GPI_SPI>;
1358				dma-names = "tx", "rx";
1359				status = "disabled";
1360			};
1361
1362			uart1: serial@884000 {
1363				compatible = "qcom,geni-uart";
1364				reg = <0 0x00884000 0 0x4000>;
1365				clock-names = "se";
1366				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1367				pinctrl-names = "default";
1368				pinctrl-0 = <&qup_uart1_default>;
1369				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1370				power-domains = <&rpmhpd SDM845_CX>;
1371				operating-points-v2 = <&qup_opp_table>;
1372				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1373						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1374				interconnect-names = "qup-core", "qup-config";
1375				status = "disabled";
1376			};
1377
1378			i2c2: i2c@888000 {
1379				compatible = "qcom,geni-i2c";
1380				reg = <0 0x00888000 0 0x4000>;
1381				clock-names = "se";
1382				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1383				pinctrl-names = "default";
1384				pinctrl-0 = <&qup_i2c2_default>;
1385				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1386				#address-cells = <1>;
1387				#size-cells = <0>;
1388				power-domains = <&rpmhpd SDM845_CX>;
1389				operating-points-v2 = <&qup_opp_table>;
1390				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1391						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
1392						<&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
1393				interconnect-names = "qup-core", "qup-config", "qup-memory";
1394				dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
1395				       <&gpi_dma0 1 2 QCOM_GPI_I2C>;
1396				dma-names = "tx", "rx";
1397				status = "disabled";
1398			};
1399
1400			spi2: spi@888000 {
1401				compatible = "qcom,geni-spi";
1402				reg = <0 0x00888000 0 0x4000>;
1403				clock-names = "se";
1404				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1405				pinctrl-names = "default";
1406				pinctrl-0 = <&qup_spi2_default>;
1407				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1408				#address-cells = <1>;
1409				#size-cells = <0>;
1410				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1411						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1412				interconnect-names = "qup-core", "qup-config";
1413				dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
1414				       <&gpi_dma0 1 2 QCOM_GPI_SPI>;
1415				dma-names = "tx", "rx";
1416				status = "disabled";
1417			};
1418
1419			uart2: serial@888000 {
1420				compatible = "qcom,geni-uart";
1421				reg = <0 0x00888000 0 0x4000>;
1422				clock-names = "se";
1423				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1424				pinctrl-names = "default";
1425				pinctrl-0 = <&qup_uart2_default>;
1426				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1427				power-domains = <&rpmhpd SDM845_CX>;
1428				operating-points-v2 = <&qup_opp_table>;
1429				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1430						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1431				interconnect-names = "qup-core", "qup-config";
1432				status = "disabled";
1433			};
1434
1435			i2c3: i2c@88c000 {
1436				compatible = "qcom,geni-i2c";
1437				reg = <0 0x0088c000 0 0x4000>;
1438				clock-names = "se";
1439				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1440				pinctrl-names = "default";
1441				pinctrl-0 = <&qup_i2c3_default>;
1442				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1443				#address-cells = <1>;
1444				#size-cells = <0>;
1445				power-domains = <&rpmhpd SDM845_CX>;
1446				operating-points-v2 = <&qup_opp_table>;
1447				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1448						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
1449						<&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
1450				interconnect-names = "qup-core", "qup-config", "qup-memory";
1451				dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
1452				       <&gpi_dma0 1 3 QCOM_GPI_I2C>;
1453				dma-names = "tx", "rx";
1454				status = "disabled";
1455			};
1456
1457			spi3: spi@88c000 {
1458				compatible = "qcom,geni-spi";
1459				reg = <0 0x0088c000 0 0x4000>;
1460				clock-names = "se";
1461				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1462				pinctrl-names = "default";
1463				pinctrl-0 = <&qup_spi3_default>;
1464				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1465				#address-cells = <1>;
1466				#size-cells = <0>;
1467				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1468						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1469				interconnect-names = "qup-core", "qup-config";
1470				dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>,
1471				       <&gpi_dma0 1 3 QCOM_GPI_SPI>;
1472				dma-names = "tx", "rx";
1473				status = "disabled";
1474			};
1475
1476			uart3: serial@88c000 {
1477				compatible = "qcom,geni-uart";
1478				reg = <0 0x0088c000 0 0x4000>;
1479				clock-names = "se";
1480				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1481				pinctrl-names = "default";
1482				pinctrl-0 = <&qup_uart3_default>;
1483				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1484				power-domains = <&rpmhpd SDM845_CX>;
1485				operating-points-v2 = <&qup_opp_table>;
1486				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1487						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1488				interconnect-names = "qup-core", "qup-config";
1489				status = "disabled";
1490			};
1491
1492			i2c4: i2c@890000 {
1493				compatible = "qcom,geni-i2c";
1494				reg = <0 0x00890000 0 0x4000>;
1495				clock-names = "se";
1496				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1497				pinctrl-names = "default";
1498				pinctrl-0 = <&qup_i2c4_default>;
1499				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1500				#address-cells = <1>;
1501				#size-cells = <0>;
1502				power-domains = <&rpmhpd SDM845_CX>;
1503				operating-points-v2 = <&qup_opp_table>;
1504				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1505						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
1506						<&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
1507				interconnect-names = "qup-core", "qup-config", "qup-memory";
1508				dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
1509				       <&gpi_dma0 1 4 QCOM_GPI_I2C>;
1510				dma-names = "tx", "rx";
1511				status = "disabled";
1512			};
1513
1514			spi4: spi@890000 {
1515				compatible = "qcom,geni-spi";
1516				reg = <0 0x00890000 0 0x4000>;
1517				clock-names = "se";
1518				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1519				pinctrl-names = "default";
1520				pinctrl-0 = <&qup_spi4_default>;
1521				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1522				#address-cells = <1>;
1523				#size-cells = <0>;
1524				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1525						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1526				interconnect-names = "qup-core", "qup-config";
1527				dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>,
1528				       <&gpi_dma0 1 4 QCOM_GPI_SPI>;
1529				dma-names = "tx", "rx";
1530				status = "disabled";
1531			};
1532
1533			uart4: serial@890000 {
1534				compatible = "qcom,geni-uart";
1535				reg = <0 0x00890000 0 0x4000>;
1536				clock-names = "se";
1537				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1538				pinctrl-names = "default";
1539				pinctrl-0 = <&qup_uart4_default>;
1540				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1541				power-domains = <&rpmhpd SDM845_CX>;
1542				operating-points-v2 = <&qup_opp_table>;
1543				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1544						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1545				interconnect-names = "qup-core", "qup-config";
1546				status = "disabled";
1547			};
1548
1549			i2c5: i2c@894000 {
1550				compatible = "qcom,geni-i2c";
1551				reg = <0 0x00894000 0 0x4000>;
1552				clock-names = "se";
1553				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1554				pinctrl-names = "default";
1555				pinctrl-0 = <&qup_i2c5_default>;
1556				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1557				#address-cells = <1>;
1558				#size-cells = <0>;
1559				power-domains = <&rpmhpd SDM845_CX>;
1560				operating-points-v2 = <&qup_opp_table>;
1561				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1562						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
1563						<&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
1564				interconnect-names = "qup-core", "qup-config", "qup-memory";
1565				dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
1566				       <&gpi_dma0 1 5 QCOM_GPI_I2C>;
1567				dma-names = "tx", "rx";
1568				status = "disabled";
1569			};
1570
1571			spi5: spi@894000 {
1572				compatible = "qcom,geni-spi";
1573				reg = <0 0x00894000 0 0x4000>;
1574				clock-names = "se";
1575				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1576				pinctrl-names = "default";
1577				pinctrl-0 = <&qup_spi5_default>;
1578				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1579				#address-cells = <1>;
1580				#size-cells = <0>;
1581				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1582						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1583				interconnect-names = "qup-core", "qup-config";
1584				dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>,
1585				       <&gpi_dma0 1 5 QCOM_GPI_SPI>;
1586				dma-names = "tx", "rx";
1587				status = "disabled";
1588			};
1589
1590			uart5: serial@894000 {
1591				compatible = "qcom,geni-uart";
1592				reg = <0 0x00894000 0 0x4000>;
1593				clock-names = "se";
1594				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1595				pinctrl-names = "default";
1596				pinctrl-0 = <&qup_uart5_default>;
1597				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1598				power-domains = <&rpmhpd SDM845_CX>;
1599				operating-points-v2 = <&qup_opp_table>;
1600				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1601						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1602				interconnect-names = "qup-core", "qup-config";
1603				status = "disabled";
1604			};
1605
1606			i2c6: i2c@898000 {
1607				compatible = "qcom,geni-i2c";
1608				reg = <0 0x00898000 0 0x4000>;
1609				clock-names = "se";
1610				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1611				pinctrl-names = "default";
1612				pinctrl-0 = <&qup_i2c6_default>;
1613				interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1614				#address-cells = <1>;
1615				#size-cells = <0>;
1616				power-domains = <&rpmhpd SDM845_CX>;
1617				operating-points-v2 = <&qup_opp_table>;
1618				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1619						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>,
1620						<&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>;
1621				interconnect-names = "qup-core", "qup-config", "qup-memory";
1622				dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>,
1623				       <&gpi_dma0 1 6 QCOM_GPI_I2C>;
1624				dma-names = "tx", "rx";
1625				status = "disabled";
1626			};
1627
1628			spi6: spi@898000 {
1629				compatible = "qcom,geni-spi";
1630				reg = <0 0x00898000 0 0x4000>;
1631				clock-names = "se";
1632				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1633				pinctrl-names = "default";
1634				pinctrl-0 = <&qup_spi6_default>;
1635				interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1636				#address-cells = <1>;
1637				#size-cells = <0>;
1638				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1639						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1640				interconnect-names = "qup-core", "qup-config";
1641				dmas = <&gpi_dma0 0 6 QCOM_GPI_SPI>,
1642				       <&gpi_dma0 1 6 QCOM_GPI_SPI>;
1643				dma-names = "tx", "rx";
1644				status = "disabled";
1645			};
1646
1647			uart6: serial@898000 {
1648				compatible = "qcom,geni-uart";
1649				reg = <0 0x00898000 0 0x4000>;
1650				clock-names = "se";
1651				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1652				pinctrl-names = "default";
1653				pinctrl-0 = <&qup_uart6_default>;
1654				interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1655				power-domains = <&rpmhpd SDM845_CX>;
1656				operating-points-v2 = <&qup_opp_table>;
1657				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1658						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1659				interconnect-names = "qup-core", "qup-config";
1660				status = "disabled";
1661			};
1662
1663			i2c7: i2c@89c000 {
1664				compatible = "qcom,geni-i2c";
1665				reg = <0 0x0089c000 0 0x4000>;
1666				clock-names = "se";
1667				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1668				pinctrl-names = "default";
1669				pinctrl-0 = <&qup_i2c7_default>;
1670				interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1671				#address-cells = <1>;
1672				#size-cells = <0>;
1673				power-domains = <&rpmhpd SDM845_CX>;
1674				operating-points-v2 = <&qup_opp_table>;
1675				status = "disabled";
1676			};
1677
1678			spi7: spi@89c000 {
1679				compatible = "qcom,geni-spi";
1680				reg = <0 0x0089c000 0 0x4000>;
1681				clock-names = "se";
1682				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1683				pinctrl-names = "default";
1684				pinctrl-0 = <&qup_spi7_default>;
1685				interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1686				#address-cells = <1>;
1687				#size-cells = <0>;
1688				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1689						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1690				interconnect-names = "qup-core", "qup-config";
1691				dmas = <&gpi_dma0 0 7 QCOM_GPI_SPI>,
1692				       <&gpi_dma0 1 7 QCOM_GPI_SPI>;
1693				dma-names = "tx", "rx";
1694				status = "disabled";
1695			};
1696
1697			uart7: serial@89c000 {
1698				compatible = "qcom,geni-uart";
1699				reg = <0 0x0089c000 0 0x4000>;
1700				clock-names = "se";
1701				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1702				pinctrl-names = "default";
1703				pinctrl-0 = <&qup_uart7_default>;
1704				interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1705				power-domains = <&rpmhpd SDM845_CX>;
1706				operating-points-v2 = <&qup_opp_table>;
1707				interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
1708						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
1709				interconnect-names = "qup-core", "qup-config";
1710				status = "disabled";
1711			};
1712		};
1713
1714		gpi_dma1: dma-controller@a00000 {
1715			#dma-cells = <3>;
1716			compatible = "qcom,sdm845-gpi-dma";
1717			reg = <0 0x00a00000 0 0x60000>;
1718			interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
1719				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
1720				     <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
1721				     <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
1722				     <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
1723				     <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
1724				     <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
1725				     <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
1726				     <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
1727				     <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>,
1728				     <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>,
1729				     <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>,
1730				     <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
1731			dma-channels = <13>;
1732			dma-channel-mask = <0xfa>;
1733			iommus = <&apps_smmu 0x06d6 0x0>;
1734			status = "disabled";
1735		};
1736
1737		qupv3_id_1: geniqup@ac0000 {
1738			compatible = "qcom,geni-se-qup";
1739			reg = <0 0x00ac0000 0 0x6000>;
1740			clock-names = "m-ahb", "s-ahb";
1741			clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
1742				 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
1743			iommus = <&apps_smmu 0x6c3 0x0>;
1744			#address-cells = <2>;
1745			#size-cells = <2>;
1746			ranges;
1747			interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>;
1748			interconnect-names = "qup-core";
1749			status = "disabled";
1750
1751			i2c8: i2c@a80000 {
1752				compatible = "qcom,geni-i2c";
1753				reg = <0 0x00a80000 0 0x4000>;
1754				clock-names = "se";
1755				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1756				pinctrl-names = "default";
1757				pinctrl-0 = <&qup_i2c8_default>;
1758				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1759				#address-cells = <1>;
1760				#size-cells = <0>;
1761				power-domains = <&rpmhpd SDM845_CX>;
1762				operating-points-v2 = <&qup_opp_table>;
1763				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
1764						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
1765						<&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
1766				interconnect-names = "qup-core", "qup-config", "qup-memory";
1767				dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
1768				       <&gpi_dma1 1 0 QCOM_GPI_I2C>;
1769				dma-names = "tx", "rx";
1770				status = "disabled";
1771			};
1772
1773			spi8: spi@a80000 {
1774				compatible = "qcom,geni-spi";
1775				reg = <0 0x00a80000 0 0x4000>;
1776				clock-names = "se";
1777				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1778				pinctrl-names = "default";
1779				pinctrl-0 = <&qup_spi8_default>;
1780				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1781				#address-cells = <1>;
1782				#size-cells = <0>;
1783				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
1784						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
1785				interconnect-names = "qup-core", "qup-config";
1786				dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>,
1787				       <&gpi_dma1 1 0 QCOM_GPI_SPI>;
1788				dma-names = "tx", "rx";
1789				status = "disabled";
1790			};
1791
1792			uart8: serial@a80000 {
1793				compatible = "qcom,geni-uart";
1794				reg = <0 0x00a80000 0 0x4000>;
1795				clock-names = "se";
1796				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1797				pinctrl-names = "default";
1798				pinctrl-0 = <&qup_uart8_default>;
1799				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1800				power-domains = <&rpmhpd SDM845_CX>;
1801				operating-points-v2 = <&qup_opp_table>;
1802				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
1803						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
1804				interconnect-names = "qup-core", "qup-config";
1805				status = "disabled";
1806			};
1807
1808			i2c9: i2c@a84000 {
1809				compatible = "qcom,geni-i2c";
1810				reg = <0 0x00a84000 0 0x4000>;
1811				clock-names = "se";
1812				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1813				pinctrl-names = "default";
1814				pinctrl-0 = <&qup_i2c9_default>;
1815				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1816				#address-cells = <1>;
1817				#size-cells = <0>;
1818				power-domains = <&rpmhpd SDM845_CX>;
1819				operating-points-v2 = <&qup_opp_table>;
1820				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
1821						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
1822						<&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
1823				interconnect-names = "qup-core", "qup-config", "qup-memory";
1824				dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
1825				       <&gpi_dma1 1 1 QCOM_GPI_I2C>;
1826				dma-names = "tx", "rx";
1827				status = "disabled";
1828			};
1829
1830			spi9: spi@a84000 {
1831				compatible = "qcom,geni-spi";
1832				reg = <0 0x00a84000 0 0x4000>;
1833				clock-names = "se";
1834				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1835				pinctrl-names = "default";
1836				pinctrl-0 = <&qup_spi9_default>;
1837				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1838				#address-cells = <1>;
1839				#size-cells = <0>;
1840				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
1841						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
1842				interconnect-names = "qup-core", "qup-config";
1843				dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>,
1844				       <&gpi_dma1 1 1 QCOM_GPI_SPI>;
1845				dma-names = "tx", "rx";
1846				status = "disabled";
1847			};
1848
1849			uart9: serial@a84000 {
1850				compatible = "qcom,geni-debug-uart";
1851				reg = <0 0x00a84000 0 0x4000>;
1852				clock-names = "se";
1853				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1854				pinctrl-names = "default";
1855				pinctrl-0 = <&qup_uart9_default>;
1856				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1857				power-domains = <&rpmhpd SDM845_CX>;
1858				operating-points-v2 = <&qup_opp_table>;
1859				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
1860						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
1861				interconnect-names = "qup-core", "qup-config";
1862				status = "disabled";
1863			};
1864
1865			i2c10: i2c@a88000 {
1866				compatible = "qcom,geni-i2c";
1867				reg = <0 0x00a88000 0 0x4000>;
1868				clock-names = "se";
1869				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1870				pinctrl-names = "default";
1871				pinctrl-0 = <&qup_i2c10_default>;
1872				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1873				#address-cells = <1>;
1874				#size-cells = <0>;
1875				power-domains = <&rpmhpd SDM845_CX>;
1876				operating-points-v2 = <&qup_opp_table>;
1877				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
1878						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
1879						<&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
1880				interconnect-names = "qup-core", "qup-config", "qup-memory";
1881				dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
1882				       <&gpi_dma1 1 2 QCOM_GPI_I2C>;
1883				dma-names = "tx", "rx";
1884				status = "disabled";
1885			};
1886
1887			spi10: spi@a88000 {
1888				compatible = "qcom,geni-spi";
1889				reg = <0 0x00a88000 0 0x4000>;
1890				clock-names = "se";
1891				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1892				pinctrl-names = "default";
1893				pinctrl-0 = <&qup_spi10_default>;
1894				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1895				#address-cells = <1>;
1896				#size-cells = <0>;
1897				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
1898						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
1899				interconnect-names = "qup-core", "qup-config";
1900				dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>,
1901				       <&gpi_dma1 1 2 QCOM_GPI_SPI>;
1902				dma-names = "tx", "rx";
1903				status = "disabled";
1904			};
1905
1906			uart10: serial@a88000 {
1907				compatible = "qcom,geni-uart";
1908				reg = <0 0x00a88000 0 0x4000>;
1909				clock-names = "se";
1910				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1911				pinctrl-names = "default";
1912				pinctrl-0 = <&qup_uart10_default>;
1913				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1914				power-domains = <&rpmhpd SDM845_CX>;
1915				operating-points-v2 = <&qup_opp_table>;
1916				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
1917						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
1918				interconnect-names = "qup-core", "qup-config";
1919				status = "disabled";
1920			};
1921
1922			i2c11: i2c@a8c000 {
1923				compatible = "qcom,geni-i2c";
1924				reg = <0 0x00a8c000 0 0x4000>;
1925				clock-names = "se";
1926				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1927				pinctrl-names = "default";
1928				pinctrl-0 = <&qup_i2c11_default>;
1929				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1930				#address-cells = <1>;
1931				#size-cells = <0>;
1932				power-domains = <&rpmhpd SDM845_CX>;
1933				operating-points-v2 = <&qup_opp_table>;
1934				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
1935						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
1936						<&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
1937				interconnect-names = "qup-core", "qup-config", "qup-memory";
1938				dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
1939				       <&gpi_dma1 1 3 QCOM_GPI_I2C>;
1940				dma-names = "tx", "rx";
1941				status = "disabled";
1942			};
1943
1944			spi11: spi@a8c000 {
1945				compatible = "qcom,geni-spi";
1946				reg = <0 0x00a8c000 0 0x4000>;
1947				clock-names = "se";
1948				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1949				pinctrl-names = "default";
1950				pinctrl-0 = <&qup_spi11_default>;
1951				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1952				#address-cells = <1>;
1953				#size-cells = <0>;
1954				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
1955						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
1956				interconnect-names = "qup-core", "qup-config";
1957				dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>,
1958				       <&gpi_dma1 1 3 QCOM_GPI_SPI>;
1959				dma-names = "tx", "rx";
1960				status = "disabled";
1961			};
1962
1963			uart11: serial@a8c000 {
1964				compatible = "qcom,geni-uart";
1965				reg = <0 0x00a8c000 0 0x4000>;
1966				clock-names = "se";
1967				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1968				pinctrl-names = "default";
1969				pinctrl-0 = <&qup_uart11_default>;
1970				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1971				power-domains = <&rpmhpd SDM845_CX>;
1972				operating-points-v2 = <&qup_opp_table>;
1973				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
1974						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
1975				interconnect-names = "qup-core", "qup-config";
1976				status = "disabled";
1977			};
1978
1979			i2c12: i2c@a90000 {
1980				compatible = "qcom,geni-i2c";
1981				reg = <0 0x00a90000 0 0x4000>;
1982				clock-names = "se";
1983				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1984				pinctrl-names = "default";
1985				pinctrl-0 = <&qup_i2c12_default>;
1986				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1987				#address-cells = <1>;
1988				#size-cells = <0>;
1989				power-domains = <&rpmhpd SDM845_CX>;
1990				operating-points-v2 = <&qup_opp_table>;
1991				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
1992						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
1993						<&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
1994				interconnect-names = "qup-core", "qup-config", "qup-memory";
1995				dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
1996				       <&gpi_dma1 1 4 QCOM_GPI_I2C>;
1997				dma-names = "tx", "rx";
1998				status = "disabled";
1999			};
2000
2001			spi12: spi@a90000 {
2002				compatible = "qcom,geni-spi";
2003				reg = <0 0x00a90000 0 0x4000>;
2004				clock-names = "se";
2005				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
2006				pinctrl-names = "default";
2007				pinctrl-0 = <&qup_spi12_default>;
2008				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
2009				#address-cells = <1>;
2010				#size-cells = <0>;
2011				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
2012						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
2013				interconnect-names = "qup-core", "qup-config";
2014				dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>,
2015				       <&gpi_dma1 1 4 QCOM_GPI_SPI>;
2016				dma-names = "tx", "rx";
2017				status = "disabled";
2018			};
2019
2020			uart12: serial@a90000 {
2021				compatible = "qcom,geni-uart";
2022				reg = <0 0x00a90000 0 0x4000>;
2023				clock-names = "se";
2024				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
2025				pinctrl-names = "default";
2026				pinctrl-0 = <&qup_uart12_default>;
2027				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
2028				power-domains = <&rpmhpd SDM845_CX>;
2029				operating-points-v2 = <&qup_opp_table>;
2030				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
2031						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
2032				interconnect-names = "qup-core", "qup-config";
2033				status = "disabled";
2034			};
2035
2036			i2c13: i2c@a94000 {
2037				compatible = "qcom,geni-i2c";
2038				reg = <0 0x00a94000 0 0x4000>;
2039				clock-names = "se";
2040				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
2041				pinctrl-names = "default";
2042				pinctrl-0 = <&qup_i2c13_default>;
2043				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
2044				#address-cells = <1>;
2045				#size-cells = <0>;
2046				power-domains = <&rpmhpd SDM845_CX>;
2047				operating-points-v2 = <&qup_opp_table>;
2048				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
2049						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
2050						<&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
2051				interconnect-names = "qup-core", "qup-config", "qup-memory";
2052				dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>,
2053				       <&gpi_dma1 1 5 QCOM_GPI_I2C>;
2054				dma-names = "tx", "rx";
2055				status = "disabled";
2056			};
2057
2058			spi13: spi@a94000 {
2059				compatible = "qcom,geni-spi";
2060				reg = <0 0x00a94000 0 0x4000>;
2061				clock-names = "se";
2062				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
2063				pinctrl-names = "default";
2064				pinctrl-0 = <&qup_spi13_default>;
2065				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
2066				#address-cells = <1>;
2067				#size-cells = <0>;
2068				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
2069						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
2070				interconnect-names = "qup-core", "qup-config";
2071				dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>,
2072				       <&gpi_dma1 1 5 QCOM_GPI_SPI>;
2073				dma-names = "tx", "rx";
2074				status = "disabled";
2075			};
2076
2077			uart13: serial@a94000 {
2078				compatible = "qcom,geni-uart";
2079				reg = <0 0x00a94000 0 0x4000>;
2080				clock-names = "se";
2081				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
2082				pinctrl-names = "default";
2083				pinctrl-0 = <&qup_uart13_default>;
2084				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
2085				power-domains = <&rpmhpd SDM845_CX>;
2086				operating-points-v2 = <&qup_opp_table>;
2087				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
2088						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
2089				interconnect-names = "qup-core", "qup-config";
2090				status = "disabled";
2091			};
2092
2093			i2c14: i2c@a98000 {
2094				compatible = "qcom,geni-i2c";
2095				reg = <0 0x00a98000 0 0x4000>;
2096				clock-names = "se";
2097				clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
2098				pinctrl-names = "default";
2099				pinctrl-0 = <&qup_i2c14_default>;
2100				interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
2101				#address-cells = <1>;
2102				#size-cells = <0>;
2103				power-domains = <&rpmhpd SDM845_CX>;
2104				operating-points-v2 = <&qup_opp_table>;
2105				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
2106						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
2107						<&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
2108				interconnect-names = "qup-core", "qup-config", "qup-memory";
2109				dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>,
2110				       <&gpi_dma1 1 6 QCOM_GPI_I2C>;
2111				dma-names = "tx", "rx";
2112				status = "disabled";
2113			};
2114
2115			spi14: spi@a98000 {
2116				compatible = "qcom,geni-spi";
2117				reg = <0 0x00a98000 0 0x4000>;
2118				clock-names = "se";
2119				clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
2120				pinctrl-names = "default";
2121				pinctrl-0 = <&qup_spi14_default>;
2122				interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
2123				#address-cells = <1>;
2124				#size-cells = <0>;
2125				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
2126						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
2127				interconnect-names = "qup-core", "qup-config";
2128				dmas = <&gpi_dma1 0 6 QCOM_GPI_SPI>,
2129				       <&gpi_dma1 1 6 QCOM_GPI_SPI>;
2130				dma-names = "tx", "rx";
2131				status = "disabled";
2132			};
2133
2134			uart14: serial@a98000 {
2135				compatible = "qcom,geni-uart";
2136				reg = <0 0x00a98000 0 0x4000>;
2137				clock-names = "se";
2138				clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
2139				pinctrl-names = "default";
2140				pinctrl-0 = <&qup_uart14_default>;
2141				interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
2142				power-domains = <&rpmhpd SDM845_CX>;
2143				operating-points-v2 = <&qup_opp_table>;
2144				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
2145						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
2146				interconnect-names = "qup-core", "qup-config";
2147				status = "disabled";
2148			};
2149
2150			i2c15: i2c@a9c000 {
2151				compatible = "qcom,geni-i2c";
2152				reg = <0 0x00a9c000 0 0x4000>;
2153				clock-names = "se";
2154				clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
2155				pinctrl-names = "default";
2156				pinctrl-0 = <&qup_i2c15_default>;
2157				interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
2158				#address-cells = <1>;
2159				#size-cells = <0>;
2160				power-domains = <&rpmhpd SDM845_CX>;
2161				operating-points-v2 = <&qup_opp_table>;
2162				status = "disabled";
2163				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
2164						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>,
2165						<&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>;
2166				interconnect-names = "qup-core", "qup-config", "qup-memory";
2167				dmas = <&gpi_dma1 0 7 QCOM_GPI_I2C>,
2168				       <&gpi_dma1 1 7 QCOM_GPI_I2C>;
2169				dma-names = "tx", "rx";
2170			};
2171
2172			spi15: spi@a9c000 {
2173				compatible = "qcom,geni-spi";
2174				reg = <0 0x00a9c000 0 0x4000>;
2175				clock-names = "se";
2176				clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
2177				pinctrl-names = "default";
2178				pinctrl-0 = <&qup_spi15_default>;
2179				interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
2180				#address-cells = <1>;
2181				#size-cells = <0>;
2182				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
2183						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
2184				interconnect-names = "qup-core", "qup-config";
2185				dmas = <&gpi_dma1 0 7 QCOM_GPI_SPI>,
2186				       <&gpi_dma1 1 7 QCOM_GPI_SPI>;
2187				dma-names = "tx", "rx";
2188				status = "disabled";
2189			};
2190
2191			uart15: serial@a9c000 {
2192				compatible = "qcom,geni-uart";
2193				reg = <0 0x00a9c000 0 0x4000>;
2194				clock-names = "se";
2195				clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
2196				pinctrl-names = "default";
2197				pinctrl-0 = <&qup_uart15_default>;
2198				interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
2199				power-domains = <&rpmhpd SDM845_CX>;
2200				operating-points-v2 = <&qup_opp_table>;
2201				interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>,
2202						<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>;
2203				interconnect-names = "qup-core", "qup-config";
2204				status = "disabled";
2205			};
2206		};
2207
2208		llcc: system-cache-controller@1100000 {
2209			compatible = "qcom,sdm845-llcc";
2210			reg = <0 0x01100000 0 0x45000>, <0 0x01180000 0 0x50000>,
2211			      <0 0x01200000 0 0x50000>, <0 0x01280000 0 0x50000>,
2212			      <0 0x01300000 0 0x50000>;
2213			reg-names = "llcc0_base", "llcc1_base", "llcc2_base",
2214				    "llcc3_base", "llcc_broadcast_base";
2215			interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
2216		};
2217
2218		dma@10a2000 {
2219			compatible = "qcom,sdm845-dcc", "qcom,dcc";
2220			reg = <0x0 0x010a2000 0x0 0x1000>,
2221			      <0x0 0x010ae000 0x0 0x2000>;
2222		};
2223
2224		pmu@114a000 {
2225			compatible = "qcom,sdm845-llcc-bwmon";
2226			reg = <0 0x0114a000 0 0x1000>;
2227			interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>;
2228			interconnects = <&mem_noc MASTER_LLCC 3 &mem_noc SLAVE_EBI1 3>;
2229
2230			operating-points-v2 = <&llcc_bwmon_opp_table>;
2231
2232			llcc_bwmon_opp_table: opp-table {
2233				compatible = "operating-points-v2";
2234
2235				/*
2236				 * The interconnect path bandwidth taken from
2237				 * cpu4_opp_table bandwidth for gladiator_noc-mem_noc
2238				 * interconnect.  This also matches the
2239				 * bandwidth table of qcom,llccbw (qcom,bw-tbl,
2240				 * bus width: 4 bytes) from msm-4.9 downstream
2241				 * kernel.
2242				 */
2243				opp-0 {
2244					opp-peak-kBps = <800000>;
2245				};
2246				opp-1 {
2247					opp-peak-kBps = <1804000>;
2248				};
2249				opp-2 {
2250					opp-peak-kBps = <3072000>;
2251				};
2252				opp-3 {
2253					opp-peak-kBps = <5412000>;
2254				};
2255				opp-4 {
2256					opp-peak-kBps = <7216000>;
2257				};
2258			};
2259		};
2260
2261		pmu@1436400 {
2262			compatible = "qcom,sdm845-cpu-bwmon", "qcom,sdm845-bwmon";
2263			reg = <0 0x01436400 0 0x600>;
2264			interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
2265			interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_LLCC 3>;
2266
2267			operating-points-v2 = <&cpu_bwmon_opp_table>;
2268
2269			cpu_bwmon_opp_table: opp-table {
2270				compatible = "operating-points-v2";
2271
2272				/*
2273				 * The interconnect path bandwidth taken from
2274				 * cpu4_opp_table bandwidth for OSM L3
2275				 * interconnect.  This also matches the OSM L3
2276				 * from bandwidth table of qcom,cpu4-l3lat-mon
2277				 * (qcom,core-dev-table, bus width: 16 bytes)
2278				 * from msm-4.9 downstream kernel.
2279				 */
2280				opp-0 {
2281					opp-peak-kBps = <4800000>;
2282				};
2283				opp-1 {
2284					opp-peak-kBps = <9216000>;
2285				};
2286				opp-2 {
2287					opp-peak-kBps = <15052800>;
2288				};
2289				opp-3 {
2290					opp-peak-kBps = <20889600>;
2291				};
2292				opp-4 {
2293					opp-peak-kBps = <25497600>;
2294				};
2295			};
2296		};
2297
2298		pcie0: pci@1c00000 {
2299			compatible = "qcom,pcie-sdm845";
2300			reg = <0 0x01c00000 0 0x2000>,
2301			      <0 0x60000000 0 0xf1d>,
2302			      <0 0x60000f20 0 0xa8>,
2303			      <0 0x60100000 0 0x100000>,
2304			      <0 0x01c07000 0 0x1000>;
2305			reg-names = "parf", "dbi", "elbi", "config", "mhi";
2306			device_type = "pci";
2307			linux,pci-domain = <0>;
2308			bus-range = <0x00 0xff>;
2309			num-lanes = <1>;
2310
2311			#address-cells = <3>;
2312			#size-cells = <2>;
2313
2314			ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
2315				 <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0xd00000>;
2316
2317			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
2318			interrupt-names = "msi";
2319			#interrupt-cells = <1>;
2320			interrupt-map-mask = <0 0 0 0x7>;
2321			interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
2322					<0 0 0 2 &intc 0 0 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
2323					<0 0 0 3 &intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
2324					<0 0 0 4 &intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
2325
2326			clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
2327				 <&gcc GCC_PCIE_0_AUX_CLK>,
2328				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
2329				 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
2330				 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
2331				 <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
2332				 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
2333			clock-names = "pipe",
2334				      "aux",
2335				      "cfg",
2336				      "bus_master",
2337				      "bus_slave",
2338				      "slave_q2a",
2339				      "tbu";
2340
2341			iommu-map = <0x0   &apps_smmu 0x1c10 0x1>,
2342				    <0x100 &apps_smmu 0x1c11 0x1>,
2343				    <0x200 &apps_smmu 0x1c12 0x1>,
2344				    <0x300 &apps_smmu 0x1c13 0x1>,
2345				    <0x400 &apps_smmu 0x1c14 0x1>,
2346				    <0x500 &apps_smmu 0x1c15 0x1>,
2347				    <0x600 &apps_smmu 0x1c16 0x1>,
2348				    <0x700 &apps_smmu 0x1c17 0x1>,
2349				    <0x800 &apps_smmu 0x1c18 0x1>,
2350				    <0x900 &apps_smmu 0x1c19 0x1>,
2351				    <0xa00 &apps_smmu 0x1c1a 0x1>,
2352				    <0xb00 &apps_smmu 0x1c1b 0x1>,
2353				    <0xc00 &apps_smmu 0x1c1c 0x1>,
2354				    <0xd00 &apps_smmu 0x1c1d 0x1>,
2355				    <0xe00 &apps_smmu 0x1c1e 0x1>,
2356				    <0xf00 &apps_smmu 0x1c1f 0x1>;
2357
2358			resets = <&gcc GCC_PCIE_0_BCR>;
2359			reset-names = "pci";
2360
2361			power-domains = <&gcc PCIE_0_GDSC>;
2362
2363			phys = <&pcie0_lane>;
2364			phy-names = "pciephy";
2365
2366			status = "disabled";
2367		};
2368
2369		pcie0_phy: phy@1c06000 {
2370			compatible = "qcom,sdm845-qmp-pcie-phy";
2371			reg = <0 0x01c06000 0 0x18c>;
2372			#address-cells = <2>;
2373			#size-cells = <2>;
2374			ranges;
2375			clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
2376				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
2377				 <&gcc GCC_PCIE_0_CLKREF_CLK>,
2378				 <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
2379			clock-names = "aux", "cfg_ahb", "ref", "refgen";
2380
2381			resets = <&gcc GCC_PCIE_0_PHY_BCR>;
2382			reset-names = "phy";
2383
2384			assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
2385			assigned-clock-rates = <100000000>;
2386
2387			status = "disabled";
2388
2389			pcie0_lane: phy@1c06200 {
2390				reg = <0 0x01c06200 0 0x128>,
2391				      <0 0x01c06400 0 0x1fc>,
2392				      <0 0x01c06800 0 0x218>,
2393				      <0 0x01c06600 0 0x70>;
2394				clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
2395				clock-names = "pipe0";
2396
2397				#clock-cells = <0>;
2398				#phy-cells = <0>;
2399				clock-output-names = "pcie_0_pipe_clk";
2400			};
2401		};
2402
2403		pcie1: pci@1c08000 {
2404			compatible = "qcom,pcie-sdm845";
2405			reg = <0 0x01c08000 0 0x2000>,
2406			      <0 0x40000000 0 0xf1d>,
2407			      <0 0x40000f20 0 0xa8>,
2408			      <0 0x40100000 0 0x100000>,
2409			      <0 0x01c0c000 0 0x1000>;
2410			reg-names = "parf", "dbi", "elbi", "config", "mhi";
2411			device_type = "pci";
2412			linux,pci-domain = <1>;
2413			bus-range = <0x00 0xff>;
2414			num-lanes = <1>;
2415
2416			#address-cells = <3>;
2417			#size-cells = <2>;
2418
2419			ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>,
2420				 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
2421
2422			interrupts = <GIC_SPI 307 IRQ_TYPE_EDGE_RISING>;
2423			interrupt-names = "msi";
2424			#interrupt-cells = <1>;
2425			interrupt-map-mask = <0 0 0 0x7>;
2426			interrupt-map = <0 0 0 1 &intc 0 0 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
2427					<0 0 0 2 &intc 0 0 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
2428					<0 0 0 3 &intc 0 0 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
2429					<0 0 0 4 &intc 0 0 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
2430
2431			clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
2432				 <&gcc GCC_PCIE_1_AUX_CLK>,
2433				 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
2434				 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
2435				 <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
2436				 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
2437				 <&gcc GCC_PCIE_1_CLKREF_CLK>,
2438				 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
2439			clock-names = "pipe",
2440				      "aux",
2441				      "cfg",
2442				      "bus_master",
2443				      "bus_slave",
2444				      "slave_q2a",
2445				      "ref",
2446				      "tbu";
2447
2448			assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
2449			assigned-clock-rates = <19200000>;
2450
2451			iommu-map = <0x0   &apps_smmu 0x1c00 0x1>,
2452				    <0x100 &apps_smmu 0x1c01 0x1>,
2453				    <0x200 &apps_smmu 0x1c02 0x1>,
2454				    <0x300 &apps_smmu 0x1c03 0x1>,
2455				    <0x400 &apps_smmu 0x1c04 0x1>,
2456				    <0x500 &apps_smmu 0x1c05 0x1>,
2457				    <0x600 &apps_smmu 0x1c06 0x1>,
2458				    <0x700 &apps_smmu 0x1c07 0x1>,
2459				    <0x800 &apps_smmu 0x1c08 0x1>,
2460				    <0x900 &apps_smmu 0x1c09 0x1>,
2461				    <0xa00 &apps_smmu 0x1c0a 0x1>,
2462				    <0xb00 &apps_smmu 0x1c0b 0x1>,
2463				    <0xc00 &apps_smmu 0x1c0c 0x1>,
2464				    <0xd00 &apps_smmu 0x1c0d 0x1>,
2465				    <0xe00 &apps_smmu 0x1c0e 0x1>,
2466				    <0xf00 &apps_smmu 0x1c0f 0x1>;
2467
2468			resets = <&gcc GCC_PCIE_1_BCR>;
2469			reset-names = "pci";
2470
2471			power-domains = <&gcc PCIE_1_GDSC>;
2472
2473			phys = <&pcie1_lane>;
2474			phy-names = "pciephy";
2475
2476			status = "disabled";
2477		};
2478
2479		pcie1_phy: phy@1c0a000 {
2480			compatible = "qcom,sdm845-qhp-pcie-phy";
2481			reg = <0 0x01c0a000 0 0x800>;
2482			#address-cells = <2>;
2483			#size-cells = <2>;
2484			ranges;
2485			clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
2486				 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
2487				 <&gcc GCC_PCIE_1_CLKREF_CLK>,
2488				 <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
2489			clock-names = "aux", "cfg_ahb", "ref", "refgen";
2490
2491			resets = <&gcc GCC_PCIE_1_PHY_BCR>;
2492			reset-names = "phy";
2493
2494			assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
2495			assigned-clock-rates = <100000000>;
2496
2497			status = "disabled";
2498
2499			pcie1_lane: phy@1c06200 {
2500				reg = <0 0x01c0a800 0 0x800>,
2501				      <0 0x01c0a800 0 0x800>,
2502				      <0 0x01c0b800 0 0x400>;
2503				clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
2504				clock-names = "pipe0";
2505
2506				#clock-cells = <0>;
2507				#phy-cells = <0>;
2508				clock-output-names = "pcie_1_pipe_clk";
2509			};
2510		};
2511
2512		mem_noc: interconnect@1380000 {
2513			compatible = "qcom,sdm845-mem-noc";
2514			reg = <0 0x01380000 0 0x27200>;
2515			#interconnect-cells = <2>;
2516			qcom,bcm-voters = <&apps_bcm_voter>;
2517		};
2518
2519		dc_noc: interconnect@14e0000 {
2520			compatible = "qcom,sdm845-dc-noc";
2521			reg = <0 0x014e0000 0 0x400>;
2522			#interconnect-cells = <2>;
2523			qcom,bcm-voters = <&apps_bcm_voter>;
2524		};
2525
2526		config_noc: interconnect@1500000 {
2527			compatible = "qcom,sdm845-config-noc";
2528			reg = <0 0x01500000 0 0x5080>;
2529			#interconnect-cells = <2>;
2530			qcom,bcm-voters = <&apps_bcm_voter>;
2531		};
2532
2533		system_noc: interconnect@1620000 {
2534			compatible = "qcom,sdm845-system-noc";
2535			reg = <0 0x01620000 0 0x18080>;
2536			#interconnect-cells = <2>;
2537			qcom,bcm-voters = <&apps_bcm_voter>;
2538		};
2539
2540		aggre1_noc: interconnect@16e0000 {
2541			compatible = "qcom,sdm845-aggre1-noc";
2542			reg = <0 0x016e0000 0 0x15080>;
2543			#interconnect-cells = <2>;
2544			qcom,bcm-voters = <&apps_bcm_voter>;
2545		};
2546
2547		aggre2_noc: interconnect@1700000 {
2548			compatible = "qcom,sdm845-aggre2-noc";
2549			reg = <0 0x01700000 0 0x1f300>;
2550			#interconnect-cells = <2>;
2551			qcom,bcm-voters = <&apps_bcm_voter>;
2552		};
2553
2554		mmss_noc: interconnect@1740000 {
2555			compatible = "qcom,sdm845-mmss-noc";
2556			reg = <0 0x01740000 0 0x1c100>;
2557			#interconnect-cells = <2>;
2558			qcom,bcm-voters = <&apps_bcm_voter>;
2559		};
2560
2561		ufs_mem_hc: ufshc@1d84000 {
2562			compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
2563				     "jedec,ufs-2.0";
2564			reg = <0 0x01d84000 0 0x2500>,
2565			      <0 0x01d90000 0 0x8000>;
2566			reg-names = "std", "ice";
2567			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
2568			phys = <&ufs_mem_phy_lanes>;
2569			phy-names = "ufsphy";
2570			lanes-per-direction = <2>;
2571			power-domains = <&gcc UFS_PHY_GDSC>;
2572			#reset-cells = <1>;
2573			resets = <&gcc GCC_UFS_PHY_BCR>;
2574			reset-names = "rst";
2575
2576			iommus = <&apps_smmu 0x100 0xf>;
2577
2578			clock-names =
2579				"core_clk",
2580				"bus_aggr_clk",
2581				"iface_clk",
2582				"core_clk_unipro",
2583				"ref_clk",
2584				"tx_lane0_sync_clk",
2585				"rx_lane0_sync_clk",
2586				"rx_lane1_sync_clk",
2587				"ice_core_clk";
2588			clocks =
2589				<&gcc GCC_UFS_PHY_AXI_CLK>,
2590				<&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
2591				<&gcc GCC_UFS_PHY_AHB_CLK>,
2592				<&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
2593				<&rpmhcc RPMH_CXO_CLK>,
2594				<&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
2595				<&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
2596				<&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>,
2597				<&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
2598			freq-table-hz =
2599				<50000000 200000000>,
2600				<0 0>,
2601				<0 0>,
2602				<37500000 150000000>,
2603				<0 0>,
2604				<0 0>,
2605				<0 0>,
2606				<0 0>,
2607				<0 300000000>;
2608
2609			status = "disabled";
2610		};
2611
2612		ufs_mem_phy: phy@1d87000 {
2613			compatible = "qcom,sdm845-qmp-ufs-phy";
2614			reg = <0 0x01d87000 0 0x18c>;
2615			#address-cells = <2>;
2616			#size-cells = <2>;
2617			ranges;
2618			clock-names = "ref",
2619				      "ref_aux";
2620			clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
2621				 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
2622
2623			resets = <&ufs_mem_hc 0>;
2624			reset-names = "ufsphy";
2625			status = "disabled";
2626
2627			ufs_mem_phy_lanes: phy@1d87400 {
2628				reg = <0 0x01d87400 0 0x108>,
2629				      <0 0x01d87600 0 0x1e0>,
2630				      <0 0x01d87c00 0 0x1dc>,
2631				      <0 0x01d87800 0 0x108>,
2632				      <0 0x01d87a00 0 0x1e0>;
2633				#phy-cells = <0>;
2634			};
2635		};
2636
2637		cryptobam: dma-controller@1dc4000 {
2638			compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
2639			reg = <0 0x01dc4000 0 0x24000>;
2640			interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
2641			clocks = <&rpmhcc RPMH_CE_CLK>;
2642			clock-names = "bam_clk";
2643			#dma-cells = <1>;
2644			qcom,ee = <0>;
2645			qcom,controlled-remotely;
2646			iommus = <&apps_smmu 0x704 0x1>,
2647				 <&apps_smmu 0x706 0x1>,
2648				 <&apps_smmu 0x714 0x1>,
2649				 <&apps_smmu 0x716 0x1>;
2650		};
2651
2652		crypto: crypto@1dfa000 {
2653			compatible = "qcom,crypto-v5.4";
2654			reg = <0 0x01dfa000 0 0x6000>;
2655			clocks = <&gcc GCC_CE1_AHB_CLK>,
2656				 <&gcc GCC_CE1_AXI_CLK>,
2657				 <&rpmhcc RPMH_CE_CLK>;
2658			clock-names = "iface", "bus", "core";
2659			dmas = <&cryptobam 6>, <&cryptobam 7>;
2660			dma-names = "rx", "tx";
2661			iommus = <&apps_smmu 0x704 0x1>,
2662				 <&apps_smmu 0x706 0x1>,
2663				 <&apps_smmu 0x714 0x1>,
2664				 <&apps_smmu 0x716 0x1>;
2665		};
2666
2667		ipa: ipa@1e40000 {
2668			compatible = "qcom,sdm845-ipa";
2669
2670			iommus = <&apps_smmu 0x720 0x0>,
2671				 <&apps_smmu 0x722 0x0>;
2672			reg = <0 0x01e40000 0 0x7000>,
2673			      <0 0x01e47000 0 0x2000>,
2674			      <0 0x01e04000 0 0x2c000>;
2675			reg-names = "ipa-reg",
2676				    "ipa-shared",
2677				    "gsi";
2678
2679			interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>,
2680					      <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
2681					      <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2682					      <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
2683			interrupt-names = "ipa",
2684					  "gsi",
2685					  "ipa-clock-query",
2686					  "ipa-setup-ready";
2687
2688			clocks = <&rpmhcc RPMH_IPA_CLK>;
2689			clock-names = "core";
2690
2691			interconnects = <&aggre2_noc MASTER_IPA 0 &mem_noc SLAVE_EBI1 0>,
2692					<&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_IMEM 0>,
2693					<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_IPA_CFG 0>;
2694			interconnect-names = "memory",
2695					     "imem",
2696					     "config";
2697
2698			qcom,smem-states = <&ipa_smp2p_out 0>,
2699					   <&ipa_smp2p_out 1>;
2700			qcom,smem-state-names = "ipa-clock-enabled-valid",
2701						"ipa-clock-enabled";
2702
2703			status = "disabled";
2704		};
2705
2706		tcsr_mutex: hwlock@1f40000 {
2707			compatible = "qcom,tcsr-mutex";
2708			reg = <0 0x01f40000 0 0x20000>;
2709			#hwlock-cells = <1>;
2710		};
2711
2712		tcsr_regs_1: syscon@1f60000 {
2713			compatible = "qcom,sdm845-tcsr", "syscon";
2714			reg = <0 0x01f60000 0 0x20000>;
2715		};
2716
2717		tlmm: pinctrl@3400000 {
2718			compatible = "qcom,sdm845-pinctrl";
2719			reg = <0 0x03400000 0 0xc00000>;
2720			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
2721			gpio-controller;
2722			#gpio-cells = <2>;
2723			interrupt-controller;
2724			#interrupt-cells = <2>;
2725			gpio-ranges = <&tlmm 0 0 151>;
2726			wakeup-parent = <&pdc_intc>;
2727
2728			cci0_default: cci0-default-state {
2729				/* SDA, SCL */
2730				pins = "gpio17", "gpio18";
2731				function = "cci_i2c";
2732
2733				bias-pull-up;
2734				drive-strength = <2>; /* 2 mA */
2735			};
2736
2737			cci0_sleep: cci0-sleep-state {
2738				/* SDA, SCL */
2739				pins = "gpio17", "gpio18";
2740				function = "cci_i2c";
2741
2742				drive-strength = <2>; /* 2 mA */
2743				bias-pull-down;
2744			};
2745
2746			cci1_default: cci1-default-state {
2747				/* SDA, SCL */
2748				pins = "gpio19", "gpio20";
2749				function = "cci_i2c";
2750
2751				bias-pull-up;
2752				drive-strength = <2>; /* 2 mA */
2753			};
2754
2755			cci1_sleep: cci1-sleep-state {
2756				/* SDA, SCL */
2757				pins = "gpio19", "gpio20";
2758				function = "cci_i2c";
2759
2760				drive-strength = <2>; /* 2 mA */
2761				bias-pull-down;
2762			};
2763
2764			qspi_clk: qspi-clk-state {
2765				pins = "gpio95";
2766				function = "qspi_clk";
2767			};
2768
2769			qspi_cs0: qspi-cs0-state {
2770				pins = "gpio90";
2771				function = "qspi_cs";
2772			};
2773
2774			qspi_cs1: qspi-cs1-state {
2775				pins = "gpio89";
2776				function = "qspi_cs";
2777			};
2778
2779			qspi_data0: qspi-data0-state {
2780				pins = "gpio91";
2781				function = "qspi_data";
2782			};
2783
2784			qspi_data1: qspi-data1-state {
2785				pins = "gpio92";
2786				function = "qspi_data";
2787			};
2788
2789			qspi_data23: qspi-data23-state {
2790				pins = "gpio93", "gpio94";
2791				function = "qspi_data";
2792			};
2793
2794			qup_i2c0_default: qup-i2c0-default-state {
2795				pins = "gpio0", "gpio1";
2796				function = "qup0";
2797			};
2798
2799			qup_i2c1_default: qup-i2c1-default-state {
2800				pins = "gpio17", "gpio18";
2801				function = "qup1";
2802			};
2803
2804			qup_i2c2_default: qup-i2c2-default-state {
2805				pins = "gpio27", "gpio28";
2806				function = "qup2";
2807			};
2808
2809			qup_i2c3_default: qup-i2c3-default-state {
2810				pins = "gpio41", "gpio42";
2811				function = "qup3";
2812			};
2813
2814			qup_i2c4_default: qup-i2c4-default-state {
2815				pins = "gpio89", "gpio90";
2816				function = "qup4";
2817			};
2818
2819			qup_i2c5_default: qup-i2c5-default-state {
2820				pins = "gpio85", "gpio86";
2821				function = "qup5";
2822			};
2823
2824			qup_i2c6_default: qup-i2c6-default-state {
2825				pins = "gpio45", "gpio46";
2826				function = "qup6";
2827			};
2828
2829			qup_i2c7_default: qup-i2c7-default-state {
2830				pins = "gpio93", "gpio94";
2831				function = "qup7";
2832			};
2833
2834			qup_i2c8_default: qup-i2c8-default-state {
2835				pins = "gpio65", "gpio66";
2836				function = "qup8";
2837			};
2838
2839			qup_i2c9_default: qup-i2c9-default-state {
2840				pins = "gpio6", "gpio7";
2841				function = "qup9";
2842			};
2843
2844			qup_i2c10_default: qup-i2c10-default-state {
2845				pins = "gpio55", "gpio56";
2846				function = "qup10";
2847			};
2848
2849			qup_i2c11_default: qup-i2c11-default-state {
2850				pins = "gpio31", "gpio32";
2851				function = "qup11";
2852			};
2853
2854			qup_i2c12_default: qup-i2c12-default-state {
2855				pins = "gpio49", "gpio50";
2856				function = "qup12";
2857			};
2858
2859			qup_i2c13_default: qup-i2c13-default-state {
2860				pins = "gpio105", "gpio106";
2861				function = "qup13";
2862			};
2863
2864			qup_i2c14_default: qup-i2c14-default-state {
2865				pins = "gpio33", "gpio34";
2866				function = "qup14";
2867			};
2868
2869			qup_i2c15_default: qup-i2c15-default-state {
2870				pins = "gpio81", "gpio82";
2871				function = "qup15";
2872			};
2873
2874			qup_spi0_default: qup-spi0-default-state {
2875				pins = "gpio0", "gpio1", "gpio2", "gpio3";
2876				function = "qup0";
2877			};
2878
2879			qup_spi1_default: qup-spi1-default-state {
2880				pins = "gpio17", "gpio18", "gpio19", "gpio20";
2881				function = "qup1";
2882			};
2883
2884			qup_spi2_default: qup-spi2-default-state {
2885				pins = "gpio27", "gpio28", "gpio29", "gpio30";
2886				function = "qup2";
2887			};
2888
2889			qup_spi3_default: qup-spi3-default-state {
2890				pins = "gpio41", "gpio42", "gpio43", "gpio44";
2891				function = "qup3";
2892			};
2893
2894			qup_spi4_default: qup-spi4-default-state {
2895				pins = "gpio89", "gpio90", "gpio91", "gpio92";
2896				function = "qup4";
2897			};
2898
2899			qup_spi5_default: qup-spi5-default-state {
2900				pins = "gpio85", "gpio86", "gpio87", "gpio88";
2901				function = "qup5";
2902			};
2903
2904			qup_spi6_default: qup-spi6-default-state {
2905				pins = "gpio45", "gpio46", "gpio47", "gpio48";
2906				function = "qup6";
2907			};
2908
2909			qup_spi7_default: qup-spi7-default-state {
2910				pins = "gpio93", "gpio94", "gpio95", "gpio96";
2911				function = "qup7";
2912			};
2913
2914			qup_spi8_default: qup-spi8-default-state {
2915				pins = "gpio65", "gpio66", "gpio67", "gpio68";
2916				function = "qup8";
2917			};
2918
2919			qup_spi9_default: qup-spi9-default-state {
2920				pins = "gpio6", "gpio7", "gpio4", "gpio5";
2921				function = "qup9";
2922			};
2923
2924			qup_spi10_default: qup-spi10-default-state {
2925				pins = "gpio55", "gpio56", "gpio53", "gpio54";
2926				function = "qup10";
2927			};
2928
2929			qup_spi11_default: qup-spi11-default-state {
2930				pins = "gpio31", "gpio32", "gpio33", "gpio34";
2931				function = "qup11";
2932			};
2933
2934			qup_spi12_default: qup-spi12-default-state {
2935				pins = "gpio49", "gpio50", "gpio51", "gpio52";
2936				function = "qup12";
2937			};
2938
2939			qup_spi13_default: qup-spi13-default-state {
2940				pins = "gpio105", "gpio106", "gpio107", "gpio108";
2941				function = "qup13";
2942			};
2943
2944			qup_spi14_default: qup-spi14-default-state {
2945				pins = "gpio33", "gpio34", "gpio31", "gpio32";
2946				function = "qup14";
2947			};
2948
2949			qup_spi15_default: qup-spi15-default-state {
2950				pins = "gpio81", "gpio82", "gpio83", "gpio84";
2951				function = "qup15";
2952			};
2953
2954			qup_uart0_default: qup-uart0-default-state {
2955				qup_uart0_tx: tx-pins {
2956					pins = "gpio2";
2957					function = "qup0";
2958				};
2959
2960				qup_uart0_rx: rx-pins {
2961					pins = "gpio3";
2962					function = "qup0";
2963				};
2964			};
2965
2966			qup_uart1_default: qup-uart1-default-state {
2967				qup_uart1_tx: tx-pins {
2968					pins = "gpio19";
2969					function = "qup1";
2970				};
2971
2972				qup_uart1_rx: rx-pins {
2973					pins = "gpio20";
2974					function = "qup1";
2975				};
2976			};
2977
2978			qup_uart2_default: qup-uart2-default-state {
2979				qup_uart2_tx: tx-pins {
2980					pins = "gpio29";
2981					function = "qup2";
2982				};
2983
2984				qup_uart2_rx: rx-pins {
2985					pins = "gpio30";
2986					function = "qup2";
2987				};
2988			};
2989
2990			qup_uart3_default: qup-uart3-default-state {
2991				qup_uart3_tx: tx-pins {
2992					pins = "gpio43";
2993					function = "qup3";
2994				};
2995
2996				qup_uart3_rx: rx-pins {
2997					pins = "gpio44";
2998					function = "qup3";
2999				};
3000			};
3001
3002			qup_uart3_4pin: qup-uart3-4pin-state {
3003				qup_uart3_4pin_cts: cts-pins {
3004					pins = "gpio41";
3005					function = "qup3";
3006				};
3007
3008				qup_uart3_4pin_rts_tx: rts-tx-pins {
3009					pins = "gpio42", "gpio43";
3010					function = "qup3";
3011				};
3012
3013				qup_uart3_4pin_rx: rx-pins {
3014					pins = "gpio44";
3015					function = "qup3";
3016				};
3017			};
3018
3019			qup_uart4_default: qup-uart4-default-state {
3020				qup_uart4_tx: tx-pins {
3021					pins = "gpio91";
3022					function = "qup4";
3023				};
3024
3025				qup_uart4_rx: rx-pins {
3026					pins = "gpio92";
3027					function = "qup4";
3028				};
3029			};
3030
3031			qup_uart5_default: qup-uart5-default-state {
3032				qup_uart5_tx: tx-pins {
3033					pins = "gpio87";
3034					function = "qup5";
3035				};
3036
3037				qup_uart5_rx: rx-pins {
3038					pins = "gpio88";
3039					function = "qup5";
3040				};
3041			};
3042
3043			qup_uart6_default: qup-uart6-default-state {
3044				qup_uart6_tx: tx-pins {
3045					pins = "gpio47";
3046					function = "qup6";
3047				};
3048
3049				qup_uart6_rx: rx-pins {
3050					pins = "gpio48";
3051					function = "qup6";
3052				};
3053			};
3054
3055			qup_uart6_4pin: qup-uart6-4pin-state {
3056				qup_uart6_4pin_cts: cts-pins {
3057					pins = "gpio45";
3058					function = "qup6";
3059					bias-pull-down;
3060				};
3061
3062				qup_uart6_4pin_rts_tx: rts-tx-pins {
3063					pins = "gpio46", "gpio47";
3064					function = "qup6";
3065					drive-strength = <2>;
3066					bias-disable;
3067				};
3068
3069				qup_uart6_4pin_rx: rx-pins {
3070					pins = "gpio48";
3071					function = "qup6";
3072					bias-pull-up;
3073				};
3074			};
3075
3076			qup_uart7_default: qup-uart7-default-state {
3077				qup_uart7_tx: tx-pins {
3078					pins = "gpio95";
3079					function = "qup7";
3080				};
3081
3082				qup_uart7_rx: rx-pins {
3083					pins = "gpio96";
3084					function = "qup7";
3085				};
3086			};
3087
3088			qup_uart8_default: qup-uart8-default-state {
3089				qup_uart8_tx: tx-pins {
3090					pins = "gpio67";
3091					function = "qup8";
3092				};
3093
3094				qup_uart8_rx: rx-pins {
3095					pins = "gpio68";
3096					function = "qup8";
3097				};
3098			};
3099
3100			qup_uart9_default: qup-uart9-default-state {
3101				qup_uart9_tx: tx-pins {
3102					pins = "gpio4";
3103					function = "qup9";
3104				};
3105
3106				qup_uart9_rx: rx-pins {
3107					pins = "gpio5";
3108					function = "qup9";
3109				};
3110			};
3111
3112			qup_uart10_default: qup-uart10-default-state {
3113				qup_uart10_tx: tx-pins {
3114					pins = "gpio53";
3115					function = "qup10";
3116				};
3117
3118				qup_uart10_rx: rx-pins {
3119					pins = "gpio54";
3120					function = "qup10";
3121				};
3122			};
3123
3124			qup_uart11_default: qup-uart11-default-state {
3125				qup_uart11_tx: tx-pins {
3126					pins = "gpio33";
3127					function = "qup11";
3128				};
3129
3130				qup_uart11_rx: rx-pins {
3131					pins = "gpio34";
3132					function = "qup11";
3133				};
3134			};
3135
3136			qup_uart12_default: qup-uart12-default-state {
3137				qup_uart12_tx: tx-pins {
3138					pins = "gpio51";
3139					function = "qup0";
3140				};
3141
3142				qup_uart12_rx: rx-pins {
3143					pins = "gpio52";
3144					function = "qup0";
3145				};
3146			};
3147
3148			qup_uart13_default: qup-uart13-default-state {
3149				qup_uart13_tx: tx-pins {
3150					pins = "gpio107";
3151					function = "qup13";
3152				};
3153
3154				qup_uart13_rx: rx-pins {
3155					pins = "gpio108";
3156					function = "qup13";
3157				};
3158			};
3159
3160			qup_uart14_default: qup-uart14-default-state {
3161				qup_uart14_tx: tx-pins {
3162					pins = "gpio31";
3163					function = "qup14";
3164				};
3165
3166				qup_uart14_rx: rx-pins {
3167					pins = "gpio32";
3168					function = "qup14";
3169				};
3170			};
3171
3172			qup_uart15_default: qup-uart15-default-state {
3173				qup_uart15_tx: tx-pins {
3174					pins = "gpio83";
3175					function = "qup15";
3176				};
3177
3178				qup_uart15_rx: rx-pins {
3179					pins = "gpio84";
3180					function = "qup15";
3181				};
3182			};
3183
3184			quat_mi2s_sleep: quat-mi2s-sleep-state {
3185				pins = "gpio58", "gpio59";
3186				function = "gpio";
3187				drive-strength = <2>;
3188				bias-pull-down;
3189			};
3190
3191			quat_mi2s_active: quat-mi2s-active-state {
3192				pins = "gpio58", "gpio59";
3193				function = "qua_mi2s";
3194				drive-strength = <8>;
3195				bias-disable;
3196				output-high;
3197			};
3198
3199			quat_mi2s_sd0_sleep: quat-mi2s-sd0-sleep-state {
3200				pins = "gpio60";
3201				function = "gpio";
3202				drive-strength = <2>;
3203				bias-pull-down;
3204			};
3205
3206			quat_mi2s_sd0_active: quat-mi2s-sd0-active-state {
3207				pins = "gpio60";
3208				function = "qua_mi2s";
3209				drive-strength = <8>;
3210				bias-disable;
3211			};
3212
3213			quat_mi2s_sd1_sleep: quat-mi2s-sd1-sleep-state {
3214				pins = "gpio61";
3215				function = "gpio";
3216				drive-strength = <2>;
3217				bias-pull-down;
3218			};
3219
3220			quat_mi2s_sd1_active: quat-mi2s-sd1-active-state {
3221				pins = "gpio61";
3222				function = "qua_mi2s";
3223				drive-strength = <8>;
3224				bias-disable;
3225			};
3226
3227			quat_mi2s_sd2_sleep: quat-mi2s-sd2-sleep-state {
3228				pins = "gpio62";
3229				function = "gpio";
3230				drive-strength = <2>;
3231				bias-pull-down;
3232			};
3233
3234			quat_mi2s_sd2_active: quat-mi2s-sd2-active-state {
3235				pins = "gpio62";
3236				function = "qua_mi2s";
3237				drive-strength = <8>;
3238				bias-disable;
3239			};
3240
3241			quat_mi2s_sd3_sleep: quat-mi2s-sd3-sleep-state {
3242				pins = "gpio63";
3243				function = "gpio";
3244				drive-strength = <2>;
3245				bias-pull-down;
3246			};
3247
3248			quat_mi2s_sd3_active: quat-mi2s-sd3-active-state {
3249				pins = "gpio63";
3250				function = "qua_mi2s";
3251				drive-strength = <8>;
3252				bias-disable;
3253			};
3254		};
3255
3256		mss_pil: remoteproc@4080000 {
3257			compatible = "qcom,sdm845-mss-pil";
3258			reg = <0 0x04080000 0 0x408>, <0 0x04180000 0 0x48>;
3259			reg-names = "qdsp6", "rmb";
3260
3261			interrupts-extended =
3262				<&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
3263				<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
3264				<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
3265				<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
3266				<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
3267				<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
3268			interrupt-names = "wdog", "fatal", "ready",
3269					  "handover", "stop-ack",
3270					  "shutdown-ack";
3271
3272			clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
3273				 <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
3274				 <&gcc GCC_BOOT_ROM_AHB_CLK>,
3275				 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
3276				 <&gcc GCC_MSS_SNOC_AXI_CLK>,
3277				 <&gcc GCC_MSS_MFAB_AXIS_CLK>,
3278				 <&gcc GCC_PRNG_AHB_CLK>,
3279				 <&rpmhcc RPMH_CXO_CLK>;
3280			clock-names = "iface", "bus", "mem", "gpll0_mss",
3281				      "snoc_axi", "mnoc_axi", "prng", "xo";
3282
3283			qcom,qmp = <&aoss_qmp>;
3284
3285			qcom,smem-states = <&modem_smp2p_out 0>;
3286			qcom,smem-state-names = "stop";
3287
3288			resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
3289				 <&pdc_reset PDC_MODEM_SYNC_RESET>;
3290			reset-names = "mss_restart", "pdc_reset";
3291
3292			qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>;
3293
3294			power-domains = <&rpmhpd SDM845_CX>,
3295					<&rpmhpd SDM845_MX>,
3296					<&rpmhpd SDM845_MSS>;
3297			power-domain-names = "cx", "mx", "mss";
3298
3299			status = "disabled";
3300
3301			mba {
3302				memory-region = <&mba_region>;
3303			};
3304
3305			mpss {
3306				memory-region = <&mpss_region>;
3307			};
3308
3309			metadata {
3310				memory-region = <&mdata_mem>;
3311			};
3312
3313			glink-edge {
3314				interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
3315				label = "modem";
3316				qcom,remote-pid = <1>;
3317				mboxes = <&apss_shared 12>;
3318			};
3319		};
3320
3321		gpucc: clock-controller@5090000 {
3322			compatible = "qcom,sdm845-gpucc";
3323			reg = <0 0x05090000 0 0x9000>;
3324			#clock-cells = <1>;
3325			#reset-cells = <1>;
3326			#power-domain-cells = <1>;
3327			clocks = <&rpmhcc RPMH_CXO_CLK>,
3328				 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
3329				 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
3330			clock-names = "bi_tcxo",
3331				      "gcc_gpu_gpll0_clk_src",
3332				      "gcc_gpu_gpll0_div_clk_src";
3333		};
3334
3335		slpi_pas: remoteproc@5c00000 {
3336			compatible = "qcom,sdm845-slpi-pas";
3337			reg = <0 0x5c00000 0 0x4000>;
3338
3339			interrupts-extended = <&intc GIC_SPI 494 IRQ_TYPE_EDGE_RISING>,
3340						<&slpi_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
3341						<&slpi_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
3342						<&slpi_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
3343						<&slpi_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
3344			interrupt-names = "wdog", "fatal", "ready",
3345						"handover", "stop-ack";
3346
3347			clocks = <&rpmhcc RPMH_CXO_CLK>;
3348			clock-names = "xo";
3349
3350			qcom,qmp = <&aoss_qmp>;
3351
3352			power-domains = <&rpmhpd SDM845_CX>,
3353					<&rpmhpd SDM845_MX>;
3354			power-domain-names = "lcx", "lmx";
3355
3356			memory-region = <&slpi_mem>;
3357
3358			qcom,smem-states = <&slpi_smp2p_out 0>;
3359			qcom,smem-state-names = "stop";
3360
3361			status = "disabled";
3362
3363			glink-edge {
3364				interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>;
3365				label = "dsps";
3366				qcom,remote-pid = <3>;
3367				mboxes = <&apss_shared 24>;
3368
3369				fastrpc {
3370					compatible = "qcom,fastrpc";
3371					qcom,glink-channels = "fastrpcglink-apps-dsp";
3372					label = "sdsp";
3373					qcom,non-secure-domain;
3374					qcom,vmids = <QCOM_SCM_VMID_HLOS QCOM_SCM_VMID_MSS_MSA
3375						      QCOM_SCM_VMID_SSC_Q6 QCOM_SCM_VMID_ADSP_Q6>;
3376					memory-region = <&fastrpc_mem>;
3377					#address-cells = <1>;
3378					#size-cells = <0>;
3379
3380					compute-cb@0 {
3381						compatible = "qcom,fastrpc-compute-cb";
3382						reg = <0>;
3383					};
3384				};
3385			};
3386		};
3387
3388		stm@6002000 {
3389			compatible = "arm,coresight-stm", "arm,primecell";
3390			reg = <0 0x06002000 0 0x1000>,
3391			      <0 0x16280000 0 0x180000>;
3392			reg-names = "stm-base", "stm-stimulus-base";
3393
3394			clocks = <&aoss_qmp>;
3395			clock-names = "apb_pclk";
3396
3397			out-ports {
3398				port {
3399					stm_out: endpoint {
3400						remote-endpoint =
3401						  <&funnel0_in7>;
3402					};
3403				};
3404			};
3405		};
3406
3407		funnel@6041000 {
3408			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3409			reg = <0 0x06041000 0 0x1000>;
3410
3411			clocks = <&aoss_qmp>;
3412			clock-names = "apb_pclk";
3413
3414			out-ports {
3415				port {
3416					funnel0_out: endpoint {
3417						remote-endpoint =
3418						  <&merge_funnel_in0>;
3419					};
3420				};
3421			};
3422
3423			in-ports {
3424				#address-cells = <1>;
3425				#size-cells = <0>;
3426
3427				port@7 {
3428					reg = <7>;
3429					funnel0_in7: endpoint {
3430						remote-endpoint = <&stm_out>;
3431					};
3432				};
3433			};
3434		};
3435
3436		funnel@6043000 {
3437			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3438			reg = <0 0x06043000 0 0x1000>;
3439
3440			clocks = <&aoss_qmp>;
3441			clock-names = "apb_pclk";
3442
3443			out-ports {
3444				port {
3445					funnel2_out: endpoint {
3446						remote-endpoint =
3447						  <&merge_funnel_in2>;
3448					};
3449				};
3450			};
3451
3452			in-ports {
3453				#address-cells = <1>;
3454				#size-cells = <0>;
3455
3456				port@5 {
3457					reg = <5>;
3458					funnel2_in5: endpoint {
3459						remote-endpoint =
3460						  <&apss_merge_funnel_out>;
3461					};
3462				};
3463			};
3464		};
3465
3466		funnel@6045000 {
3467			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3468			reg = <0 0x06045000 0 0x1000>;
3469
3470			clocks = <&aoss_qmp>;
3471			clock-names = "apb_pclk";
3472
3473			out-ports {
3474				port {
3475					merge_funnel_out: endpoint {
3476						remote-endpoint = <&etf_in>;
3477					};
3478				};
3479			};
3480
3481			in-ports {
3482				#address-cells = <1>;
3483				#size-cells = <0>;
3484
3485				port@0 {
3486					reg = <0>;
3487					merge_funnel_in0: endpoint {
3488						remote-endpoint =
3489						  <&funnel0_out>;
3490					};
3491				};
3492
3493				port@2 {
3494					reg = <2>;
3495					merge_funnel_in2: endpoint {
3496						remote-endpoint =
3497						  <&funnel2_out>;
3498					};
3499				};
3500			};
3501		};
3502
3503		replicator@6046000 {
3504			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
3505			reg = <0 0x06046000 0 0x1000>;
3506
3507			clocks = <&aoss_qmp>;
3508			clock-names = "apb_pclk";
3509
3510			out-ports {
3511				port {
3512					replicator_out: endpoint {
3513						remote-endpoint = <&etr_in>;
3514					};
3515				};
3516			};
3517
3518			in-ports {
3519				port {
3520					replicator_in: endpoint {
3521						remote-endpoint = <&etf_out>;
3522					};
3523				};
3524			};
3525		};
3526
3527		etf@6047000 {
3528			compatible = "arm,coresight-tmc", "arm,primecell";
3529			reg = <0 0x06047000 0 0x1000>;
3530
3531			clocks = <&aoss_qmp>;
3532			clock-names = "apb_pclk";
3533
3534			out-ports {
3535				port {
3536					etf_out: endpoint {
3537						remote-endpoint =
3538						  <&replicator_in>;
3539					};
3540				};
3541			};
3542
3543			in-ports {
3544				#address-cells = <1>;
3545				#size-cells = <0>;
3546
3547				port@1 {
3548					reg = <1>;
3549					etf_in: endpoint {
3550						remote-endpoint =
3551						  <&merge_funnel_out>;
3552					};
3553				};
3554			};
3555		};
3556
3557		etr@6048000 {
3558			compatible = "arm,coresight-tmc", "arm,primecell";
3559			reg = <0 0x06048000 0 0x1000>;
3560
3561			clocks = <&aoss_qmp>;
3562			clock-names = "apb_pclk";
3563			arm,scatter-gather;
3564
3565			in-ports {
3566				port {
3567					etr_in: endpoint {
3568						remote-endpoint =
3569						  <&replicator_out>;
3570					};
3571				};
3572			};
3573		};
3574
3575		etm@7040000 {
3576			compatible = "arm,coresight-etm4x", "arm,primecell";
3577			reg = <0 0x07040000 0 0x1000>;
3578
3579			cpu = <&CPU0>;
3580
3581			clocks = <&aoss_qmp>;
3582			clock-names = "apb_pclk";
3583			arm,coresight-loses-context-with-cpu;
3584
3585			out-ports {
3586				port {
3587					etm0_out: endpoint {
3588						remote-endpoint =
3589						  <&apss_funnel_in0>;
3590					};
3591				};
3592			};
3593		};
3594
3595		etm@7140000 {
3596			compatible = "arm,coresight-etm4x", "arm,primecell";
3597			reg = <0 0x07140000 0 0x1000>;
3598
3599			cpu = <&CPU1>;
3600
3601			clocks = <&aoss_qmp>;
3602			clock-names = "apb_pclk";
3603			arm,coresight-loses-context-with-cpu;
3604
3605			out-ports {
3606				port {
3607					etm1_out: endpoint {
3608						remote-endpoint =
3609						  <&apss_funnel_in1>;
3610					};
3611				};
3612			};
3613		};
3614
3615		etm@7240000 {
3616			compatible = "arm,coresight-etm4x", "arm,primecell";
3617			reg = <0 0x07240000 0 0x1000>;
3618
3619			cpu = <&CPU2>;
3620
3621			clocks = <&aoss_qmp>;
3622			clock-names = "apb_pclk";
3623			arm,coresight-loses-context-with-cpu;
3624
3625			out-ports {
3626				port {
3627					etm2_out: endpoint {
3628						remote-endpoint =
3629						  <&apss_funnel_in2>;
3630					};
3631				};
3632			};
3633		};
3634
3635		etm@7340000 {
3636			compatible = "arm,coresight-etm4x", "arm,primecell";
3637			reg = <0 0x07340000 0 0x1000>;
3638
3639			cpu = <&CPU3>;
3640
3641			clocks = <&aoss_qmp>;
3642			clock-names = "apb_pclk";
3643			arm,coresight-loses-context-with-cpu;
3644
3645			out-ports {
3646				port {
3647					etm3_out: endpoint {
3648						remote-endpoint =
3649						  <&apss_funnel_in3>;
3650					};
3651				};
3652			};
3653		};
3654
3655		etm@7440000 {
3656			compatible = "arm,coresight-etm4x", "arm,primecell";
3657			reg = <0 0x07440000 0 0x1000>;
3658
3659			cpu = <&CPU4>;
3660
3661			clocks = <&aoss_qmp>;
3662			clock-names = "apb_pclk";
3663			arm,coresight-loses-context-with-cpu;
3664
3665			out-ports {
3666				port {
3667					etm4_out: endpoint {
3668						remote-endpoint =
3669						  <&apss_funnel_in4>;
3670					};
3671				};
3672			};
3673		};
3674
3675		etm@7540000 {
3676			compatible = "arm,coresight-etm4x", "arm,primecell";
3677			reg = <0 0x07540000 0 0x1000>;
3678
3679			cpu = <&CPU5>;
3680
3681			clocks = <&aoss_qmp>;
3682			clock-names = "apb_pclk";
3683			arm,coresight-loses-context-with-cpu;
3684
3685			out-ports {
3686				port {
3687					etm5_out: endpoint {
3688						remote-endpoint =
3689						  <&apss_funnel_in5>;
3690					};
3691				};
3692			};
3693		};
3694
3695		etm@7640000 {
3696			compatible = "arm,coresight-etm4x", "arm,primecell";
3697			reg = <0 0x07640000 0 0x1000>;
3698
3699			cpu = <&CPU6>;
3700
3701			clocks = <&aoss_qmp>;
3702			clock-names = "apb_pclk";
3703			arm,coresight-loses-context-with-cpu;
3704
3705			out-ports {
3706				port {
3707					etm6_out: endpoint {
3708						remote-endpoint =
3709						  <&apss_funnel_in6>;
3710					};
3711				};
3712			};
3713		};
3714
3715		etm@7740000 {
3716			compatible = "arm,coresight-etm4x", "arm,primecell";
3717			reg = <0 0x07740000 0 0x1000>;
3718
3719			cpu = <&CPU7>;
3720
3721			clocks = <&aoss_qmp>;
3722			clock-names = "apb_pclk";
3723			arm,coresight-loses-context-with-cpu;
3724
3725			out-ports {
3726				port {
3727					etm7_out: endpoint {
3728						remote-endpoint =
3729						  <&apss_funnel_in7>;
3730					};
3731				};
3732			};
3733		};
3734
3735		funnel@7800000 { /* APSS Funnel */
3736			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3737			reg = <0 0x07800000 0 0x1000>;
3738
3739			clocks = <&aoss_qmp>;
3740			clock-names = "apb_pclk";
3741
3742			out-ports {
3743				port {
3744					apss_funnel_out: endpoint {
3745						remote-endpoint =
3746						  <&apss_merge_funnel_in>;
3747					};
3748				};
3749			};
3750
3751			in-ports {
3752				#address-cells = <1>;
3753				#size-cells = <0>;
3754
3755				port@0 {
3756					reg = <0>;
3757					apss_funnel_in0: endpoint {
3758						remote-endpoint =
3759						  <&etm0_out>;
3760					};
3761				};
3762
3763				port@1 {
3764					reg = <1>;
3765					apss_funnel_in1: endpoint {
3766						remote-endpoint =
3767						  <&etm1_out>;
3768					};
3769				};
3770
3771				port@2 {
3772					reg = <2>;
3773					apss_funnel_in2: endpoint {
3774						remote-endpoint =
3775						  <&etm2_out>;
3776					};
3777				};
3778
3779				port@3 {
3780					reg = <3>;
3781					apss_funnel_in3: endpoint {
3782						remote-endpoint =
3783						  <&etm3_out>;
3784					};
3785				};
3786
3787				port@4 {
3788					reg = <4>;
3789					apss_funnel_in4: endpoint {
3790						remote-endpoint =
3791						  <&etm4_out>;
3792					};
3793				};
3794
3795				port@5 {
3796					reg = <5>;
3797					apss_funnel_in5: endpoint {
3798						remote-endpoint =
3799						  <&etm5_out>;
3800					};
3801				};
3802
3803				port@6 {
3804					reg = <6>;
3805					apss_funnel_in6: endpoint {
3806						remote-endpoint =
3807						  <&etm6_out>;
3808					};
3809				};
3810
3811				port@7 {
3812					reg = <7>;
3813					apss_funnel_in7: endpoint {
3814						remote-endpoint =
3815						  <&etm7_out>;
3816					};
3817				};
3818			};
3819		};
3820
3821		funnel@7810000 {
3822			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3823			reg = <0 0x07810000 0 0x1000>;
3824
3825			clocks = <&aoss_qmp>;
3826			clock-names = "apb_pclk";
3827
3828			out-ports {
3829				port {
3830					apss_merge_funnel_out: endpoint {
3831						remote-endpoint =
3832						  <&funnel2_in5>;
3833					};
3834				};
3835			};
3836
3837			in-ports {
3838				port {
3839					apss_merge_funnel_in: endpoint {
3840						remote-endpoint =
3841						  <&apss_funnel_out>;
3842					};
3843				};
3844			};
3845		};
3846
3847		sdhc_2: mmc@8804000 {
3848			compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
3849			reg = <0 0x08804000 0 0x1000>;
3850
3851			interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
3852				     <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
3853			interrupt-names = "hc_irq", "pwr_irq";
3854
3855			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
3856				 <&gcc GCC_SDCC2_APPS_CLK>,
3857				 <&rpmhcc RPMH_CXO_CLK>;
3858			clock-names = "iface", "core", "xo";
3859			iommus = <&apps_smmu 0xa0 0xf>;
3860			power-domains = <&rpmhpd SDM845_CX>;
3861			operating-points-v2 = <&sdhc2_opp_table>;
3862
3863			status = "disabled";
3864
3865			sdhc2_opp_table: opp-table {
3866				compatible = "operating-points-v2";
3867
3868				opp-9600000 {
3869					opp-hz = /bits/ 64 <9600000>;
3870					required-opps = <&rpmhpd_opp_min_svs>;
3871				};
3872
3873				opp-19200000 {
3874					opp-hz = /bits/ 64 <19200000>;
3875					required-opps = <&rpmhpd_opp_low_svs>;
3876				};
3877
3878				opp-100000000 {
3879					opp-hz = /bits/ 64 <100000000>;
3880					required-opps = <&rpmhpd_opp_svs>;
3881				};
3882
3883				opp-201500000 {
3884					opp-hz = /bits/ 64 <201500000>;
3885					required-opps = <&rpmhpd_opp_svs_l1>;
3886				};
3887			};
3888		};
3889
3890		qspi: spi@88df000 {
3891			compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
3892			reg = <0 0x088df000 0 0x600>;
3893			#address-cells = <1>;
3894			#size-cells = <0>;
3895			interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
3896			clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
3897				 <&gcc GCC_QSPI_CORE_CLK>;
3898			clock-names = "iface", "core";
3899			power-domains = <&rpmhpd SDM845_CX>;
3900			operating-points-v2 = <&qspi_opp_table>;
3901			status = "disabled";
3902		};
3903
3904		slim: slim-ngd@171c0000 {
3905			compatible = "qcom,slim-ngd-v2.1.0";
3906			reg = <0 0x171c0000 0 0x2c000>;
3907			interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
3908
3909			dmas = <&slimbam 3>, <&slimbam 4>;
3910			dma-names = "rx", "tx";
3911
3912			iommus = <&apps_smmu 0x1806 0x0>;
3913			#address-cells = <1>;
3914			#size-cells = <0>;
3915			status = "disabled";
3916		};
3917
3918		lmh_cluster1: lmh@17d70800 {
3919			compatible = "qcom,sdm845-lmh";
3920			reg = <0 0x17d70800 0 0x400>;
3921			interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
3922			cpus = <&CPU4>;
3923			qcom,lmh-temp-arm-millicelsius = <65000>;
3924			qcom,lmh-temp-low-millicelsius = <94500>;
3925			qcom,lmh-temp-high-millicelsius = <95000>;
3926			interrupt-controller;
3927			#interrupt-cells = <1>;
3928		};
3929
3930		lmh_cluster0: lmh@17d78800 {
3931			compatible = "qcom,sdm845-lmh";
3932			reg = <0 0x17d78800 0 0x400>;
3933			interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
3934			cpus = <&CPU0>;
3935			qcom,lmh-temp-arm-millicelsius = <65000>;
3936			qcom,lmh-temp-low-millicelsius = <94500>;
3937			qcom,lmh-temp-high-millicelsius = <95000>;
3938			interrupt-controller;
3939			#interrupt-cells = <1>;
3940		};
3941
3942		usb_1_hsphy: phy@88e2000 {
3943			compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy";
3944			reg = <0 0x088e2000 0 0x400>;
3945			status = "disabled";
3946			#phy-cells = <0>;
3947
3948			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3949				 <&rpmhcc RPMH_CXO_CLK>;
3950			clock-names = "cfg_ahb", "ref";
3951
3952			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
3953
3954			nvmem-cells = <&qusb2p_hstx_trim>;
3955		};
3956
3957		usb_2_hsphy: phy@88e3000 {
3958			compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy";
3959			reg = <0 0x088e3000 0 0x400>;
3960			status = "disabled";
3961			#phy-cells = <0>;
3962
3963			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3964				 <&rpmhcc RPMH_CXO_CLK>;
3965			clock-names = "cfg_ahb", "ref";
3966
3967			resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
3968
3969			nvmem-cells = <&qusb2s_hstx_trim>;
3970		};
3971
3972		usb_1_qmpphy: phy@88e9000 {
3973			compatible = "qcom,sdm845-qmp-usb3-dp-phy";
3974			reg = <0 0x088e9000 0 0x18c>,
3975			      <0 0x088e8000 0 0x38>,
3976			      <0 0x088ea000 0 0x40>;
3977			status = "disabled";
3978			#address-cells = <2>;
3979			#size-cells = <2>;
3980			ranges;
3981
3982			clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
3983				 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3984				 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
3985				 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
3986			clock-names = "aux", "cfg_ahb", "ref", "com_aux";
3987
3988			resets = <&gcc GCC_USB3_PHY_PRIM_BCR>,
3989				 <&gcc GCC_USB3_DP_PHY_PRIM_BCR>;
3990			reset-names = "phy", "common";
3991
3992			usb_1_ssphy: usb3-phy@88e9200 {
3993				reg = <0 0x088e9200 0 0x128>,
3994				      <0 0x088e9400 0 0x200>,
3995				      <0 0x088e9c00 0 0x218>,
3996				      <0 0x088e9600 0 0x128>,
3997				      <0 0x088e9800 0 0x200>,
3998				      <0 0x088e9a00 0 0x100>;
3999				#clock-cells = <0>;
4000				#phy-cells = <0>;
4001				clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
4002				clock-names = "pipe0";
4003				clock-output-names = "usb3_phy_pipe_clk_src";
4004			};
4005
4006			dp_phy: dp-phy@88ea200 {
4007				reg = <0 0x088ea200 0 0x200>,
4008				      <0 0x088ea400 0 0x200>,
4009				      <0 0x088eaa00 0 0x200>,
4010				      <0 0x088ea600 0 0x200>,
4011				      <0 0x088ea800 0 0x200>;
4012				#clock-cells = <1>;
4013				#phy-cells = <0>;
4014			};
4015		};
4016
4017		usb_2_qmpphy: phy@88eb000 {
4018			compatible = "qcom,sdm845-qmp-usb3-uni-phy";
4019			reg = <0 0x088eb000 0 0x18c>;
4020			status = "disabled";
4021			#address-cells = <2>;
4022			#size-cells = <2>;
4023			ranges;
4024
4025			clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
4026				 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
4027				 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
4028				 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
4029			clock-names = "aux", "cfg_ahb", "ref", "com_aux";
4030
4031			resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
4032				 <&gcc GCC_USB3_PHY_SEC_BCR>;
4033			reset-names = "phy", "common";
4034
4035			usb_2_ssphy: phy@88eb200 {
4036				reg = <0 0x088eb200 0 0x128>,
4037				      <0 0x088eb400 0 0x1fc>,
4038				      <0 0x088eb800 0 0x218>,
4039				      <0 0x088eb600 0 0x70>;
4040				#clock-cells = <0>;
4041				#phy-cells = <0>;
4042				clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
4043				clock-names = "pipe0";
4044				clock-output-names = "usb3_uni_phy_pipe_clk_src";
4045			};
4046		};
4047
4048		usb_1: usb@a6f8800 {
4049			compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
4050			reg = <0 0x0a6f8800 0 0x400>;
4051			status = "disabled";
4052			#address-cells = <2>;
4053			#size-cells = <2>;
4054			ranges;
4055			dma-ranges;
4056
4057			clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
4058				 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
4059				 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
4060				 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
4061				 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
4062			clock-names = "cfg_noc",
4063				      "core",
4064				      "iface",
4065				      "sleep",
4066				      "mock_utmi";
4067
4068			assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
4069					  <&gcc GCC_USB30_PRIM_MASTER_CLK>;
4070			assigned-clock-rates = <19200000>, <150000000>;
4071
4072			interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
4073				     <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
4074				     <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
4075				     <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
4076			interrupt-names = "hs_phy_irq", "ss_phy_irq",
4077					  "dm_hs_phy_irq", "dp_hs_phy_irq";
4078
4079			power-domains = <&gcc USB30_PRIM_GDSC>;
4080
4081			resets = <&gcc GCC_USB30_PRIM_BCR>;
4082
4083			interconnects = <&aggre2_noc MASTER_USB3_0 0 &mem_noc SLAVE_EBI1 0>,
4084					<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>;
4085			interconnect-names = "usb-ddr", "apps-usb";
4086
4087			usb_1_dwc3: usb@a600000 {
4088				compatible = "snps,dwc3";
4089				reg = <0 0x0a600000 0 0xcd00>;
4090				interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
4091				iommus = <&apps_smmu 0x740 0>;
4092				snps,dis_u2_susphy_quirk;
4093				snps,dis_enblslpm_quirk;
4094				phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
4095				phy-names = "usb2-phy", "usb3-phy";
4096			};
4097		};
4098
4099		usb_2: usb@a8f8800 {
4100			compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
4101			reg = <0 0x0a8f8800 0 0x400>;
4102			status = "disabled";
4103			#address-cells = <2>;
4104			#size-cells = <2>;
4105			ranges;
4106			dma-ranges;
4107
4108			clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
4109				 <&gcc GCC_USB30_SEC_MASTER_CLK>,
4110				 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
4111				 <&gcc GCC_USB30_SEC_SLEEP_CLK>,
4112				 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>;
4113			clock-names = "cfg_noc",
4114				      "core",
4115				      "iface",
4116				      "sleep",
4117				      "mock_utmi";
4118
4119			assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
4120					  <&gcc GCC_USB30_SEC_MASTER_CLK>;
4121			assigned-clock-rates = <19200000>, <150000000>;
4122
4123			interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
4124				     <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
4125				     <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
4126				     <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
4127			interrupt-names = "hs_phy_irq", "ss_phy_irq",
4128					  "dm_hs_phy_irq", "dp_hs_phy_irq";
4129
4130			power-domains = <&gcc USB30_SEC_GDSC>;
4131
4132			resets = <&gcc GCC_USB30_SEC_BCR>;
4133
4134			interconnects = <&aggre2_noc MASTER_USB3_1 0 &mem_noc SLAVE_EBI1 0>,
4135					<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_1 0>;
4136			interconnect-names = "usb-ddr", "apps-usb";
4137
4138			usb_2_dwc3: usb@a800000 {
4139				compatible = "snps,dwc3";
4140				reg = <0 0x0a800000 0 0xcd00>;
4141				interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
4142				iommus = <&apps_smmu 0x760 0>;
4143				snps,dis_u2_susphy_quirk;
4144				snps,dis_enblslpm_quirk;
4145				phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
4146				phy-names = "usb2-phy", "usb3-phy";
4147			};
4148		};
4149
4150		venus: video-codec@aa00000 {
4151			compatible = "qcom,sdm845-venus-v2";
4152			reg = <0 0x0aa00000 0 0xff000>;
4153			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
4154			power-domains = <&videocc VENUS_GDSC>,
4155					<&videocc VCODEC0_GDSC>,
4156					<&videocc VCODEC1_GDSC>,
4157					<&rpmhpd SDM845_CX>;
4158			power-domain-names = "venus", "vcodec0", "vcodec1", "cx";
4159			operating-points-v2 = <&venus_opp_table>;
4160			clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
4161				 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
4162				 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
4163				 <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
4164				 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>,
4165				 <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
4166				 <&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
4167			clock-names = "core", "iface", "bus",
4168				      "vcodec0_core", "vcodec0_bus",
4169				      "vcodec1_core", "vcodec1_bus";
4170			iommus = <&apps_smmu 0x10a0 0x8>,
4171				 <&apps_smmu 0x10b0 0x0>;
4172			memory-region = <&venus_mem>;
4173			interconnects = <&mmss_noc MASTER_VIDEO_P0 0 &mem_noc SLAVE_EBI1 0>,
4174					<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_VENUS_CFG 0>;
4175			interconnect-names = "video-mem", "cpu-cfg";
4176
4177			status = "disabled";
4178
4179			video-core0 {
4180				compatible = "venus-decoder";
4181			};
4182
4183			video-core1 {
4184				compatible = "venus-encoder";
4185			};
4186
4187			venus_opp_table: opp-table {
4188				compatible = "operating-points-v2";
4189
4190				opp-100000000 {
4191					opp-hz = /bits/ 64 <100000000>;
4192					required-opps = <&rpmhpd_opp_min_svs>;
4193				};
4194
4195				opp-200000000 {
4196					opp-hz = /bits/ 64 <200000000>;
4197					required-opps = <&rpmhpd_opp_low_svs>;
4198				};
4199
4200				opp-320000000 {
4201					opp-hz = /bits/ 64 <320000000>;
4202					required-opps = <&rpmhpd_opp_svs>;
4203				};
4204
4205				opp-380000000 {
4206					opp-hz = /bits/ 64 <380000000>;
4207					required-opps = <&rpmhpd_opp_svs_l1>;
4208				};
4209
4210				opp-444000000 {
4211					opp-hz = /bits/ 64 <444000000>;
4212					required-opps = <&rpmhpd_opp_nom>;
4213				};
4214
4215				opp-533000097 {
4216					opp-hz = /bits/ 64 <533000097>;
4217					required-opps = <&rpmhpd_opp_turbo>;
4218				};
4219			};
4220		};
4221
4222		videocc: clock-controller@ab00000 {
4223			compatible = "qcom,sdm845-videocc";
4224			reg = <0 0x0ab00000 0 0x10000>;
4225			clocks = <&rpmhcc RPMH_CXO_CLK>;
4226			clock-names = "bi_tcxo";
4227			#clock-cells = <1>;
4228			#power-domain-cells = <1>;
4229			#reset-cells = <1>;
4230		};
4231
4232		camss: camss@a00000 {
4233			compatible = "qcom,sdm845-camss";
4234
4235			reg = <0 0x0acb3000 0 0x1000>,
4236				<0 0x0acba000 0 0x1000>,
4237				<0 0x0acc8000 0 0x1000>,
4238				<0 0x0ac65000 0 0x1000>,
4239				<0 0x0ac66000 0 0x1000>,
4240				<0 0x0ac67000 0 0x1000>,
4241				<0 0x0ac68000 0 0x1000>,
4242				<0 0x0acaf000 0 0x4000>,
4243				<0 0x0acb6000 0 0x4000>,
4244				<0 0x0acc4000 0 0x4000>;
4245			reg-names = "csid0",
4246				"csid1",
4247				"csid2",
4248				"csiphy0",
4249				"csiphy1",
4250				"csiphy2",
4251				"csiphy3",
4252				"vfe0",
4253				"vfe1",
4254				"vfe_lite";
4255
4256			interrupts = <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
4257				<GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
4258				<GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
4259				<GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>,
4260				<GIC_SPI 478 IRQ_TYPE_LEVEL_HIGH>,
4261				<GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>,
4262				<GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
4263				<GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
4264				<GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
4265				<GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>;
4266			interrupt-names = "csid0",
4267				"csid1",
4268				"csid2",
4269				"csiphy0",
4270				"csiphy1",
4271				"csiphy2",
4272				"csiphy3",
4273				"vfe0",
4274				"vfe1",
4275				"vfe_lite";
4276
4277			power-domains = <&clock_camcc IFE_0_GDSC>,
4278				<&clock_camcc IFE_1_GDSC>,
4279				<&clock_camcc TITAN_TOP_GDSC>;
4280
4281			clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
4282				<&clock_camcc CAM_CC_CPAS_AHB_CLK>,
4283				<&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
4284				<&clock_camcc CAM_CC_IFE_0_CSID_CLK>,
4285				<&clock_camcc CAM_CC_IFE_0_CSID_CLK_SRC>,
4286				<&clock_camcc CAM_CC_IFE_1_CSID_CLK>,
4287				<&clock_camcc CAM_CC_IFE_1_CSID_CLK_SRC>,
4288				<&clock_camcc CAM_CC_IFE_LITE_CSID_CLK>,
4289				<&clock_camcc CAM_CC_IFE_LITE_CSID_CLK_SRC>,
4290				<&clock_camcc CAM_CC_CSIPHY0_CLK>,
4291				<&clock_camcc CAM_CC_CSI0PHYTIMER_CLK>,
4292				<&clock_camcc CAM_CC_CSI0PHYTIMER_CLK_SRC>,
4293				<&clock_camcc CAM_CC_CSIPHY1_CLK>,
4294				<&clock_camcc CAM_CC_CSI1PHYTIMER_CLK>,
4295				<&clock_camcc CAM_CC_CSI1PHYTIMER_CLK_SRC>,
4296				<&clock_camcc CAM_CC_CSIPHY2_CLK>,
4297				<&clock_camcc CAM_CC_CSI2PHYTIMER_CLK>,
4298				<&clock_camcc CAM_CC_CSI2PHYTIMER_CLK_SRC>,
4299				<&clock_camcc CAM_CC_CSIPHY3_CLK>,
4300				<&clock_camcc CAM_CC_CSI3PHYTIMER_CLK>,
4301				<&clock_camcc CAM_CC_CSI3PHYTIMER_CLK_SRC>,
4302				<&gcc GCC_CAMERA_AHB_CLK>,
4303				<&gcc GCC_CAMERA_AXI_CLK>,
4304				<&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>,
4305				<&clock_camcc CAM_CC_SOC_AHB_CLK>,
4306				<&clock_camcc CAM_CC_IFE_0_AXI_CLK>,
4307				<&clock_camcc CAM_CC_IFE_0_CLK>,
4308				<&clock_camcc CAM_CC_IFE_0_CPHY_RX_CLK>,
4309				<&clock_camcc CAM_CC_IFE_0_CLK_SRC>,
4310				<&clock_camcc CAM_CC_IFE_1_AXI_CLK>,
4311				<&clock_camcc CAM_CC_IFE_1_CLK>,
4312				<&clock_camcc CAM_CC_IFE_1_CPHY_RX_CLK>,
4313				<&clock_camcc CAM_CC_IFE_1_CLK_SRC>,
4314				<&clock_camcc CAM_CC_IFE_LITE_CLK>,
4315				<&clock_camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
4316				<&clock_camcc CAM_CC_IFE_LITE_CLK_SRC>;
4317			clock-names = "camnoc_axi",
4318				"cpas_ahb",
4319				"cphy_rx_src",
4320				"csi0",
4321				"csi0_src",
4322				"csi1",
4323				"csi1_src",
4324				"csi2",
4325				"csi2_src",
4326				"csiphy0",
4327				"csiphy0_timer",
4328				"csiphy0_timer_src",
4329				"csiphy1",
4330				"csiphy1_timer",
4331				"csiphy1_timer_src",
4332				"csiphy2",
4333				"csiphy2_timer",
4334				"csiphy2_timer_src",
4335				"csiphy3",
4336				"csiphy3_timer",
4337				"csiphy3_timer_src",
4338				"gcc_camera_ahb",
4339				"gcc_camera_axi",
4340				"slow_ahb_src",
4341				"soc_ahb",
4342				"vfe0_axi",
4343				"vfe0",
4344				"vfe0_cphy_rx",
4345				"vfe0_src",
4346				"vfe1_axi",
4347				"vfe1",
4348				"vfe1_cphy_rx",
4349				"vfe1_src",
4350				"vfe_lite",
4351				"vfe_lite_cphy_rx",
4352				"vfe_lite_src";
4353
4354			iommus = <&apps_smmu 0x0808 0x0>,
4355				 <&apps_smmu 0x0810 0x8>,
4356				 <&apps_smmu 0x0c08 0x0>,
4357				 <&apps_smmu 0x0c10 0x8>;
4358
4359			status = "disabled";
4360
4361			ports {
4362				#address-cells = <1>;
4363				#size-cells = <0>;
4364
4365				port@0 {
4366					reg = <0>;
4367				};
4368
4369				port@1 {
4370					reg = <1>;
4371				};
4372
4373				port@2 {
4374					reg = <2>;
4375				};
4376
4377				port@3 {
4378					reg = <3>;
4379				};
4380			};
4381		};
4382
4383		cci: cci@ac4a000 {
4384			compatible = "qcom,sdm845-cci", "qcom,msm8996-cci";
4385			#address-cells = <1>;
4386			#size-cells = <0>;
4387
4388			reg = <0 0x0ac4a000 0 0x4000>;
4389			interrupts = <GIC_SPI 460 IRQ_TYPE_EDGE_RISING>;
4390			power-domains = <&clock_camcc TITAN_TOP_GDSC>;
4391
4392			clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
4393				<&clock_camcc CAM_CC_SOC_AHB_CLK>,
4394				<&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>,
4395				<&clock_camcc CAM_CC_CPAS_AHB_CLK>,
4396				<&clock_camcc CAM_CC_CCI_CLK>,
4397				<&clock_camcc CAM_CC_CCI_CLK_SRC>;
4398			clock-names = "camnoc_axi",
4399				"soc_ahb",
4400				"slow_ahb_src",
4401				"cpas_ahb",
4402				"cci",
4403				"cci_src";
4404
4405			assigned-clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
4406				<&clock_camcc CAM_CC_CCI_CLK>;
4407			assigned-clock-rates = <80000000>, <37500000>;
4408
4409			pinctrl-names = "default", "sleep";
4410			pinctrl-0 = <&cci0_default &cci1_default>;
4411			pinctrl-1 = <&cci0_sleep &cci1_sleep>;
4412
4413			status = "disabled";
4414
4415			cci_i2c0: i2c-bus@0 {
4416				reg = <0>;
4417				clock-frequency = <1000000>;
4418				#address-cells = <1>;
4419				#size-cells = <0>;
4420			};
4421
4422			cci_i2c1: i2c-bus@1 {
4423				reg = <1>;
4424				clock-frequency = <1000000>;
4425				#address-cells = <1>;
4426				#size-cells = <0>;
4427			};
4428		};
4429
4430		clock_camcc: clock-controller@ad00000 {
4431			compatible = "qcom,sdm845-camcc";
4432			reg = <0 0x0ad00000 0 0x10000>;
4433			#clock-cells = <1>;
4434			#reset-cells = <1>;
4435			#power-domain-cells = <1>;
4436			clocks = <&rpmhcc RPMH_CXO_CLK>;
4437			clock-names = "bi_tcxo";
4438		};
4439
4440		mdss: display-subsystem@ae00000 {
4441			compatible = "qcom,sdm845-mdss";
4442			reg = <0 0x0ae00000 0 0x1000>;
4443			reg-names = "mdss";
4444
4445			power-domains = <&dispcc MDSS_GDSC>;
4446
4447			clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4448				 <&dispcc DISP_CC_MDSS_MDP_CLK>;
4449			clock-names = "iface", "core";
4450
4451			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
4452			interrupt-controller;
4453			#interrupt-cells = <1>;
4454
4455			interconnects = <&mmss_noc MASTER_MDP0 0 &mem_noc SLAVE_EBI1 0>,
4456					<&mmss_noc MASTER_MDP1 0 &mem_noc SLAVE_EBI1 0>;
4457			interconnect-names = "mdp0-mem", "mdp1-mem";
4458
4459			iommus = <&apps_smmu 0x880 0x8>,
4460			         <&apps_smmu 0xc80 0x8>;
4461
4462			status = "disabled";
4463
4464			#address-cells = <2>;
4465			#size-cells = <2>;
4466			ranges;
4467
4468			mdss_mdp: display-controller@ae01000 {
4469				compatible = "qcom,sdm845-dpu";
4470				reg = <0 0x0ae01000 0 0x8f000>,
4471				      <0 0x0aeb0000 0 0x2008>;
4472				reg-names = "mdp", "vbif";
4473
4474				clocks = <&gcc GCC_DISP_AXI_CLK>,
4475					 <&dispcc DISP_CC_MDSS_AHB_CLK>,
4476					 <&dispcc DISP_CC_MDSS_AXI_CLK>,
4477					 <&dispcc DISP_CC_MDSS_MDP_CLK>,
4478					 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
4479				clock-names = "gcc-bus", "iface", "bus", "core", "vsync";
4480
4481				assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
4482				assigned-clock-rates = <19200000>;
4483				operating-points-v2 = <&mdp_opp_table>;
4484				power-domains = <&rpmhpd SDM845_CX>;
4485
4486				interrupt-parent = <&mdss>;
4487				interrupts = <0>;
4488
4489				ports {
4490					#address-cells = <1>;
4491					#size-cells = <0>;
4492
4493					port@0 {
4494						reg = <0>;
4495						dpu_intf0_out: endpoint {
4496							remote-endpoint = <&dp_in>;
4497						};
4498					};
4499
4500					port@1 {
4501						reg = <1>;
4502						dpu_intf1_out: endpoint {
4503							remote-endpoint = <&dsi0_in>;
4504						};
4505					};
4506
4507					port@2 {
4508						reg = <2>;
4509						dpu_intf2_out: endpoint {
4510							remote-endpoint = <&dsi1_in>;
4511						};
4512					};
4513				};
4514
4515				mdp_opp_table: opp-table {
4516					compatible = "operating-points-v2";
4517
4518					opp-19200000 {
4519						opp-hz = /bits/ 64 <19200000>;
4520						required-opps = <&rpmhpd_opp_min_svs>;
4521					};
4522
4523					opp-171428571 {
4524						opp-hz = /bits/ 64 <171428571>;
4525						required-opps = <&rpmhpd_opp_low_svs>;
4526					};
4527
4528					opp-344000000 {
4529						opp-hz = /bits/ 64 <344000000>;
4530						required-opps = <&rpmhpd_opp_svs_l1>;
4531					};
4532
4533					opp-430000000 {
4534						opp-hz = /bits/ 64 <430000000>;
4535						required-opps = <&rpmhpd_opp_nom>;
4536					};
4537				};
4538			};
4539
4540			mdss_dp: displayport-controller@ae90000 {
4541				status = "disabled";
4542				compatible = "qcom,sdm845-dp";
4543
4544				reg = <0 0x0ae90000 0 0x200>,
4545				      <0 0x0ae90200 0 0x200>,
4546				      <0 0x0ae90400 0 0x600>,
4547				      <0 0x0ae90a00 0 0x600>,
4548				      <0 0x0ae91000 0 0x600>;
4549
4550				interrupt-parent = <&mdss>;
4551				interrupts = <12>;
4552
4553				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4554					 <&dispcc DISP_CC_MDSS_DP_AUX_CLK>,
4555					 <&dispcc DISP_CC_MDSS_DP_LINK_CLK>,
4556					 <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>,
4557					 <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>;
4558				clock-names = "core_iface", "core_aux", "ctrl_link",
4559					      "ctrl_link_iface", "stream_pixel";
4560				assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>,
4561						  <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>;
4562				assigned-clock-parents = <&dp_phy 0>, <&dp_phy 1>;
4563				phys = <&dp_phy>;
4564				phy-names = "dp";
4565
4566				operating-points-v2 = <&dp_opp_table>;
4567				power-domains = <&rpmhpd SDM845_CX>;
4568
4569				ports {
4570					#address-cells = <1>;
4571					#size-cells = <0>;
4572					port@0 {
4573						reg = <0>;
4574						dp_in: endpoint {
4575							remote-endpoint = <&dpu_intf0_out>;
4576						};
4577					};
4578
4579					port@1 {
4580						reg = <1>;
4581						dp_out: endpoint { };
4582					};
4583				};
4584
4585				dp_opp_table: opp-table {
4586					compatible = "operating-points-v2";
4587
4588					opp-162000000 {
4589						opp-hz = /bits/ 64 <162000000>;
4590						required-opps = <&rpmhpd_opp_low_svs>;
4591					};
4592
4593					opp-270000000 {
4594						opp-hz = /bits/ 64 <270000000>;
4595						required-opps = <&rpmhpd_opp_svs>;
4596					};
4597
4598					opp-540000000 {
4599						opp-hz = /bits/ 64 <540000000>;
4600						required-opps = <&rpmhpd_opp_svs_l1>;
4601					};
4602
4603					opp-810000000 {
4604						opp-hz = /bits/ 64 <810000000>;
4605						required-opps = <&rpmhpd_opp_nom>;
4606					};
4607				};
4608			};
4609
4610			dsi0: dsi@ae94000 {
4611				compatible = "qcom,sdm845-dsi-ctrl",
4612					     "qcom,mdss-dsi-ctrl";
4613				reg = <0 0x0ae94000 0 0x400>;
4614				reg-names = "dsi_ctrl";
4615
4616				interrupt-parent = <&mdss>;
4617				interrupts = <4>;
4618
4619				clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
4620					 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
4621					 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
4622					 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
4623					 <&dispcc DISP_CC_MDSS_AHB_CLK>,
4624					 <&dispcc DISP_CC_MDSS_AXI_CLK>;
4625				clock-names = "byte",
4626					      "byte_intf",
4627					      "pixel",
4628					      "core",
4629					      "iface",
4630					      "bus";
4631				assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
4632				assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;
4633
4634				operating-points-v2 = <&dsi_opp_table>;
4635				power-domains = <&rpmhpd SDM845_CX>;
4636
4637				phys = <&dsi0_phy>;
4638
4639				status = "disabled";
4640
4641				#address-cells = <1>;
4642				#size-cells = <0>;
4643
4644				ports {
4645					#address-cells = <1>;
4646					#size-cells = <0>;
4647
4648					port@0 {
4649						reg = <0>;
4650						dsi0_in: endpoint {
4651							remote-endpoint = <&dpu_intf1_out>;
4652						};
4653					};
4654
4655					port@1 {
4656						reg = <1>;
4657						dsi0_out: endpoint {
4658						};
4659					};
4660				};
4661			};
4662
4663			dsi0_phy: phy@ae94400 {
4664				compatible = "qcom,dsi-phy-10nm";
4665				reg = <0 0x0ae94400 0 0x200>,
4666				      <0 0x0ae94600 0 0x280>,
4667				      <0 0x0ae94a00 0 0x1e0>;
4668				reg-names = "dsi_phy",
4669					    "dsi_phy_lane",
4670					    "dsi_pll";
4671
4672				#clock-cells = <1>;
4673				#phy-cells = <0>;
4674
4675				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4676					 <&rpmhcc RPMH_CXO_CLK>;
4677				clock-names = "iface", "ref";
4678
4679				status = "disabled";
4680			};
4681
4682			dsi1: dsi@ae96000 {
4683				compatible = "qcom,sdm845-dsi-ctrl",
4684					     "qcom,mdss-dsi-ctrl";
4685				reg = <0 0x0ae96000 0 0x400>;
4686				reg-names = "dsi_ctrl";
4687
4688				interrupt-parent = <&mdss>;
4689				interrupts = <5>;
4690
4691				clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
4692					 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
4693					 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
4694					 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
4695					 <&dispcc DISP_CC_MDSS_AHB_CLK>,
4696					 <&dispcc DISP_CC_MDSS_AXI_CLK>;
4697				clock-names = "byte",
4698					      "byte_intf",
4699					      "pixel",
4700					      "core",
4701					      "iface",
4702					      "bus";
4703				assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
4704				assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;
4705
4706				operating-points-v2 = <&dsi_opp_table>;
4707				power-domains = <&rpmhpd SDM845_CX>;
4708
4709				phys = <&dsi1_phy>;
4710
4711				status = "disabled";
4712
4713				#address-cells = <1>;
4714				#size-cells = <0>;
4715
4716				ports {
4717					#address-cells = <1>;
4718					#size-cells = <0>;
4719
4720					port@0 {
4721						reg = <0>;
4722						dsi1_in: endpoint {
4723							remote-endpoint = <&dpu_intf2_out>;
4724						};
4725					};
4726
4727					port@1 {
4728						reg = <1>;
4729						dsi1_out: endpoint {
4730						};
4731					};
4732				};
4733			};
4734
4735			dsi1_phy: phy@ae96400 {
4736				compatible = "qcom,dsi-phy-10nm";
4737				reg = <0 0x0ae96400 0 0x200>,
4738				      <0 0x0ae96600 0 0x280>,
4739				      <0 0x0ae96a00 0 0x10e>;
4740				reg-names = "dsi_phy",
4741					    "dsi_phy_lane",
4742					    "dsi_pll";
4743
4744				#clock-cells = <1>;
4745				#phy-cells = <0>;
4746
4747				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4748					 <&rpmhcc RPMH_CXO_CLK>;
4749				clock-names = "iface", "ref";
4750
4751				status = "disabled";
4752			};
4753		};
4754
4755		gpu: gpu@5000000 {
4756			compatible = "qcom,adreno-630.2", "qcom,adreno";
4757
4758			reg = <0 0x05000000 0 0x40000>, <0 0x509e000 0 0x10>;
4759			reg-names = "kgsl_3d0_reg_memory", "cx_mem";
4760
4761			/*
4762			 * Look ma, no clocks! The GPU clocks and power are
4763			 * controlled entirely by the GMU
4764			 */
4765
4766			interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
4767
4768			iommus = <&adreno_smmu 0>;
4769
4770			operating-points-v2 = <&gpu_opp_table>;
4771
4772			qcom,gmu = <&gmu>;
4773
4774			interconnects = <&mem_noc MASTER_GFX3D 0 &mem_noc SLAVE_EBI1 0>;
4775			interconnect-names = "gfx-mem";
4776
4777			status = "disabled";
4778
4779			gpu_opp_table: opp-table {
4780				compatible = "operating-points-v2";
4781
4782				opp-710000000 {
4783					opp-hz = /bits/ 64 <710000000>;
4784					opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
4785					opp-peak-kBps = <7216000>;
4786				};
4787
4788				opp-675000000 {
4789					opp-hz = /bits/ 64 <675000000>;
4790					opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
4791					opp-peak-kBps = <7216000>;
4792				};
4793
4794				opp-596000000 {
4795					opp-hz = /bits/ 64 <596000000>;
4796					opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
4797					opp-peak-kBps = <6220000>;
4798				};
4799
4800				opp-520000000 {
4801					opp-hz = /bits/ 64 <520000000>;
4802					opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
4803					opp-peak-kBps = <6220000>;
4804				};
4805
4806				opp-414000000 {
4807					opp-hz = /bits/ 64 <414000000>;
4808					opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
4809					opp-peak-kBps = <4068000>;
4810				};
4811
4812				opp-342000000 {
4813					opp-hz = /bits/ 64 <342000000>;
4814					opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
4815					opp-peak-kBps = <2724000>;
4816				};
4817
4818				opp-257000000 {
4819					opp-hz = /bits/ 64 <257000000>;
4820					opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
4821					opp-peak-kBps = <1648000>;
4822				};
4823			};
4824		};
4825
4826		adreno_smmu: iommu@5040000 {
4827			compatible = "qcom,sdm845-smmu-v2", "qcom,adreno-smmu", "qcom,smmu-v2";
4828			reg = <0 0x05040000 0 0x10000>;
4829			#iommu-cells = <1>;
4830			#global-interrupts = <2>;
4831			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
4832				     <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
4833				     <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
4834				     <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
4835				     <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
4836				     <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
4837				     <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
4838				     <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>,
4839				     <GIC_SPI 370 IRQ_TYPE_EDGE_RISING>,
4840				     <GIC_SPI 371 IRQ_TYPE_EDGE_RISING>;
4841			clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
4842			         <&gcc GCC_GPU_CFG_AHB_CLK>;
4843			clock-names = "bus", "iface";
4844
4845			power-domains = <&gpucc GPU_CX_GDSC>;
4846		};
4847
4848		gmu: gmu@506a000 {
4849			compatible = "qcom,adreno-gmu-630.2", "qcom,adreno-gmu";
4850
4851			reg = <0 0x0506a000 0 0x30000>,
4852			      <0 0x0b280000 0 0x10000>,
4853			      <0 0x0b480000 0 0x10000>;
4854			reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
4855
4856			interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
4857				     <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
4858			interrupt-names = "hfi", "gmu";
4859
4860			clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
4861			         <&gpucc GPU_CC_CXO_CLK>,
4862				 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
4863				 <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
4864			clock-names = "gmu", "cxo", "axi", "memnoc";
4865
4866			power-domains = <&gpucc GPU_CX_GDSC>,
4867					<&gpucc GPU_GX_GDSC>;
4868			power-domain-names = "cx", "gx";
4869
4870			iommus = <&adreno_smmu 5>;
4871
4872			operating-points-v2 = <&gmu_opp_table>;
4873
4874			status = "disabled";
4875
4876			gmu_opp_table: opp-table {
4877				compatible = "operating-points-v2";
4878
4879				opp-400000000 {
4880					opp-hz = /bits/ 64 <400000000>;
4881					opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
4882				};
4883
4884				opp-200000000 {
4885					opp-hz = /bits/ 64 <200000000>;
4886					opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
4887				};
4888			};
4889		};
4890
4891		dispcc: clock-controller@af00000 {
4892			compatible = "qcom,sdm845-dispcc";
4893			reg = <0 0x0af00000 0 0x10000>;
4894			clocks = <&rpmhcc RPMH_CXO_CLK>,
4895				 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
4896				 <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
4897				 <&dsi0_phy 0>,
4898				 <&dsi0_phy 1>,
4899				 <&dsi1_phy 0>,
4900				 <&dsi1_phy 1>,
4901				 <&dp_phy 0>,
4902				 <&dp_phy 1>;
4903			clock-names = "bi_tcxo",
4904				      "gcc_disp_gpll0_clk_src",
4905				      "gcc_disp_gpll0_div_clk_src",
4906				      "dsi0_phy_pll_out_byteclk",
4907				      "dsi0_phy_pll_out_dsiclk",
4908				      "dsi1_phy_pll_out_byteclk",
4909				      "dsi1_phy_pll_out_dsiclk",
4910				      "dp_link_clk_divsel_ten",
4911				      "dp_vco_divided_clk_src_mux";
4912			#clock-cells = <1>;
4913			#reset-cells = <1>;
4914			#power-domain-cells = <1>;
4915		};
4916
4917		pdc_intc: interrupt-controller@b220000 {
4918			compatible = "qcom,sdm845-pdc", "qcom,pdc";
4919			reg = <0 0x0b220000 0 0x30000>;
4920			qcom,pdc-ranges = <0 480 94>, <94 609 15>, <115 630 7>;
4921			#interrupt-cells = <2>;
4922			interrupt-parent = <&intc>;
4923			interrupt-controller;
4924		};
4925
4926		pdc_reset: reset-controller@b2e0000 {
4927			compatible = "qcom,sdm845-pdc-global";
4928			reg = <0 0x0b2e0000 0 0x20000>;
4929			#reset-cells = <1>;
4930		};
4931
4932		tsens0: thermal-sensor@c263000 {
4933			compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
4934			reg = <0 0x0c263000 0 0x1ff>, /* TM */
4935			      <0 0x0c222000 0 0x1ff>; /* SROT */
4936			#qcom,sensors = <13>;
4937			interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
4938				     <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
4939			interrupt-names = "uplow", "critical";
4940			#thermal-sensor-cells = <1>;
4941		};
4942
4943		tsens1: thermal-sensor@c265000 {
4944			compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
4945			reg = <0 0x0c265000 0 0x1ff>, /* TM */
4946			      <0 0x0c223000 0 0x1ff>; /* SROT */
4947			#qcom,sensors = <8>;
4948			interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
4949				     <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
4950			interrupt-names = "uplow", "critical";
4951			#thermal-sensor-cells = <1>;
4952		};
4953
4954		aoss_reset: reset-controller@c2a0000 {
4955			compatible = "qcom,sdm845-aoss-cc";
4956			reg = <0 0x0c2a0000 0 0x31000>;
4957			#reset-cells = <1>;
4958		};
4959
4960		aoss_qmp: power-management@c300000 {
4961			compatible = "qcom,sdm845-aoss-qmp", "qcom,aoss-qmp";
4962			reg = <0 0x0c300000 0 0x400>;
4963			interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
4964			mboxes = <&apss_shared 0>;
4965
4966			#clock-cells = <0>;
4967
4968			cx_cdev: cx {
4969				#cooling-cells = <2>;
4970			};
4971
4972			ebi_cdev: ebi {
4973				#cooling-cells = <2>;
4974			};
4975		};
4976
4977		sram@c3f0000 {
4978			compatible = "qcom,sdm845-rpmh-stats";
4979			reg = <0 0x0c3f0000 0 0x400>;
4980		};
4981
4982		spmi_bus: spmi@c440000 {
4983			compatible = "qcom,spmi-pmic-arb";
4984			reg = <0 0x0c440000 0 0x1100>,
4985			      <0 0x0c600000 0 0x2000000>,
4986			      <0 0x0e600000 0 0x100000>,
4987			      <0 0x0e700000 0 0xa0000>,
4988			      <0 0x0c40a000 0 0x26000>;
4989			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
4990			interrupt-names = "periph_irq";
4991			interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
4992			qcom,ee = <0>;
4993			qcom,channel = <0>;
4994			#address-cells = <2>;
4995			#size-cells = <0>;
4996			interrupt-controller;
4997			#interrupt-cells = <4>;
4998		};
4999
5000		sram@146bf000 {
5001			compatible = "qcom,sdm845-imem", "syscon", "simple-mfd";
5002			reg = <0 0x146bf000 0 0x1000>;
5003
5004			#address-cells = <1>;
5005			#size-cells = <1>;
5006
5007			ranges = <0 0 0x146bf000 0x1000>;
5008
5009			pil-reloc@94c {
5010				compatible = "qcom,pil-reloc-info";
5011				reg = <0x94c 0xc8>;
5012			};
5013		};
5014
5015		apps_smmu: iommu@15000000 {
5016			compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
5017			reg = <0 0x15000000 0 0x80000>;
5018			#iommu-cells = <2>;
5019			#global-interrupts = <1>;
5020			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
5021				     <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
5022				     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
5023				     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
5024				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
5025				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
5026				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
5027				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
5028				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
5029				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
5030				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
5031				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
5032				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
5033				     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
5034				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
5035				     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
5036				     <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
5037				     <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
5038				     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
5039				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
5040				     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
5041				     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
5042				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
5043				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
5044				     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
5045				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
5046				     <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
5047				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
5048				     <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
5049				     <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
5050				     <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
5051				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
5052				     <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
5053				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
5054				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
5055				     <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
5056				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
5057				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
5058				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
5059				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
5060				     <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
5061				     <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
5062				     <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
5063				     <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
5064				     <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
5065				     <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
5066				     <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
5067				     <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
5068				     <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
5069				     <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
5070				     <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
5071				     <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
5072				     <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
5073				     <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
5074				     <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
5075				     <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
5076				     <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
5077				     <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
5078				     <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
5079				     <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
5080				     <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
5081				     <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
5082				     <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
5083				     <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
5084				     <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
5085		};
5086
5087		lpasscc: clock-controller@17014000 {
5088			compatible = "qcom,sdm845-lpasscc";
5089			reg = <0 0x17014000 0 0x1f004>, <0 0x17300000 0 0x200>;
5090			reg-names = "cc", "qdsp6ss";
5091			#clock-cells = <1>;
5092			status = "disabled";
5093		};
5094
5095		gladiator_noc: interconnect@17900000 {
5096			compatible = "qcom,sdm845-gladiator-noc";
5097			reg = <0 0x17900000 0 0xd080>;
5098			#interconnect-cells = <2>;
5099			qcom,bcm-voters = <&apps_bcm_voter>;
5100		};
5101
5102		watchdog@17980000 {
5103			compatible = "qcom,apss-wdt-sdm845", "qcom,kpss-wdt";
5104			reg = <0 0x17980000 0 0x1000>;
5105			clocks = <&sleep_clk>;
5106			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
5107		};
5108
5109		apss_shared: mailbox@17990000 {
5110			compatible = "qcom,sdm845-apss-shared";
5111			reg = <0 0x17990000 0 0x1000>;
5112			#mbox-cells = <1>;
5113		};
5114
5115		apps_rsc: rsc@179c0000 {
5116			label = "apps_rsc";
5117			compatible = "qcom,rpmh-rsc";
5118			reg = <0 0x179c0000 0 0x10000>,
5119			      <0 0x179d0000 0 0x10000>,
5120			      <0 0x179e0000 0 0x10000>;
5121			reg-names = "drv-0", "drv-1", "drv-2";
5122			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
5123				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
5124				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
5125			qcom,tcs-offset = <0xd00>;
5126			qcom,drv-id = <2>;
5127			qcom,tcs-config = <ACTIVE_TCS  2>,
5128					  <SLEEP_TCS   3>,
5129					  <WAKE_TCS    3>,
5130					  <CONTROL_TCS 1>;
5131
5132			apps_bcm_voter: bcm-voter {
5133				compatible = "qcom,bcm-voter";
5134			};
5135
5136			rpmhcc: clock-controller {
5137				compatible = "qcom,sdm845-rpmh-clk";
5138				#clock-cells = <1>;
5139				clock-names = "xo";
5140				clocks = <&xo_board>;
5141			};
5142
5143			rpmhpd: power-controller {
5144				compatible = "qcom,sdm845-rpmhpd";
5145				#power-domain-cells = <1>;
5146				operating-points-v2 = <&rpmhpd_opp_table>;
5147
5148				rpmhpd_opp_table: opp-table {
5149					compatible = "operating-points-v2";
5150
5151					rpmhpd_opp_ret: opp1 {
5152						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
5153					};
5154
5155					rpmhpd_opp_min_svs: opp2 {
5156						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
5157					};
5158
5159					rpmhpd_opp_low_svs: opp3 {
5160						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
5161					};
5162
5163					rpmhpd_opp_svs: opp4 {
5164						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
5165					};
5166
5167					rpmhpd_opp_svs_l1: opp5 {
5168						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
5169					};
5170
5171					rpmhpd_opp_nom: opp6 {
5172						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
5173					};
5174
5175					rpmhpd_opp_nom_l1: opp7 {
5176						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
5177					};
5178
5179					rpmhpd_opp_nom_l2: opp8 {
5180						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
5181					};
5182
5183					rpmhpd_opp_turbo: opp9 {
5184						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
5185					};
5186
5187					rpmhpd_opp_turbo_l1: opp10 {
5188						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
5189					};
5190				};
5191			};
5192		};
5193
5194		intc: interrupt-controller@17a00000 {
5195			compatible = "arm,gic-v3";
5196			#address-cells = <2>;
5197			#size-cells = <2>;
5198			ranges;
5199			#interrupt-cells = <3>;
5200			interrupt-controller;
5201			reg = <0 0x17a00000 0 0x10000>,     /* GICD */
5202			      <0 0x17a60000 0 0x100000>;    /* GICR * 8 */
5203			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
5204
5205			msi-controller@17a40000 {
5206				compatible = "arm,gic-v3-its";
5207				msi-controller;
5208				#msi-cells = <1>;
5209				reg = <0 0x17a40000 0 0x20000>;
5210				status = "disabled";
5211			};
5212		};
5213
5214		slimbam: dma-controller@17184000 {
5215			compatible = "qcom,bam-v1.7.0";
5216			qcom,controlled-remotely;
5217			reg = <0 0x17184000 0 0x2a000>;
5218			num-channels = <31>;
5219			interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
5220			#dma-cells = <1>;
5221			qcom,ee = <1>;
5222			qcom,num-ees = <2>;
5223			iommus = <&apps_smmu 0x1806 0x0>;
5224		};
5225
5226		timer@17c90000 {
5227			#address-cells = <1>;
5228			#size-cells = <1>;
5229			ranges = <0 0 0 0x20000000>;
5230			compatible = "arm,armv7-timer-mem";
5231			reg = <0 0x17c90000 0 0x1000>;
5232
5233			frame@17ca0000 {
5234				frame-number = <0>;
5235				interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
5236					     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
5237				reg = <0x17ca0000 0x1000>,
5238				      <0x17cb0000 0x1000>;
5239			};
5240
5241			frame@17cc0000 {
5242				frame-number = <1>;
5243				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
5244				reg = <0x17cc0000 0x1000>;
5245				status = "disabled";
5246			};
5247
5248			frame@17cd0000 {
5249				frame-number = <2>;
5250				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
5251				reg = <0x17cd0000 0x1000>;
5252				status = "disabled";
5253			};
5254
5255			frame@17ce0000 {
5256				frame-number = <3>;
5257				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
5258				reg = <0x17ce0000 0x1000>;
5259				status = "disabled";
5260			};
5261
5262			frame@17cf0000 {
5263				frame-number = <4>;
5264				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
5265				reg = <0x17cf0000 0x1000>;
5266				status = "disabled";
5267			};
5268
5269			frame@17d00000 {
5270				frame-number = <5>;
5271				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
5272				reg = <0x17d00000 0x1000>;
5273				status = "disabled";
5274			};
5275
5276			frame@17d10000 {
5277				frame-number = <6>;
5278				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
5279				reg = <0x17d10000 0x1000>;
5280				status = "disabled";
5281			};
5282		};
5283
5284		osm_l3: interconnect@17d41000 {
5285			compatible = "qcom,sdm845-osm-l3", "qcom,osm-l3";
5286			reg = <0 0x17d41000 0 0x1400>;
5287
5288			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
5289			clock-names = "xo", "alternate";
5290
5291			#interconnect-cells = <1>;
5292		};
5293
5294		cpufreq_hw: cpufreq@17d43000 {
5295			compatible = "qcom,sdm845-cpufreq-hw", "qcom,cpufreq-hw";
5296			reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
5297			reg-names = "freq-domain0", "freq-domain1";
5298
5299			interrupts-extended = <&lmh_cluster0 0>, <&lmh_cluster1 0>;
5300
5301			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
5302			clock-names = "xo", "alternate";
5303
5304			#freq-domain-cells = <1>;
5305			#clock-cells = <1>;
5306		};
5307
5308		wifi: wifi@18800000 {
5309			compatible = "qcom,wcn3990-wifi";
5310			status = "disabled";
5311			reg = <0 0x18800000 0 0x800000>;
5312			reg-names = "membase";
5313			memory-region = <&wlan_msa_mem>;
5314			clock-names = "cxo_ref_clk_pin";
5315			clocks = <&rpmhcc RPMH_RF_CLK2>;
5316			interrupts =
5317				<GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
5318				<GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
5319				<GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
5320				<GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
5321				<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
5322				<GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
5323				<GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
5324				<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
5325				<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
5326				<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
5327				<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
5328				<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
5329			iommus = <&apps_smmu 0x0040 0x1>;
5330		};
5331	};
5332
5333	sound: sound {
5334	};
5335
5336	thermal-zones {
5337		cpu0-thermal {
5338			polling-delay-passive = <250>;
5339			polling-delay = <1000>;
5340
5341			thermal-sensors = <&tsens0 1>;
5342
5343			trips {
5344				cpu0_alert0: trip-point0 {
5345					temperature = <90000>;
5346					hysteresis = <2000>;
5347					type = "passive";
5348				};
5349
5350				cpu0_alert1: trip-point1 {
5351					temperature = <95000>;
5352					hysteresis = <2000>;
5353					type = "passive";
5354				};
5355
5356				cpu0_crit: cpu-crit {
5357					temperature = <110000>;
5358					hysteresis = <1000>;
5359					type = "critical";
5360				};
5361			};
5362		};
5363
5364		cpu1-thermal {
5365			polling-delay-passive = <250>;
5366			polling-delay = <1000>;
5367
5368			thermal-sensors = <&tsens0 2>;
5369
5370			trips {
5371				cpu1_alert0: trip-point0 {
5372					temperature = <90000>;
5373					hysteresis = <2000>;
5374					type = "passive";
5375				};
5376
5377				cpu1_alert1: trip-point1 {
5378					temperature = <95000>;
5379					hysteresis = <2000>;
5380					type = "passive";
5381				};
5382
5383				cpu1_crit: cpu-crit {
5384					temperature = <110000>;
5385					hysteresis = <1000>;
5386					type = "critical";
5387				};
5388			};
5389		};
5390
5391		cpu2-thermal {
5392			polling-delay-passive = <250>;
5393			polling-delay = <1000>;
5394
5395			thermal-sensors = <&tsens0 3>;
5396
5397			trips {
5398				cpu2_alert0: trip-point0 {
5399					temperature = <90000>;
5400					hysteresis = <2000>;
5401					type = "passive";
5402				};
5403
5404				cpu2_alert1: trip-point1 {
5405					temperature = <95000>;
5406					hysteresis = <2000>;
5407					type = "passive";
5408				};
5409
5410				cpu2_crit: cpu-crit {
5411					temperature = <110000>;
5412					hysteresis = <1000>;
5413					type = "critical";
5414				};
5415			};
5416		};
5417
5418		cpu3-thermal {
5419			polling-delay-passive = <250>;
5420			polling-delay = <1000>;
5421
5422			thermal-sensors = <&tsens0 4>;
5423
5424			trips {
5425				cpu3_alert0: trip-point0 {
5426					temperature = <90000>;
5427					hysteresis = <2000>;
5428					type = "passive";
5429				};
5430
5431				cpu3_alert1: trip-point1 {
5432					temperature = <95000>;
5433					hysteresis = <2000>;
5434					type = "passive";
5435				};
5436
5437				cpu3_crit: cpu-crit {
5438					temperature = <110000>;
5439					hysteresis = <1000>;
5440					type = "critical";
5441				};
5442			};
5443		};
5444
5445		cpu4-thermal {
5446			polling-delay-passive = <250>;
5447			polling-delay = <1000>;
5448
5449			thermal-sensors = <&tsens0 7>;
5450
5451			trips {
5452				cpu4_alert0: trip-point0 {
5453					temperature = <90000>;
5454					hysteresis = <2000>;
5455					type = "passive";
5456				};
5457
5458				cpu4_alert1: trip-point1 {
5459					temperature = <95000>;
5460					hysteresis = <2000>;
5461					type = "passive";
5462				};
5463
5464				cpu4_crit: cpu-crit {
5465					temperature = <110000>;
5466					hysteresis = <1000>;
5467					type = "critical";
5468				};
5469			};
5470		};
5471
5472		cpu5-thermal {
5473			polling-delay-passive = <250>;
5474			polling-delay = <1000>;
5475
5476			thermal-sensors = <&tsens0 8>;
5477
5478			trips {
5479				cpu5_alert0: trip-point0 {
5480					temperature = <90000>;
5481					hysteresis = <2000>;
5482					type = "passive";
5483				};
5484
5485				cpu5_alert1: trip-point1 {
5486					temperature = <95000>;
5487					hysteresis = <2000>;
5488					type = "passive";
5489				};
5490
5491				cpu5_crit: cpu-crit {
5492					temperature = <110000>;
5493					hysteresis = <1000>;
5494					type = "critical";
5495				};
5496			};
5497		};
5498
5499		cpu6-thermal {
5500			polling-delay-passive = <250>;
5501			polling-delay = <1000>;
5502
5503			thermal-sensors = <&tsens0 9>;
5504
5505			trips {
5506				cpu6_alert0: trip-point0 {
5507					temperature = <90000>;
5508					hysteresis = <2000>;
5509					type = "passive";
5510				};
5511
5512				cpu6_alert1: trip-point1 {
5513					temperature = <95000>;
5514					hysteresis = <2000>;
5515					type = "passive";
5516				};
5517
5518				cpu6_crit: cpu-crit {
5519					temperature = <110000>;
5520					hysteresis = <1000>;
5521					type = "critical";
5522				};
5523			};
5524		};
5525
5526		cpu7-thermal {
5527			polling-delay-passive = <250>;
5528			polling-delay = <1000>;
5529
5530			thermal-sensors = <&tsens0 10>;
5531
5532			trips {
5533				cpu7_alert0: trip-point0 {
5534					temperature = <90000>;
5535					hysteresis = <2000>;
5536					type = "passive";
5537				};
5538
5539				cpu7_alert1: trip-point1 {
5540					temperature = <95000>;
5541					hysteresis = <2000>;
5542					type = "passive";
5543				};
5544
5545				cpu7_crit: cpu-crit {
5546					temperature = <110000>;
5547					hysteresis = <1000>;
5548					type = "critical";
5549				};
5550			};
5551		};
5552
5553		aoss0-thermal {
5554			polling-delay-passive = <250>;
5555			polling-delay = <1000>;
5556
5557			thermal-sensors = <&tsens0 0>;
5558
5559			trips {
5560				aoss0_alert0: trip-point0 {
5561					temperature = <90000>;
5562					hysteresis = <2000>;
5563					type = "hot";
5564				};
5565			};
5566		};
5567
5568		cluster0-thermal {
5569			polling-delay-passive = <250>;
5570			polling-delay = <1000>;
5571
5572			thermal-sensors = <&tsens0 5>;
5573
5574			trips {
5575				cluster0_alert0: trip-point0 {
5576					temperature = <90000>;
5577					hysteresis = <2000>;
5578					type = "hot";
5579				};
5580				cluster0_crit: cluster0_crit {
5581					temperature = <110000>;
5582					hysteresis = <2000>;
5583					type = "critical";
5584				};
5585			};
5586		};
5587
5588		cluster1-thermal {
5589			polling-delay-passive = <250>;
5590			polling-delay = <1000>;
5591
5592			thermal-sensors = <&tsens0 6>;
5593
5594			trips {
5595				cluster1_alert0: trip-point0 {
5596					temperature = <90000>;
5597					hysteresis = <2000>;
5598					type = "hot";
5599				};
5600				cluster1_crit: cluster1_crit {
5601					temperature = <110000>;
5602					hysteresis = <2000>;
5603					type = "critical";
5604				};
5605			};
5606		};
5607
5608		gpu-top-thermal {
5609			polling-delay-passive = <250>;
5610			polling-delay = <1000>;
5611
5612			thermal-sensors = <&tsens0 11>;
5613
5614			trips {
5615				gpu1_alert0: trip-point0 {
5616					temperature = <90000>;
5617					hysteresis = <2000>;
5618					type = "hot";
5619				};
5620			};
5621		};
5622
5623		gpu-bottom-thermal {
5624			polling-delay-passive = <250>;
5625			polling-delay = <1000>;
5626
5627			thermal-sensors = <&tsens0 12>;
5628
5629			trips {
5630				gpu2_alert0: trip-point0 {
5631					temperature = <90000>;
5632					hysteresis = <2000>;
5633					type = "hot";
5634				};
5635			};
5636		};
5637
5638		aoss1-thermal {
5639			polling-delay-passive = <250>;
5640			polling-delay = <1000>;
5641
5642			thermal-sensors = <&tsens1 0>;
5643
5644			trips {
5645				aoss1_alert0: trip-point0 {
5646					temperature = <90000>;
5647					hysteresis = <2000>;
5648					type = "hot";
5649				};
5650			};
5651		};
5652
5653		q6-modem-thermal {
5654			polling-delay-passive = <250>;
5655			polling-delay = <1000>;
5656
5657			thermal-sensors = <&tsens1 1>;
5658
5659			trips {
5660				q6_modem_alert0: trip-point0 {
5661					temperature = <90000>;
5662					hysteresis = <2000>;
5663					type = "hot";
5664				};
5665			};
5666		};
5667
5668		mem-thermal {
5669			polling-delay-passive = <250>;
5670			polling-delay = <1000>;
5671
5672			thermal-sensors = <&tsens1 2>;
5673
5674			trips {
5675				mem_alert0: trip-point0 {
5676					temperature = <90000>;
5677					hysteresis = <2000>;
5678					type = "hot";
5679				};
5680			};
5681		};
5682
5683		wlan-thermal {
5684			polling-delay-passive = <250>;
5685			polling-delay = <1000>;
5686
5687			thermal-sensors = <&tsens1 3>;
5688
5689			trips {
5690				wlan_alert0: trip-point0 {
5691					temperature = <90000>;
5692					hysteresis = <2000>;
5693					type = "hot";
5694				};
5695			};
5696		};
5697
5698		q6-hvx-thermal {
5699			polling-delay-passive = <250>;
5700			polling-delay = <1000>;
5701
5702			thermal-sensors = <&tsens1 4>;
5703
5704			trips {
5705				q6_hvx_alert0: trip-point0 {
5706					temperature = <90000>;
5707					hysteresis = <2000>;
5708					type = "hot";
5709				};
5710			};
5711		};
5712
5713		camera-thermal {
5714			polling-delay-passive = <250>;
5715			polling-delay = <1000>;
5716
5717			thermal-sensors = <&tsens1 5>;
5718
5719			trips {
5720				camera_alert0: trip-point0 {
5721					temperature = <90000>;
5722					hysteresis = <2000>;
5723					type = "hot";
5724				};
5725			};
5726		};
5727
5728		video-thermal {
5729			polling-delay-passive = <250>;
5730			polling-delay = <1000>;
5731
5732			thermal-sensors = <&tsens1 6>;
5733
5734			trips {
5735				video_alert0: trip-point0 {
5736					temperature = <90000>;
5737					hysteresis = <2000>;
5738					type = "hot";
5739				};
5740			};
5741		};
5742
5743		modem-thermal {
5744			polling-delay-passive = <250>;
5745			polling-delay = <1000>;
5746
5747			thermal-sensors = <&tsens1 7>;
5748
5749			trips {
5750				modem_alert0: trip-point0 {
5751					temperature = <90000>;
5752					hysteresis = <2000>;
5753					type = "hot";
5754				};
5755			};
5756		};
5757	};
5758
5759	timer {
5760		compatible = "arm,armv8-timer";
5761		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
5762			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
5763			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
5764			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
5765	};
5766};
5767