xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sar2130p.dtsi (revision 2846c90520eb4cc74e24d586a0ea0f4a0006bc73)
1*2846c905SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2*2846c905SEmmanuel Vadot/*
3*2846c905SEmmanuel Vadot * Copyright (c) 2024, Linaro Limited
4*2846c905SEmmanuel Vadot */
5*2846c905SEmmanuel Vadot
6*2846c905SEmmanuel Vadot#include <dt-bindings/clock/qcom,rpmh.h>
7*2846c905SEmmanuel Vadot#include <dt-bindings/clock/qcom,sar2130p-gcc.h>
8*2846c905SEmmanuel Vadot#include <dt-bindings/clock/qcom,sar2130p-gpucc.h>
9*2846c905SEmmanuel Vadot#include <dt-bindings/clock/qcom,sm8550-tcsr.h>
10*2846c905SEmmanuel Vadot#include <dt-bindings/dma/qcom-gpi.h>
11*2846c905SEmmanuel Vadot#include <dt-bindings/interconnect/qcom,icc.h>
12*2846c905SEmmanuel Vadot#include <dt-bindings/interconnect/qcom,sar2130p-rpmh.h>
13*2846c905SEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
14*2846c905SEmmanuel Vadot#include <dt-bindings/mailbox/qcom-ipcc.h>
15*2846c905SEmmanuel Vadot#include <dt-bindings/phy/phy-qcom-qmp.h>
16*2846c905SEmmanuel Vadot#include <dt-bindings/power/qcom-rpmpd.h>
17*2846c905SEmmanuel Vadot#include <dt-bindings/power/qcom,rpmhpd.h>
18*2846c905SEmmanuel Vadot#include <dt-bindings/soc/qcom,gpr.h>
19*2846c905SEmmanuel Vadot#include <dt-bindings/soc/qcom,rpmh-rsc.h>
20*2846c905SEmmanuel Vadot#include <dt-bindings/thermal/thermal.h>
21*2846c905SEmmanuel Vadot
22*2846c905SEmmanuel Vadot/ {
23*2846c905SEmmanuel Vadot	interrupt-parent = <&intc>;
24*2846c905SEmmanuel Vadot
25*2846c905SEmmanuel Vadot	#address-cells = <2>;
26*2846c905SEmmanuel Vadot	#size-cells = <2>;
27*2846c905SEmmanuel Vadot
28*2846c905SEmmanuel Vadot	chosen { };
29*2846c905SEmmanuel Vadot
30*2846c905SEmmanuel Vadot	clocks {
31*2846c905SEmmanuel Vadot		xo_board: xo-board {
32*2846c905SEmmanuel Vadot			compatible = "fixed-clock";
33*2846c905SEmmanuel Vadot			#clock-cells = <0>;
34*2846c905SEmmanuel Vadot			clock-frequency = <19200000>;
35*2846c905SEmmanuel Vadot		};
36*2846c905SEmmanuel Vadot
37*2846c905SEmmanuel Vadot		sleep_clk: sleep-clk {
38*2846c905SEmmanuel Vadot			compatible = "fixed-clock";
39*2846c905SEmmanuel Vadot			#clock-cells = <0>;
40*2846c905SEmmanuel Vadot			clock-frequency = <32764>;
41*2846c905SEmmanuel Vadot		};
42*2846c905SEmmanuel Vadot	};
43*2846c905SEmmanuel Vadot
44*2846c905SEmmanuel Vadot	cpus {
45*2846c905SEmmanuel Vadot		#address-cells = <2>;
46*2846c905SEmmanuel Vadot		#size-cells = <0>;
47*2846c905SEmmanuel Vadot
48*2846c905SEmmanuel Vadot		cpu0: cpu@0 {
49*2846c905SEmmanuel Vadot			device_type = "cpu";
50*2846c905SEmmanuel Vadot			compatible = "arm,cortex-a55";
51*2846c905SEmmanuel Vadot			reg = <0x0 0x0>;
52*2846c905SEmmanuel Vadot			clocks = <&cpufreq_hw 0>;
53*2846c905SEmmanuel Vadot			enable-method = "psci";
54*2846c905SEmmanuel Vadot			next-level-cache = <&l2_0>;
55*2846c905SEmmanuel Vadot			qcom,freq-domain = <&cpufreq_hw 0>;
56*2846c905SEmmanuel Vadot			power-domains = <&cpu_pd0>;
57*2846c905SEmmanuel Vadot			power-domain-names = "psci";
58*2846c905SEmmanuel Vadot			#cooling-cells = <2>;
59*2846c905SEmmanuel Vadot
60*2846c905SEmmanuel Vadot			l2_0: l2-cache {
61*2846c905SEmmanuel Vadot				compatible = "cache";
62*2846c905SEmmanuel Vadot				cache-level = <2>;
63*2846c905SEmmanuel Vadot				cache-unified;
64*2846c905SEmmanuel Vadot				next-level-cache = <&l3_0>;
65*2846c905SEmmanuel Vadot
66*2846c905SEmmanuel Vadot				l3_0: l3-cache {
67*2846c905SEmmanuel Vadot					compatible = "cache";
68*2846c905SEmmanuel Vadot					cache-level = <3>;
69*2846c905SEmmanuel Vadot					cache-unified;
70*2846c905SEmmanuel Vadot				};
71*2846c905SEmmanuel Vadot			};
72*2846c905SEmmanuel Vadot		};
73*2846c905SEmmanuel Vadot
74*2846c905SEmmanuel Vadot		cpu1: cpu@100 {
75*2846c905SEmmanuel Vadot			device_type = "cpu";
76*2846c905SEmmanuel Vadot			compatible = "arm,cortex-a55";
77*2846c905SEmmanuel Vadot			reg = <0x0 0x100>;
78*2846c905SEmmanuel Vadot			clocks = <&cpufreq_hw 0>;
79*2846c905SEmmanuel Vadot			enable-method = "psci";
80*2846c905SEmmanuel Vadot			next-level-cache = <&l2_100>;
81*2846c905SEmmanuel Vadot			qcom,freq-domain = <&cpufreq_hw 0>;
82*2846c905SEmmanuel Vadot			power-domains = <&cpu_pd1>;
83*2846c905SEmmanuel Vadot			power-domain-names = "psci";
84*2846c905SEmmanuel Vadot			#cooling-cells = <2>;
85*2846c905SEmmanuel Vadot
86*2846c905SEmmanuel Vadot			l2_100: l2-cache {
87*2846c905SEmmanuel Vadot				compatible = "cache";
88*2846c905SEmmanuel Vadot				cache-level = <2>;
89*2846c905SEmmanuel Vadot				cache-unified;
90*2846c905SEmmanuel Vadot				next-level-cache = <&l3_0>;
91*2846c905SEmmanuel Vadot			};
92*2846c905SEmmanuel Vadot		};
93*2846c905SEmmanuel Vadot
94*2846c905SEmmanuel Vadot		cpu2: cpu@200 {
95*2846c905SEmmanuel Vadot			device_type = "cpu";
96*2846c905SEmmanuel Vadot			compatible = "arm,cortex-a55";
97*2846c905SEmmanuel Vadot			reg = <0x0 0x200>;
98*2846c905SEmmanuel Vadot			clocks = <&cpufreq_hw 0>;
99*2846c905SEmmanuel Vadot			enable-method = "psci";
100*2846c905SEmmanuel Vadot			next-level-cache = <&l2_200>;
101*2846c905SEmmanuel Vadot			qcom,freq-domain = <&cpufreq_hw 0>;
102*2846c905SEmmanuel Vadot			power-domains = <&cpu_pd2>;
103*2846c905SEmmanuel Vadot			power-domain-names = "psci";
104*2846c905SEmmanuel Vadot			#cooling-cells = <2>;
105*2846c905SEmmanuel Vadot
106*2846c905SEmmanuel Vadot			l2_200: l2-cache {
107*2846c905SEmmanuel Vadot				compatible = "cache";
108*2846c905SEmmanuel Vadot				cache-level = <2>;
109*2846c905SEmmanuel Vadot				cache-unified;
110*2846c905SEmmanuel Vadot				next-level-cache = <&l3_0>;
111*2846c905SEmmanuel Vadot			};
112*2846c905SEmmanuel Vadot		};
113*2846c905SEmmanuel Vadot
114*2846c905SEmmanuel Vadot		cpu3: cpu@300 {
115*2846c905SEmmanuel Vadot			device_type = "cpu";
116*2846c905SEmmanuel Vadot			compatible = "arm,cortex-a55";
117*2846c905SEmmanuel Vadot			reg = <0x0 0x300>;
118*2846c905SEmmanuel Vadot			clocks = <&cpufreq_hw 0>;
119*2846c905SEmmanuel Vadot			enable-method = "psci";
120*2846c905SEmmanuel Vadot			next-level-cache = <&l2_300>;
121*2846c905SEmmanuel Vadot			qcom,freq-domain = <&cpufreq_hw 0>;
122*2846c905SEmmanuel Vadot			power-domains = <&cpu_pd3>;
123*2846c905SEmmanuel Vadot			power-domain-names = "psci";
124*2846c905SEmmanuel Vadot			#cooling-cells = <2>;
125*2846c905SEmmanuel Vadot
126*2846c905SEmmanuel Vadot			l2_300: l2-cache {
127*2846c905SEmmanuel Vadot				compatible = "cache";
128*2846c905SEmmanuel Vadot				cache-level = <2>;
129*2846c905SEmmanuel Vadot				cache-unified;
130*2846c905SEmmanuel Vadot				next-level-cache = <&l3_0>;
131*2846c905SEmmanuel Vadot			};
132*2846c905SEmmanuel Vadot		};
133*2846c905SEmmanuel Vadot
134*2846c905SEmmanuel Vadot		cpu-map {
135*2846c905SEmmanuel Vadot			cluster0 {
136*2846c905SEmmanuel Vadot				core0 {
137*2846c905SEmmanuel Vadot					cpu = <&cpu0>;
138*2846c905SEmmanuel Vadot				};
139*2846c905SEmmanuel Vadot
140*2846c905SEmmanuel Vadot				core1 {
141*2846c905SEmmanuel Vadot					cpu = <&cpu1>;
142*2846c905SEmmanuel Vadot				};
143*2846c905SEmmanuel Vadot
144*2846c905SEmmanuel Vadot				core2 {
145*2846c905SEmmanuel Vadot					cpu = <&cpu2>;
146*2846c905SEmmanuel Vadot				};
147*2846c905SEmmanuel Vadot
148*2846c905SEmmanuel Vadot				core3 {
149*2846c905SEmmanuel Vadot					cpu = <&cpu3>;
150*2846c905SEmmanuel Vadot				};
151*2846c905SEmmanuel Vadot			};
152*2846c905SEmmanuel Vadot		};
153*2846c905SEmmanuel Vadot
154*2846c905SEmmanuel Vadot		idle-states {
155*2846c905SEmmanuel Vadot			entry-method = "psci";
156*2846c905SEmmanuel Vadot
157*2846c905SEmmanuel Vadot			cpu_sleep_0: cpu-sleep-0-0 {
158*2846c905SEmmanuel Vadot				compatible = "arm,idle-state";
159*2846c905SEmmanuel Vadot				idle-state-name = "silver-power-collapse";
160*2846c905SEmmanuel Vadot				arm,psci-suspend-param = <0x40000003>;
161*2846c905SEmmanuel Vadot				entry-latency-us = <549>;
162*2846c905SEmmanuel Vadot				exit-latency-us = <901>;
163*2846c905SEmmanuel Vadot				min-residency-us = <1774>;
164*2846c905SEmmanuel Vadot				local-timer-stop;
165*2846c905SEmmanuel Vadot			};
166*2846c905SEmmanuel Vadot
167*2846c905SEmmanuel Vadot			cpu_sleep_1: cpu-sleep-0-1 {
168*2846c905SEmmanuel Vadot				compatible = "arm,idle-state";
169*2846c905SEmmanuel Vadot				idle-state-name = "silver-rail-power-collapse";
170*2846c905SEmmanuel Vadot				arm,psci-suspend-param = <0x40000004>;
171*2846c905SEmmanuel Vadot				entry-latency-us = <702>;
172*2846c905SEmmanuel Vadot				exit-latency-us = <915>;
173*2846c905SEmmanuel Vadot				min-residency-us = <4001>;
174*2846c905SEmmanuel Vadot				local-timer-stop;
175*2846c905SEmmanuel Vadot			};
176*2846c905SEmmanuel Vadot		};
177*2846c905SEmmanuel Vadot
178*2846c905SEmmanuel Vadot		domain-idle-states {
179*2846c905SEmmanuel Vadot			cluster_sleep_0: cluster-sleep-0 {
180*2846c905SEmmanuel Vadot				compatible = "domain-idle-state";
181*2846c905SEmmanuel Vadot				arm,psci-suspend-param = <0x41000044>;
182*2846c905SEmmanuel Vadot				entry-latency-us = <2752>;
183*2846c905SEmmanuel Vadot				exit-latency-us = <3048>;
184*2846c905SEmmanuel Vadot				min-residency-us = <6118>;
185*2846c905SEmmanuel Vadot			};
186*2846c905SEmmanuel Vadot
187*2846c905SEmmanuel Vadot			cluster_sleep_1: cluster-sleep-1 {
188*2846c905SEmmanuel Vadot				compatible = "domain-idle-state";
189*2846c905SEmmanuel Vadot				arm,psci-suspend-param = <0x41002344>;
190*2846c905SEmmanuel Vadot				entry-latency-us = <3263>;
191*2846c905SEmmanuel Vadot				exit-latency-us = <4562>;
192*2846c905SEmmanuel Vadot				min-residency-us = <8467>;
193*2846c905SEmmanuel Vadot			};
194*2846c905SEmmanuel Vadot
195*2846c905SEmmanuel Vadot			cluster_sleep_2: cluster-sleep-2 {
196*2846c905SEmmanuel Vadot				compatible = "domain-idle-state";
197*2846c905SEmmanuel Vadot				arm,psci-suspend-param = <0x4100c344>;
198*2846c905SEmmanuel Vadot				entry-latency-us = <3638>;
199*2846c905SEmmanuel Vadot				exit-latency-us = <6562>;
200*2846c905SEmmanuel Vadot				min-residency-us = <9862>;
201*2846c905SEmmanuel Vadot			};
202*2846c905SEmmanuel Vadot		};
203*2846c905SEmmanuel Vadot	};
204*2846c905SEmmanuel Vadot
205*2846c905SEmmanuel Vadot	firmware {
206*2846c905SEmmanuel Vadot		scm: scm {
207*2846c905SEmmanuel Vadot			compatible = "qcom,scm-sar2130p", "qcom,scm";
208*2846c905SEmmanuel Vadot			qcom,dload-mode = <&tcsr_mutex 0x13000>;
209*2846c905SEmmanuel Vadot			interconnects = <&system_noc MASTER_CRYPTO QCOM_ICC_TAG_ALWAYS
210*2846c905SEmmanuel Vadot					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
211*2846c905SEmmanuel Vadot		};
212*2846c905SEmmanuel Vadot	};
213*2846c905SEmmanuel Vadot
214*2846c905SEmmanuel Vadot	clk_virt: interconnect-0 {
215*2846c905SEmmanuel Vadot		compatible = "qcom,sar2130p-clk-virt";
216*2846c905SEmmanuel Vadot		#interconnect-cells = <2>;
217*2846c905SEmmanuel Vadot		qcom,bcm-voters = <&apps_bcm_voter>;
218*2846c905SEmmanuel Vadot	};
219*2846c905SEmmanuel Vadot
220*2846c905SEmmanuel Vadot	mc_virt: interconnect-1 {
221*2846c905SEmmanuel Vadot		compatible = "qcom,sar2130p-mc-virt";
222*2846c905SEmmanuel Vadot		#interconnect-cells = <2>;
223*2846c905SEmmanuel Vadot		qcom,bcm-voters = <&apps_bcm_voter>;
224*2846c905SEmmanuel Vadot	};
225*2846c905SEmmanuel Vadot
226*2846c905SEmmanuel Vadot	memory@80000000 {
227*2846c905SEmmanuel Vadot		device_type = "memory";
228*2846c905SEmmanuel Vadot		/* We expect the bootloader to fill in the size */
229*2846c905SEmmanuel Vadot		reg = <0x0 0x80000000 0x0 0x0>;
230*2846c905SEmmanuel Vadot	};
231*2846c905SEmmanuel Vadot
232*2846c905SEmmanuel Vadot	pmu {
233*2846c905SEmmanuel Vadot		compatible = "arm,armv8-pmuv3";
234*2846c905SEmmanuel Vadot		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
235*2846c905SEmmanuel Vadot	};
236*2846c905SEmmanuel Vadot
237*2846c905SEmmanuel Vadot	psci {
238*2846c905SEmmanuel Vadot		compatible = "arm,psci-1.0";
239*2846c905SEmmanuel Vadot		method = "smc";
240*2846c905SEmmanuel Vadot
241*2846c905SEmmanuel Vadot		cpu_pd0: power-domain-cpu0 {
242*2846c905SEmmanuel Vadot			#power-domain-cells = <0>;
243*2846c905SEmmanuel Vadot			power-domains = <&cluster_pd>;
244*2846c905SEmmanuel Vadot			domain-idle-states = <&cpu_sleep_0>, <&cpu_sleep_1>;
245*2846c905SEmmanuel Vadot		};
246*2846c905SEmmanuel Vadot
247*2846c905SEmmanuel Vadot		cpu_pd1: power-domain-cpu1 {
248*2846c905SEmmanuel Vadot			#power-domain-cells = <0>;
249*2846c905SEmmanuel Vadot			power-domains = <&cluster_pd>;
250*2846c905SEmmanuel Vadot			domain-idle-states = <&cpu_sleep_0>, <&cpu_sleep_1>;
251*2846c905SEmmanuel Vadot		};
252*2846c905SEmmanuel Vadot
253*2846c905SEmmanuel Vadot		cpu_pd2: power-domain-cpu2 {
254*2846c905SEmmanuel Vadot			#power-domain-cells = <0>;
255*2846c905SEmmanuel Vadot			power-domains = <&cluster_pd>;
256*2846c905SEmmanuel Vadot			domain-idle-states = <&cpu_sleep_0>, <&cpu_sleep_1>;
257*2846c905SEmmanuel Vadot		};
258*2846c905SEmmanuel Vadot
259*2846c905SEmmanuel Vadot		cpu_pd3: power-domain-cpu3 {
260*2846c905SEmmanuel Vadot			#power-domain-cells = <0>;
261*2846c905SEmmanuel Vadot			power-domains = <&cluster_pd>;
262*2846c905SEmmanuel Vadot			domain-idle-states = <&cpu_sleep_0>, <&cpu_sleep_1>;
263*2846c905SEmmanuel Vadot		};
264*2846c905SEmmanuel Vadot
265*2846c905SEmmanuel Vadot		cluster_pd: power-domain-cpu-cluster0 {
266*2846c905SEmmanuel Vadot			#power-domain-cells = <0>;
267*2846c905SEmmanuel Vadot			domain-idle-states = <&cluster_sleep_0>, <&cluster_sleep_1>, <&cluster_sleep_2>;
268*2846c905SEmmanuel Vadot		};
269*2846c905SEmmanuel Vadot	};
270*2846c905SEmmanuel Vadot
271*2846c905SEmmanuel Vadot	reserved_memory: reserved-memory {
272*2846c905SEmmanuel Vadot		#address-cells = <2>;
273*2846c905SEmmanuel Vadot		#size-cells = <2>;
274*2846c905SEmmanuel Vadot		ranges;
275*2846c905SEmmanuel Vadot
276*2846c905SEmmanuel Vadot		hyp_mem: hyp@80000000 {
277*2846c905SEmmanuel Vadot			reg = <0x0 0x80000000 0x0 0x600000>;
278*2846c905SEmmanuel Vadot			no-map;
279*2846c905SEmmanuel Vadot		};
280*2846c905SEmmanuel Vadot
281*2846c905SEmmanuel Vadot		xbl_dt_log_mem: xbl-dt-log@80600000 {
282*2846c905SEmmanuel Vadot			reg = <0x0 0x80600000 0x0 0x40000>;
283*2846c905SEmmanuel Vadot			no-map;
284*2846c905SEmmanuel Vadot		};
285*2846c905SEmmanuel Vadot
286*2846c905SEmmanuel Vadot		xbl_ramdump_mem: xbl-ramdump@80640000 {
287*2846c905SEmmanuel Vadot			reg = <0x0 0x80640000 0x0 0x1c0000>;
288*2846c905SEmmanuel Vadot			no-map;
289*2846c905SEmmanuel Vadot		};
290*2846c905SEmmanuel Vadot
291*2846c905SEmmanuel Vadot		aop_image_mem: aop-image@80800000 {
292*2846c905SEmmanuel Vadot			reg = <0x0 0x80800000 0x0 0x60000>;
293*2846c905SEmmanuel Vadot			no-map;
294*2846c905SEmmanuel Vadot		};
295*2846c905SEmmanuel Vadot
296*2846c905SEmmanuel Vadot		aop_cmd_db_mem: aop-cmd-db@80860000 {
297*2846c905SEmmanuel Vadot			compatible = "qcom,cmd-db";
298*2846c905SEmmanuel Vadot			reg = <0x0 0x80860000 0x0 0x20000>;
299*2846c905SEmmanuel Vadot			no-map;
300*2846c905SEmmanuel Vadot		};
301*2846c905SEmmanuel Vadot
302*2846c905SEmmanuel Vadot		aop_config_mem: aop-config@80880000 {
303*2846c905SEmmanuel Vadot			reg = <0x0 0x80880000 0x0 0x20000>;
304*2846c905SEmmanuel Vadot			no-map;
305*2846c905SEmmanuel Vadot		};
306*2846c905SEmmanuel Vadot
307*2846c905SEmmanuel Vadot		tme_crash_dump_mem: tme-crash-dump@808a0000 {
308*2846c905SEmmanuel Vadot			reg = <0x0 0x808a0000 0x0 0x40000>;
309*2846c905SEmmanuel Vadot			no-map;
310*2846c905SEmmanuel Vadot		};
311*2846c905SEmmanuel Vadot
312*2846c905SEmmanuel Vadot		tme_log_mem: tme-log@808e0000 {
313*2846c905SEmmanuel Vadot			reg = <0x0 0x808e0000 0x0 0x4000>;
314*2846c905SEmmanuel Vadot			no-map;
315*2846c905SEmmanuel Vadot		};
316*2846c905SEmmanuel Vadot
317*2846c905SEmmanuel Vadot		uefi_log_mem: uefi-log@808e4000 {
318*2846c905SEmmanuel Vadot			reg = <0x0 0x808e4000 0x0 0x10000>;
319*2846c905SEmmanuel Vadot			no-map;
320*2846c905SEmmanuel Vadot		};
321*2846c905SEmmanuel Vadot
322*2846c905SEmmanuel Vadot		secdata_apss_mem: secdata-apss@808ff000 {
323*2846c905SEmmanuel Vadot			reg = <0x0 0x808ff000 0x0 0x1000>;
324*2846c905SEmmanuel Vadot			no-map;
325*2846c905SEmmanuel Vadot		};
326*2846c905SEmmanuel Vadot
327*2846c905SEmmanuel Vadot		smem: smem@80900000 {
328*2846c905SEmmanuel Vadot			compatible = "qcom,smem";
329*2846c905SEmmanuel Vadot			reg = <0x0 0x80900000 0x0 0x200000>;
330*2846c905SEmmanuel Vadot			hwlocks = <&tcsr_mutex 3>;
331*2846c905SEmmanuel Vadot			no-map;
332*2846c905SEmmanuel Vadot		};
333*2846c905SEmmanuel Vadot
334*2846c905SEmmanuel Vadot		cpucp_fw_mem: cpucp-fw@80b00000 {
335*2846c905SEmmanuel Vadot			reg = <0x0 0x80b00000 0x0 0x100000>;
336*2846c905SEmmanuel Vadot			no-map;
337*2846c905SEmmanuel Vadot		};
338*2846c905SEmmanuel Vadot
339*2846c905SEmmanuel Vadot		helios_ram_dump_mem: helios-ram-dump@80c00000 {
340*2846c905SEmmanuel Vadot			reg = <0x0 0x80c00000 0x0 0xe00000>;
341*2846c905SEmmanuel Vadot			no-map;
342*2846c905SEmmanuel Vadot		};
343*2846c905SEmmanuel Vadot
344*2846c905SEmmanuel Vadot		camera_mem: camera@84e00000 {
345*2846c905SEmmanuel Vadot			reg = <0x0 0x84e00000 0x0 0x800000>;
346*2846c905SEmmanuel Vadot			no-map;
347*2846c905SEmmanuel Vadot		};
348*2846c905SEmmanuel Vadot
349*2846c905SEmmanuel Vadot		video_mem: video@86f00000 {
350*2846c905SEmmanuel Vadot			reg = <0x0 0x86f00000 0x0 0x500000>;
351*2846c905SEmmanuel Vadot			no-map;
352*2846c905SEmmanuel Vadot		};
353*2846c905SEmmanuel Vadot
354*2846c905SEmmanuel Vadot		adsp_mem: adsp@87600000 {
355*2846c905SEmmanuel Vadot			reg = <0x0 0x87600000 0x0 0x1e00000>;
356*2846c905SEmmanuel Vadot			no-map;
357*2846c905SEmmanuel Vadot		};
358*2846c905SEmmanuel Vadot
359*2846c905SEmmanuel Vadot		cdsp_mem: cdsp@89400000 {
360*2846c905SEmmanuel Vadot			reg = <0x0 0x89400000 0x0 0xf00000>;
361*2846c905SEmmanuel Vadot			no-map;
362*2846c905SEmmanuel Vadot		};
363*2846c905SEmmanuel Vadot
364*2846c905SEmmanuel Vadot		ipa_fw_mem: ipa-fw@8a300000 {
365*2846c905SEmmanuel Vadot			reg = <0x0 0x8a300000 0x0 0x10000>;
366*2846c905SEmmanuel Vadot			no-map;
367*2846c905SEmmanuel Vadot		};
368*2846c905SEmmanuel Vadot
369*2846c905SEmmanuel Vadot		ipa_gsi_mem: ipa-gsi@8a3a0000 {
370*2846c905SEmmanuel Vadot			reg = <0x0 0x8a310000 0x0 0xa000>;
371*2846c905SEmmanuel Vadot			no-map;
372*2846c905SEmmanuel Vadot		};
373*2846c905SEmmanuel Vadot
374*2846c905SEmmanuel Vadot		gpu_micro_code_mem: gpu-micro-code@8a31a000 {
375*2846c905SEmmanuel Vadot			reg = <0x0 0x8a31a000 0x0 0x2000>;
376*2846c905SEmmanuel Vadot			no-map;
377*2846c905SEmmanuel Vadot		};
378*2846c905SEmmanuel Vadot
379*2846c905SEmmanuel Vadot		cvp_mem: cvp@8a400000 {
380*2846c905SEmmanuel Vadot			reg = <0x0 0x8a400000 0x0 0x700000>;
381*2846c905SEmmanuel Vadot			no-map;
382*2846c905SEmmanuel Vadot		};
383*2846c905SEmmanuel Vadot
384*2846c905SEmmanuel Vadot		xbl_sc_mem: xbl-sc@a6e00000 {
385*2846c905SEmmanuel Vadot			no-map;
386*2846c905SEmmanuel Vadot			reg = <0x0 0xa6e00000 0x0 0x40000>;
387*2846c905SEmmanuel Vadot		};
388*2846c905SEmmanuel Vadot
389*2846c905SEmmanuel Vadot		global_sync_mem: global-sync@a6f00000 {
390*2846c905SEmmanuel Vadot			no-map;
391*2846c905SEmmanuel Vadot			reg = <0x0 0xa6f00000 0x0 0x100000>;
392*2846c905SEmmanuel Vadot		};
393*2846c905SEmmanuel Vadot
394*2846c905SEmmanuel Vadot		tz_stat_mem: tz-stat@e8800000 {
395*2846c905SEmmanuel Vadot			no-map;
396*2846c905SEmmanuel Vadot			reg = <0x0 0xe8800000 0x0 0x100000>;
397*2846c905SEmmanuel Vadot		};
398*2846c905SEmmanuel Vadot
399*2846c905SEmmanuel Vadot		tags_mem: tags@e8900000 {
400*2846c905SEmmanuel Vadot			no-map;
401*2846c905SEmmanuel Vadot			reg = <0x0 0xe8900000 0x0 0x500000>;
402*2846c905SEmmanuel Vadot		};
403*2846c905SEmmanuel Vadot
404*2846c905SEmmanuel Vadot		qtee_mem: qtee@e8e00000 {
405*2846c905SEmmanuel Vadot			no-map;
406*2846c905SEmmanuel Vadot			reg = <0x0 0xe8e00000 0x0 0x500000>;
407*2846c905SEmmanuel Vadot		};
408*2846c905SEmmanuel Vadot
409*2846c905SEmmanuel Vadot		trusted_apps_mem: trusted-apps@e9300000 {
410*2846c905SEmmanuel Vadot			no-map;
411*2846c905SEmmanuel Vadot			reg = <0x0 0xe9300000 0x0 0xc00000>;
412*2846c905SEmmanuel Vadot		};
413*2846c905SEmmanuel Vadot	};
414*2846c905SEmmanuel Vadot
415*2846c905SEmmanuel Vadot	smp2p-adsp {
416*2846c905SEmmanuel Vadot		compatible = "qcom,smp2p";
417*2846c905SEmmanuel Vadot		qcom,smem = <443>, <429>;
418*2846c905SEmmanuel Vadot		interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
419*2846c905SEmmanuel Vadot					     IPCC_MPROC_SIGNAL_SMP2P
420*2846c905SEmmanuel Vadot					     IRQ_TYPE_EDGE_RISING>;
421*2846c905SEmmanuel Vadot		mboxes = <&ipcc IPCC_CLIENT_LPASS
422*2846c905SEmmanuel Vadot				IPCC_MPROC_SIGNAL_SMP2P>;
423*2846c905SEmmanuel Vadot
424*2846c905SEmmanuel Vadot		qcom,local-pid = <0>;
425*2846c905SEmmanuel Vadot		qcom,remote-pid = <2>;
426*2846c905SEmmanuel Vadot
427*2846c905SEmmanuel Vadot		smp2p_adsp_out: master-kernel {
428*2846c905SEmmanuel Vadot			qcom,entry-name = "master-kernel";
429*2846c905SEmmanuel Vadot			#qcom,smem-state-cells = <1>;
430*2846c905SEmmanuel Vadot		};
431*2846c905SEmmanuel Vadot
432*2846c905SEmmanuel Vadot		smp2p_adsp_in: slave-kernel {
433*2846c905SEmmanuel Vadot			qcom,entry-name = "slave-kernel";
434*2846c905SEmmanuel Vadot			interrupt-controller;
435*2846c905SEmmanuel Vadot			#interrupt-cells = <2>;
436*2846c905SEmmanuel Vadot		};
437*2846c905SEmmanuel Vadot	};
438*2846c905SEmmanuel Vadot
439*2846c905SEmmanuel Vadot	smp2p-cdsp {
440*2846c905SEmmanuel Vadot		compatible = "qcom,smp2p";
441*2846c905SEmmanuel Vadot		qcom,smem = <94>, <432>;
442*2846c905SEmmanuel Vadot		interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
443*2846c905SEmmanuel Vadot					     IPCC_MPROC_SIGNAL_SMP2P
444*2846c905SEmmanuel Vadot					     IRQ_TYPE_EDGE_RISING>;
445*2846c905SEmmanuel Vadot		mboxes = <&ipcc IPCC_CLIENT_CDSP
446*2846c905SEmmanuel Vadot				IPCC_MPROC_SIGNAL_SMP2P>;
447*2846c905SEmmanuel Vadot
448*2846c905SEmmanuel Vadot		qcom,local-pid = <0>;
449*2846c905SEmmanuel Vadot		qcom,remote-pid = <5>;
450*2846c905SEmmanuel Vadot
451*2846c905SEmmanuel Vadot		smp2p_cdsp_out: master-kernel {
452*2846c905SEmmanuel Vadot			qcom,entry-name = "master-kernel";
453*2846c905SEmmanuel Vadot			#qcom,smem-state-cells = <1>;
454*2846c905SEmmanuel Vadot		};
455*2846c905SEmmanuel Vadot
456*2846c905SEmmanuel Vadot		smp2p_cdsp_in: slave-kernel {
457*2846c905SEmmanuel Vadot			qcom,entry-name = "slave-kernel";
458*2846c905SEmmanuel Vadot			interrupt-controller;
459*2846c905SEmmanuel Vadot			#interrupt-cells = <2>;
460*2846c905SEmmanuel Vadot		};
461*2846c905SEmmanuel Vadot	};
462*2846c905SEmmanuel Vadot
463*2846c905SEmmanuel Vadot	soc: soc@0 {
464*2846c905SEmmanuel Vadot		compatible = "simple-bus";
465*2846c905SEmmanuel Vadot		#address-cells = <2>;
466*2846c905SEmmanuel Vadot		#size-cells = <2>;
467*2846c905SEmmanuel Vadot		ranges = <0 0 0 0 0x10 0>;
468*2846c905SEmmanuel Vadot		dma-ranges = <0 0 0 0 0x10 0>;
469*2846c905SEmmanuel Vadot
470*2846c905SEmmanuel Vadot		gcc: clock-controller@100000 {
471*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-gcc";
472*2846c905SEmmanuel Vadot			reg = <0x0 0x00100000 0x0 0x1f4200>;
473*2846c905SEmmanuel Vadot			#clock-cells = <1>;
474*2846c905SEmmanuel Vadot			#reset-cells = <1>;
475*2846c905SEmmanuel Vadot			#power-domain-cells = <1>;
476*2846c905SEmmanuel Vadot			clocks = <&rpmhcc RPMH_CXO_CLK>,
477*2846c905SEmmanuel Vadot				 <&sleep_clk>,
478*2846c905SEmmanuel Vadot				 <&pcie0_phy>,
479*2846c905SEmmanuel Vadot				 <&pcie1_phy>,
480*2846c905SEmmanuel Vadot				 <&usb_dp_qmpphy QMP_USB43DP_USB3_PIPE_CLK>;
481*2846c905SEmmanuel Vadot		};
482*2846c905SEmmanuel Vadot
483*2846c905SEmmanuel Vadot		sdhc_1: mmc@7c4000 {
484*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-sdhci", "qcom,sdhci-msm-v5";
485*2846c905SEmmanuel Vadot			reg = <0x0 0x007c4000 0x0 0x1000>,
486*2846c905SEmmanuel Vadot			      <0x0 0x007c5000 0x0 0x1000>;
487*2846c905SEmmanuel Vadot			reg-names = "hc", "cqhci";
488*2846c905SEmmanuel Vadot
489*2846c905SEmmanuel Vadot			iommus = <&apps_smmu 0x160 0x0>;
490*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>,
491*2846c905SEmmanuel Vadot				     <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
492*2846c905SEmmanuel Vadot			interrupt-names = "hc_irq", "pwr_irq";
493*2846c905SEmmanuel Vadot
494*2846c905SEmmanuel Vadot			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
495*2846c905SEmmanuel Vadot				 <&gcc GCC_SDCC1_APPS_CLK>,
496*2846c905SEmmanuel Vadot				 <&rpmhcc RPMH_CXO_CLK>;
497*2846c905SEmmanuel Vadot			clock-names = "iface", "core", "xo";
498*2846c905SEmmanuel Vadot			interconnects = <&system_noc MASTER_SDCC_1 QCOM_ICC_TAG_ALWAYS
499*2846c905SEmmanuel Vadot					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
500*2846c905SEmmanuel Vadot					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
501*2846c905SEmmanuel Vadot					 &config_noc SLAVE_SDCC_1 QCOM_ICC_TAG_ALWAYS>;
502*2846c905SEmmanuel Vadot			interconnect-names = "sdhc-ddr","cpu-sdhc";
503*2846c905SEmmanuel Vadot			power-domains = <&rpmhpd RPMHPD_CX>;
504*2846c905SEmmanuel Vadot			operating-points-v2 = <&sdhc1_opp_table>;
505*2846c905SEmmanuel Vadot
506*2846c905SEmmanuel Vadot			pinctrl-0 = <&sdc1_default>;
507*2846c905SEmmanuel Vadot			pinctrl-1 = <&sdc1_sleep>;
508*2846c905SEmmanuel Vadot			pinctrl-names = "default", "sleep";
509*2846c905SEmmanuel Vadot
510*2846c905SEmmanuel Vadot			bus-width = <8>;
511*2846c905SEmmanuel Vadot			non-removable;
512*2846c905SEmmanuel Vadot			supports-cqe;
513*2846c905SEmmanuel Vadot
514*2846c905SEmmanuel Vadot			mmc-ddr-1_8v;
515*2846c905SEmmanuel Vadot			mmc-hs200-1_8v;
516*2846c905SEmmanuel Vadot			mmc-hs400-1_8v;
517*2846c905SEmmanuel Vadot			mmc-hs400-enhanced-strobe;
518*2846c905SEmmanuel Vadot
519*2846c905SEmmanuel Vadot			status = "disabled";
520*2846c905SEmmanuel Vadot
521*2846c905SEmmanuel Vadot			sdhc1_opp_table: opp-table {
522*2846c905SEmmanuel Vadot				compatible = "operating-points-v2";
523*2846c905SEmmanuel Vadot
524*2846c905SEmmanuel Vadot				opp-100000000 {
525*2846c905SEmmanuel Vadot					opp-hz = /bits/ 64 <100000000>;
526*2846c905SEmmanuel Vadot					required-opps = <&rpmhpd_opp_low_svs>;
527*2846c905SEmmanuel Vadot					opp-peak-kBps = <500000 200000>;
528*2846c905SEmmanuel Vadot					opp-avg-kBps = <104000 0>;
529*2846c905SEmmanuel Vadot				};
530*2846c905SEmmanuel Vadot
531*2846c905SEmmanuel Vadot				opp-384000000 {
532*2846c905SEmmanuel Vadot					opp-hz = /bits/ 64 <384000000>;
533*2846c905SEmmanuel Vadot					required-opps = <&rpmhpd_opp_nom>;
534*2846c905SEmmanuel Vadot					opp-peak-kBps = <2500000 1000000>;
535*2846c905SEmmanuel Vadot					opp-avg-kBps = <400000 0>;
536*2846c905SEmmanuel Vadot				};
537*2846c905SEmmanuel Vadot			};
538*2846c905SEmmanuel Vadot		};
539*2846c905SEmmanuel Vadot
540*2846c905SEmmanuel Vadot		gpi_dma0: dma-controller@900000 {
541*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-gpi-dma", "qcom,sm6350-gpi-dma";
542*2846c905SEmmanuel Vadot			reg = <0x0 0x00900000 0x0 0x60000>;
543*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
544*2846c905SEmmanuel Vadot				     <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
545*2846c905SEmmanuel Vadot				     <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
546*2846c905SEmmanuel Vadot				     <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
547*2846c905SEmmanuel Vadot				     <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
548*2846c905SEmmanuel Vadot				     <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
549*2846c905SEmmanuel Vadot				     <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
550*2846c905SEmmanuel Vadot				     <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
551*2846c905SEmmanuel Vadot				     <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
552*2846c905SEmmanuel Vadot				     <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
553*2846c905SEmmanuel Vadot				     <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
554*2846c905SEmmanuel Vadot				     <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>;
555*2846c905SEmmanuel Vadot			#dma-cells = <3>;
556*2846c905SEmmanuel Vadot			dma-channels = <12>;
557*2846c905SEmmanuel Vadot			dma-channel-mask = <0x7e>;
558*2846c905SEmmanuel Vadot			iommus = <&apps_smmu 0x76 0x0>;
559*2846c905SEmmanuel Vadot
560*2846c905SEmmanuel Vadot			status = "disabled";
561*2846c905SEmmanuel Vadot		};
562*2846c905SEmmanuel Vadot
563*2846c905SEmmanuel Vadot		qupv3_id_0: geniqup@9c0000 {
564*2846c905SEmmanuel Vadot			compatible = "qcom,geni-se-qup";
565*2846c905SEmmanuel Vadot			reg = <0x0 0x009c0000 0x0 0x2000>;
566*2846c905SEmmanuel Vadot			clock-names = "m-ahb", "s-ahb";
567*2846c905SEmmanuel Vadot			clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
568*2846c905SEmmanuel Vadot				 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
569*2846c905SEmmanuel Vadot			iommus = <&apps_smmu 0x63 0x0>;
570*2846c905SEmmanuel Vadot			interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
571*2846c905SEmmanuel Vadot					 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>;
572*2846c905SEmmanuel Vadot			interconnect-names = "qup-core";
573*2846c905SEmmanuel Vadot			#address-cells = <2>;
574*2846c905SEmmanuel Vadot			#size-cells = <2>;
575*2846c905SEmmanuel Vadot			ranges;
576*2846c905SEmmanuel Vadot
577*2846c905SEmmanuel Vadot			status = "disabled";
578*2846c905SEmmanuel Vadot
579*2846c905SEmmanuel Vadot			i2c0: i2c@980000 {
580*2846c905SEmmanuel Vadot				compatible = "qcom,geni-i2c";
581*2846c905SEmmanuel Vadot				reg = <0x0 0x00980000 0x0 0x4000>;
582*2846c905SEmmanuel Vadot				clock-names = "se";
583*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
584*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_i2c0_data_clk>;
585*2846c905SEmmanuel Vadot				pinctrl-names = "default";
586*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
587*2846c905SEmmanuel Vadot				#address-cells = <1>;
588*2846c905SEmmanuel Vadot				#size-cells = <0>;
589*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
590*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
591*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
592*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
593*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
594*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
595*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
596*2846c905SEmmanuel Vadot				dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
597*2846c905SEmmanuel Vadot				       <&gpi_dma0 1 0 QCOM_GPI_I2C>;
598*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
599*2846c905SEmmanuel Vadot
600*2846c905SEmmanuel Vadot				status = "disabled";
601*2846c905SEmmanuel Vadot			};
602*2846c905SEmmanuel Vadot
603*2846c905SEmmanuel Vadot			spi0: spi@980000 {
604*2846c905SEmmanuel Vadot				compatible = "qcom,geni-spi";
605*2846c905SEmmanuel Vadot				reg = <0x0 0x00980000 0x0 0x4000>;
606*2846c905SEmmanuel Vadot				clock-names = "se";
607*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
608*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
609*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_spi0_data_clk>, <&qup_spi0_cs0>;
610*2846c905SEmmanuel Vadot				pinctrl-names = "default";
611*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
612*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
613*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
614*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
615*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
616*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
617*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
618*2846c905SEmmanuel Vadot				dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
619*2846c905SEmmanuel Vadot				       <&gpi_dma0 1 0 QCOM_GPI_SPI>;
620*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
621*2846c905SEmmanuel Vadot				#address-cells = <1>;
622*2846c905SEmmanuel Vadot				#size-cells = <0>;
623*2846c905SEmmanuel Vadot
624*2846c905SEmmanuel Vadot				status = "disabled";
625*2846c905SEmmanuel Vadot			};
626*2846c905SEmmanuel Vadot
627*2846c905SEmmanuel Vadot			i2c1: i2c@984000 {
628*2846c905SEmmanuel Vadot				compatible = "qcom,geni-i2c";
629*2846c905SEmmanuel Vadot				reg = <0x0 0x00984000 0x0 0x4000>;
630*2846c905SEmmanuel Vadot				clock-names = "se";
631*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
632*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_i2c1_data_clk>;
633*2846c905SEmmanuel Vadot				pinctrl-names = "default";
634*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
635*2846c905SEmmanuel Vadot				#address-cells = <1>;
636*2846c905SEmmanuel Vadot				#size-cells = <0>;
637*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
638*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
639*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
640*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
641*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
642*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
643*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
644*2846c905SEmmanuel Vadot				dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
645*2846c905SEmmanuel Vadot				       <&gpi_dma0 1 1 QCOM_GPI_I2C>;
646*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
647*2846c905SEmmanuel Vadot
648*2846c905SEmmanuel Vadot				status = "disabled";
649*2846c905SEmmanuel Vadot			};
650*2846c905SEmmanuel Vadot
651*2846c905SEmmanuel Vadot			spi1: spi@984000 {
652*2846c905SEmmanuel Vadot				compatible = "qcom,geni-spi";
653*2846c905SEmmanuel Vadot				reg = <0x0 0x00984000 0x0 0x4000>;
654*2846c905SEmmanuel Vadot				clock-names = "se";
655*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
656*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
657*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_spi1_data_clk>, <&qup_spi1_cs>;
658*2846c905SEmmanuel Vadot				pinctrl-names = "default";
659*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
660*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
661*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
662*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
663*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
664*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
665*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
666*2846c905SEmmanuel Vadot				dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>,
667*2846c905SEmmanuel Vadot				       <&gpi_dma0 1 1 QCOM_GPI_SPI>;
668*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
669*2846c905SEmmanuel Vadot				#address-cells = <1>;
670*2846c905SEmmanuel Vadot				#size-cells = <0>;
671*2846c905SEmmanuel Vadot
672*2846c905SEmmanuel Vadot				status = "disabled";
673*2846c905SEmmanuel Vadot			};
674*2846c905SEmmanuel Vadot
675*2846c905SEmmanuel Vadot			i2c2: i2c@988000 {
676*2846c905SEmmanuel Vadot				compatible = "qcom,geni-i2c";
677*2846c905SEmmanuel Vadot				reg = <0x0 0x00988000 0x0 0x4000>;
678*2846c905SEmmanuel Vadot				clock-names = "se";
679*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
680*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_i2c2_data_clk>;
681*2846c905SEmmanuel Vadot				pinctrl-names = "default";
682*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
683*2846c905SEmmanuel Vadot				#address-cells = <1>;
684*2846c905SEmmanuel Vadot				#size-cells = <0>;
685*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
686*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
687*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
688*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
689*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
690*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
691*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
692*2846c905SEmmanuel Vadot				dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
693*2846c905SEmmanuel Vadot				       <&gpi_dma0 1 2 QCOM_GPI_I2C>;
694*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
695*2846c905SEmmanuel Vadot
696*2846c905SEmmanuel Vadot				status = "disabled";
697*2846c905SEmmanuel Vadot			};
698*2846c905SEmmanuel Vadot
699*2846c905SEmmanuel Vadot			spi2: spi@988000 {
700*2846c905SEmmanuel Vadot				compatible = "qcom,geni-spi";
701*2846c905SEmmanuel Vadot				reg = <0x0 0x00988000 0x0 0x4000>;
702*2846c905SEmmanuel Vadot				clock-names = "se";
703*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
704*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
705*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_spi2_data_clk>, <&qup_spi2_cs>;
706*2846c905SEmmanuel Vadot				pinctrl-names = "default";
707*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
708*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
709*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
710*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
711*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
712*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
713*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
714*2846c905SEmmanuel Vadot				dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
715*2846c905SEmmanuel Vadot				       <&gpi_dma0 1 2 QCOM_GPI_SPI>;
716*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
717*2846c905SEmmanuel Vadot				#address-cells = <1>;
718*2846c905SEmmanuel Vadot				#size-cells = <0>;
719*2846c905SEmmanuel Vadot
720*2846c905SEmmanuel Vadot				status = "disabled";
721*2846c905SEmmanuel Vadot			};
722*2846c905SEmmanuel Vadot
723*2846c905SEmmanuel Vadot
724*2846c905SEmmanuel Vadot			i2c3: i2c@98c000 {
725*2846c905SEmmanuel Vadot				compatible = "qcom,geni-i2c";
726*2846c905SEmmanuel Vadot				reg = <0x0 0x0098c000 0x0 0x4000>;
727*2846c905SEmmanuel Vadot				clock-names = "se";
728*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
729*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_i2c3_data_clk>;
730*2846c905SEmmanuel Vadot				pinctrl-names = "default";
731*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
732*2846c905SEmmanuel Vadot				#address-cells = <1>;
733*2846c905SEmmanuel Vadot				#size-cells = <0>;
734*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
735*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
736*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
737*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
738*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
739*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
740*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
741*2846c905SEmmanuel Vadot				dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
742*2846c905SEmmanuel Vadot				       <&gpi_dma0 1 3 QCOM_GPI_I2C>;
743*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
744*2846c905SEmmanuel Vadot
745*2846c905SEmmanuel Vadot				status = "disabled";
746*2846c905SEmmanuel Vadot			};
747*2846c905SEmmanuel Vadot
748*2846c905SEmmanuel Vadot			spi3: spi@98c000 {
749*2846c905SEmmanuel Vadot				compatible = "qcom,geni-spi";
750*2846c905SEmmanuel Vadot				reg = <0x0 0x0098c000 0x0 0x4000>;
751*2846c905SEmmanuel Vadot				clock-names = "se";
752*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
753*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
754*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_spi3_data_clk>, <&qup_spi3_cs0>;
755*2846c905SEmmanuel Vadot				pinctrl-names = "default";
756*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
757*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
758*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
759*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
760*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
761*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
762*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
763*2846c905SEmmanuel Vadot				dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>,
764*2846c905SEmmanuel Vadot				       <&gpi_dma0 1 3 QCOM_GPI_SPI>;
765*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
766*2846c905SEmmanuel Vadot				#address-cells = <1>;
767*2846c905SEmmanuel Vadot				#size-cells = <0>;
768*2846c905SEmmanuel Vadot
769*2846c905SEmmanuel Vadot				status = "disabled";
770*2846c905SEmmanuel Vadot			};
771*2846c905SEmmanuel Vadot
772*2846c905SEmmanuel Vadot			i2c4: i2c@990000 {
773*2846c905SEmmanuel Vadot				compatible = "qcom,geni-i2c";
774*2846c905SEmmanuel Vadot				reg = <0x0 0x00990000 0x0 0x4000>;
775*2846c905SEmmanuel Vadot				clock-names = "se";
776*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
777*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_i2c4_data_clk>;
778*2846c905SEmmanuel Vadot				pinctrl-names = "default";
779*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
780*2846c905SEmmanuel Vadot				#address-cells = <1>;
781*2846c905SEmmanuel Vadot				#size-cells = <0>;
782*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
783*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
784*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
785*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
786*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
787*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
788*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
789*2846c905SEmmanuel Vadot				dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
790*2846c905SEmmanuel Vadot				       <&gpi_dma0 1 4 QCOM_GPI_I2C>;
791*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
792*2846c905SEmmanuel Vadot
793*2846c905SEmmanuel Vadot				status = "disabled";
794*2846c905SEmmanuel Vadot			};
795*2846c905SEmmanuel Vadot
796*2846c905SEmmanuel Vadot			spi4: spi@990000 {
797*2846c905SEmmanuel Vadot				compatible = "qcom,geni-spi";
798*2846c905SEmmanuel Vadot				reg = <0x0 0x00990000 0x0 0x4000>;
799*2846c905SEmmanuel Vadot				clock-names = "se";
800*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
801*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
802*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_spi4_data_clk>, <&qup_spi4_cs0>;
803*2846c905SEmmanuel Vadot				pinctrl-names = "default";
804*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
805*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
806*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
807*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
808*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
809*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
810*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
811*2846c905SEmmanuel Vadot				dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>,
812*2846c905SEmmanuel Vadot				       <&gpi_dma0 1 4 QCOM_GPI_SPI>;
813*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
814*2846c905SEmmanuel Vadot				#address-cells = <1>;
815*2846c905SEmmanuel Vadot				#size-cells = <0>;
816*2846c905SEmmanuel Vadot
817*2846c905SEmmanuel Vadot				status = "disabled";
818*2846c905SEmmanuel Vadot			};
819*2846c905SEmmanuel Vadot
820*2846c905SEmmanuel Vadot			i2c5: i2c@994000 {
821*2846c905SEmmanuel Vadot				compatible = "qcom,geni-i2c";
822*2846c905SEmmanuel Vadot				reg = <0x0 0x00994000 0x0 0x4000>;
823*2846c905SEmmanuel Vadot				clock-names = "se";
824*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
825*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_i2c5_data_clk>;
826*2846c905SEmmanuel Vadot				pinctrl-names = "default";
827*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
828*2846c905SEmmanuel Vadot				#address-cells = <1>;
829*2846c905SEmmanuel Vadot				#size-cells = <0>;
830*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
831*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
832*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
833*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
834*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
835*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
836*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
837*2846c905SEmmanuel Vadot				dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
838*2846c905SEmmanuel Vadot				       <&gpi_dma0 1 5 QCOM_GPI_I2C>;
839*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
840*2846c905SEmmanuel Vadot
841*2846c905SEmmanuel Vadot				status = "disabled";
842*2846c905SEmmanuel Vadot			};
843*2846c905SEmmanuel Vadot
844*2846c905SEmmanuel Vadot			spi5: spi@994000 {
845*2846c905SEmmanuel Vadot				compatible = "qcom,geni-spi";
846*2846c905SEmmanuel Vadot				reg = <0x0 0x00994000 0x0 0x4000>;
847*2846c905SEmmanuel Vadot				clock-names = "se";
848*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
849*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
850*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_spi5_data_clk>, <&qup_spi5_cs>;
851*2846c905SEmmanuel Vadot				pinctrl-names = "default";
852*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
853*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
854*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
855*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
856*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
857*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
858*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
859*2846c905SEmmanuel Vadot				dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>,
860*2846c905SEmmanuel Vadot				       <&gpi_dma0 1 5 QCOM_GPI_SPI>;
861*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
862*2846c905SEmmanuel Vadot				#address-cells = <1>;
863*2846c905SEmmanuel Vadot				#size-cells = <0>;
864*2846c905SEmmanuel Vadot
865*2846c905SEmmanuel Vadot				status = "disabled";
866*2846c905SEmmanuel Vadot			};
867*2846c905SEmmanuel Vadot		};
868*2846c905SEmmanuel Vadot
869*2846c905SEmmanuel Vadot		gpi_dma1: dma-controller@a00000 {
870*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-gpi-dma", "qcom,sm6350-gpi-dma";
871*2846c905SEmmanuel Vadot			#dma-cells = <3>;
872*2846c905SEmmanuel Vadot			reg = <0x0 0x00a00000 0x0 0x60000>;
873*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
874*2846c905SEmmanuel Vadot				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
875*2846c905SEmmanuel Vadot				     <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
876*2846c905SEmmanuel Vadot				     <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
877*2846c905SEmmanuel Vadot				     <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
878*2846c905SEmmanuel Vadot				     <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
879*2846c905SEmmanuel Vadot				     <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
880*2846c905SEmmanuel Vadot				     <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
881*2846c905SEmmanuel Vadot				     <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
882*2846c905SEmmanuel Vadot				     <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>,
883*2846c905SEmmanuel Vadot				     <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>,
884*2846c905SEmmanuel Vadot				     <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>;
885*2846c905SEmmanuel Vadot			dma-channels = <12>;
886*2846c905SEmmanuel Vadot			dma-channel-mask = <0x7e>;
887*2846c905SEmmanuel Vadot			iommus = <&apps_smmu 0x16 0x0>;
888*2846c905SEmmanuel Vadot
889*2846c905SEmmanuel Vadot			status = "disabled";
890*2846c905SEmmanuel Vadot		};
891*2846c905SEmmanuel Vadot
892*2846c905SEmmanuel Vadot		qupv3_id_1: geniqup@ac0000 {
893*2846c905SEmmanuel Vadot			compatible = "qcom,geni-se-qup";
894*2846c905SEmmanuel Vadot			reg = <0x0 0x00ac0000 0x0 0x6000>;
895*2846c905SEmmanuel Vadot			clock-names = "m-ahb", "s-ahb";
896*2846c905SEmmanuel Vadot			clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
897*2846c905SEmmanuel Vadot				 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
898*2846c905SEmmanuel Vadot			iommus = <&apps_smmu 0x3 0x0>;
899*2846c905SEmmanuel Vadot			interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
900*2846c905SEmmanuel Vadot					 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>;
901*2846c905SEmmanuel Vadot			interconnect-names = "qup-core";
902*2846c905SEmmanuel Vadot			#address-cells = <2>;
903*2846c905SEmmanuel Vadot			#size-cells = <2>;
904*2846c905SEmmanuel Vadot			ranges;
905*2846c905SEmmanuel Vadot
906*2846c905SEmmanuel Vadot			status = "disabled";
907*2846c905SEmmanuel Vadot
908*2846c905SEmmanuel Vadot			i2c6: i2c@a80000 {
909*2846c905SEmmanuel Vadot				compatible = "qcom,geni-i2c";
910*2846c905SEmmanuel Vadot				reg = <0x0 0x00a80000 0x0 0x4000>;
911*2846c905SEmmanuel Vadot				clock-names = "se";
912*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
913*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_i2c6_data_clk>;
914*2846c905SEmmanuel Vadot				pinctrl-names = "default";
915*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
916*2846c905SEmmanuel Vadot				#address-cells = <1>;
917*2846c905SEmmanuel Vadot				#size-cells = <0>;
918*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
919*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
920*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
921*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
922*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
923*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
924*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
925*2846c905SEmmanuel Vadot				dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
926*2846c905SEmmanuel Vadot				       <&gpi_dma1 1 0 QCOM_GPI_I2C>;
927*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
928*2846c905SEmmanuel Vadot
929*2846c905SEmmanuel Vadot				status = "disabled";
930*2846c905SEmmanuel Vadot			};
931*2846c905SEmmanuel Vadot
932*2846c905SEmmanuel Vadot			spi6: spi@a80000 {
933*2846c905SEmmanuel Vadot				compatible = "qcom,geni-spi";
934*2846c905SEmmanuel Vadot				reg = <0x0 0x00a80000 0x0 0x4000>;
935*2846c905SEmmanuel Vadot				clock-names = "se";
936*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
937*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
938*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_spi6_data_clk>, <&qup_spi6_cs>;
939*2846c905SEmmanuel Vadot				pinctrl-names = "default";
940*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
941*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
942*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
943*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
944*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
945*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
946*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
947*2846c905SEmmanuel Vadot				dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>,
948*2846c905SEmmanuel Vadot				       <&gpi_dma1 1 0 QCOM_GPI_SPI>;
949*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
950*2846c905SEmmanuel Vadot				#address-cells = <1>;
951*2846c905SEmmanuel Vadot				#size-cells = <0>;
952*2846c905SEmmanuel Vadot
953*2846c905SEmmanuel Vadot				status = "disabled";
954*2846c905SEmmanuel Vadot			};
955*2846c905SEmmanuel Vadot
956*2846c905SEmmanuel Vadot			i2c7: i2c@a84000 {
957*2846c905SEmmanuel Vadot				compatible = "qcom,geni-i2c";
958*2846c905SEmmanuel Vadot				reg = <0x0 0x00a84000 0x0 0x4000>;
959*2846c905SEmmanuel Vadot				clock-names = "se";
960*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
961*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_i2c7_data_clk>;
962*2846c905SEmmanuel Vadot				pinctrl-names = "default";
963*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
964*2846c905SEmmanuel Vadot				#address-cells = <1>;
965*2846c905SEmmanuel Vadot				#size-cells = <0>;
966*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
967*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
968*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
969*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
970*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
971*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
972*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
973*2846c905SEmmanuel Vadot				dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
974*2846c905SEmmanuel Vadot				       <&gpi_dma1 1 1 QCOM_GPI_I2C>;
975*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
976*2846c905SEmmanuel Vadot
977*2846c905SEmmanuel Vadot				status = "disabled";
978*2846c905SEmmanuel Vadot			};
979*2846c905SEmmanuel Vadot
980*2846c905SEmmanuel Vadot			spi7: spi@a84000 {
981*2846c905SEmmanuel Vadot				compatible = "qcom,geni-spi";
982*2846c905SEmmanuel Vadot				reg = <0x0 0x00a84000 0x0 0x4000>;
983*2846c905SEmmanuel Vadot				clock-names = "se";
984*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
985*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
986*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_spi7_data_clk>, <&qup_spi7_cs>;
987*2846c905SEmmanuel Vadot				pinctrl-names = "default";
988*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
989*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
990*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
991*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
992*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
993*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
994*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
995*2846c905SEmmanuel Vadot				dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>,
996*2846c905SEmmanuel Vadot				       <&gpi_dma1 1 1 QCOM_GPI_SPI>;
997*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
998*2846c905SEmmanuel Vadot				#address-cells = <1>;
999*2846c905SEmmanuel Vadot				#size-cells = <0>;
1000*2846c905SEmmanuel Vadot
1001*2846c905SEmmanuel Vadot				status = "disabled";
1002*2846c905SEmmanuel Vadot			};
1003*2846c905SEmmanuel Vadot
1004*2846c905SEmmanuel Vadot			uart7: serial@a84000 {
1005*2846c905SEmmanuel Vadot				compatible = "qcom,geni-uart";
1006*2846c905SEmmanuel Vadot				reg = <0x0 0x00a84000 0x0 0x4000>;
1007*2846c905SEmmanuel Vadot				clock-names = "se";
1008*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1009*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_uart7_default>;
1010*2846c905SEmmanuel Vadot				pinctrl-names = "default";
1011*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1012*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1013*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1014*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
1015*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>;
1016*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config";
1017*2846c905SEmmanuel Vadot
1018*2846c905SEmmanuel Vadot				status = "disabled";
1019*2846c905SEmmanuel Vadot			};
1020*2846c905SEmmanuel Vadot
1021*2846c905SEmmanuel Vadot			i2c8: i2c@a88000 {
1022*2846c905SEmmanuel Vadot				compatible = "qcom,geni-i2c";
1023*2846c905SEmmanuel Vadot				reg = <0x0 0x00a88000 0x0 0x4000>;
1024*2846c905SEmmanuel Vadot				clock-names = "se";
1025*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1026*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_i2c8_data_clk>;
1027*2846c905SEmmanuel Vadot				pinctrl-names = "default";
1028*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1029*2846c905SEmmanuel Vadot				#address-cells = <1>;
1030*2846c905SEmmanuel Vadot				#size-cells = <0>;
1031*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1032*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1033*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
1034*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
1035*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1036*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1037*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
1038*2846c905SEmmanuel Vadot				dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
1039*2846c905SEmmanuel Vadot				       <&gpi_dma1 1 2 QCOM_GPI_I2C>;
1040*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
1041*2846c905SEmmanuel Vadot
1042*2846c905SEmmanuel Vadot				status = "disabled";
1043*2846c905SEmmanuel Vadot			};
1044*2846c905SEmmanuel Vadot
1045*2846c905SEmmanuel Vadot			spi8: spi@a88000 {
1046*2846c905SEmmanuel Vadot				compatible = "qcom,geni-spi";
1047*2846c905SEmmanuel Vadot				reg = <0x0 0x00a88000 0x0 0x4000>;
1048*2846c905SEmmanuel Vadot				clock-names = "se";
1049*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1050*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1051*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_spi8_data_clk>, <&qup_spi8_cs>;
1052*2846c905SEmmanuel Vadot				pinctrl-names = "default";
1053*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1054*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1055*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
1056*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
1057*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1058*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1059*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
1060*2846c905SEmmanuel Vadot				dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>,
1061*2846c905SEmmanuel Vadot				       <&gpi_dma1 1 2 QCOM_GPI_SPI>;
1062*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
1063*2846c905SEmmanuel Vadot				#address-cells = <1>;
1064*2846c905SEmmanuel Vadot				#size-cells = <0>;
1065*2846c905SEmmanuel Vadot
1066*2846c905SEmmanuel Vadot				status = "disabled";
1067*2846c905SEmmanuel Vadot			};
1068*2846c905SEmmanuel Vadot
1069*2846c905SEmmanuel Vadot			i2c9: i2c@a8c000 {
1070*2846c905SEmmanuel Vadot				compatible = "qcom,geni-i2c";
1071*2846c905SEmmanuel Vadot				reg = <0x0 0x00a8c000 0x0 0x4000>;
1072*2846c905SEmmanuel Vadot				clock-names = "se";
1073*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1074*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_i2c9_data_clk>;
1075*2846c905SEmmanuel Vadot				pinctrl-names = "default";
1076*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1077*2846c905SEmmanuel Vadot				#address-cells = <1>;
1078*2846c905SEmmanuel Vadot				#size-cells = <0>;
1079*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1080*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1081*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
1082*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
1083*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1084*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1085*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
1086*2846c905SEmmanuel Vadot				dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
1087*2846c905SEmmanuel Vadot				       <&gpi_dma1 1 3 QCOM_GPI_I2C>;
1088*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
1089*2846c905SEmmanuel Vadot
1090*2846c905SEmmanuel Vadot				status = "disabled";
1091*2846c905SEmmanuel Vadot			};
1092*2846c905SEmmanuel Vadot
1093*2846c905SEmmanuel Vadot			spi9: spi@a8c000 {
1094*2846c905SEmmanuel Vadot				compatible = "qcom,geni-spi";
1095*2846c905SEmmanuel Vadot				reg = <0x0 0x00a8c000 0x0 0x4000>;
1096*2846c905SEmmanuel Vadot				clock-names = "se";
1097*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1098*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1099*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_spi9_data_clk>, <&qup_spi9_cs>;
1100*2846c905SEmmanuel Vadot				pinctrl-names = "default";
1101*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1102*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1103*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
1104*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
1105*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1106*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1107*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
1108*2846c905SEmmanuel Vadot				dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>,
1109*2846c905SEmmanuel Vadot				       <&gpi_dma1 1 3 QCOM_GPI_SPI>;
1110*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
1111*2846c905SEmmanuel Vadot				#address-cells = <1>;
1112*2846c905SEmmanuel Vadot				#size-cells = <0>;
1113*2846c905SEmmanuel Vadot
1114*2846c905SEmmanuel Vadot				status = "disabled";
1115*2846c905SEmmanuel Vadot			};
1116*2846c905SEmmanuel Vadot
1117*2846c905SEmmanuel Vadot			i2c10: i2c@a90000 {
1118*2846c905SEmmanuel Vadot				compatible = "qcom,geni-i2c";
1119*2846c905SEmmanuel Vadot				reg = <0x0 0x00a90000 0x0 0x4000>;
1120*2846c905SEmmanuel Vadot				clock-names = "se";
1121*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1122*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_i2c10_data_clk>;
1123*2846c905SEmmanuel Vadot				pinctrl-names = "default";
1124*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1125*2846c905SEmmanuel Vadot				#address-cells = <1>;
1126*2846c905SEmmanuel Vadot				#size-cells = <0>;
1127*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1128*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1129*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
1130*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
1131*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1132*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1133*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
1134*2846c905SEmmanuel Vadot				dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
1135*2846c905SEmmanuel Vadot				       <&gpi_dma1 1 4 QCOM_GPI_I2C>;
1136*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
1137*2846c905SEmmanuel Vadot
1138*2846c905SEmmanuel Vadot				status = "disabled";
1139*2846c905SEmmanuel Vadot			};
1140*2846c905SEmmanuel Vadot
1141*2846c905SEmmanuel Vadot			spi10: spi@a90000 {
1142*2846c905SEmmanuel Vadot				compatible = "qcom,geni-spi";
1143*2846c905SEmmanuel Vadot				reg = <0x0 0x00a90000 0x0 0x4000>;
1144*2846c905SEmmanuel Vadot				clock-names = "se";
1145*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1146*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1147*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_spi10_data_clk>, <&qup_spi10_cs>;
1148*2846c905SEmmanuel Vadot				pinctrl-names = "default";
1149*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1150*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1151*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
1152*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
1153*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1154*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1155*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
1156*2846c905SEmmanuel Vadot				dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>,
1157*2846c905SEmmanuel Vadot				       <&gpi_dma1 1 4 QCOM_GPI_SPI>;
1158*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
1159*2846c905SEmmanuel Vadot				#address-cells = <1>;
1160*2846c905SEmmanuel Vadot				#size-cells = <0>;
1161*2846c905SEmmanuel Vadot
1162*2846c905SEmmanuel Vadot				status = "disabled";
1163*2846c905SEmmanuel Vadot			};
1164*2846c905SEmmanuel Vadot
1165*2846c905SEmmanuel Vadot			i2c11: i2c@a94000 {
1166*2846c905SEmmanuel Vadot				compatible = "qcom,geni-i2c";
1167*2846c905SEmmanuel Vadot				reg = <0x0 0x00a94000 0x0 0x4000>;
1168*2846c905SEmmanuel Vadot				clock-names = "se";
1169*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1170*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_i2c11_data_clk>;
1171*2846c905SEmmanuel Vadot				pinctrl-names = "default";
1172*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1173*2846c905SEmmanuel Vadot				#address-cells = <1>;
1174*2846c905SEmmanuel Vadot				#size-cells = <0>;
1175*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1176*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1177*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
1178*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
1179*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1180*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1181*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
1182*2846c905SEmmanuel Vadot				dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>,
1183*2846c905SEmmanuel Vadot				       <&gpi_dma1 1 5 QCOM_GPI_I2C>;
1184*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
1185*2846c905SEmmanuel Vadot
1186*2846c905SEmmanuel Vadot				status = "disabled";
1187*2846c905SEmmanuel Vadot			};
1188*2846c905SEmmanuel Vadot
1189*2846c905SEmmanuel Vadot			spi11: spi@a94000 {
1190*2846c905SEmmanuel Vadot				compatible = "qcom,geni-spi";
1191*2846c905SEmmanuel Vadot				reg = <0x0 0x00a94000 0x0 0x4000>;
1192*2846c905SEmmanuel Vadot				clock-names = "se";
1193*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1194*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1195*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_spi11_data_clk>, <&qup_spi11_cs>;
1196*2846c905SEmmanuel Vadot				pinctrl-names = "default";
1197*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1198*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1199*2846c905SEmmanuel Vadot						<&system_noc MASTER_A2NOC_SNOC QCOM_ICC_TAG_ALWAYS
1200*2846c905SEmmanuel Vadot						 &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>,
1201*2846c905SEmmanuel Vadot						<&system_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
1202*2846c905SEmmanuel Vadot						 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1203*2846c905SEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
1204*2846c905SEmmanuel Vadot				dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>,
1205*2846c905SEmmanuel Vadot				       <&gpi_dma1 1 5 QCOM_GPI_SPI>;
1206*2846c905SEmmanuel Vadot				dma-names = "tx", "rx";
1207*2846c905SEmmanuel Vadot				#address-cells = <1>;
1208*2846c905SEmmanuel Vadot				#size-cells = <0>;
1209*2846c905SEmmanuel Vadot
1210*2846c905SEmmanuel Vadot				status = "disabled";
1211*2846c905SEmmanuel Vadot			};
1212*2846c905SEmmanuel Vadot
1213*2846c905SEmmanuel Vadot			uart11: serial@a94000 {
1214*2846c905SEmmanuel Vadot				compatible = "qcom,geni-debug-uart";
1215*2846c905SEmmanuel Vadot				reg = <0x0 0x00a94000 0x0 0x4000>;
1216*2846c905SEmmanuel Vadot				clock-names = "se";
1217*2846c905SEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1218*2846c905SEmmanuel Vadot				pinctrl-0 = <&qup_uart11_default>;
1219*2846c905SEmmanuel Vadot				pinctrl-names = "default";
1220*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1221*2846c905SEmmanuel Vadot				interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
1222*2846c905SEmmanuel Vadot						 &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
1223*2846c905SEmmanuel Vadot						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1224*2846c905SEmmanuel Vadot						 &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>;
1225*2846c905SEmmanuel Vadot				interconnect-names = "qup-core",
1226*2846c905SEmmanuel Vadot						     "qup-config";
1227*2846c905SEmmanuel Vadot
1228*2846c905SEmmanuel Vadot				status = "disabled";
1229*2846c905SEmmanuel Vadot			};
1230*2846c905SEmmanuel Vadot		};
1231*2846c905SEmmanuel Vadot
1232*2846c905SEmmanuel Vadot		config_noc: interconnect@1500000 {
1233*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-config-noc";
1234*2846c905SEmmanuel Vadot			reg = <0x0 0x01500000 0x0 0x10>;
1235*2846c905SEmmanuel Vadot			#interconnect-cells = <2>;
1236*2846c905SEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
1237*2846c905SEmmanuel Vadot		};
1238*2846c905SEmmanuel Vadot
1239*2846c905SEmmanuel Vadot		system_noc: interconnect@1680000 {
1240*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-system-noc";
1241*2846c905SEmmanuel Vadot			reg = <0x0 0x01680000 0x0 0x29080>;
1242*2846c905SEmmanuel Vadot			clocks = <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>;
1243*2846c905SEmmanuel Vadot			#interconnect-cells = <2>;
1244*2846c905SEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
1245*2846c905SEmmanuel Vadot		};
1246*2846c905SEmmanuel Vadot
1247*2846c905SEmmanuel Vadot		pcie_noc: interconnect@16c0000 {
1248*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-pcie-anoc";
1249*2846c905SEmmanuel Vadot			reg = <0x0 0x016c0000 0x0 0xa080>;
1250*2846c905SEmmanuel Vadot			clocks = <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>,
1251*2846c905SEmmanuel Vadot				 <&gcc GCC_CFG_NOC_PCIE_ANOC_AHB_CLK>;
1252*2846c905SEmmanuel Vadot			#interconnect-cells = <2>;
1253*2846c905SEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
1254*2846c905SEmmanuel Vadot		};
1255*2846c905SEmmanuel Vadot
1256*2846c905SEmmanuel Vadot		mmss_noc: interconnect@1740000 {
1257*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-mmss-noc";
1258*2846c905SEmmanuel Vadot			reg = <0x0 0x01740000 0x0 0x1f100>;
1259*2846c905SEmmanuel Vadot			#interconnect-cells = <2>;
1260*2846c905SEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
1261*2846c905SEmmanuel Vadot		};
1262*2846c905SEmmanuel Vadot
1263*2846c905SEmmanuel Vadot		pcie0: pcie@1c00000 {
1264*2846c905SEmmanuel Vadot			device_type = "pci";
1265*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-pcie", "qcom,pcie-sm8550";
1266*2846c905SEmmanuel Vadot			reg = <0x0 0x01c00000 0x0 0x3000>,
1267*2846c905SEmmanuel Vadot			      <0x0 0x60000000 0x0 0xf1d>,
1268*2846c905SEmmanuel Vadot			      <0x0 0x60000f20 0x0 0xa8>,
1269*2846c905SEmmanuel Vadot			      <0x0 0x60001000 0x0 0x1000>,
1270*2846c905SEmmanuel Vadot			      <0x0 0x60100000 0x0 0x100000>,
1271*2846c905SEmmanuel Vadot			      <0x0 0x01c0c000 0x0 0x1000>;
1272*2846c905SEmmanuel Vadot			reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
1273*2846c905SEmmanuel Vadot			#address-cells = <3>;
1274*2846c905SEmmanuel Vadot			#size-cells = <2>;
1275*2846c905SEmmanuel Vadot			ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>,
1276*2846c905SEmmanuel Vadot				 <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>;
1277*2846c905SEmmanuel Vadot			bus-range = <0x00 0xff>;
1278*2846c905SEmmanuel Vadot
1279*2846c905SEmmanuel Vadot			dma-coherent;
1280*2846c905SEmmanuel Vadot
1281*2846c905SEmmanuel Vadot			linux,pci-domain = <0>;
1282*2846c905SEmmanuel Vadot			num-lanes = <2>;
1283*2846c905SEmmanuel Vadot
1284*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
1285*2846c905SEmmanuel Vadot				     <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
1286*2846c905SEmmanuel Vadot				     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
1287*2846c905SEmmanuel Vadot				     <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
1288*2846c905SEmmanuel Vadot				     <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
1289*2846c905SEmmanuel Vadot				     <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
1290*2846c905SEmmanuel Vadot				     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
1291*2846c905SEmmanuel Vadot				     <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
1292*2846c905SEmmanuel Vadot			interrupt-names = "msi0",
1293*2846c905SEmmanuel Vadot					  "msi1",
1294*2846c905SEmmanuel Vadot					  "msi2",
1295*2846c905SEmmanuel Vadot					  "msi3",
1296*2846c905SEmmanuel Vadot					  "msi4",
1297*2846c905SEmmanuel Vadot					  "msi5",
1298*2846c905SEmmanuel Vadot					  "msi6",
1299*2846c905SEmmanuel Vadot					  "msi7";
1300*2846c905SEmmanuel Vadot			#interrupt-cells = <1>;
1301*2846c905SEmmanuel Vadot			interrupt-map-mask = <0 0 0 0x7>;
1302*2846c905SEmmanuel Vadot			interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1303*2846c905SEmmanuel Vadot					<0 0 0 2 &intc 0 0 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1304*2846c905SEmmanuel Vadot					<0 0 0 3 &intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1305*2846c905SEmmanuel Vadot					<0 0 0 4 &intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1306*2846c905SEmmanuel Vadot
1307*2846c905SEmmanuel Vadot			clocks = <&gcc GCC_PCIE_0_AUX_CLK>,
1308*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1309*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
1310*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
1311*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
1312*2846c905SEmmanuel Vadot				 <&gcc GCC_DDRSS_PCIE_SF_CLK>,
1313*2846c905SEmmanuel Vadot				 <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>;
1314*2846c905SEmmanuel Vadot			clock-names = "aux",
1315*2846c905SEmmanuel Vadot				      "cfg",
1316*2846c905SEmmanuel Vadot				      "bus_master",
1317*2846c905SEmmanuel Vadot				      "bus_slave",
1318*2846c905SEmmanuel Vadot				      "slave_q2a",
1319*2846c905SEmmanuel Vadot				      "ddrss_sf_tbu",
1320*2846c905SEmmanuel Vadot				      "noc_aggr";
1321*2846c905SEmmanuel Vadot
1322*2846c905SEmmanuel Vadot			interconnects = <&pcie_noc MASTER_PCIE_0 QCOM_ICC_TAG_ALWAYS
1323*2846c905SEmmanuel Vadot					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
1324*2846c905SEmmanuel Vadot					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1325*2846c905SEmmanuel Vadot					 &config_noc SLAVE_PCIE_0 QCOM_ICC_TAG_ALWAYS>;
1326*2846c905SEmmanuel Vadot			interconnect-names = "pcie-mem", "cpu-pcie";
1327*2846c905SEmmanuel Vadot
1328*2846c905SEmmanuel Vadot			iommu-map = <0x0   &apps_smmu 0x1c00 0x1>,
1329*2846c905SEmmanuel Vadot				    <0x100 &apps_smmu 0x1c01 0x1>;
1330*2846c905SEmmanuel Vadot
1331*2846c905SEmmanuel Vadot			resets = <&gcc GCC_PCIE_0_BCR>;
1332*2846c905SEmmanuel Vadot			reset-names = "pci";
1333*2846c905SEmmanuel Vadot
1334*2846c905SEmmanuel Vadot			power-domains = <&gcc PCIE_0_GDSC>;
1335*2846c905SEmmanuel Vadot
1336*2846c905SEmmanuel Vadot			phys = <&pcie0_phy>;
1337*2846c905SEmmanuel Vadot			phy-names = "pciephy";
1338*2846c905SEmmanuel Vadot
1339*2846c905SEmmanuel Vadot			status = "disabled";
1340*2846c905SEmmanuel Vadot
1341*2846c905SEmmanuel Vadot			pcieport0: pcie@0 {
1342*2846c905SEmmanuel Vadot				device_type = "pci";
1343*2846c905SEmmanuel Vadot				reg = <0x0 0x0 0x0 0x0 0x0>;
1344*2846c905SEmmanuel Vadot				bus-range = <0x01 0xff>;
1345*2846c905SEmmanuel Vadot
1346*2846c905SEmmanuel Vadot				#address-cells = <3>;
1347*2846c905SEmmanuel Vadot				#size-cells = <2>;
1348*2846c905SEmmanuel Vadot				ranges;
1349*2846c905SEmmanuel Vadot			};
1350*2846c905SEmmanuel Vadot		};
1351*2846c905SEmmanuel Vadot
1352*2846c905SEmmanuel Vadot		pcie0_phy: phy@1c06000 {
1353*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-qmp-gen3x2-pcie-phy";
1354*2846c905SEmmanuel Vadot			reg = <0x0 0x01c06000 0x0 0x2000>;
1355*2846c905SEmmanuel Vadot
1356*2846c905SEmmanuel Vadot			clocks = <&gcc GCC_PCIE_0_AUX_CLK>,
1357*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1358*2846c905SEmmanuel Vadot				 <&tcsr TCSR_PCIE_0_CLKREF_EN>,
1359*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>,
1360*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_0_PIPE_CLK>;
1361*2846c905SEmmanuel Vadot			clock-names = "aux", "cfg_ahb", "ref", "rchng",
1362*2846c905SEmmanuel Vadot				      "pipe";
1363*2846c905SEmmanuel Vadot
1364*2846c905SEmmanuel Vadot			resets = <&gcc GCC_PCIE_0_PHY_BCR>;
1365*2846c905SEmmanuel Vadot			reset-names = "phy";
1366*2846c905SEmmanuel Vadot
1367*2846c905SEmmanuel Vadot			assigned-clocks = <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>;
1368*2846c905SEmmanuel Vadot			assigned-clock-rates = <100000000>;
1369*2846c905SEmmanuel Vadot
1370*2846c905SEmmanuel Vadot			power-domains = <&gcc PCIE_0_PHY_GDSC>;
1371*2846c905SEmmanuel Vadot
1372*2846c905SEmmanuel Vadot			#clock-cells = <0>;
1373*2846c905SEmmanuel Vadot			clock-output-names = "pcie0_pipe_clk";
1374*2846c905SEmmanuel Vadot
1375*2846c905SEmmanuel Vadot			#phy-cells = <0>;
1376*2846c905SEmmanuel Vadot
1377*2846c905SEmmanuel Vadot			status = "disabled";
1378*2846c905SEmmanuel Vadot		};
1379*2846c905SEmmanuel Vadot
1380*2846c905SEmmanuel Vadot		pcie1: pcie@1c08000 {
1381*2846c905SEmmanuel Vadot			device_type = "pci";
1382*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-pcie", "qcom,pcie-sm8550";
1383*2846c905SEmmanuel Vadot			reg = <0x0 0x01c08000 0x0 0x3000>,
1384*2846c905SEmmanuel Vadot			      <0x0 0x40000000 0x0 0xf1d>,
1385*2846c905SEmmanuel Vadot			      <0x0 0x40000f20 0x0 0xa8>,
1386*2846c905SEmmanuel Vadot			      <0x0 0x40001000 0x0 0x1000>,
1387*2846c905SEmmanuel Vadot			      <0x0 0x40100000 0x0 0x100000>,
1388*2846c905SEmmanuel Vadot			      <0x0 0x01c0b000 0x0 0x1000>;
1389*2846c905SEmmanuel Vadot			reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
1390*2846c905SEmmanuel Vadot			#address-cells = <3>;
1391*2846c905SEmmanuel Vadot			#size-cells = <2>;
1392*2846c905SEmmanuel Vadot			ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>,
1393*2846c905SEmmanuel Vadot				 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
1394*2846c905SEmmanuel Vadot			bus-range = <0x00 0xff>;
1395*2846c905SEmmanuel Vadot
1396*2846c905SEmmanuel Vadot			dma-coherent;
1397*2846c905SEmmanuel Vadot
1398*2846c905SEmmanuel Vadot			linux,pci-domain = <1>;
1399*2846c905SEmmanuel Vadot			num-lanes = <2>;
1400*2846c905SEmmanuel Vadot
1401*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,
1402*2846c905SEmmanuel Vadot				     <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
1403*2846c905SEmmanuel Vadot				     <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
1404*2846c905SEmmanuel Vadot				     <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
1405*2846c905SEmmanuel Vadot				     <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
1406*2846c905SEmmanuel Vadot				     <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
1407*2846c905SEmmanuel Vadot				     <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>,
1408*2846c905SEmmanuel Vadot				     <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1409*2846c905SEmmanuel Vadot			interrupt-names = "msi0",
1410*2846c905SEmmanuel Vadot					  "msi1",
1411*2846c905SEmmanuel Vadot					  "msi2",
1412*2846c905SEmmanuel Vadot					  "msi3",
1413*2846c905SEmmanuel Vadot					  "msi4",
1414*2846c905SEmmanuel Vadot					  "msi5",
1415*2846c905SEmmanuel Vadot					  "msi6",
1416*2846c905SEmmanuel Vadot					  "msi7";
1417*2846c905SEmmanuel Vadot			#interrupt-cells = <1>;
1418*2846c905SEmmanuel Vadot			interrupt-map-mask = <0 0 0 0x7>;
1419*2846c905SEmmanuel Vadot			interrupt-map = <0 0 0 1 &intc 0 0 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1420*2846c905SEmmanuel Vadot					<0 0 0 2 &intc 0 0 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1421*2846c905SEmmanuel Vadot					<0 0 0 3 &intc 0 0 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1422*2846c905SEmmanuel Vadot					<0 0 0 4 &intc 0 0 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1423*2846c905SEmmanuel Vadot
1424*2846c905SEmmanuel Vadot			clocks = <&gcc GCC_PCIE_1_AUX_CLK>,
1425*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1426*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
1427*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
1428*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
1429*2846c905SEmmanuel Vadot				 <&gcc GCC_DDRSS_PCIE_SF_CLK>,
1430*2846c905SEmmanuel Vadot				 <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>,
1431*2846c905SEmmanuel Vadot				 <&gcc GCC_CFG_NOC_PCIE_ANOC_AHB_CLK>,
1432*2846c905SEmmanuel Vadot				 <&gcc GCC_QMIP_PCIE_AHB_CLK>;
1433*2846c905SEmmanuel Vadot			clock-names = "aux",
1434*2846c905SEmmanuel Vadot				      "cfg",
1435*2846c905SEmmanuel Vadot				      "bus_master",
1436*2846c905SEmmanuel Vadot				      "bus_slave",
1437*2846c905SEmmanuel Vadot				      "slave_q2a",
1438*2846c905SEmmanuel Vadot				      "ddrss_sf_tbu",
1439*2846c905SEmmanuel Vadot				      "noc_aggr",
1440*2846c905SEmmanuel Vadot				      "cnoc_sf_axi",
1441*2846c905SEmmanuel Vadot				      "qmip_pcie_ahb";
1442*2846c905SEmmanuel Vadot
1443*2846c905SEmmanuel Vadot			assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
1444*2846c905SEmmanuel Vadot			assigned-clock-rates = <19200000>;
1445*2846c905SEmmanuel Vadot
1446*2846c905SEmmanuel Vadot			interconnects = <&pcie_noc MASTER_PCIE_1 QCOM_ICC_TAG_ALWAYS
1447*2846c905SEmmanuel Vadot					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
1448*2846c905SEmmanuel Vadot					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1449*2846c905SEmmanuel Vadot					 &config_noc SLAVE_PCIE_1 QCOM_ICC_TAG_ALWAYS>;
1450*2846c905SEmmanuel Vadot			interconnect-names = "pcie-mem", "cpu-pcie";
1451*2846c905SEmmanuel Vadot
1452*2846c905SEmmanuel Vadot			iommu-map = <0x0   &apps_smmu 0x1e00 0x1>,
1453*2846c905SEmmanuel Vadot				    <0x100 &apps_smmu 0x1e01 0x1>;
1454*2846c905SEmmanuel Vadot
1455*2846c905SEmmanuel Vadot			resets = <&gcc GCC_PCIE_1_BCR>,
1456*2846c905SEmmanuel Vadot				<&gcc GCC_PCIE_1_LINK_DOWN_BCR>;
1457*2846c905SEmmanuel Vadot			reset-names = "pci", "link_down";
1458*2846c905SEmmanuel Vadot
1459*2846c905SEmmanuel Vadot			power-domains = <&gcc PCIE_1_GDSC>;
1460*2846c905SEmmanuel Vadot
1461*2846c905SEmmanuel Vadot			phys = <&pcie1_phy>;
1462*2846c905SEmmanuel Vadot			phy-names = "pciephy";
1463*2846c905SEmmanuel Vadot
1464*2846c905SEmmanuel Vadot			status = "disabled";
1465*2846c905SEmmanuel Vadot
1466*2846c905SEmmanuel Vadot			pcie@0 {
1467*2846c905SEmmanuel Vadot				device_type = "pci";
1468*2846c905SEmmanuel Vadot				reg = <0x0 0x0 0x0 0x0 0x0>;
1469*2846c905SEmmanuel Vadot				bus-range = <0x01 0xff>;
1470*2846c905SEmmanuel Vadot
1471*2846c905SEmmanuel Vadot				#address-cells = <3>;
1472*2846c905SEmmanuel Vadot				#size-cells = <2>;
1473*2846c905SEmmanuel Vadot				ranges;
1474*2846c905SEmmanuel Vadot			};
1475*2846c905SEmmanuel Vadot		};
1476*2846c905SEmmanuel Vadot
1477*2846c905SEmmanuel Vadot		pcie1_phy: phy@1c0e000 {
1478*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-qmp-gen3x2-pcie-phy";
1479*2846c905SEmmanuel Vadot			reg = <0x0 0x01c0e000 0x0 0x2000>;
1480*2846c905SEmmanuel Vadot
1481*2846c905SEmmanuel Vadot			clocks = <&gcc GCC_PCIE_1_AUX_CLK>,
1482*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1483*2846c905SEmmanuel Vadot				 <&tcsr TCSR_PCIE_1_CLKREF_EN>,
1484*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>,
1485*2846c905SEmmanuel Vadot				 <&gcc GCC_PCIE_1_PIPE_CLK>;
1486*2846c905SEmmanuel Vadot			clock-names = "aux", "cfg_ahb", "ref", "rchng",
1487*2846c905SEmmanuel Vadot				      "pipe";
1488*2846c905SEmmanuel Vadot
1489*2846c905SEmmanuel Vadot			resets = <&gcc GCC_PCIE_1_PHY_BCR>;
1490*2846c905SEmmanuel Vadot			reset-names = "phy";
1491*2846c905SEmmanuel Vadot
1492*2846c905SEmmanuel Vadot			assigned-clocks = <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>;
1493*2846c905SEmmanuel Vadot			assigned-clock-rates = <100000000>;
1494*2846c905SEmmanuel Vadot
1495*2846c905SEmmanuel Vadot			power-domains = <&gcc PCIE_1_PHY_GDSC>;
1496*2846c905SEmmanuel Vadot
1497*2846c905SEmmanuel Vadot			#clock-cells = <0>;
1498*2846c905SEmmanuel Vadot			clock-output-names = "pcie1_pipe_clk";
1499*2846c905SEmmanuel Vadot
1500*2846c905SEmmanuel Vadot			#phy-cells = <0>;
1501*2846c905SEmmanuel Vadot
1502*2846c905SEmmanuel Vadot			status = "disabled";
1503*2846c905SEmmanuel Vadot		};
1504*2846c905SEmmanuel Vadot
1505*2846c905SEmmanuel Vadot		tcsr_mutex: hwlock@1f40000 {
1506*2846c905SEmmanuel Vadot			compatible = "qcom,tcsr-mutex";
1507*2846c905SEmmanuel Vadot			reg = <0x0 0x01f40000 0x0 0x20000>;
1508*2846c905SEmmanuel Vadot
1509*2846c905SEmmanuel Vadot			#hwlock-cells = <1>;
1510*2846c905SEmmanuel Vadot		};
1511*2846c905SEmmanuel Vadot
1512*2846c905SEmmanuel Vadot		tcsr: clock-controller@1fc0000 {
1513*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-tcsr", "syscon";
1514*2846c905SEmmanuel Vadot			reg = <0x0 0x01fc0000 0x0 0x30000>;
1515*2846c905SEmmanuel Vadot			clocks = <&rpmhcc RPMH_CXO_CLK>;
1516*2846c905SEmmanuel Vadot			#clock-cells = <1>;
1517*2846c905SEmmanuel Vadot			#reset-cells = <1>;
1518*2846c905SEmmanuel Vadot		};
1519*2846c905SEmmanuel Vadot
1520*2846c905SEmmanuel Vadot		remoteproc_adsp: remoteproc@3000000 {
1521*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-adsp-pas";
1522*2846c905SEmmanuel Vadot			reg = <0x0 0x03000000 0x0 0x10000>;
1523*2846c905SEmmanuel Vadot
1524*2846c905SEmmanuel Vadot			interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
1525*2846c905SEmmanuel Vadot					      <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
1526*2846c905SEmmanuel Vadot					      <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
1527*2846c905SEmmanuel Vadot					      <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
1528*2846c905SEmmanuel Vadot					      <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
1529*2846c905SEmmanuel Vadot			interrupt-names = "wdog", "fatal", "ready",
1530*2846c905SEmmanuel Vadot					  "handover", "stop-ack";
1531*2846c905SEmmanuel Vadot
1532*2846c905SEmmanuel Vadot			clocks = <&rpmhcc RPMH_CXO_CLK>;
1533*2846c905SEmmanuel Vadot			clock-names = "xo";
1534*2846c905SEmmanuel Vadot
1535*2846c905SEmmanuel Vadot			power-domains = <&rpmhpd RPMHPD_LCX>,
1536*2846c905SEmmanuel Vadot					<&rpmhpd RPMHPD_LMX>;
1537*2846c905SEmmanuel Vadot			power-domain-names = "lcx", "lmx";
1538*2846c905SEmmanuel Vadot
1539*2846c905SEmmanuel Vadot			memory-region = <&adsp_mem>;
1540*2846c905SEmmanuel Vadot
1541*2846c905SEmmanuel Vadot			qcom,qmp = <&aoss_qmp>;
1542*2846c905SEmmanuel Vadot
1543*2846c905SEmmanuel Vadot			qcom,smem-states = <&smp2p_adsp_out 0>;
1544*2846c905SEmmanuel Vadot			qcom,smem-state-names = "stop";
1545*2846c905SEmmanuel Vadot
1546*2846c905SEmmanuel Vadot			status = "disabled";
1547*2846c905SEmmanuel Vadot
1548*2846c905SEmmanuel Vadot			remoteproc_adsp_glink: glink-edge {
1549*2846c905SEmmanuel Vadot				interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
1550*2846c905SEmmanuel Vadot							     IPCC_MPROC_SIGNAL_GLINK_QMP
1551*2846c905SEmmanuel Vadot							     IRQ_TYPE_EDGE_RISING>;
1552*2846c905SEmmanuel Vadot				mboxes = <&ipcc IPCC_CLIENT_LPASS
1553*2846c905SEmmanuel Vadot						IPCC_MPROC_SIGNAL_GLINK_QMP>;
1554*2846c905SEmmanuel Vadot
1555*2846c905SEmmanuel Vadot				label = "lpass";
1556*2846c905SEmmanuel Vadot				qcom,remote-pid = <2>;
1557*2846c905SEmmanuel Vadot
1558*2846c905SEmmanuel Vadot				gpr {
1559*2846c905SEmmanuel Vadot					compatible = "qcom,gpr";
1560*2846c905SEmmanuel Vadot					qcom,glink-channels = "adsp_apps";
1561*2846c905SEmmanuel Vadot					qcom,domain = <GPR_DOMAIN_ID_ADSP>;
1562*2846c905SEmmanuel Vadot					qcom,intents = <512 20>;
1563*2846c905SEmmanuel Vadot					#address-cells = <1>;
1564*2846c905SEmmanuel Vadot					#size-cells = <0>;
1565*2846c905SEmmanuel Vadot
1566*2846c905SEmmanuel Vadot					q6apm: service@1 {
1567*2846c905SEmmanuel Vadot						compatible = "qcom,q6apm";
1568*2846c905SEmmanuel Vadot						reg = <GPR_APM_MODULE_IID>;
1569*2846c905SEmmanuel Vadot						#sound-dai-cells = <0>;
1570*2846c905SEmmanuel Vadot						qcom,protection-domain = "avs/audio",
1571*2846c905SEmmanuel Vadot									 "msm/adsp/audio_pd";
1572*2846c905SEmmanuel Vadot
1573*2846c905SEmmanuel Vadot						q6apmdai: dais {
1574*2846c905SEmmanuel Vadot							compatible = "qcom,q6apm-dais";
1575*2846c905SEmmanuel Vadot							iommus = <&apps_smmu 0x1801 0x0>;
1576*2846c905SEmmanuel Vadot						};
1577*2846c905SEmmanuel Vadot
1578*2846c905SEmmanuel Vadot						q6apmbedai: bedais {
1579*2846c905SEmmanuel Vadot							compatible = "qcom,q6apm-lpass-dais";
1580*2846c905SEmmanuel Vadot							#sound-dai-cells = <1>;
1581*2846c905SEmmanuel Vadot						};
1582*2846c905SEmmanuel Vadot					};
1583*2846c905SEmmanuel Vadot
1584*2846c905SEmmanuel Vadot					q6prm: service@2 {
1585*2846c905SEmmanuel Vadot						compatible = "qcom,q6prm";
1586*2846c905SEmmanuel Vadot						reg = <GPR_PRM_MODULE_IID>;
1587*2846c905SEmmanuel Vadot						qcom,protection-domain = "avs/audio",
1588*2846c905SEmmanuel Vadot									 "msm/adsp/audio_pd";
1589*2846c905SEmmanuel Vadot
1590*2846c905SEmmanuel Vadot						q6prmcc: clock-controller {
1591*2846c905SEmmanuel Vadot							compatible = "qcom,q6prm-lpass-clocks";
1592*2846c905SEmmanuel Vadot							#clock-cells = <2>;
1593*2846c905SEmmanuel Vadot						};
1594*2846c905SEmmanuel Vadot					};
1595*2846c905SEmmanuel Vadot				};
1596*2846c905SEmmanuel Vadot
1597*2846c905SEmmanuel Vadot				fastrpc {
1598*2846c905SEmmanuel Vadot					compatible = "qcom,fastrpc";
1599*2846c905SEmmanuel Vadot					qcom,glink-channels = "fastrpcglink-apps-dsp";
1600*2846c905SEmmanuel Vadot					label = "adsp";
1601*2846c905SEmmanuel Vadot					qcom,non-secure-domain;
1602*2846c905SEmmanuel Vadot					#address-cells = <1>;
1603*2846c905SEmmanuel Vadot					#size-cells = <0>;
1604*2846c905SEmmanuel Vadot
1605*2846c905SEmmanuel Vadot					compute-cb@3 {
1606*2846c905SEmmanuel Vadot						compatible = "qcom,fastrpc-compute-cb";
1607*2846c905SEmmanuel Vadot						reg = <3>;
1608*2846c905SEmmanuel Vadot						iommus = <&apps_smmu 0x1803 0x0>;
1609*2846c905SEmmanuel Vadot					};
1610*2846c905SEmmanuel Vadot
1611*2846c905SEmmanuel Vadot					compute-cb@4 {
1612*2846c905SEmmanuel Vadot						compatible = "qcom,fastrpc-compute-cb";
1613*2846c905SEmmanuel Vadot						reg = <4>;
1614*2846c905SEmmanuel Vadot						iommus = <&apps_smmu 0x1804 0x0>;
1615*2846c905SEmmanuel Vadot					};
1616*2846c905SEmmanuel Vadot
1617*2846c905SEmmanuel Vadot					compute-cb@5 {
1618*2846c905SEmmanuel Vadot						compatible = "qcom,fastrpc-compute-cb";
1619*2846c905SEmmanuel Vadot						reg = <5>;
1620*2846c905SEmmanuel Vadot						iommus = <&apps_smmu 0x1805 0x0>;
1621*2846c905SEmmanuel Vadot					};
1622*2846c905SEmmanuel Vadot
1623*2846c905SEmmanuel Vadot					compute-cb@6 {
1624*2846c905SEmmanuel Vadot						compatible = "qcom,fastrpc-compute-cb";
1625*2846c905SEmmanuel Vadot						reg = <6>;
1626*2846c905SEmmanuel Vadot						iommus = <&apps_smmu 0x1806 0x0>;
1627*2846c905SEmmanuel Vadot					};
1628*2846c905SEmmanuel Vadot				};
1629*2846c905SEmmanuel Vadot			};
1630*2846c905SEmmanuel Vadot		};
1631*2846c905SEmmanuel Vadot
1632*2846c905SEmmanuel Vadot		gpu: gpu@3d00000 {
1633*2846c905SEmmanuel Vadot			compatible = "qcom,adreno-621.0", "qcom,adreno";
1634*2846c905SEmmanuel Vadot			reg = <0x0 0x03d00000 0x0 0x40000>,
1635*2846c905SEmmanuel Vadot			      <0x0 0x03d9e000 0x0 0x2000>,
1636*2846c905SEmmanuel Vadot			      <0x0 0x03d61000 0x0 0x800>;
1637*2846c905SEmmanuel Vadot			reg-names = "kgsl_3d0_reg_memory",
1638*2846c905SEmmanuel Vadot				    "cx_mem",
1639*2846c905SEmmanuel Vadot				    "cx_dbgc";
1640*2846c905SEmmanuel Vadot
1641*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
1642*2846c905SEmmanuel Vadot
1643*2846c905SEmmanuel Vadot			iommus = <&adreno_smmu 0 0x401>;
1644*2846c905SEmmanuel Vadot
1645*2846c905SEmmanuel Vadot			operating-points-v2 = <&gpu_opp_table>;
1646*2846c905SEmmanuel Vadot
1647*2846c905SEmmanuel Vadot			qcom,gmu = <&gmu>;
1648*2846c905SEmmanuel Vadot
1649*2846c905SEmmanuel Vadot			nvmem-cells = <&gpu_speed_bin>;
1650*2846c905SEmmanuel Vadot			nvmem-cell-names = "speed_bin";
1651*2846c905SEmmanuel Vadot			#cooling-cells = <2>;
1652*2846c905SEmmanuel Vadot
1653*2846c905SEmmanuel Vadot			status = "disabled";
1654*2846c905SEmmanuel Vadot
1655*2846c905SEmmanuel Vadot			gpu_zap_shader: zap-shader {
1656*2846c905SEmmanuel Vadot				memory-region = <&gpu_micro_code_mem>;
1657*2846c905SEmmanuel Vadot			};
1658*2846c905SEmmanuel Vadot
1659*2846c905SEmmanuel Vadot			gpu_opp_table: opp-table {
1660*2846c905SEmmanuel Vadot				compatible = "operating-points-v2";
1661*2846c905SEmmanuel Vadot
1662*2846c905SEmmanuel Vadot				opp-843000000 {
1663*2846c905SEmmanuel Vadot					opp-hz = /bits/ 64 <843000000>;
1664*2846c905SEmmanuel Vadot					opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
1665*2846c905SEmmanuel Vadot					opp-supported-hw = <0x1>;
1666*2846c905SEmmanuel Vadot				};
1667*2846c905SEmmanuel Vadot
1668*2846c905SEmmanuel Vadot				opp-780000000 {
1669*2846c905SEmmanuel Vadot					opp-hz = /bits/ 64 <780000000>;
1670*2846c905SEmmanuel Vadot					opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
1671*2846c905SEmmanuel Vadot					opp-supported-hw = <0x1>;
1672*2846c905SEmmanuel Vadot				};
1673*2846c905SEmmanuel Vadot
1674*2846c905SEmmanuel Vadot				opp-644000000 {
1675*2846c905SEmmanuel Vadot					opp-hz = /bits/ 64 <644000000>;
1676*2846c905SEmmanuel Vadot					opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
1677*2846c905SEmmanuel Vadot					opp-supported-hw = <0x3>;
1678*2846c905SEmmanuel Vadot				};
1679*2846c905SEmmanuel Vadot
1680*2846c905SEmmanuel Vadot				opp-570000000 {
1681*2846c905SEmmanuel Vadot					opp-hz = /bits/ 64 <570000000>;
1682*2846c905SEmmanuel Vadot					opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
1683*2846c905SEmmanuel Vadot					opp-supported-hw = <0x3>;
1684*2846c905SEmmanuel Vadot				};
1685*2846c905SEmmanuel Vadot
1686*2846c905SEmmanuel Vadot				opp-450000000 {
1687*2846c905SEmmanuel Vadot					opp-hz = /bits/ 64 <450000000>;
1688*2846c905SEmmanuel Vadot					opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
1689*2846c905SEmmanuel Vadot					opp-supported-hw = <0x3>;
1690*2846c905SEmmanuel Vadot				};
1691*2846c905SEmmanuel Vadot
1692*2846c905SEmmanuel Vadot				opp-320000000 {
1693*2846c905SEmmanuel Vadot					opp-hz = /bits/ 64 <320000000>;
1694*2846c905SEmmanuel Vadot					opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
1695*2846c905SEmmanuel Vadot					opp-supported-hw = <0x3>;
1696*2846c905SEmmanuel Vadot				};
1697*2846c905SEmmanuel Vadot
1698*2846c905SEmmanuel Vadot				opp-235000000 {
1699*2846c905SEmmanuel Vadot					opp-hz = /bits/ 64 <235000000>;
1700*2846c905SEmmanuel Vadot					opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
1701*2846c905SEmmanuel Vadot					opp-supported-hw = <0x3>;
1702*2846c905SEmmanuel Vadot				};
1703*2846c905SEmmanuel Vadot			};
1704*2846c905SEmmanuel Vadot		};
1705*2846c905SEmmanuel Vadot
1706*2846c905SEmmanuel Vadot		gmu: gmu@3d6a000 {
1707*2846c905SEmmanuel Vadot			compatible = "qcom,adreno-gmu-621.0", "qcom,adreno-gmu";
1708*2846c905SEmmanuel Vadot			reg = <0x0 0x03d6a000 0x0 0x35000>,
1709*2846c905SEmmanuel Vadot			      <0x0 0x03de0000 0x0 0x10000>,
1710*2846c905SEmmanuel Vadot			      <0x0 0x0b290000 0x0 0x10000>;
1711*2846c905SEmmanuel Vadot			reg-names = "gmu", "rscc", "gmu_pdc";
1712*2846c905SEmmanuel Vadot
1713*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
1714*2846c905SEmmanuel Vadot				     <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
1715*2846c905SEmmanuel Vadot			interrupt-names = "hfi", "gmu";
1716*2846c905SEmmanuel Vadot
1717*2846c905SEmmanuel Vadot			clocks = <&gpucc GPU_CC_AHB_CLK>,
1718*2846c905SEmmanuel Vadot				 <&gpucc GPU_CC_CX_GMU_CLK>,
1719*2846c905SEmmanuel Vadot				 <&gpucc GPU_CC_CXO_CLK>,
1720*2846c905SEmmanuel Vadot				 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
1721*2846c905SEmmanuel Vadot				 <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
1722*2846c905SEmmanuel Vadot				 <&gpucc GPU_CC_HUB_CX_INT_CLK>;
1723*2846c905SEmmanuel Vadot			clock-names = "ahb",
1724*2846c905SEmmanuel Vadot				      "gmu",
1725*2846c905SEmmanuel Vadot				      "cxo",
1726*2846c905SEmmanuel Vadot				      "axi",
1727*2846c905SEmmanuel Vadot				      "memnoc",
1728*2846c905SEmmanuel Vadot				      "hub";
1729*2846c905SEmmanuel Vadot
1730*2846c905SEmmanuel Vadot			power-domains = <&gpucc GPU_CX_GDSC>,
1731*2846c905SEmmanuel Vadot					<&gpucc GPU_GX_GDSC>;
1732*2846c905SEmmanuel Vadot			power-domain-names = "cx",
1733*2846c905SEmmanuel Vadot					     "gx";
1734*2846c905SEmmanuel Vadot
1735*2846c905SEmmanuel Vadot			iommus = <&adreno_smmu 5 0x400>;
1736*2846c905SEmmanuel Vadot
1737*2846c905SEmmanuel Vadot			qcom,qmp = <&aoss_qmp>;
1738*2846c905SEmmanuel Vadot
1739*2846c905SEmmanuel Vadot			operating-points-v2 = <&gmu_opp_table>;
1740*2846c905SEmmanuel Vadot
1741*2846c905SEmmanuel Vadot			gmu_opp_table: opp-table {
1742*2846c905SEmmanuel Vadot				compatible = "operating-points-v2";
1743*2846c905SEmmanuel Vadot
1744*2846c905SEmmanuel Vadot				opp-220000000 {
1745*2846c905SEmmanuel Vadot					opp-hz = /bits/ 64 <220000000>;
1746*2846c905SEmmanuel Vadot					opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
1747*2846c905SEmmanuel Vadot				};
1748*2846c905SEmmanuel Vadot
1749*2846c905SEmmanuel Vadot				opp-550000000 {
1750*2846c905SEmmanuel Vadot					opp-hz = /bits/ 64 <550000000>;
1751*2846c905SEmmanuel Vadot					opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
1752*2846c905SEmmanuel Vadot				};
1753*2846c905SEmmanuel Vadot			};
1754*2846c905SEmmanuel Vadot		};
1755*2846c905SEmmanuel Vadot
1756*2846c905SEmmanuel Vadot		gpucc: clock-controller@3d90000 {
1757*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-gpucc";
1758*2846c905SEmmanuel Vadot			reg = <0x0 0x03d90000 0x0 0xa000>;
1759*2846c905SEmmanuel Vadot
1760*2846c905SEmmanuel Vadot			clocks = <&rpmhcc RPMH_CXO_CLK>,
1761*2846c905SEmmanuel Vadot				 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
1762*2846c905SEmmanuel Vadot				 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
1763*2846c905SEmmanuel Vadot
1764*2846c905SEmmanuel Vadot			#clock-cells = <1>;
1765*2846c905SEmmanuel Vadot			#reset-cells = <1>;
1766*2846c905SEmmanuel Vadot			#power-domain-cells = <1>;
1767*2846c905SEmmanuel Vadot		};
1768*2846c905SEmmanuel Vadot
1769*2846c905SEmmanuel Vadot		adreno_smmu: iommu@3da0000 {
1770*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-smmu-500", "qcom,adreno-smmu",
1771*2846c905SEmmanuel Vadot				     "qcom,smmu-500", "arm,mmu-500";
1772*2846c905SEmmanuel Vadot			reg = <0x0 0x03da0000 0x0 0x10000>;
1773*2846c905SEmmanuel Vadot			#iommu-cells = <2>;
1774*2846c905SEmmanuel Vadot			#global-interrupts = <1>;
1775*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 673 IRQ_TYPE_LEVEL_HIGH>,
1776*2846c905SEmmanuel Vadot				     <GIC_SPI 678 IRQ_TYPE_LEVEL_HIGH>,
1777*2846c905SEmmanuel Vadot				     <GIC_SPI 679 IRQ_TYPE_LEVEL_HIGH>,
1778*2846c905SEmmanuel Vadot				     <GIC_SPI 680 IRQ_TYPE_LEVEL_HIGH>,
1779*2846c905SEmmanuel Vadot				     <GIC_SPI 681 IRQ_TYPE_LEVEL_HIGH>,
1780*2846c905SEmmanuel Vadot				     <GIC_SPI 682 IRQ_TYPE_LEVEL_HIGH>,
1781*2846c905SEmmanuel Vadot				     <GIC_SPI 683 IRQ_TYPE_LEVEL_HIGH>,
1782*2846c905SEmmanuel Vadot				     <GIC_SPI 684 IRQ_TYPE_LEVEL_HIGH>,
1783*2846c905SEmmanuel Vadot				     <GIC_SPI 685 IRQ_TYPE_LEVEL_HIGH>;
1784*2846c905SEmmanuel Vadot
1785*2846c905SEmmanuel Vadot			clocks = <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>,
1786*2846c905SEmmanuel Vadot				 <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
1787*2846c905SEmmanuel Vadot				 <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>,
1788*2846c905SEmmanuel Vadot				 <&gpucc GPU_CC_AHB_CLK>;
1789*2846c905SEmmanuel Vadot			clock-names = "hlos",
1790*2846c905SEmmanuel Vadot				      "bus",
1791*2846c905SEmmanuel Vadot				      "iface",
1792*2846c905SEmmanuel Vadot				      "ahb";
1793*2846c905SEmmanuel Vadot			power-domains = <&gpucc GPU_CX_GDSC>;
1794*2846c905SEmmanuel Vadot			dma-coherent;
1795*2846c905SEmmanuel Vadot		};
1796*2846c905SEmmanuel Vadot
1797*2846c905SEmmanuel Vadot		usb_1_hsphy: phy@88e3000 {
1798*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-snps-eusb2-phy",
1799*2846c905SEmmanuel Vadot				     "qcom,sm8550-snps-eusb2-phy";
1800*2846c905SEmmanuel Vadot			reg = <0x0 0x088e3000 0x0 0x154>;
1801*2846c905SEmmanuel Vadot			#phy-cells = <0>;
1802*2846c905SEmmanuel Vadot
1803*2846c905SEmmanuel Vadot			clocks = <&tcsr TCSR_USB2_CLKREF_EN>;
1804*2846c905SEmmanuel Vadot			clock-names = "ref";
1805*2846c905SEmmanuel Vadot
1806*2846c905SEmmanuel Vadot			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1807*2846c905SEmmanuel Vadot
1808*2846c905SEmmanuel Vadot			status = "disabled";
1809*2846c905SEmmanuel Vadot		};
1810*2846c905SEmmanuel Vadot
1811*2846c905SEmmanuel Vadot		usb_dp_qmpphy: phy@88e8000 {
1812*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-qmp-usb3-dp-phy";
1813*2846c905SEmmanuel Vadot			reg = <0x0 0x088e8000 0x0 0x3000>;
1814*2846c905SEmmanuel Vadot
1815*2846c905SEmmanuel Vadot			clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
1816*2846c905SEmmanuel Vadot				 <&rpmhcc RPMH_CXO_CLK>,
1817*2846c905SEmmanuel Vadot				 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>,
1818*2846c905SEmmanuel Vadot				 <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
1819*2846c905SEmmanuel Vadot			clock-names = "aux", "ref", "com_aux", "usb3_pipe";
1820*2846c905SEmmanuel Vadot
1821*2846c905SEmmanuel Vadot			power-domains = <&gcc USB3_PHY_GDSC>;
1822*2846c905SEmmanuel Vadot
1823*2846c905SEmmanuel Vadot			resets = <&gcc GCC_USB3_PHY_PRIM_BCR>,
1824*2846c905SEmmanuel Vadot				 <&gcc GCC_USB3_DP_PHY_PRIM_BCR>;
1825*2846c905SEmmanuel Vadot			reset-names = "phy", "common";
1826*2846c905SEmmanuel Vadot
1827*2846c905SEmmanuel Vadot			#clock-cells = <1>;
1828*2846c905SEmmanuel Vadot			#phy-cells = <1>;
1829*2846c905SEmmanuel Vadot
1830*2846c905SEmmanuel Vadot			orientation-switch;
1831*2846c905SEmmanuel Vadot
1832*2846c905SEmmanuel Vadot			status = "disabled";
1833*2846c905SEmmanuel Vadot
1834*2846c905SEmmanuel Vadot			ports {
1835*2846c905SEmmanuel Vadot				#address-cells = <1>;
1836*2846c905SEmmanuel Vadot				#size-cells = <0>;
1837*2846c905SEmmanuel Vadot
1838*2846c905SEmmanuel Vadot				port@0 {
1839*2846c905SEmmanuel Vadot					reg = <0>;
1840*2846c905SEmmanuel Vadot
1841*2846c905SEmmanuel Vadot					usb_dp_qmpphy_out: endpoint {
1842*2846c905SEmmanuel Vadot					};
1843*2846c905SEmmanuel Vadot				};
1844*2846c905SEmmanuel Vadot
1845*2846c905SEmmanuel Vadot				port@1 {
1846*2846c905SEmmanuel Vadot					reg = <1>;
1847*2846c905SEmmanuel Vadot
1848*2846c905SEmmanuel Vadot					usb_dp_qmpphy_usb_ss_in: endpoint {
1849*2846c905SEmmanuel Vadot						remote-endpoint = <&usb_1_dwc3_ss>;
1850*2846c905SEmmanuel Vadot					};
1851*2846c905SEmmanuel Vadot				};
1852*2846c905SEmmanuel Vadot
1853*2846c905SEmmanuel Vadot				port@2 {
1854*2846c905SEmmanuel Vadot					reg = <2>;
1855*2846c905SEmmanuel Vadot
1856*2846c905SEmmanuel Vadot					usb_dp_qmpphy_dp_in: endpoint {
1857*2846c905SEmmanuel Vadot					};
1858*2846c905SEmmanuel Vadot				};
1859*2846c905SEmmanuel Vadot			};
1860*2846c905SEmmanuel Vadot		};
1861*2846c905SEmmanuel Vadot
1862*2846c905SEmmanuel Vadot		usb_1: usb@a6f8800 {
1863*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-dwc3", "qcom,dwc3";
1864*2846c905SEmmanuel Vadot			reg = <0x0 0x0a6f8800 0x0 0x400>;
1865*2846c905SEmmanuel Vadot			#address-cells = <2>;
1866*2846c905SEmmanuel Vadot			#size-cells = <2>;
1867*2846c905SEmmanuel Vadot			ranges;
1868*2846c905SEmmanuel Vadot
1869*2846c905SEmmanuel Vadot			clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
1870*2846c905SEmmanuel Vadot				 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
1871*2846c905SEmmanuel Vadot				 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
1872*2846c905SEmmanuel Vadot				 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
1873*2846c905SEmmanuel Vadot				 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1874*2846c905SEmmanuel Vadot				 <&tcsr TCSR_USB3_CLKREF_EN>;
1875*2846c905SEmmanuel Vadot			clock-names = "cfg_noc",
1876*2846c905SEmmanuel Vadot				      "core",
1877*2846c905SEmmanuel Vadot				      "iface",
1878*2846c905SEmmanuel Vadot				      "sleep",
1879*2846c905SEmmanuel Vadot				      "mock_utmi",
1880*2846c905SEmmanuel Vadot				      "xo";
1881*2846c905SEmmanuel Vadot
1882*2846c905SEmmanuel Vadot			assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1883*2846c905SEmmanuel Vadot					  <&gcc GCC_USB30_PRIM_MASTER_CLK>;
1884*2846c905SEmmanuel Vadot			assigned-clock-rates = <19200000>, <200000000>;
1885*2846c905SEmmanuel Vadot
1886*2846c905SEmmanuel Vadot			interrupts-extended = <&intc GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>,
1887*2846c905SEmmanuel Vadot					      <&intc GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH>,
1888*2846c905SEmmanuel Vadot					      <&pdc 14 IRQ_TYPE_EDGE_BOTH>,
1889*2846c905SEmmanuel Vadot					      <&pdc 15 IRQ_TYPE_EDGE_BOTH>,
1890*2846c905SEmmanuel Vadot					      <&pdc 17 IRQ_TYPE_LEVEL_HIGH>;
1891*2846c905SEmmanuel Vadot			interrupt-names = "pwr_event",
1892*2846c905SEmmanuel Vadot					  "hs_phy_irq",
1893*2846c905SEmmanuel Vadot					  "dp_hs_phy_irq",
1894*2846c905SEmmanuel Vadot					  "dm_hs_phy_irq",
1895*2846c905SEmmanuel Vadot					  "ss_phy_irq";
1896*2846c905SEmmanuel Vadot
1897*2846c905SEmmanuel Vadot			power-domains = <&gcc USB30_PRIM_GDSC>;
1898*2846c905SEmmanuel Vadot			required-opps = <&rpmhpd_opp_nom>;
1899*2846c905SEmmanuel Vadot
1900*2846c905SEmmanuel Vadot			resets = <&gcc GCC_USB30_PRIM_BCR>;
1901*2846c905SEmmanuel Vadot
1902*2846c905SEmmanuel Vadot			interconnects = <&system_noc MASTER_USB3_0 QCOM_ICC_TAG_ALWAYS
1903*2846c905SEmmanuel Vadot					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
1904*2846c905SEmmanuel Vadot					<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
1905*2846c905SEmmanuel Vadot					 &config_noc SLAVE_USB3_0 QCOM_ICC_TAG_ALWAYS>;
1906*2846c905SEmmanuel Vadot			interconnect-names = "usb-ddr", "apps-usb";
1907*2846c905SEmmanuel Vadot
1908*2846c905SEmmanuel Vadot			status = "disabled";
1909*2846c905SEmmanuel Vadot
1910*2846c905SEmmanuel Vadot			usb_1_dwc3: usb@a600000 {
1911*2846c905SEmmanuel Vadot				compatible = "snps,dwc3";
1912*2846c905SEmmanuel Vadot				reg = <0x0 0x0a600000 0x0 0xcd00>;
1913*2846c905SEmmanuel Vadot				interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>;
1914*2846c905SEmmanuel Vadot				iommus = <&apps_smmu 0x20 0x0>;
1915*2846c905SEmmanuel Vadot				phys = <&usb_1_hsphy>,
1916*2846c905SEmmanuel Vadot				       <&usb_dp_qmpphy QMP_USB43DP_USB3_PHY>;
1917*2846c905SEmmanuel Vadot				phy-names = "usb2-phy", "usb3-phy";
1918*2846c905SEmmanuel Vadot
1919*2846c905SEmmanuel Vadot				snps,has-lpm-erratum;
1920*2846c905SEmmanuel Vadot				snps,hird-threshold = /bits/ 8 <0x0>;
1921*2846c905SEmmanuel Vadot				snps,is-utmi-l1-suspend;
1922*2846c905SEmmanuel Vadot				snps,dis-u1-entry-quirk;
1923*2846c905SEmmanuel Vadot				snps,dis-u2-entry-quirk;
1924*2846c905SEmmanuel Vadot				snps,dis_u2_susphy_quirk;
1925*2846c905SEmmanuel Vadot				snps,dis_u3_susphy_quirk;
1926*2846c905SEmmanuel Vadot				snps,parkmode-disable-ss-quirk;
1927*2846c905SEmmanuel Vadot
1928*2846c905SEmmanuel Vadot				tx-fifo-resize;
1929*2846c905SEmmanuel Vadot				dma-coherent;
1930*2846c905SEmmanuel Vadot				usb-role-switch;
1931*2846c905SEmmanuel Vadot
1932*2846c905SEmmanuel Vadot				ports {
1933*2846c905SEmmanuel Vadot					#address-cells = <1>;
1934*2846c905SEmmanuel Vadot					#size-cells = <0>;
1935*2846c905SEmmanuel Vadot
1936*2846c905SEmmanuel Vadot					port@0 {
1937*2846c905SEmmanuel Vadot						reg = <0>;
1938*2846c905SEmmanuel Vadot
1939*2846c905SEmmanuel Vadot						usb_1_dwc3_hs: endpoint {
1940*2846c905SEmmanuel Vadot						};
1941*2846c905SEmmanuel Vadot					};
1942*2846c905SEmmanuel Vadot
1943*2846c905SEmmanuel Vadot					port@1 {
1944*2846c905SEmmanuel Vadot						reg = <1>;
1945*2846c905SEmmanuel Vadot
1946*2846c905SEmmanuel Vadot						usb_1_dwc3_ss: endpoint {
1947*2846c905SEmmanuel Vadot							remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>;
1948*2846c905SEmmanuel Vadot						};
1949*2846c905SEmmanuel Vadot					};
1950*2846c905SEmmanuel Vadot				};
1951*2846c905SEmmanuel Vadot			};
1952*2846c905SEmmanuel Vadot		};
1953*2846c905SEmmanuel Vadot
1954*2846c905SEmmanuel Vadot		pdc: interrupt-controller@b220000 {
1955*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-pdc", "qcom,pdc";
1956*2846c905SEmmanuel Vadot			reg = <0x0 0x0b220000 0x0 0x30000>, <0x0 0x174000f0 0x0 0x64>;
1957*2846c905SEmmanuel Vadot			qcom,pdc-ranges = <0 480 94>,
1958*2846c905SEmmanuel Vadot					  <94 609 31>,
1959*2846c905SEmmanuel Vadot					  <125 63 1>,
1960*2846c905SEmmanuel Vadot					  <126 716 12>;
1961*2846c905SEmmanuel Vadot			#interrupt-cells = <2>;
1962*2846c905SEmmanuel Vadot			interrupt-parent = <&intc>;
1963*2846c905SEmmanuel Vadot			interrupt-controller;
1964*2846c905SEmmanuel Vadot		};
1965*2846c905SEmmanuel Vadot
1966*2846c905SEmmanuel Vadot		aoss_qmp: power-management@c300000 {
1967*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-aoss-qmp", "qcom,aoss-qmp";
1968*2846c905SEmmanuel Vadot			reg = <0x0 0x0c300000 0x0 0x400>;
1969*2846c905SEmmanuel Vadot			interrupt-parent = <&ipcc>;
1970*2846c905SEmmanuel Vadot			interrupts-extended = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP
1971*2846c905SEmmanuel Vadot						     IRQ_TYPE_EDGE_RISING>;
1972*2846c905SEmmanuel Vadot			mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>;
1973*2846c905SEmmanuel Vadot
1974*2846c905SEmmanuel Vadot			#clock-cells = <0>;
1975*2846c905SEmmanuel Vadot		};
1976*2846c905SEmmanuel Vadot
1977*2846c905SEmmanuel Vadot		tsens0: thermal-sensor@c263000 {
1978*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-tsens", "qcom,tsens-v2";
1979*2846c905SEmmanuel Vadot			reg = <0x0 0x0c263000 0x0 0x1000>, /* TM */
1980*2846c905SEmmanuel Vadot			      <0x0 0x0c222000 0x0 0x1000>; /* SROT */
1981*2846c905SEmmanuel Vadot			#qcom,sensors = <16>;
1982*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
1983*2846c905SEmmanuel Vadot				     <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
1984*2846c905SEmmanuel Vadot			interrupt-names = "uplow", "critical";
1985*2846c905SEmmanuel Vadot			#thermal-sensor-cells = <1>;
1986*2846c905SEmmanuel Vadot		};
1987*2846c905SEmmanuel Vadot
1988*2846c905SEmmanuel Vadot		sram@c3f0000 {
1989*2846c905SEmmanuel Vadot			compatible = "qcom,rpmh-stats";
1990*2846c905SEmmanuel Vadot			reg = <0x0 0x0c3f0000 0x0 0x400>;
1991*2846c905SEmmanuel Vadot		};
1992*2846c905SEmmanuel Vadot
1993*2846c905SEmmanuel Vadot		arbiter@c400000 {
1994*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-spmi-pmic-arb",
1995*2846c905SEmmanuel Vadot				     "qcom,x1e80100-spmi-pmic-arb";
1996*2846c905SEmmanuel Vadot			reg = <0x0 0x0c400000 0x0 0x3000>,
1997*2846c905SEmmanuel Vadot			      <0x0 0x0c500000 0x0 0x400000>,
1998*2846c905SEmmanuel Vadot			      <0x0 0x0c440000 0x0 0x80000>;
1999*2846c905SEmmanuel Vadot			reg-names = "core", "chnls", "obsrvr";
2000*2846c905SEmmanuel Vadot
2001*2846c905SEmmanuel Vadot			qcom,ee = <0>;
2002*2846c905SEmmanuel Vadot			qcom,channel = <0>;
2003*2846c905SEmmanuel Vadot
2004*2846c905SEmmanuel Vadot			#address-cells = <2>;
2005*2846c905SEmmanuel Vadot			#size-cells = <2>;
2006*2846c905SEmmanuel Vadot			ranges;
2007*2846c905SEmmanuel Vadot
2008*2846c905SEmmanuel Vadot			spmi_bus: spmi@c42d000 {
2009*2846c905SEmmanuel Vadot				reg = <0x0 0x0c42d000 0x0 0x4000>,
2010*2846c905SEmmanuel Vadot				      <0x0 0x0c4c0000 0x0 0x10000>;
2011*2846c905SEmmanuel Vadot				reg-names = "cnfg", "intr";
2012*2846c905SEmmanuel Vadot
2013*2846c905SEmmanuel Vadot				interrupt-names = "periph_irq";
2014*2846c905SEmmanuel Vadot				interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
2015*2846c905SEmmanuel Vadot				interrupt-controller;
2016*2846c905SEmmanuel Vadot				#interrupt-cells = <4>;
2017*2846c905SEmmanuel Vadot
2018*2846c905SEmmanuel Vadot				#address-cells = <2>;
2019*2846c905SEmmanuel Vadot				#size-cells = <0>;
2020*2846c905SEmmanuel Vadot			};
2021*2846c905SEmmanuel Vadot		};
2022*2846c905SEmmanuel Vadot
2023*2846c905SEmmanuel Vadot		ipcc: mailbox@ed18000 {
2024*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-ipcc", "qcom,ipcc";
2025*2846c905SEmmanuel Vadot			reg = <0x0 0x0ed18000 0x0 0x1000>;
2026*2846c905SEmmanuel Vadot
2027*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
2028*2846c905SEmmanuel Vadot			interrupt-controller;
2029*2846c905SEmmanuel Vadot			#interrupt-cells = <3>;
2030*2846c905SEmmanuel Vadot
2031*2846c905SEmmanuel Vadot			#mbox-cells = <2>;
2032*2846c905SEmmanuel Vadot		};
2033*2846c905SEmmanuel Vadot
2034*2846c905SEmmanuel Vadot		tlmm: pinctrl@f100000 {
2035*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-tlmm";
2036*2846c905SEmmanuel Vadot			reg = <0x0 0x0f100000 0x0 0x300000>;
2037*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
2038*2846c905SEmmanuel Vadot			gpio-controller;
2039*2846c905SEmmanuel Vadot			#gpio-cells = <2>;
2040*2846c905SEmmanuel Vadot			interrupt-controller;
2041*2846c905SEmmanuel Vadot			#interrupt-cells = <2>;
2042*2846c905SEmmanuel Vadot			gpio-ranges = <&tlmm 0 0 156>;
2043*2846c905SEmmanuel Vadot			wakeup-parent = <&pdc>;
2044*2846c905SEmmanuel Vadot
2045*2846c905SEmmanuel Vadot			qup_i2c0_data_clk: qup-i2c0-data-clk-state {
2046*2846c905SEmmanuel Vadot				/* SDA, SCL */
2047*2846c905SEmmanuel Vadot				pins = "gpio0", "gpio1";
2048*2846c905SEmmanuel Vadot				function = "qup0";
2049*2846c905SEmmanuel Vadot				drive-strength = <2>;
2050*2846c905SEmmanuel Vadot				bias-pull-up;
2051*2846c905SEmmanuel Vadot			};
2052*2846c905SEmmanuel Vadot
2053*2846c905SEmmanuel Vadot			qup_i2c1_data_clk: qup-i2c1-data-clk-state {
2054*2846c905SEmmanuel Vadot				/* SDA, SCL */
2055*2846c905SEmmanuel Vadot				pins = "gpio2", "gpio3";
2056*2846c905SEmmanuel Vadot				function = "qup1";
2057*2846c905SEmmanuel Vadot				drive-strength = <2>;
2058*2846c905SEmmanuel Vadot				bias-pull-up;
2059*2846c905SEmmanuel Vadot			};
2060*2846c905SEmmanuel Vadot
2061*2846c905SEmmanuel Vadot			qup_i2c2_data_clk: qup-i2c2-data-clk-state {
2062*2846c905SEmmanuel Vadot				/* SDA, SCL */
2063*2846c905SEmmanuel Vadot				pins = "gpio22", "gpio23";
2064*2846c905SEmmanuel Vadot				function = "qup2";
2065*2846c905SEmmanuel Vadot				drive-strength = <2>;
2066*2846c905SEmmanuel Vadot				bias-pull-up;
2067*2846c905SEmmanuel Vadot			};
2068*2846c905SEmmanuel Vadot
2069*2846c905SEmmanuel Vadot			qup_i2c3_data_clk: qup-i2c3-data-clk-state {
2070*2846c905SEmmanuel Vadot				/* SDA, SCL */
2071*2846c905SEmmanuel Vadot				pins = "gpio16", "gpio17";
2072*2846c905SEmmanuel Vadot				function = "qup3";
2073*2846c905SEmmanuel Vadot				drive-strength = <2>;
2074*2846c905SEmmanuel Vadot				bias-pull-up;
2075*2846c905SEmmanuel Vadot			};
2076*2846c905SEmmanuel Vadot
2077*2846c905SEmmanuel Vadot			qup_i2c4_data_clk: qup-i2c4-data-clk-state {
2078*2846c905SEmmanuel Vadot				/* SDA, SCL */
2079*2846c905SEmmanuel Vadot				pins = "gpio20", "gpio21";
2080*2846c905SEmmanuel Vadot				function = "qup4";
2081*2846c905SEmmanuel Vadot				drive-strength = <2>;
2082*2846c905SEmmanuel Vadot				bias-pull-up;
2083*2846c905SEmmanuel Vadot			};
2084*2846c905SEmmanuel Vadot
2085*2846c905SEmmanuel Vadot			qup_i2c5_data_clk: qup-i2c5-data-clk-state {
2086*2846c905SEmmanuel Vadot				/* SDA, SCL */
2087*2846c905SEmmanuel Vadot				pins = "gpio95", "gpio96";
2088*2846c905SEmmanuel Vadot				function = "qup5";
2089*2846c905SEmmanuel Vadot				drive-strength = <2>;
2090*2846c905SEmmanuel Vadot				bias-pull-up;
2091*2846c905SEmmanuel Vadot			};
2092*2846c905SEmmanuel Vadot
2093*2846c905SEmmanuel Vadot			qup_i2c6_data_clk: qup-i2c6-data-clk-state {
2094*2846c905SEmmanuel Vadot				/* SDA, SCL */
2095*2846c905SEmmanuel Vadot				pins = "gpio91", "gpio92";
2096*2846c905SEmmanuel Vadot				function = "qup6";
2097*2846c905SEmmanuel Vadot				drive-strength = <2>;
2098*2846c905SEmmanuel Vadot				bias-pull-up;
2099*2846c905SEmmanuel Vadot			};
2100*2846c905SEmmanuel Vadot
2101*2846c905SEmmanuel Vadot			qup_i2c7_data_clk: qup-i2c7-data-clk-state {
2102*2846c905SEmmanuel Vadot				/* SDA, SCL */
2103*2846c905SEmmanuel Vadot				pins = "gpio8", "gpio9";
2104*2846c905SEmmanuel Vadot				function = "qup7";
2105*2846c905SEmmanuel Vadot				drive-strength = <2>;
2106*2846c905SEmmanuel Vadot				bias-pull-up;
2107*2846c905SEmmanuel Vadot			};
2108*2846c905SEmmanuel Vadot
2109*2846c905SEmmanuel Vadot			qup_i2c8_data_clk: qup-i2c8-data-clk-state {
2110*2846c905SEmmanuel Vadot				/* SDA, SCL */
2111*2846c905SEmmanuel Vadot				pins = "gpio8", "gpio9";
2112*2846c905SEmmanuel Vadot				function = "qup8";
2113*2846c905SEmmanuel Vadot				drive-strength = <2>;
2114*2846c905SEmmanuel Vadot				bias-pull-up;
2115*2846c905SEmmanuel Vadot			};
2116*2846c905SEmmanuel Vadot
2117*2846c905SEmmanuel Vadot			qup_i2c9_data_clk: qup-i2c9-data-clk-state {
2118*2846c905SEmmanuel Vadot				/* SDA, SCL */
2119*2846c905SEmmanuel Vadot				pins = "gpio109", "gpio110";
2120*2846c905SEmmanuel Vadot				function = "qup9";
2121*2846c905SEmmanuel Vadot				drive-strength = <2>;
2122*2846c905SEmmanuel Vadot				bias-pull-up;
2123*2846c905SEmmanuel Vadot			};
2124*2846c905SEmmanuel Vadot
2125*2846c905SEmmanuel Vadot			qup_i2c10_data_clk: qup-i2c10-data-clk-state {
2126*2846c905SEmmanuel Vadot				/* SDA, SCL */
2127*2846c905SEmmanuel Vadot				pins = "gpio4", "gpio5";
2128*2846c905SEmmanuel Vadot				function = "qup10";
2129*2846c905SEmmanuel Vadot				drive-strength = <2>;
2130*2846c905SEmmanuel Vadot				bias-pull-up;
2131*2846c905SEmmanuel Vadot			};
2132*2846c905SEmmanuel Vadot
2133*2846c905SEmmanuel Vadot			qup_i2c11_data_clk: qup-i2c11-data-clk-state {
2134*2846c905SEmmanuel Vadot				/* SDA, SCL */
2135*2846c905SEmmanuel Vadot				pins = "gpio28", "gpio30";
2136*2846c905SEmmanuel Vadot				function = "qup11";
2137*2846c905SEmmanuel Vadot				drive-strength = <2>;
2138*2846c905SEmmanuel Vadot				bias-pull-up;
2139*2846c905SEmmanuel Vadot			};
2140*2846c905SEmmanuel Vadot
2141*2846c905SEmmanuel Vadot			qup_spi0_cs0: qup-spi0-cs0-state {
2142*2846c905SEmmanuel Vadot				pins = "gpio3";
2143*2846c905SEmmanuel Vadot				function = "qup0";
2144*2846c905SEmmanuel Vadot				drive-strength = <2>;
2145*2846c905SEmmanuel Vadot				bias-disable;
2146*2846c905SEmmanuel Vadot			};
2147*2846c905SEmmanuel Vadot
2148*2846c905SEmmanuel Vadot			qup_spi0_cs1: qup-spi0-cs1-state {
2149*2846c905SEmmanuel Vadot				pins = "gpio93";
2150*2846c905SEmmanuel Vadot				function = "qup0";
2151*2846c905SEmmanuel Vadot				drive-strength = <2>;
2152*2846c905SEmmanuel Vadot				bias-disable;
2153*2846c905SEmmanuel Vadot			};
2154*2846c905SEmmanuel Vadot
2155*2846c905SEmmanuel Vadot			qup_spi0_data_clk: qup-spi0-data-clk-state {
2156*2846c905SEmmanuel Vadot				/* MISO, MOSI, CLK */
2157*2846c905SEmmanuel Vadot				pins = "gpio0", "gpio1", "gpio2";
2158*2846c905SEmmanuel Vadot				function = "qup0";
2159*2846c905SEmmanuel Vadot				drive-strength = <2>;
2160*2846c905SEmmanuel Vadot				bias-disable;
2161*2846c905SEmmanuel Vadot			};
2162*2846c905SEmmanuel Vadot
2163*2846c905SEmmanuel Vadot			qup_spi1_cs: qup-spi1-cs-state {
2164*2846c905SEmmanuel Vadot				pins = "gpio62";
2165*2846c905SEmmanuel Vadot				function = "qup1";
2166*2846c905SEmmanuel Vadot				drive-strength = <2>;
2167*2846c905SEmmanuel Vadot				bias-disable;
2168*2846c905SEmmanuel Vadot			};
2169*2846c905SEmmanuel Vadot
2170*2846c905SEmmanuel Vadot			qup_spi1_data_clk: qup-spi1-data-clk-state {
2171*2846c905SEmmanuel Vadot				/* MISO, MOSI, CLK */
2172*2846c905SEmmanuel Vadot				pins = "gpio2", "gpio3", "gpio61";
2173*2846c905SEmmanuel Vadot				function = "qup1";
2174*2846c905SEmmanuel Vadot				drive-strength = <2>;
2175*2846c905SEmmanuel Vadot				bias-disable;
2176*2846c905SEmmanuel Vadot			};
2177*2846c905SEmmanuel Vadot
2178*2846c905SEmmanuel Vadot			qup_spi2_cs: qup-spi2-cs-state {
2179*2846c905SEmmanuel Vadot				pins = "gpio13";
2180*2846c905SEmmanuel Vadot				function = "qup2";
2181*2846c905SEmmanuel Vadot				drive-strength = <2>;
2182*2846c905SEmmanuel Vadot				bias-disable;
2183*2846c905SEmmanuel Vadot			};
2184*2846c905SEmmanuel Vadot
2185*2846c905SEmmanuel Vadot			qup_spi2_data_clk: qup-spi2-data-clk-state {
2186*2846c905SEmmanuel Vadot				/* MISO, MOSI, CLK */
2187*2846c905SEmmanuel Vadot				pins = "gpio22", "gpio23", "gpio12";
2188*2846c905SEmmanuel Vadot				function = "qup2";
2189*2846c905SEmmanuel Vadot				drive-strength = <2>;
2190*2846c905SEmmanuel Vadot				bias-disable;
2191*2846c905SEmmanuel Vadot			};
2192*2846c905SEmmanuel Vadot
2193*2846c905SEmmanuel Vadot			qup_spi3_cs0: qup-spi3-cs0-state {
2194*2846c905SEmmanuel Vadot				pins = "gpio19";
2195*2846c905SEmmanuel Vadot				function = "qup3";
2196*2846c905SEmmanuel Vadot				drive-strength = <2>;
2197*2846c905SEmmanuel Vadot				bias-disable;
2198*2846c905SEmmanuel Vadot			};
2199*2846c905SEmmanuel Vadot
2200*2846c905SEmmanuel Vadot			qup_spi3_cs1: qup-spi3-cs1-state {
2201*2846c905SEmmanuel Vadot				pins = "gpio41";
2202*2846c905SEmmanuel Vadot				function = "qup3";
2203*2846c905SEmmanuel Vadot				drive-strength = <2>;
2204*2846c905SEmmanuel Vadot				bias-disable;
2205*2846c905SEmmanuel Vadot			};
2206*2846c905SEmmanuel Vadot
2207*2846c905SEmmanuel Vadot			qup_spi3_data_clk: qup-spi3-data-clk-state {
2208*2846c905SEmmanuel Vadot				/* MISO, MOSI, CLK */
2209*2846c905SEmmanuel Vadot				pins = "gpio16", "gpio17", "gpio18";
2210*2846c905SEmmanuel Vadot				function = "qup3";
2211*2846c905SEmmanuel Vadot				drive-strength = <2>;
2212*2846c905SEmmanuel Vadot				bias-disable;
2213*2846c905SEmmanuel Vadot			};
2214*2846c905SEmmanuel Vadot
2215*2846c905SEmmanuel Vadot			qup_spi4_cs0: qup-spi4-cs0-state {
2216*2846c905SEmmanuel Vadot				pins = "gpio23";
2217*2846c905SEmmanuel Vadot				function = "qup4";
2218*2846c905SEmmanuel Vadot				drive-strength = <2>;
2219*2846c905SEmmanuel Vadot				bias-disable;
2220*2846c905SEmmanuel Vadot			};
2221*2846c905SEmmanuel Vadot
2222*2846c905SEmmanuel Vadot			qup_spi4_cs1: qup-spi4-cs1-state {
2223*2846c905SEmmanuel Vadot				pins = "gpio94";
2224*2846c905SEmmanuel Vadot				function = "qup4";
2225*2846c905SEmmanuel Vadot				drive-strength = <2>;
2226*2846c905SEmmanuel Vadot				bias-disable;
2227*2846c905SEmmanuel Vadot			};
2228*2846c905SEmmanuel Vadot
2229*2846c905SEmmanuel Vadot			qup_spi4_data_clk: qup-spi4-data-clk-state {
2230*2846c905SEmmanuel Vadot				/* MISO, MOSI, CLK */
2231*2846c905SEmmanuel Vadot				pins = "gpio20", "gpio21", "gpio22";
2232*2846c905SEmmanuel Vadot				function = "qup4";
2233*2846c905SEmmanuel Vadot				drive-strength = <2>;
2234*2846c905SEmmanuel Vadot				bias-disable;
2235*2846c905SEmmanuel Vadot			};
2236*2846c905SEmmanuel Vadot
2237*2846c905SEmmanuel Vadot			qup_spi5_cs: qup-spi5-cs-state {
2238*2846c905SEmmanuel Vadot				pins = "gpio98";
2239*2846c905SEmmanuel Vadot				function = "qup5";
2240*2846c905SEmmanuel Vadot				drive-strength = <2>;
2241*2846c905SEmmanuel Vadot				bias-disable;
2242*2846c905SEmmanuel Vadot			};
2243*2846c905SEmmanuel Vadot
2244*2846c905SEmmanuel Vadot			qup_spi5_data_clk: qup-spi5-data-clk-state {
2245*2846c905SEmmanuel Vadot				/* MISO, MOSI, CLK */
2246*2846c905SEmmanuel Vadot				pins = "gpio95", "gpio96", "gpio97";
2247*2846c905SEmmanuel Vadot				function = "qup5";
2248*2846c905SEmmanuel Vadot				drive-strength = <2>;
2249*2846c905SEmmanuel Vadot				bias-disable;
2250*2846c905SEmmanuel Vadot			};
2251*2846c905SEmmanuel Vadot
2252*2846c905SEmmanuel Vadot			qup_spi6_cs: qup-spi6-cs-state {
2253*2846c905SEmmanuel Vadot				pins = "gpio63";
2254*2846c905SEmmanuel Vadot				function = "qup6";
2255*2846c905SEmmanuel Vadot				drive-strength = <2>;
2256*2846c905SEmmanuel Vadot				bias-disable;
2257*2846c905SEmmanuel Vadot			};
2258*2846c905SEmmanuel Vadot
2259*2846c905SEmmanuel Vadot			qup_spi6_data_clk: qup-spi6-data-clk-state {
2260*2846c905SEmmanuel Vadot				/* MISO, MOSI, CLK */
2261*2846c905SEmmanuel Vadot				pins = "gpio91", "gpio92", "gpio64";
2262*2846c905SEmmanuel Vadot				function = "qup6";
2263*2846c905SEmmanuel Vadot				drive-strength = <2>;
2264*2846c905SEmmanuel Vadot				bias-disable;
2265*2846c905SEmmanuel Vadot			};
2266*2846c905SEmmanuel Vadot
2267*2846c905SEmmanuel Vadot			qup_spi7_cs: qup-spi7-cs-state {
2268*2846c905SEmmanuel Vadot				pins = "gpio27";
2269*2846c905SEmmanuel Vadot				function = "qup7";
2270*2846c905SEmmanuel Vadot				drive-strength = <2>;
2271*2846c905SEmmanuel Vadot				bias-disable;
2272*2846c905SEmmanuel Vadot			};
2273*2846c905SEmmanuel Vadot
2274*2846c905SEmmanuel Vadot			qup_spi7_data_clk: qup-spi7-data-clk-state {
2275*2846c905SEmmanuel Vadot				/* MISO, MOSI, CLK */
2276*2846c905SEmmanuel Vadot				pins = "gpio24", "gpio25", "gpio26";
2277*2846c905SEmmanuel Vadot				function = "qup7";
2278*2846c905SEmmanuel Vadot				drive-strength = <2>;
2279*2846c905SEmmanuel Vadot				bias-disable;
2280*2846c905SEmmanuel Vadot			};
2281*2846c905SEmmanuel Vadot
2282*2846c905SEmmanuel Vadot			qup_spi8_cs: qup-spi8-cs-state {
2283*2846c905SEmmanuel Vadot				pins = "gpio11";
2284*2846c905SEmmanuel Vadot				function = "qup8";
2285*2846c905SEmmanuel Vadot				drive-strength = <2>;
2286*2846c905SEmmanuel Vadot				bias-disable;
2287*2846c905SEmmanuel Vadot			};
2288*2846c905SEmmanuel Vadot
2289*2846c905SEmmanuel Vadot			qup_spi8_data_clk: qup-spi8-data-clk-state {
2290*2846c905SEmmanuel Vadot				/* MISO, MOSI, CLK */
2291*2846c905SEmmanuel Vadot				pins = "gpio8", "gpio9", "gpio10";
2292*2846c905SEmmanuel Vadot				function = "qup8";
2293*2846c905SEmmanuel Vadot				drive-strength = <2>;
2294*2846c905SEmmanuel Vadot				bias-disable;
2295*2846c905SEmmanuel Vadot			};
2296*2846c905SEmmanuel Vadot
2297*2846c905SEmmanuel Vadot			qup_spi9_cs: qup-spi9-cs-state {
2298*2846c905SEmmanuel Vadot				pins = "gpio35";
2299*2846c905SEmmanuel Vadot				function = "qup9";
2300*2846c905SEmmanuel Vadot				drive-strength = <2>;
2301*2846c905SEmmanuel Vadot				bias-disable;
2302*2846c905SEmmanuel Vadot			};
2303*2846c905SEmmanuel Vadot
2304*2846c905SEmmanuel Vadot			qup_spi9_data_clk: qup-spi9-data-clk-state {
2305*2846c905SEmmanuel Vadot				/* MISO, MOSI, CLK */
2306*2846c905SEmmanuel Vadot				pins = "gpio109", "gpio110", "gpio34";
2307*2846c905SEmmanuel Vadot				function = "qup9";
2308*2846c905SEmmanuel Vadot				drive-strength = <2>;
2309*2846c905SEmmanuel Vadot				bias-disable;
2310*2846c905SEmmanuel Vadot			};
2311*2846c905SEmmanuel Vadot
2312*2846c905SEmmanuel Vadot			qup_spi10_cs: qup-spi10-cs-state {
2313*2846c905SEmmanuel Vadot				pins = "gpio7";
2314*2846c905SEmmanuel Vadot				function = "qup10";
2315*2846c905SEmmanuel Vadot				drive-strength = <2>;
2316*2846c905SEmmanuel Vadot				bias-disable;
2317*2846c905SEmmanuel Vadot			};
2318*2846c905SEmmanuel Vadot
2319*2846c905SEmmanuel Vadot			qup_spi10_data_clk: qup-spi10-data-clk-state {
2320*2846c905SEmmanuel Vadot				/* MISO, MOSI, CLK */
2321*2846c905SEmmanuel Vadot				pins = "gpio4", "gpio5", "gpio6";
2322*2846c905SEmmanuel Vadot				function = "qup10";
2323*2846c905SEmmanuel Vadot				drive-strength = <2>;
2324*2846c905SEmmanuel Vadot				bias-disable;
2325*2846c905SEmmanuel Vadot			};
2326*2846c905SEmmanuel Vadot
2327*2846c905SEmmanuel Vadot			qup_spi11_cs: qup-spi11-cs-state {
2328*2846c905SEmmanuel Vadot				pins = "gpio15";
2329*2846c905SEmmanuel Vadot				function = "qup11";
2330*2846c905SEmmanuel Vadot				drive-strength = <2>;
2331*2846c905SEmmanuel Vadot				bias-disable;
2332*2846c905SEmmanuel Vadot			};
2333*2846c905SEmmanuel Vadot
2334*2846c905SEmmanuel Vadot			qup_spi11_data_clk: qup-spi11-data-clk-state {
2335*2846c905SEmmanuel Vadot				/* MISO, MOSI, CLK */
2336*2846c905SEmmanuel Vadot				pins = "gpio28", "gpio30", "gpio14";
2337*2846c905SEmmanuel Vadot				function = "qup11";
2338*2846c905SEmmanuel Vadot				drive-strength = <2>;
2339*2846c905SEmmanuel Vadot				bias-disable;
2340*2846c905SEmmanuel Vadot			};
2341*2846c905SEmmanuel Vadot
2342*2846c905SEmmanuel Vadot			qup_uart7_default: qup-uart7-default-state {
2343*2846c905SEmmanuel Vadot				cts-pins {
2344*2846c905SEmmanuel Vadot					pins = "gpio24";
2345*2846c905SEmmanuel Vadot					function = "qup7";
2346*2846c905SEmmanuel Vadot					drive-strength = <2>;
2347*2846c905SEmmanuel Vadot					bias-disable;
2348*2846c905SEmmanuel Vadot				};
2349*2846c905SEmmanuel Vadot
2350*2846c905SEmmanuel Vadot				rts-pins {
2351*2846c905SEmmanuel Vadot					pins = "gpio25";
2352*2846c905SEmmanuel Vadot					function = "qup7";
2353*2846c905SEmmanuel Vadot					drive-strength = <2>;
2354*2846c905SEmmanuel Vadot					bias-pull-down;
2355*2846c905SEmmanuel Vadot				};
2356*2846c905SEmmanuel Vadot
2357*2846c905SEmmanuel Vadot				rx-pins {
2358*2846c905SEmmanuel Vadot					pins = "gpio27";
2359*2846c905SEmmanuel Vadot					function = "qup7";
2360*2846c905SEmmanuel Vadot					drive-strength = <2>;
2361*2846c905SEmmanuel Vadot					bias-pull-down;
2362*2846c905SEmmanuel Vadot				};
2363*2846c905SEmmanuel Vadot
2364*2846c905SEmmanuel Vadot				tx-pins {
2365*2846c905SEmmanuel Vadot					pins = "gpio26";
2366*2846c905SEmmanuel Vadot					function = "qup7";
2367*2846c905SEmmanuel Vadot					drive-strength = <2>;
2368*2846c905SEmmanuel Vadot					bias-pull-up;
2369*2846c905SEmmanuel Vadot				};
2370*2846c905SEmmanuel Vadot			};
2371*2846c905SEmmanuel Vadot
2372*2846c905SEmmanuel Vadot			qup_uart11_default: qup-uart11-default-state {
2373*2846c905SEmmanuel Vadot				pins = "gpio14", "gpio15";
2374*2846c905SEmmanuel Vadot				function = "qup11";
2375*2846c905SEmmanuel Vadot				drive-strength = <2>;
2376*2846c905SEmmanuel Vadot				bias-disable;
2377*2846c905SEmmanuel Vadot			};
2378*2846c905SEmmanuel Vadot
2379*2846c905SEmmanuel Vadot			sdc1_default: sdc1-default-state {
2380*2846c905SEmmanuel Vadot				clk-pins {
2381*2846c905SEmmanuel Vadot					pins = "sdc1_clk";
2382*2846c905SEmmanuel Vadot					drive-strength = <16>;
2383*2846c905SEmmanuel Vadot					bias-disable;
2384*2846c905SEmmanuel Vadot				};
2385*2846c905SEmmanuel Vadot
2386*2846c905SEmmanuel Vadot				cmd-pins {
2387*2846c905SEmmanuel Vadot					pins = "sdc1_cmd";
2388*2846c905SEmmanuel Vadot					drive-strength = <10>;
2389*2846c905SEmmanuel Vadot					bias-pull-up;
2390*2846c905SEmmanuel Vadot				};
2391*2846c905SEmmanuel Vadot
2392*2846c905SEmmanuel Vadot				data-pins {
2393*2846c905SEmmanuel Vadot					pins = "sdc1_data";
2394*2846c905SEmmanuel Vadot					drive-strength = <10>;
2395*2846c905SEmmanuel Vadot					bias-pull-up;
2396*2846c905SEmmanuel Vadot				};
2397*2846c905SEmmanuel Vadot
2398*2846c905SEmmanuel Vadot				rclk-pins {
2399*2846c905SEmmanuel Vadot					pins = "sdc1_rclk";
2400*2846c905SEmmanuel Vadot					bias-pull-down;
2401*2846c905SEmmanuel Vadot				};
2402*2846c905SEmmanuel Vadot			};
2403*2846c905SEmmanuel Vadot
2404*2846c905SEmmanuel Vadot			sdc1_sleep: sdc1-sleep-state {
2405*2846c905SEmmanuel Vadot				clk-pins {
2406*2846c905SEmmanuel Vadot					pins = "sdc1_clk";
2407*2846c905SEmmanuel Vadot					drive-strength = <2>;
2408*2846c905SEmmanuel Vadot					bias-disable;
2409*2846c905SEmmanuel Vadot				};
2410*2846c905SEmmanuel Vadot
2411*2846c905SEmmanuel Vadot				cmd-pins {
2412*2846c905SEmmanuel Vadot					pins = "sdc1_cmd";
2413*2846c905SEmmanuel Vadot					drive-strength = <2>;
2414*2846c905SEmmanuel Vadot					bias-pull-up;
2415*2846c905SEmmanuel Vadot				};
2416*2846c905SEmmanuel Vadot
2417*2846c905SEmmanuel Vadot				data-pins {
2418*2846c905SEmmanuel Vadot					pins = "sdc1_data";
2419*2846c905SEmmanuel Vadot					drive-strength = <2>;
2420*2846c905SEmmanuel Vadot					bias-pull-up;
2421*2846c905SEmmanuel Vadot				};
2422*2846c905SEmmanuel Vadot
2423*2846c905SEmmanuel Vadot				rclk-pins {
2424*2846c905SEmmanuel Vadot					pins = "sdc1_rclk";
2425*2846c905SEmmanuel Vadot					bias-pull-down;
2426*2846c905SEmmanuel Vadot				};
2427*2846c905SEmmanuel Vadot			};
2428*2846c905SEmmanuel Vadot		};
2429*2846c905SEmmanuel Vadot
2430*2846c905SEmmanuel Vadot		apps_smmu: iommu@15000000 {
2431*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-smmu-500", "qcom,smmu-500", "arm,mmu-500";
2432*2846c905SEmmanuel Vadot			reg = <0x0 0x15000000 0x0 0x100000>;
2433*2846c905SEmmanuel Vadot			#iommu-cells = <2>;
2434*2846c905SEmmanuel Vadot			#global-interrupts = <1>;
2435*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
2436*2846c905SEmmanuel Vadot				     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
2437*2846c905SEmmanuel Vadot				     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
2438*2846c905SEmmanuel Vadot				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
2439*2846c905SEmmanuel Vadot				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
2440*2846c905SEmmanuel Vadot				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
2441*2846c905SEmmanuel Vadot				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
2442*2846c905SEmmanuel Vadot				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
2443*2846c905SEmmanuel Vadot				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
2444*2846c905SEmmanuel Vadot				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
2445*2846c905SEmmanuel Vadot				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
2446*2846c905SEmmanuel Vadot				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
2447*2846c905SEmmanuel Vadot				     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
2448*2846c905SEmmanuel Vadot				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
2449*2846c905SEmmanuel Vadot				     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
2450*2846c905SEmmanuel Vadot				     <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
2451*2846c905SEmmanuel Vadot				     <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
2452*2846c905SEmmanuel Vadot				     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
2453*2846c905SEmmanuel Vadot				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
2454*2846c905SEmmanuel Vadot				     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
2455*2846c905SEmmanuel Vadot				     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
2456*2846c905SEmmanuel Vadot				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
2457*2846c905SEmmanuel Vadot				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
2458*2846c905SEmmanuel Vadot				     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
2459*2846c905SEmmanuel Vadot				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
2460*2846c905SEmmanuel Vadot				     <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
2461*2846c905SEmmanuel Vadot				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
2462*2846c905SEmmanuel Vadot				     <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
2463*2846c905SEmmanuel Vadot				     <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
2464*2846c905SEmmanuel Vadot				     <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
2465*2846c905SEmmanuel Vadot				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
2466*2846c905SEmmanuel Vadot				     <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
2467*2846c905SEmmanuel Vadot				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
2468*2846c905SEmmanuel Vadot				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
2469*2846c905SEmmanuel Vadot				     <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
2470*2846c905SEmmanuel Vadot				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
2471*2846c905SEmmanuel Vadot				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
2472*2846c905SEmmanuel Vadot				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
2473*2846c905SEmmanuel Vadot				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
2474*2846c905SEmmanuel Vadot				     <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
2475*2846c905SEmmanuel Vadot				     <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
2476*2846c905SEmmanuel Vadot				     <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
2477*2846c905SEmmanuel Vadot				     <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
2478*2846c905SEmmanuel Vadot				     <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
2479*2846c905SEmmanuel Vadot				     <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
2480*2846c905SEmmanuel Vadot				     <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
2481*2846c905SEmmanuel Vadot				     <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
2482*2846c905SEmmanuel Vadot				     <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
2483*2846c905SEmmanuel Vadot				     <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
2484*2846c905SEmmanuel Vadot				     <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
2485*2846c905SEmmanuel Vadot				     <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
2486*2846c905SEmmanuel Vadot				     <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
2487*2846c905SEmmanuel Vadot				     <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
2488*2846c905SEmmanuel Vadot				     <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
2489*2846c905SEmmanuel Vadot				     <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
2490*2846c905SEmmanuel Vadot				     <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
2491*2846c905SEmmanuel Vadot				     <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
2492*2846c905SEmmanuel Vadot				     <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
2493*2846c905SEmmanuel Vadot				     <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
2494*2846c905SEmmanuel Vadot				     <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
2495*2846c905SEmmanuel Vadot				     <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
2496*2846c905SEmmanuel Vadot				     <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
2497*2846c905SEmmanuel Vadot				     <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
2498*2846c905SEmmanuel Vadot				     <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
2499*2846c905SEmmanuel Vadot				     <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
2500*2846c905SEmmanuel Vadot				     <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
2501*2846c905SEmmanuel Vadot				     <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
2502*2846c905SEmmanuel Vadot				     <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
2503*2846c905SEmmanuel Vadot				     <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
2504*2846c905SEmmanuel Vadot				     <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
2505*2846c905SEmmanuel Vadot				     <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
2506*2846c905SEmmanuel Vadot				     <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
2507*2846c905SEmmanuel Vadot				     <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
2508*2846c905SEmmanuel Vadot				     <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
2509*2846c905SEmmanuel Vadot				     <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
2510*2846c905SEmmanuel Vadot				     <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
2511*2846c905SEmmanuel Vadot				     <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
2512*2846c905SEmmanuel Vadot				     <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
2513*2846c905SEmmanuel Vadot				     <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
2514*2846c905SEmmanuel Vadot				     <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
2515*2846c905SEmmanuel Vadot				     <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
2516*2846c905SEmmanuel Vadot				     <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
2517*2846c905SEmmanuel Vadot				     <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
2518*2846c905SEmmanuel Vadot				     <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>,
2519*2846c905SEmmanuel Vadot				     <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
2520*2846c905SEmmanuel Vadot				     <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>,
2521*2846c905SEmmanuel Vadot				     <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
2522*2846c905SEmmanuel Vadot				     <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
2523*2846c905SEmmanuel Vadot				     <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
2524*2846c905SEmmanuel Vadot				     <GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH>,
2525*2846c905SEmmanuel Vadot				     <GIC_SPI 691 IRQ_TYPE_LEVEL_HIGH>,
2526*2846c905SEmmanuel Vadot				     <GIC_SPI 692 IRQ_TYPE_LEVEL_HIGH>,
2527*2846c905SEmmanuel Vadot				     <GIC_SPI 693 IRQ_TYPE_LEVEL_HIGH>,
2528*2846c905SEmmanuel Vadot				     <GIC_SPI 694 IRQ_TYPE_LEVEL_HIGH>,
2529*2846c905SEmmanuel Vadot				     <GIC_SPI 695 IRQ_TYPE_LEVEL_HIGH>,
2530*2846c905SEmmanuel Vadot				     <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>,
2531*2846c905SEmmanuel Vadot				     <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>;
2532*2846c905SEmmanuel Vadot			dma-coherent;
2533*2846c905SEmmanuel Vadot		};
2534*2846c905SEmmanuel Vadot
2535*2846c905SEmmanuel Vadot		intc: interrupt-controller@17200000 {
2536*2846c905SEmmanuel Vadot			compatible = "arm,gic-v3";
2537*2846c905SEmmanuel Vadot			#interrupt-cells = <3>;
2538*2846c905SEmmanuel Vadot			interrupt-controller;
2539*2846c905SEmmanuel Vadot			#redistributor-regions = <1>;
2540*2846c905SEmmanuel Vadot			redistributor-stride = <0x0 0x20000>;
2541*2846c905SEmmanuel Vadot			reg = <0x0 0x17200000 0x0 0x10000>,
2542*2846c905SEmmanuel Vadot			      <0x0 0x17260000 0x0 0x100000>;
2543*2846c905SEmmanuel Vadot			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
2544*2846c905SEmmanuel Vadot			#address-cells = <2>;
2545*2846c905SEmmanuel Vadot			#size-cells = <2>;
2546*2846c905SEmmanuel Vadot			ranges;
2547*2846c905SEmmanuel Vadot
2548*2846c905SEmmanuel Vadot			gic_its: msi-controller@17240000 {
2549*2846c905SEmmanuel Vadot				compatible = "arm,gic-v3-its";
2550*2846c905SEmmanuel Vadot				reg = <0x0 0x17240000 0x0 0x20000>;
2551*2846c905SEmmanuel Vadot				msi-controller;
2552*2846c905SEmmanuel Vadot				#msi-cells = <1>;
2553*2846c905SEmmanuel Vadot			};
2554*2846c905SEmmanuel Vadot		};
2555*2846c905SEmmanuel Vadot
2556*2846c905SEmmanuel Vadot		apps_rsc: rsc@17a00000 {
2557*2846c905SEmmanuel Vadot			label = "apps_rsc";
2558*2846c905SEmmanuel Vadot			compatible = "qcom,rpmh-rsc";
2559*2846c905SEmmanuel Vadot			reg = <0x0 0x17a00000 0x0 0x10000>,
2560*2846c905SEmmanuel Vadot			      <0x0 0x17a10000 0x0 0x10000>,
2561*2846c905SEmmanuel Vadot			      <0x0 0x17a20000 0x0 0x10000>;
2562*2846c905SEmmanuel Vadot			reg-names = "drv-0", "drv-1", "drv-2";
2563*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
2564*2846c905SEmmanuel Vadot				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
2565*2846c905SEmmanuel Vadot				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
2566*2846c905SEmmanuel Vadot			qcom,tcs-offset = <0xd00>;
2567*2846c905SEmmanuel Vadot			qcom,drv-id = <2>;
2568*2846c905SEmmanuel Vadot			qcom,tcs-config = <ACTIVE_TCS  3>, <SLEEP_TCS   2>,
2569*2846c905SEmmanuel Vadot					  <WAKE_TCS    2>, <CONTROL_TCS 0>;
2570*2846c905SEmmanuel Vadot			power-domains = <&cluster_pd>;
2571*2846c905SEmmanuel Vadot
2572*2846c905SEmmanuel Vadot			apps_bcm_voter: bcm-voter {
2573*2846c905SEmmanuel Vadot				compatible = "qcom,bcm-voter";
2574*2846c905SEmmanuel Vadot			};
2575*2846c905SEmmanuel Vadot
2576*2846c905SEmmanuel Vadot			rpmhcc: clock-controller {
2577*2846c905SEmmanuel Vadot				compatible = "qcom,sar2130p-rpmh-clk";
2578*2846c905SEmmanuel Vadot				#clock-cells = <1>;
2579*2846c905SEmmanuel Vadot				clock-names = "xo";
2580*2846c905SEmmanuel Vadot				clocks = <&xo_board>;
2581*2846c905SEmmanuel Vadot			};
2582*2846c905SEmmanuel Vadot
2583*2846c905SEmmanuel Vadot			rpmhpd: power-controller {
2584*2846c905SEmmanuel Vadot				compatible = "qcom,sar2130p-rpmhpd";
2585*2846c905SEmmanuel Vadot				#power-domain-cells = <1>;
2586*2846c905SEmmanuel Vadot				operating-points-v2 = <&rpmhpd_opp_table>;
2587*2846c905SEmmanuel Vadot
2588*2846c905SEmmanuel Vadot				rpmhpd_opp_table: opp-table {
2589*2846c905SEmmanuel Vadot					compatible = "operating-points-v2";
2590*2846c905SEmmanuel Vadot
2591*2846c905SEmmanuel Vadot					rpmhpd_opp_ret: opp1 {
2592*2846c905SEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
2593*2846c905SEmmanuel Vadot					};
2594*2846c905SEmmanuel Vadot
2595*2846c905SEmmanuel Vadot					rpmhpd_opp_min_svs: opp2 {
2596*2846c905SEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2597*2846c905SEmmanuel Vadot					};
2598*2846c905SEmmanuel Vadot
2599*2846c905SEmmanuel Vadot					rpmhpd_opp_low_svs_d1: opp3 {
2600*2846c905SEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
2601*2846c905SEmmanuel Vadot					};
2602*2846c905SEmmanuel Vadot
2603*2846c905SEmmanuel Vadot					rpmhpd_opp_low_svs: opp4 {
2604*2846c905SEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2605*2846c905SEmmanuel Vadot					};
2606*2846c905SEmmanuel Vadot
2607*2846c905SEmmanuel Vadot					rpmhpd_opp_svs: opp5 {
2608*2846c905SEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2609*2846c905SEmmanuel Vadot					};
2610*2846c905SEmmanuel Vadot
2611*2846c905SEmmanuel Vadot					rpmhpd_opp_svs_l1: opp6 {
2612*2846c905SEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2613*2846c905SEmmanuel Vadot					};
2614*2846c905SEmmanuel Vadot
2615*2846c905SEmmanuel Vadot					rpmhpd_opp_nom: opp7 {
2616*2846c905SEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2617*2846c905SEmmanuel Vadot					};
2618*2846c905SEmmanuel Vadot
2619*2846c905SEmmanuel Vadot					rpmhpd_opp_turbo: opp8 {
2620*2846c905SEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
2621*2846c905SEmmanuel Vadot					};
2622*2846c905SEmmanuel Vadot
2623*2846c905SEmmanuel Vadot					rpmhpd_opp_turbo_l1: opp9 {
2624*2846c905SEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
2625*2846c905SEmmanuel Vadot					};
2626*2846c905SEmmanuel Vadot				};
2627*2846c905SEmmanuel Vadot			};
2628*2846c905SEmmanuel Vadot		};
2629*2846c905SEmmanuel Vadot
2630*2846c905SEmmanuel Vadot		cpufreq_hw: cpufreq@17d91000 {
2631*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-cpufreq-epss", "qcom,cpufreq-epss";
2632*2846c905SEmmanuel Vadot			reg = <0x0 0x17d91000 0x0 0x1000>;
2633*2846c905SEmmanuel Vadot			reg-names = "freq-domain0";
2634*2846c905SEmmanuel Vadot			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>;
2635*2846c905SEmmanuel Vadot			clock-names = "xo", "alternate";
2636*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
2637*2846c905SEmmanuel Vadot			interrupt-names = "dcvsh-irq-0";
2638*2846c905SEmmanuel Vadot			#freq-domain-cells = <1>;
2639*2846c905SEmmanuel Vadot			#clock-cells = <1>;
2640*2846c905SEmmanuel Vadot		};
2641*2846c905SEmmanuel Vadot
2642*2846c905SEmmanuel Vadot		gem_noc: interconnect@19100000 {
2643*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-gem-noc";
2644*2846c905SEmmanuel Vadot			reg = <0x0 0x19100000 0x0 0xa2080>;
2645*2846c905SEmmanuel Vadot			#interconnect-cells = <2>;
2646*2846c905SEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
2647*2846c905SEmmanuel Vadot		};
2648*2846c905SEmmanuel Vadot
2649*2846c905SEmmanuel Vadot		/*
2650*2846c905SEmmanuel Vadot		 * Bootloader expects just cache-controller node instead of
2651*2846c905SEmmanuel Vadot		 * the typical system-cache-controller
2652*2846c905SEmmanuel Vadot		 */
2653*2846c905SEmmanuel Vadot		llcc: cache-controller@19200000 {
2654*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-llcc";
2655*2846c905SEmmanuel Vadot			reg = <0x0 0x19200000 0x0 0x80000>,
2656*2846c905SEmmanuel Vadot			      <0x0 0x19300000 0x0 0x80000>,
2657*2846c905SEmmanuel Vadot			      <0x0 0x19a00000 0x0 0x80000>,
2658*2846c905SEmmanuel Vadot			      <0x0 0x19c00000 0x0 0x80000>,
2659*2846c905SEmmanuel Vadot			      <0x0 0x19af0000 0x0 0x80000>,
2660*2846c905SEmmanuel Vadot			      <0x0 0x19cf0000 0x0 0x80000>;
2661*2846c905SEmmanuel Vadot			reg-names = "llcc0_base",
2662*2846c905SEmmanuel Vadot				    "llcc1_base",
2663*2846c905SEmmanuel Vadot				    "llcc_broadcast_base",
2664*2846c905SEmmanuel Vadot				    "llcc_broadcast_and_base",
2665*2846c905SEmmanuel Vadot				    "llcc_scratchpad_broadcast_base",
2666*2846c905SEmmanuel Vadot				    "llcc_scratchpad_broadcast_and_base";
2667*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
2668*2846c905SEmmanuel Vadot		};
2669*2846c905SEmmanuel Vadot
2670*2846c905SEmmanuel Vadot		qfprom: qfprom@221c8000 {
2671*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-qfprom", "qcom,qfprom";
2672*2846c905SEmmanuel Vadot			reg = <0x0 0x221c8000 0x0 0x1000>;
2673*2846c905SEmmanuel Vadot			#address-cells = <1>;
2674*2846c905SEmmanuel Vadot			#size-cells = <1>;
2675*2846c905SEmmanuel Vadot			read-only;
2676*2846c905SEmmanuel Vadot
2677*2846c905SEmmanuel Vadot			gpu_speed_bin: gpu-speed-bin@119 {
2678*2846c905SEmmanuel Vadot				reg = <0x119 0x2>;
2679*2846c905SEmmanuel Vadot				bits = <5 8>;
2680*2846c905SEmmanuel Vadot			};
2681*2846c905SEmmanuel Vadot		};
2682*2846c905SEmmanuel Vadot
2683*2846c905SEmmanuel Vadot		nsp_noc: interconnect@320c0000 {
2684*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-nsp-noc";
2685*2846c905SEmmanuel Vadot			reg = <0x0 0x320c0000 0x0 0x10>;
2686*2846c905SEmmanuel Vadot			#interconnect-cells = <2>;
2687*2846c905SEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
2688*2846c905SEmmanuel Vadot		};
2689*2846c905SEmmanuel Vadot
2690*2846c905SEmmanuel Vadot		lpass_ag_noc: interconnect@3c40000 {
2691*2846c905SEmmanuel Vadot			compatible = "qcom,sar2130p-lpass-ag-noc";
2692*2846c905SEmmanuel Vadot			reg = <0x0 0x3c40000 0x0 0x10>;
2693*2846c905SEmmanuel Vadot			#interconnect-cells = <1>;
2694*2846c905SEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
2695*2846c905SEmmanuel Vadot		};
2696*2846c905SEmmanuel Vadot	};
2697*2846c905SEmmanuel Vadot
2698*2846c905SEmmanuel Vadot	timer {
2699*2846c905SEmmanuel Vadot		compatible = "arm,armv8-timer";
2700*2846c905SEmmanuel Vadot
2701*2846c905SEmmanuel Vadot		interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
2702*2846c905SEmmanuel Vadot			     <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
2703*2846c905SEmmanuel Vadot			     <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
2704*2846c905SEmmanuel Vadot			     <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
2705*2846c905SEmmanuel Vadot	};
2706*2846c905SEmmanuel Vadot
2707*2846c905SEmmanuel Vadot	thermal-zones {
2708*2846c905SEmmanuel Vadot		aoss0-thermal {
2709*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 0>;
2710*2846c905SEmmanuel Vadot
2711*2846c905SEmmanuel Vadot			trips {
2712*2846c905SEmmanuel Vadot				trip-point0 {
2713*2846c905SEmmanuel Vadot					temperature = <115000>;
2714*2846c905SEmmanuel Vadot					hysteresis = <5000>;
2715*2846c905SEmmanuel Vadot					type = "hot";
2716*2846c905SEmmanuel Vadot				};
2717*2846c905SEmmanuel Vadot
2718*2846c905SEmmanuel Vadot				aoss0-critical {
2719*2846c905SEmmanuel Vadot					temperature = <125000>;
2720*2846c905SEmmanuel Vadot					hysteresis = <0>;
2721*2846c905SEmmanuel Vadot					type = "critical";
2722*2846c905SEmmanuel Vadot				};
2723*2846c905SEmmanuel Vadot
2724*2846c905SEmmanuel Vadot			};
2725*2846c905SEmmanuel Vadot		};
2726*2846c905SEmmanuel Vadot
2727*2846c905SEmmanuel Vadot		cpu0-thermal {
2728*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 1>;
2729*2846c905SEmmanuel Vadot
2730*2846c905SEmmanuel Vadot			trips {
2731*2846c905SEmmanuel Vadot				cpu0_alert0: trip-point0 {
2732*2846c905SEmmanuel Vadot					temperature = <110000>;
2733*2846c905SEmmanuel Vadot					hysteresis = <10000>;
2734*2846c905SEmmanuel Vadot					type = "passive";
2735*2846c905SEmmanuel Vadot				};
2736*2846c905SEmmanuel Vadot
2737*2846c905SEmmanuel Vadot				cpu0_alert1: trip-point1 {
2738*2846c905SEmmanuel Vadot					temperature = <115000>;
2739*2846c905SEmmanuel Vadot					hysteresis = <5000>;
2740*2846c905SEmmanuel Vadot					type = "passive";
2741*2846c905SEmmanuel Vadot				};
2742*2846c905SEmmanuel Vadot
2743*2846c905SEmmanuel Vadot				cpu0-critical {
2744*2846c905SEmmanuel Vadot					temperature = <125000>;
2745*2846c905SEmmanuel Vadot					hysteresis = <1000>;
2746*2846c905SEmmanuel Vadot					type = "critical";
2747*2846c905SEmmanuel Vadot				};
2748*2846c905SEmmanuel Vadot			};
2749*2846c905SEmmanuel Vadot
2750*2846c905SEmmanuel Vadot			cooling-maps {
2751*2846c905SEmmanuel Vadot				map0 {
2752*2846c905SEmmanuel Vadot					trip = <&cpu0_alert0>;
2753*2846c905SEmmanuel Vadot					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2754*2846c905SEmmanuel Vadot							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2755*2846c905SEmmanuel Vadot							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2756*2846c905SEmmanuel Vadot							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2757*2846c905SEmmanuel Vadot				};
2758*2846c905SEmmanuel Vadot
2759*2846c905SEmmanuel Vadot				map1 {
2760*2846c905SEmmanuel Vadot					trip = <&cpu0_alert1>;
2761*2846c905SEmmanuel Vadot					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2762*2846c905SEmmanuel Vadot							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2763*2846c905SEmmanuel Vadot							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2764*2846c905SEmmanuel Vadot							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2765*2846c905SEmmanuel Vadot				};
2766*2846c905SEmmanuel Vadot			};
2767*2846c905SEmmanuel Vadot		};
2768*2846c905SEmmanuel Vadot
2769*2846c905SEmmanuel Vadot		cpu1-thermal {
2770*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 2>;
2771*2846c905SEmmanuel Vadot
2772*2846c905SEmmanuel Vadot			trips {
2773*2846c905SEmmanuel Vadot				cpu1_alert0: trip-point0 {
2774*2846c905SEmmanuel Vadot					temperature = <110000>;
2775*2846c905SEmmanuel Vadot					hysteresis = <10000>;
2776*2846c905SEmmanuel Vadot					type = "passive";
2777*2846c905SEmmanuel Vadot				};
2778*2846c905SEmmanuel Vadot
2779*2846c905SEmmanuel Vadot				cpu1_alert1: trip-point1 {
2780*2846c905SEmmanuel Vadot					temperature = <115000>;
2781*2846c905SEmmanuel Vadot					hysteresis = <5000>;
2782*2846c905SEmmanuel Vadot					type = "passive";
2783*2846c905SEmmanuel Vadot				};
2784*2846c905SEmmanuel Vadot
2785*2846c905SEmmanuel Vadot				cpu1-critical {
2786*2846c905SEmmanuel Vadot					temperature = <125000>;
2787*2846c905SEmmanuel Vadot					hysteresis = <1000>;
2788*2846c905SEmmanuel Vadot					type = "critical";
2789*2846c905SEmmanuel Vadot				};
2790*2846c905SEmmanuel Vadot			};
2791*2846c905SEmmanuel Vadot
2792*2846c905SEmmanuel Vadot			cooling-maps {
2793*2846c905SEmmanuel Vadot				map0 {
2794*2846c905SEmmanuel Vadot					trip = <&cpu1_alert0>;
2795*2846c905SEmmanuel Vadot					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2796*2846c905SEmmanuel Vadot							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2797*2846c905SEmmanuel Vadot							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2798*2846c905SEmmanuel Vadot							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2799*2846c905SEmmanuel Vadot				};
2800*2846c905SEmmanuel Vadot
2801*2846c905SEmmanuel Vadot				map1 {
2802*2846c905SEmmanuel Vadot					trip = <&cpu1_alert1>;
2803*2846c905SEmmanuel Vadot					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2804*2846c905SEmmanuel Vadot							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2805*2846c905SEmmanuel Vadot							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2806*2846c905SEmmanuel Vadot							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2807*2846c905SEmmanuel Vadot				};
2808*2846c905SEmmanuel Vadot			};
2809*2846c905SEmmanuel Vadot		};
2810*2846c905SEmmanuel Vadot
2811*2846c905SEmmanuel Vadot		cpu2-thermal {
2812*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 3>;
2813*2846c905SEmmanuel Vadot
2814*2846c905SEmmanuel Vadot			trips {
2815*2846c905SEmmanuel Vadot				cpu2_alert0: trip-point0 {
2816*2846c905SEmmanuel Vadot					temperature = <110000>;
2817*2846c905SEmmanuel Vadot					hysteresis = <10000>;
2818*2846c905SEmmanuel Vadot					type = "passive";
2819*2846c905SEmmanuel Vadot				};
2820*2846c905SEmmanuel Vadot
2821*2846c905SEmmanuel Vadot				cpu2_alert1: trip-point1 {
2822*2846c905SEmmanuel Vadot					temperature = <115000>;
2823*2846c905SEmmanuel Vadot					hysteresis = <5000>;
2824*2846c905SEmmanuel Vadot					type = "passive";
2825*2846c905SEmmanuel Vadot				};
2826*2846c905SEmmanuel Vadot
2827*2846c905SEmmanuel Vadot				cpu2-critical {
2828*2846c905SEmmanuel Vadot					temperature = <125000>;
2829*2846c905SEmmanuel Vadot					hysteresis = <1000>;
2830*2846c905SEmmanuel Vadot					type = "critical";
2831*2846c905SEmmanuel Vadot				};
2832*2846c905SEmmanuel Vadot			};
2833*2846c905SEmmanuel Vadot
2834*2846c905SEmmanuel Vadot			cooling-maps {
2835*2846c905SEmmanuel Vadot				map0 {
2836*2846c905SEmmanuel Vadot					trip = <&cpu2_alert0>;
2837*2846c905SEmmanuel Vadot					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2838*2846c905SEmmanuel Vadot							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2839*2846c905SEmmanuel Vadot							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2840*2846c905SEmmanuel Vadot							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2841*2846c905SEmmanuel Vadot				};
2842*2846c905SEmmanuel Vadot
2843*2846c905SEmmanuel Vadot				map1 {
2844*2846c905SEmmanuel Vadot					trip = <&cpu2_alert1>;
2845*2846c905SEmmanuel Vadot					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2846*2846c905SEmmanuel Vadot							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2847*2846c905SEmmanuel Vadot							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2848*2846c905SEmmanuel Vadot							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2849*2846c905SEmmanuel Vadot				};
2850*2846c905SEmmanuel Vadot			};
2851*2846c905SEmmanuel Vadot		};
2852*2846c905SEmmanuel Vadot
2853*2846c905SEmmanuel Vadot		cpu3-thermal {
2854*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 4>;
2855*2846c905SEmmanuel Vadot
2856*2846c905SEmmanuel Vadot			trips {
2857*2846c905SEmmanuel Vadot				cpu3_alert0: trip-point0 {
2858*2846c905SEmmanuel Vadot					temperature = <110000>;
2859*2846c905SEmmanuel Vadot					hysteresis = <10000>;
2860*2846c905SEmmanuel Vadot					type = "passive";
2861*2846c905SEmmanuel Vadot				};
2862*2846c905SEmmanuel Vadot
2863*2846c905SEmmanuel Vadot				cpu3_alert1: rip-point1 {
2864*2846c905SEmmanuel Vadot					temperature = <115000>;
2865*2846c905SEmmanuel Vadot					hysteresis = <5000>;
2866*2846c905SEmmanuel Vadot					type = "passive";
2867*2846c905SEmmanuel Vadot				};
2868*2846c905SEmmanuel Vadot
2869*2846c905SEmmanuel Vadot				cpu3-critical {
2870*2846c905SEmmanuel Vadot					temperature = <125000>;
2871*2846c905SEmmanuel Vadot					hysteresis = <1000>;
2872*2846c905SEmmanuel Vadot					type = "critical";
2873*2846c905SEmmanuel Vadot				};
2874*2846c905SEmmanuel Vadot			};
2875*2846c905SEmmanuel Vadot
2876*2846c905SEmmanuel Vadot			cooling-maps {
2877*2846c905SEmmanuel Vadot				map0 {
2878*2846c905SEmmanuel Vadot					trip = <&cpu3_alert0>;
2879*2846c905SEmmanuel Vadot					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2880*2846c905SEmmanuel Vadot							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2881*2846c905SEmmanuel Vadot							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2882*2846c905SEmmanuel Vadot							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2883*2846c905SEmmanuel Vadot				};
2884*2846c905SEmmanuel Vadot
2885*2846c905SEmmanuel Vadot				map1 {
2886*2846c905SEmmanuel Vadot					trip = <&cpu3_alert1>;
2887*2846c905SEmmanuel Vadot					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2888*2846c905SEmmanuel Vadot							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2889*2846c905SEmmanuel Vadot							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2890*2846c905SEmmanuel Vadot							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2891*2846c905SEmmanuel Vadot				};
2892*2846c905SEmmanuel Vadot			};
2893*2846c905SEmmanuel Vadot		};
2894*2846c905SEmmanuel Vadot
2895*2846c905SEmmanuel Vadot		gpuss0-thermal {
2896*2846c905SEmmanuel Vadot			polling-delay-passive = <250>;
2897*2846c905SEmmanuel Vadot
2898*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 5>;
2899*2846c905SEmmanuel Vadot
2900*2846c905SEmmanuel Vadot			cooling-maps {
2901*2846c905SEmmanuel Vadot				map0 {
2902*2846c905SEmmanuel Vadot					trip = <&gpu0_alert0>;
2903*2846c905SEmmanuel Vadot					cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2904*2846c905SEmmanuel Vadot				};
2905*2846c905SEmmanuel Vadot			};
2906*2846c905SEmmanuel Vadot
2907*2846c905SEmmanuel Vadot			trips {
2908*2846c905SEmmanuel Vadot				gpu0_alert0: trip-point0 {
2909*2846c905SEmmanuel Vadot					temperature = <85000>;
2910*2846c905SEmmanuel Vadot					hysteresis = <1000>;
2911*2846c905SEmmanuel Vadot					type = "passive";
2912*2846c905SEmmanuel Vadot				};
2913*2846c905SEmmanuel Vadot
2914*2846c905SEmmanuel Vadot				trip-point1 {
2915*2846c905SEmmanuel Vadot					temperature = <90000>;
2916*2846c905SEmmanuel Vadot					hysteresis = <1000>;
2917*2846c905SEmmanuel Vadot					type = "hot";
2918*2846c905SEmmanuel Vadot				};
2919*2846c905SEmmanuel Vadot
2920*2846c905SEmmanuel Vadot				trip-point2 {
2921*2846c905SEmmanuel Vadot					temperature = <115000>;
2922*2846c905SEmmanuel Vadot					hysteresis = <1000>;
2923*2846c905SEmmanuel Vadot					type = "critical";
2924*2846c905SEmmanuel Vadot				};
2925*2846c905SEmmanuel Vadot			};
2926*2846c905SEmmanuel Vadot		};
2927*2846c905SEmmanuel Vadot
2928*2846c905SEmmanuel Vadot		gpuss1-thermal {
2929*2846c905SEmmanuel Vadot			polling-delay-passive = <250>;
2930*2846c905SEmmanuel Vadot
2931*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 6>;
2932*2846c905SEmmanuel Vadot
2933*2846c905SEmmanuel Vadot			cooling-maps {
2934*2846c905SEmmanuel Vadot				map0 {
2935*2846c905SEmmanuel Vadot					trip = <&gpu1_alert0>;
2936*2846c905SEmmanuel Vadot					cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2937*2846c905SEmmanuel Vadot				};
2938*2846c905SEmmanuel Vadot			};
2939*2846c905SEmmanuel Vadot
2940*2846c905SEmmanuel Vadot			trips {
2941*2846c905SEmmanuel Vadot				gpu1_alert0: trip-point0 {
2942*2846c905SEmmanuel Vadot					temperature = <85000>;
2943*2846c905SEmmanuel Vadot					hysteresis = <1000>;
2944*2846c905SEmmanuel Vadot					type = "passive";
2945*2846c905SEmmanuel Vadot				};
2946*2846c905SEmmanuel Vadot
2947*2846c905SEmmanuel Vadot				trip-point1 {
2948*2846c905SEmmanuel Vadot					temperature = <90000>;
2949*2846c905SEmmanuel Vadot					hysteresis = <1000>;
2950*2846c905SEmmanuel Vadot					type = "hot";
2951*2846c905SEmmanuel Vadot				};
2952*2846c905SEmmanuel Vadot
2953*2846c905SEmmanuel Vadot				trip-point2 {
2954*2846c905SEmmanuel Vadot					temperature = <115000>;
2955*2846c905SEmmanuel Vadot					hysteresis = <1000>;
2956*2846c905SEmmanuel Vadot					type = "critical";
2957*2846c905SEmmanuel Vadot				};
2958*2846c905SEmmanuel Vadot			};
2959*2846c905SEmmanuel Vadot		};
2960*2846c905SEmmanuel Vadot
2961*2846c905SEmmanuel Vadot		nspss0-thermal {
2962*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 7>;
2963*2846c905SEmmanuel Vadot
2964*2846c905SEmmanuel Vadot			trips {
2965*2846c905SEmmanuel Vadot				trip-point0 {
2966*2846c905SEmmanuel Vadot					temperature = <95000>;
2967*2846c905SEmmanuel Vadot					hysteresis = <5000>;
2968*2846c905SEmmanuel Vadot					type = "hot";
2969*2846c905SEmmanuel Vadot				};
2970*2846c905SEmmanuel Vadot
2971*2846c905SEmmanuel Vadot				trip-point1 {
2972*2846c905SEmmanuel Vadot					temperature = <115000>;
2973*2846c905SEmmanuel Vadot					hysteresis = <5000>;
2974*2846c905SEmmanuel Vadot					type = "hot";
2975*2846c905SEmmanuel Vadot				};
2976*2846c905SEmmanuel Vadot
2977*2846c905SEmmanuel Vadot				nspss1-critical {
2978*2846c905SEmmanuel Vadot					temperature = <125000>;
2979*2846c905SEmmanuel Vadot					hysteresis = <1000>;
2980*2846c905SEmmanuel Vadot					type = "critical";
2981*2846c905SEmmanuel Vadot				};
2982*2846c905SEmmanuel Vadot			};
2983*2846c905SEmmanuel Vadot		};
2984*2846c905SEmmanuel Vadot
2985*2846c905SEmmanuel Vadot		nspss1-thermal {
2986*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 8>;
2987*2846c905SEmmanuel Vadot
2988*2846c905SEmmanuel Vadot			trips {
2989*2846c905SEmmanuel Vadot				trip-point0 {
2990*2846c905SEmmanuel Vadot					temperature = <95000>;
2991*2846c905SEmmanuel Vadot					hysteresis = <5000>;
2992*2846c905SEmmanuel Vadot					type = "hot";
2993*2846c905SEmmanuel Vadot				};
2994*2846c905SEmmanuel Vadot
2995*2846c905SEmmanuel Vadot				trip-point1 {
2996*2846c905SEmmanuel Vadot					temperature = <115000>;
2997*2846c905SEmmanuel Vadot					hysteresis = <5000>;
2998*2846c905SEmmanuel Vadot					type = "hot";
2999*2846c905SEmmanuel Vadot				};
3000*2846c905SEmmanuel Vadot
3001*2846c905SEmmanuel Vadot				nspss2-critical {
3002*2846c905SEmmanuel Vadot					temperature = <125000>;
3003*2846c905SEmmanuel Vadot					hysteresis = <1000>;
3004*2846c905SEmmanuel Vadot					type = "critical";
3005*2846c905SEmmanuel Vadot				};
3006*2846c905SEmmanuel Vadot			};
3007*2846c905SEmmanuel Vadot		};
3008*2846c905SEmmanuel Vadot
3009*2846c905SEmmanuel Vadot		nspss2-thermal {
3010*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 9>;
3011*2846c905SEmmanuel Vadot
3012*2846c905SEmmanuel Vadot			trips {
3013*2846c905SEmmanuel Vadot				trip-point0 {
3014*2846c905SEmmanuel Vadot					temperature = <95000>;
3015*2846c905SEmmanuel Vadot					hysteresis = <5000>;
3016*2846c905SEmmanuel Vadot					type = "hot";
3017*2846c905SEmmanuel Vadot				};
3018*2846c905SEmmanuel Vadot
3019*2846c905SEmmanuel Vadot				trip-point1 {
3020*2846c905SEmmanuel Vadot					temperature = <115000>;
3021*2846c905SEmmanuel Vadot					hysteresis = <5000>;
3022*2846c905SEmmanuel Vadot					type = "hot";
3023*2846c905SEmmanuel Vadot				};
3024*2846c905SEmmanuel Vadot
3025*2846c905SEmmanuel Vadot				nspss2-critical {
3026*2846c905SEmmanuel Vadot					temperature = <125000>;
3027*2846c905SEmmanuel Vadot					hysteresis = <1000>;
3028*2846c905SEmmanuel Vadot					type = "critical";
3029*2846c905SEmmanuel Vadot				};
3030*2846c905SEmmanuel Vadot			};
3031*2846c905SEmmanuel Vadot		};
3032*2846c905SEmmanuel Vadot
3033*2846c905SEmmanuel Vadot		video-thermal {
3034*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 10>;
3035*2846c905SEmmanuel Vadot
3036*2846c905SEmmanuel Vadot			trips {
3037*2846c905SEmmanuel Vadot				trip-point0 {
3038*2846c905SEmmanuel Vadot					temperature = <115000>;
3039*2846c905SEmmanuel Vadot					hysteresis = <5000>;
3040*2846c905SEmmanuel Vadot					type = "hot";
3041*2846c905SEmmanuel Vadot				};
3042*2846c905SEmmanuel Vadot
3043*2846c905SEmmanuel Vadot				video-critical {
3044*2846c905SEmmanuel Vadot					temperature = <125000>;
3045*2846c905SEmmanuel Vadot					hysteresis = <0>;
3046*2846c905SEmmanuel Vadot					type = "critical";
3047*2846c905SEmmanuel Vadot				};
3048*2846c905SEmmanuel Vadot			};
3049*2846c905SEmmanuel Vadot		};
3050*2846c905SEmmanuel Vadot
3051*2846c905SEmmanuel Vadot		ddr-thermal {
3052*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 11>;
3053*2846c905SEmmanuel Vadot
3054*2846c905SEmmanuel Vadot			trips {
3055*2846c905SEmmanuel Vadot				trip-point0 {
3056*2846c905SEmmanuel Vadot					temperature = <115000>;
3057*2846c905SEmmanuel Vadot					hysteresis = <5000>;
3058*2846c905SEmmanuel Vadot					type = "hot";
3059*2846c905SEmmanuel Vadot				};
3060*2846c905SEmmanuel Vadot
3061*2846c905SEmmanuel Vadot				ddr-critical {
3062*2846c905SEmmanuel Vadot					temperature = <125000>;
3063*2846c905SEmmanuel Vadot					hysteresis = <0>;
3064*2846c905SEmmanuel Vadot					type = "critical";
3065*2846c905SEmmanuel Vadot				};
3066*2846c905SEmmanuel Vadot			};
3067*2846c905SEmmanuel Vadot		};
3068*2846c905SEmmanuel Vadot
3069*2846c905SEmmanuel Vadot		camera0-thermal {
3070*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 12>;
3071*2846c905SEmmanuel Vadot
3072*2846c905SEmmanuel Vadot			trips {
3073*2846c905SEmmanuel Vadot				trip-point0 {
3074*2846c905SEmmanuel Vadot					temperature = <115000>;
3075*2846c905SEmmanuel Vadot					hysteresis = <5000>;
3076*2846c905SEmmanuel Vadot					type = "hot";
3077*2846c905SEmmanuel Vadot				};
3078*2846c905SEmmanuel Vadot
3079*2846c905SEmmanuel Vadot				camera0-critical {
3080*2846c905SEmmanuel Vadot					temperature = <125000>;
3081*2846c905SEmmanuel Vadot					hysteresis = <0>;
3082*2846c905SEmmanuel Vadot					type = "critical";
3083*2846c905SEmmanuel Vadot				};
3084*2846c905SEmmanuel Vadot			};
3085*2846c905SEmmanuel Vadot		};
3086*2846c905SEmmanuel Vadot
3087*2846c905SEmmanuel Vadot		camera1-thermal {
3088*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 13>;
3089*2846c905SEmmanuel Vadot
3090*2846c905SEmmanuel Vadot			trips {
3091*2846c905SEmmanuel Vadot				trip-point0 {
3092*2846c905SEmmanuel Vadot					temperature = <115000>;
3093*2846c905SEmmanuel Vadot					hysteresis = <5000>;
3094*2846c905SEmmanuel Vadot					type = "hot";
3095*2846c905SEmmanuel Vadot				};
3096*2846c905SEmmanuel Vadot
3097*2846c905SEmmanuel Vadot				camera1-critical {
3098*2846c905SEmmanuel Vadot					temperature = <125000>;
3099*2846c905SEmmanuel Vadot					hysteresis = <0>;
3100*2846c905SEmmanuel Vadot					type = "critical";
3101*2846c905SEmmanuel Vadot				};
3102*2846c905SEmmanuel Vadot			};
3103*2846c905SEmmanuel Vadot		};
3104*2846c905SEmmanuel Vadot
3105*2846c905SEmmanuel Vadot		mdmss-thermal {
3106*2846c905SEmmanuel Vadot			thermal-sensors = <&tsens0 14>;
3107*2846c905SEmmanuel Vadot
3108*2846c905SEmmanuel Vadot			trips {
3109*2846c905SEmmanuel Vadot				trip-point0 {
3110*2846c905SEmmanuel Vadot					temperature = <115000>;
3111*2846c905SEmmanuel Vadot					hysteresis = <5000>;
3112*2846c905SEmmanuel Vadot					type = "hot";
3113*2846c905SEmmanuel Vadot				};
3114*2846c905SEmmanuel Vadot
3115*2846c905SEmmanuel Vadot				mdmss-critical {
3116*2846c905SEmmanuel Vadot					temperature = <125000>;
3117*2846c905SEmmanuel Vadot					hysteresis = <0>;
3118*2846c905SEmmanuel Vadot					type = "critical";
3119*2846c905SEmmanuel Vadot				};
3120*2846c905SEmmanuel Vadot			};
3121*2846c905SEmmanuel Vadot		};
3122*2846c905SEmmanuel Vadot	};
3123*2846c905SEmmanuel Vadot};
3124