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