xref: /linux/arch/arm64/boot/dts/qcom/sa8775p.dtsi (revision ec71f661a572a770d7c861cd52a50cbbb0e1a8d1)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2023, Linaro Limited
4 * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
5 */
6
7#include <dt-bindings/interconnect/qcom,icc.h>
8#include <dt-bindings/interrupt-controller/arm-gic.h>
9#include <dt-bindings/clock/qcom,rpmh.h>
10#include <dt-bindings/clock/qcom,sa8775p-dispcc.h>
11#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
12#include <dt-bindings/clock/qcom,sa8775p-gpucc.h>
13#include <dt-bindings/dma/qcom-gpi.h>
14#include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h>
15#include <dt-bindings/mailbox/qcom-ipcc.h>
16#include <dt-bindings/firmware/qcom,scm.h>
17#include <dt-bindings/power/qcom,rpmhpd.h>
18#include <dt-bindings/power/qcom-rpmpd.h>
19#include <dt-bindings/soc/qcom,rpmh-rsc.h>
20
21/ {
22	interrupt-parent = <&intc>;
23
24	#address-cells = <2>;
25	#size-cells = <2>;
26
27	clocks {
28		xo_board_clk: xo-board-clk {
29			compatible = "fixed-clock";
30			#clock-cells = <0>;
31		};
32
33		sleep_clk: sleep-clk {
34			compatible = "fixed-clock";
35			#clock-cells = <0>;
36		};
37	};
38
39	cpus {
40		#address-cells = <2>;
41		#size-cells = <0>;
42
43		cpu0: cpu@0 {
44			device_type = "cpu";
45			compatible = "qcom,kryo";
46			reg = <0x0 0x0>;
47			enable-method = "psci";
48			power-domains = <&cpu_pd0>;
49			power-domain-names = "psci";
50			qcom,freq-domain = <&cpufreq_hw 0>;
51			next-level-cache = <&l2_0>;
52			capacity-dmips-mhz = <1024>;
53			dynamic-power-coefficient = <100>;
54			l2_0: l2-cache {
55				compatible = "cache";
56				cache-level = <2>;
57				cache-unified;
58				next-level-cache = <&l3_0>;
59				l3_0: l3-cache {
60					compatible = "cache";
61					cache-level = <3>;
62					cache-unified;
63				};
64			};
65		};
66
67		cpu1: cpu@100 {
68			device_type = "cpu";
69			compatible = "qcom,kryo";
70			reg = <0x0 0x100>;
71			enable-method = "psci";
72			power-domains = <&cpu_pd1>;
73			power-domain-names = "psci";
74			qcom,freq-domain = <&cpufreq_hw 0>;
75			next-level-cache = <&l2_1>;
76			capacity-dmips-mhz = <1024>;
77			dynamic-power-coefficient = <100>;
78			l2_1: l2-cache {
79				compatible = "cache";
80				cache-level = <2>;
81				cache-unified;
82				next-level-cache = <&l3_0>;
83			};
84		};
85
86		cpu2: cpu@200 {
87			device_type = "cpu";
88			compatible = "qcom,kryo";
89			reg = <0x0 0x200>;
90			enable-method = "psci";
91			power-domains = <&cpu_pd2>;
92			power-domain-names = "psci";
93			qcom,freq-domain = <&cpufreq_hw 0>;
94			next-level-cache = <&l2_2>;
95			capacity-dmips-mhz = <1024>;
96			dynamic-power-coefficient = <100>;
97			l2_2: l2-cache {
98				compatible = "cache";
99				cache-level = <2>;
100				cache-unified;
101				next-level-cache = <&l3_0>;
102			};
103		};
104
105		cpu3: cpu@300 {
106			device_type = "cpu";
107			compatible = "qcom,kryo";
108			reg = <0x0 0x300>;
109			enable-method = "psci";
110			power-domains = <&cpu_pd3>;
111			power-domain-names = "psci";
112			qcom,freq-domain = <&cpufreq_hw 0>;
113			next-level-cache = <&l2_3>;
114			capacity-dmips-mhz = <1024>;
115			dynamic-power-coefficient = <100>;
116			l2_3: l2-cache {
117				compatible = "cache";
118				cache-level = <2>;
119				cache-unified;
120				next-level-cache = <&l3_0>;
121			};
122		};
123
124		cpu4: cpu@10000 {
125			device_type = "cpu";
126			compatible = "qcom,kryo";
127			reg = <0x0 0x10000>;
128			enable-method = "psci";
129			power-domains = <&cpu_pd4>;
130			power-domain-names = "psci";
131			qcom,freq-domain = <&cpufreq_hw 1>;
132			next-level-cache = <&l2_4>;
133			capacity-dmips-mhz = <1024>;
134			dynamic-power-coefficient = <100>;
135			l2_4: l2-cache {
136				compatible = "cache";
137				cache-level = <2>;
138				cache-unified;
139				next-level-cache = <&l3_1>;
140				l3_1: l3-cache {
141					compatible = "cache";
142					cache-level = <3>;
143					cache-unified;
144				};
145
146			};
147		};
148
149		cpu5: cpu@10100 {
150			device_type = "cpu";
151			compatible = "qcom,kryo";
152			reg = <0x0 0x10100>;
153			enable-method = "psci";
154			power-domains = <&cpu_pd5>;
155			power-domain-names = "psci";
156			qcom,freq-domain = <&cpufreq_hw 1>;
157			next-level-cache = <&l2_5>;
158			capacity-dmips-mhz = <1024>;
159			dynamic-power-coefficient = <100>;
160			l2_5: l2-cache {
161				compatible = "cache";
162				cache-level = <2>;
163				cache-unified;
164				next-level-cache = <&l3_1>;
165			};
166		};
167
168		cpu6: cpu@10200 {
169			device_type = "cpu";
170			compatible = "qcom,kryo";
171			reg = <0x0 0x10200>;
172			enable-method = "psci";
173			power-domains = <&cpu_pd6>;
174			power-domain-names = "psci";
175			qcom,freq-domain = <&cpufreq_hw 1>;
176			next-level-cache = <&l2_6>;
177			capacity-dmips-mhz = <1024>;
178			dynamic-power-coefficient = <100>;
179			l2_6: l2-cache {
180				compatible = "cache";
181				cache-level = <2>;
182				cache-unified;
183				next-level-cache = <&l3_1>;
184			};
185		};
186
187		cpu7: cpu@10300 {
188			device_type = "cpu";
189			compatible = "qcom,kryo";
190			reg = <0x0 0x10300>;
191			enable-method = "psci";
192			power-domains = <&cpu_pd7>;
193			power-domain-names = "psci";
194			qcom,freq-domain = <&cpufreq_hw 1>;
195			next-level-cache = <&l2_7>;
196			capacity-dmips-mhz = <1024>;
197			dynamic-power-coefficient = <100>;
198			l2_7: l2-cache {
199				compatible = "cache";
200				cache-level = <2>;
201				cache-unified;
202				next-level-cache = <&l3_1>;
203			};
204		};
205
206		cpu-map {
207			cluster0 {
208				core0 {
209					cpu = <&cpu0>;
210				};
211
212				core1 {
213					cpu = <&cpu1>;
214				};
215
216				core2 {
217					cpu = <&cpu2>;
218				};
219
220				core3 {
221					cpu = <&cpu3>;
222				};
223			};
224
225			cluster1 {
226				core0 {
227					cpu = <&cpu4>;
228				};
229
230				core1 {
231					cpu = <&cpu5>;
232				};
233
234				core2 {
235					cpu = <&cpu6>;
236				};
237
238				core3 {
239					cpu = <&cpu7>;
240				};
241			};
242		};
243
244		idle-states {
245			entry-method = "psci";
246
247			gold_cpu_sleep_0: cpu-sleep-0 {
248				compatible = "arm,idle-state";
249				idle-state-name = "gold-power-collapse";
250				arm,psci-suspend-param = <0x40000003>;
251				entry-latency-us = <549>;
252				exit-latency-us = <901>;
253				min-residency-us = <1774>;
254				local-timer-stop;
255			};
256
257			gold_rail_cpu_sleep_0: cpu-sleep-1 {
258				compatible = "arm,idle-state";
259				idle-state-name = "gold-rail-power-collapse";
260				arm,psci-suspend-param = <0x40000004>;
261				entry-latency-us = <702>;
262				exit-latency-us = <1061>;
263				min-residency-us = <4488>;
264				local-timer-stop;
265			};
266		};
267
268		domain-idle-states {
269			cluster_sleep_gold: cluster-sleep-0 {
270				compatible = "domain-idle-state";
271				arm,psci-suspend-param = <0x41000044>;
272				entry-latency-us = <2752>;
273				exit-latency-us = <3048>;
274				min-residency-us = <6118>;
275			};
276
277			cluster_sleep_apss_rsc_pc: cluster-sleep-1 {
278				compatible = "domain-idle-state";
279				arm,psci-suspend-param = <0x42000144>;
280				entry-latency-us = <3263>;
281				exit-latency-us = <6562>;
282				min-residency-us = <9987>;
283			};
284		};
285	};
286
287	dummy-sink {
288		compatible = "arm,coresight-dummy-sink";
289
290		in-ports {
291			port {
292				eud_in: endpoint {
293					remote-endpoint =
294					<&swao_rep_out1>;
295				};
296			};
297		};
298	};
299
300	firmware {
301		scm {
302			compatible = "qcom,scm-sa8775p", "qcom,scm";
303			qcom,dload-mode = <&tcsr 0x13000>;
304			memory-region = <&tz_ffi_mem>;
305		};
306	};
307
308	aggre1_noc: interconnect-aggre1-noc {
309		compatible = "qcom,sa8775p-aggre1-noc";
310		#interconnect-cells = <2>;
311		qcom,bcm-voters = <&apps_bcm_voter>;
312	};
313
314	aggre2_noc: interconnect-aggre2-noc {
315		compatible = "qcom,sa8775p-aggre2-noc";
316		#interconnect-cells = <2>;
317		qcom,bcm-voters = <&apps_bcm_voter>;
318	};
319
320	clk_virt: interconnect-clk-virt {
321		compatible = "qcom,sa8775p-clk-virt";
322		#interconnect-cells = <2>;
323		qcom,bcm-voters = <&apps_bcm_voter>;
324	};
325
326	config_noc: interconnect-config-noc {
327		compatible = "qcom,sa8775p-config-noc";
328		#interconnect-cells = <2>;
329		qcom,bcm-voters = <&apps_bcm_voter>;
330	};
331
332	dc_noc: interconnect-dc-noc {
333		compatible = "qcom,sa8775p-dc-noc";
334		#interconnect-cells = <2>;
335		qcom,bcm-voters = <&apps_bcm_voter>;
336	};
337
338	gem_noc: interconnect-gem-noc {
339		compatible = "qcom,sa8775p-gem-noc";
340		#interconnect-cells = <2>;
341		qcom,bcm-voters = <&apps_bcm_voter>;
342	};
343
344	gpdsp_anoc: interconnect-gpdsp-anoc {
345		compatible = "qcom,sa8775p-gpdsp-anoc";
346		#interconnect-cells = <2>;
347		qcom,bcm-voters = <&apps_bcm_voter>;
348	};
349
350	lpass_ag_noc: interconnect-lpass-ag-noc {
351		compatible = "qcom,sa8775p-lpass-ag-noc";
352		#interconnect-cells = <2>;
353		qcom,bcm-voters = <&apps_bcm_voter>;
354	};
355
356	mc_virt: interconnect-mc-virt {
357		compatible = "qcom,sa8775p-mc-virt";
358		#interconnect-cells = <2>;
359		qcom,bcm-voters = <&apps_bcm_voter>;
360	};
361
362	mmss_noc: interconnect-mmss-noc {
363		compatible = "qcom,sa8775p-mmss-noc";
364		#interconnect-cells = <2>;
365		qcom,bcm-voters = <&apps_bcm_voter>;
366	};
367
368	nspa_noc: interconnect-nspa-noc {
369		compatible = "qcom,sa8775p-nspa-noc";
370		#interconnect-cells = <2>;
371		qcom,bcm-voters = <&apps_bcm_voter>;
372	};
373
374	nspb_noc: interconnect-nspb-noc {
375		compatible = "qcom,sa8775p-nspb-noc";
376		#interconnect-cells = <2>;
377		qcom,bcm-voters = <&apps_bcm_voter>;
378	};
379
380	pcie_anoc: interconnect-pcie-anoc {
381		compatible = "qcom,sa8775p-pcie-anoc";
382		#interconnect-cells = <2>;
383		qcom,bcm-voters = <&apps_bcm_voter>;
384	};
385
386	system_noc: interconnect-system-noc {
387		compatible = "qcom,sa8775p-system-noc";
388		#interconnect-cells = <2>;
389		qcom,bcm-voters = <&apps_bcm_voter>;
390	};
391
392	/* Will be updated by the bootloader. */
393	memory@80000000 {
394		device_type = "memory";
395		reg = <0x0 0x80000000 0x0 0x0>;
396	};
397
398	qup_opp_table_100mhz: opp-table-qup100mhz {
399		compatible = "operating-points-v2";
400
401		opp-100000000 {
402			opp-hz = /bits/ 64 <100000000>;
403			required-opps = <&rpmhpd_opp_svs_l1>;
404		};
405	};
406
407	pmu {
408		compatible = "arm,armv8-pmuv3";
409		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
410	};
411
412	psci {
413		compatible = "arm,psci-1.0";
414		method = "smc";
415
416		cpu_pd0: power-domain-cpu0 {
417			#power-domain-cells = <0>;
418			power-domains = <&cluster_0_pd>;
419			domain-idle-states = <&gold_cpu_sleep_0>,
420					     <&gold_rail_cpu_sleep_0>;
421		};
422
423		cpu_pd1: power-domain-cpu1 {
424			#power-domain-cells = <0>;
425			power-domains = <&cluster_0_pd>;
426			domain-idle-states = <&gold_cpu_sleep_0>,
427					     <&gold_rail_cpu_sleep_0>;
428		};
429
430		cpu_pd2: power-domain-cpu2 {
431			#power-domain-cells = <0>;
432			power-domains = <&cluster_0_pd>;
433			domain-idle-states = <&gold_cpu_sleep_0>,
434					     <&gold_rail_cpu_sleep_0>;
435		};
436
437		cpu_pd3: power-domain-cpu3 {
438			#power-domain-cells = <0>;
439			power-domains = <&cluster_0_pd>;
440			domain-idle-states = <&gold_cpu_sleep_0>,
441					     <&gold_rail_cpu_sleep_0>;
442		};
443
444		cpu_pd4: power-domain-cpu4 {
445			#power-domain-cells = <0>;
446			power-domains = <&cluster_1_pd>;
447			domain-idle-states = <&gold_cpu_sleep_0>,
448					     <&gold_rail_cpu_sleep_0>;
449		};
450
451		cpu_pd5: power-domain-cpu5 {
452			#power-domain-cells = <0>;
453			power-domains = <&cluster_1_pd>;
454			domain-idle-states = <&gold_cpu_sleep_0>,
455					     <&gold_rail_cpu_sleep_0>;
456		};
457
458		cpu_pd6: power-domain-cpu6 {
459			#power-domain-cells = <0>;
460			power-domains = <&cluster_1_pd>;
461			domain-idle-states = <&gold_cpu_sleep_0>,
462					     <&gold_rail_cpu_sleep_0>;
463		};
464
465		cpu_pd7: power-domain-cpu7 {
466			#power-domain-cells = <0>;
467			power-domains = <&cluster_1_pd>;
468			domain-idle-states = <&gold_cpu_sleep_0>,
469					     <&gold_rail_cpu_sleep_0>;
470		};
471
472		cluster_0_pd: power-domain-cluster0 {
473			#power-domain-cells = <0>;
474			domain-idle-states = <&cluster_sleep_gold>;
475			power-domains = <&system_pd>;
476		};
477
478		cluster_1_pd: power-domain-cluster1 {
479			#power-domain-cells = <0>;
480			domain-idle-states = <&cluster_sleep_gold>;
481			power-domains = <&system_pd>;
482		};
483
484		system_pd: power-domain-system {
485			#power-domain-cells = <0>;
486			domain-idle-states = <&cluster_sleep_apss_rsc_pc>;
487		};
488	};
489
490	reserved-memory {
491		#address-cells = <2>;
492		#size-cells = <2>;
493		ranges;
494
495		sail_ss_mem: sail-ss@80000000 {
496			reg = <0x0 0x80000000 0x0 0x10000000>;
497			no-map;
498		};
499
500		hyp_mem: hyp@90000000 {
501			reg = <0x0 0x90000000 0x0 0x600000>;
502			no-map;
503		};
504
505		xbl_boot_mem: xbl-boot@90600000 {
506			reg = <0x0 0x90600000 0x0 0x200000>;
507			no-map;
508		};
509
510		aop_image_mem: aop-image@90800000 {
511			reg = <0x0 0x90800000 0x0 0x60000>;
512			no-map;
513		};
514
515		aop_cmd_db_mem: aop-cmd-db@90860000 {
516			compatible = "qcom,cmd-db";
517			reg = <0x0 0x90860000 0x0 0x20000>;
518			no-map;
519		};
520
521		uefi_log: uefi-log@908b0000 {
522			reg = <0x0 0x908b0000 0x0 0x10000>;
523			no-map;
524		};
525
526		ddr_training_checksum: ddr-training-checksum@908c0000 {
527			reg = <0x0 0x908c0000 0x0 0x1000>;
528			no-map;
529		};
530
531		reserved_mem: reserved@908f0000 {
532			reg = <0x0 0x908f0000 0x0 0xe000>;
533			no-map;
534		};
535
536		secdata_apss_mem: secdata-apss@908fe000 {
537			reg = <0x0 0x908fe000 0x0 0x2000>;
538			no-map;
539		};
540
541		smem_mem: smem@90900000 {
542			compatible = "qcom,smem";
543			reg = <0x0 0x90900000 0x0 0x200000>;
544			no-map;
545			hwlocks = <&tcsr_mutex 3>;
546		};
547
548		tz_sail_mailbox_mem: tz-sail-mailbox@90c00000 {
549			reg = <0x0 0x90c00000 0x0 0x100000>;
550			no-map;
551		};
552
553		sail_mailbox_mem: sail-ss@90d00000 {
554			reg = <0x0 0x90d00000 0x0 0x100000>;
555			no-map;
556		};
557
558		sail_ota_mem: sail-ss@90e00000 {
559			reg = <0x0 0x90e00000 0x0 0x300000>;
560			no-map;
561		};
562
563		aoss_backup_mem: aoss-backup@91b00000 {
564			reg = <0x0 0x91b00000 0x0 0x40000>;
565			no-map;
566		};
567
568		cpucp_backup_mem: cpucp-backup@91b40000 {
569			reg = <0x0 0x91b40000 0x0 0x40000>;
570			no-map;
571		};
572
573		tz_config_backup_mem: tz-config-backup@91b80000 {
574			reg = <0x0 0x91b80000 0x0 0x10000>;
575			no-map;
576		};
577
578		ddr_training_data_mem: ddr-training-data@91b90000 {
579			reg = <0x0 0x91b90000 0x0 0x10000>;
580			no-map;
581		};
582
583		cdt_data_backup_mem: cdt-data-backup@91ba0000 {
584			reg = <0x0 0x91ba0000 0x0 0x1000>;
585			no-map;
586		};
587
588		tz_ffi_mem: tz-ffi@91c00000 {
589			compatible = "shared-dma-pool";
590			reg = <0x0 0x91c00000 0x0 0x1400000>;
591			no-map;
592		};
593
594		lpass_machine_learning_mem: lpass-machine-learning@93b00000 {
595			reg = <0x0 0x93b00000 0x0 0xf00000>;
596			no-map;
597		};
598
599		adsp_rpc_remote_heap_mem: adsp-rpc-remote-heap@94a00000 {
600			reg = <0x0 0x94a00000 0x0 0x800000>;
601			no-map;
602		};
603
604		pil_camera_mem: pil-camera@95200000 {
605			reg = <0x0 0x95200000 0x0 0x500000>;
606			no-map;
607		};
608
609		pil_adsp_mem: pil-adsp@95c00000 {
610			reg = <0x0 0x95c00000 0x0 0x1e00000>;
611			no-map;
612		};
613
614		pil_gdsp0_mem: pil-gdsp0@97b00000 {
615			reg = <0x0 0x97b00000 0x0 0x1e00000>;
616			no-map;
617		};
618
619		pil_gdsp1_mem: pil-gdsp1@99900000 {
620			reg = <0x0 0x99900000 0x0 0x1e00000>;
621			no-map;
622		};
623
624		pil_cdsp0_mem: pil-cdsp0@9b800000 {
625			reg = <0x0 0x9b800000 0x0 0x1e00000>;
626			no-map;
627		};
628
629		pil_gpu_mem: pil-gpu@9d600000 {
630			reg = <0x0 0x9d600000 0x0 0x2000>;
631			no-map;
632		};
633
634		pil_cdsp1_mem: pil-cdsp1@9d700000 {
635			reg = <0x0 0x9d700000 0x0 0x1e00000>;
636			no-map;
637		};
638
639		pil_cvp_mem: pil-cvp@9f500000 {
640			reg = <0x0 0x9f500000 0x0 0x700000>;
641			no-map;
642		};
643
644		pil_video_mem: pil-video@9fc00000 {
645			reg = <0x0 0x9fc00000 0x0 0x700000>;
646			no-map;
647		};
648
649		audio_mdf_mem: audio-mdf-region@ae000000 {
650			reg = <0x0 0xae000000 0x0 0x1000000>;
651			no-map;
652		};
653
654		firmware_mem: firmware-region@b0000000 {
655			reg = <0x0 0xb0000000 0x0 0x800000>;
656			no-map;
657		};
658
659		hyptz_reserved_mem: hyptz-reserved@beb00000 {
660			reg = <0x0 0xbeb00000 0x0 0x11500000>;
661			no-map;
662		};
663
664		scmi_mem: scmi-region@d0000000 {
665			reg = <0x0 0xd0000000 0x0 0x40000>;
666			no-map;
667		};
668
669		firmware_logs_mem: firmware-logs@d0040000 {
670			reg = <0x0 0xd0040000 0x0 0x10000>;
671			no-map;
672		};
673
674		firmware_audio_mem: firmware-audio@d0050000 {
675			reg = <0x0 0xd0050000 0x0 0x4000>;
676			no-map;
677		};
678
679		firmware_reserved_mem: firmware-reserved@d0054000 {
680			reg = <0x0 0xd0054000 0x0 0x9c000>;
681			no-map;
682		};
683
684		firmware_quantum_test_mem: firmware-quantum-test@d00f0000 {
685			reg = <0x0 0xd00f0000 0x0 0x10000>;
686			no-map;
687		};
688
689		tags_mem: tags@d0100000 {
690			reg = <0x0 0xd0100000 0x0 0x1200000>;
691			no-map;
692		};
693
694		qtee_mem: qtee@d1300000 {
695			reg = <0x0 0xd1300000 0x0 0x500000>;
696			no-map;
697		};
698
699		deepsleep_backup_mem: deepsleep-backup@d1800000 {
700			reg = <0x0 0xd1800000 0x0 0x100000>;
701			no-map;
702		};
703
704		trusted_apps_mem: trusted-apps@d1900000 {
705			reg = <0x0 0xd1900000 0x0 0x3800000>;
706			no-map;
707		};
708
709		tz_stat_mem: tz-stat@db100000 {
710			reg = <0x0 0xdb100000 0x0 0x100000>;
711			no-map;
712		};
713
714		cpucp_fw_mem: cpucp-fw@db200000 {
715			reg = <0x0 0xdb200000 0x0 0x100000>;
716			no-map;
717		};
718	};
719
720	smp2p-adsp {
721		compatible = "qcom,smp2p";
722		qcom,smem = <443>, <429>;
723		interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
724					     IPCC_MPROC_SIGNAL_SMP2P
725					     IRQ_TYPE_EDGE_RISING>;
726		mboxes = <&ipcc IPCC_CLIENT_LPASS IPCC_MPROC_SIGNAL_SMP2P>;
727
728		qcom,local-pid = <0>;
729		qcom,remote-pid = <2>;
730
731		smp2p_adsp_out: master-kernel {
732			qcom,entry-name = "master-kernel";
733			#qcom,smem-state-cells = <1>;
734		};
735
736		smp2p_adsp_in: slave-kernel {
737			qcom,entry-name = "slave-kernel";
738			interrupt-controller;
739			#interrupt-cells = <2>;
740		};
741	};
742
743	smp2p-cdsp0 {
744		compatible = "qcom,smp2p";
745		qcom,smem = <94>, <432>;
746		interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
747					     IPCC_MPROC_SIGNAL_SMP2P
748					     IRQ_TYPE_EDGE_RISING>;
749		mboxes = <&ipcc IPCC_CLIENT_CDSP IPCC_MPROC_SIGNAL_SMP2P>;
750
751		qcom,local-pid = <0>;
752		qcom,remote-pid = <5>;
753
754		smp2p_cdsp0_out: master-kernel {
755			qcom,entry-name = "master-kernel";
756			#qcom,smem-state-cells = <1>;
757		};
758
759		smp2p_cdsp0_in: slave-kernel {
760			qcom,entry-name = "slave-kernel";
761			interrupt-controller;
762			#interrupt-cells = <2>;
763		};
764	};
765
766	smp2p-cdsp1 {
767		compatible = "qcom,smp2p";
768		qcom,smem = <617>, <616>;
769		interrupts-extended = <&ipcc IPCC_CLIENT_NSP1
770					     IPCC_MPROC_SIGNAL_SMP2P
771					     IRQ_TYPE_EDGE_RISING>;
772		mboxes = <&ipcc IPCC_CLIENT_NSP1 IPCC_MPROC_SIGNAL_SMP2P>;
773
774		qcom,local-pid = <0>;
775		qcom,remote-pid = <12>;
776
777		smp2p_cdsp1_out: master-kernel {
778			qcom,entry-name = "master-kernel";
779			#qcom,smem-state-cells = <1>;
780		};
781
782		smp2p_cdsp1_in: slave-kernel {
783			qcom,entry-name = "slave-kernel";
784			interrupt-controller;
785			#interrupt-cells = <2>;
786		};
787	};
788
789	smp2p-gpdsp0 {
790		compatible = "qcom,smp2p";
791		qcom,smem = <617>, <616>;
792		interrupts-extended = <&ipcc IPCC_CLIENT_GPDSP0
793					     IPCC_MPROC_SIGNAL_SMP2P
794					     IRQ_TYPE_EDGE_RISING>;
795		mboxes = <&ipcc IPCC_CLIENT_GPDSP0 IPCC_MPROC_SIGNAL_SMP2P>;
796
797		qcom,local-pid = <0>;
798		qcom,remote-pid = <17>;
799
800		smp2p_gpdsp0_out: master-kernel {
801			qcom,entry-name = "master-kernel";
802			#qcom,smem-state-cells = <1>;
803		};
804
805		smp2p_gpdsp0_in: slave-kernel {
806			qcom,entry-name = "slave-kernel";
807			interrupt-controller;
808			#interrupt-cells = <2>;
809		};
810	};
811
812	smp2p-gpdsp1 {
813		compatible = "qcom,smp2p";
814		qcom,smem = <617>, <616>;
815		interrupts-extended = <&ipcc IPCC_CLIENT_GPDSP1
816					     IPCC_MPROC_SIGNAL_SMP2P
817					     IRQ_TYPE_EDGE_RISING>;
818		mboxes = <&ipcc IPCC_CLIENT_GPDSP1 IPCC_MPROC_SIGNAL_SMP2P>;
819
820		qcom,local-pid = <0>;
821		qcom,remote-pid = <18>;
822
823		smp2p_gpdsp1_out: master-kernel {
824			qcom,entry-name = "master-kernel";
825			#qcom,smem-state-cells = <1>;
826		};
827
828		smp2p_gpdsp1_in: slave-kernel {
829			qcom,entry-name = "slave-kernel";
830			interrupt-controller;
831			#interrupt-cells = <2>;
832		};
833	};
834
835	soc: soc@0 {
836		compatible = "simple-bus";
837		#address-cells = <2>;
838		#size-cells = <2>;
839		ranges = <0 0 0 0 0x10 0>;
840
841		gcc: clock-controller@100000 {
842			compatible = "qcom,sa8775p-gcc";
843			reg = <0x0 0x00100000 0x0 0xc7018>;
844			#clock-cells = <1>;
845			#reset-cells = <1>;
846			#power-domain-cells = <1>;
847			clocks = <&rpmhcc RPMH_CXO_CLK>,
848				 <&sleep_clk>,
849				 <0>,
850				 <0>,
851				 <0>,
852				 <&usb_0_qmpphy>,
853				 <&usb_1_qmpphy>,
854				 <0>,
855				 <0>,
856				 <0>,
857				 <&pcie0_phy>,
858				 <&pcie1_phy>,
859				 <0>,
860				 <0>,
861				 <0>;
862			power-domains = <&rpmhpd SA8775P_CX>;
863		};
864
865		ipcc: mailbox@408000 {
866			compatible = "qcom,sa8775p-ipcc", "qcom,ipcc";
867			reg = <0x0 0x00408000 0x0 0x1000>;
868			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
869			interrupt-controller;
870			#interrupt-cells = <3>;
871			#mbox-cells = <2>;
872		};
873
874		gpi_dma2: dma-controller@800000  {
875			compatible = "qcom,sa8775p-gpi-dma", "qcom,sm6350-gpi-dma";
876			reg = <0x0 0x00800000 0x0 0x60000>;
877			#dma-cells = <3>;
878			interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
879				     <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
880				     <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
881				     <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>,
882				     <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>,
883				     <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>,
884				     <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>,
885				     <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>,
886				     <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>,
887				     <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>,
888				     <GIC_SPI 598 IRQ_TYPE_LEVEL_HIGH>,
889				     <GIC_SPI 599 IRQ_TYPE_LEVEL_HIGH>;
890			dma-channels = <12>;
891			dma-channel-mask = <0xfff>;
892			iommus = <&apps_smmu 0x5b6 0x0>;
893			status = "disabled";
894		};
895
896		qupv3_id_2: geniqup@8c0000 {
897			compatible = "qcom,geni-se-qup";
898			reg = <0x0 0x008c0000 0x0 0x6000>;
899			ranges;
900			clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>,
901				 <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>;
902			clock-names = "m-ahb", "s-ahb";
903			iommus = <&apps_smmu 0x5a3 0x0>;
904			#address-cells = <2>;
905			#size-cells = <2>;
906			status = "disabled";
907
908			i2c14: i2c@880000 {
909				compatible = "qcom,geni-i2c";
910				reg = <0x0 0x880000 0x0 0x4000>;
911				#address-cells = <1>;
912				#size-cells = <0>;
913				interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
914				clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
915				clock-names = "se";
916				pinctrl-0 = <&qup_i2c14_default>;
917				pinctrl-names = "default";
918				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
919						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
920						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
921						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
922						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
923						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
924				interconnect-names = "qup-core",
925						     "qup-config",
926						     "qup-memory";
927				power-domains = <&rpmhpd SA8775P_CX>;
928				dmas = <&gpi_dma2 0 0 QCOM_GPI_I2C>,
929				       <&gpi_dma2 1 0 QCOM_GPI_I2C>;
930				dma-names = "tx",
931					    "rx";
932				status = "disabled";
933			};
934
935			spi14: spi@880000 {
936				compatible = "qcom,geni-spi";
937				reg = <0x0 0x880000 0x0 0x4000>;
938				#address-cells = <1>;
939				#size-cells = <0>;
940				interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
941				clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
942				clock-names = "se";
943				pinctrl-0 = <&qup_spi14_default>;
944				pinctrl-names = "default";
945				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
946						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
947						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
948						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
949						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
950						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
951				interconnect-names = "qup-core",
952						     "qup-config",
953						     "qup-memory";
954				power-domains = <&rpmhpd SA8775P_CX>;
955				dmas = <&gpi_dma2 0 0 QCOM_GPI_SPI>,
956				       <&gpi_dma2 1 0 QCOM_GPI_SPI>;
957				dma-names = "tx",
958					    "rx";
959				status = "disabled";
960			};
961
962			uart14: serial@880000 {
963				compatible = "qcom,geni-uart";
964				reg = <0x0 0x00880000 0x0 0x4000>;
965				interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
966				clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>;
967				clock-names = "se";
968				pinctrl-0 = <&qup_uart14_default>;
969				pinctrl-names = "default";
970				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
971						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
972						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
973						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>;
974				interconnect-names = "qup-core", "qup-config";
975				power-domains = <&rpmhpd SA8775P_CX>;
976				status = "disabled";
977			};
978
979			i2c15: i2c@884000 {
980				compatible = "qcom,geni-i2c";
981				reg = <0x0 0x884000 0x0 0x4000>;
982				#address-cells = <1>;
983				#size-cells = <0>;
984				interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
985				clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
986				clock-names = "se";
987				pinctrl-0 = <&qup_i2c15_default>;
988				pinctrl-names = "default";
989				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
990						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
991						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
992						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
993						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
994						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
995				interconnect-names = "qup-core",
996						     "qup-config",
997						     "qup-memory";
998				power-domains = <&rpmhpd SA8775P_CX>;
999				dmas = <&gpi_dma2 0 1 QCOM_GPI_I2C>,
1000				       <&gpi_dma2 1 1 QCOM_GPI_I2C>;
1001				dma-names = "tx",
1002					    "rx";
1003				status = "disabled";
1004			};
1005
1006			spi15: spi@884000 {
1007				compatible = "qcom,geni-spi";
1008				reg = <0x0 0x884000 0x0 0x4000>;
1009				#address-cells = <1>;
1010				#size-cells = <0>;
1011				interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
1012				clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
1013				clock-names = "se";
1014				pinctrl-0 = <&qup_spi15_default>;
1015				pinctrl-names = "default";
1016				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1017						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1018						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1019						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1020						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1021						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1022				interconnect-names = "qup-core",
1023						     "qup-config",
1024						     "qup-memory";
1025				power-domains = <&rpmhpd SA8775P_CX>;
1026				dmas = <&gpi_dma2 0 1 QCOM_GPI_SPI>,
1027				       <&gpi_dma2 1 1 QCOM_GPI_SPI>;
1028				dma-names = "tx",
1029					    "rx";
1030				status = "disabled";
1031			};
1032
1033			uart15: serial@884000 {
1034				compatible = "qcom,geni-uart";
1035				reg = <0x0 0x00884000 0x0 0x4000>;
1036				interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
1037				clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
1038				clock-names = "se";
1039				pinctrl-0 = <&qup_uart15_default>;
1040				pinctrl-names = "default";
1041				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1042						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1043						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1044						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>;
1045				interconnect-names = "qup-core", "qup-config";
1046				power-domains = <&rpmhpd SA8775P_CX>;
1047				status = "disabled";
1048			};
1049
1050			i2c16: i2c@888000 {
1051				compatible = "qcom,geni-i2c";
1052				reg = <0x0 0x888000 0x0 0x4000>;
1053				#address-cells = <1>;
1054				#size-cells = <0>;
1055				interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
1056				clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
1057				clock-names = "se";
1058				pinctrl-0 = <&qup_i2c16_default>;
1059				pinctrl-names = "default";
1060				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1061						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1062						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1063						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1064						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1065						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1066				interconnect-names = "qup-core",
1067						     "qup-config",
1068						     "qup-memory";
1069				power-domains = <&rpmhpd SA8775P_CX>;
1070				dmas = <&gpi_dma2 0 2 QCOM_GPI_I2C>,
1071				       <&gpi_dma2 1 2 QCOM_GPI_I2C>;
1072				dma-names = "tx",
1073					    "rx";
1074				status = "disabled";
1075			};
1076
1077			spi16: spi@888000 {
1078				compatible = "qcom,geni-spi";
1079				reg = <0x0 0x00888000 0x0 0x4000>;
1080				interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
1081				clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
1082				clock-names = "se";
1083				pinctrl-0 = <&qup_spi16_default>;
1084				pinctrl-names = "default";
1085				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1086						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1087						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1088						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1089						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1090						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1091				interconnect-names = "qup-core",
1092						     "qup-config",
1093						     "qup-memory";
1094				power-domains = <&rpmhpd SA8775P_CX>;
1095				dmas = <&gpi_dma2 0 2 QCOM_GPI_SPI>,
1096				       <&gpi_dma2 1 2 QCOM_GPI_SPI>;
1097				dma-names = "tx",
1098					    "rx";
1099				#address-cells = <1>;
1100				#size-cells = <0>;
1101				status = "disabled";
1102			};
1103
1104			uart16: serial@888000 {
1105				compatible = "qcom,geni-uart";
1106				reg = <0x0 0x00888000 0x0 0x4000>;
1107				interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
1108				clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
1109				clock-names = "se";
1110				pinctrl-0 = <&qup_uart16_default>;
1111				pinctrl-names = "default";
1112				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1113						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1114						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1115						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>;
1116				interconnect-names = "qup-core", "qup-config";
1117				power-domains = <&rpmhpd SA8775P_CX>;
1118				status = "disabled";
1119			};
1120
1121			i2c17: i2c@88c000 {
1122				compatible = "qcom,geni-i2c";
1123				reg = <0x0 0x88c000 0x0 0x4000>;
1124				#address-cells = <1>;
1125				#size-cells = <0>;
1126				interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
1127				clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
1128				clock-names = "se";
1129				pinctrl-0 = <&qup_i2c17_default>;
1130				pinctrl-names = "default";
1131				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1132						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1133						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1134						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1135						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1136						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1137				interconnect-names = "qup-core",
1138						     "qup-config",
1139						     "qup-memory";
1140				power-domains = <&rpmhpd SA8775P_CX>;
1141				dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>,
1142				       <&gpi_dma2 1 3 QCOM_GPI_I2C>;
1143				dma-names = "tx",
1144					    "rx";
1145				status = "disabled";
1146			};
1147
1148			spi17: spi@88c000 {
1149				compatible = "qcom,geni-spi";
1150				reg = <0x0 0x88c000 0x0 0x4000>;
1151				#address-cells = <1>;
1152				#size-cells = <0>;
1153				interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
1154				clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
1155				clock-names = "se";
1156				pinctrl-0 = <&qup_spi17_default>;
1157				pinctrl-names = "default";
1158				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1159						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1160						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1161						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1162						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1163						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1164				interconnect-names = "qup-core",
1165						     "qup-config",
1166						     "qup-memory";
1167				power-domains = <&rpmhpd SA8775P_CX>;
1168				dmas = <&gpi_dma2 0 3 QCOM_GPI_SPI>,
1169				       <&gpi_dma2 1 3 QCOM_GPI_SPI>;
1170				dma-names = "tx",
1171					    "rx";
1172				status = "disabled";
1173			};
1174
1175			uart17: serial@88c000 {
1176				compatible = "qcom,geni-uart";
1177				reg = <0x0 0x0088c000 0x0 0x4000>;
1178				interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
1179				clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
1180				clock-names = "se";
1181				pinctrl-0 = <&qup_uart17_default>;
1182				pinctrl-names = "default";
1183				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1184						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1185						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1186						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>;
1187				interconnect-names = "qup-core", "qup-config";
1188				power-domains = <&rpmhpd SA8775P_CX>;
1189				status = "disabled";
1190			};
1191
1192			i2c18: i2c@890000 {
1193				compatible = "qcom,geni-i2c";
1194				reg = <0x0 0x00890000 0x0 0x4000>;
1195				interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
1196				clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
1197				clock-names = "se";
1198				pinctrl-0 = <&qup_i2c18_default>;
1199				pinctrl-names = "default";
1200				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1201						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1202						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1203						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1204						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1205						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1206				interconnect-names = "qup-core",
1207						     "qup-config",
1208						     "qup-memory";
1209				power-domains = <&rpmhpd SA8775P_CX>;
1210				dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>,
1211				       <&gpi_dma2 1 4 QCOM_GPI_I2C>;
1212				dma-names = "tx",
1213					    "rx";
1214				#address-cells = <1>;
1215				#size-cells = <0>;
1216				status = "disabled";
1217			};
1218
1219			spi18: spi@890000 {
1220				compatible = "qcom,geni-spi";
1221				reg = <0x0 0x890000 0x0 0x4000>;
1222				#address-cells = <1>;
1223				#size-cells = <0>;
1224				interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
1225				clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
1226				clock-names = "se";
1227				pinctrl-0 = <&qup_spi18_default>;
1228				pinctrl-names = "default";
1229				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1230						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1231						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1232						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1233						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1234						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1235				interconnect-names = "qup-core",
1236						     "qup-config",
1237						     "qup-memory";
1238				power-domains = <&rpmhpd SA8775P_CX>;
1239				dmas = <&gpi_dma2 0 4 QCOM_GPI_SPI>,
1240				       <&gpi_dma2 1 4 QCOM_GPI_SPI>;
1241				dma-names = "tx",
1242					    "rx";
1243				status = "disabled";
1244			};
1245
1246			uart18: serial@890000 {
1247				compatible = "qcom,geni-uart";
1248				reg = <0x0 0x00890000 0x0 0x4000>;
1249				interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
1250				clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>;
1251				clock-names = "se";
1252				pinctrl-0 = <&qup_uart18_default>;
1253				pinctrl-names = "default";
1254				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1255						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1256						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1257						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>;
1258				interconnect-names = "qup-core", "qup-config";
1259				power-domains = <&rpmhpd SA8775P_CX>;
1260				status = "disabled";
1261			};
1262
1263			i2c19: i2c@894000 {
1264				compatible = "qcom,geni-i2c";
1265				reg = <0x0 0x894000 0x0 0x4000>;
1266				#address-cells = <1>;
1267				#size-cells = <0>;
1268				interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
1269				clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
1270				clock-names = "se";
1271				pinctrl-0 = <&qup_i2c19_default>;
1272				pinctrl-names = "default";
1273				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1274						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1275						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1276						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1277						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1278						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1279				interconnect-names = "qup-core",
1280						     "qup-config",
1281						     "qup-memory";
1282				power-domains = <&rpmhpd SA8775P_CX>;
1283				dmas = <&gpi_dma2 0 5 QCOM_GPI_I2C>,
1284				       <&gpi_dma2 1 5 QCOM_GPI_I2C>;
1285				dma-names = "tx",
1286					    "rx";
1287				status = "disabled";
1288			};
1289
1290			spi19: spi@894000 {
1291				compatible = "qcom,geni-spi";
1292				reg = <0x0 0x894000 0x0 0x4000>;
1293				#address-cells = <1>;
1294				#size-cells = <0>;
1295				interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
1296				clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
1297				clock-names = "se";
1298				pinctrl-0 = <&qup_spi19_default>;
1299				pinctrl-names = "default";
1300				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1301						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1302						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1303						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1304						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1305						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1306				interconnect-names = "qup-core",
1307						     "qup-config",
1308						     "qup-memory";
1309				power-domains = <&rpmhpd SA8775P_CX>;
1310				dmas = <&gpi_dma2 0 5 QCOM_GPI_SPI>,
1311				       <&gpi_dma2 1 5 QCOM_GPI_SPI>;
1312				dma-names = "tx",
1313					    "rx";
1314				status = "disabled";
1315			};
1316
1317			uart19: serial@894000 {
1318				compatible = "qcom,geni-uart";
1319				reg = <0x0 0x00894000 0x0 0x4000>;
1320				interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
1321				clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
1322				clock-names = "se";
1323				pinctrl-0 = <&qup_uart19_default>;
1324				pinctrl-names = "default";
1325				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1326						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1327						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1328						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>;
1329				interconnect-names = "qup-core", "qup-config";
1330				power-domains = <&rpmhpd SA8775P_CX>;
1331				status = "disabled";
1332			};
1333
1334			i2c20: i2c@898000 {
1335				compatible = "qcom,geni-i2c";
1336				reg = <0x0 0x898000 0x0 0x4000>;
1337				#address-cells = <1>;
1338				#size-cells = <0>;
1339				interrupts = <GIC_SPI 834 IRQ_TYPE_LEVEL_HIGH>;
1340				clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>;
1341				clock-names = "se";
1342				pinctrl-0 = <&qup_i2c20_default>;
1343				pinctrl-names = "default";
1344				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1345						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1346						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1347						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1348						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1349						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1350				interconnect-names = "qup-core",
1351						     "qup-config",
1352						     "qup-memory";
1353				power-domains = <&rpmhpd SA8775P_CX>;
1354				dmas = <&gpi_dma2 0 6 QCOM_GPI_I2C>,
1355				       <&gpi_dma2 1 6 QCOM_GPI_I2C>;
1356				dma-names = "tx",
1357					    "rx";
1358				status = "disabled";
1359			};
1360
1361			spi20: spi@898000 {
1362				compatible = "qcom,geni-spi";
1363				reg = <0x0 0x898000 0x0 0x4000>;
1364				#address-cells = <1>;
1365				#size-cells = <0>;
1366				interrupts = <GIC_SPI 834 IRQ_TYPE_LEVEL_HIGH>;
1367				clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>;
1368				clock-names = "se";
1369				pinctrl-0 = <&qup_spi20_default>;
1370				pinctrl-names = "default";
1371				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1372						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1373						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1374						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>,
1375						<&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS
1376						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1377				interconnect-names = "qup-core",
1378						     "qup-config",
1379						     "qup-memory";
1380				power-domains = <&rpmhpd SA8775P_CX>;
1381				dmas = <&gpi_dma2 0 6 QCOM_GPI_SPI>,
1382				       <&gpi_dma2 1 6 QCOM_GPI_SPI>;
1383				dma-names = "tx",
1384					    "rx";
1385				status = "disabled";
1386			};
1387
1388			uart20: serial@898000 {
1389				compatible = "qcom,geni-uart";
1390				reg = <0x0 0x00898000 0x0 0x4000>;
1391				interrupts = <GIC_SPI 834 IRQ_TYPE_LEVEL_HIGH>;
1392				clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>;
1393				clock-names = "se";
1394				pinctrl-0 = <&qup_uart20_default>;
1395				pinctrl-names = "default";
1396				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
1397						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
1398						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1399						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>;
1400				interconnect-names = "qup-core", "qup-config";
1401				power-domains = <&rpmhpd SA8775P_CX>;
1402				status = "disabled";
1403			};
1404
1405		};
1406
1407		gpi_dma0: dma-controller@900000  {
1408			compatible = "qcom,sa8775p-gpi-dma", "qcom,sm6350-gpi-dma";
1409			reg = <0x0 0x00900000 0x0 0x60000>;
1410			#dma-cells = <3>;
1411			interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
1412				     <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
1413				     <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
1414				     <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
1415				     <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
1416				     <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
1417				     <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
1418				     <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
1419				     <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
1420				     <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
1421				     <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
1422				     <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>;
1423			dma-channels = <12>;
1424			dma-channel-mask = <0xfff>;
1425			iommus = <&apps_smmu 0x416 0x0>;
1426			status = "disabled";
1427		};
1428
1429		qupv3_id_0: geniqup@9c0000 {
1430			compatible = "qcom,geni-se-qup";
1431			reg = <0x0 0x9c0000 0x0 0x6000>;
1432			#address-cells = <2>;
1433			#size-cells = <2>;
1434			ranges;
1435			clock-names = "m-ahb", "s-ahb";
1436			clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
1437				<&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
1438			iommus = <&apps_smmu 0x403 0x0>;
1439			status = "disabled";
1440
1441			i2c0: i2c@980000 {
1442				compatible = "qcom,geni-i2c";
1443				reg = <0x0 0x980000 0x0 0x4000>;
1444				#address-cells = <1>;
1445				#size-cells = <0>;
1446				interrupts = <GIC_SPI 550 IRQ_TYPE_LEVEL_HIGH>;
1447				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1448				clock-names = "se";
1449				pinctrl-0 = <&qup_i2c0_default>;
1450				pinctrl-names = "default";
1451				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1452						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1453						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1454						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
1455						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
1456						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1457				interconnect-names = "qup-core",
1458						     "qup-config",
1459						     "qup-memory";
1460				power-domains = <&rpmhpd SA8775P_CX>;
1461				dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
1462				       <&gpi_dma0 1 0 QCOM_GPI_I2C>;
1463				dma-names = "tx",
1464					    "rx";
1465				status = "disabled";
1466			};
1467
1468			spi0: spi@980000 {
1469				compatible = "qcom,geni-spi";
1470				reg = <0x0 0x980000 0x0 0x4000>;
1471				#address-cells = <1>;
1472				#size-cells = <0>;
1473				interrupts = <GIC_SPI 550 IRQ_TYPE_LEVEL_HIGH>;
1474				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1475				clock-names = "se";
1476				pinctrl-0 = <&qup_spi0_default>;
1477				pinctrl-names = "default";
1478				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1479						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1480						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1481						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
1482						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
1483						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1484				interconnect-names = "qup-core",
1485						     "qup-config",
1486						     "qup-memory";
1487				power-domains = <&rpmhpd SA8775P_CX>;
1488				dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
1489				     <&gpi_dma0 1 0 QCOM_GPI_SPI>;
1490				dma-names = "tx",
1491					    "rx";
1492				status = "disabled";
1493			};
1494
1495			uart0: serial@980000 {
1496				compatible = "qcom,geni-uart";
1497				reg = <0x0 0x980000 0x0 0x4000>;
1498				interrupts = <GIC_SPI 550 IRQ_TYPE_LEVEL_HIGH>;
1499				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1500				clock-names = "se";
1501				pinctrl-0 = <&qup_uart0_default>;
1502				pinctrl-names = "default";
1503				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1504						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1505						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1506						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>;
1507				interconnect-names = "qup-core", "qup-config";
1508				power-domains = <&rpmhpd SA8775P_CX>;
1509				status = "disabled";
1510			};
1511
1512			i2c1: i2c@984000 {
1513				compatible = "qcom,geni-i2c";
1514				reg = <0x0 0x984000 0x0 0x4000>;
1515				#address-cells = <1>;
1516				#size-cells = <0>;
1517				interrupts = <GIC_SPI 551 IRQ_TYPE_LEVEL_HIGH>;
1518				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1519				clock-names = "se";
1520				pinctrl-0 = <&qup_i2c1_default>;
1521				pinctrl-names = "default";
1522				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1523						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1524						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1525						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
1526						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
1527						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1528				interconnect-names = "qup-core",
1529						     "qup-config",
1530						     "qup-memory";
1531				power-domains = <&rpmhpd SA8775P_CX>;
1532				dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
1533				       <&gpi_dma0 1 1 QCOM_GPI_I2C>;
1534				dma-names = "tx",
1535					    "rx";
1536				status = "disabled";
1537			};
1538
1539			spi1: spi@984000 {
1540				compatible = "qcom,geni-spi";
1541				reg = <0x0 0x984000 0x0 0x4000>;
1542				#address-cells = <1>;
1543				#size-cells = <0>;
1544				interrupts = <GIC_SPI 551 IRQ_TYPE_LEVEL_HIGH>;
1545				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1546				clock-names = "se";
1547				pinctrl-0 = <&qup_spi1_default>;
1548				pinctrl-names = "default";
1549				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1550						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1551						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1552						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
1553						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
1554						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1555				interconnect-names = "qup-core",
1556						     "qup-config",
1557						     "qup-memory";
1558				power-domains = <&rpmhpd SA8775P_CX>;
1559				dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>,
1560				       <&gpi_dma0 1 1 QCOM_GPI_SPI>;
1561				dma-names = "tx",
1562					    "rx";
1563				status = "disabled";
1564			};
1565
1566			uart1: serial@984000 {
1567				compatible = "qcom,geni-uart";
1568				reg = <0x0 0x984000 0x0 0x4000>;
1569				interrupts = <GIC_SPI 551 IRQ_TYPE_LEVEL_HIGH>;
1570				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1571				clock-names = "se";
1572				pinctrl-0 = <&qup_uart1_default>;
1573				pinctrl-names = "default";
1574				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1575						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1576						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1577						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>;
1578				interconnect-names = "qup-core", "qup-config";
1579				power-domains = <&rpmhpd SA8775P_CX>;
1580				status = "disabled";
1581			};
1582
1583			i2c2: i2c@988000 {
1584				compatible = "qcom,geni-i2c";
1585				reg = <0x0 0x988000 0x0 0x4000>;
1586				#address-cells = <1>;
1587				#size-cells = <0>;
1588				interrupts = <GIC_SPI 529 IRQ_TYPE_LEVEL_HIGH>;
1589				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1590				clock-names = "se";
1591				pinctrl-0 = <&qup_i2c2_default>;
1592				pinctrl-names = "default";
1593				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1594						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1595						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1596						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
1597						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
1598						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1599				interconnect-names = "qup-core",
1600						     "qup-config",
1601						     "qup-memory";
1602				power-domains = <&rpmhpd SA8775P_CX>;
1603				dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
1604				       <&gpi_dma0 1 2 QCOM_GPI_I2C>;
1605				dma-names = "tx",
1606					    "rx";
1607				status = "disabled";
1608			};
1609
1610			spi2: spi@988000 {
1611				compatible = "qcom,geni-spi";
1612				reg = <0x0 0x988000 0x0 0x4000>;
1613				#address-cells = <1>;
1614				#size-cells = <0>;
1615				interrupts = <GIC_SPI 529 IRQ_TYPE_LEVEL_HIGH>;
1616				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1617				clock-names = "se";
1618				pinctrl-0 = <&qup_spi2_default>;
1619				pinctrl-names = "default";
1620				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1621						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1622						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1623						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
1624						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
1625						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1626				interconnect-names = "qup-core",
1627						     "qup-config",
1628						     "qup-memory";
1629				power-domains = <&rpmhpd SA8775P_CX>;
1630				dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
1631				       <&gpi_dma0 1 2 QCOM_GPI_SPI>;
1632				dma-names = "tx",
1633					    "rx";
1634				status = "disabled";
1635			};
1636
1637			uart2: serial@988000 {
1638				compatible = "qcom,geni-uart";
1639				reg = <0x0 0x988000 0x0 0x4000>;
1640				interrupts = <GIC_SPI 529 IRQ_TYPE_LEVEL_HIGH>;
1641				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1642				clock-names = "se";
1643				pinctrl-0 = <&qup_uart2_default>;
1644				pinctrl-names = "default";
1645				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1646						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1647						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1648						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>;
1649				interconnect-names = "qup-core", "qup-config";
1650				power-domains = <&rpmhpd SA8775P_CX>;
1651				status = "disabled";
1652			};
1653
1654			i2c3: i2c@98c000 {
1655				compatible = "qcom,geni-i2c";
1656				reg = <0x0 0x98c000 0x0 0x4000>;
1657				#address-cells = <1>;
1658				#size-cells = <0>;
1659				interrupts = <GIC_SPI 530 IRQ_TYPE_LEVEL_HIGH>;
1660				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1661				clock-names = "se";
1662				pinctrl-0 = <&qup_i2c3_default>;
1663				pinctrl-names = "default";
1664				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1665						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1666						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1667						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
1668						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
1669						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1670				interconnect-names = "qup-core",
1671						     "qup-config",
1672						     "qup-memory";
1673				power-domains = <&rpmhpd SA8775P_CX>;
1674				dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
1675				       <&gpi_dma0 1 3 QCOM_GPI_I2C>;
1676				dma-names = "tx",
1677					    "rx";
1678				status = "disabled";
1679			};
1680
1681			spi3: spi@98c000 {
1682				compatible = "qcom,geni-spi";
1683				reg = <0x0 0x98c000 0x0 0x4000>;
1684				#address-cells = <1>;
1685				#size-cells = <0>;
1686				interrupts = <GIC_SPI 530 IRQ_TYPE_LEVEL_HIGH>;
1687				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1688				clock-names = "se";
1689				pinctrl-0 = <&qup_spi3_default>;
1690				pinctrl-names = "default";
1691				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1692						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1693						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1694						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
1695						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
1696						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1697				interconnect-names = "qup-core",
1698						     "qup-config",
1699						     "qup-memory";
1700				power-domains = <&rpmhpd SA8775P_CX>;
1701				dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>,
1702				       <&gpi_dma0 1 3 QCOM_GPI_SPI>;
1703				dma-names = "tx",
1704					    "rx";
1705				status = "disabled";
1706			};
1707
1708			uart3: serial@98c000 {
1709				compatible = "qcom,geni-uart";
1710				reg = <0x0 0x98c000 0x0 0x4000>;
1711				interrupts = <GIC_SPI 530 IRQ_TYPE_LEVEL_HIGH>;
1712				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1713				clock-names = "se";
1714				pinctrl-0 = <&qup_uart3_default>;
1715				pinctrl-names = "default";
1716				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1717						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1718						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1719						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>;
1720				interconnect-names = "qup-core", "qup-config";
1721				power-domains = <&rpmhpd SA8775P_CX>;
1722				status = "disabled";
1723			};
1724
1725			i2c4: i2c@990000 {
1726				compatible = "qcom,geni-i2c";
1727				reg = <0x0 0x990000 0x0 0x4000>;
1728				#address-cells = <1>;
1729				#size-cells = <0>;
1730				interrupts = <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>;
1731				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1732				clock-names = "se";
1733				pinctrl-0 = <&qup_i2c4_default>;
1734				pinctrl-names = "default";
1735				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1736						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1737						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1738						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
1739						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
1740						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1741				interconnect-names = "qup-core",
1742						     "qup-config",
1743						     "qup-memory";
1744				power-domains = <&rpmhpd SA8775P_CX>;
1745				dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
1746				       <&gpi_dma0 1 4 QCOM_GPI_I2C>;
1747				dma-names = "tx",
1748					    "rx";
1749				status = "disabled";
1750			};
1751
1752			spi4: spi@990000 {
1753				compatible = "qcom,geni-spi";
1754				reg = <0x0 0x990000 0x0 0x4000>;
1755				#address-cells = <1>;
1756				#size-cells = <0>;
1757				interrupts = <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>;
1758				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1759				clock-names = "se";
1760				pinctrl-0 = <&qup_spi4_default>;
1761				pinctrl-names = "default";
1762				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1763						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1764						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1765						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
1766						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
1767						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1768				interconnect-names = "qup-core",
1769						     "qup-config",
1770						     "qup-memory";
1771				power-domains = <&rpmhpd SA8775P_CX>;
1772				dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>,
1773				       <&gpi_dma0 1 4 QCOM_GPI_SPI>;
1774				dma-names = "tx",
1775					    "rx";
1776				status = "disabled";
1777			};
1778
1779			uart4: serial@990000 {
1780				compatible = "qcom,geni-uart";
1781				reg = <0x0 0x990000 0x0 0x4000>;
1782				interrupts = <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>;
1783				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1784				clock-names = "se";
1785				pinctrl-0 = <&qup_uart4_default>;
1786				pinctrl-names = "default";
1787				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1788						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1789						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1790						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>;
1791				interconnect-names = "qup-core", "qup-config";
1792				power-domains = <&rpmhpd SA8775P_CX>;
1793				status = "disabled";
1794			};
1795
1796			i2c5: i2c@994000 {
1797				compatible = "qcom,geni-i2c";
1798				reg = <0x0 0x994000 0x0 0x4000>;
1799				#address-cells = <1>;
1800				#size-cells = <0>;
1801				interrupts = <GIC_SPI 535 IRQ_TYPE_LEVEL_HIGH>;
1802				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1803				clock-names = "se";
1804				pinctrl-0 = <&qup_i2c5_default>;
1805				pinctrl-names = "default";
1806				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1807						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1808						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1809						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
1810						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
1811						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1812				interconnect-names = "qup-core",
1813						     "qup-config",
1814						     "qup-memory";
1815				power-domains = <&rpmhpd SA8775P_CX>;
1816				dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
1817				       <&gpi_dma0 1 5 QCOM_GPI_I2C>;
1818				dma-names = "tx",
1819					    "rx";
1820				status = "disabled";
1821			};
1822
1823			spi5: spi@994000 {
1824				compatible = "qcom,geni-spi";
1825				reg = <0x0 0x994000 0x0 0x4000>;
1826				#address-cells = <1>;
1827				#size-cells = <0>;
1828				interrupts = <GIC_SPI 535 IRQ_TYPE_LEVEL_HIGH>;
1829				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1830				clock-names = "se";
1831				pinctrl-0 = <&qup_spi5_default>;
1832				pinctrl-names = "default";
1833				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1834						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1835						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1836						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
1837						<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
1838						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1839				interconnect-names = "qup-core",
1840						     "qup-config",
1841						     "qup-memory";
1842				power-domains = <&rpmhpd SA8775P_CX>;
1843				dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>,
1844				       <&gpi_dma0 1 5 QCOM_GPI_SPI>;
1845				dma-names = "tx",
1846					    "rx";
1847				status = "disabled";
1848			};
1849
1850			uart5: serial@994000 {
1851				compatible = "qcom,geni-uart";
1852				reg = <0x0 0x994000 0x0 0x4000>;
1853				interrupts = <GIC_SPI 535 IRQ_TYPE_LEVEL_HIGH>;
1854				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1855				clock-names = "se";
1856				pinctrl-0 = <&qup_uart5_default>;
1857				pinctrl-names = "default";
1858				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
1859						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
1860						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1861						 &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>;
1862				interconnect-names = "qup-core", "qup-config";
1863				power-domains = <&rpmhpd SA8775P_CX>;
1864				status = "disabled";
1865			};
1866		};
1867
1868		gpi_dma1: dma-controller@a00000  {
1869			compatible = "qcom,sa8775p-gpi-dma", "qcom,sm6350-gpi-dma";
1870			reg = <0x0 0x00a00000 0x0 0x60000>;
1871			#dma-cells = <3>;
1872			interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
1873				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
1874				     <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
1875				     <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
1876				     <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
1877				     <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
1878				     <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
1879				     <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
1880				     <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
1881				     <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>,
1882				     <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>,
1883				     <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>;
1884			iommus = <&apps_smmu 0x456 0x0>;
1885			dma-channels = <12>;
1886			dma-channel-mask = <0xfff>;
1887			status = "disabled";
1888		};
1889
1890		qupv3_id_1: geniqup@ac0000 {
1891			compatible = "qcom,geni-se-qup";
1892			reg = <0x0 0x00ac0000 0x0 0x6000>;
1893			#address-cells = <2>;
1894			#size-cells = <2>;
1895			ranges;
1896			clock-names = "m-ahb", "s-ahb";
1897			clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
1898				 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
1899			iommus = <&apps_smmu 0x443 0x0>;
1900			status = "disabled";
1901
1902			i2c7: i2c@a80000 {
1903				compatible = "qcom,geni-i2c";
1904				reg = <0x0 0xa80000 0x0 0x4000>;
1905				#address-cells = <1>;
1906				#size-cells = <0>;
1907				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1908				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1909				clock-names = "se";
1910				pinctrl-0 = <&qup_i2c7_default>;
1911				pinctrl-names = "default";
1912				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1913						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1914						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1915						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1916						<&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1917						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1918				interconnect-names = "qup-core",
1919						     "qup-config",
1920						     "qup-memory";
1921				power-domains = <&rpmhpd SA8775P_CX>;
1922				dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
1923				       <&gpi_dma1 1 0 QCOM_GPI_I2C>;
1924				dma-names = "tx",
1925					    "rx";
1926				status = "disabled";
1927			};
1928
1929			spi7: spi@a80000 {
1930				compatible = "qcom,geni-spi";
1931				reg = <0x0 0xa80000 0x0 0x4000>;
1932				#address-cells = <1>;
1933				#size-cells = <0>;
1934				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1935				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1936				clock-names = "se";
1937				pinctrl-0 = <&qup_spi7_default>;
1938				pinctrl-names = "default";
1939				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1940						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1941						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1942						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1943						<&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1944						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1945				interconnect-names = "qup-core",
1946						     "qup-config",
1947						     "qup-memory";
1948				power-domains = <&rpmhpd SA8775P_CX>;
1949				dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>,
1950				       <&gpi_dma1 1 0 QCOM_GPI_SPI>;
1951				dma-names = "tx",
1952					    "rx";
1953				status = "disabled";
1954			};
1955
1956			uart7: serial@a80000 {
1957				compatible = "qcom,geni-uart";
1958				reg = <0x0 0x00a80000 0x0 0x4000>;
1959				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1960				clock-names = "se";
1961				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1962				pinctrl-0 = <&qup_uart7_default>;
1963				pinctrl-names = "default";
1964				interconnect-names = "qup-core", "qup-config";
1965				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1966						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1967						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1968						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>;
1969				power-domains = <&rpmhpd SA8775P_CX>;
1970				operating-points-v2 = <&qup_opp_table_100mhz>;
1971				status = "disabled";
1972			};
1973
1974			i2c8: i2c@a84000 {
1975				compatible = "qcom,geni-i2c";
1976				reg = <0x0 0xa84000 0x0 0x4000>;
1977				#address-cells = <1>;
1978				#size-cells = <0>;
1979				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1980				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1981				clock-names = "se";
1982				pinctrl-0 = <&qup_i2c8_default>;
1983				pinctrl-names = "default";
1984				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1985						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1986						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1987						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
1988						<&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1989						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1990				interconnect-names = "qup-core",
1991						     "qup-config",
1992						     "qup-memory";
1993				power-domains = <&rpmhpd SA8775P_CX>;
1994				dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
1995				       <&gpi_dma1 1 1 QCOM_GPI_I2C>;
1996				dma-names = "tx",
1997					    "rx";
1998				status = "disabled";
1999			};
2000
2001			spi8: spi@a84000 {
2002				compatible = "qcom,geni-spi";
2003				reg = <0x0 0xa84000 0x0 0x4000>;
2004				#address-cells = <1>;
2005				#size-cells = <0>;
2006				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
2007				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
2008				clock-names = "se";
2009				pinctrl-0 = <&qup_spi8_default>;
2010				pinctrl-names = "default";
2011				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2012						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2013						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2014						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
2015						<&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
2016						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2017				interconnect-names = "qup-core",
2018						     "qup-config",
2019						     "qup-memory";
2020				power-domains = <&rpmhpd SA8775P_CX>;
2021				dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>,
2022				       <&gpi_dma1 1 1 QCOM_GPI_SPI>;
2023				dma-names = "tx",
2024					    "rx";
2025				status = "disabled";
2026			};
2027
2028			uart8: serial@a84000 {
2029				compatible = "qcom,geni-uart";
2030				reg = <0x0 0x00a84000 0x0 0x4000>;
2031				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
2032				clock-names = "se";
2033				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
2034				pinctrl-0 = <&qup_uart8_default>;
2035				pinctrl-names = "default";
2036				interconnect-names = "qup-core", "qup-config";
2037				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2038						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2039						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2040						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>;
2041				power-domains = <&rpmhpd SA8775P_CX>;
2042				operating-points-v2 = <&qup_opp_table_100mhz>;
2043				status = "disabled";
2044			};
2045
2046			i2c9: i2c@a88000 {
2047				compatible = "qcom,geni-i2c";
2048				reg = <0x0 0xa88000 0x0 0x4000>;
2049				#address-cells = <1>;
2050				#size-cells = <0>;
2051				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
2052				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
2053				clock-names = "se";
2054				pinctrl-0 = <&qup_i2c9_default>;
2055				pinctrl-names = "default";
2056				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2057						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2058						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2059						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
2060						<&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
2061						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2062				interconnect-names = "qup-core",
2063						     "qup-config",
2064						     "qup-memory";
2065				power-domains = <&rpmhpd SA8775P_CX>;
2066				dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
2067				       <&gpi_dma1 1 2 QCOM_GPI_I2C>;
2068				dma-names = "tx",
2069					    "rx";
2070				status = "disabled";
2071			};
2072
2073			spi9: spi@a88000 {
2074				compatible = "qcom,geni-spi";
2075				reg = <0x0 0xa88000 0x0 0x4000>;
2076				#address-cells = <1>;
2077				#size-cells = <0>;
2078				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
2079				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
2080				clock-names = "se";
2081				pinctrl-0 = <&qup_spi9_default>;
2082				pinctrl-names = "default";
2083				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2084						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2085						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2086						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
2087						<&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
2088						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2089				interconnect-names = "qup-core",
2090						     "qup-config",
2091						     "qup-memory";
2092				power-domains = <&rpmhpd SA8775P_CX>;
2093				dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>,
2094				       <&gpi_dma1 1 2 QCOM_GPI_SPI>;
2095				dma-names = "tx",
2096					    "rx";
2097				status = "disabled";
2098			};
2099
2100			uart9: serial@a88000 {
2101				compatible = "qcom,geni-uart";
2102				reg = <0x0 0xa88000 0x0 0x4000>;
2103				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
2104				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
2105				clock-names = "se";
2106				pinctrl-0 = <&qup_uart9_default>;
2107				pinctrl-names = "default";
2108				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2109						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2110						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2111						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>;
2112				interconnect-names = "qup-core", "qup-config";
2113				power-domains = <&rpmhpd SA8775P_CX>;
2114				status = "disabled";
2115			};
2116
2117			i2c10: i2c@a8c000 {
2118				compatible = "qcom,geni-i2c";
2119				reg = <0x0 0xa8c000 0x0 0x4000>;
2120				#address-cells = <1>;
2121				#size-cells = <0>;
2122				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
2123				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
2124				clock-names = "se";
2125				pinctrl-0 = <&qup_i2c10_default>;
2126				pinctrl-names = "default";
2127				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2128						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2129						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2130						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
2131						<&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
2132						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2133				interconnect-names = "qup-core",
2134						     "qup-config",
2135						     "qup-memory";
2136				power-domains = <&rpmhpd SA8775P_CX>;
2137				dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
2138				       <&gpi_dma1 1 3 QCOM_GPI_I2C>;
2139				dma-names = "tx",
2140					    "rx";
2141				status = "disabled";
2142			};
2143
2144			spi10: spi@a8c000 {
2145				compatible = "qcom,geni-spi";
2146				reg = <0x0 0xa8c000 0x0 0x4000>;
2147				#address-cells = <1>;
2148				#size-cells = <0>;
2149				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
2150				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
2151				clock-names = "se";
2152				pinctrl-0 = <&qup_spi10_default>;
2153				pinctrl-names = "default";
2154				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2155						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2156						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2157						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
2158						<&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
2159						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2160				interconnect-names = "qup-core",
2161						     "qup-config",
2162						     "qup-memory";
2163				power-domains = <&rpmhpd SA8775P_CX>;
2164				dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>,
2165				       <&gpi_dma1 1 3 QCOM_GPI_SPI>;
2166				dma-names = "tx",
2167					    "rx";
2168				status = "disabled";
2169			};
2170
2171			uart10: serial@a8c000 {
2172				compatible = "qcom,geni-uart";
2173				reg = <0x0 0x00a8c000 0x0 0x4000>;
2174				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
2175				clock-names = "se";
2176				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
2177				pinctrl-0 = <&qup_uart10_default>;
2178				pinctrl-names = "default";
2179				interconnect-names = "qup-core", "qup-config";
2180				interconnects = <&clk_virt MASTER_QUP_CORE_1 0
2181						 &clk_virt SLAVE_QUP_CORE_1 0>,
2182						<&gem_noc MASTER_APPSS_PROC 0
2183						 &config_noc SLAVE_QUP_1 0>;
2184				power-domains = <&rpmhpd SA8775P_CX>;
2185				operating-points-v2 = <&qup_opp_table_100mhz>;
2186				status = "disabled";
2187			};
2188
2189			i2c11: i2c@a90000 {
2190				compatible = "qcom,geni-i2c";
2191				reg = <0x0 0xa90000 0x0 0x4000>;
2192				#address-cells = <1>;
2193				#size-cells = <0>;
2194				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
2195				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
2196				clock-names = "se";
2197				pinctrl-0 = <&qup_i2c11_default>;
2198				pinctrl-names = "default";
2199				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2200						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2201						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2202						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
2203						<&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
2204						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2205				interconnect-names = "qup-core",
2206						     "qup-config",
2207						     "qup-memory";
2208				power-domains = <&rpmhpd SA8775P_CX>;
2209				dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
2210				       <&gpi_dma1 1 4 QCOM_GPI_I2C>;
2211				dma-names = "tx",
2212					    "rx";
2213				status = "disabled";
2214			};
2215
2216			spi11: spi@a90000 {
2217				compatible = "qcom,geni-spi";
2218				reg = <0x0 0xa90000 0x0 0x4000>;
2219				#address-cells = <1>;
2220				#size-cells = <0>;
2221				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
2222				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
2223				clock-names = "se";
2224				pinctrl-0 = <&qup_spi11_default>;
2225				pinctrl-names = "default";
2226				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2227						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2228						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2229						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
2230						<&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
2231						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2232				interconnect-names = "qup-core",
2233						     "qup-config",
2234						     "qup-memory";
2235				power-domains = <&rpmhpd SA8775P_CX>;
2236				dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>,
2237				       <&gpi_dma1 1 4 QCOM_GPI_SPI>;
2238				dma-names = "tx",
2239					    "rx";
2240				status = "disabled";
2241			};
2242
2243			uart11: serial@a90000 {
2244				compatible = "qcom,geni-uart";
2245				reg = <0x0 0x00a90000 0x0 0x4000>;
2246				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
2247				clock-names = "se";
2248				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
2249				pinctrl-0 = <&qup_uart11_default>;
2250				pinctrl-names = "default";
2251				interconnect-names = "qup-core", "qup-config";
2252				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2253						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2254						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2255						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>;
2256				power-domains = <&rpmhpd SA8775P_CX>;
2257				operating-points-v2 = <&qup_opp_table_100mhz>;
2258				status = "disabled";
2259			};
2260
2261			i2c12: i2c@a94000 {
2262				compatible = "qcom,geni-i2c";
2263				reg = <0x0 0xa94000 0x0 0x4000>;
2264				#address-cells = <1>;
2265				#size-cells = <0>;
2266				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
2267				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
2268				clock-names = "se";
2269				pinctrl-0 = <&qup_i2c12_default>;
2270				pinctrl-names = "default";
2271				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2272						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2273						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2274						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
2275						<&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
2276						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2277				interconnect-names = "qup-core",
2278						     "qup-config",
2279						     "qup-memory";
2280				power-domains = <&rpmhpd SA8775P_CX>;
2281				dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>,
2282				       <&gpi_dma1 1 5 QCOM_GPI_I2C>;
2283				dma-names = "tx",
2284					    "rx";
2285				status = "disabled";
2286			};
2287
2288			spi12: spi@a94000 {
2289				compatible = "qcom,geni-spi";
2290				reg = <0x0 0xa94000 0x0 0x4000>;
2291				#address-cells = <1>;
2292				#size-cells = <0>;
2293				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
2294				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
2295				clock-names = "se";
2296				pinctrl-0 = <&qup_spi12_default>;
2297				pinctrl-names = "default";
2298				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2299						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2300						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2301						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
2302						<&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
2303						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2304				interconnect-names = "qup-core",
2305						     "qup-config",
2306						     "qup-memory";
2307				power-domains = <&rpmhpd SA8775P_CX>;
2308				dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>,
2309				       <&gpi_dma1 1 5 QCOM_GPI_SPI>;
2310				dma-names = "tx",
2311					    "rx";
2312				status = "disabled";
2313			};
2314
2315			uart12: serial@a94000 {
2316				compatible = "qcom,geni-uart";
2317				reg = <0x0 0x00a94000 0x0 0x4000>;
2318				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
2319				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
2320				clock-names = "se";
2321				pinctrl-0 = <&qup_uart12_default>;
2322				pinctrl-names = "default";
2323				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2324						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2325						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2326						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>;
2327				interconnect-names = "qup-core", "qup-config";
2328				power-domains = <&rpmhpd SA8775P_CX>;
2329				status = "disabled";
2330			};
2331
2332			i2c13: i2c@a98000 {
2333				compatible = "qcom,geni-i2c";
2334				reg = <0x0 0xa98000 0x0 0x4000>;
2335				#address-cells = <1>;
2336				#size-cells = <0>;
2337				interrupts = <GIC_SPI 836 IRQ_TYPE_LEVEL_HIGH>;
2338				clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
2339				clock-names = "se";
2340				pinctrl-0 = <&qup_i2c13_default>;
2341				pinctrl-names = "default";
2342				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
2343						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
2344						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2345						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>,
2346						<&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
2347						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2348				interconnect-names = "qup-core",
2349						     "qup-config",
2350						     "qup-memory";
2351				power-domains = <&rpmhpd SA8775P_CX>;
2352				dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>,
2353				       <&gpi_dma1 1 6 QCOM_GPI_I2C>;
2354				dma-names = "tx",
2355					    "rx";
2356				status = "disabled";
2357
2358			};
2359		};
2360
2361		gpi_dma3: dma-controller@b00000  {
2362			compatible = "qcom,sa8775p-gpi-dma", "qcom,sm6350-gpi-dma";
2363			reg = <0x0 0x00b00000 0x0 0x58000>;
2364			#dma-cells = <3>;
2365			interrupts = <GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>,
2366				     <GIC_SPI 369 IRQ_TYPE_LEVEL_HIGH>,
2367				     <GIC_SPI 527 IRQ_TYPE_LEVEL_HIGH>,
2368				     <GIC_SPI 528 IRQ_TYPE_LEVEL_HIGH>;
2369			iommus = <&apps_smmu 0x056 0x0>;
2370			dma-channels = <4>;
2371			dma-channel-mask = <0xf>;
2372			status = "disabled";
2373		};
2374
2375		qupv3_id_3: geniqup@bc0000 {
2376			compatible = "qcom,geni-se-qup";
2377			reg = <0x0 0xbc0000 0x0 0x6000>;
2378			#address-cells = <2>;
2379			#size-cells = <2>;
2380			ranges;
2381			clock-names = "m-ahb", "s-ahb";
2382			clocks = <&gcc GCC_QUPV3_WRAP_3_M_AHB_CLK>,
2383				<&gcc GCC_QUPV3_WRAP_3_S_AHB_CLK>;
2384			iommus = <&apps_smmu 0x43 0x0>;
2385			status = "disabled";
2386
2387			i2c21: i2c@b80000 {
2388				compatible = "qcom,geni-i2c";
2389				reg = <0x0 0xb80000 0x0 0x4000>;
2390				#address-cells = <1>;
2391				#size-cells = <0>;
2392				interrupts = <GIC_SPI 831 IRQ_TYPE_LEVEL_HIGH>;
2393				clocks = <&gcc GCC_QUPV3_WRAP3_S0_CLK>;
2394				clock-names = "se";
2395				pinctrl-0 = <&qup_i2c21_default>;
2396				pinctrl-names = "default";
2397				interconnects = <&clk_virt MASTER_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS
2398						&clk_virt SLAVE_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS>,
2399					   <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2400						&config_noc SLAVE_QUP_3 QCOM_ICC_TAG_ALWAYS>,
2401					   <&aggre1_noc MASTER_QUP_3 QCOM_ICC_TAG_ALWAYS
2402						&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2403				interconnect-names = "qup-core",
2404							 "qup-config",
2405							 "qup-memory";
2406				power-domains = <&rpmhpd SA8775P_CX>;
2407				dmas = <&gpi_dma3 0 0 QCOM_GPI_I2C>,
2408				       <&gpi_dma3 1 0 QCOM_GPI_I2C>;
2409				dma-names = "tx",
2410					    "rx";
2411				status = "disabled";
2412			};
2413
2414			spi21: spi@b80000 {
2415				compatible = "qcom,geni-spi";
2416				reg = <0x0 0xb80000 0x0 0x4000>;
2417				#address-cells = <1>;
2418				#size-cells = <0>;
2419				interrupts = <GIC_SPI 831 IRQ_TYPE_LEVEL_HIGH>;
2420				clocks = <&gcc GCC_QUPV3_WRAP3_S0_CLK>;
2421				clock-names = "se";
2422				pinctrl-0 = <&qup_spi21_default>;
2423				pinctrl-names = "default";
2424				interconnects = <&clk_virt MASTER_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS
2425						&clk_virt SLAVE_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS>,
2426					   <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2427						&config_noc SLAVE_QUP_3 QCOM_ICC_TAG_ALWAYS>,
2428					   <&aggre1_noc MASTER_QUP_3 QCOM_ICC_TAG_ALWAYS
2429						&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
2430				interconnect-names = "qup-core",
2431							 "qup-config",
2432							 "qup-memory";
2433				power-domains = <&rpmhpd SA8775P_CX>;
2434				dmas = <&gpi_dma3 0 0 QCOM_GPI_SPI>,
2435				       <&gpi_dma3 1 0 QCOM_GPI_SPI>;
2436				dma-names = "tx",
2437					    "rx";
2438				status = "disabled";
2439			};
2440
2441			uart21: serial@b80000 {
2442				compatible = "qcom,geni-uart";
2443				reg = <0x0 0x00b80000 0x0 0x4000>;
2444				interrupts = <GIC_SPI 831 IRQ_TYPE_LEVEL_HIGH>;
2445				clock-names = "se";
2446				clocks = <&gcc GCC_QUPV3_WRAP3_S0_CLK>;
2447				interconnect-names = "qup-core", "qup-config";
2448				pinctrl-0 = <&qup_uart21_default>;
2449				pinctrl-names = "default";
2450				interconnects = <&clk_virt MASTER_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS
2451						 &clk_virt SLAVE_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS>,
2452						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
2453						 &config_noc SLAVE_QUP_3 QCOM_ICC_TAG_ALWAYS>;
2454				power-domains = <&rpmhpd SA8775P_CX>;
2455				operating-points-v2 = <&qup_opp_table_100mhz>;
2456				status = "disabled";
2457			};
2458		};
2459
2460		rng: rng@10d2000 {
2461			compatible = "qcom,sa8775p-trng", "qcom,trng";
2462			reg = <0 0x010d2000 0 0x1000>;
2463		};
2464
2465		ufs_mem_hc: ufshc@1d84000 {
2466			compatible = "qcom,sa8775p-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
2467			reg = <0x0 0x01d84000 0x0 0x3000>;
2468			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
2469			phys = <&ufs_mem_phy>;
2470			phy-names = "ufsphy";
2471			lanes-per-direction = <2>;
2472			#reset-cells = <1>;
2473			resets = <&gcc GCC_UFS_PHY_BCR>;
2474			reset-names = "rst";
2475			power-domains = <&gcc UFS_PHY_GDSC>;
2476			required-opps = <&rpmhpd_opp_nom>;
2477			iommus = <&apps_smmu 0x100 0x0>;
2478			dma-coherent;
2479			clocks = <&gcc GCC_UFS_PHY_AXI_CLK>,
2480				 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
2481				 <&gcc GCC_UFS_PHY_AHB_CLK>,
2482				 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
2483				 <&rpmhcc RPMH_CXO_CLK>,
2484				 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
2485				 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
2486				 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
2487			clock-names = "core_clk",
2488				      "bus_aggr_clk",
2489				      "iface_clk",
2490				      "core_clk_unipro",
2491				      "ref_clk",
2492				      "tx_lane0_sync_clk",
2493				      "rx_lane0_sync_clk",
2494				      "rx_lane1_sync_clk";
2495			freq-table-hz = <75000000 300000000>,
2496					<0 0>,
2497					<0 0>,
2498					<75000000 300000000>,
2499					<0 0>,
2500					<0 0>,
2501					<0 0>,
2502					<0 0>;
2503			qcom,ice = <&ice>;
2504			status = "disabled";
2505		};
2506
2507		ufs_mem_phy: phy@1d87000 {
2508			compatible = "qcom,sa8775p-qmp-ufs-phy";
2509			reg = <0x0 0x01d87000 0x0 0xe10>;
2510			/*
2511			 * Yes, GCC_EDP_REF_CLKREF_EN is correct in qref. It
2512			 * enables the CXO clock to eDP *and* UFS PHY.
2513			 */
2514			clocks = <&rpmhcc RPMH_CXO_CLK>,
2515				 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>,
2516				 <&gcc GCC_EDP_REF_CLKREF_EN>;
2517			clock-names = "ref", "ref_aux", "qref";
2518			power-domains = <&gcc UFS_PHY_GDSC>;
2519			resets = <&ufs_mem_hc 0>;
2520			reset-names = "ufsphy";
2521			#phy-cells = <0>;
2522			status = "disabled";
2523		};
2524
2525		ice: crypto@1d88000 {
2526			compatible = "qcom,sa8775p-inline-crypto-engine",
2527				     "qcom,inline-crypto-engine";
2528			reg = <0x0 0x01d88000 0x0 0x18000>;
2529			clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
2530		};
2531
2532		cryptobam: dma-controller@1dc4000 {
2533			compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
2534			reg = <0x0 0x01dc4000 0x0 0x28000>;
2535			interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
2536			#dma-cells = <1>;
2537			qcom,ee = <0>;
2538			qcom,num-ees = <4>;
2539			num-channels = <20>;
2540			qcom,controlled-remotely;
2541			iommus = <&apps_smmu 0x480 0x00>,
2542				 <&apps_smmu 0x481 0x00>;
2543		};
2544
2545		ctcu@4001000 {
2546			compatible = "qcom,sa8775p-ctcu";
2547			reg = <0x0 0x04001000 0x0 0x1000>;
2548
2549			clocks = <&aoss_qmp>;
2550			clock-names = "apb";
2551
2552			in-ports {
2553				#address-cells = <1>;
2554				#size-cells = <0>;
2555
2556				port@0 {
2557					reg = <0>;
2558
2559					ctcu_in0: endpoint {
2560						remote-endpoint = <&etr0_out>;
2561					};
2562				};
2563
2564				port@1 {
2565					reg = <1>;
2566
2567					ctcu_in1: endpoint {
2568						remote-endpoint = <&etr1_out>;
2569					};
2570				};
2571			};
2572		};
2573
2574		stm: stm@4002000 {
2575			compatible = "arm,coresight-stm", "arm,primecell";
2576			reg = <0x0 0x4002000 0x0 0x1000>,
2577				  <0x0 0x16280000 0x0 0x180000>;
2578			reg-names = "stm-base", "stm-stimulus-base";
2579
2580			clocks = <&aoss_qmp>;
2581			clock-names = "apb_pclk";
2582
2583			out-ports {
2584				port {
2585					stm_out: endpoint {
2586						remote-endpoint =
2587						<&funnel0_in7>;
2588					};
2589				};
2590			};
2591		};
2592
2593		tpdm@4003000 {
2594			compatible = "qcom,coresight-tpdm", "arm,primecell";
2595			reg = <0x0 0x4003000 0x0 0x1000>;
2596
2597			clocks = <&aoss_qmp>;
2598			clock-names = "apb_pclk";
2599
2600			qcom,cmb-element-bits = <32>;
2601			qcom,cmb-msrs-num = <32>;
2602			status = "disabled";
2603
2604			out-ports {
2605				port {
2606					qdss_tpdm0_out: endpoint {
2607						remote-endpoint =
2608						<&qdss_tpda_in0>;
2609					};
2610				};
2611			};
2612		};
2613
2614		tpda@4004000 {
2615			compatible = "qcom,coresight-tpda", "arm,primecell";
2616			reg = <0x0 0x4004000 0x0 0x1000>;
2617
2618			clocks = <&aoss_qmp>;
2619			clock-names = "apb_pclk";
2620
2621			out-ports {
2622				port {
2623					qdss_tpda_out: endpoint {
2624						remote-endpoint =
2625						<&funnel0_in6>;
2626					};
2627				};
2628			};
2629
2630			in-ports {
2631				#address-cells = <1>;
2632				#size-cells = <0>;
2633
2634				port@0 {
2635					reg = <0>;
2636					qdss_tpda_in0: endpoint {
2637						remote-endpoint =
2638						<&qdss_tpdm0_out>;
2639					};
2640				};
2641
2642				port@1 {
2643					reg = <1>;
2644					qdss_tpda_in1: endpoint {
2645						remote-endpoint =
2646						<&qdss_tpdm1_out>;
2647					};
2648				};
2649			};
2650		};
2651
2652		tpdm@400f000 {
2653			compatible = "qcom,coresight-tpdm", "arm,primecell";
2654			reg = <0x0 0x400f000 0x0 0x1000>;
2655
2656			clocks = <&aoss_qmp>;
2657			clock-names = "apb_pclk";
2658
2659			qcom,cmb-element-bits = <32>;
2660			qcom,cmb-msrs-num = <32>;
2661
2662			out-ports {
2663				port {
2664					qdss_tpdm1_out: endpoint {
2665						remote-endpoint =
2666						<&qdss_tpda_in1>;
2667					};
2668				};
2669			};
2670		};
2671
2672		funnel@4041000 {
2673			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2674			reg = <0x0 0x4041000 0x0 0x1000>;
2675
2676			clocks = <&aoss_qmp>;
2677			clock-names = "apb_pclk";
2678
2679			out-ports {
2680				port {
2681					funnel0_out: endpoint {
2682						remote-endpoint =
2683						<&qdss_funnel_in0>;
2684					};
2685				};
2686			};
2687
2688			in-ports {
2689				#address-cells = <1>;
2690				#size-cells = <0>;
2691
2692				port@6 {
2693					reg = <6>;
2694					funnel0_in6: endpoint {
2695						remote-endpoint =
2696						<&qdss_tpda_out>;
2697					};
2698				};
2699
2700				port@7 {
2701					reg = <7>;
2702					funnel0_in7: endpoint {
2703						remote-endpoint =
2704						<&stm_out>;
2705					};
2706				};
2707			};
2708		};
2709
2710		funnel@4042000 {
2711			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2712			reg = <0x0 0x4042000 0x0 0x1000>;
2713
2714			clocks = <&aoss_qmp>;
2715			clock-names = "apb_pclk";
2716
2717			out-ports {
2718				port {
2719					funnel1_out: endpoint {
2720						remote-endpoint =
2721						<&qdss_funnel_in1>;
2722					};
2723				};
2724			};
2725
2726			in-ports {
2727				#address-cells = <1>;
2728				#size-cells = <0>;
2729
2730				port@4 {
2731					reg = <4>;
2732					funnel1_in4: endpoint {
2733						remote-endpoint =
2734						<&apss_funnel1_out>;
2735					};
2736				};
2737			};
2738		};
2739
2740		funnel@4045000 {
2741			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2742			reg = <0x0 0x4045000 0x0 0x1000>;
2743
2744			clocks = <&aoss_qmp>;
2745			clock-names = "apb_pclk";
2746
2747			out-ports {
2748				port {
2749					qdss_funnel_out: endpoint {
2750						remote-endpoint =
2751						<&aoss_funnel_in7>;
2752					};
2753				};
2754			};
2755
2756			in-ports {
2757				#address-cells = <1>;
2758				#size-cells = <0>;
2759
2760				port@0 {
2761					reg = <0>;
2762					qdss_funnel_in0: endpoint {
2763						remote-endpoint =
2764						<&funnel0_out>;
2765					};
2766				};
2767
2768				port@1 {
2769					reg = <1>;
2770					qdss_funnel_in1: endpoint {
2771						remote-endpoint =
2772						<&funnel1_out>;
2773					};
2774				};
2775			};
2776		};
2777
2778		replicator@4046000 {
2779			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
2780			reg = <0x0 0x04046000 0x0 0x1000>;
2781
2782			clocks = <&aoss_qmp>;
2783			clock-names = "apb_pclk";
2784
2785			in-ports {
2786				port {
2787					qdss_rep_in: endpoint {
2788						remote-endpoint = <&swao_rep_out0>;
2789					};
2790				};
2791			};
2792
2793			out-ports {
2794				port {
2795					qdss_rep_out0: endpoint {
2796						remote-endpoint = <&etr_rep_in>;
2797					};
2798				};
2799			};
2800		};
2801
2802		tmc_etr: tmc@4048000 {
2803			compatible = "arm,coresight-tmc", "arm,primecell";
2804			reg = <0x0 0x04048000 0x0 0x1000>;
2805
2806			clocks = <&aoss_qmp>;
2807			clock-names = "apb_pclk";
2808			iommus = <&apps_smmu 0x04c0 0x00>;
2809
2810			arm,scatter-gather;
2811
2812			in-ports {
2813				port {
2814					etr0_in: endpoint {
2815						remote-endpoint = <&etr_rep_out0>;
2816					};
2817				};
2818			};
2819
2820			out-ports {
2821				port {
2822					etr0_out: endpoint {
2823						remote-endpoint = <&ctcu_in0>;
2824					};
2825				};
2826			};
2827		};
2828
2829		replicator@404e000 {
2830			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
2831			reg = <0x0 0x0404e000 0x0 0x1000>;
2832
2833			clocks = <&aoss_qmp>;
2834			clock-names = "apb_pclk";
2835
2836			in-ports {
2837				port {
2838					etr_rep_in: endpoint {
2839						remote-endpoint = <&qdss_rep_out0>;
2840					};
2841				};
2842			};
2843
2844			out-ports {
2845				#address-cells = <1>;
2846				#size-cells = <0>;
2847
2848				port@0 {
2849					reg = <0>;
2850
2851					etr_rep_out0: endpoint {
2852						remote-endpoint = <&etr0_in>;
2853					};
2854				};
2855
2856				port@1 {
2857					reg = <1>;
2858
2859					etr_rep_out1: endpoint {
2860						remote-endpoint = <&etr1_in>;
2861					};
2862				};
2863			};
2864		};
2865
2866		tmc_etr1: tmc@404f000 {
2867			compatible = "arm,coresight-tmc", "arm,primecell";
2868			reg = <0x0 0x0404f000 0x0 0x1000>;
2869
2870			clocks = <&aoss_qmp>;
2871			clock-names = "apb_pclk";
2872			iommus = <&apps_smmu 0x04a0 0x40>;
2873
2874			arm,scatter-gather;
2875			arm,buffer-size = <0x400000>;
2876
2877			in-ports {
2878				port {
2879					etr1_in: endpoint {
2880						remote-endpoint = <&etr_rep_out1>;
2881					};
2882				};
2883			};
2884
2885			out-ports {
2886				port {
2887					etr1_out: endpoint {
2888						remote-endpoint = <&ctcu_in1>;
2889					};
2890				};
2891			};
2892		};
2893
2894		funnel@4b04000 {
2895			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2896			reg = <0x0 0x4b04000 0x0 0x1000>;
2897
2898			clocks = <&aoss_qmp>;
2899			clock-names = "apb_pclk";
2900
2901			out-ports {
2902				port {
2903					aoss_funnel_out: endpoint {
2904						remote-endpoint =
2905						<&etf0_in>;
2906					};
2907				};
2908			};
2909
2910			in-ports {
2911				#address-cells = <1>;
2912				#size-cells = <0>;
2913
2914				port@6 {
2915					reg = <6>;
2916					aoss_funnel_in6: endpoint {
2917						remote-endpoint =
2918						<&aoss_tpda_out>;
2919					};
2920				};
2921
2922				port@7 {
2923					reg = <7>;
2924					aoss_funnel_in7: endpoint {
2925						remote-endpoint =
2926						<&qdss_funnel_out>;
2927					};
2928				};
2929			};
2930		};
2931
2932		tmc_etf: tmc@4b05000 {
2933			compatible = "arm,coresight-tmc", "arm,primecell";
2934			reg = <0x0 0x4b05000 0x0 0x1000>;
2935
2936			clocks = <&aoss_qmp>;
2937			clock-names = "apb_pclk";
2938
2939			out-ports {
2940				port {
2941					etf0_out: endpoint {
2942						remote-endpoint =
2943						<&swao_rep_in>;
2944					};
2945				};
2946			};
2947
2948			in-ports {
2949				port {
2950					etf0_in: endpoint {
2951						remote-endpoint =
2952						<&aoss_funnel_out>;
2953					};
2954				};
2955			};
2956		};
2957
2958		replicator@4b06000 {
2959			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
2960			reg = <0x0 0x4b06000 0x0 0x1000>;
2961
2962			clocks = <&aoss_qmp>;
2963			clock-names = "apb_pclk";
2964
2965			out-ports {
2966				#address-cells = <1>;
2967				#size-cells = <0>;
2968
2969				port@0 {
2970					reg = <0>;
2971
2972					swao_rep_out0: endpoint {
2973						remote-endpoint = <&qdss_rep_in>;
2974					};
2975				};
2976
2977				port@1 {
2978					reg = <1>;
2979					swao_rep_out1: endpoint {
2980						remote-endpoint =
2981						<&eud_in>;
2982					};
2983				};
2984			};
2985
2986			in-ports {
2987				port {
2988					swao_rep_in: endpoint {
2989						remote-endpoint =
2990						<&etf0_out>;
2991					};
2992				};
2993			};
2994		};
2995
2996		tpda@4b08000 {
2997			compatible = "qcom,coresight-tpda", "arm,primecell";
2998			reg = <0x0 0x4b08000 0x0 0x1000>;
2999
3000			clocks = <&aoss_qmp>;
3001			clock-names = "apb_pclk";
3002
3003			out-ports {
3004				port {
3005					aoss_tpda_out: endpoint {
3006						remote-endpoint =
3007						<&aoss_funnel_in6>;
3008					};
3009				};
3010			};
3011
3012			in-ports {
3013				#address-cells = <1>;
3014				#size-cells = <0>;
3015
3016				port@0 {
3017					reg = <0>;
3018					aoss_tpda_in0: endpoint {
3019						remote-endpoint =
3020						<&aoss_tpdm0_out>;
3021					};
3022				};
3023
3024				port@1 {
3025					reg = <1>;
3026					aoss_tpda_in1: endpoint {
3027						remote-endpoint =
3028						<&aoss_tpdm1_out>;
3029					};
3030				};
3031
3032				port@2 {
3033					reg = <2>;
3034					aoss_tpda_in2: endpoint {
3035						remote-endpoint =
3036						<&aoss_tpdm2_out>;
3037					};
3038				};
3039
3040				port@3 {
3041					reg = <3>;
3042					aoss_tpda_in3: endpoint {
3043						remote-endpoint =
3044						<&aoss_tpdm3_out>;
3045					};
3046				};
3047
3048				port@4 {
3049					reg = <4>;
3050					aoss_tpda_in4: endpoint {
3051						remote-endpoint =
3052						<&aoss_tpdm4_out>;
3053					};
3054				};
3055			};
3056		};
3057
3058		tpdm@4b09000 {
3059			compatible = "qcom,coresight-tpdm", "arm,primecell";
3060			reg = <0x0 0x4b09000 0x0 0x1000>;
3061
3062			clocks = <&aoss_qmp>;
3063			clock-names = "apb_pclk";
3064
3065			qcom,cmb-element-bits = <64>;
3066			qcom,cmb-msrs-num = <32>;
3067
3068			out-ports {
3069				port {
3070					aoss_tpdm0_out: endpoint {
3071						remote-endpoint =
3072						<&aoss_tpda_in0>;
3073					};
3074				};
3075			};
3076		};
3077
3078		tpdm@4b0a000 {
3079			compatible = "qcom,coresight-tpdm", "arm,primecell";
3080			reg = <0x0 0x4b0a000 0x0 0x1000>;
3081
3082			clocks = <&aoss_qmp>;
3083			clock-names = "apb_pclk";
3084
3085			qcom,cmb-element-bits = <64>;
3086			qcom,cmb-msrs-num = <32>;
3087
3088			out-ports {
3089				port {
3090					aoss_tpdm1_out: endpoint {
3091						remote-endpoint =
3092						<&aoss_tpda_in1>;
3093					};
3094				};
3095			};
3096		};
3097
3098		tpdm@4b0b000 {
3099			compatible = "qcom,coresight-tpdm", "arm,primecell";
3100			reg = <0x0 0x4b0b000 0x0 0x1000>;
3101
3102			clocks = <&aoss_qmp>;
3103			clock-names = "apb_pclk";
3104
3105			qcom,cmb-element-bits = <64>;
3106			qcom,cmb-msrs-num = <32>;
3107
3108			out-ports {
3109				port {
3110					aoss_tpdm2_out: endpoint {
3111						remote-endpoint =
3112						<&aoss_tpda_in2>;
3113					};
3114				};
3115			};
3116		};
3117
3118		tpdm@4b0c000 {
3119			compatible = "qcom,coresight-tpdm", "arm,primecell";
3120			reg = <0x0 0x4b0c000 0x0 0x1000>;
3121
3122			clocks = <&aoss_qmp>;
3123			clock-names = "apb_pclk";
3124
3125			qcom,cmb-element-bits = <64>;
3126			qcom,cmb-msrs-num = <32>;
3127
3128			out-ports {
3129				port {
3130					aoss_tpdm3_out: endpoint {
3131						remote-endpoint =
3132						<&aoss_tpda_in3>;
3133					};
3134				};
3135			};
3136		};
3137
3138		tpdm@4b0d000 {
3139			compatible = "qcom,coresight-tpdm", "arm,primecell";
3140			reg = <0x0 0x4b0d000 0x0 0x1000>;
3141
3142			clocks = <&aoss_qmp>;
3143			clock-names = "apb_pclk";
3144
3145			qcom,dsb-element-bits = <32>;
3146			qcom,dsb-msrs-num = <32>;
3147
3148			out-ports {
3149				port {
3150					aoss_tpdm4_out: endpoint {
3151						remote-endpoint =
3152						<&aoss_tpda_in4>;
3153					};
3154				};
3155			};
3156		};
3157
3158		aoss_cti: cti@4b13000 {
3159			compatible = "arm,coresight-cti", "arm,primecell";
3160			reg = <0x0 0x4b13000 0x0 0x1000>;
3161
3162			clocks = <&aoss_qmp>;
3163			clock-names = "apb_pclk";
3164		};
3165
3166		etm@6040000 {
3167			compatible = "arm,primecell";
3168			reg = <0x0 0x6040000 0x0 0x1000>;
3169			cpu = <&cpu0>;
3170
3171			clocks = <&aoss_qmp>;
3172			clock-names = "apb_pclk";
3173			arm,coresight-loses-context-with-cpu;
3174			qcom,skip-power-up;
3175
3176			out-ports {
3177				port {
3178					etm0_out: endpoint {
3179						remote-endpoint =
3180						<&apss_funnel0_in0>;
3181					};
3182				};
3183			};
3184		};
3185
3186		etm@6140000 {
3187			compatible = "arm,primecell";
3188			reg = <0x0 0x6140000 0x0 0x1000>;
3189			cpu = <&cpu1>;
3190
3191			clocks = <&aoss_qmp>;
3192			clock-names = "apb_pclk";
3193			arm,coresight-loses-context-with-cpu;
3194			qcom,skip-power-up;
3195
3196			out-ports {
3197				port {
3198					etm1_out: endpoint {
3199						remote-endpoint =
3200						<&apss_funnel0_in1>;
3201					};
3202				};
3203			};
3204		};
3205
3206		etm@6240000 {
3207			compatible = "arm,primecell";
3208			reg = <0x0 0x6240000 0x0 0x1000>;
3209			cpu = <&cpu2>;
3210
3211			clocks = <&aoss_qmp>;
3212			clock-names = "apb_pclk";
3213			arm,coresight-loses-context-with-cpu;
3214			qcom,skip-power-up;
3215
3216			out-ports {
3217				port {
3218					etm2_out: endpoint {
3219						remote-endpoint =
3220						<&apss_funnel0_in2>;
3221					};
3222				};
3223			};
3224		};
3225
3226		etm@6340000 {
3227			compatible = "arm,primecell";
3228			reg = <0x0 0x6340000 0x0 0x1000>;
3229			cpu = <&cpu3>;
3230
3231			clocks = <&aoss_qmp>;
3232			clock-names = "apb_pclk";
3233			arm,coresight-loses-context-with-cpu;
3234			qcom,skip-power-up;
3235
3236			out-ports {
3237				port {
3238					etm3_out: endpoint {
3239						remote-endpoint =
3240						<&apss_funnel0_in3>;
3241					};
3242				};
3243			};
3244		};
3245
3246		etm@6440000 {
3247			compatible = "arm,primecell";
3248			reg = <0x0 0x6440000 0x0 0x1000>;
3249			cpu = <&cpu4>;
3250
3251			clocks = <&aoss_qmp>;
3252			clock-names = "apb_pclk";
3253			arm,coresight-loses-context-with-cpu;
3254			qcom,skip-power-up;
3255
3256			out-ports {
3257				port {
3258					etm4_out: endpoint {
3259						remote-endpoint =
3260						<&apss_funnel0_in4>;
3261					};
3262				};
3263			};
3264		};
3265
3266		etm@6540000 {
3267			compatible = "arm,primecell";
3268			reg = <0x0 0x6540000 0x0 0x1000>;
3269			cpu = <&cpu5>;
3270
3271			clocks = <&aoss_qmp>;
3272			clock-names = "apb_pclk";
3273			arm,coresight-loses-context-with-cpu;
3274			qcom,skip-power-up;
3275
3276			out-ports {
3277				port {
3278					etm5_out: endpoint {
3279						remote-endpoint =
3280						<&apss_funnel0_in5>;
3281					};
3282				};
3283			};
3284		};
3285
3286		etm@6640000 {
3287			compatible = "arm,primecell";
3288			reg = <0x0 0x6640000 0x0 0x1000>;
3289			cpu = <&cpu6>;
3290
3291			clocks = <&aoss_qmp>;
3292			clock-names = "apb_pclk";
3293			arm,coresight-loses-context-with-cpu;
3294			qcom,skip-power-up;
3295
3296			out-ports {
3297				port {
3298					etm6_out: endpoint {
3299						remote-endpoint =
3300						<&apss_funnel0_in6>;
3301					};
3302				};
3303			};
3304		};
3305
3306		etm@6740000 {
3307			compatible = "arm,primecell";
3308			reg = <0x0 0x6740000 0x0 0x1000>;
3309			cpu = <&cpu7>;
3310
3311			clocks = <&aoss_qmp>;
3312			clock-names = "apb_pclk";
3313			arm,coresight-loses-context-with-cpu;
3314			qcom,skip-power-up;
3315
3316			out-ports {
3317				port {
3318					etm7_out: endpoint {
3319						remote-endpoint =
3320						<&apss_funnel0_in7>;
3321					};
3322				};
3323			};
3324		};
3325
3326		funnel@6800000 {
3327			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3328			reg = <0x0 0x6800000 0x0 0x1000>;
3329
3330			clocks = <&aoss_qmp>;
3331			clock-names = "apb_pclk";
3332
3333			out-ports {
3334				port {
3335					apss_funnel0_out: endpoint {
3336						remote-endpoint =
3337						<&apss_funnel1_in0>;
3338					};
3339				};
3340			};
3341
3342			in-ports {
3343				#address-cells = <1>;
3344				#size-cells = <0>;
3345
3346				port@0 {
3347					reg = <0>;
3348					apss_funnel0_in0: endpoint {
3349						remote-endpoint =
3350						<&etm0_out>;
3351					};
3352				};
3353
3354				port@1 {
3355					reg = <1>;
3356					apss_funnel0_in1: endpoint {
3357						remote-endpoint =
3358						<&etm1_out>;
3359					};
3360				};
3361
3362				port@2 {
3363					reg = <2>;
3364					apss_funnel0_in2: endpoint {
3365						remote-endpoint =
3366						<&etm2_out>;
3367					};
3368				};
3369
3370				port@3 {
3371					reg = <3>;
3372					apss_funnel0_in3: endpoint {
3373						remote-endpoint =
3374						<&etm3_out>;
3375					};
3376				};
3377
3378				port@4 {
3379					reg = <4>;
3380					apss_funnel0_in4: endpoint {
3381						remote-endpoint =
3382						<&etm4_out>;
3383					};
3384				};
3385
3386				port@5 {
3387					reg = <5>;
3388					apss_funnel0_in5: endpoint {
3389						remote-endpoint =
3390						<&etm5_out>;
3391					};
3392				};
3393
3394				port@6 {
3395					reg = <6>;
3396					apss_funnel0_in6: endpoint {
3397						remote-endpoint =
3398						<&etm6_out>;
3399					};
3400				};
3401
3402				port@7 {
3403					reg = <7>;
3404					apss_funnel0_in7: endpoint {
3405						remote-endpoint =
3406						<&etm7_out>;
3407					};
3408				};
3409			};
3410		};
3411
3412		funnel@6810000 {
3413			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3414			reg = <0x0 0x6810000 0x0 0x1000>;
3415
3416			clocks = <&aoss_qmp>;
3417			clock-names = "apb_pclk";
3418
3419			out-ports {
3420				port {
3421					apss_funnel1_out: endpoint {
3422						remote-endpoint =
3423						<&funnel1_in4>;
3424					};
3425				};
3426			};
3427
3428			in-ports {
3429				#address-cells = <1>;
3430				#size-cells = <0>;
3431
3432				port@0 {
3433					reg = <0>;
3434					apss_funnel1_in0: endpoint {
3435						remote-endpoint =
3436						<&apss_funnel0_out>;
3437					};
3438				};
3439
3440				port@3 {
3441					reg = <3>;
3442					apss_funnel1_in3: endpoint {
3443						remote-endpoint =
3444						<&apss_tpda_out>;
3445					};
3446				};
3447			};
3448		};
3449
3450		tpdm@6860000 {
3451			compatible = "qcom,coresight-tpdm", "arm,primecell";
3452			reg = <0x0 0x6860000 0x0 0x1000>;
3453
3454			clocks = <&aoss_qmp>;
3455			clock-names = "apb_pclk";
3456
3457			qcom,cmb-element-bits = <64>;
3458			qcom,cmb-msrs-num = <32>;
3459
3460			out-ports {
3461				port {
3462					apss_tpdm3_out: endpoint {
3463						remote-endpoint =
3464						<&apss_tpda_in3>;
3465					};
3466				};
3467			};
3468		};
3469
3470		tpdm@6861000 {
3471			compatible = "qcom,coresight-tpdm", "arm,primecell";
3472			reg = <0x0 0x6861000 0x0 0x1000>;
3473
3474			clocks = <&aoss_qmp>;
3475			clock-names = "apb_pclk";
3476
3477			qcom,dsb-element-bits = <32>;
3478			qcom,dsb-msrs-num = <32>;
3479
3480			out-ports {
3481				port {
3482					apss_tpdm4_out: endpoint {
3483						remote-endpoint =
3484						<&apss_tpda_in4>;
3485					};
3486				};
3487			};
3488		};
3489
3490		tpda@6863000 {
3491			compatible = "qcom,coresight-tpda", "arm,primecell";
3492			reg = <0x0 0x6863000 0x0 0x1000>;
3493
3494			clocks = <&aoss_qmp>;
3495			clock-names = "apb_pclk";
3496
3497			out-ports {
3498				port {
3499					apss_tpda_out: endpoint {
3500						remote-endpoint =
3501						<&apss_funnel1_in3>;
3502					};
3503				};
3504			};
3505
3506			in-ports {
3507				#address-cells = <1>;
3508				#size-cells = <0>;
3509
3510				port@0 {
3511					reg = <0>;
3512					apss_tpda_in0: endpoint {
3513						remote-endpoint =
3514						<&apss_tpdm0_out>;
3515					};
3516				};
3517
3518				port@1 {
3519					reg = <1>;
3520					apss_tpda_in1: endpoint {
3521						remote-endpoint =
3522						<&apss_tpdm1_out>;
3523					};
3524				};
3525
3526				port@2 {
3527					reg = <2>;
3528					apss_tpda_in2: endpoint {
3529						remote-endpoint =
3530						<&apss_tpdm2_out>;
3531					};
3532				};
3533
3534				port@3 {
3535					reg = <3>;
3536					apss_tpda_in3: endpoint {
3537						remote-endpoint =
3538						<&apss_tpdm3_out>;
3539					};
3540				};
3541
3542				port@4 {
3543					reg = <4>;
3544					apss_tpda_in4: endpoint {
3545						remote-endpoint =
3546						<&apss_tpdm4_out>;
3547					};
3548				};
3549			};
3550		};
3551
3552		tpdm@68a0000 {
3553			compatible = "qcom,coresight-tpdm", "arm,primecell";
3554			reg = <0x0 0x68a0000 0x0 0x1000>;
3555
3556			clocks = <&aoss_qmp>;
3557			clock-names = "apb_pclk";
3558
3559			qcom,cmb-element-bits = <32>;
3560			qcom,cmb-msrs-num = <32>;
3561
3562			out-ports {
3563				port {
3564					apss_tpdm0_out: endpoint {
3565						remote-endpoint =
3566						<&apss_tpda_in0>;
3567					};
3568				};
3569			};
3570		};
3571
3572		tpdm@68b0000 {
3573			compatible = "qcom,coresight-tpdm", "arm,primecell";
3574			reg = <0x0 0x68b0000 0x0 0x1000>;
3575
3576			clocks = <&aoss_qmp>;
3577			clock-names = "apb_pclk";
3578
3579			qcom,cmb-element-bits = <32>;
3580			qcom,cmb-msrs-num = <32>;
3581
3582			out-ports {
3583				port {
3584					apss_tpdm1_out: endpoint {
3585						remote-endpoint =
3586						<&apss_tpda_in1>;
3587					};
3588				};
3589			};
3590		};
3591
3592		tpdm@68c0000 {
3593			compatible = "qcom,coresight-tpdm", "arm,primecell";
3594			reg = <0x0 0x68c0000 0x0 0x1000>;
3595
3596			clocks = <&aoss_qmp>;
3597			clock-names = "apb_pclk";
3598
3599			qcom,dsb-element-bits = <32>;
3600			qcom,dsb-msrs-num = <32>;
3601
3602			out-ports {
3603				port {
3604					apss_tpdm2_out: endpoint {
3605						remote-endpoint =
3606						<&apss_tpda_in2>;
3607					};
3608				};
3609			};
3610		};
3611
3612		usb_0_hsphy: phy@88e4000 {
3613			compatible = "qcom,sa8775p-usb-hs-phy",
3614				     "qcom,usb-snps-hs-5nm-phy";
3615			reg = <0 0x088e4000 0 0x120>;
3616			clocks = <&rpmhcc RPMH_CXO_CLK>;
3617			clock-names = "ref";
3618			resets = <&gcc GCC_USB2_PHY_PRIM_BCR>;
3619
3620			#phy-cells = <0>;
3621
3622			status = "disabled";
3623		};
3624
3625		usb_0_qmpphy: phy@88e8000 {
3626			compatible = "qcom,sa8775p-qmp-usb3-uni-phy";
3627			reg = <0 0x088e8000 0 0x2000>;
3628
3629			clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
3630				 <&gcc GCC_USB_CLKREF_EN>,
3631				 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>,
3632				 <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
3633			clock-names = "aux", "ref", "com_aux", "pipe";
3634
3635			resets = <&gcc GCC_USB3_PHY_PRIM_BCR>,
3636				 <&gcc GCC_USB3PHY_PHY_PRIM_BCR>;
3637			reset-names = "phy", "phy_phy";
3638
3639			power-domains = <&gcc USB30_PRIM_GDSC>;
3640
3641			#clock-cells = <0>;
3642			clock-output-names = "usb3_prim_phy_pipe_clk_src";
3643
3644			#phy-cells = <0>;
3645
3646			status = "disabled";
3647		};
3648
3649		usb_0: usb@a6f8800 {
3650			compatible = "qcom,sa8775p-dwc3", "qcom,dwc3";
3651			reg = <0 0x0a6f8800 0 0x400>;
3652			#address-cells = <2>;
3653			#size-cells = <2>;
3654			ranges;
3655
3656			clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
3657				 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
3658				 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
3659				 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
3660				 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
3661			clock-names = "cfg_noc", "core", "iface", "sleep", "mock_utmi";
3662
3663			assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3664					  <&gcc GCC_USB30_PRIM_MASTER_CLK>;
3665			assigned-clock-rates = <19200000>, <200000000>;
3666
3667			interrupts-extended = <&intc GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>,
3668					      <&intc GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
3669					      <&pdc 14 IRQ_TYPE_EDGE_BOTH>,
3670					      <&pdc 15 IRQ_TYPE_EDGE_BOTH>,
3671					      <&pdc 12 IRQ_TYPE_LEVEL_HIGH>;
3672			interrupt-names = "pwr_event",
3673					  "hs_phy_irq",
3674					  "dp_hs_phy_irq",
3675					  "dm_hs_phy_irq",
3676					  "ss_phy_irq";
3677
3678			power-domains = <&gcc USB30_PRIM_GDSC>;
3679			required-opps = <&rpmhpd_opp_nom>;
3680
3681			resets = <&gcc GCC_USB30_PRIM_BCR>;
3682
3683			interconnects = <&aggre1_noc MASTER_USB3_0 0 &mc_virt SLAVE_EBI1 0>,
3684					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>;
3685			interconnect-names = "usb-ddr", "apps-usb";
3686
3687			wakeup-source;
3688
3689			status = "disabled";
3690
3691			usb_0_dwc3: usb@a600000 {
3692				compatible = "snps,dwc3";
3693				reg = <0 0x0a600000 0 0xe000>;
3694				interrupts = <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>;
3695				iommus = <&apps_smmu 0x080 0x0>;
3696				phys = <&usb_0_hsphy>, <&usb_0_qmpphy>;
3697				phy-names = "usb2-phy", "usb3-phy";
3698				snps,dis-u1-entry-quirk;
3699				snps,dis-u2-entry-quirk;
3700			};
3701		};
3702
3703		usb_1_hsphy: phy@88e6000 {
3704			compatible = "qcom,sa8775p-usb-hs-phy",
3705				     "qcom,usb-snps-hs-5nm-phy";
3706			reg = <0 0x088e6000 0 0x120>;
3707			clocks = <&gcc GCC_USB_CLKREF_EN>;
3708			clock-names = "ref";
3709			resets = <&gcc GCC_USB2_PHY_SEC_BCR>;
3710
3711			#phy-cells = <0>;
3712
3713			status = "disabled";
3714		};
3715
3716		usb_1_qmpphy: phy@88ea000 {
3717			compatible = "qcom,sa8775p-qmp-usb3-uni-phy";
3718			reg = <0 0x088ea000 0 0x2000>;
3719
3720			clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
3721				 <&gcc GCC_USB_CLKREF_EN>,
3722				 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>,
3723				 <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
3724			clock-names = "aux", "ref", "com_aux", "pipe";
3725
3726			resets = <&gcc GCC_USB3_PHY_SEC_BCR>,
3727				 <&gcc GCC_USB3PHY_PHY_SEC_BCR>;
3728			reset-names = "phy", "phy_phy";
3729
3730			power-domains = <&gcc USB30_SEC_GDSC>;
3731
3732			#clock-cells = <0>;
3733			clock-output-names = "usb3_sec_phy_pipe_clk_src";
3734
3735			#phy-cells = <0>;
3736
3737			status = "disabled";
3738		};
3739
3740		usb_1: usb@a8f8800 {
3741			compatible = "qcom,sa8775p-dwc3", "qcom,dwc3";
3742			reg = <0 0x0a8f8800 0 0x400>;
3743			#address-cells = <2>;
3744			#size-cells = <2>;
3745			ranges;
3746
3747			clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
3748				 <&gcc GCC_USB30_SEC_MASTER_CLK>,
3749				 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
3750				 <&gcc GCC_USB30_SEC_SLEEP_CLK>,
3751				 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>;
3752			clock-names = "cfg_noc", "core", "iface", "sleep", "mock_utmi";
3753
3754			assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
3755					  <&gcc GCC_USB30_SEC_MASTER_CLK>;
3756			assigned-clock-rates = <19200000>, <200000000>;
3757
3758			interrupts-extended = <&intc GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>,
3759					      <&intc GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH>,
3760					      <&pdc 8 IRQ_TYPE_EDGE_BOTH>,
3761					      <&pdc 7 IRQ_TYPE_EDGE_BOTH>,
3762					      <&pdc 13 IRQ_TYPE_LEVEL_HIGH>;
3763			interrupt-names = "pwr_event",
3764					  "hs_phy_irq",
3765					  "dp_hs_phy_irq",
3766					  "dm_hs_phy_irq",
3767					  "ss_phy_irq";
3768
3769			power-domains = <&gcc USB30_SEC_GDSC>;
3770			required-opps = <&rpmhpd_opp_nom>;
3771
3772			resets = <&gcc GCC_USB30_SEC_BCR>;
3773
3774			interconnects = <&aggre1_noc MASTER_USB3_1 0 &mc_virt SLAVE_EBI1 0>,
3775					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_1 0>;
3776			interconnect-names = "usb-ddr", "apps-usb";
3777
3778			wakeup-source;
3779
3780			status = "disabled";
3781
3782			usb_1_dwc3: usb@a800000 {
3783				compatible = "snps,dwc3";
3784				reg = <0 0x0a800000 0 0xe000>;
3785				interrupts = <GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH>;
3786				iommus = <&apps_smmu 0x0a0 0x0>;
3787				phys = <&usb_1_hsphy>, <&usb_1_qmpphy>;
3788				phy-names = "usb2-phy", "usb3-phy";
3789				snps,dis-u1-entry-quirk;
3790				snps,dis-u2-entry-quirk;
3791			};
3792		};
3793
3794		usb_2_hsphy: phy@88e7000 {
3795			compatible = "qcom,sa8775p-usb-hs-phy",
3796				     "qcom,usb-snps-hs-5nm-phy";
3797			reg = <0 0x088e7000 0 0x120>;
3798			clocks = <&gcc GCC_USB_CLKREF_EN>;
3799			clock-names = "ref";
3800			resets = <&gcc GCC_USB3_PHY_TERT_BCR>;
3801
3802			#phy-cells = <0>;
3803
3804			status = "disabled";
3805		};
3806
3807		usb_2: usb@a4f8800 {
3808			compatible = "qcom,sa8775p-dwc3", "qcom,dwc3";
3809			reg = <0 0x0a4f8800 0 0x400>;
3810			#address-cells = <2>;
3811			#size-cells = <2>;
3812			ranges;
3813
3814			clocks = <&gcc GCC_CFG_NOC_USB2_PRIM_AXI_CLK>,
3815				 <&gcc GCC_USB20_MASTER_CLK>,
3816				 <&gcc GCC_AGGRE_USB2_PRIM_AXI_CLK>,
3817				 <&gcc GCC_USB20_SLEEP_CLK>,
3818				 <&gcc GCC_USB20_MOCK_UTMI_CLK>;
3819			clock-names = "cfg_noc", "core", "iface", "sleep", "mock_utmi";
3820
3821			assigned-clocks = <&gcc GCC_USB20_MOCK_UTMI_CLK>,
3822					  <&gcc GCC_USB20_MASTER_CLK>;
3823			assigned-clock-rates = <19200000>, <200000000>;
3824
3825			interrupts-extended = <&intc GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>,
3826					      <&intc GIC_SPI 443 IRQ_TYPE_LEVEL_HIGH>,
3827					      <&pdc 10 IRQ_TYPE_EDGE_BOTH>,
3828					      <&pdc 9 IRQ_TYPE_EDGE_BOTH>;
3829			interrupt-names = "pwr_event",
3830					  "hs_phy_irq",
3831					  "dp_hs_phy_irq",
3832					  "dm_hs_phy_irq";
3833
3834			power-domains = <&gcc USB20_PRIM_GDSC>;
3835			required-opps = <&rpmhpd_opp_nom>;
3836
3837			resets = <&gcc GCC_USB20_PRIM_BCR>;
3838
3839			interconnects = <&aggre1_noc MASTER_USB2 0 &mc_virt SLAVE_EBI1 0>,
3840					<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB2 0>;
3841			interconnect-names = "usb-ddr", "apps-usb";
3842
3843			wakeup-source;
3844
3845			status = "disabled";
3846
3847			usb_2_dwc3: usb@a400000 {
3848				compatible = "snps,dwc3";
3849				reg = <0 0x0a400000 0 0xe000>;
3850				interrupts = <GIC_SPI 442 IRQ_TYPE_LEVEL_HIGH>;
3851				iommus = <&apps_smmu 0x020 0x0>;
3852				phys = <&usb_2_hsphy>;
3853				phy-names = "usb2-phy";
3854				snps,dis-u1-entry-quirk;
3855				snps,dis-u2-entry-quirk;
3856			};
3857		};
3858
3859		tcsr_mutex: hwlock@1f40000 {
3860			compatible = "qcom,tcsr-mutex";
3861			reg = <0x0 0x01f40000 0x0 0x20000>;
3862			#hwlock-cells = <1>;
3863		};
3864
3865		tcsr: syscon@1fc0000 {
3866			compatible = "qcom,sa8775p-tcsr", "syscon";
3867			reg = <0x0 0x1fc0000 0x0 0x30000>;
3868		};
3869
3870		gpucc: clock-controller@3d90000 {
3871			compatible = "qcom,sa8775p-gpucc";
3872			reg = <0x0 0x03d90000 0x0 0xa000>;
3873			clocks = <&rpmhcc RPMH_CXO_CLK>,
3874				 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
3875				 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
3876			clock-names = "bi_tcxo",
3877				      "gcc_gpu_gpll0_clk_src",
3878				      "gcc_gpu_gpll0_div_clk_src";
3879			#clock-cells = <1>;
3880			#reset-cells = <1>;
3881			#power-domain-cells = <1>;
3882		};
3883
3884		adreno_smmu: iommu@3da0000 {
3885			compatible = "qcom,sa8775p-smmu-500", "qcom,adreno-smmu",
3886				     "qcom,smmu-500", "arm,mmu-500";
3887			reg = <0x0 0x03da0000 0x0 0x20000>;
3888			#iommu-cells = <2>;
3889			#global-interrupts = <2>;
3890			dma-coherent;
3891			power-domains = <&gpucc GPU_CC_CX_GDSC>;
3892			clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
3893				 <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>,
3894				 <&gpucc GPU_CC_AHB_CLK>,
3895				 <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>,
3896				 <&gpucc GPU_CC_CX_GMU_CLK>,
3897				 <&gpucc GPU_CC_HUB_CX_INT_CLK>,
3898				 <&gpucc GPU_CC_HUB_AON_CLK>;
3899			clock-names = "gcc_gpu_memnoc_gfx_clk",
3900				      "gcc_gpu_snoc_dvm_gfx_clk",
3901				      "gpu_cc_ahb_clk",
3902				      "gpu_cc_hlos1_vote_gpu_smmu_clk",
3903				      "gpu_cc_cx_gmu_clk",
3904				      "gpu_cc_hub_cx_int_clk",
3905				      "gpu_cc_hub_aon_clk";
3906			interrupts = <GIC_SPI 673 IRQ_TYPE_LEVEL_HIGH>,
3907				     <GIC_SPI 674 IRQ_TYPE_LEVEL_HIGH>,
3908				     <GIC_SPI 678 IRQ_TYPE_LEVEL_HIGH>,
3909				     <GIC_SPI 679 IRQ_TYPE_LEVEL_HIGH>,
3910				     <GIC_SPI 680 IRQ_TYPE_LEVEL_HIGH>,
3911				     <GIC_SPI 681 IRQ_TYPE_LEVEL_HIGH>,
3912				     <GIC_SPI 682 IRQ_TYPE_LEVEL_HIGH>,
3913				     <GIC_SPI 683 IRQ_TYPE_LEVEL_HIGH>,
3914				     <GIC_SPI 684 IRQ_TYPE_LEVEL_HIGH>,
3915				     <GIC_SPI 685 IRQ_TYPE_LEVEL_HIGH>,
3916				     <GIC_SPI 686 IRQ_TYPE_LEVEL_HIGH>,
3917				     <GIC_SPI 687 IRQ_TYPE_LEVEL_HIGH>;
3918		};
3919
3920		serdes0: phy@8901000 {
3921			compatible = "qcom,sa8775p-dwmac-sgmii-phy";
3922			reg = <0x0 0x08901000 0x0 0xe10>;
3923			clocks = <&gcc GCC_SGMI_CLKREF_EN>;
3924			clock-names = "sgmi_ref";
3925			#phy-cells = <0>;
3926			status = "disabled";
3927		};
3928
3929		serdes1: phy@8902000 {
3930			compatible = "qcom,sa8775p-dwmac-sgmii-phy";
3931			reg = <0x0 0x08902000 0x0 0xe10>;
3932			clocks = <&gcc GCC_SGMI_CLKREF_EN>;
3933			clock-names = "sgmi_ref";
3934			#phy-cells = <0>;
3935			status = "disabled";
3936		};
3937
3938		pmu@9091000 {
3939			compatible = "qcom,sa8775p-llcc-bwmon", "qcom,sc7280-llcc-bwmon";
3940			reg = <0x0 0x9091000 0x0 0x1000>;
3941			interrupts = <GIC_SPI 620 IRQ_TYPE_LEVEL_HIGH>;
3942			interconnects = <&mc_virt MASTER_LLCC QCOM_ICC_TAG_ACTIVE_ONLY
3943					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>;
3944
3945			operating-points-v2 = <&llcc_bwmon_opp_table>;
3946
3947			llcc_bwmon_opp_table: opp-table {
3948				compatible = "operating-points-v2";
3949
3950				opp-0 {
3951					opp-peak-kBps = <762000>;
3952				};
3953
3954				opp-1 {
3955					opp-peak-kBps = <1720000>;
3956				};
3957
3958				opp-2 {
3959					opp-peak-kBps = <2086000>;
3960				};
3961
3962				opp-3 {
3963					opp-peak-kBps = <2601000>;
3964				};
3965
3966				opp-4 {
3967					opp-peak-kBps = <2929000>;
3968				};
3969
3970				opp-5 {
3971					opp-peak-kBps = <5931000>;
3972				};
3973
3974				opp-6 {
3975					opp-peak-kBps = <6515000>;
3976				};
3977
3978				opp-7 {
3979					opp-peak-kBps = <7984000>;
3980				};
3981
3982				opp-8 {
3983					opp-peak-kBps = <10437000>;
3984				};
3985
3986				opp-9 {
3987					opp-peak-kBps = <12195000>;
3988				};
3989			};
3990		};
3991
3992		pmu@90b5400 {
3993			compatible = "qcom,sa8775p-cpu-bwmon", "qcom,sdm845-bwmon";
3994			reg = <0x0 0x90b5400 0x0 0x600>;
3995			interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
3996			interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
3997					 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>;
3998
3999			operating-points-v2 = <&cpu_bwmon_opp_table>;
4000
4001			cpu_bwmon_opp_table: opp-table {
4002				compatible = "operating-points-v2";
4003
4004				opp-0 {
4005					opp-peak-kBps = <9155000>;
4006				};
4007
4008				opp-1 {
4009					opp-peak-kBps = <12298000>;
4010				};
4011
4012				opp-2 {
4013					opp-peak-kBps = <14236000>;
4014				};
4015
4016				opp-3 {
4017					opp-peak-kBps = <16265000>;
4018				};
4019			};
4020
4021		};
4022
4023		pmu@90b6400 {
4024			compatible = "qcom,sa8775p-cpu-bwmon", "qcom,sdm845-bwmon";
4025			reg = <0x0 0x90b6400 0x0 0x600>;
4026			interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
4027			interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
4028					 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>;
4029
4030			operating-points-v2 = <&cpu_bwmon_opp_table>;
4031		};
4032
4033		llcc: system-cache-controller@9200000 {
4034			compatible = "qcom,sa8775p-llcc";
4035			reg = <0x0 0x09200000 0x0 0x80000>,
4036			      <0x0 0x09300000 0x0 0x80000>,
4037			      <0x0 0x09400000 0x0 0x80000>,
4038			      <0x0 0x09500000 0x0 0x80000>,
4039			      <0x0 0x09600000 0x0 0x80000>,
4040			      <0x0 0x09700000 0x0 0x80000>,
4041			      <0x0 0x09a00000 0x0 0x80000>;
4042			reg-names = "llcc0_base",
4043				    "llcc1_base",
4044				    "llcc2_base",
4045				    "llcc3_base",
4046				    "llcc4_base",
4047				    "llcc5_base",
4048				    "llcc_broadcast_base";
4049			interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>;
4050		};
4051
4052		videocc: clock-controller@abf0000 {
4053			compatible = "qcom,sa8775p-videocc";
4054			reg = <0x0 0x0abf0000 0x0 0x10000>;
4055			clocks = <&gcc GCC_VIDEO_AHB_CLK>,
4056				 <&rpmhcc RPMH_CXO_CLK>,
4057				 <&rpmhcc RPMH_CXO_CLK_A>,
4058				 <&sleep_clk>;
4059			power-domains = <&rpmhpd SA8775P_MMCX>;
4060			#clock-cells = <1>;
4061			#reset-cells = <1>;
4062			#power-domain-cells = <1>;
4063		};
4064
4065		camcc: clock-controller@ade0000 {
4066			compatible = "qcom,sa8775p-camcc";
4067			reg = <0x0 0x0ade0000 0x0 0x20000>;
4068			clocks = <&gcc GCC_CAMERA_AHB_CLK>,
4069				 <&rpmhcc RPMH_CXO_CLK>,
4070				 <&rpmhcc RPMH_CXO_CLK_A>,
4071				 <&sleep_clk>;
4072			power-domains = <&rpmhpd SA8775P_MMCX>;
4073			#clock-cells = <1>;
4074			#reset-cells = <1>;
4075			#power-domain-cells = <1>;
4076		};
4077
4078		mdss0: display-subsystem@ae00000 {
4079			compatible = "qcom,sa8775p-mdss";
4080			reg = <0x0 0x0ae00000 0x0 0x1000>;
4081			reg-names = "mdss";
4082
4083			/* same path used twice */
4084			interconnects = <&mmss_noc MASTER_MDP0 QCOM_ICC_TAG_ALWAYS
4085					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
4086					<&mmss_noc MASTER_MDP1 QCOM_ICC_TAG_ALWAYS
4087					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
4088					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
4089					 &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
4090			interconnect-names = "mdp0-mem",
4091					     "mdp1-mem",
4092					     "cpu-cfg";
4093
4094			resets = <&dispcc0 MDSS_DISP_CC_MDSS_CORE_BCR>;
4095
4096			power-domains = <&dispcc0 MDSS_DISP_CC_MDSS_CORE_GDSC>;
4097
4098			clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
4099				 <&gcc GCC_DISP_HF_AXI_CLK>,
4100				 <&dispcc0 MDSS_DISP_CC_MDSS_MDP_CLK>;
4101
4102			interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
4103			interrupt-controller;
4104			#interrupt-cells = <1>;
4105
4106			iommus = <&apps_smmu 0x1000 0x402>;
4107
4108			#address-cells = <2>;
4109			#size-cells = <2>;
4110			ranges;
4111
4112			status = "disabled";
4113
4114			mdss0_mdp: display-controller@ae01000 {
4115				compatible = "qcom,sa8775p-dpu";
4116				reg = <0x0 0x0ae01000 0x0 0x8f000>,
4117				      <0x0 0x0aeb0000 0x0 0x3000>;
4118				reg-names = "mdp", "vbif";
4119
4120				clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
4121					 <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
4122					 <&dispcc0 MDSS_DISP_CC_MDSS_MDP_LUT_CLK>,
4123					 <&dispcc0 MDSS_DISP_CC_MDSS_MDP_CLK>,
4124					 <&dispcc0 MDSS_DISP_CC_MDSS_VSYNC_CLK>;
4125				clock-names = "bus",
4126					      "iface",
4127					      "lut",
4128					      "core",
4129					      "vsync";
4130
4131				assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_VSYNC_CLK>;
4132				assigned-clock-rates = <19200000>;
4133
4134				operating-points-v2 = <&mdss0_mdp_opp_table>;
4135				power-domains = <&rpmhpd SA8775P_MMCX>;
4136
4137				interrupt-parent = <&mdss0>;
4138				interrupts = <0>;
4139
4140				ports {
4141					#address-cells = <1>;
4142					#size-cells = <0>;
4143
4144					port@0 {
4145						reg = <0>;
4146
4147						dpu_intf0_out: endpoint {
4148							remote-endpoint = <&mdss0_dp0_in>;
4149						};
4150					};
4151
4152					port@1 {
4153						reg = <1>;
4154
4155						dpu_intf4_out: endpoint {
4156							remote-endpoint = <&mdss0_dp1_in>;
4157						};
4158					};
4159				};
4160
4161				mdss0_mdp_opp_table: opp-table {
4162					compatible = "operating-points-v2";
4163
4164					opp-375000000 {
4165						opp-hz = /bits/ 64 <375000000>;
4166						required-opps = <&rpmhpd_opp_svs_l1>;
4167					};
4168
4169					opp-500000000 {
4170						opp-hz = /bits/ 64 <500000000>;
4171						required-opps = <&rpmhpd_opp_nom>;
4172					};
4173
4174					opp-575000000 {
4175						opp-hz = /bits/ 64 <575000000>;
4176						required-opps = <&rpmhpd_opp_turbo>;
4177					};
4178
4179					opp-650000000 {
4180						opp-hz = /bits/ 64 <650000000>;
4181						required-opps = <&rpmhpd_opp_turbo_l1>;
4182					};
4183				};
4184			};
4185
4186			mdss0_dp0_phy: phy@aec2a00 {
4187				compatible = "qcom,sa8775p-edp-phy";
4188
4189				reg = <0x0 0x0aec2a00 0x0 0x200>,
4190				      <0x0 0x0aec2200 0x0 0xd0>,
4191				      <0x0 0x0aec2600 0x0 0xd0>,
4192				      <0x0 0x0aec2000 0x0 0x1c8>;
4193
4194				clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
4195					 <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>;
4196				clock-names = "aux",
4197					      "cfg_ahb";
4198
4199				#clock-cells = <1>;
4200				#phy-cells = <0>;
4201
4202				status = "disabled";
4203			};
4204
4205			mdss0_dp1_phy: phy@aec5a00 {
4206				compatible = "qcom,sa8775p-edp-phy";
4207
4208				reg = <0x0 0x0aec5a00 0x0 0x200>,
4209				      <0x0 0x0aec5200 0x0 0xd0>,
4210				      <0x0 0x0aec5600 0x0 0xd0>,
4211				      <0x0 0x0aec5000 0x0 0x1c8>;
4212
4213				clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>,
4214					 <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>;
4215				clock-names = "aux",
4216					      "cfg_ahb";
4217
4218				#clock-cells = <1>;
4219				#phy-cells = <0>;
4220
4221				status = "disabled";
4222			};
4223
4224			mdss0_dp0: displayport-controller@af54000 {
4225				compatible = "qcom,sa8775p-dp";
4226
4227				reg = <0x0 0x0af54000 0x0 0x104>,
4228				      <0x0 0x0af54200 0x0 0x0c0>,
4229				      <0x0 0x0af55000 0x0 0x770>,
4230				      <0x0 0x0af56000 0x0 0x09c>,
4231				      <0x0 0x0af57000 0x0 0x09c>;
4232
4233				interrupt-parent = <&mdss0>;
4234				interrupts = <12>;
4235
4236				clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
4237					 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
4238					 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK>,
4239					 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>,
4240					 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK>;
4241				clock-names = "core_iface",
4242					      "core_aux",
4243					      "ctrl_link",
4244					      "ctrl_link_iface",
4245					      "stream_pixel";
4246				assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>,
4247						  <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>;
4248				assigned-clock-parents = <&mdss0_dp0_phy 0>, <&mdss0_dp0_phy 1>;
4249				phys = <&mdss0_dp0_phy>;
4250				phy-names = "dp";
4251
4252				operating-points-v2 = <&dp_opp_table>;
4253				power-domains = <&rpmhpd SA8775P_MMCX>;
4254
4255				#sound-dai-cells = <0>;
4256
4257				status = "disabled";
4258
4259				ports {
4260					#address-cells = <1>;
4261					#size-cells = <0>;
4262
4263					port@0 {
4264						reg = <0>;
4265
4266						mdss0_dp0_in: endpoint {
4267							remote-endpoint = <&dpu_intf0_out>;
4268						};
4269					};
4270
4271					port@1 {
4272						reg = <1>;
4273
4274						mdss0_dp0_out: endpoint { };
4275					};
4276				};
4277
4278				dp_opp_table: opp-table {
4279					compatible = "operating-points-v2";
4280
4281					opp-160000000 {
4282						opp-hz = /bits/ 64 <160000000>;
4283						required-opps = <&rpmhpd_opp_low_svs>;
4284					};
4285
4286					opp-270000000 {
4287						opp-hz = /bits/ 64 <270000000>;
4288						required-opps = <&rpmhpd_opp_svs>;
4289					};
4290
4291					opp-540000000 {
4292						opp-hz = /bits/ 64 <540000000>;
4293						required-opps = <&rpmhpd_opp_svs_l1>;
4294					};
4295
4296					opp-810000000 {
4297						opp-hz = /bits/ 64 <810000000>;
4298						required-opps = <&rpmhpd_opp_nom>;
4299					};
4300				};
4301			};
4302
4303			mdss0_dp1: displayport-controller@af5c000 {
4304				compatible = "qcom,sa8775p-dp";
4305
4306				reg = <0x0 0x0af5c000 0x0 0x104>,
4307				      <0x0 0x0af5c200 0x0 0x0c0>,
4308				      <0x0 0x0af5d000 0x0 0x770>,
4309				      <0x0 0x0af5e000 0x0 0x09c>,
4310				      <0x0 0x0af5f000 0x0 0x09c>;
4311
4312				interrupt-parent = <&mdss0>;
4313				interrupts = <13>;
4314
4315				clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
4316					 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>,
4317					 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_LINK_CLK>,
4318					 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_LINK_INTF_CLK>,
4319					 <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL0_CLK>;
4320				clock-names = "core_iface",
4321					      "core_aux",
4322					      "ctrl_link",
4323					      "ctrl_link_iface",
4324					      "stream_pixel";
4325				assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_LINK_CLK_SRC>,
4326						  <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL0_CLK_SRC>;
4327				assigned-clock-parents = <&mdss0_dp1_phy 0>, <&mdss0_dp1_phy 1>;
4328				phys = <&mdss0_dp1_phy>;
4329				phy-names = "dp";
4330
4331				operating-points-v2 = <&dp1_opp_table>;
4332				power-domains = <&rpmhpd SA8775P_MMCX>;
4333
4334				#sound-dai-cells = <0>;
4335
4336				status = "disabled";
4337
4338				ports {
4339					#address-cells = <1>;
4340					#size-cells = <0>;
4341
4342					port@0 {
4343						reg = <0>;
4344
4345						mdss0_dp1_in: endpoint {
4346							remote-endpoint = <&dpu_intf4_out>;
4347						};
4348					};
4349
4350					port@1 {
4351						reg = <1>;
4352
4353						mdss0_dp1_out: endpoint { };
4354					};
4355				};
4356
4357				dp1_opp_table: opp-table {
4358					compatible = "operating-points-v2";
4359
4360					opp-160000000 {
4361						opp-hz = /bits/ 64 <160000000>;
4362						required-opps = <&rpmhpd_opp_low_svs>;
4363					};
4364
4365					opp-270000000 {
4366						opp-hz = /bits/ 64 <270000000>;
4367						required-opps = <&rpmhpd_opp_svs>;
4368					};
4369
4370					opp-540000000 {
4371						opp-hz = /bits/ 64 <540000000>;
4372						required-opps = <&rpmhpd_opp_svs_l1>;
4373					};
4374
4375					opp-810000000 {
4376						opp-hz = /bits/ 64 <810000000>;
4377						required-opps = <&rpmhpd_opp_nom>;
4378					};
4379				};
4380			};
4381		};
4382
4383		dispcc0: clock-controller@af00000 {
4384			compatible = "qcom,sa8775p-dispcc0";
4385			reg = <0x0 0x0af00000 0x0 0x20000>;
4386			clocks = <&gcc GCC_DISP_AHB_CLK>,
4387				 <&rpmhcc RPMH_CXO_CLK>,
4388				 <&rpmhcc RPMH_CXO_CLK_A>,
4389				 <&sleep_clk>,
4390				 <&mdss0_dp0_phy 0>, <&mdss0_dp0_phy 1>,
4391				 <&mdss0_dp1_phy 0>, <&mdss0_dp1_phy 1>,
4392				 <0>, <0>, <0>, <0>;
4393			power-domains = <&rpmhpd SA8775P_MMCX>;
4394			#clock-cells = <1>;
4395			#reset-cells = <1>;
4396			#power-domain-cells = <1>;
4397		};
4398
4399		pdc: interrupt-controller@b220000 {
4400			compatible = "qcom,sa8775p-pdc", "qcom,pdc";
4401			reg = <0x0 0x0b220000 0x0 0x30000>,
4402			      <0x0 0x17c000f0 0x0 0x64>;
4403			qcom,pdc-ranges = <0 480 40>,
4404					  <40 140 14>,
4405					  <54 263 1>,
4406					  <55 306 4>,
4407					  <59 312 3>,
4408					  <62 374 2>,
4409					  <64 434 2>,
4410					  <66 438 2>,
4411					  <70 520 1>,
4412					  <73 523 1>,
4413					  <118 568 6>,
4414					  <124 609 3>,
4415					  <159 638 1>,
4416					  <160 720 3>,
4417					  <169 728 30>,
4418					  <199 416 2>,
4419					  <201 449 1>,
4420					  <202 89 1>,
4421					  <203 451 1>,
4422					  <204 462 1>,
4423					  <205 264 1>,
4424					  <206 579 1>,
4425					  <207 653 1>,
4426					  <208 656 1>,
4427					  <209 659 1>,
4428					  <210 122 1>,
4429					  <211 699 1>,
4430					  <212 705 1>,
4431					  <213 450 1>,
4432					  <214 643 2>,
4433					  <216 646 5>,
4434					  <221 390 5>,
4435					  <226 700 2>,
4436					  <228 440 1>,
4437					  <229 663 1>,
4438					  <230 524 2>,
4439					  <232 612 3>,
4440					  <235 723 5>;
4441			#interrupt-cells = <2>;
4442			interrupt-parent = <&intc>;
4443			interrupt-controller;
4444		};
4445
4446		tsens2: thermal-sensor@c251000 {
4447			compatible = "qcom,sa8775p-tsens", "qcom,tsens-v2";
4448			reg = <0x0 0x0c251000 0x0 0x1ff>,
4449			      <0x0 0x0c224000 0x0 0x8>;
4450			interrupts = <GIC_SPI 572 IRQ_TYPE_LEVEL_HIGH>,
4451				     <GIC_SPI 609 IRQ_TYPE_LEVEL_HIGH>;
4452			#qcom,sensors = <13>;
4453			interrupt-names = "uplow", "critical";
4454			#thermal-sensor-cells = <1>;
4455		};
4456
4457		tsens3: thermal-sensor@c252000 {
4458			compatible = "qcom,sa8775p-tsens", "qcom,tsens-v2";
4459			reg = <0x0 0x0c252000 0x0 0x1ff>,
4460			      <0x0 0x0c225000 0x0 0x8>;
4461			interrupts = <GIC_SPI 573 IRQ_TYPE_LEVEL_HIGH>,
4462				     <GIC_SPI 610 IRQ_TYPE_LEVEL_HIGH>;
4463			#qcom,sensors = <13>;
4464			interrupt-names = "uplow", "critical";
4465			#thermal-sensor-cells = <1>;
4466		};
4467
4468		tsens0: thermal-sensor@c263000 {
4469			compatible = "qcom,sa8775p-tsens", "qcom,tsens-v2";
4470			reg = <0x0 0x0c263000 0x0 0x1ff>,
4471			      <0x0 0x0c222000 0x0 0x8>;
4472			interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
4473				     <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
4474			#qcom,sensors = <12>;
4475			interrupt-names = "uplow", "critical";
4476			#thermal-sensor-cells = <1>;
4477		};
4478
4479		tsens1: thermal-sensor@c265000 {
4480			compatible = "qcom,sa8775p-tsens", "qcom,tsens-v2";
4481			reg = <0x0 0x0c265000 0x0 0x1ff>,
4482			      <0x0 0x0c223000 0x0 0x8>;
4483			interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
4484				     <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
4485			#qcom,sensors = <12>;
4486			interrupt-names = "uplow", "critical";
4487			#thermal-sensor-cells = <1>;
4488		};
4489
4490		aoss_qmp: power-management@c300000 {
4491			compatible = "qcom,sa8775p-aoss-qmp", "qcom,aoss-qmp";
4492			reg = <0x0 0x0c300000 0x0 0x400>;
4493			interrupts-extended = <&ipcc IPCC_CLIENT_AOP
4494					       IPCC_MPROC_SIGNAL_GLINK_QMP
4495					       IRQ_TYPE_EDGE_RISING>;
4496			mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>;
4497			#clock-cells = <0>;
4498		};
4499
4500		sram@c3f0000 {
4501			compatible = "qcom,rpmh-stats";
4502			reg = <0x0 0x0c3f0000 0x0 0x400>;
4503		};
4504
4505		spmi_bus: spmi@c440000 {
4506			compatible = "qcom,spmi-pmic-arb";
4507			reg = <0x0 0x0c440000 0x0 0x1100>,
4508			      <0x0 0x0c600000 0x0 0x2000000>,
4509			      <0x0 0x0e600000 0x0 0x100000>,
4510			      <0x0 0x0e700000 0x0 0xa0000>,
4511			      <0x0 0x0c40a000 0x0 0x26000>;
4512			reg-names = "core",
4513				    "chnls",
4514				    "obsrvr",
4515				    "intr",
4516				    "cnfg";
4517			qcom,channel = <0>;
4518			qcom,ee = <0>;
4519			interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
4520			interrupt-names = "periph_irq";
4521			interrupt-controller;
4522			#interrupt-cells = <4>;
4523			#address-cells = <2>;
4524			#size-cells = <0>;
4525		};
4526
4527		tlmm: pinctrl@f000000 {
4528			compatible = "qcom,sa8775p-tlmm";
4529			reg = <0x0 0x0f000000 0x0 0x1000000>;
4530			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
4531			gpio-controller;
4532			#gpio-cells = <2>;
4533			interrupt-controller;
4534			#interrupt-cells = <2>;
4535			gpio-ranges = <&tlmm 0 0 149>;
4536			wakeup-parent = <&pdc>;
4537
4538			qup_i2c0_default: qup-i2c0-state {
4539				pins = "gpio20", "gpio21";
4540				function = "qup0_se0";
4541			};
4542
4543			qup_i2c1_default: qup-i2c1-state {
4544				pins = "gpio24", "gpio25";
4545				function = "qup0_se1";
4546			};
4547
4548			qup_i2c2_default: qup-i2c2-state {
4549				pins = "gpio36", "gpio37";
4550				function = "qup0_se2";
4551			};
4552
4553			qup_i2c3_default: qup-i2c3-state {
4554				pins = "gpio28", "gpio29";
4555				function = "qup0_se3";
4556			};
4557
4558			qup_i2c4_default: qup-i2c4-state {
4559				pins = "gpio32", "gpio33";
4560				function = "qup0_se4";
4561			};
4562
4563			qup_i2c5_default: qup-i2c5-state {
4564				pins = "gpio36", "gpio37";
4565				function = "qup0_se5";
4566			};
4567
4568			qup_i2c7_default: qup-i2c7-state {
4569				pins = "gpio40", "gpio41";
4570				function = "qup1_se0";
4571			};
4572
4573			qup_i2c8_default: qup-i2c8-state {
4574				pins = "gpio42", "gpio43";
4575				function = "qup1_se1";
4576			};
4577
4578			qup_i2c9_default: qup-i2c9-state {
4579				pins = "gpio46", "gpio47";
4580				function = "qup1_se2";
4581			};
4582
4583			qup_i2c10_default: qup-i2c10-state {
4584				pins = "gpio44", "gpio45";
4585				function = "qup1_se3";
4586			};
4587
4588			qup_i2c11_default: qup-i2c11-state {
4589				pins = "gpio48", "gpio49";
4590				function = "qup1_se4";
4591			};
4592
4593			qup_i2c12_default: qup-i2c12-state {
4594				pins = "gpio52", "gpio53";
4595				function = "qup1_se5";
4596			};
4597
4598			qup_i2c13_default: qup-i2c13-state {
4599				pins = "gpio56", "gpio57";
4600				function = "qup1_se6";
4601			};
4602
4603			qup_i2c14_default: qup-i2c14-state {
4604				pins = "gpio80", "gpio81";
4605				function = "qup2_se0";
4606			};
4607
4608			qup_i2c15_default: qup-i2c15-state {
4609				pins = "gpio84", "gpio85";
4610				function = "qup2_se1";
4611			};
4612
4613			qup_i2c16_default: qup-i2c16-state {
4614				pins = "gpio86", "gpio87";
4615				function = "qup2_se2";
4616			};
4617
4618			qup_i2c17_default: qup-i2c17-state {
4619				pins = "gpio91", "gpio92";
4620				function = "qup2_se3";
4621			};
4622
4623			qup_i2c18_default: qup-i2c18-state {
4624				pins = "gpio95", "gpio96";
4625				function = "qup2_se4";
4626			};
4627
4628			qup_i2c19_default: qup-i2c19-state {
4629				pins = "gpio99", "gpio100";
4630				function = "qup2_se5";
4631			};
4632
4633			qup_i2c20_default: qup-i2c20-state {
4634				pins = "gpio97", "gpio98";
4635				function = "qup2_se6";
4636			};
4637
4638			qup_i2c21_default: qup-i2c21-state {
4639				pins = "gpio13", "gpio14";
4640				function = "qup3_se0";
4641			};
4642
4643			qup_spi0_default: qup-spi0-state {
4644				pins = "gpio20", "gpio21", "gpio22", "gpio23";
4645				function = "qup0_se0";
4646			};
4647
4648			qup_spi1_default: qup-spi1-state {
4649				pins = "gpio24", "gpio25", "gpio26", "gpio27";
4650				function = "qup0_se1";
4651			};
4652
4653			qup_spi2_default: qup-spi2-state {
4654				pins = "gpio36", "gpio37", "gpio38", "gpio39";
4655				function = "qup0_se2";
4656			};
4657
4658			qup_spi3_default: qup-spi3-state {
4659				pins = "gpio28", "gpio29", "gpio30", "gpio31";
4660				function = "qup0_se3";
4661			};
4662
4663			qup_spi4_default: qup-spi4-state {
4664				pins = "gpio32", "gpio33", "gpio34", "gpio35";
4665				function = "qup0_se4";
4666			};
4667
4668			qup_spi5_default: qup-spi5-state {
4669				pins = "gpio36", "gpio37", "gpio38", "gpio39";
4670				function = "qup0_se5";
4671			};
4672
4673			qup_spi7_default: qup-spi7-state {
4674				pins = "gpio40", "gpio41", "gpio42", "gpio43";
4675				function = "qup1_se0";
4676			};
4677
4678			qup_spi8_default: qup-spi8-state {
4679				pins = "gpio42", "gpio43", "gpio40", "gpio41";
4680				function = "qup1_se1";
4681			};
4682
4683			qup_spi9_default: qup-spi9-state {
4684				pins = "gpio46", "gpio47", "gpio44", "gpio45";
4685				function = "qup1_se2";
4686			};
4687
4688			qup_spi10_default: qup-spi10-state {
4689				pins = "gpio44", "gpio45", "gpio46", "gpio47";
4690				function = "qup1_se3";
4691			};
4692
4693			qup_spi11_default: qup-spi11-state {
4694				pins = "gpio48", "gpio49", "gpio50", "gpio51";
4695				function = "qup1_se4";
4696			};
4697
4698			qup_spi12_default: qup-spi12-state {
4699				pins = "gpio52", "gpio53", "gpio54", "gpio55";
4700				function = "qup1_se5";
4701			};
4702
4703			qup_spi14_default: qup-spi14-state {
4704				pins = "gpio80", "gpio81", "gpio82", "gpio83";
4705				function = "qup2_se0";
4706			};
4707
4708			qup_spi15_default: qup-spi15-state {
4709				pins = "gpio84", "gpio85", "gpio99", "gpio100";
4710				function = "qup2_se1";
4711			};
4712
4713			qup_spi16_default: qup-spi16-state {
4714				pins = "gpio86", "gpio87", "gpio88", "gpio89";
4715				function = "qup2_se2";
4716			};
4717
4718			qup_spi17_default: qup-spi17-state {
4719				pins = "gpio91", "gpio92", "gpio93", "gpio94";
4720				function = "qup2_se3";
4721			};
4722
4723			qup_spi18_default: qup-spi18-state {
4724				pins = "gpio95", "gpio96", "gpio97", "gpio98";
4725				function = "qup2_se4";
4726			};
4727
4728			qup_spi19_default: qup-spi19-state {
4729				pins = "gpio99", "gpio100", "gpio84", "gpio85";
4730				function = "qup2_se5";
4731			};
4732
4733			qup_spi20_default: qup-spi20-state {
4734				pins = "gpio97", "gpio98", "gpio95", "gpio96";
4735				function = "qup2_se6";
4736			};
4737
4738			qup_spi21_default: qup-spi21-state {
4739				pins = "gpio13", "gpio14", "gpio15", "gpio16";
4740				function = "qup3_se0";
4741			};
4742
4743			qup_uart0_default: qup-uart0-state {
4744				qup_uart0_cts: qup-uart0-cts-pins {
4745					pins = "gpio20";
4746					function = "qup0_se0";
4747				};
4748
4749				qup_uart0_rts: qup-uart0-rts-pins {
4750					pins = "gpio21";
4751					function = "qup0_se0";
4752				};
4753
4754				qup_uart0_tx: qup-uart0-tx-pins {
4755					pins = "gpio22";
4756					function = "qup0_se0";
4757				};
4758
4759				qup_uart0_rx: qup-uart0-rx-pins {
4760					pins = "gpio23";
4761					function = "qup0_se0";
4762				};
4763			};
4764
4765			qup_uart1_default: qup-uart1-state {
4766				qup_uart1_cts: qup-uart1-cts-pins {
4767					pins = "gpio24";
4768					function = "qup0_se1";
4769				};
4770
4771				qup_uart1_rts: qup-uart1-rts-pins {
4772					pins = "gpio25";
4773					function = "qup0_se1";
4774				};
4775
4776				qup_uart1_tx: qup-uart1-tx-pins {
4777					pins = "gpio26";
4778					function = "qup0_se1";
4779				};
4780
4781				qup_uart1_rx: qup-uart1-rx-pins {
4782					pins = "gpio27";
4783					function = "qup0_se1";
4784				};
4785			};
4786
4787			qup_uart2_default: qup-uart2-state {
4788				qup_uart2_cts: qup-uart2-cts-pins {
4789					pins = "gpio36";
4790					function = "qup0_se2";
4791				};
4792
4793				qup_uart2_rts: qup-uart2-rts-pins {
4794					pins = "gpio37";
4795					function = "qup0_se2";
4796				};
4797
4798				qup_uart2_tx: qup-uart2-tx-pins {
4799					pins = "gpio38";
4800					function = "qup0_se2";
4801				};
4802
4803				qup_uart2_rx: qup-uart2-rx-pins {
4804					pins = "gpio39";
4805					function = "qup0_se2";
4806				};
4807			};
4808
4809			qup_uart3_default: qup-uart3-state {
4810				qup_uart3_cts: qup-uart3-cts-pins {
4811					pins = "gpio28";
4812					function = "qup0_se3";
4813				};
4814
4815				qup_uart3_rts: qup-uart3-rts-pins {
4816					pins = "gpio29";
4817					function = "qup0_se3";
4818				};
4819
4820				qup_uart3_tx: qup-uart3-tx-pins {
4821					pins = "gpio30";
4822					function = "qup0_se3";
4823				};
4824
4825				qup_uart3_rx: qup-uart3-rx-pins {
4826					pins = "gpio31";
4827					function = "qup0_se3";
4828				};
4829			};
4830
4831			qup_uart4_default: qup-uart4-state {
4832				qup_uart4_cts: qup-uart4-cts-pins {
4833					pins = "gpio32";
4834					function = "qup0_se4";
4835				};
4836
4837				qup_uart4_rts: qup-uart4-rts-pins {
4838					pins = "gpio33";
4839					function = "qup0_se4";
4840				};
4841
4842				qup_uart4_tx: qup-uart4-tx-pins {
4843					pins = "gpio34";
4844					function = "qup0_se4";
4845				};
4846
4847				qup_uart4_rx: qup-uart4-rx-pins {
4848					pins = "gpio35";
4849					function = "qup0_se4";
4850				};
4851			};
4852
4853			qup_uart5_default: qup-uart5-state {
4854				qup_uart5_cts: qup-uart5-cts-pins {
4855					pins = "gpio36";
4856					function = "qup0_se5";
4857				};
4858
4859				qup_uart5_rts: qup-uart5-rts-pins {
4860					pins = "gpio37";
4861					function = "qup0_se5";
4862				};
4863
4864				qup_uart5_tx: qup-uart5-tx-pins {
4865					pins = "gpio38";
4866					function = "qup0_se5";
4867				};
4868
4869				qup_uart5_rx: qup-uart5-rx-pins {
4870					pins = "gpio39";
4871					function = "qup0_se5";
4872				};
4873			};
4874
4875			qup_uart7_default: qup-uart7-state {
4876				qup_uart7_cts: qup-uart7-cts-pins {
4877					pins = "gpio40";
4878					function = "qup1_se0";
4879				};
4880
4881				qup_uart7_rts: qup-uart7-rts-pins {
4882					pins = "gpio41";
4883					function = "qup1_se0";
4884				};
4885
4886				qup_uart7_tx: qup-uart7-tx-pins {
4887					pins = "gpio42";
4888					function = "qup1_se0";
4889				};
4890
4891				qup_uart7_rx: qup-uart7-rx-pins {
4892					pins = "gpio43";
4893					function = "qup1_se0";
4894				};
4895			};
4896
4897			qup_uart8_default: qup-uart8-state {
4898				qup_uart8_cts: qup-uart8-cts-pins {
4899					pins = "gpio42";
4900					function = "qup1_se1";
4901				};
4902
4903				qup_uart8_rts: qup-uart8-rts-pins {
4904					pins = "gpio43";
4905					function = "qup1_se1";
4906				};
4907
4908				qup_uart8_tx: qup-uart8-tx-pins {
4909					pins = "gpio40";
4910					function = "qup1_se1";
4911				};
4912
4913				qup_uart8_rx: qup-uart8-rx-pins {
4914					pins = "gpio41";
4915					function = "qup1_se1";
4916				};
4917			};
4918
4919			qup_uart9_default: qup-uart9-state {
4920				qup_uart9_cts: qup-uart9-cts-pins {
4921					pins = "gpio46";
4922					function = "qup1_se2";
4923				};
4924
4925				qup_uart9_rts: qup-uart9-rts-pins {
4926					pins = "gpio47";
4927					function = "qup1_se2";
4928				};
4929
4930				qup_uart9_tx: qup-uart9-tx-pins {
4931					pins = "gpio44";
4932					function = "qup1_se2";
4933				};
4934
4935				qup_uart9_rx: qup-uart9-rx-pins {
4936					pins = "gpio45";
4937					function = "qup1_se2";
4938				};
4939			};
4940
4941			qup_uart10_default: qup-uart10-state {
4942				pins = "gpio46", "gpio47";
4943				function = "qup1_se3";
4944			};
4945
4946			qup_uart11_default: qup-uart11-state {
4947				qup_uart11_cts: qup-uart11-cts-pins {
4948					pins = "gpio48";
4949					function = "qup1_se4";
4950				};
4951
4952				qup_uart11_rts: qup-uart11-rts-pins {
4953					pins = "gpio49";
4954					function = "qup1_se4";
4955				};
4956
4957				qup_uart11_tx: qup-uart11-tx-pins {
4958					pins = "gpio50";
4959					function = "qup1_se4";
4960				};
4961
4962				qup_uart11_rx: qup-uart11-rx-pins {
4963					pins = "gpio51";
4964					function = "qup1_se4";
4965				};
4966			};
4967
4968			qup_uart12_default: qup-uart12-state {
4969				qup_uart12_cts: qup-uart12-cts-pins {
4970					pins = "gpio52";
4971					function = "qup1_se5";
4972				};
4973
4974				qup_uart12_rts: qup-uart12-rts-pins {
4975					pins = "gpio53";
4976					function = "qup1_se5";
4977				};
4978
4979				qup_uart12_tx: qup-uart12-tx-pins {
4980					pins = "gpio54";
4981					function = "qup1_se5";
4982				};
4983
4984				qup_uart12_rx: qup-uart12-rx-pins {
4985					pins = "gpio55";
4986					function = "qup1_se5";
4987				};
4988			};
4989
4990			qup_uart14_default: qup-uart14-state {
4991				qup_uart14_cts: qup-uart14-cts-pins {
4992					pins = "gpio80";
4993					function = "qup2_se0";
4994				};
4995
4996				qup_uart14_rts: qup-uart14-rts-pins {
4997					pins = "gpio81";
4998					function = "qup2_se0";
4999				};
5000
5001				qup_uart14_tx: qup-uart14-tx-pins {
5002					pins = "gpio82";
5003					function = "qup2_se0";
5004				};
5005
5006				qup_uart14_rx: qup-uart14-rx-pins {
5007					pins = "gpio83";
5008					function = "qup2_se0";
5009				};
5010			};
5011
5012			qup_uart15_default: qup-uart15-state {
5013				qup_uart15_cts: qup-uart15-cts-pins {
5014					pins = "gpio84";
5015					function = "qup2_se1";
5016				};
5017
5018				qup_uart15_rts: qup-uart15-rts-pins {
5019					pins = "gpio85";
5020					function = "qup2_se1";
5021				};
5022
5023				qup_uart15_tx: qup-uart15-tx-pins {
5024					pins = "gpio99";
5025					function = "qup2_se1";
5026				};
5027
5028				qup_uart15_rx: qup-uart15-rx-pins {
5029					pins = "gpio100";
5030					function = "qup2_se1";
5031				};
5032			};
5033
5034			qup_uart16_default: qup-uart16-state {
5035				qup_uart16_cts: qup-uart16-cts-pins {
5036					pins = "gpio86";
5037					function = "qup2_se2";
5038				};
5039
5040				qup_uart16_rts: qup-uart16-rts-pins {
5041					pins = "gpio87";
5042					function = "qup2_se2";
5043				};
5044
5045				qup_uart16_tx: qup-uart16-tx-pins {
5046					pins = "gpio88";
5047					function = "qup2_se2";
5048				};
5049
5050				qup_uart16_rx: qup-uart16-rx-pins {
5051					pins = "gpio89";
5052					function = "qup2_se2";
5053				};
5054			};
5055
5056			qup_uart17_default: qup-uart17-state {
5057				qup_uart17_cts: qup-uart17-cts-pins {
5058					pins = "gpio91";
5059					function = "qup2_se3";
5060				};
5061
5062				qup_uart17_rts: qup0-uart17-rts-pins {
5063					pins = "gpio92";
5064					function = "qup2_se3";
5065				};
5066
5067				qup_uart17_tx: qup0-uart17-tx-pins {
5068					pins = "gpio93";
5069					function = "qup2_se3";
5070				};
5071
5072				qup_uart17_rx: qup0-uart17-rx-pins {
5073					pins = "gpio94";
5074					function = "qup2_se3";
5075				};
5076			};
5077
5078			qup_uart18_default: qup-uart18-state {
5079				qup_uart18_cts: qup-uart18-cts-pins {
5080					pins = "gpio95";
5081					function = "qup2_se4";
5082				};
5083
5084				qup_uart18_rts: qup-uart18-rts-pins {
5085					pins = "gpio96";
5086					function = "qup2_se4";
5087				};
5088
5089				qup_uart18_tx: qup-uart18-tx-pins {
5090					pins = "gpio97";
5091					function = "qup2_se4";
5092				};
5093
5094				qup_uart18_rx: qup-uart18-rx-pins {
5095					pins = "gpio98";
5096					function = "qup2_se4";
5097				};
5098			};
5099
5100			qup_uart19_default: qup-uart19-state {
5101				qup_uart19_cts: qup-uart19-cts-pins {
5102					pins = "gpio99";
5103					function = "qup2_se5";
5104				};
5105
5106				qup_uart19_rts: qup-uart19-rts-pins {
5107					pins = "gpio100";
5108					function = "qup2_se5";
5109				};
5110
5111				qup_uart19_tx: qup-uart19-tx-pins {
5112					pins = "gpio84";
5113					function = "qup2_se5";
5114				};
5115
5116				qup_uart19_rx: qup-uart19-rx-pins {
5117					pins = "gpio85";
5118					function = "qup2_se5";
5119				};
5120			};
5121
5122			qup_uart20_default: qup-uart20-state {
5123				qup_uart20_cts: qup-uart20-cts-pins {
5124					pins = "gpio97";
5125					function = "qup2_se6";
5126				};
5127
5128				qup_uart20_rts: qup-uart20-rts-pins {
5129					pins = "gpio98";
5130					function = "qup2_se6";
5131				};
5132
5133				qup_uart20_tx: qup-uart20-tx-pins {
5134					pins = "gpio95";
5135					function = "qup2_se6";
5136				};
5137
5138				qup_uart20_rx: qup-uart20-rx-pins {
5139					pins = "gpio96";
5140					function = "qup2_se6";
5141				};
5142			};
5143
5144			qup_uart21_default: qup-uart21-state {
5145				qup_uart21_cts: qup-uart21-cts-pins {
5146					pins = "gpio13";
5147					function = "qup3_se0";
5148				};
5149
5150				qup_uart21_rts: qup-uart21-rts-pins {
5151					pins = "gpio14";
5152					function = "qup3_se0";
5153				};
5154
5155				qup_uart21_tx: qup-uart21-tx-pins {
5156					pins = "gpio15";
5157					function = "qup3_se0";
5158				};
5159
5160				qup_uart21_rx: qup-uart21-rx-pins {
5161					pins = "gpio16";
5162					function = "qup3_se0";
5163				};
5164			};
5165		};
5166
5167		sram: sram@146d8000 {
5168			compatible = "qcom,sa8775p-imem", "syscon", "simple-mfd";
5169			reg = <0x0 0x146d8000 0x0 0x1000>;
5170			ranges = <0x0 0x0 0x146d8000 0x1000>;
5171
5172			#address-cells = <1>;
5173			#size-cells = <1>;
5174
5175			pil-reloc@94c {
5176				compatible = "qcom,pil-reloc-info";
5177				reg = <0x94c 0xc8>;
5178			};
5179		};
5180
5181		apps_smmu: iommu@15000000 {
5182			compatible = "qcom,sa8775p-smmu-500", "qcom,smmu-500", "arm,mmu-500";
5183			reg = <0x0 0x15000000 0x0 0x100000>;
5184			#iommu-cells = <2>;
5185			#global-interrupts = <2>;
5186			dma-coherent;
5187
5188			interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
5189				     <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
5190				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
5191				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
5192				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
5193				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
5194				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
5195				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
5196				     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
5197				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
5198				     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
5199				     <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
5200				     <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
5201				     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
5202				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
5203				     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
5204				     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
5205				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
5206				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
5207				     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
5208				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
5209				     <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
5210				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
5211				     <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
5212				     <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
5213				     <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
5214				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
5215				     <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
5216				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
5217				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
5218				     <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
5219				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
5220				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
5221				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
5222				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
5223				     <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
5224				     <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
5225				     <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
5226				     <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
5227				     <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
5228				     <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
5229				     <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
5230				     <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
5231				     <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
5232				     <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
5233				     <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
5234				     <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
5235				     <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
5236				     <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
5237				     <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
5238				     <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
5239				     <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
5240				     <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
5241				     <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
5242				     <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
5243				     <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
5244				     <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
5245				     <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
5246				     <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
5247				     <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
5248				     <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
5249				     <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
5250				     <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
5251				     <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
5252				     <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
5253				     <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
5254				     <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
5255				     <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
5256				     <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
5257				     <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
5258				     <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
5259				     <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
5260				     <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
5261				     <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
5262				     <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
5263				     <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
5264				     <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
5265				     <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
5266				     <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
5267				     <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>,
5268				     <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
5269				     <GIC_SPI 706 IRQ_TYPE_LEVEL_HIGH>,
5270				     <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
5271				     <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
5272				     <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
5273				     <GIC_SPI 689 IRQ_TYPE_LEVEL_HIGH>,
5274				     <GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH>,
5275				     <GIC_SPI 691 IRQ_TYPE_LEVEL_HIGH>,
5276				     <GIC_SPI 692 IRQ_TYPE_LEVEL_HIGH>,
5277				     <GIC_SPI 693 IRQ_TYPE_LEVEL_HIGH>,
5278				     <GIC_SPI 694 IRQ_TYPE_LEVEL_HIGH>,
5279				     <GIC_SPI 695 IRQ_TYPE_LEVEL_HIGH>,
5280				     <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>,
5281				     <GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>,
5282				     <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>,
5283				     <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
5284				     <GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>,
5285				     <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
5286				     <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>,
5287				     <GIC_SPI 708 IRQ_TYPE_LEVEL_HIGH>,
5288				     <GIC_SPI 709 IRQ_TYPE_LEVEL_HIGH>,
5289				     <GIC_SPI 710 IRQ_TYPE_LEVEL_HIGH>,
5290				     <GIC_SPI 711 IRQ_TYPE_LEVEL_HIGH>,
5291				     <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
5292				     <GIC_SPI 712 IRQ_TYPE_LEVEL_HIGH>,
5293				     <GIC_SPI 713 IRQ_TYPE_LEVEL_HIGH>,
5294				     <GIC_SPI 714 IRQ_TYPE_LEVEL_HIGH>,
5295				     <GIC_SPI 715 IRQ_TYPE_LEVEL_HIGH>,
5296				     <GIC_SPI 912 IRQ_TYPE_LEVEL_HIGH>,
5297				     <GIC_SPI 911 IRQ_TYPE_LEVEL_HIGH>,
5298				     <GIC_SPI 910 IRQ_TYPE_LEVEL_HIGH>,
5299				     <GIC_SPI 909 IRQ_TYPE_LEVEL_HIGH>,
5300				     <GIC_SPI 908 IRQ_TYPE_LEVEL_HIGH>,
5301				     <GIC_SPI 907 IRQ_TYPE_LEVEL_HIGH>,
5302				     <GIC_SPI 906 IRQ_TYPE_LEVEL_HIGH>,
5303				     <GIC_SPI 905 IRQ_TYPE_LEVEL_HIGH>,
5304				     <GIC_SPI 904 IRQ_TYPE_LEVEL_HIGH>,
5305				     <GIC_SPI 903 IRQ_TYPE_LEVEL_HIGH>,
5306				     <GIC_SPI 902 IRQ_TYPE_LEVEL_HIGH>,
5307				     <GIC_SPI 901 IRQ_TYPE_LEVEL_HIGH>,
5308				     <GIC_SPI 900 IRQ_TYPE_LEVEL_HIGH>,
5309				     <GIC_SPI 899 IRQ_TYPE_LEVEL_HIGH>,
5310				     <GIC_SPI 898 IRQ_TYPE_LEVEL_HIGH>,
5311				     <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>,
5312				     <GIC_SPI 896 IRQ_TYPE_LEVEL_HIGH>,
5313				     <GIC_SPI 895 IRQ_TYPE_LEVEL_HIGH>,
5314				     <GIC_SPI 894 IRQ_TYPE_LEVEL_HIGH>,
5315				     <GIC_SPI 893 IRQ_TYPE_LEVEL_HIGH>,
5316				     <GIC_SPI 892 IRQ_TYPE_LEVEL_HIGH>,
5317				     <GIC_SPI 891 IRQ_TYPE_LEVEL_HIGH>;
5318		};
5319
5320		pcie_smmu: iommu@15200000 {
5321			compatible = "qcom,sa8775p-smmu-500", "qcom,smmu-500", "arm,mmu-500";
5322			reg = <0x0 0x15200000 0x0 0x80000>;
5323			#iommu-cells = <2>;
5324			#global-interrupts = <2>;
5325			dma-coherent;
5326
5327			interrupts = <GIC_SPI 920 IRQ_TYPE_LEVEL_HIGH>,
5328				     <GIC_SPI 921 IRQ_TYPE_LEVEL_HIGH>,
5329				     <GIC_SPI 925 IRQ_TYPE_LEVEL_HIGH>,
5330				     <GIC_SPI 926 IRQ_TYPE_LEVEL_HIGH>,
5331				     <GIC_SPI 927 IRQ_TYPE_LEVEL_HIGH>,
5332				     <GIC_SPI 928 IRQ_TYPE_LEVEL_HIGH>,
5333				     <GIC_SPI 950 IRQ_TYPE_LEVEL_HIGH>,
5334				     <GIC_SPI 951 IRQ_TYPE_LEVEL_HIGH>,
5335				     <GIC_SPI 952 IRQ_TYPE_LEVEL_HIGH>,
5336				     <GIC_SPI 953 IRQ_TYPE_LEVEL_HIGH>,
5337				     <GIC_SPI 954 IRQ_TYPE_LEVEL_HIGH>,
5338				     <GIC_SPI 955 IRQ_TYPE_LEVEL_HIGH>,
5339				     <GIC_SPI 956 IRQ_TYPE_LEVEL_HIGH>,
5340				     <GIC_SPI 957 IRQ_TYPE_LEVEL_HIGH>,
5341				     <GIC_SPI 958 IRQ_TYPE_LEVEL_HIGH>,
5342				     <GIC_SPI 885 IRQ_TYPE_LEVEL_HIGH>,
5343				     <GIC_SPI 886 IRQ_TYPE_LEVEL_HIGH>,
5344				     <GIC_SPI 887 IRQ_TYPE_LEVEL_HIGH>,
5345				     <GIC_SPI 888 IRQ_TYPE_LEVEL_HIGH>,
5346				     <GIC_SPI 820 IRQ_TYPE_LEVEL_HIGH>,
5347				     <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH>,
5348				     <GIC_SPI 823 IRQ_TYPE_LEVEL_HIGH>,
5349				     <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
5350				     <GIC_SPI 446 IRQ_TYPE_LEVEL_HIGH>,
5351				     <GIC_SPI 447 IRQ_TYPE_LEVEL_HIGH>,
5352				     <GIC_SPI 452 IRQ_TYPE_LEVEL_HIGH>,
5353				     <GIC_SPI 840 IRQ_TYPE_LEVEL_HIGH>,
5354				     <GIC_SPI 841 IRQ_TYPE_LEVEL_HIGH>,
5355				     <GIC_SPI 842 IRQ_TYPE_LEVEL_HIGH>,
5356				     <GIC_SPI 843 IRQ_TYPE_LEVEL_HIGH>,
5357				     <GIC_SPI 844 IRQ_TYPE_LEVEL_HIGH>,
5358				     <GIC_SPI 845 IRQ_TYPE_LEVEL_HIGH>,
5359				     <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>,
5360				     <GIC_SPI 847 IRQ_TYPE_LEVEL_HIGH>,
5361				     <GIC_SPI 848 IRQ_TYPE_LEVEL_HIGH>,
5362				     <GIC_SPI 849 IRQ_TYPE_LEVEL_HIGH>,
5363				     <GIC_SPI 802 IRQ_TYPE_LEVEL_HIGH>,
5364				     <GIC_SPI 803 IRQ_TYPE_LEVEL_HIGH>,
5365				     <GIC_SPI 804 IRQ_TYPE_LEVEL_HIGH>,
5366				     <GIC_SPI 805 IRQ_TYPE_LEVEL_HIGH>,
5367				     <GIC_SPI 806 IRQ_TYPE_LEVEL_HIGH>,
5368				     <GIC_SPI 807 IRQ_TYPE_LEVEL_HIGH>,
5369				     <GIC_SPI 808 IRQ_TYPE_LEVEL_HIGH>,
5370				     <GIC_SPI 809 IRQ_TYPE_LEVEL_HIGH>,
5371				     <GIC_SPI 810 IRQ_TYPE_LEVEL_HIGH>,
5372				     <GIC_SPI 811 IRQ_TYPE_LEVEL_HIGH>,
5373				     <GIC_SPI 812 IRQ_TYPE_LEVEL_HIGH>,
5374				     <GIC_SPI 813 IRQ_TYPE_LEVEL_HIGH>,
5375				     <GIC_SPI 814 IRQ_TYPE_LEVEL_HIGH>,
5376				     <GIC_SPI 836 IRQ_TYPE_LEVEL_HIGH>,
5377				     <GIC_SPI 837 IRQ_TYPE_LEVEL_HIGH>,
5378				     <GIC_SPI 838 IRQ_TYPE_LEVEL_HIGH>,
5379				     <GIC_SPI 839 IRQ_TYPE_LEVEL_HIGH>,
5380				     <GIC_SPI 854 IRQ_TYPE_LEVEL_HIGH>,
5381				     <GIC_SPI 855 IRQ_TYPE_LEVEL_HIGH>,
5382				     <GIC_SPI 856 IRQ_TYPE_LEVEL_HIGH>,
5383				     <GIC_SPI 790 IRQ_TYPE_LEVEL_HIGH>,
5384				     <GIC_SPI 791 IRQ_TYPE_LEVEL_HIGH>,
5385				     <GIC_SPI 792 IRQ_TYPE_LEVEL_HIGH>,
5386				     <GIC_SPI 793 IRQ_TYPE_LEVEL_HIGH>,
5387				     <GIC_SPI 794 IRQ_TYPE_LEVEL_HIGH>,
5388				     <GIC_SPI 795 IRQ_TYPE_LEVEL_HIGH>,
5389				     <GIC_SPI 796 IRQ_TYPE_LEVEL_HIGH>,
5390				     <GIC_SPI 639 IRQ_TYPE_LEVEL_HIGH>,
5391				     <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>,
5392				     <GIC_SPI 640 IRQ_TYPE_LEVEL_HIGH>;
5393		};
5394
5395		intc: interrupt-controller@17a00000 {
5396			compatible = "arm,gic-v3";
5397			reg = <0x0 0x17a00000 0x0 0x10000>,     /* GICD */
5398			      <0x0 0x17a60000 0x0 0x100000>;    /* GICR * 8 */
5399			interrupt-controller;
5400			#interrupt-cells = <3>;
5401			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
5402			#redistributor-regions = <1>;
5403			redistributor-stride = <0x0 0x20000>;
5404		};
5405
5406		watchdog@17c10000 {
5407			compatible = "qcom,apss-wdt-sa8775p", "qcom,kpss-wdt";
5408			reg = <0x0 0x17c10000 0x0 0x1000>;
5409			clocks = <&sleep_clk>;
5410			interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
5411		};
5412
5413		memtimer: timer@17c20000 {
5414			compatible = "arm,armv7-timer-mem";
5415			reg = <0x0 0x17c20000 0x0 0x1000>;
5416			ranges = <0x0 0x0 0x0 0x20000000>;
5417			#address-cells = <1>;
5418			#size-cells = <1>;
5419
5420			frame@17c21000 {
5421				reg = <0x17c21000 0x1000>,
5422				      <0x17c22000 0x1000>;
5423				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
5424					     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
5425				frame-number = <0>;
5426			};
5427
5428			frame@17c23000 {
5429				reg = <0x17c23000 0x1000>;
5430				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
5431				frame-number = <1>;
5432				status = "disabled";
5433			};
5434
5435			frame@17c25000 {
5436				reg = <0x17c25000 0x1000>;
5437				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
5438				frame-number = <2>;
5439				status = "disabled";
5440			};
5441
5442			frame@17c27000 {
5443				reg = <0x17c27000 0x1000>;
5444				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
5445				frame-number = <3>;
5446				status = "disabled";
5447			};
5448
5449			frame@17c29000 {
5450				reg = <0x17c29000 0x1000>;
5451				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
5452				frame-number = <4>;
5453				status = "disabled";
5454			};
5455
5456			frame@17c2b000 {
5457				reg = <0x17c2b000 0x1000>;
5458				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
5459				frame-number = <5>;
5460				status = "disabled";
5461			};
5462
5463			frame@17c2d000 {
5464				reg = <0x17c2d000 0x1000>;
5465				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
5466				frame-number = <6>;
5467				status = "disabled";
5468			};
5469		};
5470
5471		apps_rsc: rsc@18200000 {
5472			compatible = "qcom,rpmh-rsc";
5473			reg = <0x0 0x18200000 0x0 0x10000>,
5474			      <0x0 0x18210000 0x0 0x10000>,
5475			      <0x0 0x18220000 0x0 0x10000>;
5476			reg-names = "drv-0", "drv-1", "drv-2";
5477			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
5478			      <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
5479			      <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
5480			qcom,tcs-offset = <0xd00>;
5481			qcom,drv-id = <2>;
5482			qcom,tcs-config = <ACTIVE_TCS 2>,
5483					  <SLEEP_TCS 3>,
5484					  <WAKE_TCS 3>,
5485					  <CONTROL_TCS 0>;
5486			label = "apps_rsc";
5487			power-domains = <&system_pd>;
5488
5489			apps_bcm_voter: bcm-voter {
5490				compatible = "qcom,bcm-voter";
5491			};
5492
5493			rpmhcc: clock-controller {
5494				compatible = "qcom,sa8775p-rpmh-clk";
5495				#clock-cells = <1>;
5496				clock-names = "xo";
5497				clocks = <&xo_board_clk>;
5498			};
5499
5500			rpmhpd: power-controller {
5501				compatible = "qcom,sa8775p-rpmhpd";
5502				#power-domain-cells = <1>;
5503				operating-points-v2 = <&rpmhpd_opp_table>;
5504
5505				rpmhpd_opp_table: opp-table {
5506					compatible = "operating-points-v2";
5507
5508					rpmhpd_opp_ret: opp-0 {
5509						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
5510					};
5511
5512					rpmhpd_opp_min_svs: opp-1 {
5513						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
5514					};
5515
5516					rpmhpd_opp_low_svs: opp2 {
5517						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
5518					};
5519
5520					rpmhpd_opp_svs: opp3 {
5521						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
5522					};
5523
5524					rpmhpd_opp_svs_l1: opp-4 {
5525						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
5526					};
5527
5528					rpmhpd_opp_nom: opp-5 {
5529						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
5530					};
5531
5532					rpmhpd_opp_nom_l1: opp-6 {
5533						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
5534					};
5535
5536					rpmhpd_opp_nom_l2: opp-7 {
5537						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
5538					};
5539
5540					rpmhpd_opp_turbo: opp-8 {
5541						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
5542					};
5543
5544					rpmhpd_opp_turbo_l1: opp-9 {
5545						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
5546					};
5547				};
5548			};
5549		};
5550
5551		cpufreq_hw: cpufreq@18591000 {
5552			compatible = "qcom,sa8775p-cpufreq-epss",
5553				     "qcom,cpufreq-epss";
5554			reg = <0x0 0x18591000 0x0 0x1000>,
5555			      <0x0 0x18593000 0x0 0x1000>;
5556			reg-names = "freq-domain0", "freq-domain1";
5557
5558			interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
5559				     <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
5560			interrupt-names = "dcvsh-irq-0", "dcvsh-irq-1";
5561
5562			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>;
5563			clock-names = "xo", "alternate";
5564
5565			#freq-domain-cells = <1>;
5566		};
5567
5568		remoteproc_gpdsp0: remoteproc@20c00000 {
5569			compatible = "qcom,sa8775p-gpdsp0-pas";
5570			reg = <0x0 0x20c00000 0x0 0x10000>;
5571
5572			interrupts-extended = <&intc GIC_SPI 768 IRQ_TYPE_EDGE_RISING>,
5573					      <&smp2p_gpdsp0_in 0 0>,
5574					      <&smp2p_gpdsp0_in 2 0>,
5575					      <&smp2p_gpdsp0_in 1 0>,
5576					      <&smp2p_gpdsp0_in 3 0>;
5577			interrupt-names = "wdog", "fatal", "ready",
5578					  "handover", "stop-ack";
5579
5580			clocks = <&rpmhcc RPMH_CXO_CLK>;
5581			clock-names = "xo";
5582
5583			power-domains = <&rpmhpd RPMHPD_CX>,
5584					<&rpmhpd RPMHPD_MXC>;
5585			power-domain-names = "cx", "mxc";
5586
5587			interconnects = <&gpdsp_anoc MASTER_DSP0 0
5588					 &config_noc SLAVE_CLK_CTL 0>;
5589
5590			memory-region = <&pil_gdsp0_mem>;
5591
5592			qcom,qmp = <&aoss_qmp>;
5593
5594			qcom,smem-states = <&smp2p_gpdsp0_out 0>;
5595			qcom,smem-state-names = "stop";
5596
5597			status = "disabled";
5598
5599			glink-edge {
5600				interrupts-extended = <&ipcc IPCC_CLIENT_GPDSP0
5601							     IPCC_MPROC_SIGNAL_GLINK_QMP
5602							     IRQ_TYPE_EDGE_RISING>;
5603				mboxes = <&ipcc IPCC_CLIENT_GPDSP0
5604						IPCC_MPROC_SIGNAL_GLINK_QMP>;
5605
5606				label = "gpdsp0";
5607				qcom,remote-pid = <17>;
5608			};
5609		};
5610
5611		remoteproc_gpdsp1: remoteproc@21c00000 {
5612			compatible = "qcom,sa8775p-gpdsp1-pas";
5613			reg = <0x0 0x21c00000 0x0 0x10000>;
5614
5615			interrupts-extended = <&intc GIC_SPI 624 IRQ_TYPE_EDGE_RISING>,
5616					      <&smp2p_gpdsp1_in 0 0>,
5617					      <&smp2p_gpdsp1_in 2 0>,
5618					      <&smp2p_gpdsp1_in 1 0>,
5619					      <&smp2p_gpdsp1_in 3 0>;
5620			interrupt-names = "wdog", "fatal", "ready",
5621					  "handover", "stop-ack";
5622
5623			clocks = <&rpmhcc RPMH_CXO_CLK>;
5624			clock-names = "xo";
5625
5626			power-domains = <&rpmhpd RPMHPD_CX>,
5627					<&rpmhpd RPMHPD_MXC>;
5628			power-domain-names = "cx", "mxc";
5629
5630			interconnects = <&gpdsp_anoc MASTER_DSP1 0
5631					 &config_noc SLAVE_CLK_CTL 0>;
5632
5633			memory-region = <&pil_gdsp1_mem>;
5634
5635			qcom,qmp = <&aoss_qmp>;
5636
5637			qcom,smem-states = <&smp2p_gpdsp1_out 0>;
5638			qcom,smem-state-names = "stop";
5639
5640			status = "disabled";
5641
5642			glink-edge {
5643				interrupts-extended = <&ipcc IPCC_CLIENT_GPDSP1
5644							     IPCC_MPROC_SIGNAL_GLINK_QMP
5645							     IRQ_TYPE_EDGE_RISING>;
5646				mboxes = <&ipcc IPCC_CLIENT_GPDSP1
5647						IPCC_MPROC_SIGNAL_GLINK_QMP>;
5648
5649				label = "gpdsp1";
5650				qcom,remote-pid = <18>;
5651			};
5652		};
5653
5654		dispcc1: clock-controller@22100000 {
5655			compatible = "qcom,sa8775p-dispcc1";
5656			reg = <0x0 0x22100000 0x0 0x20000>;
5657			clocks = <&gcc GCC_DISP_AHB_CLK>,
5658				 <&rpmhcc RPMH_CXO_CLK>,
5659				 <&rpmhcc RPMH_CXO_CLK_A>,
5660				 <&sleep_clk>,
5661				 <0>, <0>, <0>, <0>,
5662				 <0>, <0>, <0>, <0>;
5663			power-domains = <&rpmhpd SA8775P_MMCX>;
5664			#clock-cells = <1>;
5665			#reset-cells = <1>;
5666			#power-domain-cells = <1>;
5667			status = "disabled";
5668		};
5669
5670		ethernet1: ethernet@23000000 {
5671			compatible = "qcom,sa8775p-ethqos";
5672			reg = <0x0 0x23000000 0x0 0x10000>,
5673			      <0x0 0x23016000 0x0 0x100>;
5674			reg-names = "stmmaceth", "rgmii";
5675
5676			interrupts = <GIC_SPI 929 IRQ_TYPE_LEVEL_HIGH>,
5677				     <GIC_SPI 781 IRQ_TYPE_LEVEL_HIGH>;
5678			interrupt-names = "macirq", "sfty";
5679
5680			clocks = <&gcc GCC_EMAC1_AXI_CLK>,
5681				 <&gcc GCC_EMAC1_SLV_AHB_CLK>,
5682				 <&gcc GCC_EMAC1_PTP_CLK>,
5683				 <&gcc GCC_EMAC1_PHY_AUX_CLK>;
5684			clock-names = "stmmaceth",
5685				      "pclk",
5686				      "ptp_ref",
5687				      "phyaux";
5688
5689			interconnects = <&aggre1_noc MASTER_EMAC_1 QCOM_ICC_TAG_ALWAYS
5690					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
5691					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
5692					 &config_noc SLAVE_EMAC1_CFG QCOM_ICC_TAG_ALWAYS>;
5693			interconnect-names = "mac-mem", "cpu-mac";
5694
5695			power-domains = <&gcc EMAC1_GDSC>;
5696
5697			phys = <&serdes1>;
5698			phy-names = "serdes";
5699
5700			iommus = <&apps_smmu 0x140 0xf>;
5701			dma-coherent;
5702
5703			snps,tso;
5704			snps,pbl = <32>;
5705			rx-fifo-depth = <16384>;
5706			tx-fifo-depth = <16384>;
5707
5708			status = "disabled";
5709		};
5710
5711		ethernet0: ethernet@23040000 {
5712			compatible = "qcom,sa8775p-ethqos";
5713			reg = <0x0 0x23040000 0x0 0x10000>,
5714			      <0x0 0x23056000 0x0 0x100>;
5715			reg-names = "stmmaceth", "rgmii";
5716
5717			interrupts = <GIC_SPI 946 IRQ_TYPE_LEVEL_HIGH>,
5718				     <GIC_SPI 782 IRQ_TYPE_LEVEL_HIGH>;
5719			interrupt-names = "macirq", "sfty";
5720
5721			clocks = <&gcc GCC_EMAC0_AXI_CLK>,
5722				 <&gcc GCC_EMAC0_SLV_AHB_CLK>,
5723				 <&gcc GCC_EMAC0_PTP_CLK>,
5724				 <&gcc GCC_EMAC0_PHY_AUX_CLK>;
5725			clock-names = "stmmaceth",
5726				      "pclk",
5727				      "ptp_ref",
5728				      "phyaux";
5729
5730			interconnects = <&aggre1_noc MASTER_EMAC QCOM_ICC_TAG_ALWAYS
5731					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
5732					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
5733					 &config_noc SLAVE_EMAC_CFG QCOM_ICC_TAG_ALWAYS>;
5734			interconnect-names = "mac-mem", "cpu-mac";
5735
5736			power-domains = <&gcc EMAC0_GDSC>;
5737
5738			phys = <&serdes0>;
5739			phy-names = "serdes";
5740
5741			iommus = <&apps_smmu 0x120 0xf>;
5742			dma-coherent;
5743
5744			snps,tso;
5745			snps,pbl = <32>;
5746			rx-fifo-depth = <16384>;
5747			tx-fifo-depth = <16384>;
5748
5749			status = "disabled";
5750		};
5751
5752		remoteproc_cdsp0: remoteproc@26300000 {
5753			compatible = "qcom,sa8775p-cdsp0-pas";
5754			reg = <0x0 0x26300000 0x0 0x10000>;
5755
5756			interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
5757					      <&smp2p_cdsp0_in 0 IRQ_TYPE_EDGE_RISING>,
5758					      <&smp2p_cdsp0_in 2 IRQ_TYPE_EDGE_RISING>,
5759					      <&smp2p_cdsp0_in 1 IRQ_TYPE_EDGE_RISING>,
5760					      <&smp2p_cdsp0_in 3 IRQ_TYPE_EDGE_RISING>;
5761			interrupt-names = "wdog", "fatal", "ready",
5762					  "handover", "stop-ack";
5763
5764			clocks = <&rpmhcc RPMH_CXO_CLK>;
5765			clock-names = "xo";
5766
5767			power-domains = <&rpmhpd RPMHPD_CX>,
5768					<&rpmhpd RPMHPD_MXC>,
5769					<&rpmhpd RPMHPD_NSP0>;
5770			power-domain-names = "cx", "mxc", "nsp";
5771
5772			interconnects = <&nspa_noc MASTER_CDSP_PROC 0
5773					 &mc_virt SLAVE_EBI1 0>;
5774
5775			memory-region = <&pil_cdsp0_mem>;
5776
5777			qcom,qmp = <&aoss_qmp>;
5778
5779			qcom,smem-states = <&smp2p_cdsp0_out 0>;
5780			qcom,smem-state-names = "stop";
5781
5782			status = "disabled";
5783
5784			glink-edge {
5785				interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
5786							     IPCC_MPROC_SIGNAL_GLINK_QMP
5787							     IRQ_TYPE_EDGE_RISING>;
5788				mboxes = <&ipcc IPCC_CLIENT_CDSP
5789						IPCC_MPROC_SIGNAL_GLINK_QMP>;
5790
5791				label = "cdsp";
5792				qcom,remote-pid = <5>;
5793
5794				fastrpc {
5795					compatible = "qcom,fastrpc";
5796					qcom,glink-channels = "fastrpcglink-apps-dsp";
5797					label = "cdsp";
5798					#address-cells = <1>;
5799					#size-cells = <0>;
5800
5801					compute-cb@1 {
5802						compatible = "qcom,fastrpc-compute-cb";
5803						reg = <1>;
5804						iommus = <&apps_smmu 0x2141 0x04a0>,
5805							 <&apps_smmu 0x2181 0x0400>;
5806						dma-coherent;
5807					};
5808
5809					compute-cb@2 {
5810						compatible = "qcom,fastrpc-compute-cb";
5811						reg = <2>;
5812						iommus = <&apps_smmu 0x2142 0x04a0>,
5813							 <&apps_smmu 0x2182 0x0400>;
5814						dma-coherent;
5815					};
5816
5817					compute-cb@3 {
5818						compatible = "qcom,fastrpc-compute-cb";
5819						reg = <3>;
5820						iommus = <&apps_smmu 0x2143 0x04a0>,
5821							 <&apps_smmu 0x2183 0x0400>;
5822						dma-coherent;
5823					};
5824
5825					compute-cb@4 {
5826						compatible = "qcom,fastrpc-compute-cb";
5827						reg = <4>;
5828						iommus = <&apps_smmu 0x2144 0x04a0>,
5829							 <&apps_smmu 0x2184 0x0400>;
5830						dma-coherent;
5831					};
5832
5833					compute-cb@5 {
5834						compatible = "qcom,fastrpc-compute-cb";
5835						reg = <5>;
5836						iommus = <&apps_smmu 0x2145 0x04a0>,
5837							 <&apps_smmu 0x2185 0x0400>;
5838						dma-coherent;
5839					};
5840
5841					compute-cb@6 {
5842						compatible = "qcom,fastrpc-compute-cb";
5843						reg = <6>;
5844						iommus = <&apps_smmu 0x2146 0x04a0>,
5845							 <&apps_smmu 0x2186 0x0400>;
5846						dma-coherent;
5847					};
5848
5849					compute-cb@7 {
5850						compatible = "qcom,fastrpc-compute-cb";
5851						reg = <7>;
5852						iommus = <&apps_smmu 0x2147 0x04a0>,
5853							 <&apps_smmu 0x2187 0x0400>;
5854						dma-coherent;
5855					};
5856
5857					compute-cb@8 {
5858						compatible = "qcom,fastrpc-compute-cb";
5859						reg = <8>;
5860						iommus = <&apps_smmu 0x2148 0x04a0>,
5861							 <&apps_smmu 0x2188 0x0400>;
5862						dma-coherent;
5863					};
5864
5865					compute-cb@9 {
5866						compatible = "qcom,fastrpc-compute-cb";
5867						reg = <9>;
5868						iommus = <&apps_smmu 0x2149 0x04a0>,
5869							 <&apps_smmu 0x2189 0x0400>;
5870						dma-coherent;
5871					};
5872
5873					compute-cb@11 {
5874						compatible = "qcom,fastrpc-compute-cb";
5875						reg = <11>;
5876						iommus = <&apps_smmu 0x214b 0x04a0>,
5877							 <&apps_smmu 0x218b 0x0400>;
5878						dma-coherent;
5879					};
5880				};
5881			};
5882		};
5883
5884		remoteproc_cdsp1: remoteproc@2a300000 {
5885			compatible = "qcom,sa8775p-cdsp1-pas";
5886			reg = <0x0 0x2A300000 0x0 0x10000>;
5887
5888			interrupts-extended = <&intc GIC_SPI 798 IRQ_TYPE_EDGE_RISING>,
5889					      <&smp2p_cdsp1_in 0 IRQ_TYPE_EDGE_RISING>,
5890					      <&smp2p_cdsp1_in 2 IRQ_TYPE_EDGE_RISING>,
5891					      <&smp2p_cdsp1_in 1 IRQ_TYPE_EDGE_RISING>,
5892					      <&smp2p_cdsp1_in 3 IRQ_TYPE_EDGE_RISING>;
5893			interrupt-names = "wdog", "fatal", "ready",
5894					  "handover", "stop-ack";
5895
5896			clocks = <&rpmhcc RPMH_CXO_CLK>;
5897			clock-names = "xo";
5898
5899			power-domains = <&rpmhpd RPMHPD_CX>,
5900					<&rpmhpd RPMHPD_MXC>,
5901					<&rpmhpd RPMHPD_NSP1>;
5902			power-domain-names = "cx", "mxc", "nsp";
5903
5904			interconnects = <&nspb_noc MASTER_CDSP_PROC_B 0
5905					 &mc_virt SLAVE_EBI1 0>;
5906
5907			memory-region = <&pil_cdsp1_mem>;
5908
5909			qcom,qmp = <&aoss_qmp>;
5910
5911			qcom,smem-states = <&smp2p_cdsp1_out 0>;
5912			qcom,smem-state-names = "stop";
5913
5914			status = "disabled";
5915
5916			glink-edge {
5917				interrupts-extended = <&ipcc IPCC_CLIENT_NSP1
5918							     IPCC_MPROC_SIGNAL_GLINK_QMP
5919							     IRQ_TYPE_EDGE_RISING>;
5920				mboxes = <&ipcc IPCC_CLIENT_NSP1
5921						IPCC_MPROC_SIGNAL_GLINK_QMP>;
5922
5923				label = "cdsp";
5924				qcom,remote-pid = <12>;
5925
5926				fastrpc {
5927					compatible = "qcom,fastrpc";
5928					qcom,glink-channels = "fastrpcglink-apps-dsp";
5929					label = "cdsp1";
5930					#address-cells = <1>;
5931					#size-cells = <0>;
5932
5933					compute-cb@1 {
5934						compatible = "qcom,fastrpc-compute-cb";
5935						reg = <1>;
5936						iommus = <&apps_smmu 0x2941 0x04a0>,
5937							 <&apps_smmu 0x2981 0x0400>;
5938						dma-coherent;
5939					};
5940
5941					compute-cb@2 {
5942						compatible = "qcom,fastrpc-compute-cb";
5943						reg = <2>;
5944						iommus = <&apps_smmu 0x2942 0x04a0>,
5945							 <&apps_smmu 0x2982 0x0400>;
5946						dma-coherent;
5947					};
5948
5949					compute-cb@3 {
5950						compatible = "qcom,fastrpc-compute-cb";
5951						reg = <3>;
5952						iommus = <&apps_smmu 0x2943 0x04a0>,
5953							 <&apps_smmu 0x2983 0x0400>;
5954						dma-coherent;
5955					};
5956
5957					compute-cb@4 {
5958						compatible = "qcom,fastrpc-compute-cb";
5959						reg = <4>;
5960						iommus = <&apps_smmu 0x2944 0x04a0>,
5961							 <&apps_smmu 0x2984 0x0400>;
5962						dma-coherent;
5963					};
5964
5965					compute-cb@5 {
5966						compatible = "qcom,fastrpc-compute-cb";
5967						reg = <5>;
5968						iommus = <&apps_smmu 0x2945 0x04a0>,
5969							 <&apps_smmu 0x2985 0x0400>;
5970						dma-coherent;
5971					};
5972
5973					compute-cb@6 {
5974						compatible = "qcom,fastrpc-compute-cb";
5975						reg = <6>;
5976						iommus = <&apps_smmu 0x2946 0x04a0>,
5977							 <&apps_smmu 0x2986 0x0400>;
5978						dma-coherent;
5979					};
5980
5981					compute-cb@7 {
5982						compatible = "qcom,fastrpc-compute-cb";
5983						reg = <7>;
5984						iommus = <&apps_smmu 0x2947 0x04a0>,
5985							 <&apps_smmu 0x2987 0x0400>;
5986						dma-coherent;
5987					};
5988
5989					compute-cb@8 {
5990						compatible = "qcom,fastrpc-compute-cb";
5991						reg = <8>;
5992						iommus = <&apps_smmu 0x2948 0x04a0>,
5993							 <&apps_smmu 0x2988 0x0400>;
5994						dma-coherent;
5995					};
5996
5997					compute-cb@9 {
5998						compatible = "qcom,fastrpc-compute-cb";
5999						reg = <9>;
6000						iommus = <&apps_smmu 0x2949 0x04a0>,
6001							 <&apps_smmu 0x2989 0x0400>;
6002						dma-coherent;
6003					};
6004
6005					compute-cb@10 {
6006						compatible = "qcom,fastrpc-compute-cb";
6007						reg = <10>;
6008						iommus = <&apps_smmu 0x294a 0x04a0>,
6009							 <&apps_smmu 0x298a 0x0400>;
6010						dma-coherent;
6011					};
6012
6013					compute-cb@11 {
6014						compatible = "qcom,fastrpc-compute-cb";
6015						reg = <11>;
6016						iommus = <&apps_smmu 0x294b 0x04a0>,
6017							 <&apps_smmu 0x298b 0x0400>;
6018						dma-coherent;
6019					};
6020
6021					compute-cb@12 {
6022						compatible = "qcom,fastrpc-compute-cb";
6023						reg = <12>;
6024						iommus = <&apps_smmu 0x294c 0x04a0>,
6025							 <&apps_smmu 0x298c 0x0400>;
6026						dma-coherent;
6027					};
6028
6029					compute-cb@13 {
6030						compatible = "qcom,fastrpc-compute-cb";
6031						reg = <13>;
6032						iommus = <&apps_smmu 0x294d 0x04a0>,
6033							 <&apps_smmu 0x298d 0x0400>;
6034						dma-coherent;
6035					};
6036				};
6037			};
6038		};
6039
6040		remoteproc_adsp: remoteproc@30000000 {
6041			compatible = "qcom,sa8775p-adsp-pas";
6042			reg = <0x0 0x30000000 0x0 0x100>;
6043
6044			interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
6045					      <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
6046					      <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
6047					      <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
6048					      <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
6049			interrupt-names = "wdog", "fatal", "ready", "handover",
6050					  "stop-ack";
6051
6052			clocks = <&rpmhcc RPMH_CXO_CLK>;
6053			clock-names = "xo";
6054
6055			power-domains = <&rpmhpd RPMHPD_LCX>,
6056					<&rpmhpd RPMHPD_LMX>;
6057			power-domain-names = "lcx", "lmx";
6058
6059			interconnects = <&lpass_ag_noc MASTER_LPASS_PROC 0 &mc_virt SLAVE_EBI1 0>;
6060
6061			memory-region = <&pil_adsp_mem>;
6062
6063			qcom,qmp = <&aoss_qmp>;
6064
6065			qcom,smem-states = <&smp2p_adsp_out 0>;
6066			qcom,smem-state-names = "stop";
6067
6068			status = "disabled";
6069
6070			remoteproc_adsp_glink: glink-edge {
6071				interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
6072							     IPCC_MPROC_SIGNAL_GLINK_QMP
6073							     IRQ_TYPE_EDGE_RISING>;
6074				mboxes = <&ipcc IPCC_CLIENT_LPASS
6075						IPCC_MPROC_SIGNAL_GLINK_QMP>;
6076
6077				label = "lpass";
6078				qcom,remote-pid = <2>;
6079
6080				fastrpc {
6081					compatible = "qcom,fastrpc";
6082					qcom,glink-channels = "fastrpcglink-apps-dsp";
6083					label = "adsp";
6084					memory-region = <&adsp_rpc_remote_heap_mem>;
6085					qcom,vmids = <QCOM_SCM_VMID_LPASS
6086							  QCOM_SCM_VMID_ADSP_HEAP>;
6087					#address-cells = <1>;
6088					#size-cells = <0>;
6089
6090					compute-cb@3 {
6091						compatible = "qcom,fastrpc-compute-cb";
6092						reg = <3>;
6093						iommus = <&apps_smmu 0x3003 0x0>;
6094						dma-coherent;
6095					};
6096
6097					compute-cb@4 {
6098						compatible = "qcom,fastrpc-compute-cb";
6099						reg = <4>;
6100						iommus = <&apps_smmu 0x3004 0x0>;
6101						dma-coherent;
6102					};
6103
6104					compute-cb@5 {
6105						compatible = "qcom,fastrpc-compute-cb";
6106						reg = <5>;
6107						iommus = <&apps_smmu 0x3005 0x0>;
6108						qcom,nsessions = <5>;
6109						dma-coherent;
6110					};
6111				};
6112			};
6113		};
6114	};
6115
6116	thermal-zones {
6117		aoss-0-thermal {
6118			thermal-sensors = <&tsens0 0>;
6119
6120			trips {
6121				trip-point0 {
6122					temperature = <105000>;
6123					hysteresis = <5000>;
6124					type = "passive";
6125				};
6126
6127				trip-point1 {
6128					temperature = <115000>;
6129					hysteresis = <5000>;
6130					type = "passive";
6131				};
6132			};
6133		};
6134
6135		cpu-0-0-0-thermal {
6136			polling-delay-passive = <10>;
6137
6138			thermal-sensors = <&tsens0 1>;
6139
6140			trips {
6141				trip-point0 {
6142					temperature = <105000>;
6143					hysteresis = <5000>;
6144					type = "passive";
6145				};
6146
6147				trip-point1 {
6148					temperature = <115000>;
6149					hysteresis = <5000>;
6150					type = "passive";
6151				};
6152			};
6153		};
6154
6155		cpu-0-1-0-thermal {
6156			polling-delay-passive = <10>;
6157
6158			thermal-sensors = <&tsens0 2>;
6159
6160			trips {
6161				trip-point0 {
6162					temperature = <105000>;
6163					hysteresis = <5000>;
6164					type = "passive";
6165				};
6166
6167				trip-point1 {
6168					temperature = <115000>;
6169					hysteresis = <5000>;
6170					type = "passive";
6171				};
6172			};
6173		};
6174
6175		cpu-0-2-0-thermal {
6176			polling-delay-passive = <10>;
6177
6178			thermal-sensors = <&tsens0 3>;
6179
6180			trips {
6181				trip-point0 {
6182					temperature = <105000>;
6183					hysteresis = <5000>;
6184					type = "passive";
6185				};
6186
6187				trip-point1 {
6188					temperature = <115000>;
6189					hysteresis = <5000>;
6190					type = "passive";
6191				};
6192			};
6193		};
6194
6195		cpu-0-3-0-thermal {
6196			polling-delay-passive = <10>;
6197
6198			thermal-sensors = <&tsens0 4>;
6199
6200			trips {
6201				trip-point0 {
6202					temperature = <105000>;
6203					hysteresis = <5000>;
6204					type = "passive";
6205				};
6206
6207				trip-point1 {
6208					temperature = <115000>;
6209					hysteresis = <5000>;
6210					type = "passive";
6211				};
6212			};
6213		};
6214
6215		gpuss-0-thermal {
6216			polling-delay-passive = <10>;
6217
6218			thermal-sensors = <&tsens0 5>;
6219
6220			trips {
6221				trip-point0 {
6222					temperature = <105000>;
6223					hysteresis = <5000>;
6224					type = "passive";
6225				};
6226
6227				trip-point1 {
6228					temperature = <115000>;
6229					hysteresis = <5000>;
6230					type = "passive";
6231				};
6232			};
6233		};
6234
6235		gpuss-1-thermal {
6236			polling-delay-passive = <10>;
6237
6238			thermal-sensors = <&tsens0 6>;
6239
6240			trips {
6241				trip-point0 {
6242					temperature = <105000>;
6243					hysteresis = <5000>;
6244					type = "passive";
6245				};
6246
6247				trip-point1 {
6248					temperature = <115000>;
6249					hysteresis = <5000>;
6250					type = "passive";
6251				};
6252			};
6253		};
6254
6255		gpuss-2-thermal {
6256			polling-delay-passive = <10>;
6257
6258			thermal-sensors = <&tsens0 7>;
6259
6260			trips {
6261				trip-point0 {
6262					temperature = <105000>;
6263					hysteresis = <5000>;
6264					type = "passive";
6265				};
6266
6267				trip-point1 {
6268					temperature = <115000>;
6269					hysteresis = <5000>;
6270					type = "passive";
6271				};
6272			};
6273		};
6274
6275		audio-thermal {
6276			thermal-sensors = <&tsens0 8>;
6277
6278			trips {
6279				trip-point0 {
6280					temperature = <105000>;
6281					hysteresis = <5000>;
6282					type = "passive";
6283				};
6284
6285				trip-point1 {
6286					temperature = <115000>;
6287					hysteresis = <5000>;
6288					type = "passive";
6289				};
6290			};
6291		};
6292
6293		camss-0-thermal {
6294			thermal-sensors = <&tsens0 9>;
6295
6296			trips {
6297				trip-point0 {
6298					temperature = <105000>;
6299					hysteresis = <5000>;
6300					type = "passive";
6301				};
6302
6303				trip-point1 {
6304					temperature = <115000>;
6305					hysteresis = <5000>;
6306					type = "passive";
6307				};
6308			};
6309		};
6310
6311		pcie-0-thermal {
6312			thermal-sensors = <&tsens0 10>;
6313
6314			trips {
6315				trip-point0 {
6316					temperature = <105000>;
6317					hysteresis = <5000>;
6318					type = "passive";
6319				};
6320
6321				trip-point1 {
6322					temperature = <115000>;
6323					hysteresis = <5000>;
6324					type = "passive";
6325				};
6326			};
6327		};
6328
6329		cpuss-0-0-thermal {
6330			thermal-sensors = <&tsens0 11>;
6331
6332			trips {
6333				trip-point0 {
6334					temperature = <105000>;
6335					hysteresis = <5000>;
6336					type = "passive";
6337				};
6338
6339				trip-point1 {
6340					temperature = <115000>;
6341					hysteresis = <5000>;
6342					type = "passive";
6343				};
6344			};
6345		};
6346
6347		aoss-1-thermal {
6348			thermal-sensors = <&tsens1 0>;
6349
6350			trips {
6351				trip-point0 {
6352					temperature = <105000>;
6353					hysteresis = <5000>;
6354					type = "passive";
6355				};
6356
6357				trip-point1 {
6358					temperature = <115000>;
6359					hysteresis = <5000>;
6360					type = "passive";
6361				};
6362			};
6363		};
6364
6365		cpu-0-0-1-thermal {
6366			polling-delay-passive = <10>;
6367
6368			thermal-sensors = <&tsens1 1>;
6369
6370			trips {
6371				trip-point0 {
6372					temperature = <105000>;
6373					hysteresis = <5000>;
6374					type = "passive";
6375				};
6376
6377				trip-point1 {
6378					temperature = <115000>;
6379					hysteresis = <5000>;
6380					type = "passive";
6381				};
6382			};
6383		};
6384
6385		cpu-0-1-1-thermal {
6386			polling-delay-passive = <10>;
6387
6388			thermal-sensors = <&tsens1 2>;
6389
6390			trips {
6391				trip-point0 {
6392					temperature = <105000>;
6393					hysteresis = <5000>;
6394					type = "passive";
6395				};
6396
6397				trip-point1 {
6398					temperature = <115000>;
6399					hysteresis = <5000>;
6400					type = "passive";
6401				};
6402			};
6403		};
6404
6405		cpu-0-2-1-thermal {
6406			polling-delay-passive = <10>;
6407
6408			thermal-sensors = <&tsens1 3>;
6409
6410			trips {
6411				trip-point0 {
6412					temperature = <105000>;
6413					hysteresis = <5000>;
6414					type = "passive";
6415				};
6416
6417				trip-point1 {
6418					temperature = <115000>;
6419					hysteresis = <5000>;
6420					type = "passive";
6421				};
6422			};
6423		};
6424
6425		cpu-0-3-1-thermal {
6426			polling-delay-passive = <10>;
6427
6428			thermal-sensors = <&tsens1 4>;
6429
6430			trips {
6431				trip-point0 {
6432					temperature = <105000>;
6433					hysteresis = <5000>;
6434					type = "passive";
6435				};
6436
6437				trip-point1 {
6438					temperature = <115000>;
6439					hysteresis = <5000>;
6440					type = "passive";
6441				};
6442			};
6443		};
6444
6445		gpuss-3-thermal {
6446			polling-delay-passive = <10>;
6447
6448			thermal-sensors = <&tsens1 5>;
6449
6450			trips {
6451				trip-point0 {
6452					temperature = <105000>;
6453					hysteresis = <5000>;
6454					type = "passive";
6455				};
6456
6457				trip-point1 {
6458					temperature = <115000>;
6459					hysteresis = <5000>;
6460					type = "passive";
6461				};
6462			};
6463		};
6464
6465		gpuss-4-thermal {
6466			polling-delay-passive = <10>;
6467
6468			thermal-sensors = <&tsens1 6>;
6469
6470			trips {
6471				trip-point0 {
6472					temperature = <105000>;
6473					hysteresis = <5000>;
6474					type = "passive";
6475				};
6476
6477				trip-point1 {
6478					temperature = <115000>;
6479					hysteresis = <5000>;
6480					type = "passive";
6481				};
6482			};
6483		};
6484
6485		gpuss-5-thermal {
6486			polling-delay-passive = <10>;
6487
6488			thermal-sensors = <&tsens1 7>;
6489
6490			trips {
6491				trip-point0 {
6492					temperature = <105000>;
6493					hysteresis = <5000>;
6494					type = "passive";
6495				};
6496
6497				trip-point1 {
6498					temperature = <115000>;
6499					hysteresis = <5000>;
6500					type = "passive";
6501				};
6502			};
6503		};
6504
6505		video-thermal {
6506			thermal-sensors = <&tsens1 8>;
6507
6508			trips {
6509				trip-point0 {
6510					temperature = <105000>;
6511					hysteresis = <5000>;
6512					type = "passive";
6513				};
6514
6515				trip-point1 {
6516					temperature = <115000>;
6517					hysteresis = <5000>;
6518					type = "passive";
6519				};
6520			};
6521		};
6522
6523		camss-1-thermal {
6524			thermal-sensors = <&tsens1 9>;
6525
6526			trips {
6527				trip-point0 {
6528					temperature = <105000>;
6529					hysteresis = <5000>;
6530					type = "passive";
6531				};
6532
6533				trip-point1 {
6534					temperature = <115000>;
6535					hysteresis = <5000>;
6536					type = "passive";
6537				};
6538			};
6539		};
6540
6541		pcie-1-thermal {
6542			thermal-sensors = <&tsens1 10>;
6543
6544			trips {
6545				trip-point0 {
6546					temperature = <105000>;
6547					hysteresis = <5000>;
6548					type = "passive";
6549				};
6550
6551				trip-point1 {
6552					temperature = <115000>;
6553					hysteresis = <5000>;
6554					type = "passive";
6555				};
6556			};
6557		};
6558
6559		cpuss-0-1-thermal {
6560			thermal-sensors = <&tsens1 11>;
6561
6562			trips {
6563				trip-point0 {
6564					temperature = <105000>;
6565					hysteresis = <5000>;
6566					type = "passive";
6567				};
6568
6569				trip-point1 {
6570					temperature = <115000>;
6571					hysteresis = <5000>;
6572					type = "passive";
6573				};
6574			};
6575		};
6576
6577		aoss-2-thermal {
6578			thermal-sensors = <&tsens2 0>;
6579
6580			trips {
6581				trip-point0 {
6582					temperature = <105000>;
6583					hysteresis = <5000>;
6584					type = "passive";
6585				};
6586
6587				trip-point1 {
6588					temperature = <115000>;
6589					hysteresis = <5000>;
6590					type = "passive";
6591				};
6592			};
6593		};
6594
6595		cpu-1-0-0-thermal {
6596			polling-delay-passive = <10>;
6597
6598			thermal-sensors = <&tsens2 1>;
6599
6600			trips {
6601				trip-point0 {
6602					temperature = <105000>;
6603					hysteresis = <5000>;
6604					type = "passive";
6605				};
6606
6607				trip-point1 {
6608					temperature = <115000>;
6609					hysteresis = <5000>;
6610					type = "passive";
6611				};
6612			};
6613		};
6614
6615		cpu-1-1-0-thermal {
6616			polling-delay-passive = <10>;
6617
6618			thermal-sensors = <&tsens2 2>;
6619
6620			trips {
6621				trip-point0 {
6622					temperature = <105000>;
6623					hysteresis = <5000>;
6624					type = "passive";
6625				};
6626
6627				trip-point1 {
6628					temperature = <115000>;
6629					hysteresis = <5000>;
6630					type = "passive";
6631				};
6632			};
6633		};
6634
6635		cpu-1-2-0-thermal {
6636			polling-delay-passive = <10>;
6637
6638			thermal-sensors = <&tsens2 3>;
6639
6640			trips {
6641				trip-point0 {
6642					temperature = <105000>;
6643					hysteresis = <5000>;
6644					type = "passive";
6645				};
6646
6647				trip-point1 {
6648					temperature = <115000>;
6649					hysteresis = <5000>;
6650					type = "passive";
6651				};
6652			};
6653		};
6654
6655		cpu-1-3-0-thermal {
6656			polling-delay-passive = <10>;
6657
6658			thermal-sensors = <&tsens2 4>;
6659
6660			trips {
6661				trip-point0 {
6662					temperature = <105000>;
6663					hysteresis = <5000>;
6664					type = "passive";
6665				};
6666
6667				trip-point1 {
6668					temperature = <115000>;
6669					hysteresis = <5000>;
6670					type = "passive";
6671				};
6672			};
6673		};
6674
6675		nsp-0-0-0-thermal {
6676			polling-delay-passive = <10>;
6677
6678			thermal-sensors = <&tsens2 5>;
6679
6680			trips {
6681				trip-point0 {
6682					temperature = <105000>;
6683					hysteresis = <5000>;
6684					type = "passive";
6685				};
6686
6687				trip-point1 {
6688					temperature = <115000>;
6689					hysteresis = <5000>;
6690					type = "passive";
6691				};
6692			};
6693		};
6694
6695		nsp-0-1-0-thermal {
6696			polling-delay-passive = <10>;
6697
6698			thermal-sensors = <&tsens2 6>;
6699
6700			trips {
6701				trip-point0 {
6702					temperature = <105000>;
6703					hysteresis = <5000>;
6704					type = "passive";
6705				};
6706
6707				trip-point1 {
6708					temperature = <115000>;
6709					hysteresis = <5000>;
6710					type = "passive";
6711				};
6712			};
6713		};
6714
6715		nsp-0-2-0-thermal {
6716			polling-delay-passive = <10>;
6717
6718			thermal-sensors = <&tsens2 7>;
6719
6720			trips {
6721				trip-point0 {
6722					temperature = <105000>;
6723					hysteresis = <5000>;
6724					type = "passive";
6725				};
6726
6727				trip-point1 {
6728					temperature = <115000>;
6729					hysteresis = <5000>;
6730					type = "passive";
6731				};
6732			};
6733		};
6734
6735		nsp-1-0-0-thermal {
6736			polling-delay-passive = <10>;
6737
6738			thermal-sensors = <&tsens2 8>;
6739
6740			trips {
6741				trip-point0 {
6742					temperature = <105000>;
6743					hysteresis = <5000>;
6744					type = "passive";
6745				};
6746
6747				trip-point1 {
6748					temperature = <115000>;
6749					hysteresis = <5000>;
6750					type = "passive";
6751				};
6752			};
6753		};
6754
6755		nsp-1-1-0-thermal {
6756			polling-delay-passive = <10>;
6757
6758			thermal-sensors = <&tsens2 9>;
6759
6760			trips {
6761				trip-point0 {
6762					temperature = <105000>;
6763					hysteresis = <5000>;
6764					type = "passive";
6765				};
6766
6767				trip-point1 {
6768					temperature = <115000>;
6769					hysteresis = <5000>;
6770					type = "passive";
6771				};
6772			};
6773		};
6774
6775		nsp-1-2-0-thermal {
6776			polling-delay-passive = <10>;
6777
6778			thermal-sensors = <&tsens2 10>;
6779
6780			trips {
6781				trip-point0 {
6782					temperature = <105000>;
6783					hysteresis = <5000>;
6784					type = "passive";
6785				};
6786
6787				trip-point1 {
6788					temperature = <115000>;
6789					hysteresis = <5000>;
6790					type = "passive";
6791				};
6792			};
6793		};
6794
6795		ddrss-0-thermal {
6796			thermal-sensors = <&tsens2 11>;
6797
6798			trips {
6799				trip-point0 {
6800					temperature = <105000>;
6801					hysteresis = <5000>;
6802					type = "passive";
6803				};
6804
6805				trip-point1 {
6806					temperature = <115000>;
6807					hysteresis = <5000>;
6808					type = "passive";
6809				};
6810			};
6811		};
6812
6813		cpuss-1-0-thermal {
6814			thermal-sensors = <&tsens2 12>;
6815
6816			trips {
6817				trip-point0 {
6818					temperature = <105000>;
6819					hysteresis = <5000>;
6820					type = "passive";
6821				};
6822
6823				trip-point1 {
6824					temperature = <115000>;
6825					hysteresis = <5000>;
6826					type = "passive";
6827				};
6828			};
6829		};
6830
6831		aoss-3-thermal {
6832			thermal-sensors = <&tsens3 0>;
6833
6834			trips {
6835				trip-point0 {
6836					temperature = <105000>;
6837					hysteresis = <5000>;
6838					type = "passive";
6839				};
6840
6841				trip-point1 {
6842					temperature = <115000>;
6843					hysteresis = <5000>;
6844					type = "passive";
6845				};
6846			};
6847		};
6848
6849		cpu-1-0-1-thermal {
6850			polling-delay-passive = <10>;
6851
6852			thermal-sensors = <&tsens3 1>;
6853
6854			trips {
6855				trip-point0 {
6856					temperature = <105000>;
6857					hysteresis = <5000>;
6858					type = "passive";
6859				};
6860
6861				trip-point1 {
6862					temperature = <115000>;
6863					hysteresis = <5000>;
6864					type = "passive";
6865				};
6866			};
6867		};
6868
6869		cpu-1-1-1-thermal {
6870			polling-delay-passive = <10>;
6871
6872			thermal-sensors = <&tsens3 2>;
6873
6874			trips {
6875				trip-point0 {
6876					temperature = <105000>;
6877					hysteresis = <5000>;
6878					type = "passive";
6879				};
6880
6881				trip-point1 {
6882					temperature = <115000>;
6883					hysteresis = <5000>;
6884					type = "passive";
6885				};
6886			};
6887		};
6888
6889		cpu-1-2-1-thermal {
6890			polling-delay-passive = <10>;
6891
6892			thermal-sensors = <&tsens3 3>;
6893
6894			trips {
6895				trip-point0 {
6896					temperature = <105000>;
6897					hysteresis = <5000>;
6898					type = "passive";
6899				};
6900
6901				trip-point1 {
6902					temperature = <115000>;
6903					hysteresis = <5000>;
6904					type = "passive";
6905				};
6906			};
6907		};
6908
6909		cpu-1-3-1-thermal {
6910			polling-delay-passive = <10>;
6911
6912			thermal-sensors = <&tsens3 4>;
6913
6914			trips {
6915				trip-point0 {
6916					temperature = <105000>;
6917					hysteresis = <5000>;
6918					type = "passive";
6919				};
6920
6921				trip-point1 {
6922					temperature = <115000>;
6923					hysteresis = <5000>;
6924					type = "passive";
6925				};
6926			};
6927		};
6928
6929		nsp-0-0-1-thermal {
6930			polling-delay-passive = <10>;
6931
6932			thermal-sensors = <&tsens3 5>;
6933
6934			trips {
6935				trip-point0 {
6936					temperature = <105000>;
6937					hysteresis = <5000>;
6938					type = "passive";
6939				};
6940
6941				trip-point1 {
6942					temperature = <115000>;
6943					hysteresis = <5000>;
6944					type = "passive";
6945				};
6946			};
6947		};
6948
6949		nsp-0-1-1-thermal {
6950			polling-delay-passive = <10>;
6951
6952			thermal-sensors = <&tsens3 6>;
6953
6954			trips {
6955				trip-point0 {
6956					temperature = <105000>;
6957					hysteresis = <5000>;
6958					type = "passive";
6959				};
6960
6961				trip-point1 {
6962					temperature = <115000>;
6963					hysteresis = <5000>;
6964					type = "passive";
6965				};
6966			};
6967		};
6968
6969		nsp-0-2-1-thermal {
6970			polling-delay-passive = <10>;
6971
6972			thermal-sensors = <&tsens3 7>;
6973
6974			trips {
6975				trip-point0 {
6976					temperature = <105000>;
6977					hysteresis = <5000>;
6978					type = "passive";
6979				};
6980
6981				trip-point1 {
6982					temperature = <115000>;
6983					hysteresis = <5000>;
6984					type = "passive";
6985				};
6986			};
6987		};
6988
6989		nsp-1-0-1-thermal {
6990			polling-delay-passive = <10>;
6991
6992			thermal-sensors = <&tsens3 8>;
6993
6994			trips {
6995				trip-point0 {
6996					temperature = <105000>;
6997					hysteresis = <5000>;
6998					type = "passive";
6999				};
7000
7001				trip-point1 {
7002					temperature = <115000>;
7003					hysteresis = <5000>;
7004					type = "passive";
7005				};
7006			};
7007		};
7008
7009		nsp-1-1-1-thermal {
7010			polling-delay-passive = <10>;
7011
7012			thermal-sensors = <&tsens3 9>;
7013
7014			trips {
7015				trip-point0 {
7016					temperature = <105000>;
7017					hysteresis = <5000>;
7018					type = "passive";
7019				};
7020
7021				trip-point1 {
7022					temperature = <115000>;
7023					hysteresis = <5000>;
7024					type = "passive";
7025				};
7026			};
7027		};
7028
7029		nsp-1-2-1-thermal {
7030			polling-delay-passive = <10>;
7031
7032			thermal-sensors = <&tsens3 10>;
7033
7034			trips {
7035				trip-point0 {
7036					temperature = <105000>;
7037					hysteresis = <5000>;
7038					type = "passive";
7039				};
7040
7041				trip-point1 {
7042					temperature = <115000>;
7043					hysteresis = <5000>;
7044					type = "passive";
7045				};
7046			};
7047		};
7048
7049		ddrss-1-thermal {
7050			thermal-sensors = <&tsens3 11>;
7051
7052			trips {
7053				trip-point0 {
7054					temperature = <105000>;
7055					hysteresis = <5000>;
7056					type = "passive";
7057				};
7058
7059				trip-point1 {
7060					temperature = <115000>;
7061					hysteresis = <5000>;
7062					type = "passive";
7063				};
7064			};
7065		};
7066
7067		cpuss-1-1-thermal {
7068			thermal-sensors = <&tsens3 12>;
7069
7070			trips {
7071				trip-point0 {
7072					temperature = <105000>;
7073					hysteresis = <5000>;
7074					type = "passive";
7075				};
7076
7077				trip-point1 {
7078					temperature = <115000>;
7079					hysteresis = <5000>;
7080					type = "passive";
7081				};
7082			};
7083		};
7084	};
7085
7086	arch_timer: timer {
7087		compatible = "arm,armv8-timer";
7088		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
7089			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
7090			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
7091			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
7092	};
7093
7094	pcie0: pcie@1c00000 {
7095		compatible = "qcom,pcie-sa8775p";
7096		reg = <0x0 0x01c00000 0x0 0x3000>,
7097		      <0x0 0x40000000 0x0 0xf20>,
7098		      <0x0 0x40000f20 0x0 0xa8>,
7099		      <0x0 0x40001000 0x0 0x4000>,
7100		      <0x0 0x40100000 0x0 0x100000>,
7101		      <0x0 0x01c03000 0x0 0x1000>;
7102		reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
7103		device_type = "pci";
7104
7105		#address-cells = <3>;
7106		#size-cells = <2>;
7107		ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>,
7108			 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
7109		bus-range = <0x00 0xff>;
7110
7111		dma-coherent;
7112
7113		linux,pci-domain = <0>;
7114		num-lanes = <2>;
7115
7116		interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,
7117			     <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
7118			     <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
7119			     <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
7120			     <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
7121			     <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
7122			     <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>,
7123			     <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
7124		interrupt-names = "msi0", "msi1", "msi2", "msi3",
7125				  "msi4", "msi5", "msi6", "msi7";
7126		#interrupt-cells = <1>;
7127		interrupt-map-mask = <0 0 0 0x7>;
7128		interrupt-map = <0 0 0 1 &intc GIC_SPI 434 IRQ_TYPE_LEVEL_HIGH>,
7129				<0 0 0 2 &intc GIC_SPI 435 IRQ_TYPE_LEVEL_HIGH>,
7130				<0 0 0 3 &intc GIC_SPI 438 IRQ_TYPE_LEVEL_HIGH>,
7131				<0 0 0 4 &intc GIC_SPI 439 IRQ_TYPE_LEVEL_HIGH>;
7132
7133		clocks = <&gcc GCC_PCIE_0_AUX_CLK>,
7134			 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
7135			 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
7136			 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
7137			 <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>;
7138
7139		clock-names = "aux",
7140			      "cfg",
7141			      "bus_master",
7142			      "bus_slave",
7143			      "slave_q2a";
7144
7145		assigned-clocks = <&gcc GCC_PCIE_0_AUX_CLK>;
7146		assigned-clock-rates = <19200000>;
7147
7148		interconnects = <&pcie_anoc MASTER_PCIE_0 0 &mc_virt SLAVE_EBI1 0>,
7149				<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_0 0>;
7150		interconnect-names = "pcie-mem", "cpu-pcie";
7151
7152		iommu-map = <0x0 &pcie_smmu 0x0000 0x1>,
7153			    <0x100 &pcie_smmu 0x0001 0x1>;
7154
7155		resets = <&gcc GCC_PCIE_0_BCR>;
7156		reset-names = "pci";
7157		power-domains = <&gcc PCIE_0_GDSC>;
7158
7159		phys = <&pcie0_phy>;
7160		phy-names = "pciephy";
7161
7162		status = "disabled";
7163
7164		pcieport0: pcie@0 {
7165			device_type = "pci";
7166			reg = <0x0 0x0 0x0 0x0 0x0>;
7167			bus-range = <0x01 0xff>;
7168
7169			#address-cells = <3>;
7170			#size-cells = <2>;
7171			ranges;
7172		};
7173	};
7174
7175	pcie0_ep: pcie-ep@1c00000 {
7176		compatible = "qcom,sa8775p-pcie-ep";
7177		reg = <0x0 0x01c00000 0x0 0x3000>,
7178		      <0x0 0x40000000 0x0 0xf20>,
7179		      <0x0 0x40000f20 0x0 0xa8>,
7180		      <0x0 0x40001000 0x0 0x4000>,
7181		      <0x0 0x40200000 0x0 0x1fe00000>,
7182		      <0x0 0x01c03000 0x0 0x1000>,
7183		      <0x0 0x40005000 0x0 0x2000>;
7184		reg-names = "parf", "dbi", "elbi", "atu", "addr_space",
7185			    "mmio", "dma";
7186
7187		clocks = <&gcc GCC_PCIE_0_AUX_CLK>,
7188			<&gcc GCC_PCIE_0_CFG_AHB_CLK>,
7189			<&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
7190			<&gcc GCC_PCIE_0_SLV_AXI_CLK>,
7191			<&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>;
7192
7193		clock-names = "aux",
7194			      "cfg",
7195			      "bus_master",
7196			      "bus_slave",
7197			      "slave_q2a";
7198
7199		interrupts = <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>,
7200			     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
7201			     <GIC_SPI 630 IRQ_TYPE_LEVEL_HIGH>;
7202
7203		interrupt-names = "global", "doorbell", "dma";
7204
7205		interconnects = <&pcie_anoc MASTER_PCIE_0 0 &mc_virt SLAVE_EBI1 0>,
7206				<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_0 0>;
7207		interconnect-names = "pcie-mem", "cpu-pcie";
7208
7209		dma-coherent;
7210		iommus = <&pcie_smmu 0x0000 0x7f>;
7211		resets = <&gcc GCC_PCIE_0_BCR>;
7212		reset-names = "core";
7213		power-domains = <&gcc PCIE_0_GDSC>;
7214		phys = <&pcie0_phy>;
7215		phy-names = "pciephy";
7216		max-link-speed = <3>; /* FIXME: Limiting the Gen speed due to stability issues */
7217		num-lanes = <2>;
7218		linux,pci-domain = <0>;
7219
7220		status = "disabled";
7221	};
7222
7223	pcie0_phy: phy@1c04000 {
7224		compatible = "qcom,sa8775p-qmp-gen4x2-pcie-phy";
7225		reg = <0x0 0x1c04000 0x0 0x2000>;
7226
7227		clocks = <&gcc GCC_PCIE_0_AUX_CLK>,
7228			 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
7229			 <&gcc GCC_PCIE_CLKREF_EN>,
7230			 <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>,
7231			 <&gcc GCC_PCIE_0_PIPE_CLK>,
7232			 <&gcc GCC_PCIE_0_PIPEDIV2_CLK>,
7233			 <&gcc GCC_PCIE_0_PHY_AUX_CLK>;
7234
7235		clock-names = "aux", "cfg_ahb", "ref", "rchng", "pipe",
7236			      "pipediv2", "phy_aux";
7237
7238		assigned-clocks = <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>;
7239		assigned-clock-rates = <100000000>;
7240
7241		resets = <&gcc GCC_PCIE_0_PHY_BCR>;
7242		reset-names = "phy";
7243
7244		#clock-cells = <0>;
7245		clock-output-names = "pcie_0_pipe_clk";
7246
7247		#phy-cells = <0>;
7248
7249		status = "disabled";
7250	};
7251
7252	pcie1: pcie@1c10000 {
7253		compatible = "qcom,pcie-sa8775p";
7254		reg = <0x0 0x01c10000 0x0 0x3000>,
7255		      <0x0 0x60000000 0x0 0xf20>,
7256		      <0x0 0x60000f20 0x0 0xa8>,
7257		      <0x0 0x60001000 0x0 0x4000>,
7258		      <0x0 0x60100000 0x0 0x100000>,
7259		      <0x0 0x01c13000 0x0 0x1000>;
7260		reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
7261		device_type = "pci";
7262
7263		#address-cells = <3>;
7264		#size-cells = <2>;
7265		ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
7266			 <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x1fd00000>;
7267		bus-range = <0x00 0xff>;
7268
7269		dma-coherent;
7270
7271		linux,pci-domain = <1>;
7272		num-lanes = <4>;
7273
7274		interrupts = <GIC_SPI 519 IRQ_TYPE_LEVEL_HIGH>,
7275			     <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
7276			     <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
7277			     <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
7278			     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
7279			     <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
7280			     <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
7281			     <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
7282		interrupt-names = "msi0", "msi1", "msi2", "msi3",
7283				  "msi4", "msi5", "msi6", "msi7";
7284		#interrupt-cells = <1>;
7285		interrupt-map-mask = <0 0 0 0x7>;
7286		interrupt-map = <0 0 0 1 &intc GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
7287				<0 0 0 2 &intc GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
7288				<0 0 0 3 &intc GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
7289				<0 0 0 4 &intc GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
7290
7291		clocks = <&gcc GCC_PCIE_1_AUX_CLK>,
7292			 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
7293			 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
7294			 <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
7295			 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>;
7296
7297		clock-names = "aux",
7298			      "cfg",
7299			      "bus_master",
7300			      "bus_slave",
7301			      "slave_q2a";
7302
7303		assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
7304		assigned-clock-rates = <19200000>;
7305
7306		interconnects = <&pcie_anoc MASTER_PCIE_1 0 &mc_virt SLAVE_EBI1 0>,
7307				<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_1 0>;
7308		interconnect-names = "pcie-mem", "cpu-pcie";
7309
7310		iommu-map = <0x0 &pcie_smmu 0x0080 0x1>,
7311			    <0x100 &pcie_smmu 0x0081 0x1>;
7312
7313		resets = <&gcc GCC_PCIE_1_BCR>;
7314		reset-names = "pci";
7315		power-domains = <&gcc PCIE_1_GDSC>;
7316
7317		phys = <&pcie1_phy>;
7318		phy-names = "pciephy";
7319
7320		status = "disabled";
7321
7322		pcie@0 {
7323			device_type = "pci";
7324			reg = <0x0 0x0 0x0 0x0 0x0>;
7325			bus-range = <0x01 0xff>;
7326
7327			#address-cells = <3>;
7328			#size-cells = <2>;
7329			ranges;
7330		};
7331	};
7332
7333	pcie1_ep: pcie-ep@1c10000 {
7334		compatible = "qcom,sa8775p-pcie-ep";
7335		reg = <0x0 0x01c10000 0x0 0x3000>,
7336		      <0x0 0x60000000 0x0 0xf20>,
7337		      <0x0 0x60000f20 0x0 0xa8>,
7338		      <0x0 0x60001000 0x0 0x4000>,
7339		      <0x0 0x60200000 0x0 0x1fe00000>,
7340		      <0x0 0x01c13000 0x0 0x1000>,
7341		      <0x0 0x60005000 0x0 0x2000>;
7342		reg-names = "parf", "dbi", "elbi", "atu", "addr_space",
7343			    "mmio", "dma";
7344
7345		clocks = <&gcc GCC_PCIE_1_AUX_CLK>,
7346			 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
7347			 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
7348			 <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
7349			 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>;
7350
7351		clock-names = "aux",
7352			      "cfg",
7353			      "bus_master",
7354			      "bus_slave",
7355			      "slave_q2a";
7356
7357		interrupts = <GIC_SPI 518 IRQ_TYPE_LEVEL_HIGH>,
7358			     <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
7359			     <GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>;
7360
7361		interrupt-names = "global", "doorbell", "dma";
7362
7363		interconnects = <&pcie_anoc MASTER_PCIE_1 0 &mc_virt SLAVE_EBI1 0>,
7364				<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_1 0>;
7365		interconnect-names = "pcie-mem", "cpu-pcie";
7366
7367		dma-coherent;
7368		iommus = <&pcie_smmu 0x80 0x7f>;
7369		resets = <&gcc GCC_PCIE_1_BCR>;
7370		reset-names = "core";
7371		power-domains = <&gcc PCIE_1_GDSC>;
7372		phys = <&pcie1_phy>;
7373		phy-names = "pciephy";
7374		max-link-speed = <3>; /* FIXME: Limiting the Gen speed due to stability issues */
7375		num-lanes = <4>;
7376		linux,pci-domain = <1>;
7377
7378		status = "disabled";
7379	};
7380
7381	pcie1_phy: phy@1c14000 {
7382		compatible = "qcom,sa8775p-qmp-gen4x4-pcie-phy";
7383		reg = <0x0 0x1c14000 0x0 0x4000>;
7384
7385		clocks = <&gcc GCC_PCIE_1_AUX_CLK>,
7386			 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
7387			 <&gcc GCC_PCIE_CLKREF_EN>,
7388			 <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>,
7389			 <&gcc GCC_PCIE_1_PIPE_CLK>,
7390			 <&gcc GCC_PCIE_1_PIPEDIV2_CLK>,
7391			 <&gcc GCC_PCIE_1_PHY_AUX_CLK>;
7392
7393		clock-names = "aux", "cfg_ahb", "ref", "rchng", "pipe",
7394			      "pipediv2", "phy_aux";
7395
7396		assigned-clocks = <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>;
7397		assigned-clock-rates = <100000000>;
7398
7399		resets = <&gcc GCC_PCIE_1_PHY_BCR>;
7400		reset-names = "phy";
7401
7402		#clock-cells = <0>;
7403		clock-output-names = "pcie_1_pipe_clk";
7404
7405		#phy-cells = <0>;
7406
7407		status = "disabled";
7408	};
7409};
7410