xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/msm8998.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot/* Copyright (c) 2016, The Linux Foundation. All rights reserved. */
3c66ec88fSEmmanuel Vadot
4c66ec88fSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
5c66ec88fSEmmanuel Vadot#include <dt-bindings/clock/qcom,gcc-msm8998.h>
6c66ec88fSEmmanuel Vadot#include <dt-bindings/clock/qcom,gpucc-msm8998.h>
78cc087a1SEmmanuel Vadot#include <dt-bindings/clock/qcom,mmcc-msm8998.h>
8c66ec88fSEmmanuel Vadot#include <dt-bindings/clock/qcom,rpmcc.h>
984943d6fSEmmanuel Vadot#include <dt-bindings/firmware/qcom,scm.h>
10c66ec88fSEmmanuel Vadot#include <dt-bindings/power/qcom-rpmpd.h>
11c66ec88fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadot/ {
14c66ec88fSEmmanuel Vadot	interrupt-parent = <&intc>;
15c66ec88fSEmmanuel Vadot
16c66ec88fSEmmanuel Vadot	qcom,msm-id = <292 0x0>;
17c66ec88fSEmmanuel Vadot
18c66ec88fSEmmanuel Vadot	#address-cells = <2>;
19c66ec88fSEmmanuel Vadot	#size-cells = <2>;
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel Vadot	chosen { };
22c66ec88fSEmmanuel Vadot
23354d7675SEmmanuel Vadot	memory@80000000 {
24c66ec88fSEmmanuel Vadot		device_type = "memory";
25c66ec88fSEmmanuel Vadot		/* We expect the bootloader to fill in the reg */
26354d7675SEmmanuel Vadot		reg = <0x0 0x80000000 0x0 0x0>;
27c66ec88fSEmmanuel Vadot	};
28c66ec88fSEmmanuel Vadot
29c66ec88fSEmmanuel Vadot	reserved-memory {
30c66ec88fSEmmanuel Vadot		#address-cells = <2>;
31c66ec88fSEmmanuel Vadot		#size-cells = <2>;
32c66ec88fSEmmanuel Vadot		ranges;
33c66ec88fSEmmanuel Vadot
34c66ec88fSEmmanuel Vadot		hyp_mem: memory@85800000 {
35c66ec88fSEmmanuel Vadot			reg = <0x0 0x85800000 0x0 0x600000>;
36c66ec88fSEmmanuel Vadot			no-map;
37c66ec88fSEmmanuel Vadot		};
38c66ec88fSEmmanuel Vadot
39c66ec88fSEmmanuel Vadot		xbl_mem: memory@85e00000 {
40c66ec88fSEmmanuel Vadot			reg = <0x0 0x85e00000 0x0 0x100000>;
41c66ec88fSEmmanuel Vadot			no-map;
42c66ec88fSEmmanuel Vadot		};
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel Vadot		smem_mem: smem-mem@86000000 {
45c66ec88fSEmmanuel Vadot			reg = <0x0 0x86000000 0x0 0x200000>;
46c66ec88fSEmmanuel Vadot			no-map;
47c66ec88fSEmmanuel Vadot		};
48c66ec88fSEmmanuel Vadot
49c66ec88fSEmmanuel Vadot		tz_mem: memory@86200000 {
50c66ec88fSEmmanuel Vadot			reg = <0x0 0x86200000 0x0 0x2d00000>;
51c66ec88fSEmmanuel Vadot			no-map;
52c66ec88fSEmmanuel Vadot		};
53c66ec88fSEmmanuel Vadot
54c66ec88fSEmmanuel Vadot		rmtfs_mem: memory@88f00000 {
55c66ec88fSEmmanuel Vadot			compatible = "qcom,rmtfs-mem";
56c66ec88fSEmmanuel Vadot			reg = <0x0 0x88f00000 0x0 0x200000>;
57c66ec88fSEmmanuel Vadot			no-map;
58c66ec88fSEmmanuel Vadot
59c66ec88fSEmmanuel Vadot			qcom,client-id = <1>;
6084943d6fSEmmanuel Vadot			qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
61c66ec88fSEmmanuel Vadot		};
62c66ec88fSEmmanuel Vadot
63c66ec88fSEmmanuel Vadot		spss_mem: memory@8ab00000 {
64c66ec88fSEmmanuel Vadot			reg = <0x0 0x8ab00000 0x0 0x700000>;
65c66ec88fSEmmanuel Vadot			no-map;
66c66ec88fSEmmanuel Vadot		};
67c66ec88fSEmmanuel Vadot
68c66ec88fSEmmanuel Vadot		adsp_mem: memory@8b200000 {
69c66ec88fSEmmanuel Vadot			reg = <0x0 0x8b200000 0x0 0x1a00000>;
70c66ec88fSEmmanuel Vadot			no-map;
71c66ec88fSEmmanuel Vadot		};
72c66ec88fSEmmanuel Vadot
73c66ec88fSEmmanuel Vadot		mpss_mem: memory@8cc00000 {
74c66ec88fSEmmanuel Vadot			reg = <0x0 0x8cc00000 0x0 0x7000000>;
75c66ec88fSEmmanuel Vadot			no-map;
76c66ec88fSEmmanuel Vadot		};
77c66ec88fSEmmanuel Vadot
78c66ec88fSEmmanuel Vadot		venus_mem: memory@93c00000 {
79c66ec88fSEmmanuel Vadot			reg = <0x0 0x93c00000 0x0 0x500000>;
80c66ec88fSEmmanuel Vadot			no-map;
81c66ec88fSEmmanuel Vadot		};
82c66ec88fSEmmanuel Vadot
83c66ec88fSEmmanuel Vadot		mba_mem: memory@94100000 {
84c66ec88fSEmmanuel Vadot			reg = <0x0 0x94100000 0x0 0x200000>;
85c66ec88fSEmmanuel Vadot			no-map;
86c66ec88fSEmmanuel Vadot		};
87c66ec88fSEmmanuel Vadot
88c66ec88fSEmmanuel Vadot		slpi_mem: memory@94300000 {
89c66ec88fSEmmanuel Vadot			reg = <0x0 0x94300000 0x0 0xf00000>;
90c66ec88fSEmmanuel Vadot			no-map;
91c66ec88fSEmmanuel Vadot		};
92c66ec88fSEmmanuel Vadot
93c66ec88fSEmmanuel Vadot		ipa_fw_mem: memory@95200000 {
94c66ec88fSEmmanuel Vadot			reg = <0x0 0x95200000 0x0 0x10000>;
95c66ec88fSEmmanuel Vadot			no-map;
96c66ec88fSEmmanuel Vadot		};
97c66ec88fSEmmanuel Vadot
98c66ec88fSEmmanuel Vadot		ipa_gsi_mem: memory@95210000 {
99c66ec88fSEmmanuel Vadot			reg = <0x0 0x95210000 0x0 0x5000>;
100c66ec88fSEmmanuel Vadot			no-map;
101c66ec88fSEmmanuel Vadot		};
102c66ec88fSEmmanuel Vadot
103c66ec88fSEmmanuel Vadot		gpu_mem: memory@95600000 {
104c66ec88fSEmmanuel Vadot			reg = <0x0 0x95600000 0x0 0x100000>;
105c66ec88fSEmmanuel Vadot			no-map;
106c66ec88fSEmmanuel Vadot		};
107c66ec88fSEmmanuel Vadot
108c66ec88fSEmmanuel Vadot		wlan_msa_mem: memory@95700000 {
109c66ec88fSEmmanuel Vadot			reg = <0x0 0x95700000 0x0 0x100000>;
110c66ec88fSEmmanuel Vadot			no-map;
111c66ec88fSEmmanuel Vadot		};
112cb7aa33aSEmmanuel Vadot
113cb7aa33aSEmmanuel Vadot		mdata_mem: mpss-metadata {
114cb7aa33aSEmmanuel Vadot			alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>;
115cb7aa33aSEmmanuel Vadot			size = <0x0 0x4000>;
116cb7aa33aSEmmanuel Vadot			no-map;
117cb7aa33aSEmmanuel Vadot		};
118c66ec88fSEmmanuel Vadot	};
119c66ec88fSEmmanuel Vadot
120c66ec88fSEmmanuel Vadot	clocks {
121c66ec88fSEmmanuel Vadot		xo: xo-board {
122c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
123c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
124c66ec88fSEmmanuel Vadot			clock-frequency = <19200000>;
125c66ec88fSEmmanuel Vadot			clock-output-names = "xo_board";
126c66ec88fSEmmanuel Vadot		};
127c66ec88fSEmmanuel Vadot
1288cc087a1SEmmanuel Vadot		sleep_clk: sleep-clk {
129c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
130c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
131c66ec88fSEmmanuel Vadot			clock-frequency = <32764>;
132c66ec88fSEmmanuel Vadot		};
133c66ec88fSEmmanuel Vadot	};
134c66ec88fSEmmanuel Vadot
135c66ec88fSEmmanuel Vadot	cpus {
136c66ec88fSEmmanuel Vadot		#address-cells = <2>;
137c66ec88fSEmmanuel Vadot		#size-cells = <0>;
138c66ec88fSEmmanuel Vadot
139c66ec88fSEmmanuel Vadot		CPU0: cpu@0 {
140c66ec88fSEmmanuel Vadot			device_type = "cpu";
141c66ec88fSEmmanuel Vadot			compatible = "qcom,kryo280";
142c66ec88fSEmmanuel Vadot			reg = <0x0 0x0>;
143c66ec88fSEmmanuel Vadot			enable-method = "psci";
1445def4c47SEmmanuel Vadot			capacity-dmips-mhz = <1024>;
145c66ec88fSEmmanuel Vadot			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
146c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_0>;
147c66ec88fSEmmanuel Vadot			L2_0: l2-cache {
148c9ccf3a3SEmmanuel Vadot				compatible = "cache";
149c66ec88fSEmmanuel Vadot				cache-level = <2>;
150fac71e4eSEmmanuel Vadot				cache-unified;
151c66ec88fSEmmanuel Vadot			};
152c66ec88fSEmmanuel Vadot		};
153c66ec88fSEmmanuel Vadot
154c66ec88fSEmmanuel Vadot		CPU1: cpu@1 {
155c66ec88fSEmmanuel Vadot			device_type = "cpu";
156c66ec88fSEmmanuel Vadot			compatible = "qcom,kryo280";
157c66ec88fSEmmanuel Vadot			reg = <0x0 0x1>;
158c66ec88fSEmmanuel Vadot			enable-method = "psci";
1595def4c47SEmmanuel Vadot			capacity-dmips-mhz = <1024>;
160c66ec88fSEmmanuel Vadot			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
161c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_0>;
162c66ec88fSEmmanuel Vadot		};
163c66ec88fSEmmanuel Vadot
164c66ec88fSEmmanuel Vadot		CPU2: cpu@2 {
165c66ec88fSEmmanuel Vadot			device_type = "cpu";
166c66ec88fSEmmanuel Vadot			compatible = "qcom,kryo280";
167c66ec88fSEmmanuel Vadot			reg = <0x0 0x2>;
168c66ec88fSEmmanuel Vadot			enable-method = "psci";
1695def4c47SEmmanuel Vadot			capacity-dmips-mhz = <1024>;
170c66ec88fSEmmanuel Vadot			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
171c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_0>;
172c66ec88fSEmmanuel Vadot		};
173c66ec88fSEmmanuel Vadot
174c66ec88fSEmmanuel Vadot		CPU3: cpu@3 {
175c66ec88fSEmmanuel Vadot			device_type = "cpu";
176c66ec88fSEmmanuel Vadot			compatible = "qcom,kryo280";
177c66ec88fSEmmanuel Vadot			reg = <0x0 0x3>;
178c66ec88fSEmmanuel Vadot			enable-method = "psci";
1795def4c47SEmmanuel Vadot			capacity-dmips-mhz = <1024>;
180c66ec88fSEmmanuel Vadot			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
181c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_0>;
182c66ec88fSEmmanuel Vadot		};
183c66ec88fSEmmanuel Vadot
184c66ec88fSEmmanuel Vadot		CPU4: cpu@100 {
185c66ec88fSEmmanuel Vadot			device_type = "cpu";
186c66ec88fSEmmanuel Vadot			compatible = "qcom,kryo280";
187c66ec88fSEmmanuel Vadot			reg = <0x0 0x100>;
188c66ec88fSEmmanuel Vadot			enable-method = "psci";
1895def4c47SEmmanuel Vadot			capacity-dmips-mhz = <1536>;
190c66ec88fSEmmanuel Vadot			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
191c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_1>;
192c66ec88fSEmmanuel Vadot			L2_1: l2-cache {
193c9ccf3a3SEmmanuel Vadot				compatible = "cache";
194c66ec88fSEmmanuel Vadot				cache-level = <2>;
195fac71e4eSEmmanuel Vadot				cache-unified;
196c66ec88fSEmmanuel Vadot			};
197c66ec88fSEmmanuel Vadot		};
198c66ec88fSEmmanuel Vadot
199c66ec88fSEmmanuel Vadot		CPU5: cpu@101 {
200c66ec88fSEmmanuel Vadot			device_type = "cpu";
201c66ec88fSEmmanuel Vadot			compatible = "qcom,kryo280";
202c66ec88fSEmmanuel Vadot			reg = <0x0 0x101>;
203c66ec88fSEmmanuel Vadot			enable-method = "psci";
2045def4c47SEmmanuel Vadot			capacity-dmips-mhz = <1536>;
205c66ec88fSEmmanuel Vadot			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
206c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_1>;
207c66ec88fSEmmanuel Vadot		};
208c66ec88fSEmmanuel Vadot
209c66ec88fSEmmanuel Vadot		CPU6: cpu@102 {
210c66ec88fSEmmanuel Vadot			device_type = "cpu";
211c66ec88fSEmmanuel Vadot			compatible = "qcom,kryo280";
212c66ec88fSEmmanuel Vadot			reg = <0x0 0x102>;
213c66ec88fSEmmanuel Vadot			enable-method = "psci";
2145def4c47SEmmanuel Vadot			capacity-dmips-mhz = <1536>;
215c66ec88fSEmmanuel Vadot			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
216c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_1>;
217c66ec88fSEmmanuel Vadot		};
218c66ec88fSEmmanuel Vadot
219c66ec88fSEmmanuel Vadot		CPU7: cpu@103 {
220c66ec88fSEmmanuel Vadot			device_type = "cpu";
221c66ec88fSEmmanuel Vadot			compatible = "qcom,kryo280";
222c66ec88fSEmmanuel Vadot			reg = <0x0 0x103>;
223c66ec88fSEmmanuel Vadot			enable-method = "psci";
2245def4c47SEmmanuel Vadot			capacity-dmips-mhz = <1536>;
225c66ec88fSEmmanuel Vadot			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
226c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_1>;
227c66ec88fSEmmanuel Vadot		};
228c66ec88fSEmmanuel Vadot
229c66ec88fSEmmanuel Vadot		cpu-map {
230c66ec88fSEmmanuel Vadot			cluster0 {
231c66ec88fSEmmanuel Vadot				core0 {
232c66ec88fSEmmanuel Vadot					cpu = <&CPU0>;
233c66ec88fSEmmanuel Vadot				};
234c66ec88fSEmmanuel Vadot
235c66ec88fSEmmanuel Vadot				core1 {
236c66ec88fSEmmanuel Vadot					cpu = <&CPU1>;
237c66ec88fSEmmanuel Vadot				};
238c66ec88fSEmmanuel Vadot
239c66ec88fSEmmanuel Vadot				core2 {
240c66ec88fSEmmanuel Vadot					cpu = <&CPU2>;
241c66ec88fSEmmanuel Vadot				};
242c66ec88fSEmmanuel Vadot
243c66ec88fSEmmanuel Vadot				core3 {
244c66ec88fSEmmanuel Vadot					cpu = <&CPU3>;
245c66ec88fSEmmanuel Vadot				};
246c66ec88fSEmmanuel Vadot			};
247c66ec88fSEmmanuel Vadot
248c66ec88fSEmmanuel Vadot			cluster1 {
249c66ec88fSEmmanuel Vadot				core0 {
250c66ec88fSEmmanuel Vadot					cpu = <&CPU4>;
251c66ec88fSEmmanuel Vadot				};
252c66ec88fSEmmanuel Vadot
253c66ec88fSEmmanuel Vadot				core1 {
254c66ec88fSEmmanuel Vadot					cpu = <&CPU5>;
255c66ec88fSEmmanuel Vadot				};
256c66ec88fSEmmanuel Vadot
257c66ec88fSEmmanuel Vadot				core2 {
258c66ec88fSEmmanuel Vadot					cpu = <&CPU6>;
259c66ec88fSEmmanuel Vadot				};
260c66ec88fSEmmanuel Vadot
261c66ec88fSEmmanuel Vadot				core3 {
262c66ec88fSEmmanuel Vadot					cpu = <&CPU7>;
263c66ec88fSEmmanuel Vadot				};
264c66ec88fSEmmanuel Vadot			};
265c66ec88fSEmmanuel Vadot		};
266c66ec88fSEmmanuel Vadot
267c66ec88fSEmmanuel Vadot		idle-states {
268c66ec88fSEmmanuel Vadot			entry-method = "psci";
269c66ec88fSEmmanuel Vadot
270c66ec88fSEmmanuel Vadot			LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
271c66ec88fSEmmanuel Vadot				compatible = "arm,idle-state";
272c66ec88fSEmmanuel Vadot				idle-state-name = "little-retention";
2738cc087a1SEmmanuel Vadot				/* CPU Retention (C2D), L2 Active */
274c66ec88fSEmmanuel Vadot				arm,psci-suspend-param = <0x00000002>;
275c66ec88fSEmmanuel Vadot				entry-latency-us = <81>;
276c66ec88fSEmmanuel Vadot				exit-latency-us = <86>;
2778cc087a1SEmmanuel Vadot				min-residency-us = <504>;
278c66ec88fSEmmanuel Vadot			};
279c66ec88fSEmmanuel Vadot
280c66ec88fSEmmanuel Vadot			LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 {
281c66ec88fSEmmanuel Vadot				compatible = "arm,idle-state";
282c66ec88fSEmmanuel Vadot				idle-state-name = "little-power-collapse";
2838cc087a1SEmmanuel Vadot				/* CPU + L2 Power Collapse (C3, D4) */
284c66ec88fSEmmanuel Vadot				arm,psci-suspend-param = <0x40000003>;
2858cc087a1SEmmanuel Vadot				entry-latency-us = <814>;
2868cc087a1SEmmanuel Vadot				exit-latency-us = <4562>;
2878cc087a1SEmmanuel Vadot				min-residency-us = <9183>;
288c66ec88fSEmmanuel Vadot				local-timer-stop;
289c66ec88fSEmmanuel Vadot			};
290c66ec88fSEmmanuel Vadot
291c66ec88fSEmmanuel Vadot			BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
292c66ec88fSEmmanuel Vadot				compatible = "arm,idle-state";
293c66ec88fSEmmanuel Vadot				idle-state-name = "big-retention";
2948cc087a1SEmmanuel Vadot				/* CPU Retention (C2D), L2 Active */
295c66ec88fSEmmanuel Vadot				arm,psci-suspend-param = <0x00000002>;
296c66ec88fSEmmanuel Vadot				entry-latency-us = <79>;
297c66ec88fSEmmanuel Vadot				exit-latency-us = <82>;
2988cc087a1SEmmanuel Vadot				min-residency-us = <1302>;
299c66ec88fSEmmanuel Vadot			};
300c66ec88fSEmmanuel Vadot
301c66ec88fSEmmanuel Vadot			BIG_CPU_SLEEP_1: cpu-sleep-1-1 {
302c66ec88fSEmmanuel Vadot				compatible = "arm,idle-state";
303c66ec88fSEmmanuel Vadot				idle-state-name = "big-power-collapse";
3048cc087a1SEmmanuel Vadot				/* CPU + L2 Power Collapse (C3, D4) */
305c66ec88fSEmmanuel Vadot				arm,psci-suspend-param = <0x40000003>;
3068cc087a1SEmmanuel Vadot				entry-latency-us = <724>;
3078cc087a1SEmmanuel Vadot				exit-latency-us = <2027>;
3088cc087a1SEmmanuel Vadot				min-residency-us = <9419>;
309c66ec88fSEmmanuel Vadot				local-timer-stop;
310c66ec88fSEmmanuel Vadot			};
311c66ec88fSEmmanuel Vadot		};
312c66ec88fSEmmanuel Vadot	};
313c66ec88fSEmmanuel Vadot
314c66ec88fSEmmanuel Vadot	firmware {
315c66ec88fSEmmanuel Vadot		scm {
316c66ec88fSEmmanuel Vadot			compatible = "qcom,scm-msm8998", "qcom,scm";
317c66ec88fSEmmanuel Vadot		};
318c66ec88fSEmmanuel Vadot	};
319c66ec88fSEmmanuel Vadot
320aa1a8ff2SEmmanuel Vadot	dsi_opp_table: opp-table-dsi {
321aa1a8ff2SEmmanuel Vadot		compatible = "operating-points-v2";
322aa1a8ff2SEmmanuel Vadot
323aa1a8ff2SEmmanuel Vadot		opp-131250000 {
324aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <131250000>;
325aa1a8ff2SEmmanuel Vadot			required-opps = <&rpmpd_opp_low_svs>;
326aa1a8ff2SEmmanuel Vadot		};
327aa1a8ff2SEmmanuel Vadot
328aa1a8ff2SEmmanuel Vadot		opp-210000000 {
329aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <210000000>;
330aa1a8ff2SEmmanuel Vadot			required-opps = <&rpmpd_opp_svs>;
331aa1a8ff2SEmmanuel Vadot		};
332aa1a8ff2SEmmanuel Vadot
333aa1a8ff2SEmmanuel Vadot		opp-312500000 {
334aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <312500000>;
335aa1a8ff2SEmmanuel Vadot			required-opps = <&rpmpd_opp_nom>;
336aa1a8ff2SEmmanuel Vadot		};
337aa1a8ff2SEmmanuel Vadot	};
338aa1a8ff2SEmmanuel Vadot
339c66ec88fSEmmanuel Vadot	psci {
340c66ec88fSEmmanuel Vadot		compatible = "arm,psci-1.0";
341c66ec88fSEmmanuel Vadot		method = "smc";
342c66ec88fSEmmanuel Vadot	};
343c66ec88fSEmmanuel Vadot
344aa1a8ff2SEmmanuel Vadot	rpm: remoteproc {
345aa1a8ff2SEmmanuel Vadot		compatible = "qcom,msm8998-rpm-proc", "qcom,rpm-proc";
346aa1a8ff2SEmmanuel Vadot
347aa1a8ff2SEmmanuel Vadot		glink-edge {
348c66ec88fSEmmanuel Vadot			compatible = "qcom,glink-rpm";
349c66ec88fSEmmanuel Vadot
350c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
351c66ec88fSEmmanuel Vadot			qcom,rpm-msg-ram = <&rpm_msg_ram>;
352c66ec88fSEmmanuel Vadot			mboxes = <&apcs_glb 0>;
353c66ec88fSEmmanuel Vadot
354c66ec88fSEmmanuel Vadot			rpm_requests: rpm-requests {
355*b2d2a78aSEmmanuel Vadot				compatible = "qcom,rpm-msm8998", "qcom,glink-smd-rpm";
356c66ec88fSEmmanuel Vadot				qcom,glink-channels = "rpm_requests";
357c66ec88fSEmmanuel Vadot
358c66ec88fSEmmanuel Vadot				rpmcc: clock-controller {
359c66ec88fSEmmanuel Vadot					compatible = "qcom,rpmcc-msm8998", "qcom,rpmcc";
360aa1a8ff2SEmmanuel Vadot					clocks = <&xo>;
361aa1a8ff2SEmmanuel Vadot					clock-names = "xo";
362c66ec88fSEmmanuel Vadot					#clock-cells = <1>;
363c66ec88fSEmmanuel Vadot				};
364c66ec88fSEmmanuel Vadot
365c66ec88fSEmmanuel Vadot				rpmpd: power-controller {
366c66ec88fSEmmanuel Vadot					compatible = "qcom,msm8998-rpmpd";
367c66ec88fSEmmanuel Vadot					#power-domain-cells = <1>;
368c66ec88fSEmmanuel Vadot					operating-points-v2 = <&rpmpd_opp_table>;
369c66ec88fSEmmanuel Vadot
370c66ec88fSEmmanuel Vadot					rpmpd_opp_table: opp-table {
371c66ec88fSEmmanuel Vadot						compatible = "operating-points-v2";
372c66ec88fSEmmanuel Vadot
373c66ec88fSEmmanuel Vadot						rpmpd_opp_ret: opp1 {
3745def4c47SEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_RETENTION>;
375c66ec88fSEmmanuel Vadot						};
376c66ec88fSEmmanuel Vadot
377c66ec88fSEmmanuel Vadot						rpmpd_opp_ret_plus: opp2 {
3785def4c47SEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_RETENTION_PLUS>;
379c66ec88fSEmmanuel Vadot						};
380c66ec88fSEmmanuel Vadot
381c66ec88fSEmmanuel Vadot						rpmpd_opp_min_svs: opp3 {
3825def4c47SEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_MIN_SVS>;
383c66ec88fSEmmanuel Vadot						};
384c66ec88fSEmmanuel Vadot
385c66ec88fSEmmanuel Vadot						rpmpd_opp_low_svs: opp4 {
3865def4c47SEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_LOW_SVS>;
387c66ec88fSEmmanuel Vadot						};
388c66ec88fSEmmanuel Vadot
389c66ec88fSEmmanuel Vadot						rpmpd_opp_svs: opp5 {
3905def4c47SEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_SVS>;
391c66ec88fSEmmanuel Vadot						};
392c66ec88fSEmmanuel Vadot
393c66ec88fSEmmanuel Vadot						rpmpd_opp_svs_plus: opp6 {
3945def4c47SEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
395c66ec88fSEmmanuel Vadot						};
396c66ec88fSEmmanuel Vadot
397c66ec88fSEmmanuel Vadot						rpmpd_opp_nom: opp7 {
3985def4c47SEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_NOM>;
399c66ec88fSEmmanuel Vadot						};
400c66ec88fSEmmanuel Vadot
401c66ec88fSEmmanuel Vadot						rpmpd_opp_nom_plus: opp8 {
4025def4c47SEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_NOM_PLUS>;
403c66ec88fSEmmanuel Vadot						};
404c66ec88fSEmmanuel Vadot
405c66ec88fSEmmanuel Vadot						rpmpd_opp_turbo: opp9 {
4065def4c47SEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_TURBO>;
407c66ec88fSEmmanuel Vadot						};
408c66ec88fSEmmanuel Vadot
409c66ec88fSEmmanuel Vadot						rpmpd_opp_turbo_plus: opp10 {
4105def4c47SEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_BINNING>;
411c66ec88fSEmmanuel Vadot						};
412c66ec88fSEmmanuel Vadot					};
413c66ec88fSEmmanuel Vadot				};
414c66ec88fSEmmanuel Vadot			};
415c66ec88fSEmmanuel Vadot		};
416aa1a8ff2SEmmanuel Vadot	};
417c66ec88fSEmmanuel Vadot
418c66ec88fSEmmanuel Vadot	smem {
419c66ec88fSEmmanuel Vadot		compatible = "qcom,smem";
420c66ec88fSEmmanuel Vadot		memory-region = <&smem_mem>;
421c66ec88fSEmmanuel Vadot		hwlocks = <&tcsr_mutex 3>;
422c66ec88fSEmmanuel Vadot	};
423c66ec88fSEmmanuel Vadot
424c66ec88fSEmmanuel Vadot	smp2p-lpass {
425c66ec88fSEmmanuel Vadot		compatible = "qcom,smp2p";
426c66ec88fSEmmanuel Vadot		qcom,smem = <443>, <429>;
427c66ec88fSEmmanuel Vadot
428c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
429c66ec88fSEmmanuel Vadot
430c66ec88fSEmmanuel Vadot		mboxes = <&apcs_glb 10>;
431c66ec88fSEmmanuel Vadot
432c66ec88fSEmmanuel Vadot		qcom,local-pid = <0>;
433c66ec88fSEmmanuel Vadot		qcom,remote-pid = <2>;
434c66ec88fSEmmanuel Vadot
435c66ec88fSEmmanuel Vadot		adsp_smp2p_out: master-kernel {
436c66ec88fSEmmanuel Vadot			qcom,entry-name = "master-kernel";
437c66ec88fSEmmanuel Vadot			#qcom,smem-state-cells = <1>;
438c66ec88fSEmmanuel Vadot		};
439c66ec88fSEmmanuel Vadot
440c66ec88fSEmmanuel Vadot		adsp_smp2p_in: slave-kernel {
441c66ec88fSEmmanuel Vadot			qcom,entry-name = "slave-kernel";
442c66ec88fSEmmanuel Vadot
443c66ec88fSEmmanuel Vadot			interrupt-controller;
444c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
445c66ec88fSEmmanuel Vadot		};
446c66ec88fSEmmanuel Vadot	};
447c66ec88fSEmmanuel Vadot
448c66ec88fSEmmanuel Vadot	smp2p-mpss {
449c66ec88fSEmmanuel Vadot		compatible = "qcom,smp2p";
450c66ec88fSEmmanuel Vadot		qcom,smem = <435>, <428>;
451c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
452c66ec88fSEmmanuel Vadot		mboxes = <&apcs_glb 14>;
453c66ec88fSEmmanuel Vadot		qcom,local-pid = <0>;
454c66ec88fSEmmanuel Vadot		qcom,remote-pid = <1>;
455c66ec88fSEmmanuel Vadot
456c66ec88fSEmmanuel Vadot		modem_smp2p_out: master-kernel {
457c66ec88fSEmmanuel Vadot			qcom,entry-name = "master-kernel";
458c66ec88fSEmmanuel Vadot			#qcom,smem-state-cells = <1>;
459c66ec88fSEmmanuel Vadot		};
460c66ec88fSEmmanuel Vadot
461c66ec88fSEmmanuel Vadot		modem_smp2p_in: slave-kernel {
462c66ec88fSEmmanuel Vadot			qcom,entry-name = "slave-kernel";
463c66ec88fSEmmanuel Vadot			interrupt-controller;
464c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
465c66ec88fSEmmanuel Vadot		};
466c66ec88fSEmmanuel Vadot	};
467c66ec88fSEmmanuel Vadot
468c66ec88fSEmmanuel Vadot	smp2p-slpi {
469c66ec88fSEmmanuel Vadot		compatible = "qcom,smp2p";
470c66ec88fSEmmanuel Vadot		qcom,smem = <481>, <430>;
471c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
472c66ec88fSEmmanuel Vadot		mboxes = <&apcs_glb 26>;
473c66ec88fSEmmanuel Vadot		qcom,local-pid = <0>;
474c66ec88fSEmmanuel Vadot		qcom,remote-pid = <3>;
475c66ec88fSEmmanuel Vadot
476c66ec88fSEmmanuel Vadot		slpi_smp2p_out: master-kernel {
477c66ec88fSEmmanuel Vadot			qcom,entry-name = "master-kernel";
478c66ec88fSEmmanuel Vadot			#qcom,smem-state-cells = <1>;
479c66ec88fSEmmanuel Vadot		};
480c66ec88fSEmmanuel Vadot
481c66ec88fSEmmanuel Vadot		slpi_smp2p_in: slave-kernel {
482c66ec88fSEmmanuel Vadot			qcom,entry-name = "slave-kernel";
483c66ec88fSEmmanuel Vadot			interrupt-controller;
484c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
485c66ec88fSEmmanuel Vadot		};
486c66ec88fSEmmanuel Vadot	};
487c66ec88fSEmmanuel Vadot
488c66ec88fSEmmanuel Vadot	thermal-zones {
489c66ec88fSEmmanuel Vadot		cpu0-thermal {
490c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
491c66ec88fSEmmanuel Vadot
492c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens0 1>;
493c66ec88fSEmmanuel Vadot
494c66ec88fSEmmanuel Vadot			trips {
495c66ec88fSEmmanuel Vadot				cpu0_alert0: trip-point0 {
496c66ec88fSEmmanuel Vadot					temperature = <75000>;
497c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
498c66ec88fSEmmanuel Vadot					type = "passive";
499c66ec88fSEmmanuel Vadot				};
500c66ec88fSEmmanuel Vadot
501cb7aa33aSEmmanuel Vadot				cpu0_crit: cpu-crit {
502c66ec88fSEmmanuel Vadot					temperature = <110000>;
503c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
504c66ec88fSEmmanuel Vadot					type = "critical";
505c66ec88fSEmmanuel Vadot				};
506c66ec88fSEmmanuel Vadot			};
507c66ec88fSEmmanuel Vadot		};
508c66ec88fSEmmanuel Vadot
509c66ec88fSEmmanuel Vadot		cpu1-thermal {
510c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
511c66ec88fSEmmanuel Vadot
512c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens0 2>;
513c66ec88fSEmmanuel Vadot
514c66ec88fSEmmanuel Vadot			trips {
515c66ec88fSEmmanuel Vadot				cpu1_alert0: trip-point0 {
516c66ec88fSEmmanuel Vadot					temperature = <75000>;
517c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
518c66ec88fSEmmanuel Vadot					type = "passive";
519c66ec88fSEmmanuel Vadot				};
520c66ec88fSEmmanuel Vadot
521cb7aa33aSEmmanuel Vadot				cpu1_crit: cpu-crit {
522c66ec88fSEmmanuel Vadot					temperature = <110000>;
523c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
524c66ec88fSEmmanuel Vadot					type = "critical";
525c66ec88fSEmmanuel Vadot				};
526c66ec88fSEmmanuel Vadot			};
527c66ec88fSEmmanuel Vadot		};
528c66ec88fSEmmanuel Vadot
529c66ec88fSEmmanuel Vadot		cpu2-thermal {
530c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
531c66ec88fSEmmanuel Vadot
532c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens0 3>;
533c66ec88fSEmmanuel Vadot
534c66ec88fSEmmanuel Vadot			trips {
535c66ec88fSEmmanuel Vadot				cpu2_alert0: trip-point0 {
536c66ec88fSEmmanuel Vadot					temperature = <75000>;
537c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
538c66ec88fSEmmanuel Vadot					type = "passive";
539c66ec88fSEmmanuel Vadot				};
540c66ec88fSEmmanuel Vadot
541cb7aa33aSEmmanuel Vadot				cpu2_crit: cpu-crit {
542c66ec88fSEmmanuel Vadot					temperature = <110000>;
543c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
544c66ec88fSEmmanuel Vadot					type = "critical";
545c66ec88fSEmmanuel Vadot				};
546c66ec88fSEmmanuel Vadot			};
547c66ec88fSEmmanuel Vadot		};
548c66ec88fSEmmanuel Vadot
549c66ec88fSEmmanuel Vadot		cpu3-thermal {
550c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
551c66ec88fSEmmanuel Vadot
552c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens0 4>;
553c66ec88fSEmmanuel Vadot
554c66ec88fSEmmanuel Vadot			trips {
555c66ec88fSEmmanuel Vadot				cpu3_alert0: trip-point0 {
556c66ec88fSEmmanuel Vadot					temperature = <75000>;
557c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
558c66ec88fSEmmanuel Vadot					type = "passive";
559c66ec88fSEmmanuel Vadot				};
560c66ec88fSEmmanuel Vadot
561cb7aa33aSEmmanuel Vadot				cpu3_crit: cpu-crit {
562c66ec88fSEmmanuel Vadot					temperature = <110000>;
563c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
564c66ec88fSEmmanuel Vadot					type = "critical";
565c66ec88fSEmmanuel Vadot				};
566c66ec88fSEmmanuel Vadot			};
567c66ec88fSEmmanuel Vadot		};
568c66ec88fSEmmanuel Vadot
569c66ec88fSEmmanuel Vadot		cpu4-thermal {
570c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
571c66ec88fSEmmanuel Vadot
572c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens0 7>;
573c66ec88fSEmmanuel Vadot
574c66ec88fSEmmanuel Vadot			trips {
575c66ec88fSEmmanuel Vadot				cpu4_alert0: trip-point0 {
576c66ec88fSEmmanuel Vadot					temperature = <75000>;
577c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
578c66ec88fSEmmanuel Vadot					type = "passive";
579c66ec88fSEmmanuel Vadot				};
580c66ec88fSEmmanuel Vadot
581cb7aa33aSEmmanuel Vadot				cpu4_crit: cpu-crit {
582c66ec88fSEmmanuel Vadot					temperature = <110000>;
583c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
584c66ec88fSEmmanuel Vadot					type = "critical";
585c66ec88fSEmmanuel Vadot				};
586c66ec88fSEmmanuel Vadot			};
587c66ec88fSEmmanuel Vadot		};
588c66ec88fSEmmanuel Vadot
589c66ec88fSEmmanuel Vadot		cpu5-thermal {
590c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
591c66ec88fSEmmanuel Vadot
592c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens0 8>;
593c66ec88fSEmmanuel Vadot
594c66ec88fSEmmanuel Vadot			trips {
595c66ec88fSEmmanuel Vadot				cpu5_alert0: trip-point0 {
596c66ec88fSEmmanuel Vadot					temperature = <75000>;
597c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
598c66ec88fSEmmanuel Vadot					type = "passive";
599c66ec88fSEmmanuel Vadot				};
600c66ec88fSEmmanuel Vadot
601cb7aa33aSEmmanuel Vadot				cpu5_crit: cpu-crit {
602c66ec88fSEmmanuel Vadot					temperature = <110000>;
603c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
604c66ec88fSEmmanuel Vadot					type = "critical";
605c66ec88fSEmmanuel Vadot				};
606c66ec88fSEmmanuel Vadot			};
607c66ec88fSEmmanuel Vadot		};
608c66ec88fSEmmanuel Vadot
609c66ec88fSEmmanuel Vadot		cpu6-thermal {
610c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
611c66ec88fSEmmanuel Vadot
612c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens0 9>;
613c66ec88fSEmmanuel Vadot
614c66ec88fSEmmanuel Vadot			trips {
615c66ec88fSEmmanuel Vadot				cpu6_alert0: trip-point0 {
616c66ec88fSEmmanuel Vadot					temperature = <75000>;
617c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
618c66ec88fSEmmanuel Vadot					type = "passive";
619c66ec88fSEmmanuel Vadot				};
620c66ec88fSEmmanuel Vadot
621cb7aa33aSEmmanuel Vadot				cpu6_crit: cpu-crit {
622c66ec88fSEmmanuel Vadot					temperature = <110000>;
623c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
624c66ec88fSEmmanuel Vadot					type = "critical";
625c66ec88fSEmmanuel Vadot				};
626c66ec88fSEmmanuel Vadot			};
627c66ec88fSEmmanuel Vadot		};
628c66ec88fSEmmanuel Vadot
629c66ec88fSEmmanuel Vadot		cpu7-thermal {
630c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
631c66ec88fSEmmanuel Vadot
632c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens0 10>;
633c66ec88fSEmmanuel Vadot
634c66ec88fSEmmanuel Vadot			trips {
635c66ec88fSEmmanuel Vadot				cpu7_alert0: trip-point0 {
636c66ec88fSEmmanuel Vadot					temperature = <75000>;
637c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
638c66ec88fSEmmanuel Vadot					type = "passive";
639c66ec88fSEmmanuel Vadot				};
640c66ec88fSEmmanuel Vadot
641cb7aa33aSEmmanuel Vadot				cpu7_crit: cpu-crit {
642c66ec88fSEmmanuel Vadot					temperature = <110000>;
643c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
644c66ec88fSEmmanuel Vadot					type = "critical";
645c66ec88fSEmmanuel Vadot				};
646c66ec88fSEmmanuel Vadot			};
647c66ec88fSEmmanuel Vadot		};
648c66ec88fSEmmanuel Vadot
649c9ccf3a3SEmmanuel Vadot		gpu-bottom-thermal {
650c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
651c66ec88fSEmmanuel Vadot
652c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens0 12>;
653c66ec88fSEmmanuel Vadot
654c66ec88fSEmmanuel Vadot			trips {
655c66ec88fSEmmanuel Vadot				gpu1_alert0: trip-point0 {
656c66ec88fSEmmanuel Vadot					temperature = <90000>;
657c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
658c66ec88fSEmmanuel Vadot					type = "hot";
659c66ec88fSEmmanuel Vadot				};
660c66ec88fSEmmanuel Vadot			};
661c66ec88fSEmmanuel Vadot		};
662c66ec88fSEmmanuel Vadot
663c9ccf3a3SEmmanuel Vadot		gpu-top-thermal {
664c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
665c66ec88fSEmmanuel Vadot
666c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens0 13>;
667c66ec88fSEmmanuel Vadot
668c66ec88fSEmmanuel Vadot			trips {
669c66ec88fSEmmanuel Vadot				gpu2_alert0: trip-point0 {
670c66ec88fSEmmanuel Vadot					temperature = <90000>;
671c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
672c66ec88fSEmmanuel Vadot					type = "hot";
673c66ec88fSEmmanuel Vadot				};
674c66ec88fSEmmanuel Vadot			};
675c66ec88fSEmmanuel Vadot		};
676c66ec88fSEmmanuel Vadot
677c66ec88fSEmmanuel Vadot		clust0-mhm-thermal {
678c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
679c66ec88fSEmmanuel Vadot
680c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens0 5>;
681c66ec88fSEmmanuel Vadot
682c66ec88fSEmmanuel Vadot			trips {
683c66ec88fSEmmanuel Vadot				cluster0_mhm_alert0: trip-point0 {
684c66ec88fSEmmanuel Vadot					temperature = <90000>;
685c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
686c66ec88fSEmmanuel Vadot					type = "hot";
687c66ec88fSEmmanuel Vadot				};
688c66ec88fSEmmanuel Vadot			};
689c66ec88fSEmmanuel Vadot		};
690c66ec88fSEmmanuel Vadot
691c66ec88fSEmmanuel Vadot		clust1-mhm-thermal {
692c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
693c66ec88fSEmmanuel Vadot
694c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens0 6>;
695c66ec88fSEmmanuel Vadot
696c66ec88fSEmmanuel Vadot			trips {
697c66ec88fSEmmanuel Vadot				cluster1_mhm_alert0: trip-point0 {
698c66ec88fSEmmanuel Vadot					temperature = <90000>;
699c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
700c66ec88fSEmmanuel Vadot					type = "hot";
701c66ec88fSEmmanuel Vadot				};
702c66ec88fSEmmanuel Vadot			};
703c66ec88fSEmmanuel Vadot		};
704c66ec88fSEmmanuel Vadot
705c66ec88fSEmmanuel Vadot		cluster1-l2-thermal {
706c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
707c66ec88fSEmmanuel Vadot
708c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens0 11>;
709c66ec88fSEmmanuel Vadot
710c66ec88fSEmmanuel Vadot			trips {
711c66ec88fSEmmanuel Vadot				cluster1_l2_alert0: trip-point0 {
712c66ec88fSEmmanuel Vadot					temperature = <90000>;
713c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
714c66ec88fSEmmanuel Vadot					type = "hot";
715c66ec88fSEmmanuel Vadot				};
716c66ec88fSEmmanuel Vadot			};
717c66ec88fSEmmanuel Vadot		};
718c66ec88fSEmmanuel Vadot
719c66ec88fSEmmanuel Vadot		modem-thermal {
720c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
721c66ec88fSEmmanuel Vadot
722c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens1 1>;
723c66ec88fSEmmanuel Vadot
724c66ec88fSEmmanuel Vadot			trips {
725c66ec88fSEmmanuel Vadot				modem_alert0: trip-point0 {
726c66ec88fSEmmanuel Vadot					temperature = <90000>;
727c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
728c66ec88fSEmmanuel Vadot					type = "hot";
729c66ec88fSEmmanuel Vadot				};
730c66ec88fSEmmanuel Vadot			};
731c66ec88fSEmmanuel Vadot		};
732c66ec88fSEmmanuel Vadot
733c66ec88fSEmmanuel Vadot		mem-thermal {
734c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
735c66ec88fSEmmanuel Vadot
736c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens1 2>;
737c66ec88fSEmmanuel Vadot
738c66ec88fSEmmanuel Vadot			trips {
739c66ec88fSEmmanuel Vadot				mem_alert0: trip-point0 {
740c66ec88fSEmmanuel Vadot					temperature = <90000>;
741c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
742c66ec88fSEmmanuel Vadot					type = "hot";
743c66ec88fSEmmanuel Vadot				};
744c66ec88fSEmmanuel Vadot			};
745c66ec88fSEmmanuel Vadot		};
746c66ec88fSEmmanuel Vadot
747c66ec88fSEmmanuel Vadot		wlan-thermal {
748c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
749c66ec88fSEmmanuel Vadot
750c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens1 3>;
751c66ec88fSEmmanuel Vadot
752c66ec88fSEmmanuel Vadot			trips {
753c66ec88fSEmmanuel Vadot				wlan_alert0: trip-point0 {
754c66ec88fSEmmanuel Vadot					temperature = <90000>;
755c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
756c66ec88fSEmmanuel Vadot					type = "hot";
757c66ec88fSEmmanuel Vadot				};
758c66ec88fSEmmanuel Vadot			};
759c66ec88fSEmmanuel Vadot		};
760c66ec88fSEmmanuel Vadot
761c66ec88fSEmmanuel Vadot		q6-dsp-thermal {
762c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
763c66ec88fSEmmanuel Vadot
764c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens1 4>;
765c66ec88fSEmmanuel Vadot
766c66ec88fSEmmanuel Vadot			trips {
767c66ec88fSEmmanuel Vadot				q6_dsp_alert0: trip-point0 {
768c66ec88fSEmmanuel Vadot					temperature = <90000>;
769c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
770c66ec88fSEmmanuel Vadot					type = "hot";
771c66ec88fSEmmanuel Vadot				};
772c66ec88fSEmmanuel Vadot			};
773c66ec88fSEmmanuel Vadot		};
774c66ec88fSEmmanuel Vadot
775c66ec88fSEmmanuel Vadot		camera-thermal {
776c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
777c66ec88fSEmmanuel Vadot
778c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens1 5>;
779c66ec88fSEmmanuel Vadot
780c66ec88fSEmmanuel Vadot			trips {
781c66ec88fSEmmanuel Vadot				camera_alert0: trip-point0 {
782c66ec88fSEmmanuel Vadot					temperature = <90000>;
783c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
784c66ec88fSEmmanuel Vadot					type = "hot";
785c66ec88fSEmmanuel Vadot				};
786c66ec88fSEmmanuel Vadot			};
787c66ec88fSEmmanuel Vadot		};
788c66ec88fSEmmanuel Vadot
789c66ec88fSEmmanuel Vadot		multimedia-thermal {
790c66ec88fSEmmanuel Vadot			polling-delay-passive = <250>;
791c66ec88fSEmmanuel Vadot
792c66ec88fSEmmanuel Vadot			thermal-sensors = <&tsens1 6>;
793c66ec88fSEmmanuel Vadot
794c66ec88fSEmmanuel Vadot			trips {
795c66ec88fSEmmanuel Vadot				multimedia_alert0: trip-point0 {
796c66ec88fSEmmanuel Vadot					temperature = <90000>;
797c66ec88fSEmmanuel Vadot					hysteresis = <2000>;
798c66ec88fSEmmanuel Vadot					type = "hot";
799c66ec88fSEmmanuel Vadot				};
800c66ec88fSEmmanuel Vadot			};
801c66ec88fSEmmanuel Vadot		};
802c66ec88fSEmmanuel Vadot	};
803c66ec88fSEmmanuel Vadot
804c66ec88fSEmmanuel Vadot	timer {
805c66ec88fSEmmanuel Vadot		compatible = "arm,armv8-timer";
806c66ec88fSEmmanuel Vadot		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
807c66ec88fSEmmanuel Vadot			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
808c66ec88fSEmmanuel Vadot			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
809c66ec88fSEmmanuel Vadot			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
810c66ec88fSEmmanuel Vadot	};
811c66ec88fSEmmanuel Vadot
812f126890aSEmmanuel Vadot	soc: soc@0 {
813c66ec88fSEmmanuel Vadot		#address-cells = <1>;
814c66ec88fSEmmanuel Vadot		#size-cells = <1>;
815c66ec88fSEmmanuel Vadot		ranges = <0 0 0 0xffffffff>;
816c66ec88fSEmmanuel Vadot		compatible = "simple-bus";
817c66ec88fSEmmanuel Vadot
818c66ec88fSEmmanuel Vadot		gcc: clock-controller@100000 {
819c66ec88fSEmmanuel Vadot			compatible = "qcom,gcc-msm8998";
820c66ec88fSEmmanuel Vadot			#clock-cells = <1>;
821c66ec88fSEmmanuel Vadot			#reset-cells = <1>;
822c66ec88fSEmmanuel Vadot			#power-domain-cells = <1>;
823c66ec88fSEmmanuel Vadot			reg = <0x00100000 0xb0000>;
8248cc087a1SEmmanuel Vadot
8258cc087a1SEmmanuel Vadot			clock-names = "xo", "sleep_clk";
826cb7aa33aSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
827d5b0e70fSEmmanuel Vadot
828d5b0e70fSEmmanuel Vadot			/*
829d5b0e70fSEmmanuel Vadot			 * The hypervisor typically configures the memory region where these clocks
830d5b0e70fSEmmanuel Vadot			 * reside as read-only for the HLOS. If the HLOS tried to enable or disable
831d5b0e70fSEmmanuel Vadot			 * these clocks on a device with such configuration (e.g. because they are
832d5b0e70fSEmmanuel Vadot			 * enabled but unused during boot-up), the device will most likely decide
833d5b0e70fSEmmanuel Vadot			 * to reboot.
834d5b0e70fSEmmanuel Vadot			 * In light of that, we are conservative here and we list all such clocks
835d5b0e70fSEmmanuel Vadot			 * as protected. The board dts (or a user-supplied dts) can override the
836d5b0e70fSEmmanuel Vadot			 * list of protected clocks if it differs from the norm, and it is in fact
837d5b0e70fSEmmanuel Vadot			 * desired for the HLOS to manage these clocks
838d5b0e70fSEmmanuel Vadot			 */
839d5b0e70fSEmmanuel Vadot			protected-clocks = <AGGRE2_SNOC_NORTH_AXI>,
840d5b0e70fSEmmanuel Vadot					   <SSC_XO>,
841d5b0e70fSEmmanuel Vadot					   <SSC_CNOC_AHBS_CLK>;
842c66ec88fSEmmanuel Vadot		};
843c66ec88fSEmmanuel Vadot
8448cc087a1SEmmanuel Vadot		rpm_msg_ram: sram@778000 {
845c66ec88fSEmmanuel Vadot			compatible = "qcom,rpm-msg-ram";
846c66ec88fSEmmanuel Vadot			reg = <0x00778000 0x7000>;
847c66ec88fSEmmanuel Vadot		};
848c66ec88fSEmmanuel Vadot
8498cc087a1SEmmanuel Vadot		qfprom: qfprom@784000 {
850b97ee269SEmmanuel Vadot			compatible = "qcom,msm8998-qfprom", "qcom,qfprom";
8518cc087a1SEmmanuel Vadot			reg = <0x00784000 0x621c>;
852c66ec88fSEmmanuel Vadot			#address-cells = <1>;
853c66ec88fSEmmanuel Vadot			#size-cells = <1>;
854c66ec88fSEmmanuel Vadot
8558cc087a1SEmmanuel Vadot			qusb2_hstx_trim: hstx-trim@23a {
8568cc087a1SEmmanuel Vadot				reg = <0x23a 0x1>;
857c66ec88fSEmmanuel Vadot				bits = <0 4>;
858c66ec88fSEmmanuel Vadot			};
859c66ec88fSEmmanuel Vadot		};
860c66ec88fSEmmanuel Vadot
861c66ec88fSEmmanuel Vadot		tsens0: thermal@10ab000 {
862c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
863c66ec88fSEmmanuel Vadot			reg = <0x010ab000 0x1000>, /* TM */
864c66ec88fSEmmanuel Vadot			      <0x010aa000 0x1000>; /* SROT */
865c66ec88fSEmmanuel Vadot			#qcom,sensors = <14>;
866c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>,
867c66ec88fSEmmanuel Vadot				     <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>;
868c66ec88fSEmmanuel Vadot			interrupt-names = "uplow", "critical";
869c66ec88fSEmmanuel Vadot			#thermal-sensor-cells = <1>;
870c66ec88fSEmmanuel Vadot		};
871c66ec88fSEmmanuel Vadot
872c66ec88fSEmmanuel Vadot		tsens1: thermal@10ae000 {
873c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
874c66ec88fSEmmanuel Vadot			reg = <0x010ae000 0x1000>, /* TM */
875c66ec88fSEmmanuel Vadot			      <0x010ad000 0x1000>; /* SROT */
876c66ec88fSEmmanuel Vadot			#qcom,sensors = <8>;
877c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
878c66ec88fSEmmanuel Vadot				     <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>;
879c66ec88fSEmmanuel Vadot			interrupt-names = "uplow", "critical";
880c66ec88fSEmmanuel Vadot			#thermal-sensor-cells = <1>;
881c66ec88fSEmmanuel Vadot		};
882c66ec88fSEmmanuel Vadot
883c66ec88fSEmmanuel Vadot		anoc1_smmu: iommu@1680000 {
884c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
885c66ec88fSEmmanuel Vadot			reg = <0x01680000 0x10000>;
886c66ec88fSEmmanuel Vadot			#iommu-cells = <1>;
887c66ec88fSEmmanuel Vadot
888c66ec88fSEmmanuel Vadot			#global-interrupts = <0>;
889c66ec88fSEmmanuel Vadot			interrupts =
890c66ec88fSEmmanuel Vadot				<GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
891c66ec88fSEmmanuel Vadot				<GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
892c66ec88fSEmmanuel Vadot				<GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
893c66ec88fSEmmanuel Vadot				<GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
894c66ec88fSEmmanuel Vadot				<GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
895c66ec88fSEmmanuel Vadot				<GIC_SPI 369 IRQ_TYPE_EDGE_RISING>;
896c66ec88fSEmmanuel Vadot		};
897c66ec88fSEmmanuel Vadot
898c66ec88fSEmmanuel Vadot		anoc2_smmu: iommu@16c0000 {
899c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
900c66ec88fSEmmanuel Vadot			reg = <0x016c0000 0x40000>;
901c66ec88fSEmmanuel Vadot			#iommu-cells = <1>;
902c66ec88fSEmmanuel Vadot
903c66ec88fSEmmanuel Vadot			#global-interrupts = <0>;
904c66ec88fSEmmanuel Vadot			interrupts =
905c66ec88fSEmmanuel Vadot				<GIC_SPI 373 IRQ_TYPE_EDGE_RISING>,
906c66ec88fSEmmanuel Vadot				<GIC_SPI 374 IRQ_TYPE_EDGE_RISING>,
907c66ec88fSEmmanuel Vadot				<GIC_SPI 375 IRQ_TYPE_EDGE_RISING>,
908c66ec88fSEmmanuel Vadot				<GIC_SPI 376 IRQ_TYPE_EDGE_RISING>,
909c66ec88fSEmmanuel Vadot				<GIC_SPI 377 IRQ_TYPE_EDGE_RISING>,
910c66ec88fSEmmanuel Vadot				<GIC_SPI 378 IRQ_TYPE_EDGE_RISING>,
911c66ec88fSEmmanuel Vadot				<GIC_SPI 462 IRQ_TYPE_EDGE_RISING>,
912c66ec88fSEmmanuel Vadot				<GIC_SPI 463 IRQ_TYPE_EDGE_RISING>,
913c66ec88fSEmmanuel Vadot				<GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
914c66ec88fSEmmanuel Vadot				<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>;
915c66ec88fSEmmanuel Vadot		};
916c66ec88fSEmmanuel Vadot
9178d13bc63SEmmanuel Vadot		pcie0: pcie@1c00000 {
9188bab661aSEmmanuel Vadot			compatible = "qcom,pcie-msm8998", "qcom,pcie-msm8996";
919c66ec88fSEmmanuel Vadot			reg = <0x01c00000 0x2000>,
920c66ec88fSEmmanuel Vadot			      <0x1b000000 0xf1d>,
921c66ec88fSEmmanuel Vadot			      <0x1b000f20 0xa8>,
922c66ec88fSEmmanuel Vadot			      <0x1b100000 0x100000>;
923c66ec88fSEmmanuel Vadot			reg-names = "parf", "dbi", "elbi", "config";
924c66ec88fSEmmanuel Vadot			device_type = "pci";
925c66ec88fSEmmanuel Vadot			linux,pci-domain = <0>;
926c66ec88fSEmmanuel Vadot			bus-range = <0x00 0xff>;
927c66ec88fSEmmanuel Vadot			#address-cells = <3>;
928c66ec88fSEmmanuel Vadot			#size-cells = <2>;
929c66ec88fSEmmanuel Vadot			num-lanes = <1>;
93084943d6fSEmmanuel Vadot			phys = <&pcie_phy>;
931c66ec88fSEmmanuel Vadot			phy-names = "pciephy";
9325def4c47SEmmanuel Vadot			status = "disabled";
933c66ec88fSEmmanuel Vadot
934fac71e4eSEmmanuel Vadot			ranges = <0x01000000 0x0 0x00000000 0x1b200000 0x0 0x100000>,
935c66ec88fSEmmanuel Vadot				 <0x02000000 0x0 0x1b300000 0x1b300000 0x0 0xd00000>;
936c66ec88fSEmmanuel Vadot
937c66ec88fSEmmanuel Vadot			#interrupt-cells = <1>;
938c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
939c66ec88fSEmmanuel Vadot			interrupt-names = "msi";
940c66ec88fSEmmanuel Vadot			interrupt-map-mask = <0 0 0 0x7>;
9418cc087a1SEmmanuel Vadot			interrupt-map = <0 0 0 1 &intc 0 0 135 IRQ_TYPE_LEVEL_HIGH>,
9428cc087a1SEmmanuel Vadot					<0 0 0 2 &intc 0 0 136 IRQ_TYPE_LEVEL_HIGH>,
9438cc087a1SEmmanuel Vadot					<0 0 0 3 &intc 0 0 138 IRQ_TYPE_LEVEL_HIGH>,
9448cc087a1SEmmanuel Vadot					<0 0 0 4 &intc 0 0 139 IRQ_TYPE_LEVEL_HIGH>;
945c66ec88fSEmmanuel Vadot
946c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
9478bab661aSEmmanuel Vadot				 <&gcc GCC_PCIE_0_AUX_CLK>,
948c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
9498bab661aSEmmanuel Vadot				 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
9508bab661aSEmmanuel Vadot				 <&gcc GCC_PCIE_0_SLV_AXI_CLK>;
9518bab661aSEmmanuel Vadot			clock-names = "pipe", "aux", "cfg", "bus_master", "bus_slave";
952c66ec88fSEmmanuel Vadot
953c66ec88fSEmmanuel Vadot			power-domains = <&gcc PCIE_0_GDSC>;
954c66ec88fSEmmanuel Vadot			iommu-map = <0x100 &anoc1_smmu 0x1480 1>;
955c66ec88fSEmmanuel Vadot			perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
9567d0873ebSEmmanuel Vadot
9577d0873ebSEmmanuel Vadot			pcie@0 {
9587d0873ebSEmmanuel Vadot				device_type = "pci";
9597d0873ebSEmmanuel Vadot				reg = <0x0 0x0 0x0 0x0 0x0>;
9607d0873ebSEmmanuel Vadot				bus-range = <0x01 0xff>;
9617d0873ebSEmmanuel Vadot
9627d0873ebSEmmanuel Vadot				#address-cells = <3>;
9637d0873ebSEmmanuel Vadot				#size-cells = <2>;
9647d0873ebSEmmanuel Vadot				ranges;
9657d0873ebSEmmanuel Vadot			};
966c66ec88fSEmmanuel Vadot		};
967c66ec88fSEmmanuel Vadot
9685def4c47SEmmanuel Vadot		pcie_phy: phy@1c06000 {
969c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-qmp-pcie-phy";
97084943d6fSEmmanuel Vadot			reg = <0x01c06000 0x1000>;
9715def4c47SEmmanuel Vadot			status = "disabled";
972c66ec88fSEmmanuel Vadot
973c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
974c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
97584943d6fSEmmanuel Vadot				 <&gcc GCC_PCIE_CLKREF_CLK>,
97684943d6fSEmmanuel Vadot				 <&gcc GCC_PCIE_0_PIPE_CLK>;
97784943d6fSEmmanuel Vadot			clock-names = "aux",
97884943d6fSEmmanuel Vadot				      "cfg_ahb",
97984943d6fSEmmanuel Vadot				      "ref",
98084943d6fSEmmanuel Vadot				      "pipe";
98184943d6fSEmmanuel Vadot
98284943d6fSEmmanuel Vadot			clock-output-names = "pcie_0_pipe_clk_src";
98384943d6fSEmmanuel Vadot			#clock-cells = <0>;
98484943d6fSEmmanuel Vadot
98584943d6fSEmmanuel Vadot			#phy-cells = <0>;
986c66ec88fSEmmanuel Vadot
987c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_PCIE_0_PHY_BCR>, <&gcc GCC_PCIE_PHY_BCR>;
988c66ec88fSEmmanuel Vadot			reset-names = "phy", "common";
989c66ec88fSEmmanuel Vadot
990c66ec88fSEmmanuel Vadot			vdda-phy-supply = <&vreg_l1a_0p875>;
991c66ec88fSEmmanuel Vadot			vdda-pll-supply = <&vreg_l2a_1p2>;
992c66ec88fSEmmanuel Vadot		};
993c66ec88fSEmmanuel Vadot
994c66ec88fSEmmanuel Vadot		ufshc: ufshc@1da4000 {
995c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
996c66ec88fSEmmanuel Vadot			reg = <0x01da4000 0x2500>;
997c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
9988d13bc63SEmmanuel Vadot			phys = <&ufsphy>;
999c66ec88fSEmmanuel Vadot			phy-names = "ufsphy";
1000c66ec88fSEmmanuel Vadot			lanes-per-direction = <2>;
1001c66ec88fSEmmanuel Vadot			power-domains = <&gcc UFS_GDSC>;
10025def4c47SEmmanuel Vadot			status = "disabled";
1003c66ec88fSEmmanuel Vadot			#reset-cells = <1>;
1004c66ec88fSEmmanuel Vadot
1005c66ec88fSEmmanuel Vadot			clock-names =
1006c66ec88fSEmmanuel Vadot				"core_clk",
1007c66ec88fSEmmanuel Vadot				"bus_aggr_clk",
1008c66ec88fSEmmanuel Vadot				"iface_clk",
1009c66ec88fSEmmanuel Vadot				"core_clk_unipro",
1010c66ec88fSEmmanuel Vadot				"ref_clk",
1011c66ec88fSEmmanuel Vadot				"tx_lane0_sync_clk",
1012c66ec88fSEmmanuel Vadot				"rx_lane0_sync_clk",
1013c66ec88fSEmmanuel Vadot				"rx_lane1_sync_clk";
1014c66ec88fSEmmanuel Vadot			clocks =
1015c66ec88fSEmmanuel Vadot				<&gcc GCC_UFS_AXI_CLK>,
1016c66ec88fSEmmanuel Vadot				<&gcc GCC_AGGRE1_UFS_AXI_CLK>,
1017c66ec88fSEmmanuel Vadot				<&gcc GCC_UFS_AHB_CLK>,
1018c66ec88fSEmmanuel Vadot				<&gcc GCC_UFS_UNIPRO_CORE_CLK>,
1019c66ec88fSEmmanuel Vadot				<&rpmcc RPM_SMD_LN_BB_CLK1>,
1020c66ec88fSEmmanuel Vadot				<&gcc GCC_UFS_TX_SYMBOL_0_CLK>,
1021c66ec88fSEmmanuel Vadot				<&gcc GCC_UFS_RX_SYMBOL_0_CLK>,
1022c66ec88fSEmmanuel Vadot				<&gcc GCC_UFS_RX_SYMBOL_1_CLK>;
1023c66ec88fSEmmanuel Vadot			freq-table-hz =
1024c66ec88fSEmmanuel Vadot				<50000000 200000000>,
1025c66ec88fSEmmanuel Vadot				<0 0>,
1026c66ec88fSEmmanuel Vadot				<0 0>,
1027c66ec88fSEmmanuel Vadot				<37500000 150000000>,
1028c66ec88fSEmmanuel Vadot				<0 0>,
1029c66ec88fSEmmanuel Vadot				<0 0>,
1030c66ec88fSEmmanuel Vadot				<0 0>,
1031c66ec88fSEmmanuel Vadot				<0 0>;
1032c66ec88fSEmmanuel Vadot
1033c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_UFS_BCR>;
1034c66ec88fSEmmanuel Vadot			reset-names = "rst";
1035c66ec88fSEmmanuel Vadot		};
1036c66ec88fSEmmanuel Vadot
1037c66ec88fSEmmanuel Vadot		ufsphy: phy@1da7000 {
1038c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-qmp-ufs-phy";
10398d13bc63SEmmanuel Vadot			reg = <0x01da7000 0x1000>;
1040c66ec88fSEmmanuel Vadot
104101950c46SEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_LN_BB_CLK1>,
104201950c46SEmmanuel Vadot				 <&gcc GCC_UFS_PHY_AUX_CLK>,
104301950c46SEmmanuel Vadot				 <&gcc GCC_UFS_CLKREF_CLK>;
104401950c46SEmmanuel Vadot			clock-names = "ref",
104501950c46SEmmanuel Vadot				      "ref_aux",
104601950c46SEmmanuel Vadot				      "qref";
1047c66ec88fSEmmanuel Vadot
1048c66ec88fSEmmanuel Vadot			reset-names = "ufsphy";
1049c66ec88fSEmmanuel Vadot			resets = <&ufshc 0>;
1050c66ec88fSEmmanuel Vadot
1051c66ec88fSEmmanuel Vadot			#phy-cells = <0>;
10528d13bc63SEmmanuel Vadot			status = "disabled";
1053c66ec88fSEmmanuel Vadot		};
1054c66ec88fSEmmanuel Vadot
10557ef62cebSEmmanuel Vadot		tcsr_mutex: hwlock@1f40000 {
10567ef62cebSEmmanuel Vadot			compatible = "qcom,tcsr-mutex";
10577ef62cebSEmmanuel Vadot			reg = <0x01f40000 0x20000>;
10587ef62cebSEmmanuel Vadot			#hwlock-cells = <1>;
10597ef62cebSEmmanuel Vadot		};
10607ef62cebSEmmanuel Vadot
10617ef62cebSEmmanuel Vadot		tcsr_regs_1: syscon@1f60000 {
10627ef62cebSEmmanuel Vadot			compatible = "qcom,msm8998-tcsr", "syscon";
10637ef62cebSEmmanuel Vadot			reg = <0x01f60000 0x20000>;
1064c66ec88fSEmmanuel Vadot		};
1065c66ec88fSEmmanuel Vadot
106601950c46SEmmanuel Vadot		tcsr_regs_2: syscon@1fc0000 {
106701950c46SEmmanuel Vadot			compatible = "qcom,msm8998-tcsr", "syscon";
106801950c46SEmmanuel Vadot			reg = <0x01fc0000 0x26000>;
106901950c46SEmmanuel Vadot		};
107001950c46SEmmanuel Vadot
1071c66ec88fSEmmanuel Vadot		tlmm: pinctrl@3400000 {
1072c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-pinctrl";
1073c66ec88fSEmmanuel Vadot			reg = <0x03400000 0xc00000>;
1074c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
10758bab661aSEmmanuel Vadot			gpio-ranges = <&tlmm 0 0 150>;
1076c66ec88fSEmmanuel Vadot			gpio-controller;
1077b97ee269SEmmanuel Vadot			#gpio-cells = <2>;
1078c66ec88fSEmmanuel Vadot			interrupt-controller;
1079b97ee269SEmmanuel Vadot			#interrupt-cells = <2>;
10805def4c47SEmmanuel Vadot
10818bab661aSEmmanuel Vadot			sdc2_on: sdc2-on-state {
10828bab661aSEmmanuel Vadot				clk-pins {
10835def4c47SEmmanuel Vadot					pins = "sdc2_clk";
10845def4c47SEmmanuel Vadot					drive-strength = <16>;
10855def4c47SEmmanuel Vadot					bias-disable;
10865def4c47SEmmanuel Vadot				};
10875def4c47SEmmanuel Vadot
10888bab661aSEmmanuel Vadot				cmd-pins {
10895def4c47SEmmanuel Vadot					pins = "sdc2_cmd";
10905def4c47SEmmanuel Vadot					drive-strength = <10>;
1091b97ee269SEmmanuel Vadot					bias-pull-up;
1092b97ee269SEmmanuel Vadot				};
1093b97ee269SEmmanuel Vadot
10948bab661aSEmmanuel Vadot				data-pins {
1095b97ee269SEmmanuel Vadot					pins = "sdc2_data";
1096b97ee269SEmmanuel Vadot					drive-strength = <10>;
1097b97ee269SEmmanuel Vadot					bias-pull-up;
10985def4c47SEmmanuel Vadot				};
10995def4c47SEmmanuel Vadot			};
11005def4c47SEmmanuel Vadot
11018bab661aSEmmanuel Vadot			sdc2_off: sdc2-off-state {
11028bab661aSEmmanuel Vadot				clk-pins {
1103b97ee269SEmmanuel Vadot					pins = "sdc2_clk";
1104b97ee269SEmmanuel Vadot					drive-strength = <2>;
1105b97ee269SEmmanuel Vadot					bias-disable;
1106b97ee269SEmmanuel Vadot				};
1107b97ee269SEmmanuel Vadot
11088bab661aSEmmanuel Vadot				cmd-pins {
11095def4c47SEmmanuel Vadot					pins = "sdc2_cmd";
11105def4c47SEmmanuel Vadot					drive-strength = <2>;
1111b97ee269SEmmanuel Vadot					bias-pull-up;
11125def4c47SEmmanuel Vadot				};
11135def4c47SEmmanuel Vadot
11148bab661aSEmmanuel Vadot				data-pins {
11155def4c47SEmmanuel Vadot					pins = "sdc2_data";
11165def4c47SEmmanuel Vadot					drive-strength = <2>;
1117b97ee269SEmmanuel Vadot					bias-pull-up;
11185def4c47SEmmanuel Vadot				};
11195def4c47SEmmanuel Vadot			};
11205def4c47SEmmanuel Vadot
11218bab661aSEmmanuel Vadot			sdc2_cd: sdc2-cd-state {
11225def4c47SEmmanuel Vadot				pins = "gpio95";
11235def4c47SEmmanuel Vadot				function = "gpio";
11245def4c47SEmmanuel Vadot				bias-pull-up;
11255def4c47SEmmanuel Vadot				drive-strength = <2>;
11265def4c47SEmmanuel Vadot			};
11275def4c47SEmmanuel Vadot
11288bab661aSEmmanuel Vadot			blsp1_uart3_on: blsp1-uart3-on-state {
11298bab661aSEmmanuel Vadot				tx-pins {
11305def4c47SEmmanuel Vadot					pins = "gpio45";
11315def4c47SEmmanuel Vadot					function = "blsp_uart3_a";
11325def4c47SEmmanuel Vadot					drive-strength = <2>;
11335def4c47SEmmanuel Vadot					bias-disable;
11345def4c47SEmmanuel Vadot				};
11355def4c47SEmmanuel Vadot
11368bab661aSEmmanuel Vadot				rx-pins {
11375def4c47SEmmanuel Vadot					pins = "gpio46";
11385def4c47SEmmanuel Vadot					function = "blsp_uart3_a";
11395def4c47SEmmanuel Vadot					drive-strength = <2>;
11405def4c47SEmmanuel Vadot					bias-disable;
11415def4c47SEmmanuel Vadot				};
11425def4c47SEmmanuel Vadot
11438bab661aSEmmanuel Vadot				cts-pins {
11445def4c47SEmmanuel Vadot					pins = "gpio47";
11455def4c47SEmmanuel Vadot					function = "blsp_uart3_a";
11465def4c47SEmmanuel Vadot					drive-strength = <2>;
11475def4c47SEmmanuel Vadot					bias-disable;
11485def4c47SEmmanuel Vadot				};
11495def4c47SEmmanuel Vadot
11508bab661aSEmmanuel Vadot				rfr-pins {
11515def4c47SEmmanuel Vadot					pins = "gpio48";
11525def4c47SEmmanuel Vadot					function = "blsp_uart3_a";
11535def4c47SEmmanuel Vadot					drive-strength = <2>;
11545def4c47SEmmanuel Vadot					bias-disable;
11555def4c47SEmmanuel Vadot				};
11565def4c47SEmmanuel Vadot			};
11575def4c47SEmmanuel Vadot
11588bab661aSEmmanuel Vadot			blsp1_i2c1_default: blsp1-i2c1-default-state {
11595def4c47SEmmanuel Vadot				pins = "gpio2", "gpio3";
11605def4c47SEmmanuel Vadot				function = "blsp_i2c1";
11615def4c47SEmmanuel Vadot				drive-strength = <2>;
11625def4c47SEmmanuel Vadot				bias-disable;
11635def4c47SEmmanuel Vadot			};
11645def4c47SEmmanuel Vadot
11658bab661aSEmmanuel Vadot			blsp1_i2c1_sleep: blsp1-i2c1-sleep-state-state {
11665def4c47SEmmanuel Vadot				pins = "gpio2", "gpio3";
11675def4c47SEmmanuel Vadot				function = "blsp_i2c1";
11685def4c47SEmmanuel Vadot				drive-strength = <2>;
11695def4c47SEmmanuel Vadot				bias-pull-up;
11705def4c47SEmmanuel Vadot			};
11715def4c47SEmmanuel Vadot
11728bab661aSEmmanuel Vadot			blsp1_i2c2_default: blsp1-i2c2-default-state {
11735def4c47SEmmanuel Vadot				pins = "gpio32", "gpio33";
11745def4c47SEmmanuel Vadot				function = "blsp_i2c2";
11755def4c47SEmmanuel Vadot				drive-strength = <2>;
11765def4c47SEmmanuel Vadot				bias-disable;
11775def4c47SEmmanuel Vadot			};
11785def4c47SEmmanuel Vadot
11798bab661aSEmmanuel Vadot			blsp1_i2c2_sleep: blsp1-i2c2-sleep-state-state {
11805def4c47SEmmanuel Vadot				pins = "gpio32", "gpio33";
11815def4c47SEmmanuel Vadot				function = "blsp_i2c2";
11825def4c47SEmmanuel Vadot				drive-strength = <2>;
11835def4c47SEmmanuel Vadot				bias-pull-up;
11845def4c47SEmmanuel Vadot			};
11855def4c47SEmmanuel Vadot
11868bab661aSEmmanuel Vadot			blsp1_i2c3_default: blsp1-i2c3-default-state {
11875def4c47SEmmanuel Vadot				pins = "gpio47", "gpio48";
11885def4c47SEmmanuel Vadot				function = "blsp_i2c3";
11895def4c47SEmmanuel Vadot				drive-strength = <2>;
11905def4c47SEmmanuel Vadot				bias-disable;
11915def4c47SEmmanuel Vadot			};
11925def4c47SEmmanuel Vadot
11938bab661aSEmmanuel Vadot			blsp1_i2c3_sleep: blsp1-i2c3-sleep-state {
11945def4c47SEmmanuel Vadot				pins = "gpio47", "gpio48";
11955def4c47SEmmanuel Vadot				function = "blsp_i2c3";
11965def4c47SEmmanuel Vadot				drive-strength = <2>;
11975def4c47SEmmanuel Vadot				bias-pull-up;
11985def4c47SEmmanuel Vadot			};
11995def4c47SEmmanuel Vadot
12008bab661aSEmmanuel Vadot			blsp1_i2c4_default: blsp1-i2c4-default-state {
12015def4c47SEmmanuel Vadot				pins = "gpio10", "gpio11";
12025def4c47SEmmanuel Vadot				function = "blsp_i2c4";
12035def4c47SEmmanuel Vadot				drive-strength = <2>;
12045def4c47SEmmanuel Vadot				bias-disable;
12055def4c47SEmmanuel Vadot			};
12065def4c47SEmmanuel Vadot
12078bab661aSEmmanuel Vadot			blsp1_i2c4_sleep: blsp1-i2c4-sleep-state {
12085def4c47SEmmanuel Vadot				pins = "gpio10", "gpio11";
12095def4c47SEmmanuel Vadot				function = "blsp_i2c4";
12105def4c47SEmmanuel Vadot				drive-strength = <2>;
12115def4c47SEmmanuel Vadot				bias-pull-up;
12125def4c47SEmmanuel Vadot			};
12135def4c47SEmmanuel Vadot
12148bab661aSEmmanuel Vadot			blsp1_i2c5_default: blsp1-i2c5-default-state {
12155def4c47SEmmanuel Vadot				pins = "gpio87", "gpio88";
12165def4c47SEmmanuel Vadot				function = "blsp_i2c5";
12175def4c47SEmmanuel Vadot				drive-strength = <2>;
12185def4c47SEmmanuel Vadot				bias-disable;
12195def4c47SEmmanuel Vadot			};
12205def4c47SEmmanuel Vadot
12218bab661aSEmmanuel Vadot			blsp1_i2c5_sleep: blsp1-i2c5-sleep-state {
12225def4c47SEmmanuel Vadot				pins = "gpio87", "gpio88";
12235def4c47SEmmanuel Vadot				function = "blsp_i2c5";
12245def4c47SEmmanuel Vadot				drive-strength = <2>;
12255def4c47SEmmanuel Vadot				bias-pull-up;
12265def4c47SEmmanuel Vadot			};
12275def4c47SEmmanuel Vadot
12288bab661aSEmmanuel Vadot			blsp1_i2c6_default: blsp1-i2c6-default-state {
12295def4c47SEmmanuel Vadot				pins = "gpio43", "gpio44";
12305def4c47SEmmanuel Vadot				function = "blsp_i2c6";
12315def4c47SEmmanuel Vadot				drive-strength = <2>;
12325def4c47SEmmanuel Vadot				bias-disable;
12335def4c47SEmmanuel Vadot			};
12345def4c47SEmmanuel Vadot
12358bab661aSEmmanuel Vadot			blsp1_i2c6_sleep: blsp1-i2c6-sleep-state {
12365def4c47SEmmanuel Vadot				pins = "gpio43", "gpio44";
12375def4c47SEmmanuel Vadot				function = "blsp_i2c6";
12385def4c47SEmmanuel Vadot				drive-strength = <2>;
12395def4c47SEmmanuel Vadot				bias-pull-up;
12405def4c47SEmmanuel Vadot			};
1241f126890aSEmmanuel Vadot
1242f126890aSEmmanuel Vadot			blsp1_spi_b_default: blsp1-spi-b-default-state {
1243f126890aSEmmanuel Vadot				pins = "gpio23", "gpio28";
1244f126890aSEmmanuel Vadot				function = "blsp1_spi_b";
1245f126890aSEmmanuel Vadot				drive-strength = <6>;
1246f126890aSEmmanuel Vadot				bias-disable;
1247f126890aSEmmanuel Vadot			};
1248f126890aSEmmanuel Vadot
1249f126890aSEmmanuel Vadot			blsp1_spi1_default: blsp1-spi1-default-state {
1250f126890aSEmmanuel Vadot				pins = "gpio0", "gpio1", "gpio2", "gpio3";
1251f126890aSEmmanuel Vadot				function = "blsp_spi1";
1252f126890aSEmmanuel Vadot				drive-strength = <6>;
1253f126890aSEmmanuel Vadot				bias-disable;
1254f126890aSEmmanuel Vadot			};
1255f126890aSEmmanuel Vadot
1256f126890aSEmmanuel Vadot			blsp1_spi2_default: blsp1-spi2-default-state {
1257f126890aSEmmanuel Vadot				pins = "gpio31", "gpio34", "gpio32", "gpio33";
1258f126890aSEmmanuel Vadot				function = "blsp_spi2";
1259f126890aSEmmanuel Vadot				drive-strength = <6>;
1260f126890aSEmmanuel Vadot				bias-disable;
1261f126890aSEmmanuel Vadot			};
1262f126890aSEmmanuel Vadot
1263f126890aSEmmanuel Vadot			blsp1_spi3_default: blsp1-spi3-default-state {
1264f126890aSEmmanuel Vadot				pins = "gpio45", "gpio46", "gpio47", "gpio48";
1265f126890aSEmmanuel Vadot				function = "blsp_spi2";
1266f126890aSEmmanuel Vadot				drive-strength = <6>;
1267f126890aSEmmanuel Vadot				bias-disable;
1268f126890aSEmmanuel Vadot			};
1269f126890aSEmmanuel Vadot
1270f126890aSEmmanuel Vadot			blsp1_spi4_default: blsp1-spi4-default-state {
1271f126890aSEmmanuel Vadot				pins = "gpio8", "gpio9", "gpio10", "gpio11";
1272f126890aSEmmanuel Vadot				function = "blsp_spi4";
1273f126890aSEmmanuel Vadot				drive-strength = <6>;
1274f126890aSEmmanuel Vadot				bias-disable;
1275f126890aSEmmanuel Vadot			};
1276f126890aSEmmanuel Vadot
1277f126890aSEmmanuel Vadot			blsp1_spi5_default: blsp1-spi5-default-state {
1278f126890aSEmmanuel Vadot				pins = "gpio85", "gpio86", "gpio87", "gpio88";
1279f126890aSEmmanuel Vadot				function = "blsp_spi5";
1280f126890aSEmmanuel Vadot				drive-strength = <6>;
1281f126890aSEmmanuel Vadot				bias-disable;
1282f126890aSEmmanuel Vadot			};
1283f126890aSEmmanuel Vadot
1284f126890aSEmmanuel Vadot			blsp1_spi6_default: blsp1-spi6-default-state {
1285f126890aSEmmanuel Vadot				pins = "gpio41", "gpio42", "gpio43", "gpio44";
1286f126890aSEmmanuel Vadot				function = "blsp_spi6";
1287f126890aSEmmanuel Vadot				drive-strength = <6>;
1288f126890aSEmmanuel Vadot				bias-disable;
1289f126890aSEmmanuel Vadot			};
1290f126890aSEmmanuel Vadot
1291f126890aSEmmanuel Vadot
12925def4c47SEmmanuel Vadot			/* 6 interfaces per QUP, BLSP2 indexes are numbered (n)+6 */
12938bab661aSEmmanuel Vadot			blsp2_i2c1_default: blsp2-i2c1-default-state {
12945def4c47SEmmanuel Vadot				pins = "gpio55", "gpio56";
12955def4c47SEmmanuel Vadot				function = "blsp_i2c7";
12965def4c47SEmmanuel Vadot				drive-strength = <2>;
12975def4c47SEmmanuel Vadot				bias-disable;
12985def4c47SEmmanuel Vadot			};
12995def4c47SEmmanuel Vadot
13008bab661aSEmmanuel Vadot			blsp2_i2c1_sleep: blsp2-i2c1-sleep-state {
13015def4c47SEmmanuel Vadot				pins = "gpio55", "gpio56";
13025def4c47SEmmanuel Vadot				function = "blsp_i2c7";
13035def4c47SEmmanuel Vadot				drive-strength = <2>;
13045def4c47SEmmanuel Vadot				bias-pull-up;
13055def4c47SEmmanuel Vadot			};
13065def4c47SEmmanuel Vadot
13078bab661aSEmmanuel Vadot			blsp2_i2c2_default: blsp2-i2c2-default-state {
13085def4c47SEmmanuel Vadot				pins = "gpio6", "gpio7";
13095def4c47SEmmanuel Vadot				function = "blsp_i2c8";
13105def4c47SEmmanuel Vadot				drive-strength = <2>;
13115def4c47SEmmanuel Vadot				bias-disable;
13125def4c47SEmmanuel Vadot			};
13135def4c47SEmmanuel Vadot
13148bab661aSEmmanuel Vadot			blsp2_i2c2_sleep: blsp2-i2c2-sleep-state {
13155def4c47SEmmanuel Vadot				pins = "gpio6", "gpio7";
13165def4c47SEmmanuel Vadot				function = "blsp_i2c8";
13175def4c47SEmmanuel Vadot				drive-strength = <2>;
13185def4c47SEmmanuel Vadot				bias-pull-up;
13195def4c47SEmmanuel Vadot			};
13205def4c47SEmmanuel Vadot
13218bab661aSEmmanuel Vadot			blsp2_i2c3_default: blsp2-i2c3-default-state {
13225def4c47SEmmanuel Vadot				pins = "gpio51", "gpio52";
13235def4c47SEmmanuel Vadot				function = "blsp_i2c9";
13245def4c47SEmmanuel Vadot				drive-strength = <2>;
13255def4c47SEmmanuel Vadot				bias-disable;
13265def4c47SEmmanuel Vadot			};
13275def4c47SEmmanuel Vadot
13288bab661aSEmmanuel Vadot			blsp2_i2c3_sleep: blsp2-i2c3-sleep-state {
13295def4c47SEmmanuel Vadot				pins = "gpio51", "gpio52";
13305def4c47SEmmanuel Vadot				function = "blsp_i2c9";
13315def4c47SEmmanuel Vadot				drive-strength = <2>;
13325def4c47SEmmanuel Vadot				bias-pull-up;
13335def4c47SEmmanuel Vadot			};
13345def4c47SEmmanuel Vadot
13358bab661aSEmmanuel Vadot			blsp2_i2c4_default: blsp2-i2c4-default-state {
13365def4c47SEmmanuel Vadot				pins = "gpio67", "gpio68";
13375def4c47SEmmanuel Vadot				function = "blsp_i2c10";
13385def4c47SEmmanuel Vadot				drive-strength = <2>;
13395def4c47SEmmanuel Vadot				bias-disable;
13405def4c47SEmmanuel Vadot			};
13415def4c47SEmmanuel Vadot
13428bab661aSEmmanuel Vadot			blsp2_i2c4_sleep: blsp2-i2c4-sleep-state {
13435def4c47SEmmanuel Vadot				pins = "gpio67", "gpio68";
13445def4c47SEmmanuel Vadot				function = "blsp_i2c10";
13455def4c47SEmmanuel Vadot				drive-strength = <2>;
13465def4c47SEmmanuel Vadot				bias-pull-up;
13475def4c47SEmmanuel Vadot			};
13485def4c47SEmmanuel Vadot
13498bab661aSEmmanuel Vadot			blsp2_i2c5_default: blsp2-i2c5-default-state {
13505def4c47SEmmanuel Vadot				pins = "gpio60", "gpio61";
13515def4c47SEmmanuel Vadot				function = "blsp_i2c11";
13525def4c47SEmmanuel Vadot				drive-strength = <2>;
13535def4c47SEmmanuel Vadot				bias-disable;
13545def4c47SEmmanuel Vadot			};
13555def4c47SEmmanuel Vadot
13568bab661aSEmmanuel Vadot			blsp2_i2c5_sleep: blsp2-i2c5-sleep-state {
13575def4c47SEmmanuel Vadot				pins = "gpio60", "gpio61";
13585def4c47SEmmanuel Vadot				function = "blsp_i2c11";
13595def4c47SEmmanuel Vadot				drive-strength = <2>;
13605def4c47SEmmanuel Vadot				bias-pull-up;
13615def4c47SEmmanuel Vadot			};
13625def4c47SEmmanuel Vadot
13638bab661aSEmmanuel Vadot			blsp2_i2c6_default: blsp2-i2c6-default-state {
13645def4c47SEmmanuel Vadot				pins = "gpio83", "gpio84";
13655def4c47SEmmanuel Vadot				function = "blsp_i2c12";
13665def4c47SEmmanuel Vadot				drive-strength = <2>;
13675def4c47SEmmanuel Vadot				bias-disable;
13685def4c47SEmmanuel Vadot			};
13695def4c47SEmmanuel Vadot
13708bab661aSEmmanuel Vadot			blsp2_i2c6_sleep: blsp2-i2c6-sleep-state {
13715def4c47SEmmanuel Vadot				pins = "gpio83", "gpio84";
13725def4c47SEmmanuel Vadot				function = "blsp_i2c12";
13735def4c47SEmmanuel Vadot				drive-strength = <2>;
13745def4c47SEmmanuel Vadot				bias-pull-up;
13755def4c47SEmmanuel Vadot			};
1376f126890aSEmmanuel Vadot
1377f126890aSEmmanuel Vadot			blsp2_spi1_default: blsp2-spi1-default-state {
1378f126890aSEmmanuel Vadot				pins = "gpio53", "gpio54", "gpio55", "gpio56";
1379f126890aSEmmanuel Vadot				function = "blsp_spi7";
1380f126890aSEmmanuel Vadot				drive-strength = <6>;
1381f126890aSEmmanuel Vadot				bias-disable;
1382f126890aSEmmanuel Vadot			};
1383f126890aSEmmanuel Vadot
1384f126890aSEmmanuel Vadot			blsp2_spi2_default: blsp2-spi2-default-state {
1385f126890aSEmmanuel Vadot				pins = "gpio4", "gpio5", "gpio6", "gpio7";
1386f126890aSEmmanuel Vadot				function = "blsp_spi8";
1387f126890aSEmmanuel Vadot				drive-strength = <6>;
1388f126890aSEmmanuel Vadot				bias-disable;
1389f126890aSEmmanuel Vadot			};
1390f126890aSEmmanuel Vadot
1391f126890aSEmmanuel Vadot			blsp2_spi3_default: blsp2-spi3-default-state {
1392f126890aSEmmanuel Vadot				pins = "gpio49", "gpio50", "gpio51", "gpio52";
1393f126890aSEmmanuel Vadot				function = "blsp_spi9";
1394f126890aSEmmanuel Vadot				drive-strength = <6>;
1395f126890aSEmmanuel Vadot				bias-disable;
1396f126890aSEmmanuel Vadot			};
1397f126890aSEmmanuel Vadot
1398f126890aSEmmanuel Vadot			blsp2_spi4_default: blsp2-spi4-default-state {
1399f126890aSEmmanuel Vadot				pins = "gpio65", "gpio66", "gpio67", "gpio68";
1400f126890aSEmmanuel Vadot				function = "blsp_spi10";
1401f126890aSEmmanuel Vadot				drive-strength = <6>;
1402f126890aSEmmanuel Vadot				bias-disable;
1403f126890aSEmmanuel Vadot			};
1404f126890aSEmmanuel Vadot
1405f126890aSEmmanuel Vadot			blsp2_spi5_default: blsp2-spi5-default-state {
1406f126890aSEmmanuel Vadot				pins = "gpio58", "gpio59", "gpio60", "gpio61";
1407f126890aSEmmanuel Vadot				function = "blsp_spi11";
1408f126890aSEmmanuel Vadot				drive-strength = <6>;
1409f126890aSEmmanuel Vadot				bias-disable;
1410f126890aSEmmanuel Vadot			};
1411f126890aSEmmanuel Vadot
1412f126890aSEmmanuel Vadot			blsp2_spi6_default: blsp2-spi6-default-state {
1413f126890aSEmmanuel Vadot				pins = "gpio81", "gpio82", "gpio83", "gpio84";
1414f126890aSEmmanuel Vadot				function = "blsp_spi12";
1415f126890aSEmmanuel Vadot				drive-strength = <6>;
1416f126890aSEmmanuel Vadot				bias-disable;
1417f126890aSEmmanuel Vadot			};
1418c66ec88fSEmmanuel Vadot		};
1419c66ec88fSEmmanuel Vadot
1420c66ec88fSEmmanuel Vadot		remoteproc_mss: remoteproc@4080000 {
1421c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-mss-pil";
1422c66ec88fSEmmanuel Vadot			reg = <0x04080000 0x100>, <0x04180000 0x20>;
1423c66ec88fSEmmanuel Vadot			reg-names = "qdsp6", "rmb";
1424c66ec88fSEmmanuel Vadot
1425c66ec88fSEmmanuel Vadot			interrupts-extended =
1426c66ec88fSEmmanuel Vadot				<&intc GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
1427c66ec88fSEmmanuel Vadot				<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1428c66ec88fSEmmanuel Vadot				<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1429c66ec88fSEmmanuel Vadot				<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1430c66ec88fSEmmanuel Vadot				<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
1431c66ec88fSEmmanuel Vadot				<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
1432c66ec88fSEmmanuel Vadot			interrupt-names = "wdog", "fatal", "ready",
1433c66ec88fSEmmanuel Vadot					  "handover", "stop-ack",
1434c66ec88fSEmmanuel Vadot					  "shutdown-ack";
1435c66ec88fSEmmanuel Vadot
1436c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
1437c66ec88fSEmmanuel Vadot				 <&gcc GCC_BIMC_MSS_Q6_AXI_CLK>,
1438c66ec88fSEmmanuel Vadot				 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1439c66ec88fSEmmanuel Vadot				 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
1440c66ec88fSEmmanuel Vadot				 <&gcc GCC_MSS_SNOC_AXI_CLK>,
1441c66ec88fSEmmanuel Vadot				 <&gcc GCC_MSS_MNOC_BIMC_AXI_CLK>,
1442c66ec88fSEmmanuel Vadot				 <&rpmcc RPM_SMD_QDSS_CLK>,
1443c66ec88fSEmmanuel Vadot				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
1444c66ec88fSEmmanuel Vadot			clock-names = "iface", "bus", "mem", "gpll0_mss",
1445c66ec88fSEmmanuel Vadot				      "snoc_axi", "mnoc_axi", "qdss", "xo";
1446c66ec88fSEmmanuel Vadot
1447c66ec88fSEmmanuel Vadot			qcom,smem-states = <&modem_smp2p_out 0>;
1448c66ec88fSEmmanuel Vadot			qcom,smem-state-names = "stop";
1449c66ec88fSEmmanuel Vadot
1450c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_MSS_RESTART>;
1451c66ec88fSEmmanuel Vadot			reset-names = "mss_restart";
1452c66ec88fSEmmanuel Vadot
14537ef62cebSEmmanuel Vadot			qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>;
1454c66ec88fSEmmanuel Vadot
1455c66ec88fSEmmanuel Vadot			power-domains = <&rpmpd MSM8998_VDDCX>,
1456c66ec88fSEmmanuel Vadot					<&rpmpd MSM8998_VDDMX>;
1457c66ec88fSEmmanuel Vadot			power-domain-names = "cx", "mx";
1458c66ec88fSEmmanuel Vadot
14592eb4d8dcSEmmanuel Vadot			status = "disabled";
14602eb4d8dcSEmmanuel Vadot
1461c66ec88fSEmmanuel Vadot			mba {
1462c66ec88fSEmmanuel Vadot				memory-region = <&mba_mem>;
1463c66ec88fSEmmanuel Vadot			};
1464c66ec88fSEmmanuel Vadot
1465c66ec88fSEmmanuel Vadot			mpss {
1466c66ec88fSEmmanuel Vadot				memory-region = <&mpss_mem>;
1467c66ec88fSEmmanuel Vadot			};
1468c66ec88fSEmmanuel Vadot
1469cb7aa33aSEmmanuel Vadot			metadata {
1470cb7aa33aSEmmanuel Vadot				memory-region = <&mdata_mem>;
1471cb7aa33aSEmmanuel Vadot			};
1472cb7aa33aSEmmanuel Vadot
1473c66ec88fSEmmanuel Vadot			glink-edge {
1474c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 452 IRQ_TYPE_EDGE_RISING>;
1475c66ec88fSEmmanuel Vadot				label = "modem";
1476c66ec88fSEmmanuel Vadot				qcom,remote-pid = <1>;
1477c66ec88fSEmmanuel Vadot				mboxes = <&apcs_glb 15>;
1478c66ec88fSEmmanuel Vadot			};
1479c66ec88fSEmmanuel Vadot		};
1480c66ec88fSEmmanuel Vadot
14818cc087a1SEmmanuel Vadot		adreno_gpu: gpu@5000000 {
14828cc087a1SEmmanuel Vadot			compatible = "qcom,adreno-540.1", "qcom,adreno";
14838cc087a1SEmmanuel Vadot			reg = <0x05000000 0x40000>;
14848cc087a1SEmmanuel Vadot			reg-names = "kgsl_3d0_reg_memory";
14858cc087a1SEmmanuel Vadot
14868cc087a1SEmmanuel Vadot			clocks = <&gcc GCC_GPU_CFG_AHB_CLK>,
14878cc087a1SEmmanuel Vadot				<&gpucc RBBMTIMER_CLK>,
14888cc087a1SEmmanuel Vadot				<&gcc GCC_BIMC_GFX_CLK>,
14898cc087a1SEmmanuel Vadot				<&gcc GCC_GPU_BIMC_GFX_CLK>,
14908cc087a1SEmmanuel Vadot				<&gpucc RBCPR_CLK>,
14918cc087a1SEmmanuel Vadot				<&gpucc GFX3D_CLK>;
14928cc087a1SEmmanuel Vadot			clock-names = "iface",
14938cc087a1SEmmanuel Vadot				"rbbmtimer",
14948cc087a1SEmmanuel Vadot				"mem",
14958cc087a1SEmmanuel Vadot				"mem_iface",
14968cc087a1SEmmanuel Vadot				"rbcpr",
14978cc087a1SEmmanuel Vadot				"core";
14988cc087a1SEmmanuel Vadot
1499aa1a8ff2SEmmanuel Vadot			interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
15008cc087a1SEmmanuel Vadot			iommus = <&adreno_smmu 0>;
15018cc087a1SEmmanuel Vadot			operating-points-v2 = <&gpu_opp_table>;
15028cc087a1SEmmanuel Vadot			power-domains = <&rpmpd MSM8998_VDDMX>;
15038cc087a1SEmmanuel Vadot			status = "disabled";
15048cc087a1SEmmanuel Vadot
15058cc087a1SEmmanuel Vadot			gpu_opp_table: opp-table {
15068cc087a1SEmmanuel Vadot				compatible = "operating-points-v2";
15078cc087a1SEmmanuel Vadot				opp-710000097 {
15088cc087a1SEmmanuel Vadot					opp-hz = /bits/ 64 <710000097>;
15098cc087a1SEmmanuel Vadot					opp-level = <RPM_SMD_LEVEL_TURBO>;
1510cb7aa33aSEmmanuel Vadot					opp-supported-hw = <0xff>;
15118cc087a1SEmmanuel Vadot				};
15128cc087a1SEmmanuel Vadot
15138cc087a1SEmmanuel Vadot				opp-670000048 {
15148cc087a1SEmmanuel Vadot					opp-hz = /bits/ 64 <670000048>;
15158cc087a1SEmmanuel Vadot					opp-level = <RPM_SMD_LEVEL_NOM_PLUS>;
1516cb7aa33aSEmmanuel Vadot					opp-supported-hw = <0xff>;
15178cc087a1SEmmanuel Vadot				};
15188cc087a1SEmmanuel Vadot
15198cc087a1SEmmanuel Vadot				opp-596000097 {
15208cc087a1SEmmanuel Vadot					opp-hz = /bits/ 64 <596000097>;
15218cc087a1SEmmanuel Vadot					opp-level = <RPM_SMD_LEVEL_NOM>;
1522cb7aa33aSEmmanuel Vadot					opp-supported-hw = <0xff>;
15238cc087a1SEmmanuel Vadot				};
15248cc087a1SEmmanuel Vadot
15258cc087a1SEmmanuel Vadot				opp-515000097 {
15268cc087a1SEmmanuel Vadot					opp-hz = /bits/ 64 <515000097>;
15278cc087a1SEmmanuel Vadot					opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
1528cb7aa33aSEmmanuel Vadot					opp-supported-hw = <0xff>;
15298cc087a1SEmmanuel Vadot				};
15308cc087a1SEmmanuel Vadot
15318cc087a1SEmmanuel Vadot				opp-414000000 {
15328cc087a1SEmmanuel Vadot					opp-hz = /bits/ 64 <414000000>;
15338cc087a1SEmmanuel Vadot					opp-level = <RPM_SMD_LEVEL_SVS>;
1534cb7aa33aSEmmanuel Vadot					opp-supported-hw = <0xff>;
15358cc087a1SEmmanuel Vadot				};
15368cc087a1SEmmanuel Vadot
15378cc087a1SEmmanuel Vadot				opp-342000000 {
15388cc087a1SEmmanuel Vadot					opp-hz = /bits/ 64 <342000000>;
15398cc087a1SEmmanuel Vadot					opp-level = <RPM_SMD_LEVEL_LOW_SVS>;
1540cb7aa33aSEmmanuel Vadot					opp-supported-hw = <0xff>;
15418cc087a1SEmmanuel Vadot				};
15428cc087a1SEmmanuel Vadot
15438cc087a1SEmmanuel Vadot				opp-257000000 {
15448cc087a1SEmmanuel Vadot					opp-hz = /bits/ 64 <257000000>;
15458cc087a1SEmmanuel Vadot					opp-level = <RPM_SMD_LEVEL_MIN_SVS>;
1546cb7aa33aSEmmanuel Vadot					opp-supported-hw = <0xff>;
15478cc087a1SEmmanuel Vadot				};
15488cc087a1SEmmanuel Vadot			};
15498cc087a1SEmmanuel Vadot		};
15508cc087a1SEmmanuel Vadot
15518cc087a1SEmmanuel Vadot		adreno_smmu: iommu@5040000 {
15528cc087a1SEmmanuel Vadot			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
15538cc087a1SEmmanuel Vadot			reg = <0x05040000 0x10000>;
15548cc087a1SEmmanuel Vadot			clocks = <&gcc GCC_GPU_CFG_AHB_CLK>,
15558cc087a1SEmmanuel Vadot				 <&gcc GCC_BIMC_GFX_CLK>,
15568cc087a1SEmmanuel Vadot				 <&gcc GCC_GPU_BIMC_GFX_CLK>;
15578cc087a1SEmmanuel Vadot			clock-names = "iface", "mem", "mem_iface";
15588cc087a1SEmmanuel Vadot
15598cc087a1SEmmanuel Vadot			#global-interrupts = <0>;
15608cc087a1SEmmanuel Vadot			#iommu-cells = <1>;
15618cc087a1SEmmanuel Vadot			interrupts =
15628cc087a1SEmmanuel Vadot				<GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
15638cc087a1SEmmanuel Vadot				<GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
15648cc087a1SEmmanuel Vadot				<GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>;
15658cc087a1SEmmanuel Vadot			/*
15668cc087a1SEmmanuel Vadot			 * GPU-GX GDSC's parent is GPU-CX. We need to bring up the
15678cc087a1SEmmanuel Vadot			 * GPU-CX for SMMU but we need both of them up for Adreno.
15688cc087a1SEmmanuel Vadot			 * Contemporarily, we also need to manage the VDDMX rpmpd
15698cc087a1SEmmanuel Vadot			 * domain in the Adreno driver.
15708cc087a1SEmmanuel Vadot			 * Enable GPU CX/GX GDSCs here so that we can manage the
15718cc087a1SEmmanuel Vadot			 * SoC VDDMX RPM Power Domain in the Adreno driver.
15728cc087a1SEmmanuel Vadot			 */
15738cc087a1SEmmanuel Vadot			power-domains = <&gpucc GPU_GX_GDSC>;
15748cc087a1SEmmanuel Vadot		};
15758cc087a1SEmmanuel Vadot
1576c66ec88fSEmmanuel Vadot		gpucc: clock-controller@5065000 {
1577c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-gpucc";
1578c66ec88fSEmmanuel Vadot			#clock-cells = <1>;
1579c66ec88fSEmmanuel Vadot			#reset-cells = <1>;
1580c66ec88fSEmmanuel Vadot			#power-domain-cells = <1>;
1581c66ec88fSEmmanuel Vadot			reg = <0x05065000 0x9000>;
1582c66ec88fSEmmanuel Vadot
1583c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
1584aa1a8ff2SEmmanuel Vadot				 <&gcc GCC_GPU_GPLL0_CLK>;
1585c66ec88fSEmmanuel Vadot			clock-names = "xo",
1586c66ec88fSEmmanuel Vadot				      "gpll0";
1587c66ec88fSEmmanuel Vadot		};
1588c66ec88fSEmmanuel Vadot
1589*b2d2a78aSEmmanuel Vadot		lpass_q6_smmu: iommu@5100000 {
1590*b2d2a78aSEmmanuel Vadot			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
1591*b2d2a78aSEmmanuel Vadot			reg = <0x05100000 0x40000>;
1592*b2d2a78aSEmmanuel Vadot			clocks = <&gcc HLOS1_VOTE_LPASS_ADSP_SMMU_CLK>;
1593*b2d2a78aSEmmanuel Vadot			clock-names = "bus";
1594*b2d2a78aSEmmanuel Vadot
1595*b2d2a78aSEmmanuel Vadot			#global-interrupts = <0>;
1596*b2d2a78aSEmmanuel Vadot			#iommu-cells = <1>;
1597*b2d2a78aSEmmanuel Vadot			interrupts =
1598*b2d2a78aSEmmanuel Vadot				<GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>,
1599*b2d2a78aSEmmanuel Vadot				<GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH>,
1600*b2d2a78aSEmmanuel Vadot				<GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>,
1601*b2d2a78aSEmmanuel Vadot				<GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
1602*b2d2a78aSEmmanuel Vadot				<GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
1603*b2d2a78aSEmmanuel Vadot				<GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
1604*b2d2a78aSEmmanuel Vadot				<GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
1605*b2d2a78aSEmmanuel Vadot				<GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
1606*b2d2a78aSEmmanuel Vadot				<GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
1607*b2d2a78aSEmmanuel Vadot				<GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
1608*b2d2a78aSEmmanuel Vadot				<GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
1609*b2d2a78aSEmmanuel Vadot				<GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
1610*b2d2a78aSEmmanuel Vadot				<GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
1611*b2d2a78aSEmmanuel Vadot
1612*b2d2a78aSEmmanuel Vadot			power-domains = <&gcc LPASS_ADSP_GDSC>;
1613*b2d2a78aSEmmanuel Vadot			status = "disabled";
1614*b2d2a78aSEmmanuel Vadot		};
1615*b2d2a78aSEmmanuel Vadot
1616c66ec88fSEmmanuel Vadot		remoteproc_slpi: remoteproc@5800000 {
1617c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-slpi-pas";
1618c66ec88fSEmmanuel Vadot			reg = <0x05800000 0x4040>;
1619c66ec88fSEmmanuel Vadot
1620c66ec88fSEmmanuel Vadot			interrupts-extended = <&intc GIC_SPI 390 IRQ_TYPE_EDGE_RISING>,
1621c66ec88fSEmmanuel Vadot					      <&slpi_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1622c66ec88fSEmmanuel Vadot					      <&slpi_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1623c66ec88fSEmmanuel Vadot					      <&slpi_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1624c66ec88fSEmmanuel Vadot					      <&slpi_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
1625c66ec88fSEmmanuel Vadot			interrupt-names = "wdog", "fatal", "ready",
1626c66ec88fSEmmanuel Vadot					  "handover", "stop-ack";
1627c66ec88fSEmmanuel Vadot
1628c66ec88fSEmmanuel Vadot			px-supply = <&vreg_lvs2a_1p8>;
1629c66ec88fSEmmanuel Vadot
16308d13bc63SEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
16318d13bc63SEmmanuel Vadot			clock-names = "xo";
1632c66ec88fSEmmanuel Vadot
1633c66ec88fSEmmanuel Vadot			memory-region = <&slpi_mem>;
1634c66ec88fSEmmanuel Vadot
1635c66ec88fSEmmanuel Vadot			qcom,smem-states = <&slpi_smp2p_out 0>;
1636c66ec88fSEmmanuel Vadot			qcom,smem-state-names = "stop";
1637c66ec88fSEmmanuel Vadot
1638c66ec88fSEmmanuel Vadot			power-domains = <&rpmpd MSM8998_SSCCX>;
1639c66ec88fSEmmanuel Vadot			power-domain-names = "ssc_cx";
1640c66ec88fSEmmanuel Vadot
1641c66ec88fSEmmanuel Vadot			status = "disabled";
1642c66ec88fSEmmanuel Vadot
1643c66ec88fSEmmanuel Vadot			glink-edge {
1644c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 179 IRQ_TYPE_EDGE_RISING>;
1645c66ec88fSEmmanuel Vadot				label = "dsps";
1646c66ec88fSEmmanuel Vadot				qcom,remote-pid = <3>;
1647c66ec88fSEmmanuel Vadot				mboxes = <&apcs_glb 27>;
1648c66ec88fSEmmanuel Vadot			};
1649c66ec88fSEmmanuel Vadot		};
1650c66ec88fSEmmanuel Vadot
1651c66ec88fSEmmanuel Vadot		stm: stm@6002000 {
1652c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-stm", "arm,primecell";
1653c66ec88fSEmmanuel Vadot			reg = <0x06002000 0x1000>,
1654c66ec88fSEmmanuel Vadot			      <0x16280000 0x180000>;
1655fac71e4eSEmmanuel Vadot			reg-names = "stm-base", "stm-stimulus-base";
1656c66ec88fSEmmanuel Vadot			status = "disabled";
1657c66ec88fSEmmanuel Vadot
1658c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1659c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
1660c66ec88fSEmmanuel Vadot
1661c66ec88fSEmmanuel Vadot			out-ports {
1662c66ec88fSEmmanuel Vadot				port {
1663c66ec88fSEmmanuel Vadot					stm_out: endpoint {
1664c66ec88fSEmmanuel Vadot						remote-endpoint = <&funnel0_in7>;
1665c66ec88fSEmmanuel Vadot					};
1666c66ec88fSEmmanuel Vadot				};
1667c66ec88fSEmmanuel Vadot			};
1668c66ec88fSEmmanuel Vadot		};
1669c66ec88fSEmmanuel Vadot
1670c66ec88fSEmmanuel Vadot		funnel1: funnel@6041000 {
1671c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1672c66ec88fSEmmanuel Vadot			reg = <0x06041000 0x1000>;
1673c66ec88fSEmmanuel Vadot			status = "disabled";
1674c66ec88fSEmmanuel Vadot
1675c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1676c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
1677c66ec88fSEmmanuel Vadot
1678c66ec88fSEmmanuel Vadot			out-ports {
1679c66ec88fSEmmanuel Vadot				port {
1680c66ec88fSEmmanuel Vadot					funnel0_out: endpoint {
1681c66ec88fSEmmanuel Vadot						remote-endpoint =
1682c66ec88fSEmmanuel Vadot						  <&merge_funnel_in0>;
1683c66ec88fSEmmanuel Vadot					};
1684c66ec88fSEmmanuel Vadot				};
1685c66ec88fSEmmanuel Vadot			};
1686c66ec88fSEmmanuel Vadot
1687c66ec88fSEmmanuel Vadot			in-ports {
1688c66ec88fSEmmanuel Vadot				#address-cells = <1>;
1689c66ec88fSEmmanuel Vadot				#size-cells = <0>;
1690c66ec88fSEmmanuel Vadot
1691c66ec88fSEmmanuel Vadot				port@7 {
1692c66ec88fSEmmanuel Vadot					reg = <7>;
1693c66ec88fSEmmanuel Vadot					funnel0_in7: endpoint {
1694c66ec88fSEmmanuel Vadot						remote-endpoint = <&stm_out>;
1695c66ec88fSEmmanuel Vadot					};
1696c66ec88fSEmmanuel Vadot				};
1697c66ec88fSEmmanuel Vadot			};
1698c66ec88fSEmmanuel Vadot		};
1699c66ec88fSEmmanuel Vadot
1700c66ec88fSEmmanuel Vadot		funnel2: funnel@6042000 {
1701c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1702c66ec88fSEmmanuel Vadot			reg = <0x06042000 0x1000>;
1703c66ec88fSEmmanuel Vadot			status = "disabled";
1704c66ec88fSEmmanuel Vadot
1705c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1706c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
1707c66ec88fSEmmanuel Vadot
1708c66ec88fSEmmanuel Vadot			out-ports {
1709c66ec88fSEmmanuel Vadot				port {
1710c66ec88fSEmmanuel Vadot					funnel1_out: endpoint {
1711c66ec88fSEmmanuel Vadot						remote-endpoint =
1712c66ec88fSEmmanuel Vadot						  <&merge_funnel_in1>;
1713c66ec88fSEmmanuel Vadot					};
1714c66ec88fSEmmanuel Vadot				};
1715c66ec88fSEmmanuel Vadot			};
1716c66ec88fSEmmanuel Vadot
1717c66ec88fSEmmanuel Vadot			in-ports {
1718c66ec88fSEmmanuel Vadot				#address-cells = <1>;
1719c66ec88fSEmmanuel Vadot				#size-cells = <0>;
1720c66ec88fSEmmanuel Vadot
1721c66ec88fSEmmanuel Vadot				port@6 {
1722c66ec88fSEmmanuel Vadot					reg = <6>;
1723c66ec88fSEmmanuel Vadot					funnel1_in6: endpoint {
1724c66ec88fSEmmanuel Vadot						remote-endpoint =
1725c66ec88fSEmmanuel Vadot						  <&apss_merge_funnel_out>;
1726c66ec88fSEmmanuel Vadot					};
1727c66ec88fSEmmanuel Vadot				};
1728c66ec88fSEmmanuel Vadot			};
1729c66ec88fSEmmanuel Vadot		};
1730c66ec88fSEmmanuel Vadot
1731c66ec88fSEmmanuel Vadot		funnel3: funnel@6045000 {
1732c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1733c66ec88fSEmmanuel Vadot			reg = <0x06045000 0x1000>;
1734c66ec88fSEmmanuel Vadot			status = "disabled";
1735c66ec88fSEmmanuel Vadot
1736c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1737c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
1738c66ec88fSEmmanuel Vadot
1739c66ec88fSEmmanuel Vadot			out-ports {
1740c66ec88fSEmmanuel Vadot				port {
1741c66ec88fSEmmanuel Vadot					merge_funnel_out: endpoint {
1742c66ec88fSEmmanuel Vadot						remote-endpoint =
1743c66ec88fSEmmanuel Vadot						  <&etf_in>;
1744c66ec88fSEmmanuel Vadot					};
1745c66ec88fSEmmanuel Vadot				};
1746c66ec88fSEmmanuel Vadot			};
1747c66ec88fSEmmanuel Vadot
1748c66ec88fSEmmanuel Vadot			in-ports {
1749c66ec88fSEmmanuel Vadot				#address-cells = <1>;
1750c66ec88fSEmmanuel Vadot				#size-cells = <0>;
1751c66ec88fSEmmanuel Vadot
1752c66ec88fSEmmanuel Vadot				port@0 {
1753c66ec88fSEmmanuel Vadot					reg = <0>;
1754c66ec88fSEmmanuel Vadot					merge_funnel_in0: endpoint {
1755c66ec88fSEmmanuel Vadot						remote-endpoint =
1756c66ec88fSEmmanuel Vadot						  <&funnel0_out>;
1757c66ec88fSEmmanuel Vadot					};
1758c66ec88fSEmmanuel Vadot				};
1759c66ec88fSEmmanuel Vadot
1760c66ec88fSEmmanuel Vadot				port@1 {
1761c66ec88fSEmmanuel Vadot					reg = <1>;
1762c66ec88fSEmmanuel Vadot					merge_funnel_in1: endpoint {
1763c66ec88fSEmmanuel Vadot						remote-endpoint =
1764c66ec88fSEmmanuel Vadot						  <&funnel1_out>;
1765c66ec88fSEmmanuel Vadot					};
1766c66ec88fSEmmanuel Vadot				};
1767c66ec88fSEmmanuel Vadot			};
1768c66ec88fSEmmanuel Vadot		};
1769c66ec88fSEmmanuel Vadot
1770c66ec88fSEmmanuel Vadot		replicator1: replicator@6046000 {
1771c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
1772c66ec88fSEmmanuel Vadot			reg = <0x06046000 0x1000>;
1773c66ec88fSEmmanuel Vadot			status = "disabled";
1774c66ec88fSEmmanuel Vadot
1775c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1776c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
1777c66ec88fSEmmanuel Vadot
1778c66ec88fSEmmanuel Vadot			out-ports {
1779c66ec88fSEmmanuel Vadot				port {
1780c66ec88fSEmmanuel Vadot					replicator_out: endpoint {
1781c66ec88fSEmmanuel Vadot						remote-endpoint = <&etr_in>;
1782c66ec88fSEmmanuel Vadot					};
1783c66ec88fSEmmanuel Vadot				};
1784c66ec88fSEmmanuel Vadot			};
1785c66ec88fSEmmanuel Vadot
1786c66ec88fSEmmanuel Vadot			in-ports {
1787c66ec88fSEmmanuel Vadot				port {
1788c66ec88fSEmmanuel Vadot					replicator_in: endpoint {
1789c66ec88fSEmmanuel Vadot						remote-endpoint = <&etf_out>;
1790c66ec88fSEmmanuel Vadot					};
1791c66ec88fSEmmanuel Vadot				};
1792c66ec88fSEmmanuel Vadot			};
1793c66ec88fSEmmanuel Vadot		};
1794c66ec88fSEmmanuel Vadot
1795c66ec88fSEmmanuel Vadot		etf: etf@6047000 {
1796c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-tmc", "arm,primecell";
1797c66ec88fSEmmanuel Vadot			reg = <0x06047000 0x1000>;
1798c66ec88fSEmmanuel Vadot			status = "disabled";
1799c66ec88fSEmmanuel Vadot
1800c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1801c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
1802c66ec88fSEmmanuel Vadot
1803c66ec88fSEmmanuel Vadot			out-ports {
1804c66ec88fSEmmanuel Vadot				port {
1805c66ec88fSEmmanuel Vadot					etf_out: endpoint {
1806c66ec88fSEmmanuel Vadot						remote-endpoint =
1807c66ec88fSEmmanuel Vadot						  <&replicator_in>;
1808c66ec88fSEmmanuel Vadot					};
1809c66ec88fSEmmanuel Vadot				};
1810c66ec88fSEmmanuel Vadot			};
1811c66ec88fSEmmanuel Vadot
1812c66ec88fSEmmanuel Vadot			in-ports {
1813c66ec88fSEmmanuel Vadot				port {
1814c66ec88fSEmmanuel Vadot					etf_in: endpoint {
1815c66ec88fSEmmanuel Vadot						remote-endpoint =
1816c66ec88fSEmmanuel Vadot						  <&merge_funnel_out>;
1817c66ec88fSEmmanuel Vadot					};
1818c66ec88fSEmmanuel Vadot				};
1819c66ec88fSEmmanuel Vadot			};
1820c66ec88fSEmmanuel Vadot		};
1821c66ec88fSEmmanuel Vadot
1822c66ec88fSEmmanuel Vadot		etr: etr@6048000 {
1823c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-tmc", "arm,primecell";
1824c66ec88fSEmmanuel Vadot			reg = <0x06048000 0x1000>;
1825c66ec88fSEmmanuel Vadot			status = "disabled";
1826c66ec88fSEmmanuel Vadot
1827c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1828c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
1829c66ec88fSEmmanuel Vadot			arm,scatter-gather;
1830c66ec88fSEmmanuel Vadot
1831c66ec88fSEmmanuel Vadot			in-ports {
1832c66ec88fSEmmanuel Vadot				port {
1833c66ec88fSEmmanuel Vadot					etr_in: endpoint {
1834c66ec88fSEmmanuel Vadot						remote-endpoint =
1835c66ec88fSEmmanuel Vadot						  <&replicator_out>;
1836c66ec88fSEmmanuel Vadot					};
1837c66ec88fSEmmanuel Vadot				};
1838c66ec88fSEmmanuel Vadot			};
1839c66ec88fSEmmanuel Vadot		};
1840c66ec88fSEmmanuel Vadot
1841c66ec88fSEmmanuel Vadot		etm1: etm@7840000 {
1842c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-etm4x", "arm,primecell";
1843c66ec88fSEmmanuel Vadot			reg = <0x07840000 0x1000>;
1844c66ec88fSEmmanuel Vadot			status = "disabled";
1845c66ec88fSEmmanuel Vadot
1846c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1847c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
1848c66ec88fSEmmanuel Vadot
1849c66ec88fSEmmanuel Vadot			cpu = <&CPU0>;
1850c66ec88fSEmmanuel Vadot
1851c66ec88fSEmmanuel Vadot			out-ports {
1852c66ec88fSEmmanuel Vadot				port {
1853c66ec88fSEmmanuel Vadot					etm0_out: endpoint {
1854c66ec88fSEmmanuel Vadot						remote-endpoint =
1855c66ec88fSEmmanuel Vadot						  <&apss_funnel_in0>;
1856c66ec88fSEmmanuel Vadot					};
1857c66ec88fSEmmanuel Vadot				};
1858c66ec88fSEmmanuel Vadot			};
1859c66ec88fSEmmanuel Vadot		};
1860c66ec88fSEmmanuel Vadot
1861c66ec88fSEmmanuel Vadot		etm2: etm@7940000 {
1862c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-etm4x", "arm,primecell";
1863c66ec88fSEmmanuel Vadot			reg = <0x07940000 0x1000>;
1864c66ec88fSEmmanuel Vadot			status = "disabled";
1865c66ec88fSEmmanuel Vadot
1866c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1867c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
1868c66ec88fSEmmanuel Vadot
1869c66ec88fSEmmanuel Vadot			cpu = <&CPU1>;
1870c66ec88fSEmmanuel Vadot
1871c66ec88fSEmmanuel Vadot			out-ports {
1872c66ec88fSEmmanuel Vadot				port {
1873c66ec88fSEmmanuel Vadot					etm1_out: endpoint {
1874c66ec88fSEmmanuel Vadot						remote-endpoint =
1875c66ec88fSEmmanuel Vadot						  <&apss_funnel_in1>;
1876c66ec88fSEmmanuel Vadot					};
1877c66ec88fSEmmanuel Vadot				};
1878c66ec88fSEmmanuel Vadot			};
1879c66ec88fSEmmanuel Vadot		};
1880c66ec88fSEmmanuel Vadot
1881c66ec88fSEmmanuel Vadot		etm3: etm@7a40000 {
1882c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-etm4x", "arm,primecell";
1883c66ec88fSEmmanuel Vadot			reg = <0x07a40000 0x1000>;
1884c66ec88fSEmmanuel Vadot			status = "disabled";
1885c66ec88fSEmmanuel Vadot
1886c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1887c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
1888c66ec88fSEmmanuel Vadot
1889c66ec88fSEmmanuel Vadot			cpu = <&CPU2>;
1890c66ec88fSEmmanuel Vadot
1891c66ec88fSEmmanuel Vadot			out-ports {
1892c66ec88fSEmmanuel Vadot				port {
1893c66ec88fSEmmanuel Vadot					etm2_out: endpoint {
1894c66ec88fSEmmanuel Vadot						remote-endpoint =
1895c66ec88fSEmmanuel Vadot						  <&apss_funnel_in2>;
1896c66ec88fSEmmanuel Vadot					};
1897c66ec88fSEmmanuel Vadot				};
1898c66ec88fSEmmanuel Vadot			};
1899c66ec88fSEmmanuel Vadot		};
1900c66ec88fSEmmanuel Vadot
1901c66ec88fSEmmanuel Vadot		etm4: etm@7b40000 {
1902c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-etm4x", "arm,primecell";
1903c66ec88fSEmmanuel Vadot			reg = <0x07b40000 0x1000>;
1904c66ec88fSEmmanuel Vadot			status = "disabled";
1905c66ec88fSEmmanuel Vadot
1906c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1907c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
1908c66ec88fSEmmanuel Vadot
1909c66ec88fSEmmanuel Vadot			cpu = <&CPU3>;
1910c66ec88fSEmmanuel Vadot
1911c66ec88fSEmmanuel Vadot			out-ports {
1912c66ec88fSEmmanuel Vadot				port {
1913c66ec88fSEmmanuel Vadot					etm3_out: endpoint {
1914c66ec88fSEmmanuel Vadot						remote-endpoint =
1915c66ec88fSEmmanuel Vadot						  <&apss_funnel_in3>;
1916c66ec88fSEmmanuel Vadot					};
1917c66ec88fSEmmanuel Vadot				};
1918c66ec88fSEmmanuel Vadot			};
1919c66ec88fSEmmanuel Vadot		};
1920c66ec88fSEmmanuel Vadot
1921c66ec88fSEmmanuel Vadot		funnel4: funnel@7b60000 { /* APSS Funnel */
1922c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-etm4x", "arm,primecell";
1923c66ec88fSEmmanuel Vadot			reg = <0x07b60000 0x1000>;
1924c66ec88fSEmmanuel Vadot			status = "disabled";
1925c66ec88fSEmmanuel Vadot
1926c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1927c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
1928c66ec88fSEmmanuel Vadot
1929c66ec88fSEmmanuel Vadot			out-ports {
1930c66ec88fSEmmanuel Vadot				port {
1931c66ec88fSEmmanuel Vadot					apss_funnel_out: endpoint {
1932c66ec88fSEmmanuel Vadot						remote-endpoint =
1933c66ec88fSEmmanuel Vadot						  <&apss_merge_funnel_in>;
1934c66ec88fSEmmanuel Vadot					};
1935c66ec88fSEmmanuel Vadot				};
1936c66ec88fSEmmanuel Vadot			};
1937c66ec88fSEmmanuel Vadot
1938c66ec88fSEmmanuel Vadot			in-ports {
1939c66ec88fSEmmanuel Vadot				#address-cells = <1>;
1940c66ec88fSEmmanuel Vadot				#size-cells = <0>;
1941c66ec88fSEmmanuel Vadot
1942c66ec88fSEmmanuel Vadot				port@0 {
1943c66ec88fSEmmanuel Vadot					reg = <0>;
1944c66ec88fSEmmanuel Vadot					apss_funnel_in0: endpoint {
1945c66ec88fSEmmanuel Vadot						remote-endpoint =
1946c66ec88fSEmmanuel Vadot						  <&etm0_out>;
1947c66ec88fSEmmanuel Vadot					};
1948c66ec88fSEmmanuel Vadot				};
1949c66ec88fSEmmanuel Vadot
1950c66ec88fSEmmanuel Vadot				port@1 {
1951c66ec88fSEmmanuel Vadot					reg = <1>;
1952c66ec88fSEmmanuel Vadot					apss_funnel_in1: endpoint {
1953c66ec88fSEmmanuel Vadot						remote-endpoint =
1954c66ec88fSEmmanuel Vadot						  <&etm1_out>;
1955c66ec88fSEmmanuel Vadot					};
1956c66ec88fSEmmanuel Vadot				};
1957c66ec88fSEmmanuel Vadot
1958c66ec88fSEmmanuel Vadot				port@2 {
1959c66ec88fSEmmanuel Vadot					reg = <2>;
1960c66ec88fSEmmanuel Vadot					apss_funnel_in2: endpoint {
1961c66ec88fSEmmanuel Vadot						remote-endpoint =
1962c66ec88fSEmmanuel Vadot						  <&etm2_out>;
1963c66ec88fSEmmanuel Vadot					};
1964c66ec88fSEmmanuel Vadot				};
1965c66ec88fSEmmanuel Vadot
1966c66ec88fSEmmanuel Vadot				port@3 {
1967c66ec88fSEmmanuel Vadot					reg = <3>;
1968c66ec88fSEmmanuel Vadot					apss_funnel_in3: endpoint {
1969c66ec88fSEmmanuel Vadot						remote-endpoint =
1970c66ec88fSEmmanuel Vadot						  <&etm3_out>;
1971c66ec88fSEmmanuel Vadot					};
1972c66ec88fSEmmanuel Vadot				};
1973c66ec88fSEmmanuel Vadot
1974c66ec88fSEmmanuel Vadot				port@4 {
1975c66ec88fSEmmanuel Vadot					reg = <4>;
1976c66ec88fSEmmanuel Vadot					apss_funnel_in4: endpoint {
1977c66ec88fSEmmanuel Vadot						remote-endpoint =
1978c66ec88fSEmmanuel Vadot						  <&etm4_out>;
1979c66ec88fSEmmanuel Vadot					};
1980c66ec88fSEmmanuel Vadot				};
1981c66ec88fSEmmanuel Vadot
1982c66ec88fSEmmanuel Vadot				port@5 {
1983c66ec88fSEmmanuel Vadot					reg = <5>;
1984c66ec88fSEmmanuel Vadot					apss_funnel_in5: endpoint {
1985c66ec88fSEmmanuel Vadot						remote-endpoint =
1986c66ec88fSEmmanuel Vadot						  <&etm5_out>;
1987c66ec88fSEmmanuel Vadot					};
1988c66ec88fSEmmanuel Vadot				};
1989c66ec88fSEmmanuel Vadot
1990c66ec88fSEmmanuel Vadot				port@6 {
1991c66ec88fSEmmanuel Vadot					reg = <6>;
1992c66ec88fSEmmanuel Vadot					apss_funnel_in6: endpoint {
1993c66ec88fSEmmanuel Vadot						remote-endpoint =
1994c66ec88fSEmmanuel Vadot						  <&etm6_out>;
1995c66ec88fSEmmanuel Vadot					};
1996c66ec88fSEmmanuel Vadot				};
1997c66ec88fSEmmanuel Vadot
1998c66ec88fSEmmanuel Vadot				port@7 {
1999c66ec88fSEmmanuel Vadot					reg = <7>;
2000c66ec88fSEmmanuel Vadot					apss_funnel_in7: endpoint {
2001c66ec88fSEmmanuel Vadot						remote-endpoint =
2002c66ec88fSEmmanuel Vadot						  <&etm7_out>;
2003c66ec88fSEmmanuel Vadot					};
2004c66ec88fSEmmanuel Vadot				};
2005c66ec88fSEmmanuel Vadot			};
2006c66ec88fSEmmanuel Vadot		};
2007c66ec88fSEmmanuel Vadot
2008c66ec88fSEmmanuel Vadot		funnel5: funnel@7b70000 {
2009c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2010c66ec88fSEmmanuel Vadot			reg = <0x07b70000 0x1000>;
2011c66ec88fSEmmanuel Vadot			status = "disabled";
2012c66ec88fSEmmanuel Vadot
2013c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
2014c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
2015c66ec88fSEmmanuel Vadot
2016c66ec88fSEmmanuel Vadot			out-ports {
2017c66ec88fSEmmanuel Vadot				port {
2018c66ec88fSEmmanuel Vadot					apss_merge_funnel_out: endpoint {
2019c66ec88fSEmmanuel Vadot						remote-endpoint =
2020c66ec88fSEmmanuel Vadot						  <&funnel1_in6>;
2021c66ec88fSEmmanuel Vadot					};
2022c66ec88fSEmmanuel Vadot				};
2023c66ec88fSEmmanuel Vadot			};
2024c66ec88fSEmmanuel Vadot
2025c66ec88fSEmmanuel Vadot			in-ports {
2026c66ec88fSEmmanuel Vadot				port {
2027c66ec88fSEmmanuel Vadot					apss_merge_funnel_in: endpoint {
2028c66ec88fSEmmanuel Vadot						remote-endpoint =
2029c66ec88fSEmmanuel Vadot						  <&apss_funnel_out>;
2030c66ec88fSEmmanuel Vadot					};
2031c66ec88fSEmmanuel Vadot				};
2032c66ec88fSEmmanuel Vadot			};
2033c66ec88fSEmmanuel Vadot		};
2034c66ec88fSEmmanuel Vadot
2035c66ec88fSEmmanuel Vadot		etm5: etm@7c40000 {
2036c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-etm4x", "arm,primecell";
2037c66ec88fSEmmanuel Vadot			reg = <0x07c40000 0x1000>;
2038c66ec88fSEmmanuel Vadot			status = "disabled";
2039c66ec88fSEmmanuel Vadot
2040c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
2041c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
2042c66ec88fSEmmanuel Vadot
2043c66ec88fSEmmanuel Vadot			cpu = <&CPU4>;
2044c66ec88fSEmmanuel Vadot
20458d13bc63SEmmanuel Vadot			out-ports {
2046c66ec88fSEmmanuel Vadot				port {
2047c66ec88fSEmmanuel Vadot					etm4_out: endpoint {
2048c66ec88fSEmmanuel Vadot						remote-endpoint = <&apss_funnel_in4>;
2049c66ec88fSEmmanuel Vadot					};
2050c66ec88fSEmmanuel Vadot				};
2051c66ec88fSEmmanuel Vadot			};
20528d13bc63SEmmanuel Vadot		};
2053c66ec88fSEmmanuel Vadot
2054c66ec88fSEmmanuel Vadot		etm6: etm@7d40000 {
2055c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-etm4x", "arm,primecell";
2056c66ec88fSEmmanuel Vadot			reg = <0x07d40000 0x1000>;
2057c66ec88fSEmmanuel Vadot			status = "disabled";
2058c66ec88fSEmmanuel Vadot
2059c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
2060c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
2061c66ec88fSEmmanuel Vadot
2062c66ec88fSEmmanuel Vadot			cpu = <&CPU5>;
2063c66ec88fSEmmanuel Vadot
20648d13bc63SEmmanuel Vadot			out-ports {
2065c66ec88fSEmmanuel Vadot				port {
2066c66ec88fSEmmanuel Vadot					etm5_out: endpoint {
2067c66ec88fSEmmanuel Vadot						remote-endpoint = <&apss_funnel_in5>;
2068c66ec88fSEmmanuel Vadot					};
2069c66ec88fSEmmanuel Vadot				};
2070c66ec88fSEmmanuel Vadot			};
20718d13bc63SEmmanuel Vadot		};
2072c66ec88fSEmmanuel Vadot
2073c66ec88fSEmmanuel Vadot		etm7: etm@7e40000 {
2074c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-etm4x", "arm,primecell";
2075c66ec88fSEmmanuel Vadot			reg = <0x07e40000 0x1000>;
2076c66ec88fSEmmanuel Vadot			status = "disabled";
2077c66ec88fSEmmanuel Vadot
2078c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
2079c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
2080c66ec88fSEmmanuel Vadot
2081c66ec88fSEmmanuel Vadot			cpu = <&CPU6>;
2082c66ec88fSEmmanuel Vadot
20838d13bc63SEmmanuel Vadot			out-ports {
2084c66ec88fSEmmanuel Vadot				port {
2085c66ec88fSEmmanuel Vadot					etm6_out: endpoint {
2086c66ec88fSEmmanuel Vadot						remote-endpoint = <&apss_funnel_in6>;
2087c66ec88fSEmmanuel Vadot					};
2088c66ec88fSEmmanuel Vadot				};
2089c66ec88fSEmmanuel Vadot			};
20908d13bc63SEmmanuel Vadot		};
2091c66ec88fSEmmanuel Vadot
2092c66ec88fSEmmanuel Vadot		etm8: etm@7f40000 {
2093c66ec88fSEmmanuel Vadot			compatible = "arm,coresight-etm4x", "arm,primecell";
2094c66ec88fSEmmanuel Vadot			reg = <0x07f40000 0x1000>;
2095c66ec88fSEmmanuel Vadot			status = "disabled";
2096c66ec88fSEmmanuel Vadot
2097c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
2098c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk", "atclk";
2099c66ec88fSEmmanuel Vadot
2100c66ec88fSEmmanuel Vadot			cpu = <&CPU7>;
2101c66ec88fSEmmanuel Vadot
21028d13bc63SEmmanuel Vadot			out-ports {
2103c66ec88fSEmmanuel Vadot				port {
2104c66ec88fSEmmanuel Vadot					etm7_out: endpoint {
2105c66ec88fSEmmanuel Vadot						remote-endpoint = <&apss_funnel_in7>;
2106c66ec88fSEmmanuel Vadot					};
2107c66ec88fSEmmanuel Vadot				};
2108c66ec88fSEmmanuel Vadot			};
21098d13bc63SEmmanuel Vadot		};
2110c66ec88fSEmmanuel Vadot
21118cc087a1SEmmanuel Vadot		sram@290000 {
21128cc087a1SEmmanuel Vadot			compatible = "qcom,rpm-stats";
21138cc087a1SEmmanuel Vadot			reg = <0x00290000 0x10000>;
21148cc087a1SEmmanuel Vadot		};
21158cc087a1SEmmanuel Vadot
2116c66ec88fSEmmanuel Vadot		spmi_bus: spmi@800f000 {
2117c66ec88fSEmmanuel Vadot			compatible = "qcom,spmi-pmic-arb";
2118c66ec88fSEmmanuel Vadot			reg = <0x0800f000 0x1000>,
2119c66ec88fSEmmanuel Vadot			      <0x08400000 0x1000000>,
2120c66ec88fSEmmanuel Vadot			      <0x09400000 0x1000000>,
2121c66ec88fSEmmanuel Vadot			      <0x0a400000 0x220000>,
2122c66ec88fSEmmanuel Vadot			      <0x0800a000 0x3000>;
2123c66ec88fSEmmanuel Vadot			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
2124c66ec88fSEmmanuel Vadot			interrupt-names = "periph_irq";
2125c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
2126c66ec88fSEmmanuel Vadot			qcom,ee = <0>;
2127c66ec88fSEmmanuel Vadot			qcom,channel = <0>;
2128c66ec88fSEmmanuel Vadot			#address-cells = <2>;
2129c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2130c66ec88fSEmmanuel Vadot			interrupt-controller;
2131c66ec88fSEmmanuel Vadot			#interrupt-cells = <4>;
2132c66ec88fSEmmanuel Vadot		};
2133c66ec88fSEmmanuel Vadot
2134c66ec88fSEmmanuel Vadot		usb3: usb@a8f8800 {
2135c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-dwc3", "qcom,dwc3";
2136c66ec88fSEmmanuel Vadot			reg = <0x0a8f8800 0x400>;
2137c66ec88fSEmmanuel Vadot			status = "disabled";
2138c66ec88fSEmmanuel Vadot			#address-cells = <1>;
2139c66ec88fSEmmanuel Vadot			#size-cells = <1>;
2140c66ec88fSEmmanuel Vadot			ranges;
2141c66ec88fSEmmanuel Vadot
2142c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_CFG_NOC_USB3_AXI_CLK>,
2143c66ec88fSEmmanuel Vadot				 <&gcc GCC_USB30_MASTER_CLK>,
2144c66ec88fSEmmanuel Vadot				 <&gcc GCC_AGGRE1_USB3_AXI_CLK>,
2145d5b0e70fSEmmanuel Vadot				 <&gcc GCC_USB30_SLEEP_CLK>,
2146d5b0e70fSEmmanuel Vadot				 <&gcc GCC_USB30_MOCK_UTMI_CLK>;
2147d5b0e70fSEmmanuel Vadot			clock-names = "cfg_noc",
2148d5b0e70fSEmmanuel Vadot				      "core",
2149d5b0e70fSEmmanuel Vadot				      "iface",
2150d5b0e70fSEmmanuel Vadot				      "sleep",
2151d5b0e70fSEmmanuel Vadot				      "mock_utmi";
2152c66ec88fSEmmanuel Vadot
2153c66ec88fSEmmanuel Vadot			assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
2154c66ec88fSEmmanuel Vadot					  <&gcc GCC_USB30_MASTER_CLK>;
2155c66ec88fSEmmanuel Vadot			assigned-clock-rates = <19200000>, <120000000>;
2156c66ec88fSEmmanuel Vadot
215701950c46SEmmanuel Vadot			interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>,
215801950c46SEmmanuel Vadot				     <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
2159c66ec88fSEmmanuel Vadot				     <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
216001950c46SEmmanuel Vadot			interrupt-names = "pwr_event",
216101950c46SEmmanuel Vadot					  "qusb2_phy",
216201950c46SEmmanuel Vadot					  "ss_phy_irq";
2163c66ec88fSEmmanuel Vadot
2164c66ec88fSEmmanuel Vadot			power-domains = <&gcc USB_30_GDSC>;
2165c66ec88fSEmmanuel Vadot
2166c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_USB_30_BCR>;
2167c66ec88fSEmmanuel Vadot
2168d5b0e70fSEmmanuel Vadot			usb3_dwc3: usb@a800000 {
2169c66ec88fSEmmanuel Vadot				compatible = "snps,dwc3";
2170c66ec88fSEmmanuel Vadot				reg = <0x0a800000 0xcd00>;
2171c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
2172c66ec88fSEmmanuel Vadot				snps,dis_u2_susphy_quirk;
2173c66ec88fSEmmanuel Vadot				snps,dis_enblslpm_quirk;
21740e8011faSEmmanuel Vadot				snps,parkmode-disable-ss-quirk;
21758d13bc63SEmmanuel Vadot				phys = <&qusb2phy>, <&usb3phy>;
2176c66ec88fSEmmanuel Vadot				phy-names = "usb2-phy", "usb3-phy";
2177c66ec88fSEmmanuel Vadot				snps,has-lpm-erratum;
2178c66ec88fSEmmanuel Vadot				snps,hird-threshold = /bits/ 8 <0x10>;
2179c66ec88fSEmmanuel Vadot			};
2180c66ec88fSEmmanuel Vadot		};
2181c66ec88fSEmmanuel Vadot
2182c66ec88fSEmmanuel Vadot		usb3phy: phy@c010000 {
2183c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-qmp-usb3-phy";
21848d13bc63SEmmanuel Vadot			reg = <0x0c010000 0x1000>;
2185c66ec88fSEmmanuel Vadot
2186c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
21878d13bc63SEmmanuel Vadot				 <&gcc GCC_USB3_CLKREF_CLK>,
2188c66ec88fSEmmanuel Vadot				 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
21898d13bc63SEmmanuel Vadot				 <&gcc GCC_USB3_PHY_PIPE_CLK>;
21908d13bc63SEmmanuel Vadot			clock-names = "aux",
21918d13bc63SEmmanuel Vadot				      "ref",
21928d13bc63SEmmanuel Vadot				      "cfg_ahb",
21938d13bc63SEmmanuel Vadot				      "pipe";
21948d13bc63SEmmanuel Vadot			clock-output-names = "usb3_phy_pipe_clk_src";
21958d13bc63SEmmanuel Vadot			#clock-cells = <0>;
21968d13bc63SEmmanuel Vadot			#phy-cells = <0>;
2197c66ec88fSEmmanuel Vadot
2198c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_USB3_PHY_BCR>,
2199c66ec88fSEmmanuel Vadot				 <&gcc GCC_USB3PHY_PHY_BCR>;
22008d13bc63SEmmanuel Vadot			reset-names = "phy",
22018d13bc63SEmmanuel Vadot				      "phy_phy";
2202c66ec88fSEmmanuel Vadot
220301950c46SEmmanuel Vadot			qcom,tcsr-reg = <&tcsr_regs_2 0xb244>;
220401950c46SEmmanuel Vadot
22058d13bc63SEmmanuel Vadot			status = "disabled";
2206c66ec88fSEmmanuel Vadot		};
2207c66ec88fSEmmanuel Vadot
2208c66ec88fSEmmanuel Vadot		qusb2phy: phy@c012000 {
2209c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-qusb2-phy";
2210c66ec88fSEmmanuel Vadot			reg = <0x0c012000 0x2a8>;
2211c66ec88fSEmmanuel Vadot			status = "disabled";
2212c66ec88fSEmmanuel Vadot			#phy-cells = <0>;
2213c66ec88fSEmmanuel Vadot
2214c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2215c66ec88fSEmmanuel Vadot				 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
2216c66ec88fSEmmanuel Vadot			clock-names = "cfg_ahb", "ref";
2217c66ec88fSEmmanuel Vadot
2218c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
2219c66ec88fSEmmanuel Vadot
2220c66ec88fSEmmanuel Vadot			nvmem-cells = <&qusb2_hstx_trim>;
2221c66ec88fSEmmanuel Vadot		};
2222c66ec88fSEmmanuel Vadot
2223b97ee269SEmmanuel Vadot		sdhc2: mmc@c0a4900 {
22247ef62cebSEmmanuel Vadot			compatible = "qcom,msm8998-sdhci", "qcom,sdhci-msm-v4";
2225c66ec88fSEmmanuel Vadot			reg = <0x0c0a4900 0x314>, <0x0c0a4000 0x800>;
22267ef62cebSEmmanuel Vadot			reg-names = "hc", "core";
2227c66ec88fSEmmanuel Vadot
2228c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
2229c66ec88fSEmmanuel Vadot				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
2230c66ec88fSEmmanuel Vadot			interrupt-names = "hc_irq", "pwr_irq";
2231c66ec88fSEmmanuel Vadot
2232c66ec88fSEmmanuel Vadot			clock-names = "iface", "core", "xo";
2233c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
2234c66ec88fSEmmanuel Vadot				 <&gcc GCC_SDCC2_APPS_CLK>,
2235cb7aa33aSEmmanuel Vadot				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
2236c66ec88fSEmmanuel Vadot			bus-width = <4>;
2237c66ec88fSEmmanuel Vadot			status = "disabled";
2238c66ec88fSEmmanuel Vadot		};
2239c66ec88fSEmmanuel Vadot
22405def4c47SEmmanuel Vadot		blsp1_dma: dma-controller@c144000 {
2241c66ec88fSEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
2242c66ec88fSEmmanuel Vadot			reg = <0x0c144000 0x25000>;
2243c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
2244c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
2245c66ec88fSEmmanuel Vadot			clock-names = "bam_clk";
2246c66ec88fSEmmanuel Vadot			#dma-cells = <1>;
2247c66ec88fSEmmanuel Vadot			qcom,ee = <0>;
2248c66ec88fSEmmanuel Vadot			qcom,controlled-remotely;
2249c66ec88fSEmmanuel Vadot			num-channels = <18>;
2250c66ec88fSEmmanuel Vadot			qcom,num-ees = <4>;
2251c66ec88fSEmmanuel Vadot		};
2252c66ec88fSEmmanuel Vadot
2253c66ec88fSEmmanuel Vadot		blsp1_uart3: serial@c171000 {
2254c66ec88fSEmmanuel Vadot			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2255c66ec88fSEmmanuel Vadot			reg = <0x0c171000 0x1000>;
2256c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
2257c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>,
2258c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
2259c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
2260c66ec88fSEmmanuel Vadot			dmas = <&blsp1_dma 4>, <&blsp1_dma 5>;
2261c66ec88fSEmmanuel Vadot			dma-names = "tx", "rx";
2262c66ec88fSEmmanuel Vadot			pinctrl-names = "default";
2263c66ec88fSEmmanuel Vadot			pinctrl-0 = <&blsp1_uart3_on>;
2264c66ec88fSEmmanuel Vadot			status = "disabled";
2265c66ec88fSEmmanuel Vadot		};
2266c66ec88fSEmmanuel Vadot
2267c66ec88fSEmmanuel Vadot		blsp1_i2c1: i2c@c175000 {
2268c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
2269c66ec88fSEmmanuel Vadot			reg = <0x0c175000 0x600>;
2270c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
2271c66ec88fSEmmanuel Vadot
2272c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
2273c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
2274c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
22755def4c47SEmmanuel Vadot			dmas = <&blsp1_dma 6>, <&blsp1_dma 7>;
22765def4c47SEmmanuel Vadot			dma-names = "tx", "rx";
22775def4c47SEmmanuel Vadot			pinctrl-names = "default", "sleep";
22785def4c47SEmmanuel Vadot			pinctrl-0 = <&blsp1_i2c1_default>;
22795def4c47SEmmanuel Vadot			pinctrl-1 = <&blsp1_i2c1_sleep>;
2280c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
2281c66ec88fSEmmanuel Vadot
2282c66ec88fSEmmanuel Vadot			status = "disabled";
2283c66ec88fSEmmanuel Vadot			#address-cells = <1>;
2284c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2285c66ec88fSEmmanuel Vadot		};
2286c66ec88fSEmmanuel Vadot
2287c66ec88fSEmmanuel Vadot		blsp1_i2c2: i2c@c176000 {
2288c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
2289c66ec88fSEmmanuel Vadot			reg = <0x0c176000 0x600>;
2290c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
2291c66ec88fSEmmanuel Vadot
2292c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
2293c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
2294c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
22955def4c47SEmmanuel Vadot			dmas = <&blsp1_dma 8>, <&blsp1_dma 9>;
22965def4c47SEmmanuel Vadot			dma-names = "tx", "rx";
22975def4c47SEmmanuel Vadot			pinctrl-names = "default", "sleep";
22985def4c47SEmmanuel Vadot			pinctrl-0 = <&blsp1_i2c2_default>;
22995def4c47SEmmanuel Vadot			pinctrl-1 = <&blsp1_i2c2_sleep>;
2300c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
2301c66ec88fSEmmanuel Vadot
2302c66ec88fSEmmanuel Vadot			status = "disabled";
2303c66ec88fSEmmanuel Vadot			#address-cells = <1>;
2304c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2305c66ec88fSEmmanuel Vadot		};
2306c66ec88fSEmmanuel Vadot
2307c66ec88fSEmmanuel Vadot		blsp1_i2c3: i2c@c177000 {
2308c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
2309c66ec88fSEmmanuel Vadot			reg = <0x0c177000 0x600>;
2310c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
2311c66ec88fSEmmanuel Vadot
2312c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
2313c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
2314c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
23155def4c47SEmmanuel Vadot			dmas = <&blsp1_dma 10>, <&blsp1_dma 11>;
23165def4c47SEmmanuel Vadot			dma-names = "tx", "rx";
23175def4c47SEmmanuel Vadot			pinctrl-names = "default", "sleep";
23185def4c47SEmmanuel Vadot			pinctrl-0 = <&blsp1_i2c3_default>;
23195def4c47SEmmanuel Vadot			pinctrl-1 = <&blsp1_i2c3_sleep>;
2320c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
2321c66ec88fSEmmanuel Vadot
2322c66ec88fSEmmanuel Vadot			status = "disabled";
2323c66ec88fSEmmanuel Vadot			#address-cells = <1>;
2324c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2325c66ec88fSEmmanuel Vadot		};
2326c66ec88fSEmmanuel Vadot
2327c66ec88fSEmmanuel Vadot		blsp1_i2c4: i2c@c178000 {
2328c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
2329c66ec88fSEmmanuel Vadot			reg = <0x0c178000 0x600>;
2330c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
2331c66ec88fSEmmanuel Vadot
2332c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
2333c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
2334c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
23355def4c47SEmmanuel Vadot			dmas = <&blsp1_dma 12>, <&blsp1_dma 13>;
23365def4c47SEmmanuel Vadot			dma-names = "tx", "rx";
23375def4c47SEmmanuel Vadot			pinctrl-names = "default", "sleep";
23385def4c47SEmmanuel Vadot			pinctrl-0 = <&blsp1_i2c4_default>;
23395def4c47SEmmanuel Vadot			pinctrl-1 = <&blsp1_i2c4_sleep>;
2340c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
2341c66ec88fSEmmanuel Vadot
2342c66ec88fSEmmanuel Vadot			status = "disabled";
2343c66ec88fSEmmanuel Vadot			#address-cells = <1>;
2344c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2345c66ec88fSEmmanuel Vadot		};
2346c66ec88fSEmmanuel Vadot
2347c66ec88fSEmmanuel Vadot		blsp1_i2c5: i2c@c179000 {
2348c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
2349c66ec88fSEmmanuel Vadot			reg = <0x0c179000 0x600>;
2350c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
2351c66ec88fSEmmanuel Vadot
2352c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
2353c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
2354c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
23555def4c47SEmmanuel Vadot			dmas = <&blsp1_dma 14>, <&blsp1_dma 15>;
23565def4c47SEmmanuel Vadot			dma-names = "tx", "rx";
23575def4c47SEmmanuel Vadot			pinctrl-names = "default", "sleep";
23585def4c47SEmmanuel Vadot			pinctrl-0 = <&blsp1_i2c5_default>;
23595def4c47SEmmanuel Vadot			pinctrl-1 = <&blsp1_i2c5_sleep>;
2360c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
2361c66ec88fSEmmanuel Vadot
2362c66ec88fSEmmanuel Vadot			status = "disabled";
2363c66ec88fSEmmanuel Vadot			#address-cells = <1>;
2364c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2365c66ec88fSEmmanuel Vadot		};
2366c66ec88fSEmmanuel Vadot
2367c66ec88fSEmmanuel Vadot		blsp1_i2c6: i2c@c17a000 {
2368c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
2369c66ec88fSEmmanuel Vadot			reg = <0x0c17a000 0x600>;
2370c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
2371c66ec88fSEmmanuel Vadot
2372c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
2373c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
2374c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
23755def4c47SEmmanuel Vadot			dmas = <&blsp1_dma 16>, <&blsp1_dma 17>;
23765def4c47SEmmanuel Vadot			dma-names = "tx", "rx";
23775def4c47SEmmanuel Vadot			pinctrl-names = "default", "sleep";
23785def4c47SEmmanuel Vadot			pinctrl-0 = <&blsp1_i2c6_default>;
23795def4c47SEmmanuel Vadot			pinctrl-1 = <&blsp1_i2c6_sleep>;
2380c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
2381c66ec88fSEmmanuel Vadot
2382c66ec88fSEmmanuel Vadot			status = "disabled";
2383c66ec88fSEmmanuel Vadot			#address-cells = <1>;
2384c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2385c66ec88fSEmmanuel Vadot		};
2386c66ec88fSEmmanuel Vadot
2387f126890aSEmmanuel Vadot		blsp1_spi1: spi@c175000 {
2388f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
2389f126890aSEmmanuel Vadot			reg = <0x0c175000 0x600>;
2390f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
2391f126890aSEmmanuel Vadot
2392f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
2393f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
2394f126890aSEmmanuel Vadot			clock-names = "core", "iface";
2395f126890aSEmmanuel Vadot			dmas = <&blsp1_dma 6>, <&blsp1_dma 7>;
2396f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
2397f126890aSEmmanuel Vadot			pinctrl-names = "default";
2398f126890aSEmmanuel Vadot			pinctrl-0 = <&blsp1_spi1_default>;
2399f126890aSEmmanuel Vadot
2400f126890aSEmmanuel Vadot			status = "disabled";
2401f126890aSEmmanuel Vadot			#address-cells = <1>;
2402f126890aSEmmanuel Vadot			#size-cells = <0>;
2403f126890aSEmmanuel Vadot		};
2404f126890aSEmmanuel Vadot
2405f126890aSEmmanuel Vadot		blsp1_spi2: spi@c176000 {
2406f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
2407f126890aSEmmanuel Vadot			reg = <0x0c176000 0x600>;
2408f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
2409f126890aSEmmanuel Vadot
2410f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>,
2411f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
2412f126890aSEmmanuel Vadot			clock-names = "core", "iface";
2413f126890aSEmmanuel Vadot			dmas = <&blsp1_dma 8>, <&blsp1_dma 9>;
2414f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
2415f126890aSEmmanuel Vadot			pinctrl-names = "default";
2416f126890aSEmmanuel Vadot			pinctrl-0 = <&blsp1_spi2_default>;
2417f126890aSEmmanuel Vadot
2418f126890aSEmmanuel Vadot			status = "disabled";
2419f126890aSEmmanuel Vadot			#address-cells = <1>;
2420f126890aSEmmanuel Vadot			#size-cells = <0>;
2421f126890aSEmmanuel Vadot		};
2422f126890aSEmmanuel Vadot
2423f126890aSEmmanuel Vadot		blsp1_spi3: spi@c177000 {
2424f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
2425f126890aSEmmanuel Vadot			reg = <0x0c177000 0x600>;
2426f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
2427f126890aSEmmanuel Vadot
2428f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP3_SPI_APPS_CLK>,
2429f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
2430f126890aSEmmanuel Vadot			clock-names = "core", "iface";
2431f126890aSEmmanuel Vadot			dmas = <&blsp1_dma 10>, <&blsp1_dma 11>;
2432f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
2433f126890aSEmmanuel Vadot			pinctrl-names = "default";
2434f126890aSEmmanuel Vadot			pinctrl-0 = <&blsp1_spi3_default>;
2435f126890aSEmmanuel Vadot
2436f126890aSEmmanuel Vadot			status = "disabled";
2437f126890aSEmmanuel Vadot			#address-cells = <1>;
2438f126890aSEmmanuel Vadot			#size-cells = <0>;
2439f126890aSEmmanuel Vadot		};
2440f126890aSEmmanuel Vadot
2441f126890aSEmmanuel Vadot		blsp1_spi4: spi@c178000 {
2442f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
2443f126890aSEmmanuel Vadot			reg = <0x0c178000 0x600>;
2444f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
2445f126890aSEmmanuel Vadot
2446f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP4_SPI_APPS_CLK>,
2447f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
2448f126890aSEmmanuel Vadot			clock-names = "core", "iface";
2449f126890aSEmmanuel Vadot			dmas = <&blsp1_dma 12>, <&blsp1_dma 13>;
2450f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
2451f126890aSEmmanuel Vadot			pinctrl-names = "default";
2452f126890aSEmmanuel Vadot			pinctrl-0 = <&blsp1_spi4_default>;
2453f126890aSEmmanuel Vadot
2454f126890aSEmmanuel Vadot			status = "disabled";
2455f126890aSEmmanuel Vadot			#address-cells = <1>;
2456f126890aSEmmanuel Vadot			#size-cells = <0>;
2457f126890aSEmmanuel Vadot		};
2458f126890aSEmmanuel Vadot
2459f126890aSEmmanuel Vadot		blsp1_spi5: spi@c179000 {
2460f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
2461f126890aSEmmanuel Vadot			reg = <0x0c179000 0x600>;
2462f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
2463f126890aSEmmanuel Vadot
2464f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP5_SPI_APPS_CLK>,
2465f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
2466f126890aSEmmanuel Vadot			clock-names = "core", "iface";
2467f126890aSEmmanuel Vadot			dmas = <&blsp1_dma 14>, <&blsp1_dma 15>;
2468f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
2469f126890aSEmmanuel Vadot			pinctrl-names = "default";
2470f126890aSEmmanuel Vadot			pinctrl-0 = <&blsp1_spi5_default>;
2471f126890aSEmmanuel Vadot
2472f126890aSEmmanuel Vadot			status = "disabled";
2473f126890aSEmmanuel Vadot			#address-cells = <1>;
2474f126890aSEmmanuel Vadot			#size-cells = <0>;
2475f126890aSEmmanuel Vadot		};
2476f126890aSEmmanuel Vadot
2477f126890aSEmmanuel Vadot		blsp1_spi6: spi@c17a000 {
2478f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
2479f126890aSEmmanuel Vadot			reg = <0x0c17a000 0x600>;
2480f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
2481f126890aSEmmanuel Vadot
2482f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP6_SPI_APPS_CLK>,
2483f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
2484f126890aSEmmanuel Vadot			clock-names = "core", "iface";
2485f126890aSEmmanuel Vadot			dmas = <&blsp1_dma 16>, <&blsp1_dma 17>;
2486f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
2487f126890aSEmmanuel Vadot			pinctrl-names = "default";
2488f126890aSEmmanuel Vadot			pinctrl-0 = <&blsp1_spi6_default>;
2489f126890aSEmmanuel Vadot
2490f126890aSEmmanuel Vadot			status = "disabled";
2491f126890aSEmmanuel Vadot			#address-cells = <1>;
2492f126890aSEmmanuel Vadot			#size-cells = <0>;
2493f126890aSEmmanuel Vadot		};
2494f126890aSEmmanuel Vadot
24958cc087a1SEmmanuel Vadot		blsp2_dma: dma-controller@c184000 {
24965def4c47SEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
24975def4c47SEmmanuel Vadot			reg = <0x0c184000 0x25000>;
24985def4c47SEmmanuel Vadot			interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
24995def4c47SEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_AHB_CLK>;
25005def4c47SEmmanuel Vadot			clock-names = "bam_clk";
25015def4c47SEmmanuel Vadot			#dma-cells = <1>;
25025def4c47SEmmanuel Vadot			qcom,ee = <0>;
25035def4c47SEmmanuel Vadot			qcom,controlled-remotely;
25045def4c47SEmmanuel Vadot			num-channels = <18>;
25055def4c47SEmmanuel Vadot			qcom,num-ees = <4>;
25065def4c47SEmmanuel Vadot		};
25075def4c47SEmmanuel Vadot
2508c66ec88fSEmmanuel Vadot		blsp2_uart1: serial@c1b0000 {
2509c66ec88fSEmmanuel Vadot			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2510c66ec88fSEmmanuel Vadot			reg = <0x0c1b0000 0x1000>;
2511c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
2512c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
2513c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
2514c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
2515c66ec88fSEmmanuel Vadot			status = "disabled";
2516c66ec88fSEmmanuel Vadot		};
2517c66ec88fSEmmanuel Vadot
25185def4c47SEmmanuel Vadot		blsp2_i2c1: i2c@c1b5000 {
2519c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
2520c66ec88fSEmmanuel Vadot			reg = <0x0c1b5000 0x600>;
2521c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
2522c66ec88fSEmmanuel Vadot
2523c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>,
2524c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
2525c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
25265def4c47SEmmanuel Vadot			dmas = <&blsp2_dma 6>, <&blsp2_dma 7>;
25275def4c47SEmmanuel Vadot			dma-names = "tx", "rx";
25285def4c47SEmmanuel Vadot			pinctrl-names = "default", "sleep";
25295def4c47SEmmanuel Vadot			pinctrl-0 = <&blsp2_i2c1_default>;
25305def4c47SEmmanuel Vadot			pinctrl-1 = <&blsp2_i2c1_sleep>;
2531c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
2532c66ec88fSEmmanuel Vadot
2533c66ec88fSEmmanuel Vadot			status = "disabled";
2534c66ec88fSEmmanuel Vadot			#address-cells = <1>;
2535c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2536c66ec88fSEmmanuel Vadot		};
2537c66ec88fSEmmanuel Vadot
25385def4c47SEmmanuel Vadot		blsp2_i2c2: i2c@c1b6000 {
2539c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
2540c66ec88fSEmmanuel Vadot			reg = <0x0c1b6000 0x600>;
2541c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
2542c66ec88fSEmmanuel Vadot
2543c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>,
2544c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
2545c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
25465def4c47SEmmanuel Vadot			dmas = <&blsp2_dma 8>, <&blsp2_dma 9>;
25475def4c47SEmmanuel Vadot			dma-names = "tx", "rx";
25485def4c47SEmmanuel Vadot			pinctrl-names = "default", "sleep";
25495def4c47SEmmanuel Vadot			pinctrl-0 = <&blsp2_i2c2_default>;
25505def4c47SEmmanuel Vadot			pinctrl-1 = <&blsp2_i2c2_sleep>;
2551c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
2552c66ec88fSEmmanuel Vadot
2553c66ec88fSEmmanuel Vadot			status = "disabled";
2554c66ec88fSEmmanuel Vadot			#address-cells = <1>;
2555c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2556c66ec88fSEmmanuel Vadot		};
2557c66ec88fSEmmanuel Vadot
25585def4c47SEmmanuel Vadot		blsp2_i2c3: i2c@c1b7000 {
2559c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
2560c66ec88fSEmmanuel Vadot			reg = <0x0c1b7000 0x600>;
2561c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
2562c66ec88fSEmmanuel Vadot
2563c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>,
2564c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
2565c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
25665def4c47SEmmanuel Vadot			dmas = <&blsp2_dma 10>, <&blsp2_dma 11>;
25675def4c47SEmmanuel Vadot			dma-names = "tx", "rx";
25685def4c47SEmmanuel Vadot			pinctrl-names = "default", "sleep";
25695def4c47SEmmanuel Vadot			pinctrl-0 = <&blsp2_i2c3_default>;
25705def4c47SEmmanuel Vadot			pinctrl-1 = <&blsp2_i2c3_sleep>;
2571c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
2572c66ec88fSEmmanuel Vadot
2573c66ec88fSEmmanuel Vadot			status = "disabled";
2574c66ec88fSEmmanuel Vadot			#address-cells = <1>;
2575c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2576c66ec88fSEmmanuel Vadot		};
2577c66ec88fSEmmanuel Vadot
25785def4c47SEmmanuel Vadot		blsp2_i2c4: i2c@c1b8000 {
2579c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
2580c66ec88fSEmmanuel Vadot			reg = <0x0c1b8000 0x600>;
2581c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
2582c66ec88fSEmmanuel Vadot
2583c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>,
2584c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
2585c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
25865def4c47SEmmanuel Vadot			dmas = <&blsp2_dma 12>, <&blsp2_dma 13>;
25875def4c47SEmmanuel Vadot			dma-names = "tx", "rx";
25885def4c47SEmmanuel Vadot			pinctrl-names = "default", "sleep";
25895def4c47SEmmanuel Vadot			pinctrl-0 = <&blsp2_i2c4_default>;
25905def4c47SEmmanuel Vadot			pinctrl-1 = <&blsp2_i2c4_sleep>;
2591c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
2592c66ec88fSEmmanuel Vadot
2593c66ec88fSEmmanuel Vadot			status = "disabled";
2594c66ec88fSEmmanuel Vadot			#address-cells = <1>;
2595c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2596c66ec88fSEmmanuel Vadot		};
2597c66ec88fSEmmanuel Vadot
25985def4c47SEmmanuel Vadot		blsp2_i2c5: i2c@c1b9000 {
2599c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
2600c66ec88fSEmmanuel Vadot			reg = <0x0c1b9000 0x600>;
2601c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
2602c66ec88fSEmmanuel Vadot
2603c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>,
2604c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
2605c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
26065def4c47SEmmanuel Vadot			dmas = <&blsp2_dma 14>, <&blsp2_dma 15>;
26075def4c47SEmmanuel Vadot			dma-names = "tx", "rx";
26085def4c47SEmmanuel Vadot			pinctrl-names = "default", "sleep";
26095def4c47SEmmanuel Vadot			pinctrl-0 = <&blsp2_i2c5_default>;
26105def4c47SEmmanuel Vadot			pinctrl-1 = <&blsp2_i2c5_sleep>;
2611c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
2612c66ec88fSEmmanuel Vadot
2613c66ec88fSEmmanuel Vadot			status = "disabled";
2614c66ec88fSEmmanuel Vadot			#address-cells = <1>;
2615c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2616c66ec88fSEmmanuel Vadot		};
2617c66ec88fSEmmanuel Vadot
26185def4c47SEmmanuel Vadot		blsp2_i2c6: i2c@c1ba000 {
2619c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
2620c66ec88fSEmmanuel Vadot			reg = <0x0c1ba000 0x600>;
2621c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
2622c66ec88fSEmmanuel Vadot
2623c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>,
2624c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
2625c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
26265def4c47SEmmanuel Vadot			dmas = <&blsp2_dma 16>, <&blsp2_dma 17>;
26275def4c47SEmmanuel Vadot			dma-names = "tx", "rx";
26285def4c47SEmmanuel Vadot			pinctrl-names = "default", "sleep";
26295def4c47SEmmanuel Vadot			pinctrl-0 = <&blsp2_i2c6_default>;
26305def4c47SEmmanuel Vadot			pinctrl-1 = <&blsp2_i2c6_sleep>;
2631c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
2632c66ec88fSEmmanuel Vadot
2633c66ec88fSEmmanuel Vadot			status = "disabled";
2634c66ec88fSEmmanuel Vadot			#address-cells = <1>;
2635c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2636c66ec88fSEmmanuel Vadot		};
2637c66ec88fSEmmanuel Vadot
2638f126890aSEmmanuel Vadot		blsp2_spi1: spi@c1b5000 {
2639f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
2640f126890aSEmmanuel Vadot			reg = <0x0c1b5000 0x600>;
2641f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
2642f126890aSEmmanuel Vadot
2643f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP1_SPI_APPS_CLK>,
2644f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
2645f126890aSEmmanuel Vadot			clock-names = "core", "iface";
2646f126890aSEmmanuel Vadot			dmas = <&blsp2_dma 6>, <&blsp2_dma 7>;
2647f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
2648f126890aSEmmanuel Vadot			pinctrl-names = "default";
2649f126890aSEmmanuel Vadot			pinctrl-0 = <&blsp2_spi1_default>;
2650f126890aSEmmanuel Vadot
2651f126890aSEmmanuel Vadot			status = "disabled";
2652f126890aSEmmanuel Vadot			#address-cells = <1>;
2653f126890aSEmmanuel Vadot			#size-cells = <0>;
2654f126890aSEmmanuel Vadot		};
2655f126890aSEmmanuel Vadot
2656f126890aSEmmanuel Vadot		blsp2_spi2: spi@c1b6000 {
2657f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
2658f126890aSEmmanuel Vadot			reg = <0x0c1b6000 0x600>;
2659f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
2660f126890aSEmmanuel Vadot
2661f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP2_SPI_APPS_CLK>,
2662f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
2663f126890aSEmmanuel Vadot			clock-names = "core", "iface";
2664f126890aSEmmanuel Vadot			dmas = <&blsp2_dma 8>, <&blsp2_dma 9>;
2665f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
2666f126890aSEmmanuel Vadot			pinctrl-names = "default";
2667f126890aSEmmanuel Vadot			pinctrl-0 = <&blsp2_spi2_default>;
2668f126890aSEmmanuel Vadot
2669f126890aSEmmanuel Vadot			status = "disabled";
2670f126890aSEmmanuel Vadot			#address-cells = <1>;
2671f126890aSEmmanuel Vadot			#size-cells = <0>;
2672f126890aSEmmanuel Vadot		};
2673f126890aSEmmanuel Vadot
2674f126890aSEmmanuel Vadot		blsp2_spi3: spi@c1b7000 {
2675f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
2676f126890aSEmmanuel Vadot			reg = <0x0c1b7000 0x600>;
2677f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
2678f126890aSEmmanuel Vadot
2679f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP3_SPI_APPS_CLK>,
2680f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
2681f126890aSEmmanuel Vadot			clock-names = "core", "iface";
2682f126890aSEmmanuel Vadot			dmas = <&blsp2_dma 10>, <&blsp2_dma 11>;
2683f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
2684f126890aSEmmanuel Vadot			pinctrl-names = "default";
2685f126890aSEmmanuel Vadot			pinctrl-0 = <&blsp2_spi3_default>;
2686f126890aSEmmanuel Vadot
2687f126890aSEmmanuel Vadot			status = "disabled";
2688f126890aSEmmanuel Vadot			#address-cells = <1>;
2689f126890aSEmmanuel Vadot			#size-cells = <0>;
2690f126890aSEmmanuel Vadot		};
2691f126890aSEmmanuel Vadot
2692f126890aSEmmanuel Vadot		blsp2_spi4: spi@c1b8000 {
2693f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
2694f126890aSEmmanuel Vadot			reg = <0x0c1b8000 0x600>;
2695f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
2696f126890aSEmmanuel Vadot
2697f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP4_SPI_APPS_CLK>,
2698f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
2699f126890aSEmmanuel Vadot			clock-names = "core", "iface";
2700f126890aSEmmanuel Vadot			dmas = <&blsp2_dma 12>, <&blsp2_dma 13>;
2701f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
2702f126890aSEmmanuel Vadot			pinctrl-names = "default";
2703f126890aSEmmanuel Vadot			pinctrl-0 = <&blsp2_spi4_default>;
2704f126890aSEmmanuel Vadot
2705f126890aSEmmanuel Vadot			status = "disabled";
2706f126890aSEmmanuel Vadot			#address-cells = <1>;
2707f126890aSEmmanuel Vadot			#size-cells = <0>;
2708f126890aSEmmanuel Vadot		};
2709f126890aSEmmanuel Vadot
2710f126890aSEmmanuel Vadot		blsp2_spi5: spi@c1b9000 {
2711f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
2712f126890aSEmmanuel Vadot			reg = <0x0c1b9000 0x600>;
2713f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
2714f126890aSEmmanuel Vadot
2715f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP5_SPI_APPS_CLK>,
2716f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
2717f126890aSEmmanuel Vadot			clock-names = "core", "iface";
2718f126890aSEmmanuel Vadot			dmas = <&blsp2_dma 14>, <&blsp2_dma 15>;
2719f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
2720f126890aSEmmanuel Vadot			pinctrl-names = "default";
2721f126890aSEmmanuel Vadot			pinctrl-0 = <&blsp2_spi5_default>;
2722f126890aSEmmanuel Vadot
2723f126890aSEmmanuel Vadot			status = "disabled";
2724f126890aSEmmanuel Vadot			#address-cells = <1>;
2725f126890aSEmmanuel Vadot			#size-cells = <0>;
2726f126890aSEmmanuel Vadot		};
2727f126890aSEmmanuel Vadot
2728f126890aSEmmanuel Vadot		blsp2_spi6: spi@c1ba000 {
2729f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
2730f126890aSEmmanuel Vadot			reg = <0x0c1ba000 0x600>;
2731f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
2732f126890aSEmmanuel Vadot
2733f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP6_SPI_APPS_CLK>,
2734f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
2735f126890aSEmmanuel Vadot			clock-names = "core", "iface";
2736f126890aSEmmanuel Vadot			dmas = <&blsp2_dma 16>, <&blsp2_dma 17>;
2737f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
2738f126890aSEmmanuel Vadot			pinctrl-names = "default";
2739f126890aSEmmanuel Vadot			pinctrl-0 = <&blsp2_spi6_default>;
2740f126890aSEmmanuel Vadot
2741f126890aSEmmanuel Vadot			status = "disabled";
2742f126890aSEmmanuel Vadot			#address-cells = <1>;
2743f126890aSEmmanuel Vadot			#size-cells = <0>;
2744f126890aSEmmanuel Vadot		};
2745f126890aSEmmanuel Vadot
27468cc087a1SEmmanuel Vadot		mmcc: clock-controller@c8c0000 {
27478cc087a1SEmmanuel Vadot			compatible = "qcom,mmcc-msm8998";
27488cc087a1SEmmanuel Vadot			#clock-cells = <1>;
27498cc087a1SEmmanuel Vadot			#reset-cells = <1>;
27508cc087a1SEmmanuel Vadot			#power-domain-cells = <1>;
27518cc087a1SEmmanuel Vadot			reg = <0xc8c0000 0x40000>;
27528cc087a1SEmmanuel Vadot
27538cc087a1SEmmanuel Vadot			clock-names = "xo",
27548cc087a1SEmmanuel Vadot				      "gpll0",
27558cc087a1SEmmanuel Vadot				      "dsi0dsi",
27568cc087a1SEmmanuel Vadot				      "dsi0byte",
27578cc087a1SEmmanuel Vadot				      "dsi1dsi",
27588cc087a1SEmmanuel Vadot				      "dsi1byte",
27598cc087a1SEmmanuel Vadot				      "hdmipll",
27608cc087a1SEmmanuel Vadot				      "dplink",
2761aa1a8ff2SEmmanuel Vadot				      "dpvco",
2762aa1a8ff2SEmmanuel Vadot				      "gpll0_div";
27638cc087a1SEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
27648cc087a1SEmmanuel Vadot				 <&gcc GCC_MMSS_GPLL0_CLK>,
2765aa1a8ff2SEmmanuel Vadot				 <&mdss_dsi0_phy 1>,
2766aa1a8ff2SEmmanuel Vadot				 <&mdss_dsi0_phy 0>,
2767aa1a8ff2SEmmanuel Vadot				 <&mdss_dsi1_phy 1>,
2768aa1a8ff2SEmmanuel Vadot				 <&mdss_dsi1_phy 0>,
27698cc087a1SEmmanuel Vadot				 <0>,
27708cc087a1SEmmanuel Vadot				 <0>,
27718cc087a1SEmmanuel Vadot				 <0>,
2772aa1a8ff2SEmmanuel Vadot				 <&gcc GCC_MMSS_GPLL0_DIV_CLK>;
2773aa1a8ff2SEmmanuel Vadot		};
2774aa1a8ff2SEmmanuel Vadot
2775aa1a8ff2SEmmanuel Vadot		mdss: display-subsystem@c900000 {
2776aa1a8ff2SEmmanuel Vadot			compatible = "qcom,msm8998-mdss";
2777aa1a8ff2SEmmanuel Vadot			reg = <0x0c900000 0x1000>;
2778aa1a8ff2SEmmanuel Vadot			reg-names = "mdss";
2779aa1a8ff2SEmmanuel Vadot
2780aa1a8ff2SEmmanuel Vadot			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
2781aa1a8ff2SEmmanuel Vadot			interrupt-controller;
2782aa1a8ff2SEmmanuel Vadot			#interrupt-cells = <1>;
2783aa1a8ff2SEmmanuel Vadot
2784aa1a8ff2SEmmanuel Vadot			clocks = <&mmcc MDSS_AHB_CLK>,
2785aa1a8ff2SEmmanuel Vadot				 <&mmcc MDSS_AXI_CLK>,
2786aa1a8ff2SEmmanuel Vadot				 <&mmcc MDSS_MDP_CLK>;
2787aa1a8ff2SEmmanuel Vadot			clock-names = "iface",
2788aa1a8ff2SEmmanuel Vadot				      "bus",
2789aa1a8ff2SEmmanuel Vadot				      "core";
2790aa1a8ff2SEmmanuel Vadot
2791aa1a8ff2SEmmanuel Vadot			power-domains = <&mmcc MDSS_GDSC>;
2792aa1a8ff2SEmmanuel Vadot			iommus = <&mmss_smmu 0>;
2793aa1a8ff2SEmmanuel Vadot
2794aa1a8ff2SEmmanuel Vadot			#address-cells = <1>;
2795aa1a8ff2SEmmanuel Vadot			#size-cells = <1>;
2796aa1a8ff2SEmmanuel Vadot			ranges;
2797aa1a8ff2SEmmanuel Vadot
2798aa1a8ff2SEmmanuel Vadot			status = "disabled";
2799aa1a8ff2SEmmanuel Vadot
2800aa1a8ff2SEmmanuel Vadot			mdss_mdp: display-controller@c901000 {
2801aa1a8ff2SEmmanuel Vadot				compatible = "qcom,msm8998-dpu";
2802aa1a8ff2SEmmanuel Vadot				reg = <0x0c901000 0x8f000>,
2803aa1a8ff2SEmmanuel Vadot				      <0x0c9a8e00 0xf0>,
2804aa1a8ff2SEmmanuel Vadot				      <0x0c9b0000 0x2008>,
2805aa1a8ff2SEmmanuel Vadot				      <0x0c9b8000 0x1040>;
2806aa1a8ff2SEmmanuel Vadot				reg-names = "mdp",
2807aa1a8ff2SEmmanuel Vadot					    "regdma",
2808aa1a8ff2SEmmanuel Vadot					    "vbif",
2809aa1a8ff2SEmmanuel Vadot					    "vbif_nrt";
2810aa1a8ff2SEmmanuel Vadot
2811aa1a8ff2SEmmanuel Vadot				interrupt-parent = <&mdss>;
2812aa1a8ff2SEmmanuel Vadot				interrupts = <0>;
2813aa1a8ff2SEmmanuel Vadot
2814aa1a8ff2SEmmanuel Vadot				clocks = <&mmcc MDSS_AHB_CLK>,
2815aa1a8ff2SEmmanuel Vadot					 <&mmcc MDSS_AXI_CLK>,
2816aa1a8ff2SEmmanuel Vadot					 <&mmcc MNOC_AHB_CLK>,
2817aa1a8ff2SEmmanuel Vadot					 <&mmcc MDSS_MDP_CLK>,
2818aa1a8ff2SEmmanuel Vadot					 <&mmcc MDSS_VSYNC_CLK>;
2819aa1a8ff2SEmmanuel Vadot				clock-names = "iface",
2820aa1a8ff2SEmmanuel Vadot					      "bus",
2821aa1a8ff2SEmmanuel Vadot					      "mnoc",
2822aa1a8ff2SEmmanuel Vadot					      "core",
2823aa1a8ff2SEmmanuel Vadot					      "vsync";
2824aa1a8ff2SEmmanuel Vadot
2825aa1a8ff2SEmmanuel Vadot				assigned-clocks = <&mmcc MDSS_VSYNC_CLK>;
2826aa1a8ff2SEmmanuel Vadot				assigned-clock-rates = <19200000>;
2827aa1a8ff2SEmmanuel Vadot
2828aa1a8ff2SEmmanuel Vadot				operating-points-v2 = <&mdp_opp_table>;
2829aa1a8ff2SEmmanuel Vadot				power-domains = <&rpmpd MSM8998_VDDMX>;
2830aa1a8ff2SEmmanuel Vadot
2831aa1a8ff2SEmmanuel Vadot				mdp_opp_table: opp-table {
2832aa1a8ff2SEmmanuel Vadot					compatible = "operating-points-v2";
2833aa1a8ff2SEmmanuel Vadot
2834aa1a8ff2SEmmanuel Vadot					opp-171430000 {
2835aa1a8ff2SEmmanuel Vadot						opp-hz = /bits/ 64 <171430000>;
2836aa1a8ff2SEmmanuel Vadot						required-opps = <&rpmpd_opp_low_svs>;
2837aa1a8ff2SEmmanuel Vadot					};
2838aa1a8ff2SEmmanuel Vadot
2839aa1a8ff2SEmmanuel Vadot					opp-275000000 {
2840aa1a8ff2SEmmanuel Vadot						opp-hz = /bits/ 64 <275000000>;
2841aa1a8ff2SEmmanuel Vadot						required-opps = <&rpmpd_opp_svs>;
2842aa1a8ff2SEmmanuel Vadot					};
2843aa1a8ff2SEmmanuel Vadot
2844aa1a8ff2SEmmanuel Vadot					opp-330000000 {
2845aa1a8ff2SEmmanuel Vadot						opp-hz = /bits/ 64 <330000000>;
2846aa1a8ff2SEmmanuel Vadot						required-opps = <&rpmpd_opp_nom>;
2847aa1a8ff2SEmmanuel Vadot					};
2848aa1a8ff2SEmmanuel Vadot
2849aa1a8ff2SEmmanuel Vadot					opp-412500000 {
2850aa1a8ff2SEmmanuel Vadot						opp-hz = /bits/ 64 <412500000>;
2851aa1a8ff2SEmmanuel Vadot						required-opps = <&rpmpd_opp_turbo>;
2852aa1a8ff2SEmmanuel Vadot					};
2853aa1a8ff2SEmmanuel Vadot				};
2854aa1a8ff2SEmmanuel Vadot
2855aa1a8ff2SEmmanuel Vadot				ports {
2856aa1a8ff2SEmmanuel Vadot					#address-cells = <1>;
2857aa1a8ff2SEmmanuel Vadot					#size-cells = <0>;
2858aa1a8ff2SEmmanuel Vadot
2859aa1a8ff2SEmmanuel Vadot					port@0 {
2860aa1a8ff2SEmmanuel Vadot						reg = <0>;
2861aa1a8ff2SEmmanuel Vadot
2862aa1a8ff2SEmmanuel Vadot						dpu_intf1_out: endpoint {
2863aa1a8ff2SEmmanuel Vadot							remote-endpoint = <&mdss_dsi0_in>;
2864aa1a8ff2SEmmanuel Vadot						};
2865aa1a8ff2SEmmanuel Vadot					};
2866aa1a8ff2SEmmanuel Vadot
2867aa1a8ff2SEmmanuel Vadot					port@1 {
2868aa1a8ff2SEmmanuel Vadot						reg = <1>;
2869aa1a8ff2SEmmanuel Vadot
2870aa1a8ff2SEmmanuel Vadot						dpu_intf2_out: endpoint {
2871aa1a8ff2SEmmanuel Vadot							remote-endpoint = <&mdss_dsi1_in>;
2872aa1a8ff2SEmmanuel Vadot						};
2873aa1a8ff2SEmmanuel Vadot					};
2874aa1a8ff2SEmmanuel Vadot				};
2875aa1a8ff2SEmmanuel Vadot			};
2876aa1a8ff2SEmmanuel Vadot
2877aa1a8ff2SEmmanuel Vadot			mdss_dsi0: dsi@c994000 {
2878aa1a8ff2SEmmanuel Vadot				compatible = "qcom,msm8998-dsi-ctrl", "qcom,mdss-dsi-ctrl";
2879aa1a8ff2SEmmanuel Vadot				reg = <0x0c994000 0x400>;
2880aa1a8ff2SEmmanuel Vadot				reg-names = "dsi_ctrl";
2881aa1a8ff2SEmmanuel Vadot
2882aa1a8ff2SEmmanuel Vadot				interrupt-parent = <&mdss>;
2883aa1a8ff2SEmmanuel Vadot				interrupts = <4>;
2884aa1a8ff2SEmmanuel Vadot
2885aa1a8ff2SEmmanuel Vadot				clocks = <&mmcc MDSS_BYTE0_CLK>,
2886aa1a8ff2SEmmanuel Vadot					 <&mmcc MDSS_BYTE0_INTF_CLK>,
2887aa1a8ff2SEmmanuel Vadot					 <&mmcc MDSS_PCLK0_CLK>,
2888aa1a8ff2SEmmanuel Vadot					 <&mmcc MDSS_ESC0_CLK>,
2889aa1a8ff2SEmmanuel Vadot					 <&mmcc MDSS_AHB_CLK>,
2890aa1a8ff2SEmmanuel Vadot					 <&mmcc MDSS_AXI_CLK>;
2891aa1a8ff2SEmmanuel Vadot				clock-names = "byte",
2892aa1a8ff2SEmmanuel Vadot					      "byte_intf",
2893aa1a8ff2SEmmanuel Vadot					      "pixel",
2894aa1a8ff2SEmmanuel Vadot					      "core",
2895aa1a8ff2SEmmanuel Vadot					      "iface",
2896aa1a8ff2SEmmanuel Vadot					      "bus";
2897aa1a8ff2SEmmanuel Vadot				assigned-clocks = <&mmcc BYTE0_CLK_SRC>,
2898aa1a8ff2SEmmanuel Vadot						  <&mmcc PCLK0_CLK_SRC>;
2899aa1a8ff2SEmmanuel Vadot				assigned-clock-parents = <&mdss_dsi0_phy 0>,
2900aa1a8ff2SEmmanuel Vadot							 <&mdss_dsi0_phy 1>;
2901aa1a8ff2SEmmanuel Vadot
2902aa1a8ff2SEmmanuel Vadot				operating-points-v2 = <&dsi_opp_table>;
2903aa1a8ff2SEmmanuel Vadot				power-domains = <&rpmpd MSM8998_VDDCX>;
2904aa1a8ff2SEmmanuel Vadot
2905aa1a8ff2SEmmanuel Vadot				phys = <&mdss_dsi0_phy>;
2906aa1a8ff2SEmmanuel Vadot				phy-names = "dsi";
2907aa1a8ff2SEmmanuel Vadot
2908aa1a8ff2SEmmanuel Vadot				#address-cells = <1>;
2909aa1a8ff2SEmmanuel Vadot				#size-cells = <0>;
2910aa1a8ff2SEmmanuel Vadot
2911aa1a8ff2SEmmanuel Vadot				status = "disabled";
2912aa1a8ff2SEmmanuel Vadot
2913aa1a8ff2SEmmanuel Vadot				ports {
2914aa1a8ff2SEmmanuel Vadot					#address-cells = <1>;
2915aa1a8ff2SEmmanuel Vadot					#size-cells = <0>;
2916aa1a8ff2SEmmanuel Vadot
2917aa1a8ff2SEmmanuel Vadot					port@0 {
2918aa1a8ff2SEmmanuel Vadot						reg = <0>;
2919aa1a8ff2SEmmanuel Vadot
2920aa1a8ff2SEmmanuel Vadot						mdss_dsi0_in: endpoint {
2921aa1a8ff2SEmmanuel Vadot							remote-endpoint = <&dpu_intf1_out>;
2922aa1a8ff2SEmmanuel Vadot						};
2923aa1a8ff2SEmmanuel Vadot					};
2924aa1a8ff2SEmmanuel Vadot
2925aa1a8ff2SEmmanuel Vadot					port@1 {
2926aa1a8ff2SEmmanuel Vadot						reg = <1>;
2927aa1a8ff2SEmmanuel Vadot
2928aa1a8ff2SEmmanuel Vadot						mdss_dsi0_out: endpoint {
2929aa1a8ff2SEmmanuel Vadot						};
2930aa1a8ff2SEmmanuel Vadot					};
2931aa1a8ff2SEmmanuel Vadot				};
2932aa1a8ff2SEmmanuel Vadot			};
2933aa1a8ff2SEmmanuel Vadot
2934aa1a8ff2SEmmanuel Vadot			mdss_dsi0_phy: phy@c994400 {
2935aa1a8ff2SEmmanuel Vadot				compatible = "qcom,dsi-phy-10nm-8998";
2936aa1a8ff2SEmmanuel Vadot				reg = <0x0c994400 0x200>,
2937aa1a8ff2SEmmanuel Vadot				      <0x0c994600 0x280>,
2938aa1a8ff2SEmmanuel Vadot				      <0x0c994a00 0x1e0>;
2939aa1a8ff2SEmmanuel Vadot				reg-names = "dsi_phy",
2940aa1a8ff2SEmmanuel Vadot					    "dsi_phy_lane",
2941aa1a8ff2SEmmanuel Vadot					    "dsi_pll";
2942aa1a8ff2SEmmanuel Vadot
2943aa1a8ff2SEmmanuel Vadot				clocks = <&mmcc MDSS_AHB_CLK>,
2944aa1a8ff2SEmmanuel Vadot					 <&rpmcc RPM_SMD_XO_CLK_SRC>;
2945aa1a8ff2SEmmanuel Vadot				clock-names = "iface", "ref";
2946aa1a8ff2SEmmanuel Vadot
2947aa1a8ff2SEmmanuel Vadot				#clock-cells = <1>;
2948aa1a8ff2SEmmanuel Vadot				#phy-cells = <0>;
2949aa1a8ff2SEmmanuel Vadot
2950aa1a8ff2SEmmanuel Vadot				status = "disabled";
2951aa1a8ff2SEmmanuel Vadot			};
2952aa1a8ff2SEmmanuel Vadot
2953aa1a8ff2SEmmanuel Vadot			mdss_dsi1: dsi@c996000 {
2954aa1a8ff2SEmmanuel Vadot				compatible = "qcom,msm8998-dsi-ctrl", "qcom,mdss-dsi-ctrl";
2955aa1a8ff2SEmmanuel Vadot				reg = <0x0c996000 0x400>;
2956aa1a8ff2SEmmanuel Vadot				reg-names = "dsi_ctrl";
2957aa1a8ff2SEmmanuel Vadot
2958aa1a8ff2SEmmanuel Vadot				interrupt-parent = <&mdss>;
2959aa1a8ff2SEmmanuel Vadot				interrupts = <5>;
2960aa1a8ff2SEmmanuel Vadot
2961aa1a8ff2SEmmanuel Vadot				clocks = <&mmcc MDSS_BYTE1_CLK>,
2962aa1a8ff2SEmmanuel Vadot					 <&mmcc MDSS_BYTE1_INTF_CLK>,
2963aa1a8ff2SEmmanuel Vadot					 <&mmcc MDSS_PCLK1_CLK>,
2964aa1a8ff2SEmmanuel Vadot					 <&mmcc MDSS_ESC1_CLK>,
2965aa1a8ff2SEmmanuel Vadot					 <&mmcc MDSS_AHB_CLK>,
2966aa1a8ff2SEmmanuel Vadot					 <&mmcc MDSS_AXI_CLK>;
2967aa1a8ff2SEmmanuel Vadot				clock-names = "byte",
2968aa1a8ff2SEmmanuel Vadot					      "byte_intf",
2969aa1a8ff2SEmmanuel Vadot					      "pixel",
2970aa1a8ff2SEmmanuel Vadot					      "core",
2971aa1a8ff2SEmmanuel Vadot					      "iface",
2972aa1a8ff2SEmmanuel Vadot					      "bus";
2973aa1a8ff2SEmmanuel Vadot				assigned-clocks = <&mmcc BYTE1_CLK_SRC>,
2974aa1a8ff2SEmmanuel Vadot						  <&mmcc PCLK1_CLK_SRC>;
2975aa1a8ff2SEmmanuel Vadot				assigned-clock-parents = <&mdss_dsi1_phy 0>,
2976aa1a8ff2SEmmanuel Vadot							 <&mdss_dsi1_phy 1>;
2977aa1a8ff2SEmmanuel Vadot
2978aa1a8ff2SEmmanuel Vadot				operating-points-v2 = <&dsi_opp_table>;
2979aa1a8ff2SEmmanuel Vadot				power-domains = <&rpmpd MSM8998_VDDCX>;
2980aa1a8ff2SEmmanuel Vadot
2981aa1a8ff2SEmmanuel Vadot				phys = <&mdss_dsi1_phy>;
2982aa1a8ff2SEmmanuel Vadot				phy-names = "dsi";
2983aa1a8ff2SEmmanuel Vadot
2984aa1a8ff2SEmmanuel Vadot				#address-cells = <1>;
2985aa1a8ff2SEmmanuel Vadot				#size-cells = <0>;
2986aa1a8ff2SEmmanuel Vadot
2987aa1a8ff2SEmmanuel Vadot				status = "disabled";
2988aa1a8ff2SEmmanuel Vadot
2989aa1a8ff2SEmmanuel Vadot				ports {
2990aa1a8ff2SEmmanuel Vadot					#address-cells = <1>;
2991aa1a8ff2SEmmanuel Vadot					#size-cells = <0>;
2992aa1a8ff2SEmmanuel Vadot
2993aa1a8ff2SEmmanuel Vadot					port@0 {
2994aa1a8ff2SEmmanuel Vadot						reg = <0>;
2995aa1a8ff2SEmmanuel Vadot
2996aa1a8ff2SEmmanuel Vadot						mdss_dsi1_in: endpoint {
2997aa1a8ff2SEmmanuel Vadot							remote-endpoint = <&dpu_intf2_out>;
2998aa1a8ff2SEmmanuel Vadot						};
2999aa1a8ff2SEmmanuel Vadot					};
3000aa1a8ff2SEmmanuel Vadot
3001aa1a8ff2SEmmanuel Vadot					port@1 {
3002aa1a8ff2SEmmanuel Vadot						reg = <1>;
3003aa1a8ff2SEmmanuel Vadot
3004aa1a8ff2SEmmanuel Vadot						mdss_dsi1_out: endpoint {
3005aa1a8ff2SEmmanuel Vadot						};
3006aa1a8ff2SEmmanuel Vadot					};
3007aa1a8ff2SEmmanuel Vadot				};
3008aa1a8ff2SEmmanuel Vadot			};
3009aa1a8ff2SEmmanuel Vadot
3010aa1a8ff2SEmmanuel Vadot			mdss_dsi1_phy: phy@c996400 {
3011aa1a8ff2SEmmanuel Vadot				compatible = "qcom,dsi-phy-10nm-8998";
3012aa1a8ff2SEmmanuel Vadot				reg = <0x0c996400 0x200>,
3013aa1a8ff2SEmmanuel Vadot				      <0x0c996600 0x280>,
3014aa1a8ff2SEmmanuel Vadot				      <0x0c996a00 0x10e>;
3015aa1a8ff2SEmmanuel Vadot				reg-names = "dsi_phy",
3016aa1a8ff2SEmmanuel Vadot					    "dsi_phy_lane",
3017aa1a8ff2SEmmanuel Vadot					    "dsi_pll";
3018aa1a8ff2SEmmanuel Vadot
3019aa1a8ff2SEmmanuel Vadot				clocks = <&mmcc MDSS_AHB_CLK>,
3020aa1a8ff2SEmmanuel Vadot					 <&rpmcc RPM_SMD_XO_CLK_SRC>;
3021aa1a8ff2SEmmanuel Vadot				clock-names = "iface",
3022aa1a8ff2SEmmanuel Vadot					      "ref";
3023aa1a8ff2SEmmanuel Vadot
3024aa1a8ff2SEmmanuel Vadot				#clock-cells = <1>;
3025aa1a8ff2SEmmanuel Vadot				#phy-cells = <0>;
3026aa1a8ff2SEmmanuel Vadot
3027aa1a8ff2SEmmanuel Vadot				status = "disabled";
3028aa1a8ff2SEmmanuel Vadot			};
30298cc087a1SEmmanuel Vadot		};
30308cc087a1SEmmanuel Vadot
30310e8011faSEmmanuel Vadot		venus: video-codec@cc00000 {
30320e8011faSEmmanuel Vadot			compatible = "qcom,msm8998-venus";
30330e8011faSEmmanuel Vadot			reg = <0x0cc00000 0xff000>;
30340e8011faSEmmanuel Vadot			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
30350e8011faSEmmanuel Vadot			power-domains = <&mmcc VIDEO_TOP_GDSC>;
30360e8011faSEmmanuel Vadot			clocks = <&mmcc VIDEO_CORE_CLK>,
30370e8011faSEmmanuel Vadot				 <&mmcc VIDEO_AHB_CLK>,
30380e8011faSEmmanuel Vadot				 <&mmcc VIDEO_AXI_CLK>,
30390e8011faSEmmanuel Vadot				 <&mmcc VIDEO_MAXI_CLK>;
30400e8011faSEmmanuel Vadot			clock-names = "core", "iface", "bus", "mbus";
30410e8011faSEmmanuel Vadot			iommus = <&mmss_smmu 0x400>,
30420e8011faSEmmanuel Vadot				 <&mmss_smmu 0x401>,
30430e8011faSEmmanuel Vadot				 <&mmss_smmu 0x40a>,
30440e8011faSEmmanuel Vadot				 <&mmss_smmu 0x407>,
30450e8011faSEmmanuel Vadot				 <&mmss_smmu 0x40e>,
30460e8011faSEmmanuel Vadot				 <&mmss_smmu 0x40f>,
30470e8011faSEmmanuel Vadot				 <&mmss_smmu 0x408>,
30480e8011faSEmmanuel Vadot				 <&mmss_smmu 0x409>,
30490e8011faSEmmanuel Vadot				 <&mmss_smmu 0x40b>,
30500e8011faSEmmanuel Vadot				 <&mmss_smmu 0x40c>,
30510e8011faSEmmanuel Vadot				 <&mmss_smmu 0x40d>,
30520e8011faSEmmanuel Vadot				 <&mmss_smmu 0x410>,
30530e8011faSEmmanuel Vadot				 <&mmss_smmu 0x421>,
30540e8011faSEmmanuel Vadot				 <&mmss_smmu 0x428>,
30550e8011faSEmmanuel Vadot				 <&mmss_smmu 0x429>,
30560e8011faSEmmanuel Vadot				 <&mmss_smmu 0x42b>,
30570e8011faSEmmanuel Vadot				 <&mmss_smmu 0x42c>,
30580e8011faSEmmanuel Vadot				 <&mmss_smmu 0x42d>,
30590e8011faSEmmanuel Vadot				 <&mmss_smmu 0x411>,
30600e8011faSEmmanuel Vadot				 <&mmss_smmu 0x431>;
30610e8011faSEmmanuel Vadot			memory-region = <&venus_mem>;
30620e8011faSEmmanuel Vadot			status = "disabled";
30630e8011faSEmmanuel Vadot
30640e8011faSEmmanuel Vadot			video-decoder {
30650e8011faSEmmanuel Vadot				compatible = "venus-decoder";
30660e8011faSEmmanuel Vadot				clocks = <&mmcc VIDEO_SUBCORE0_CLK>;
30670e8011faSEmmanuel Vadot				clock-names = "core";
30680e8011faSEmmanuel Vadot				power-domains = <&mmcc VIDEO_SUBCORE0_GDSC>;
30690e8011faSEmmanuel Vadot			};
30700e8011faSEmmanuel Vadot
30710e8011faSEmmanuel Vadot			video-encoder {
30720e8011faSEmmanuel Vadot				compatible = "venus-encoder";
30730e8011faSEmmanuel Vadot				clocks = <&mmcc VIDEO_SUBCORE1_CLK>;
30740e8011faSEmmanuel Vadot				clock-names = "core";
30750e8011faSEmmanuel Vadot				power-domains = <&mmcc VIDEO_SUBCORE1_GDSC>;
30760e8011faSEmmanuel Vadot			};
30770e8011faSEmmanuel Vadot		};
30780e8011faSEmmanuel Vadot
30798cc087a1SEmmanuel Vadot		mmss_smmu: iommu@cd00000 {
30808cc087a1SEmmanuel Vadot			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
30818cc087a1SEmmanuel Vadot			reg = <0x0cd00000 0x40000>;
30828cc087a1SEmmanuel Vadot			#iommu-cells = <1>;
30838cc087a1SEmmanuel Vadot
30848cc087a1SEmmanuel Vadot			clocks = <&mmcc MNOC_AHB_CLK>,
30858cc087a1SEmmanuel Vadot				 <&mmcc BIMC_SMMU_AHB_CLK>,
30868cc087a1SEmmanuel Vadot				 <&mmcc BIMC_SMMU_AXI_CLK>;
3087aa1a8ff2SEmmanuel Vadot			clock-names = "iface-mm",
3088aa1a8ff2SEmmanuel Vadot				      "iface-smmu",
3089aa1a8ff2SEmmanuel Vadot				      "bus-smmu";
30908cc087a1SEmmanuel Vadot
30918cc087a1SEmmanuel Vadot			#global-interrupts = <0>;
30928cc087a1SEmmanuel Vadot			interrupts =
30938cc087a1SEmmanuel Vadot				<GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
30948cc087a1SEmmanuel Vadot				<GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
30958cc087a1SEmmanuel Vadot				<GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>,
30968cc087a1SEmmanuel Vadot				<GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
30978cc087a1SEmmanuel Vadot				<GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
30988cc087a1SEmmanuel Vadot				<GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
30998cc087a1SEmmanuel Vadot				<GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
31008cc087a1SEmmanuel Vadot				<GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
31018cc087a1SEmmanuel Vadot				<GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
31028cc087a1SEmmanuel Vadot				<GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
31038cc087a1SEmmanuel Vadot				<GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
31048cc087a1SEmmanuel Vadot				<GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
31058cc087a1SEmmanuel Vadot				<GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
31068cc087a1SEmmanuel Vadot				<GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
31078cc087a1SEmmanuel Vadot				<GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
31088cc087a1SEmmanuel Vadot				<GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
31098cc087a1SEmmanuel Vadot				<GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
31108cc087a1SEmmanuel Vadot				<GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
31118cc087a1SEmmanuel Vadot				<GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
31128cc087a1SEmmanuel Vadot				<GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
3113aa1a8ff2SEmmanuel Vadot
3114aa1a8ff2SEmmanuel Vadot			power-domains = <&mmcc BIMC_SMMU_GDSC>;
31158cc087a1SEmmanuel Vadot		};
31168cc087a1SEmmanuel Vadot
3117c66ec88fSEmmanuel Vadot		remoteproc_adsp: remoteproc@17300000 {
3118c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8998-adsp-pas";
3119c66ec88fSEmmanuel Vadot			reg = <0x17300000 0x4040>;
3120c66ec88fSEmmanuel Vadot
3121c66ec88fSEmmanuel Vadot			interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
3122c66ec88fSEmmanuel Vadot					      <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
3123c66ec88fSEmmanuel Vadot					      <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
3124c66ec88fSEmmanuel Vadot					      <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
3125c66ec88fSEmmanuel Vadot					      <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
3126c66ec88fSEmmanuel Vadot			interrupt-names = "wdog", "fatal", "ready",
3127c66ec88fSEmmanuel Vadot					  "handover", "stop-ack";
3128c66ec88fSEmmanuel Vadot
3129c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
3130c66ec88fSEmmanuel Vadot			clock-names = "xo";
3131c66ec88fSEmmanuel Vadot
3132c66ec88fSEmmanuel Vadot			memory-region = <&adsp_mem>;
3133c66ec88fSEmmanuel Vadot
3134c66ec88fSEmmanuel Vadot			qcom,smem-states = <&adsp_smp2p_out 0>;
3135c66ec88fSEmmanuel Vadot			qcom,smem-state-names = "stop";
3136c66ec88fSEmmanuel Vadot
3137c66ec88fSEmmanuel Vadot			power-domains = <&rpmpd MSM8998_VDDCX>;
3138c66ec88fSEmmanuel Vadot			power-domain-names = "cx";
3139c66ec88fSEmmanuel Vadot
3140c66ec88fSEmmanuel Vadot			status = "disabled";
3141c66ec88fSEmmanuel Vadot
3142c66ec88fSEmmanuel Vadot			glink-edge {
3143c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>;
3144c66ec88fSEmmanuel Vadot				label = "lpass";
3145c66ec88fSEmmanuel Vadot				qcom,remote-pid = <2>;
3146c66ec88fSEmmanuel Vadot				mboxes = <&apcs_glb 9>;
3147c66ec88fSEmmanuel Vadot			};
3148c66ec88fSEmmanuel Vadot		};
3149c66ec88fSEmmanuel Vadot
3150c66ec88fSEmmanuel Vadot		apcs_glb: mailbox@17911000 {
3151fac71e4eSEmmanuel Vadot			compatible = "qcom,msm8998-apcs-hmss-global",
3152fac71e4eSEmmanuel Vadot				     "qcom,msm8994-apcs-kpss-global";
3153c66ec88fSEmmanuel Vadot			reg = <0x17911000 0x1000>;
3154c66ec88fSEmmanuel Vadot
3155c66ec88fSEmmanuel Vadot			#mbox-cells = <1>;
3156c66ec88fSEmmanuel Vadot		};
3157c66ec88fSEmmanuel Vadot
3158c66ec88fSEmmanuel Vadot		timer@17920000 {
3159c66ec88fSEmmanuel Vadot			#address-cells = <1>;
3160c66ec88fSEmmanuel Vadot			#size-cells = <1>;
3161c66ec88fSEmmanuel Vadot			ranges;
3162c66ec88fSEmmanuel Vadot			compatible = "arm,armv7-timer-mem";
3163c66ec88fSEmmanuel Vadot			reg = <0x17920000 0x1000>;
3164c66ec88fSEmmanuel Vadot
3165c66ec88fSEmmanuel Vadot			frame@17921000 {
3166c66ec88fSEmmanuel Vadot				frame-number = <0>;
3167c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
3168c66ec88fSEmmanuel Vadot					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
3169c66ec88fSEmmanuel Vadot				reg = <0x17921000 0x1000>,
3170c66ec88fSEmmanuel Vadot				      <0x17922000 0x1000>;
3171c66ec88fSEmmanuel Vadot			};
3172c66ec88fSEmmanuel Vadot
3173c66ec88fSEmmanuel Vadot			frame@17923000 {
3174c66ec88fSEmmanuel Vadot				frame-number = <1>;
3175c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
3176c66ec88fSEmmanuel Vadot				reg = <0x17923000 0x1000>;
3177c66ec88fSEmmanuel Vadot				status = "disabled";
3178c66ec88fSEmmanuel Vadot			};
3179c66ec88fSEmmanuel Vadot
3180c66ec88fSEmmanuel Vadot			frame@17924000 {
3181c66ec88fSEmmanuel Vadot				frame-number = <2>;
3182c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
3183c66ec88fSEmmanuel Vadot				reg = <0x17924000 0x1000>;
3184c66ec88fSEmmanuel Vadot				status = "disabled";
3185c66ec88fSEmmanuel Vadot			};
3186c66ec88fSEmmanuel Vadot
3187c66ec88fSEmmanuel Vadot			frame@17925000 {
3188c66ec88fSEmmanuel Vadot				frame-number = <3>;
3189c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
3190c66ec88fSEmmanuel Vadot				reg = <0x17925000 0x1000>;
3191c66ec88fSEmmanuel Vadot				status = "disabled";
3192c66ec88fSEmmanuel Vadot			};
3193c66ec88fSEmmanuel Vadot
3194c66ec88fSEmmanuel Vadot			frame@17926000 {
3195c66ec88fSEmmanuel Vadot				frame-number = <4>;
3196c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
3197c66ec88fSEmmanuel Vadot				reg = <0x17926000 0x1000>;
3198c66ec88fSEmmanuel Vadot				status = "disabled";
3199c66ec88fSEmmanuel Vadot			};
3200c66ec88fSEmmanuel Vadot
3201c66ec88fSEmmanuel Vadot			frame@17927000 {
3202c66ec88fSEmmanuel Vadot				frame-number = <5>;
3203c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
3204c66ec88fSEmmanuel Vadot				reg = <0x17927000 0x1000>;
3205c66ec88fSEmmanuel Vadot				status = "disabled";
3206c66ec88fSEmmanuel Vadot			};
3207c66ec88fSEmmanuel Vadot
3208c66ec88fSEmmanuel Vadot			frame@17928000 {
3209c66ec88fSEmmanuel Vadot				frame-number = <6>;
3210c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
3211c66ec88fSEmmanuel Vadot				reg = <0x17928000 0x1000>;
3212c66ec88fSEmmanuel Vadot				status = "disabled";
3213c66ec88fSEmmanuel Vadot			};
3214c66ec88fSEmmanuel Vadot		};
3215c66ec88fSEmmanuel Vadot
3216c66ec88fSEmmanuel Vadot		intc: interrupt-controller@17a00000 {
3217c66ec88fSEmmanuel Vadot			compatible = "arm,gic-v3";
3218c66ec88fSEmmanuel Vadot			reg = <0x17a00000 0x10000>,       /* GICD */
3219c66ec88fSEmmanuel Vadot			      <0x17b00000 0x100000>;      /* GICR * 8 */
3220c66ec88fSEmmanuel Vadot			#interrupt-cells = <3>;
3221c66ec88fSEmmanuel Vadot			#address-cells = <1>;
3222c66ec88fSEmmanuel Vadot			#size-cells = <1>;
3223c66ec88fSEmmanuel Vadot			ranges;
3224c66ec88fSEmmanuel Vadot			interrupt-controller;
3225c66ec88fSEmmanuel Vadot			#redistributor-regions = <1>;
3226c66ec88fSEmmanuel Vadot			redistributor-stride = <0x0 0x20000>;
3227c66ec88fSEmmanuel Vadot			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
3228c66ec88fSEmmanuel Vadot		};
3229c66ec88fSEmmanuel Vadot
3230c66ec88fSEmmanuel Vadot		wifi: wifi@18800000 {
3231c66ec88fSEmmanuel Vadot			compatible = "qcom,wcn3990-wifi";
3232c66ec88fSEmmanuel Vadot			status = "disabled";
3233c66ec88fSEmmanuel Vadot			reg = <0x18800000 0x800000>;
3234c66ec88fSEmmanuel Vadot			reg-names = "membase";
3235c66ec88fSEmmanuel Vadot			memory-region = <&wlan_msa_mem>;
3236c66ec88fSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_RF_CLK2_PIN>;
3237c66ec88fSEmmanuel Vadot			clock-names = "cxo_ref_clk_pin";
3238c66ec88fSEmmanuel Vadot			interrupts =
3239c66ec88fSEmmanuel Vadot				<GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>,
3240c66ec88fSEmmanuel Vadot				<GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
3241c66ec88fSEmmanuel Vadot				<GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
3242c66ec88fSEmmanuel Vadot				<GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
3243c66ec88fSEmmanuel Vadot				<GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
3244c66ec88fSEmmanuel Vadot				<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
3245c66ec88fSEmmanuel Vadot				<GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
3246c66ec88fSEmmanuel Vadot				<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
3247c66ec88fSEmmanuel Vadot				<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
3248c66ec88fSEmmanuel Vadot				<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
3249c66ec88fSEmmanuel Vadot				<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
3250c66ec88fSEmmanuel Vadot				<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
3251c66ec88fSEmmanuel Vadot			iommus = <&anoc2_smmu 0x1900>,
3252c66ec88fSEmmanuel Vadot				 <&anoc2_smmu 0x1901>;
3253c66ec88fSEmmanuel Vadot			qcom,snoc-host-cap-8bit-quirk;
32540e8011faSEmmanuel Vadot			qcom,no-msa-ready-indicator;
3255c66ec88fSEmmanuel Vadot		};
3256c66ec88fSEmmanuel Vadot	};
3257c66ec88fSEmmanuel Vadot};
3258