xref: /openbmc/linux/arch/arm64/boot/dts/qcom/sm8350.dtsi (revision 187f65b7)
1b7e8f433SVinod Koul// SPDX-License-Identifier: BSD-3-Clause
2b7e8f433SVinod Koul/*
3b7e8f433SVinod Koul * Copyright (c) 2020, Linaro Limaited
4b7e8f433SVinod Koul */
5b7e8f433SVinod Koul
6b7e8f433SVinod Koul#include <dt-bindings/interrupt-controller/arm-gic.h>
7b7e8f433SVinod Koul#include <dt-bindings/clock/qcom,rpmh.h>
8b7e8f433SVinod Koul#include <dt-bindings/mailbox/qcom-ipcc.h>
9b7e8f433SVinod Koul#include <dt-bindings/power/qcom-aoss-qmp.h>
10b7e8f433SVinod Koul#include <dt-bindings/power/qcom-rpmpd.h>
11b7e8f433SVinod Koul#include <dt-bindings/soc/qcom,rpmh-rsc.h>
12b7e8f433SVinod Koul
13b7e8f433SVinod Koul/ {
14b7e8f433SVinod Koul	interrupt-parent = <&intc>;
15b7e8f433SVinod Koul
16b7e8f433SVinod Koul	#address-cells = <2>;
17b7e8f433SVinod Koul	#size-cells = <2>;
18b7e8f433SVinod Koul
19b7e8f433SVinod Koul	chosen { };
20b7e8f433SVinod Koul
21b7e8f433SVinod Koul	clocks {
22b7e8f433SVinod Koul		xo_board: xo-board {
23b7e8f433SVinod Koul			compatible = "fixed-clock";
24b7e8f433SVinod Koul			#clock-cells = <0>;
25b7e8f433SVinod Koul			clock-frequency = <38400000>;
26b7e8f433SVinod Koul			clock-output-names = "xo_board";
27b7e8f433SVinod Koul		};
28b7e8f433SVinod Koul
29b7e8f433SVinod Koul		sleep_clk: sleep-clk {
30b7e8f433SVinod Koul			compatible = "fixed-clock";
31b7e8f433SVinod Koul			clock-frequency = <32000>;
32b7e8f433SVinod Koul			#clock-cells = <0>;
33b7e8f433SVinod Koul		};
34b7e8f433SVinod Koul	};
35b7e8f433SVinod Koul
36b7e8f433SVinod Koul	cpus {
37b7e8f433SVinod Koul		#address-cells = <2>;
38b7e8f433SVinod Koul		#size-cells = <0>;
39b7e8f433SVinod Koul
40b7e8f433SVinod Koul		CPU0: cpu@0 {
41b7e8f433SVinod Koul			device_type = "cpu";
42b7e8f433SVinod Koul			compatible = "qcom,kryo685";
43b7e8f433SVinod Koul			reg = <0x0 0x0>;
44b7e8f433SVinod Koul			enable-method = "psci";
45b7e8f433SVinod Koul			next-level-cache = <&L2_0>;
46b7e8f433SVinod Koul			L2_0: l2-cache {
47b7e8f433SVinod Koul			      compatible = "cache";
48b7e8f433SVinod Koul			      next-level-cache = <&L3_0>;
49b7e8f433SVinod Koul				L3_0: l3-cache {
50b7e8f433SVinod Koul				      compatible = "cache";
51b7e8f433SVinod Koul				};
52b7e8f433SVinod Koul			};
53b7e8f433SVinod Koul		};
54b7e8f433SVinod Koul
55b7e8f433SVinod Koul		CPU1: cpu@100 {
56b7e8f433SVinod Koul			device_type = "cpu";
57b7e8f433SVinod Koul			compatible = "qcom,kryo685";
58b7e8f433SVinod Koul			reg = <0x0 0x100>;
59b7e8f433SVinod Koul			enable-method = "psci";
60b7e8f433SVinod Koul			next-level-cache = <&L2_100>;
61b7e8f433SVinod Koul			L2_100: l2-cache {
62b7e8f433SVinod Koul			      compatible = "cache";
63b7e8f433SVinod Koul			      next-level-cache = <&L3_0>;
64b7e8f433SVinod Koul			};
65b7e8f433SVinod Koul		};
66b7e8f433SVinod Koul
67b7e8f433SVinod Koul		CPU2: cpu@200 {
68b7e8f433SVinod Koul			device_type = "cpu";
69b7e8f433SVinod Koul			compatible = "qcom,kryo685";
70b7e8f433SVinod Koul			reg = <0x0 0x200>;
71b7e8f433SVinod Koul			enable-method = "psci";
72b7e8f433SVinod Koul			next-level-cache = <&L2_200>;
73b7e8f433SVinod Koul			L2_200: l2-cache {
74b7e8f433SVinod Koul			      compatible = "cache";
75b7e8f433SVinod Koul			      next-level-cache = <&L3_0>;
76b7e8f433SVinod Koul			};
77b7e8f433SVinod Koul		};
78b7e8f433SVinod Koul
79b7e8f433SVinod Koul		CPU3: cpu@300 {
80b7e8f433SVinod Koul			device_type = "cpu";
81b7e8f433SVinod Koul			compatible = "qcom,kryo685";
82b7e8f433SVinod Koul			reg = <0x0 0x300>;
83b7e8f433SVinod Koul			enable-method = "psci";
84b7e8f433SVinod Koul			next-level-cache = <&L2_300>;
85b7e8f433SVinod Koul			L2_300: l2-cache {
86b7e8f433SVinod Koul			      compatible = "cache";
87b7e8f433SVinod Koul			      next-level-cache = <&L3_0>;
88b7e8f433SVinod Koul			};
89b7e8f433SVinod Koul		};
90b7e8f433SVinod Koul
91b7e8f433SVinod Koul		CPU4: cpu@400 {
92b7e8f433SVinod Koul			device_type = "cpu";
93b7e8f433SVinod Koul			compatible = "qcom,kryo685";
94b7e8f433SVinod Koul			reg = <0x0 0x400>;
95b7e8f433SVinod Koul			enable-method = "psci";
96b7e8f433SVinod Koul			next-level-cache = <&L2_400>;
97b7e8f433SVinod Koul			L2_400: l2-cache {
98b7e8f433SVinod Koul			      compatible = "cache";
99b7e8f433SVinod Koul			      next-level-cache = <&L3_0>;
100b7e8f433SVinod Koul			};
101b7e8f433SVinod Koul		};
102b7e8f433SVinod Koul
103b7e8f433SVinod Koul		CPU5: cpu@500 {
104b7e8f433SVinod Koul			device_type = "cpu";
105b7e8f433SVinod Koul			compatible = "qcom,kryo685";
106b7e8f433SVinod Koul			reg = <0x0 0x500>;
107b7e8f433SVinod Koul			enable-method = "psci";
108b7e8f433SVinod Koul			next-level-cache = <&L2_500>;
109b7e8f433SVinod Koul			L2_500: l2-cache {
110b7e8f433SVinod Koul			      compatible = "cache";
111b7e8f433SVinod Koul			      next-level-cache = <&L3_0>;
112b7e8f433SVinod Koul			};
113b7e8f433SVinod Koul
114b7e8f433SVinod Koul		};
115b7e8f433SVinod Koul
116b7e8f433SVinod Koul		CPU6: cpu@600 {
117b7e8f433SVinod Koul			device_type = "cpu";
118b7e8f433SVinod Koul			compatible = "qcom,kryo685";
119b7e8f433SVinod Koul			reg = <0x0 0x600>;
120b7e8f433SVinod Koul			enable-method = "psci";
121b7e8f433SVinod Koul			next-level-cache = <&L2_600>;
122b7e8f433SVinod Koul			L2_600: l2-cache {
123b7e8f433SVinod Koul			      compatible = "cache";
124b7e8f433SVinod Koul			      next-level-cache = <&L3_0>;
125b7e8f433SVinod Koul			};
126b7e8f433SVinod Koul		};
127b7e8f433SVinod Koul
128b7e8f433SVinod Koul		CPU7: cpu@700 {
129b7e8f433SVinod Koul			device_type = "cpu";
130b7e8f433SVinod Koul			compatible = "qcom,kryo685";
131b7e8f433SVinod Koul			reg = <0x0 0x700>;
132b7e8f433SVinod Koul			enable-method = "psci";
133b7e8f433SVinod Koul			next-level-cache = <&L2_700>;
134b7e8f433SVinod Koul			L2_700: l2-cache {
135b7e8f433SVinod Koul			      compatible = "cache";
136b7e8f433SVinod Koul			      next-level-cache = <&L3_0>;
137b7e8f433SVinod Koul			};
138b7e8f433SVinod Koul		};
139b7e8f433SVinod Koul	};
140b7e8f433SVinod Koul
141b7e8f433SVinod Koul	firmware {
142b7e8f433SVinod Koul		scm: scm {
143b7e8f433SVinod Koul			compatible = "qcom,scm-sm8350", "qcom,scm";
144b7e8f433SVinod Koul			#reset-cells = <1>;
145b7e8f433SVinod Koul		};
146b7e8f433SVinod Koul	};
147b7e8f433SVinod Koul
148b7e8f433SVinod Koul	memory@80000000 {
149b7e8f433SVinod Koul		device_type = "memory";
150b7e8f433SVinod Koul		/* We expect the bootloader to fill in the size */
151b7e8f433SVinod Koul		reg = <0x0 0x80000000 0x0 0x0>;
152b7e8f433SVinod Koul	};
153b7e8f433SVinod Koul
154b7e8f433SVinod Koul	pmu {
155b7e8f433SVinod Koul		compatible = "arm,armv8-pmuv3";
156794d3e30SSai Prakash Ranjan		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
157b7e8f433SVinod Koul	};
158b7e8f433SVinod Koul
159b7e8f433SVinod Koul	psci {
160b7e8f433SVinod Koul		compatible = "arm,psci-1.0";
161b7e8f433SVinod Koul		method = "smc";
162b7e8f433SVinod Koul	};
163b7e8f433SVinod Koul
164b7e8f433SVinod Koul	reserved_memory: reserved-memory {
165b7e8f433SVinod Koul		#address-cells = <2>;
166b7e8f433SVinod Koul		#size-cells = <2>;
167b7e8f433SVinod Koul		ranges;
168b7e8f433SVinod Koul
169b7e8f433SVinod Koul		hyp_mem: memory@80000000 {
170b7e8f433SVinod Koul			reg = <0x0 0x80000000 0x0 0x600000>;
171b7e8f433SVinod Koul			no-map;
172b7e8f433SVinod Koul		};
173b7e8f433SVinod Koul
174b7e8f433SVinod Koul		xbl_aop_mem: memory@80700000 {
175b7e8f433SVinod Koul			no-map;
176b7e8f433SVinod Koul			reg = <0x0 0x80700000 0x0 0x160000>;
177b7e8f433SVinod Koul		};
178b7e8f433SVinod Koul
179b7e8f433SVinod Koul		cmd_db: memory@80860000 {
180b7e8f433SVinod Koul			compatible = "qcom,cmd-db";
181b7e8f433SVinod Koul			reg = <0x0 0x80860000 0x0 0x20000>;
182b7e8f433SVinod Koul			no-map;
183b7e8f433SVinod Koul		};
184b7e8f433SVinod Koul
185b7e8f433SVinod Koul		reserved_xbl_uefi_log: memory@80880000 {
186b7e8f433SVinod Koul			reg = <0x0 0x80880000 0x0 0x14000>;
187b7e8f433SVinod Koul			no-map;
188b7e8f433SVinod Koul		};
189b7e8f433SVinod Koul
190b7e8f433SVinod Koul		smem_mem: memory@80900000 {
191b7e8f433SVinod Koul			reg = <0x0 0x80900000 0x0 0x200000>;
192b7e8f433SVinod Koul			no-map;
193b7e8f433SVinod Koul		};
194b7e8f433SVinod Koul
195b7e8f433SVinod Koul		cpucp_fw_mem: memory@80b00000 {
196b7e8f433SVinod Koul			reg = <0x0 0x80b00000 0x0 0x100000>;
197b7e8f433SVinod Koul			no-map;
198b7e8f433SVinod Koul		};
199b7e8f433SVinod Koul
200b7e8f433SVinod Koul		cdsp_secure_heap: memory@80c00000 {
201b7e8f433SVinod Koul			reg = <0x0 0x80c00000 0x0 0x4600000>;
202b7e8f433SVinod Koul			no-map;
203b7e8f433SVinod Koul		};
204b7e8f433SVinod Koul
205b7e8f433SVinod Koul		pil_camera_mem: mmeory@85200000 {
206b7e8f433SVinod Koul			reg = <0x0 0x85200000 0x0 0x500000>;
207b7e8f433SVinod Koul			no-map;
208b7e8f433SVinod Koul		};
209b7e8f433SVinod Koul
210b7e8f433SVinod Koul		pil_video_mem: memory@85700000 {
211b7e8f433SVinod Koul			reg = <0x0 0x85700000 0x0 0x500000>;
212b7e8f433SVinod Koul			no-map;
213b7e8f433SVinod Koul		};
214b7e8f433SVinod Koul
215b7e8f433SVinod Koul		pil_cvp_mem: memory@85c00000 {
216b7e8f433SVinod Koul			reg = <0x0 0x85c00000 0x0 0x500000>;
217b7e8f433SVinod Koul			no-map;
218b7e8f433SVinod Koul		};
219b7e8f433SVinod Koul
220b7e8f433SVinod Koul		pil_adsp_mem: memory@86100000 {
221b7e8f433SVinod Koul			reg = <0x0 0x86100000 0x0 0x2100000>;
222b7e8f433SVinod Koul			no-map;
223b7e8f433SVinod Koul		};
224b7e8f433SVinod Koul
225b7e8f433SVinod Koul		pil_slpi_mem: memory@88200000 {
226b7e8f433SVinod Koul			reg = <0x0 0x88200000 0x0 0x1500000>;
227b7e8f433SVinod Koul			no-map;
228b7e8f433SVinod Koul		};
229b7e8f433SVinod Koul
230b7e8f433SVinod Koul		pil_cdsp_mem: memory@89700000 {
231b7e8f433SVinod Koul			reg = <0x0 0x89700000 0x0 0x1e00000>;
232b7e8f433SVinod Koul			no-map;
233b7e8f433SVinod Koul		};
234b7e8f433SVinod Koul
235b7e8f433SVinod Koul		pil_ipa_fw_mem: memory@8b500000 {
236b7e8f433SVinod Koul			reg = <0x0 0x8b500000 0x0 0x10000>;
237b7e8f433SVinod Koul			no-map;
238b7e8f433SVinod Koul		};
239b7e8f433SVinod Koul
240b7e8f433SVinod Koul		pil_ipa_gsi_mem: memory@8b510000 {
241b7e8f433SVinod Koul			reg = <0x0 0x8b510000 0x0 0xa000>;
242b7e8f433SVinod Koul			no-map;
243b7e8f433SVinod Koul		};
244b7e8f433SVinod Koul
245b7e8f433SVinod Koul		pil_gpu_mem: memory@8b51a000 {
246b7e8f433SVinod Koul			reg = <0x0 0x8b51a000 0x0 0x2000>;
247b7e8f433SVinod Koul			no-map;
248b7e8f433SVinod Koul		};
249b7e8f433SVinod Koul
250b7e8f433SVinod Koul		pil_spss_mem: memory@8b600000 {
251b7e8f433SVinod Koul			reg = <0x0 0x8b600000 0x0 0x100000>;
252b7e8f433SVinod Koul			no-map;
253b7e8f433SVinod Koul		};
254b7e8f433SVinod Koul
255b7e8f433SVinod Koul		pil_modem_mem: memory@8b800000 {
256b7e8f433SVinod Koul			reg = <0x0 0x8b800000 0x0 0x10000000>;
257b7e8f433SVinod Koul			no-map;
258b7e8f433SVinod Koul		};
259b7e8f433SVinod Koul
260b7e8f433SVinod Koul		hyp_reserved_mem: memory@d0000000 {
261b7e8f433SVinod Koul			reg = <0x0 0xd0000000 0x0 0x800000>;
262b7e8f433SVinod Koul			no-map;
263b7e8f433SVinod Koul		};
264b7e8f433SVinod Koul
265b7e8f433SVinod Koul		pil_trustedvm_mem: memory@d0800000 {
266b7e8f433SVinod Koul			reg = <0x0 0xd0800000 0x0 0x76f7000>;
267b7e8f433SVinod Koul			no-map;
268b7e8f433SVinod Koul		};
269b7e8f433SVinod Koul
270b7e8f433SVinod Koul		qrtr_shbuf: memory@d7ef7000 {
271b7e8f433SVinod Koul			reg = <0x0 0xd7ef7000 0x0 0x9000>;
272b7e8f433SVinod Koul			no-map;
273b7e8f433SVinod Koul		};
274b7e8f433SVinod Koul
275b7e8f433SVinod Koul		chan0_shbuf: memory@d7f00000 {
276b7e8f433SVinod Koul			reg = <0x0 0xd7f00000 0x0 0x80000>;
277b7e8f433SVinod Koul			no-map;
278b7e8f433SVinod Koul		};
279b7e8f433SVinod Koul
280b7e8f433SVinod Koul		chan1_shbuf: memory@d7f80000 {
281b7e8f433SVinod Koul			reg = <0x0 0xd7f80000 0x0 0x80000>;
282b7e8f433SVinod Koul			no-map;
283b7e8f433SVinod Koul		};
284b7e8f433SVinod Koul
285b7e8f433SVinod Koul		removed_mem: memory@d8800000 {
286b7e8f433SVinod Koul			reg = <0x0 0xd8800000 0x0 0x6800000>;
287b7e8f433SVinod Koul			no-map;
288b7e8f433SVinod Koul		};
289b7e8f433SVinod Koul	};
290b7e8f433SVinod Koul
291b7e8f433SVinod Koul	smem: qcom,smem {
292b7e8f433SVinod Koul		compatible = "qcom,smem";
293b7e8f433SVinod Koul		memory-region = <&smem_mem>;
294b7e8f433SVinod Koul		hwlocks = <&tcsr_mutex 3>;
295b7e8f433SVinod Koul	};
296b7e8f433SVinod Koul
297b7e8f433SVinod Koul	soc: soc@0 {
298b7e8f433SVinod Koul		#address-cells = <2>;
299b7e8f433SVinod Koul		#size-cells = <2>;
300b7e8f433SVinod Koul		ranges = <0 0 0 0 0x10 0>;
301b7e8f433SVinod Koul		dma-ranges = <0 0 0 0 0x10 0>;
302b7e8f433SVinod Koul		compatible = "simple-bus";
303b7e8f433SVinod Koul
304b7e8f433SVinod Koul		gcc: clock-controller@100000 {
305b7e8f433SVinod Koul			compatible = "qcom,gcc-sm8350";
306b7e8f433SVinod Koul			reg = <0x0 0x00100000 0x0 0x1f0000>;
307b7e8f433SVinod Koul			#clock-cells = <1>;
308b7e8f433SVinod Koul			#reset-cells = <1>;
309b7e8f433SVinod Koul			#power-domain-cells = <1>;
310b7e8f433SVinod Koul			clock-names = "bi_tcxo", "sleep_clk";
311b7e8f433SVinod Koul			clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>;
312b7e8f433SVinod Koul		};
313b7e8f433SVinod Koul
314b7e8f433SVinod Koul		ipcc: mailbox@408000 {
315b7e8f433SVinod Koul			compatible = "qcom,sm8350-ipcc", "qcom,ipcc";
316b7e8f433SVinod Koul			reg = <0 0x00408000 0 0x1000>;
317b7e8f433SVinod Koul			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
318b7e8f433SVinod Koul			interrupt-controller;
319b7e8f433SVinod Koul			#interrupt-cells = <3>;
320b7e8f433SVinod Koul			#mbox-cells = <2>;
321b7e8f433SVinod Koul		};
322b7e8f433SVinod Koul
323b7e8f433SVinod Koul		qupv3_id_1: geniqup@9c0000 {
324b7e8f433SVinod Koul			compatible = "qcom,geni-se-qup";
325b7e8f433SVinod Koul			reg = <0x0 0x009c0000 0x0 0x6000>;
326b7e8f433SVinod Koul			clock-names = "m-ahb", "s-ahb";
327b7e8f433SVinod Koul			clocks = <&gcc 121>,
328b7e8f433SVinod Koul				 <&gcc 122>;
329b7e8f433SVinod Koul			#address-cells = <2>;
330b7e8f433SVinod Koul			#size-cells = <2>;
331b7e8f433SVinod Koul			ranges;
332b7e8f433SVinod Koul			status = "disabled";
333b7e8f433SVinod Koul
334b7e8f433SVinod Koul			uart2: serial@98c000 {
335b7e8f433SVinod Koul				compatible = "qcom,geni-debug-uart";
336b7e8f433SVinod Koul				reg = <0 0x0098c000 0 0x4000>;
337b7e8f433SVinod Koul				clock-names = "se";
338b7e8f433SVinod Koul				clocks = <&gcc 83>;
339b7e8f433SVinod Koul				pinctrl-names = "default";
340b7e8f433SVinod Koul				pinctrl-0 = <&qup_uart3_default_state>;
341b7e8f433SVinod Koul				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
342b7e8f433SVinod Koul				#address-cells = <1>;
343b7e8f433SVinod Koul				#size-cells = <0>;
344b7e8f433SVinod Koul				status = "disabled";
345b7e8f433SVinod Koul			};
346b7e8f433SVinod Koul		};
347b7e8f433SVinod Koul
348*187f65b7SVinod Koul		apps_smmu: iommu@15000000 {
349*187f65b7SVinod Koul			compatible = "qcom,sm8350-smmu-500", "arm,mmu-500";
350*187f65b7SVinod Koul			reg = <0 0x15000000 0 0x100000>;
351*187f65b7SVinod Koul			#iommu-cells = <2>;
352*187f65b7SVinod Koul			#global-interrupts = <2>;
353*187f65b7SVinod Koul			interrupts =    <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
354*187f65b7SVinod Koul					<GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
355*187f65b7SVinod Koul					<GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
356*187f65b7SVinod Koul					<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
357*187f65b7SVinod Koul					<GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
358*187f65b7SVinod Koul					<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
359*187f65b7SVinod Koul					<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
360*187f65b7SVinod Koul					<GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
361*187f65b7SVinod Koul					<GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
362*187f65b7SVinod Koul					<GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
363*187f65b7SVinod Koul					<GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
364*187f65b7SVinod Koul					<GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
365*187f65b7SVinod Koul					<GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
366*187f65b7SVinod Koul					<GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
367*187f65b7SVinod Koul					<GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
368*187f65b7SVinod Koul					<GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
369*187f65b7SVinod Koul					<GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
370*187f65b7SVinod Koul					<GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
371*187f65b7SVinod Koul					<GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
372*187f65b7SVinod Koul					<GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
373*187f65b7SVinod Koul					<GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
374*187f65b7SVinod Koul					<GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
375*187f65b7SVinod Koul					<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
376*187f65b7SVinod Koul					<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
377*187f65b7SVinod Koul					<GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
378*187f65b7SVinod Koul					<GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
379*187f65b7SVinod Koul					<GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
380*187f65b7SVinod Koul					<GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
381*187f65b7SVinod Koul					<GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
382*187f65b7SVinod Koul					<GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
383*187f65b7SVinod Koul					<GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
384*187f65b7SVinod Koul					<GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
385*187f65b7SVinod Koul					<GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
386*187f65b7SVinod Koul					<GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
387*187f65b7SVinod Koul					<GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
388*187f65b7SVinod Koul					<GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
389*187f65b7SVinod Koul					<GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
390*187f65b7SVinod Koul					<GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
391*187f65b7SVinod Koul					<GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
392*187f65b7SVinod Koul					<GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
393*187f65b7SVinod Koul					<GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
394*187f65b7SVinod Koul					<GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
395*187f65b7SVinod Koul					<GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
396*187f65b7SVinod Koul					<GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
397*187f65b7SVinod Koul					<GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
398*187f65b7SVinod Koul					<GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
399*187f65b7SVinod Koul					<GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
400*187f65b7SVinod Koul					<GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
401*187f65b7SVinod Koul					<GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
402*187f65b7SVinod Koul					<GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
403*187f65b7SVinod Koul					<GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
404*187f65b7SVinod Koul					<GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
405*187f65b7SVinod Koul					<GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
406*187f65b7SVinod Koul					<GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
407*187f65b7SVinod Koul					<GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
408*187f65b7SVinod Koul					<GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
409*187f65b7SVinod Koul					<GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
410*187f65b7SVinod Koul					<GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
411*187f65b7SVinod Koul					<GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
412*187f65b7SVinod Koul					<GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
413*187f65b7SVinod Koul					<GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
414*187f65b7SVinod Koul					<GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
415*187f65b7SVinod Koul					<GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
416*187f65b7SVinod Koul					<GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
417*187f65b7SVinod Koul					<GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
418*187f65b7SVinod Koul					<GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
419*187f65b7SVinod Koul					<GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
420*187f65b7SVinod Koul					<GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
421*187f65b7SVinod Koul					<GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
422*187f65b7SVinod Koul					<GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
423*187f65b7SVinod Koul					<GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
424*187f65b7SVinod Koul					<GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
425*187f65b7SVinod Koul					<GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
426*187f65b7SVinod Koul					<GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
427*187f65b7SVinod Koul					<GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
428*187f65b7SVinod Koul					<GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
429*187f65b7SVinod Koul					<GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
430*187f65b7SVinod Koul					<GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
431*187f65b7SVinod Koul					<GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
432*187f65b7SVinod Koul					<GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
433*187f65b7SVinod Koul					<GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
434*187f65b7SVinod Koul					<GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
435*187f65b7SVinod Koul					<GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>,
436*187f65b7SVinod Koul					<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
437*187f65b7SVinod Koul					<GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
438*187f65b7SVinod Koul					<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
439*187f65b7SVinod Koul					<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
440*187f65b7SVinod Koul					<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
441*187f65b7SVinod Koul					<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
442*187f65b7SVinod Koul					<GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH>,
443*187f65b7SVinod Koul					<GIC_SPI 691 IRQ_TYPE_LEVEL_HIGH>,
444*187f65b7SVinod Koul					<GIC_SPI 692 IRQ_TYPE_LEVEL_HIGH>,
445*187f65b7SVinod Koul					<GIC_SPI 693 IRQ_TYPE_LEVEL_HIGH>,
446*187f65b7SVinod Koul					<GIC_SPI 694 IRQ_TYPE_LEVEL_HIGH>,
447*187f65b7SVinod Koul					<GIC_SPI 695 IRQ_TYPE_LEVEL_HIGH>,
448*187f65b7SVinod Koul					<GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>,
449*187f65b7SVinod Koul					<GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>,
450*187f65b7SVinod Koul					<GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>;
451*187f65b7SVinod Koul		};
452*187f65b7SVinod Koul
453b7e8f433SVinod Koul		tcsr_mutex: hwlock@1f40000 {
454b7e8f433SVinod Koul			compatible = "qcom,tcsr-mutex";
455b7e8f433SVinod Koul			reg = <0x0 0x01f40000 0x0 0x40000>;
456b7e8f433SVinod Koul			#hwlock-cells = <1>;
457b7e8f433SVinod Koul		};
458b7e8f433SVinod Koul
459b7e8f433SVinod Koul		pdc: interrupt-controller@b220000 {
460b7e8f433SVinod Koul			compatible = "qcom,sm8350-pdc", "qcom,pdc";
461b7e8f433SVinod Koul			reg = <0 0x0b220000 0 0x30000>, <0 0x17c000f0 0 0x60>;
462b7e8f433SVinod Koul			qcom,pdc-ranges = <0 480 40>, <40 140 14>, <54 263 1>,   <55 306 4>,
463b7e8f433SVinod Koul					  <59 312 3>, <62 374 2>,  <64 434 2>,   <66 438 3>,
464b7e8f433SVinod Koul					  <69 86 1>,  <70 520 54>, <124 609 31>, <155 63 1>,
465b7e8f433SVinod Koul					  <156 716 12>;
466b7e8f433SVinod Koul			#interrupt-cells = <2>;
467b7e8f433SVinod Koul			interrupt-parent = <&intc>;
468b7e8f433SVinod Koul			interrupt-controller;
469b7e8f433SVinod Koul		};
470b7e8f433SVinod Koul
47197832fa8SSai Prakash Ranjan		aoss_qmp: power-controller@c300000 {
472b7e8f433SVinod Koul			compatible = "qcom,sm8350-aoss-qmp";
473b7e8f433SVinod Koul			reg = <0 0x0c300000 0 0x100000>;
474b7e8f433SVinod Koul			interrupts-extended = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP
475b7e8f433SVinod Koul						     IRQ_TYPE_EDGE_RISING>;
476b7e8f433SVinod Koul			mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>;
477b7e8f433SVinod Koul
478b7e8f433SVinod Koul			#clock-cells = <0>;
479b7e8f433SVinod Koul			#power-domain-cells = <1>;
480b7e8f433SVinod Koul		};
481b7e8f433SVinod Koul
482b7e8f433SVinod Koul		tlmm: pinctrl@f100000 {
483b7e8f433SVinod Koul			compatible = "qcom,sm8350-tlmm";
484b7e8f433SVinod Koul			reg = <0 0x0f100000 0 0x300000>;
485b7e8f433SVinod Koul			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
486b7e8f433SVinod Koul			gpio-controller;
487b7e8f433SVinod Koul			#gpio-cells = <2>;
488b7e8f433SVinod Koul			interrupt-controller;
489b7e8f433SVinod Koul			#interrupt-cells = <2>;
490b7e8f433SVinod Koul			gpio-ranges = <&tlmm 0 0 203>;
491b7e8f433SVinod Koul
492b7e8f433SVinod Koul			qup_uart3_default_state: qup-uart3-default-state {
493b7e8f433SVinod Koul				rx {
494b7e8f433SVinod Koul					pins = "gpio18";
495b7e8f433SVinod Koul					function = "qup3";
496b7e8f433SVinod Koul				};
497b7e8f433SVinod Koul				tx {
498b7e8f433SVinod Koul					pins = "gpio19";
499b7e8f433SVinod Koul					function = "qup3";
500b7e8f433SVinod Koul				};
501b7e8f433SVinod Koul			};
502b7e8f433SVinod Koul		};
503b7e8f433SVinod Koul
504b7e8f433SVinod Koul		intc: interrupt-controller@17a00000 {
505b7e8f433SVinod Koul			compatible = "arm,gic-v3";
506b7e8f433SVinod Koul			#interrupt-cells = <3>;
507b7e8f433SVinod Koul			interrupt-controller;
508b7e8f433SVinod Koul			reg = <0x0 0x17a00000 0x0 0x10000>,     /* GICD */
509b7e8f433SVinod Koul			      <0x0 0x17a60000 0x0 0x100000>;    /* GICR * 8 */
510b7e8f433SVinod Koul			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
511b7e8f433SVinod Koul		};
512b7e8f433SVinod Koul
513b7e8f433SVinod Koul		timer@17c20000 {
514b7e8f433SVinod Koul			compatible = "arm,armv7-timer-mem";
515b7e8f433SVinod Koul			#address-cells = <2>;
516b7e8f433SVinod Koul			#size-cells = <2>;
517b7e8f433SVinod Koul			ranges;
518b7e8f433SVinod Koul			reg = <0x0 0x17c20000 0x0 0x1000>;
519b7e8f433SVinod Koul			clock-frequency = <19200000>;
520b7e8f433SVinod Koul
521b7e8f433SVinod Koul			frame@17c21000 {
522b7e8f433SVinod Koul				frame-number = <0>;
523b7e8f433SVinod Koul				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
524b7e8f433SVinod Koul					     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
525b7e8f433SVinod Koul				reg = <0x0 0x17c21000 0x0 0x1000>,
526b7e8f433SVinod Koul				      <0x0 0x17c22000 0x0 0x1000>;
527b7e8f433SVinod Koul			};
528b7e8f433SVinod Koul
529b7e8f433SVinod Koul			frame@17c23000 {
530b7e8f433SVinod Koul				frame-number = <1>;
531b7e8f433SVinod Koul				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
532b7e8f433SVinod Koul				reg = <0x0 0x17c23000 0x0 0x1000>;
533b7e8f433SVinod Koul				status = "disabled";
534b7e8f433SVinod Koul			};
535b7e8f433SVinod Koul
536b7e8f433SVinod Koul			frame@17c25000 {
537b7e8f433SVinod Koul				frame-number = <2>;
538b7e8f433SVinod Koul				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
539b7e8f433SVinod Koul				reg = <0x0 0x17c25000 0x0 0x1000>;
540b7e8f433SVinod Koul				status = "disabled";
541b7e8f433SVinod Koul			};
542b7e8f433SVinod Koul
543b7e8f433SVinod Koul			frame@17c27000 {
544b7e8f433SVinod Koul				frame-number = <3>;
545b7e8f433SVinod Koul				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
546b7e8f433SVinod Koul				reg = <0x0 0x17c27000 0x0 0x1000>;
547b7e8f433SVinod Koul				status = "disabled";
548b7e8f433SVinod Koul			};
549b7e8f433SVinod Koul
550b7e8f433SVinod Koul			frame@17c29000 {
551b7e8f433SVinod Koul				frame-number = <4>;
552b7e8f433SVinod Koul				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
553b7e8f433SVinod Koul				reg = <0x0 0x17c29000 0x0 0x1000>;
554b7e8f433SVinod Koul				status = "disabled";
555b7e8f433SVinod Koul			};
556b7e8f433SVinod Koul
557b7e8f433SVinod Koul			frame@17c2b000 {
558b7e8f433SVinod Koul				frame-number = <5>;
559b7e8f433SVinod Koul				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
560b7e8f433SVinod Koul				reg = <0x0 0x17c2b000 0x0 0x1000>;
561b7e8f433SVinod Koul				status = "disabled";
562b7e8f433SVinod Koul			};
563b7e8f433SVinod Koul
564b7e8f433SVinod Koul			frame@17c2d000 {
565b7e8f433SVinod Koul				frame-number = <6>;
566b7e8f433SVinod Koul				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
567b7e8f433SVinod Koul				reg = <0x0 0x17c2d000 0x0 0x1000>;
568b7e8f433SVinod Koul				status = "disabled";
569b7e8f433SVinod Koul			};
570b7e8f433SVinod Koul		};
571b7e8f433SVinod Koul
572b7e8f433SVinod Koul		apps_rsc: rsc@18200000 {
573b7e8f433SVinod Koul			label = "apps_rsc";
574b7e8f433SVinod Koul			compatible = "qcom,rpmh-rsc";
575b7e8f433SVinod Koul			reg = <0x0 0x18200000 0x0 0x10000>,
576b7e8f433SVinod Koul				<0x0 0x18210000 0x0 0x10000>,
577b7e8f433SVinod Koul				<0x0 0x18220000 0x0 0x10000>;
578b7e8f433SVinod Koul			reg-names = "drv-0", "drv-1", "drv-2";
579b7e8f433SVinod Koul			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
580b7e8f433SVinod Koul				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
581b7e8f433SVinod Koul				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
582b7e8f433SVinod Koul			qcom,tcs-offset = <0xd00>;
583b7e8f433SVinod Koul			qcom,drv-id = <2>;
584b7e8f433SVinod Koul			qcom,tcs-config = <ACTIVE_TCS  2>, <SLEEP_TCS   3>,
585b7e8f433SVinod Koul					  <WAKE_TCS    3>, <CONTROL_TCS 1>;
586b7e8f433SVinod Koul
587b7e8f433SVinod Koul			rpmhcc: clock-controller {
588b7e8f433SVinod Koul				compatible = "qcom,sm8350-rpmh-clk";
589b7e8f433SVinod Koul				#clock-cells = <1>;
590b7e8f433SVinod Koul				clock-names = "xo";
591b7e8f433SVinod Koul				clocks = <&xo_board>;
592b7e8f433SVinod Koul			};
593b7e8f433SVinod Koul
594b7e8f433SVinod Koul		};
595b7e8f433SVinod Koul	};
596b7e8f433SVinod Koul
597b7e8f433SVinod Koul	timer {
598b7e8f433SVinod Koul		compatible = "arm,armv8-timer";
599b7e8f433SVinod Koul		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
600b7e8f433SVinod Koul			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
601b7e8f433SVinod Koul			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
602b7e8f433SVinod Koul			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
603b7e8f433SVinod Koul	};
604b7e8f433SVinod Koul};
605