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