xref: /openbmc/linux/arch/arm64/boot/dts/qcom/sdm630.dtsi (revision b79663a5)
1b190fb01SKonrad Dybcio// SPDX-License-Identifier: BSD-3-Clause
2b190fb01SKonrad Dybcio/*
35cf69dcbSAngeloGioacchino Del Regno * Copyright (c) 2020, Konrad Dybcio <konradybcio@gmail.com>
45cf69dcbSAngeloGioacchino Del Regno * Copyright (c) 2020, AngeloGioacchino Del Regno <kholk11@gmail.com>
5b190fb01SKonrad Dybcio */
6b190fb01SKonrad Dybcio
7b190fb01SKonrad Dybcio#include <dt-bindings/clock/qcom,gcc-sdm660.h>
8a64fa0e2SAngeloGioacchino Del Regno#include <dt-bindings/clock/qcom,gpucc-sdm660.h>
9045547a0SKonrad Dybcio#include <dt-bindings/clock/qcom,mmcc-sdm660.h>
10b190fb01SKonrad Dybcio#include <dt-bindings/clock/qcom,rpmcc.h>
113cd1c4f4SDmitry Baryshkov#include <dt-bindings/interconnect/qcom,sdm660.h>
121ce921aeSKonrad Dybcio#include <dt-bindings/power/qcom-rpmpd.h>
13b190fb01SKonrad Dybcio#include <dt-bindings/gpio/gpio.h>
14b190fb01SKonrad Dybcio#include <dt-bindings/interrupt-controller/arm-gic.h>
157ca2ebc9SKonrad Dybcio#include <dt-bindings/soc/qcom,apr.h>
16b190fb01SKonrad Dybcio
17b190fb01SKonrad Dybcio/ {
18b190fb01SKonrad Dybcio	interrupt-parent = <&intc>;
19b190fb01SKonrad Dybcio
20b190fb01SKonrad Dybcio	#address-cells = <2>;
21b190fb01SKonrad Dybcio	#size-cells = <2>;
22b190fb01SKonrad Dybcio
23b1394251SDang Huynh	aliases {
24b1394251SDang Huynh		mmc1 = &sdhc_1;
25b1394251SDang Huynh		mmc2 = &sdhc_2;
26b1394251SDang Huynh	};
27b1394251SDang Huynh
28b190fb01SKonrad Dybcio	chosen { };
29b190fb01SKonrad Dybcio
30b190fb01SKonrad Dybcio	clocks {
31639dfdbeSVinod Koul		xo_board: xo-board {
32b190fb01SKonrad Dybcio			compatible = "fixed-clock";
33b190fb01SKonrad Dybcio			#clock-cells = <0>;
34b190fb01SKonrad Dybcio			clock-frequency = <19200000>;
35b190fb01SKonrad Dybcio			clock-output-names = "xo_board";
36b190fb01SKonrad Dybcio		};
37b190fb01SKonrad Dybcio
38639dfdbeSVinod Koul		sleep_clk: sleep-clk {
39b190fb01SKonrad Dybcio			compatible = "fixed-clock";
40b190fb01SKonrad Dybcio			#clock-cells = <0>;
41b190fb01SKonrad Dybcio			clock-frequency = <32764>;
42b190fb01SKonrad Dybcio			clock-output-names = "sleep_clk";
43b190fb01SKonrad Dybcio		};
44b190fb01SKonrad Dybcio	};
45b190fb01SKonrad Dybcio
46b190fb01SKonrad Dybcio	cpus {
47b190fb01SKonrad Dybcio		#address-cells = <2>;
48b190fb01SKonrad Dybcio		#size-cells = <0>;
49b190fb01SKonrad Dybcio
50b190fb01SKonrad Dybcio		CPU0: cpu@100 {
51b190fb01SKonrad Dybcio			device_type = "cpu";
52b190fb01SKonrad Dybcio			compatible = "arm,cortex-a53";
53b190fb01SKonrad Dybcio			reg = <0x0 0x100>;
54b190fb01SKonrad Dybcio			enable-method = "psci";
55b190fb01SKonrad Dybcio			cpu-idle-states = <&PERF_CPU_SLEEP_0
56b190fb01SKonrad Dybcio						&PERF_CPU_SLEEP_1
57b190fb01SKonrad Dybcio						&PERF_CLUSTER_SLEEP_0
58b190fb01SKonrad Dybcio						&PERF_CLUSTER_SLEEP_1
59b190fb01SKonrad Dybcio						&PERF_CLUSTER_SLEEP_2>;
60b190fb01SKonrad Dybcio			capacity-dmips-mhz = <1126>;
61b190fb01SKonrad Dybcio			#cooling-cells = <2>;
62b190fb01SKonrad Dybcio			next-level-cache = <&L2_1>;
63b190fb01SKonrad Dybcio			L2_1: l2-cache {
64b190fb01SKonrad Dybcio				compatible = "cache";
65b190fb01SKonrad Dybcio				cache-level = <2>;
669c6e72fbSKrzysztof Kozlowski				cache-unified;
67b190fb01SKonrad Dybcio			};
68b190fb01SKonrad Dybcio		};
69b190fb01SKonrad Dybcio
70b190fb01SKonrad Dybcio		CPU1: cpu@101 {
71b190fb01SKonrad Dybcio			device_type = "cpu";
72b190fb01SKonrad Dybcio			compatible = "arm,cortex-a53";
73b190fb01SKonrad Dybcio			reg = <0x0 0x101>;
74b190fb01SKonrad Dybcio			enable-method = "psci";
75b190fb01SKonrad Dybcio			cpu-idle-states = <&PERF_CPU_SLEEP_0
76b190fb01SKonrad Dybcio						&PERF_CPU_SLEEP_1
77b190fb01SKonrad Dybcio						&PERF_CLUSTER_SLEEP_0
78b190fb01SKonrad Dybcio						&PERF_CLUSTER_SLEEP_1
79b190fb01SKonrad Dybcio						&PERF_CLUSTER_SLEEP_2>;
80b190fb01SKonrad Dybcio			capacity-dmips-mhz = <1126>;
81b190fb01SKonrad Dybcio			#cooling-cells = <2>;
82b190fb01SKonrad Dybcio			next-level-cache = <&L2_1>;
83b190fb01SKonrad Dybcio		};
84b190fb01SKonrad Dybcio
85b190fb01SKonrad Dybcio		CPU2: cpu@102 {
86b190fb01SKonrad Dybcio			device_type = "cpu";
87b190fb01SKonrad Dybcio			compatible = "arm,cortex-a53";
88b190fb01SKonrad Dybcio			reg = <0x0 0x102>;
89b190fb01SKonrad Dybcio			enable-method = "psci";
90b190fb01SKonrad Dybcio			cpu-idle-states = <&PERF_CPU_SLEEP_0
91b190fb01SKonrad Dybcio						&PERF_CPU_SLEEP_1
92b190fb01SKonrad Dybcio						&PERF_CLUSTER_SLEEP_0
93b190fb01SKonrad Dybcio						&PERF_CLUSTER_SLEEP_1
94b190fb01SKonrad Dybcio						&PERF_CLUSTER_SLEEP_2>;
95b190fb01SKonrad Dybcio			capacity-dmips-mhz = <1126>;
96b190fb01SKonrad Dybcio			#cooling-cells = <2>;
97b190fb01SKonrad Dybcio			next-level-cache = <&L2_1>;
98b190fb01SKonrad Dybcio		};
99b190fb01SKonrad Dybcio
100b190fb01SKonrad Dybcio		CPU3: cpu@103 {
101b190fb01SKonrad Dybcio			device_type = "cpu";
102b190fb01SKonrad Dybcio			compatible = "arm,cortex-a53";
103b190fb01SKonrad Dybcio			reg = <0x0 0x103>;
104b190fb01SKonrad Dybcio			enable-method = "psci";
105b190fb01SKonrad Dybcio			cpu-idle-states = <&PERF_CPU_SLEEP_0
106b190fb01SKonrad Dybcio						&PERF_CPU_SLEEP_1
107b190fb01SKonrad Dybcio						&PERF_CLUSTER_SLEEP_0
108b190fb01SKonrad Dybcio						&PERF_CLUSTER_SLEEP_1
109b190fb01SKonrad Dybcio						&PERF_CLUSTER_SLEEP_2>;
110b190fb01SKonrad Dybcio			capacity-dmips-mhz = <1126>;
111b190fb01SKonrad Dybcio			#cooling-cells = <2>;
112b190fb01SKonrad Dybcio			next-level-cache = <&L2_1>;
113b190fb01SKonrad Dybcio		};
114b190fb01SKonrad Dybcio
115b190fb01SKonrad Dybcio		CPU4: cpu@0 {
116b190fb01SKonrad Dybcio			device_type = "cpu";
117b190fb01SKonrad Dybcio			compatible = "arm,cortex-a53";
118b190fb01SKonrad Dybcio			reg = <0x0 0x0>;
119b190fb01SKonrad Dybcio			enable-method = "psci";
120b190fb01SKonrad Dybcio			cpu-idle-states = <&PWR_CPU_SLEEP_0
121b190fb01SKonrad Dybcio						&PWR_CPU_SLEEP_1
122b190fb01SKonrad Dybcio						&PWR_CLUSTER_SLEEP_0
123b190fb01SKonrad Dybcio						&PWR_CLUSTER_SLEEP_1
124b190fb01SKonrad Dybcio						&PWR_CLUSTER_SLEEP_2>;
125b190fb01SKonrad Dybcio			capacity-dmips-mhz = <1024>;
126b190fb01SKonrad Dybcio			#cooling-cells = <2>;
127b190fb01SKonrad Dybcio			next-level-cache = <&L2_0>;
128b190fb01SKonrad Dybcio			L2_0: l2-cache {
129b190fb01SKonrad Dybcio				compatible = "cache";
130b190fb01SKonrad Dybcio				cache-level = <2>;
1319c6e72fbSKrzysztof Kozlowski				cache-unified;
132b190fb01SKonrad Dybcio			};
133b190fb01SKonrad Dybcio		};
134b190fb01SKonrad Dybcio
135b190fb01SKonrad Dybcio		CPU5: cpu@1 {
136b190fb01SKonrad Dybcio			device_type = "cpu";
137b190fb01SKonrad Dybcio			compatible = "arm,cortex-a53";
138b190fb01SKonrad Dybcio			reg = <0x0 0x1>;
139b190fb01SKonrad Dybcio			enable-method = "psci";
140b190fb01SKonrad Dybcio			cpu-idle-states = <&PWR_CPU_SLEEP_0
141b190fb01SKonrad Dybcio						&PWR_CPU_SLEEP_1
142b190fb01SKonrad Dybcio						&PWR_CLUSTER_SLEEP_0
143b190fb01SKonrad Dybcio						&PWR_CLUSTER_SLEEP_1
144b190fb01SKonrad Dybcio						&PWR_CLUSTER_SLEEP_2>;
145b190fb01SKonrad Dybcio			capacity-dmips-mhz = <1024>;
146b190fb01SKonrad Dybcio			#cooling-cells = <2>;
147b190fb01SKonrad Dybcio			next-level-cache = <&L2_0>;
148b190fb01SKonrad Dybcio		};
149b190fb01SKonrad Dybcio
150b190fb01SKonrad Dybcio		CPU6: cpu@2 {
151b190fb01SKonrad Dybcio			device_type = "cpu";
152b190fb01SKonrad Dybcio			compatible = "arm,cortex-a53";
153b190fb01SKonrad Dybcio			reg = <0x0 0x2>;
154b190fb01SKonrad Dybcio			enable-method = "psci";
155b190fb01SKonrad Dybcio			cpu-idle-states = <&PWR_CPU_SLEEP_0
156b190fb01SKonrad Dybcio						&PWR_CPU_SLEEP_1
157b190fb01SKonrad Dybcio						&PWR_CLUSTER_SLEEP_0
158b190fb01SKonrad Dybcio						&PWR_CLUSTER_SLEEP_1
159b190fb01SKonrad Dybcio						&PWR_CLUSTER_SLEEP_2>;
160b190fb01SKonrad Dybcio			capacity-dmips-mhz = <1024>;
161b190fb01SKonrad Dybcio			#cooling-cells = <2>;
162b190fb01SKonrad Dybcio			next-level-cache = <&L2_0>;
163b190fb01SKonrad Dybcio		};
164b190fb01SKonrad Dybcio
165b190fb01SKonrad Dybcio		CPU7: cpu@3 {
166b190fb01SKonrad Dybcio			device_type = "cpu";
167b190fb01SKonrad Dybcio			compatible = "arm,cortex-a53";
168b190fb01SKonrad Dybcio			reg = <0x0 0x3>;
169b190fb01SKonrad Dybcio			enable-method = "psci";
170b190fb01SKonrad Dybcio			cpu-idle-states = <&PWR_CPU_SLEEP_0
171b190fb01SKonrad Dybcio						&PWR_CPU_SLEEP_1
172b190fb01SKonrad Dybcio						&PWR_CLUSTER_SLEEP_0
173b190fb01SKonrad Dybcio						&PWR_CLUSTER_SLEEP_1
174b190fb01SKonrad Dybcio						&PWR_CLUSTER_SLEEP_2>;
175b190fb01SKonrad Dybcio			capacity-dmips-mhz = <1024>;
176b190fb01SKonrad Dybcio			#cooling-cells = <2>;
177b190fb01SKonrad Dybcio			next-level-cache = <&L2_0>;
178b190fb01SKonrad Dybcio		};
179b190fb01SKonrad Dybcio
180b190fb01SKonrad Dybcio		cpu-map {
181b190fb01SKonrad Dybcio			cluster0 {
182b190fb01SKonrad Dybcio				core0 {
183b190fb01SKonrad Dybcio					cpu = <&CPU4>;
184b190fb01SKonrad Dybcio				};
185b190fb01SKonrad Dybcio
186b190fb01SKonrad Dybcio				core1 {
187b190fb01SKonrad Dybcio					cpu = <&CPU5>;
188b190fb01SKonrad Dybcio				};
189b190fb01SKonrad Dybcio
190b190fb01SKonrad Dybcio				core2 {
191b190fb01SKonrad Dybcio					cpu = <&CPU6>;
192b190fb01SKonrad Dybcio				};
193b190fb01SKonrad Dybcio
194b190fb01SKonrad Dybcio				core3 {
195b190fb01SKonrad Dybcio					cpu = <&CPU7>;
196b190fb01SKonrad Dybcio				};
197b190fb01SKonrad Dybcio			};
198b190fb01SKonrad Dybcio
199b190fb01SKonrad Dybcio			cluster1 {
200b190fb01SKonrad Dybcio				core0 {
201b190fb01SKonrad Dybcio					cpu = <&CPU0>;
202b190fb01SKonrad Dybcio				};
203b190fb01SKonrad Dybcio
204b190fb01SKonrad Dybcio				core1 {
205b190fb01SKonrad Dybcio					cpu = <&CPU1>;
206b190fb01SKonrad Dybcio				};
207b190fb01SKonrad Dybcio
208b190fb01SKonrad Dybcio				core2 {
209b190fb01SKonrad Dybcio					cpu = <&CPU2>;
210b190fb01SKonrad Dybcio				};
211b190fb01SKonrad Dybcio
212b190fb01SKonrad Dybcio				core3 {
213b190fb01SKonrad Dybcio					cpu = <&CPU3>;
214b190fb01SKonrad Dybcio				};
215b190fb01SKonrad Dybcio			};
216b190fb01SKonrad Dybcio		};
217b190fb01SKonrad Dybcio
218b190fb01SKonrad Dybcio		idle-states {
219b190fb01SKonrad Dybcio			entry-method = "psci";
220b190fb01SKonrad Dybcio
221b190fb01SKonrad Dybcio			PWR_CPU_SLEEP_0: cpu-sleep-0-0 {
222b190fb01SKonrad Dybcio				compatible = "arm,idle-state";
223b190fb01SKonrad Dybcio				idle-state-name = "pwr-retention";
224b190fb01SKonrad Dybcio				arm,psci-suspend-param = <0x40000002>;
225b190fb01SKonrad Dybcio				entry-latency-us = <338>;
226b190fb01SKonrad Dybcio				exit-latency-us = <423>;
227b190fb01SKonrad Dybcio				min-residency-us = <200>;
228b190fb01SKonrad Dybcio			};
229b190fb01SKonrad Dybcio
230b190fb01SKonrad Dybcio			PWR_CPU_SLEEP_1: cpu-sleep-0-1 {
231b190fb01SKonrad Dybcio				compatible = "arm,idle-state";
232b190fb01SKonrad Dybcio				idle-state-name = "pwr-power-collapse";
233b190fb01SKonrad Dybcio				arm,psci-suspend-param = <0x40000003>;
234b190fb01SKonrad Dybcio				entry-latency-us = <515>;
235b190fb01SKonrad Dybcio				exit-latency-us = <1821>;
236b190fb01SKonrad Dybcio				min-residency-us = <1000>;
237b190fb01SKonrad Dybcio				local-timer-stop;
238b190fb01SKonrad Dybcio			};
239b190fb01SKonrad Dybcio
240b190fb01SKonrad Dybcio			PERF_CPU_SLEEP_0: cpu-sleep-1-0 {
241b190fb01SKonrad Dybcio				compatible = "arm,idle-state";
242b190fb01SKonrad Dybcio				idle-state-name = "perf-retention";
243b190fb01SKonrad Dybcio				arm,psci-suspend-param = <0x40000002>;
244b190fb01SKonrad Dybcio				entry-latency-us = <154>;
245b190fb01SKonrad Dybcio				exit-latency-us = <87>;
246b190fb01SKonrad Dybcio				min-residency-us = <200>;
247b190fb01SKonrad Dybcio			};
248b190fb01SKonrad Dybcio
249b190fb01SKonrad Dybcio			PERF_CPU_SLEEP_1: cpu-sleep-1-1 {
250b190fb01SKonrad Dybcio				compatible = "arm,idle-state";
251b190fb01SKonrad Dybcio				idle-state-name = "perf-power-collapse";
252b190fb01SKonrad Dybcio				arm,psci-suspend-param = <0x40000003>;
253b190fb01SKonrad Dybcio				entry-latency-us = <262>;
254b190fb01SKonrad Dybcio				exit-latency-us = <301>;
255b190fb01SKonrad Dybcio				min-residency-us = <1000>;
256b190fb01SKonrad Dybcio				local-timer-stop;
257b190fb01SKonrad Dybcio			};
258b190fb01SKonrad Dybcio
259b190fb01SKonrad Dybcio			PWR_CLUSTER_SLEEP_0: cluster-sleep-0-0 {
260b190fb01SKonrad Dybcio				compatible = "arm,idle-state";
261b190fb01SKonrad Dybcio				idle-state-name = "pwr-cluster-dynamic-retention";
262b190fb01SKonrad Dybcio				arm,psci-suspend-param = <0x400000F2>;
263b190fb01SKonrad Dybcio				entry-latency-us = <284>;
264b190fb01SKonrad Dybcio				exit-latency-us = <384>;
265b190fb01SKonrad Dybcio				min-residency-us = <9987>;
266b190fb01SKonrad Dybcio				local-timer-stop;
267b190fb01SKonrad Dybcio			};
268b190fb01SKonrad Dybcio
269b190fb01SKonrad Dybcio			PWR_CLUSTER_SLEEP_1: cluster-sleep-0-1 {
270b190fb01SKonrad Dybcio				compatible = "arm,idle-state";
271b190fb01SKonrad Dybcio				idle-state-name = "pwr-cluster-retention";
272b190fb01SKonrad Dybcio				arm,psci-suspend-param = <0x400000F3>;
273b190fb01SKonrad Dybcio				entry-latency-us = <338>;
274b190fb01SKonrad Dybcio				exit-latency-us = <423>;
275b190fb01SKonrad Dybcio				min-residency-us = <9987>;
276b190fb01SKonrad Dybcio				local-timer-stop;
277b190fb01SKonrad Dybcio			};
278b190fb01SKonrad Dybcio
279b190fb01SKonrad Dybcio			PWR_CLUSTER_SLEEP_2: cluster-sleep-0-2 {
280b190fb01SKonrad Dybcio				compatible = "arm,idle-state";
281b190fb01SKonrad Dybcio				idle-state-name = "pwr-cluster-retention";
282b190fb01SKonrad Dybcio				arm,psci-suspend-param = <0x400000F4>;
283b190fb01SKonrad Dybcio				entry-latency-us = <515>;
284b190fb01SKonrad Dybcio				exit-latency-us = <1821>;
285b190fb01SKonrad Dybcio				min-residency-us = <9987>;
286b190fb01SKonrad Dybcio				local-timer-stop;
287b190fb01SKonrad Dybcio			};
288b190fb01SKonrad Dybcio
289b190fb01SKonrad Dybcio			PERF_CLUSTER_SLEEP_0: cluster-sleep-1-0 {
290b190fb01SKonrad Dybcio				compatible = "arm,idle-state";
291b190fb01SKonrad Dybcio				idle-state-name = "perf-cluster-dynamic-retention";
292b190fb01SKonrad Dybcio				arm,psci-suspend-param = <0x400000F2>;
293b190fb01SKonrad Dybcio				entry-latency-us = <272>;
294b190fb01SKonrad Dybcio				exit-latency-us = <329>;
295b190fb01SKonrad Dybcio				min-residency-us = <9987>;
296b190fb01SKonrad Dybcio				local-timer-stop;
297b190fb01SKonrad Dybcio			};
298b190fb01SKonrad Dybcio
299b190fb01SKonrad Dybcio			PERF_CLUSTER_SLEEP_1: cluster-sleep-1-1 {
300b190fb01SKonrad Dybcio				compatible = "arm,idle-state";
301b190fb01SKonrad Dybcio				idle-state-name = "perf-cluster-retention";
302b190fb01SKonrad Dybcio				arm,psci-suspend-param = <0x400000F3>;
303b190fb01SKonrad Dybcio				entry-latency-us = <332>;
304b190fb01SKonrad Dybcio				exit-latency-us = <368>;
305b190fb01SKonrad Dybcio				min-residency-us = <9987>;
306b190fb01SKonrad Dybcio				local-timer-stop;
307b190fb01SKonrad Dybcio			};
308b190fb01SKonrad Dybcio
309b190fb01SKonrad Dybcio			PERF_CLUSTER_SLEEP_2: cluster-sleep-1-2 {
310b190fb01SKonrad Dybcio				compatible = "arm,idle-state";
311b190fb01SKonrad Dybcio				idle-state-name = "perf-cluster-retention";
312b190fb01SKonrad Dybcio				arm,psci-suspend-param = <0x400000F4>;
313b190fb01SKonrad Dybcio				entry-latency-us = <545>;
314b190fb01SKonrad Dybcio				exit-latency-us = <1609>;
315b190fb01SKonrad Dybcio				min-residency-us = <9987>;
316b190fb01SKonrad Dybcio				local-timer-stop;
317b190fb01SKonrad Dybcio			};
318b190fb01SKonrad Dybcio		};
319b190fb01SKonrad Dybcio	};
320b190fb01SKonrad Dybcio
321b190fb01SKonrad Dybcio	firmware {
322b190fb01SKonrad Dybcio		scm {
323b190fb01SKonrad Dybcio			compatible = "qcom,scm-msm8998", "qcom,scm";
324b190fb01SKonrad Dybcio		};
325b190fb01SKonrad Dybcio	};
326b190fb01SKonrad Dybcio
327cfdf0c27SVinod Koul	memory@80000000 {
328b190fb01SKonrad Dybcio		device_type = "memory";
329b190fb01SKonrad Dybcio		/* We expect the bootloader to fill in the reg */
330cfdf0c27SVinod Koul		reg = <0x0 0x80000000 0x0 0x0>;
331b190fb01SKonrad Dybcio	};
332b190fb01SKonrad Dybcio
333a9e76cf1SKrzysztof Kozlowski	dsi_opp_table: opp-table-dsi {
334a9e76cf1SKrzysztof Kozlowski		compatible = "operating-points-v2";
335a9e76cf1SKrzysztof Kozlowski
336a9e76cf1SKrzysztof Kozlowski		opp-131250000 {
337a9e76cf1SKrzysztof Kozlowski			opp-hz = /bits/ 64 <131250000>;
338a9e76cf1SKrzysztof Kozlowski			required-opps = <&rpmpd_opp_svs>;
339a9e76cf1SKrzysztof Kozlowski		};
340a9e76cf1SKrzysztof Kozlowski
341a9e76cf1SKrzysztof Kozlowski		opp-210000000 {
342a9e76cf1SKrzysztof Kozlowski			opp-hz = /bits/ 64 <210000000>;
343a9e76cf1SKrzysztof Kozlowski			required-opps = <&rpmpd_opp_svs_plus>;
344a9e76cf1SKrzysztof Kozlowski		};
345a9e76cf1SKrzysztof Kozlowski
346a9e76cf1SKrzysztof Kozlowski		opp-262500000 {
347a9e76cf1SKrzysztof Kozlowski			opp-hz = /bits/ 64 <262500000>;
348a9e76cf1SKrzysztof Kozlowski			required-opps = <&rpmpd_opp_nom>;
349a9e76cf1SKrzysztof Kozlowski		};
350a9e76cf1SKrzysztof Kozlowski	};
351a9e76cf1SKrzysztof Kozlowski
352b190fb01SKonrad Dybcio	pmu {
353b190fb01SKonrad Dybcio		compatible = "arm,armv8-pmuv3";
354b190fb01SKonrad Dybcio		interrupts = <GIC_PPI 6 IRQ_TYPE_LEVEL_HIGH>;
355b190fb01SKonrad Dybcio	};
356b190fb01SKonrad Dybcio
357b190fb01SKonrad Dybcio	psci {
358b190fb01SKonrad Dybcio		compatible = "arm,psci-1.0";
359b190fb01SKonrad Dybcio		method = "smc";
360b190fb01SKonrad Dybcio	};
361b190fb01SKonrad Dybcio
3627e1acc8bSStephan Gerhold	rpm: remoteproc {
3637e1acc8bSStephan Gerhold		compatible = "qcom,sdm660-rpm-proc", "qcom,rpm-proc";
3647e1acc8bSStephan Gerhold
3657e1acc8bSStephan Gerhold		glink-edge {
3667e1acc8bSStephan Gerhold			compatible = "qcom,glink-rpm";
3677e1acc8bSStephan Gerhold
3687e1acc8bSStephan Gerhold			interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
3697e1acc8bSStephan Gerhold			qcom,rpm-msg-ram = <&rpm_msg_ram>;
3707e1acc8bSStephan Gerhold			mboxes = <&apcs_glb 0>;
3717e1acc8bSStephan Gerhold
3727e1acc8bSStephan Gerhold			rpm_requests: rpm-requests {
3737e1acc8bSStephan Gerhold				compatible = "qcom,rpm-sdm660";
3747e1acc8bSStephan Gerhold				qcom,glink-channels = "rpm_requests";
3757e1acc8bSStephan Gerhold
3767e1acc8bSStephan Gerhold				rpmcc: clock-controller {
3777e1acc8bSStephan Gerhold					compatible = "qcom,rpmcc-sdm660", "qcom,rpmcc";
3787e1acc8bSStephan Gerhold					#clock-cells = <1>;
3797e1acc8bSStephan Gerhold				};
3807e1acc8bSStephan Gerhold
3817e1acc8bSStephan Gerhold				rpmpd: power-controller {
3827e1acc8bSStephan Gerhold					compatible = "qcom,sdm660-rpmpd";
3837e1acc8bSStephan Gerhold					#power-domain-cells = <1>;
3847e1acc8bSStephan Gerhold					operating-points-v2 = <&rpmpd_opp_table>;
3857e1acc8bSStephan Gerhold
3867e1acc8bSStephan Gerhold					rpmpd_opp_table: opp-table {
3877e1acc8bSStephan Gerhold						compatible = "operating-points-v2";
3887e1acc8bSStephan Gerhold
3897e1acc8bSStephan Gerhold						rpmpd_opp_ret: opp1 {
3907e1acc8bSStephan Gerhold							opp-level = <RPM_SMD_LEVEL_RETENTION>;
3917e1acc8bSStephan Gerhold						};
3927e1acc8bSStephan Gerhold
3937e1acc8bSStephan Gerhold						rpmpd_opp_ret_plus: opp2 {
3947e1acc8bSStephan Gerhold							opp-level = <RPM_SMD_LEVEL_RETENTION_PLUS>;
3957e1acc8bSStephan Gerhold						};
3967e1acc8bSStephan Gerhold
3977e1acc8bSStephan Gerhold						rpmpd_opp_min_svs: opp3 {
3987e1acc8bSStephan Gerhold							opp-level = <RPM_SMD_LEVEL_MIN_SVS>;
3997e1acc8bSStephan Gerhold						};
4007e1acc8bSStephan Gerhold
4017e1acc8bSStephan Gerhold						rpmpd_opp_low_svs: opp4 {
4027e1acc8bSStephan Gerhold							opp-level = <RPM_SMD_LEVEL_LOW_SVS>;
4037e1acc8bSStephan Gerhold						};
4047e1acc8bSStephan Gerhold
4057e1acc8bSStephan Gerhold						rpmpd_opp_svs: opp5 {
4067e1acc8bSStephan Gerhold							opp-level = <RPM_SMD_LEVEL_SVS>;
4077e1acc8bSStephan Gerhold						};
4087e1acc8bSStephan Gerhold
4097e1acc8bSStephan Gerhold						rpmpd_opp_svs_plus: opp6 {
4107e1acc8bSStephan Gerhold							opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
4117e1acc8bSStephan Gerhold						};
4127e1acc8bSStephan Gerhold
4137e1acc8bSStephan Gerhold						rpmpd_opp_nom: opp7 {
4147e1acc8bSStephan Gerhold							opp-level = <RPM_SMD_LEVEL_NOM>;
4157e1acc8bSStephan Gerhold						};
4167e1acc8bSStephan Gerhold
4177e1acc8bSStephan Gerhold						rpmpd_opp_nom_plus: opp8 {
4187e1acc8bSStephan Gerhold							opp-level = <RPM_SMD_LEVEL_NOM_PLUS>;
4197e1acc8bSStephan Gerhold						};
4207e1acc8bSStephan Gerhold
4217e1acc8bSStephan Gerhold						rpmpd_opp_turbo: opp9 {
4227e1acc8bSStephan Gerhold							opp-level = <RPM_SMD_LEVEL_TURBO>;
4237e1acc8bSStephan Gerhold						};
4247e1acc8bSStephan Gerhold					};
4257e1acc8bSStephan Gerhold				};
4267e1acc8bSStephan Gerhold			};
4277e1acc8bSStephan Gerhold		};
4287e1acc8bSStephan Gerhold	};
4297e1acc8bSStephan Gerhold
430b190fb01SKonrad Dybcio	reserved-memory {
431b190fb01SKonrad Dybcio		#address-cells = <2>;
432b190fb01SKonrad Dybcio		#size-cells = <2>;
433b190fb01SKonrad Dybcio		ranges;
434b190fb01SKonrad Dybcio
435b190fb01SKonrad Dybcio		wlan_msa_guard: wlan-msa-guard@85600000 {
436b190fb01SKonrad Dybcio			reg = <0x0 0x85600000 0x0 0x100000>;
437b190fb01SKonrad Dybcio			no-map;
438b190fb01SKonrad Dybcio		};
439b190fb01SKonrad Dybcio
440b190fb01SKonrad Dybcio		wlan_msa_mem: wlan-msa-mem@85700000 {
441b190fb01SKonrad Dybcio			reg = <0x0 0x85700000 0x0 0x100000>;
442b190fb01SKonrad Dybcio			no-map;
443b190fb01SKonrad Dybcio		};
444b190fb01SKonrad Dybcio
445b190fb01SKonrad Dybcio		qhee_code: qhee-code@85800000 {
44626e02c98SAngeloGioacchino Del Regno			reg = <0x0 0x85800000 0x0 0x600000>;
447b190fb01SKonrad Dybcio			no-map;
448b190fb01SKonrad Dybcio		};
449b190fb01SKonrad Dybcio
45026e02c98SAngeloGioacchino Del Regno		rmtfs_mem: memory@85e00000 {
45126e02c98SAngeloGioacchino Del Regno			compatible = "qcom,rmtfs-mem";
45226e02c98SAngeloGioacchino Del Regno			reg = <0x0 0x85e00000 0x0 0x200000>;
45326e02c98SAngeloGioacchino Del Regno			no-map;
45426e02c98SAngeloGioacchino Del Regno
45526e02c98SAngeloGioacchino Del Regno			qcom,client-id = <1>;
45626e02c98SAngeloGioacchino Del Regno			qcom,vmid = <15>;
45726e02c98SAngeloGioacchino Del Regno		};
45826e02c98SAngeloGioacchino Del Regno
459b190fb01SKonrad Dybcio		smem_region: smem-mem@86000000 {
460b190fb01SKonrad Dybcio			reg = <0 0x86000000 0 0x200000>;
461b190fb01SKonrad Dybcio			no-map;
462b190fb01SKonrad Dybcio		};
463b190fb01SKonrad Dybcio
464b190fb01SKonrad Dybcio		tz_mem: memory@86200000 {
465b190fb01SKonrad Dybcio			reg = <0x0 0x86200000 0x0 0x3300000>;
466b190fb01SKonrad Dybcio			no-map;
467b190fb01SKonrad Dybcio		};
468b190fb01SKonrad Dybcio
46926e02c98SAngeloGioacchino Del Regno		mpss_region: mpss@8ac00000 {
470b190fb01SKonrad Dybcio			reg = <0x0 0x8ac00000 0x0 0x7e00000>;
471b190fb01SKonrad Dybcio			no-map;
472b190fb01SKonrad Dybcio		};
473b190fb01SKonrad Dybcio
47426e02c98SAngeloGioacchino Del Regno		adsp_region: adsp@92a00000 {
475b190fb01SKonrad Dybcio			reg = <0x0 0x92a00000 0x0 0x1e00000>;
476b190fb01SKonrad Dybcio			no-map;
477b190fb01SKonrad Dybcio		};
478b190fb01SKonrad Dybcio
47926e02c98SAngeloGioacchino Del Regno		mba_region: mba@94800000 {
480b190fb01SKonrad Dybcio			reg = <0x0 0x94800000 0x0 0x200000>;
481b190fb01SKonrad Dybcio			no-map;
482b190fb01SKonrad Dybcio		};
483b190fb01SKonrad Dybcio
48426e02c98SAngeloGioacchino Del Regno		buffer_mem: tzbuffer@94a00000 {
485b190fb01SKonrad Dybcio			reg = <0x0 0x94a00000 0x0 0x100000>;
486b190fb01SKonrad Dybcio			no-map;
487b190fb01SKonrad Dybcio		};
488b190fb01SKonrad Dybcio
48926e02c98SAngeloGioacchino Del Regno		venus_region: venus@9f800000 {
490b190fb01SKonrad Dybcio			reg = <0x0 0x9f800000 0x0 0x800000>;
491b190fb01SKonrad Dybcio			no-map;
492b190fb01SKonrad Dybcio		};
493b190fb01SKonrad Dybcio
494b190fb01SKonrad Dybcio		adsp_mem: adsp-region@f6000000 {
495b190fb01SKonrad Dybcio			reg = <0x0 0xf6000000 0x0 0x800000>;
496b190fb01SKonrad Dybcio			no-map;
497b190fb01SKonrad Dybcio		};
498b190fb01SKonrad Dybcio
499b190fb01SKonrad Dybcio		qseecom_mem: qseecom-region@f6800000 {
500b190fb01SKonrad Dybcio			reg = <0x0 0xf6800000 0x0 0x1400000>;
501b190fb01SKonrad Dybcio			no-map;
502b190fb01SKonrad Dybcio		};
503b190fb01SKonrad Dybcio
50426e02c98SAngeloGioacchino Del Regno		zap_shader_region: gpu@fed00000 {
50526e02c98SAngeloGioacchino Del Regno			compatible = "shared-dma-pool";
50626e02c98SAngeloGioacchino Del Regno			reg = <0x0 0xfed00000 0x0 0xa00000>;
507b190fb01SKonrad Dybcio			no-map;
508b190fb01SKonrad Dybcio		};
509b190fb01SKonrad Dybcio	};
510b190fb01SKonrad Dybcio
511b190fb01SKonrad Dybcio	smem: smem {
512b190fb01SKonrad Dybcio		compatible = "qcom,smem";
513b190fb01SKonrad Dybcio		memory-region = <&smem_region>;
514b190fb01SKonrad Dybcio		hwlocks = <&tcsr_mutex 3>;
515b190fb01SKonrad Dybcio	};
516b190fb01SKonrad Dybcio
517c8236767SKonrad Dybcio	smp2p-adsp {
518c8236767SKonrad Dybcio		compatible = "qcom,smp2p";
519c8236767SKonrad Dybcio		qcom,smem = <443>, <429>;
520c8236767SKonrad Dybcio		interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
521c8236767SKonrad Dybcio		mboxes = <&apcs_glb 10>;
522c8236767SKonrad Dybcio		qcom,local-pid = <0>;
523c8236767SKonrad Dybcio		qcom,remote-pid = <2>;
524c8236767SKonrad Dybcio
525c8236767SKonrad Dybcio		adsp_smp2p_out: master-kernel {
526c8236767SKonrad Dybcio			qcom,entry-name = "master-kernel";
527c8236767SKonrad Dybcio			#qcom,smem-state-cells = <1>;
528c8236767SKonrad Dybcio		};
529c8236767SKonrad Dybcio
530c8236767SKonrad Dybcio		adsp_smp2p_in: slave-kernel {
531c8236767SKonrad Dybcio			qcom,entry-name = "slave-kernel";
532c8236767SKonrad Dybcio			interrupt-controller;
533c8236767SKonrad Dybcio			#interrupt-cells = <2>;
534c8236767SKonrad Dybcio		};
535c8236767SKonrad Dybcio	};
536c8236767SKonrad Dybcio
537c8236767SKonrad Dybcio	smp2p-mpss {
538c8236767SKonrad Dybcio		compatible = "qcom,smp2p";
539c8236767SKonrad Dybcio		qcom,smem = <435>, <428>;
540c8236767SKonrad Dybcio		interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
541c8236767SKonrad Dybcio		mboxes = <&apcs_glb 14>;
542c8236767SKonrad Dybcio		qcom,local-pid = <0>;
543c8236767SKonrad Dybcio		qcom,remote-pid = <1>;
544c8236767SKonrad Dybcio
545c8236767SKonrad Dybcio		modem_smp2p_out: master-kernel {
546c8236767SKonrad Dybcio			qcom,entry-name = "master-kernel";
547c8236767SKonrad Dybcio			#qcom,smem-state-cells = <1>;
548c8236767SKonrad Dybcio		};
549c8236767SKonrad Dybcio
550c8236767SKonrad Dybcio		modem_smp2p_in: slave-kernel {
551c8236767SKonrad Dybcio			qcom,entry-name = "slave-kernel";
552c8236767SKonrad Dybcio			interrupt-controller;
553c8236767SKonrad Dybcio			#interrupt-cells = <2>;
554c8236767SKonrad Dybcio		};
555c8236767SKonrad Dybcio	};
556c8236767SKonrad Dybcio
557cefb4077SKrzysztof Kozlowski	soc@0 {
558b190fb01SKonrad Dybcio		#address-cells = <1>;
559b190fb01SKonrad Dybcio		#size-cells = <1>;
560b190fb01SKonrad Dybcio		ranges = <0 0 0 0xffffffff>;
561b190fb01SKonrad Dybcio		compatible = "simple-bus";
562b190fb01SKonrad Dybcio
563b190fb01SKonrad Dybcio		gcc: clock-controller@100000 {
564b190fb01SKonrad Dybcio			compatible = "qcom,gcc-sdm630";
565b190fb01SKonrad Dybcio			#clock-cells = <1>;
566b190fb01SKonrad Dybcio			#reset-cells = <1>;
567b190fb01SKonrad Dybcio			#power-domain-cells = <1>;
568b190fb01SKonrad Dybcio			reg = <0x00100000 0x94000>;
569b190fb01SKonrad Dybcio
570b190fb01SKonrad Dybcio			clock-names = "xo", "sleep_clk";
571b190fb01SKonrad Dybcio			clocks = <&xo_board>,
572b190fb01SKonrad Dybcio					<&sleep_clk>;
573b190fb01SKonrad Dybcio		};
574b190fb01SKonrad Dybcio
575179811beSStephan Gerhold		rpm_msg_ram: sram@778000 {
576b190fb01SKonrad Dybcio			compatible = "qcom,rpm-msg-ram";
577b190fb01SKonrad Dybcio			reg = <0x00778000 0x7000>;
578b190fb01SKonrad Dybcio		};
579b190fb01SKonrad Dybcio
580b190fb01SKonrad Dybcio		qfprom: qfprom@780000 {
581b2eab35bSKrzysztof Kozlowski			compatible = "qcom,sdm630-qfprom", "qcom,qfprom";
582b190fb01SKonrad Dybcio			reg = <0x00780000 0x621c>;
583b190fb01SKonrad Dybcio			#address-cells = <1>;
584b190fb01SKonrad Dybcio			#size-cells = <1>;
585142662f8SAngeloGioacchino Del Regno
586142662f8SAngeloGioacchino Del Regno			qusb2_hstx_trim: hstx-trim@240 {
58774b0fbd6SKrzysztof Kozlowski				reg = <0x243 0x1>;
58874b0fbd6SKrzysztof Kozlowski				bits = <1 3>;
589142662f8SAngeloGioacchino Del Regno			};
590142662f8SAngeloGioacchino Del Regno
591142662f8SAngeloGioacchino Del Regno			gpu_speed_bin: gpu-speed-bin@41a0 {
59274b0fbd6SKrzysztof Kozlowski				reg = <0x41a2 0x1>;
59374b0fbd6SKrzysztof Kozlowski				bits = <5 7>;
594142662f8SAngeloGioacchino Del Regno			};
595b190fb01SKonrad Dybcio		};
596b190fb01SKonrad Dybcio
597b190fb01SKonrad Dybcio		rng: rng@793000 {
598b190fb01SKonrad Dybcio			compatible = "qcom,prng-ee";
599b190fb01SKonrad Dybcio			reg = <0x00793000 0x1000>;
600b190fb01SKonrad Dybcio			clocks = <&gcc GCC_PRNG_AHB_CLK>;
601b190fb01SKonrad Dybcio			clock-names = "core";
602b190fb01SKonrad Dybcio		};
603b190fb01SKonrad Dybcio
604045547a0SKonrad Dybcio		bimc: interconnect@1008000 {
605045547a0SKonrad Dybcio			compatible = "qcom,sdm660-bimc";
606045547a0SKonrad Dybcio			reg = <0x01008000 0x78000>;
607045547a0SKonrad Dybcio			#interconnect-cells = <1>;
608045547a0SKonrad Dybcio			clock-names = "bus", "bus_a";
609045547a0SKonrad Dybcio			clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
610045547a0SKonrad Dybcio				 <&rpmcc RPM_SMD_BIMC_A_CLK>;
611045547a0SKonrad Dybcio		};
612045547a0SKonrad Dybcio
613b190fb01SKonrad Dybcio		restart@10ac000 {
614b190fb01SKonrad Dybcio			compatible = "qcom,pshold";
615b190fb01SKonrad Dybcio			reg = <0x010ac000 0x4>;
616b190fb01SKonrad Dybcio		};
617b190fb01SKonrad Dybcio
618045547a0SKonrad Dybcio		cnoc: interconnect@1500000 {
619045547a0SKonrad Dybcio			compatible = "qcom,sdm660-cnoc";
620045547a0SKonrad Dybcio			reg = <0x01500000 0x10000>;
621045547a0SKonrad Dybcio			#interconnect-cells = <1>;
622045547a0SKonrad Dybcio			clock-names = "bus", "bus_a";
623045547a0SKonrad Dybcio			clocks = <&rpmcc RPM_SMD_CNOC_CLK>,
624045547a0SKonrad Dybcio				 <&rpmcc RPM_SMD_CNOC_A_CLK>;
625045547a0SKonrad Dybcio		};
626045547a0SKonrad Dybcio
627045547a0SKonrad Dybcio		snoc: interconnect@1626000 {
628045547a0SKonrad Dybcio			compatible = "qcom,sdm660-snoc";
629045547a0SKonrad Dybcio			reg = <0x01626000 0x7090>;
630045547a0SKonrad Dybcio			#interconnect-cells = <1>;
631045547a0SKonrad Dybcio			clock-names = "bus", "bus_a";
632045547a0SKonrad Dybcio			clocks = <&rpmcc RPM_SMD_SNOC_CLK>,
633045547a0SKonrad Dybcio				 <&rpmcc RPM_SMD_SNOC_A_CLK>;
634045547a0SKonrad Dybcio		};
635045547a0SKonrad Dybcio
636b190fb01SKonrad Dybcio		anoc2_smmu: iommu@16c0000 {
637b190fb01SKonrad Dybcio			compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2";
638b190fb01SKonrad Dybcio			reg = <0x016c0000 0x40000>;
6396bb717feSAngeloGioacchino Del Regno
6406bb717feSAngeloGioacchino Del Regno			assigned-clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>;
6416bb717feSAngeloGioacchino Del Regno			assigned-clock-rates = <1000>;
6426bb717feSAngeloGioacchino Del Regno			clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>;
6436bb717feSAngeloGioacchino Del Regno			clock-names = "bus";
6446bb717feSAngeloGioacchino Del Regno			#global-interrupts = <2>;
645b190fb01SKonrad Dybcio			#iommu-cells = <1>;
646b190fb01SKonrad Dybcio
647b190fb01SKonrad Dybcio			interrupts =
648b190fb01SKonrad Dybcio				<GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
649b190fb01SKonrad Dybcio				<GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
650b190fb01SKonrad Dybcio
651b190fb01SKonrad Dybcio				<GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>,
652b190fb01SKonrad Dybcio				<GIC_SPI 374 IRQ_TYPE_LEVEL_LOW>,
653b190fb01SKonrad Dybcio				<GIC_SPI 375 IRQ_TYPE_LEVEL_LOW>,
654b190fb01SKonrad Dybcio				<GIC_SPI 376 IRQ_TYPE_LEVEL_LOW>,
655b190fb01SKonrad Dybcio				<GIC_SPI 377 IRQ_TYPE_LEVEL_LOW>,
656b190fb01SKonrad Dybcio				<GIC_SPI 378 IRQ_TYPE_LEVEL_LOW>,
657b190fb01SKonrad Dybcio				<GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH>,
658b190fb01SKonrad Dybcio				<GIC_SPI 463 IRQ_TYPE_LEVEL_HIGH>,
659b190fb01SKonrad Dybcio				<GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
660b190fb01SKonrad Dybcio				<GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
661b190fb01SKonrad Dybcio				<GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
662b190fb01SKonrad Dybcio				<GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
663b190fb01SKonrad Dybcio				<GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>,
664b190fb01SKonrad Dybcio				<GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>,
665b190fb01SKonrad Dybcio				<GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>,
666b190fb01SKonrad Dybcio				<GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>,
667b190fb01SKonrad Dybcio				<GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>,
668b190fb01SKonrad Dybcio				<GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>,
669b190fb01SKonrad Dybcio				<GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
670b190fb01SKonrad Dybcio				<GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
671b190fb01SKonrad Dybcio				<GIC_SPI 442 IRQ_TYPE_LEVEL_HIGH>,
672b190fb01SKonrad Dybcio				<GIC_SPI 443 IRQ_TYPE_LEVEL_HIGH>,
673b190fb01SKonrad Dybcio				<GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>,
674b190fb01SKonrad Dybcio				<GIC_SPI 447 IRQ_TYPE_LEVEL_HIGH>,
675b190fb01SKonrad Dybcio				<GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
676b190fb01SKonrad Dybcio				<GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>,
677b190fb01SKonrad Dybcio				<GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH>,
678b190fb01SKonrad Dybcio				<GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH>,
679b190fb01SKonrad Dybcio				<GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>;
680326407d2SKonrad Dybcio
681326407d2SKonrad Dybcio			status = "disabled";
682b190fb01SKonrad Dybcio		};
683b190fb01SKonrad Dybcio
684045547a0SKonrad Dybcio		a2noc: interconnect@1704000 {
685045547a0SKonrad Dybcio			compatible = "qcom,sdm660-a2noc";
686045547a0SKonrad Dybcio			reg = <0x01704000 0xc100>;
687045547a0SKonrad Dybcio			#interconnect-cells = <1>;
6881878f4b7SShawn Guo			clock-names = "bus",
6891878f4b7SShawn Guo				      "bus_a",
6901878f4b7SShawn Guo				      "ipa",
6911878f4b7SShawn Guo				      "ufs_axi",
6921878f4b7SShawn Guo				      "aggre2_ufs_axi",
6931878f4b7SShawn Guo				      "aggre2_usb3_axi",
6941878f4b7SShawn Guo				      "cfg_noc_usb2_axi";
695045547a0SKonrad Dybcio			clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>,
6961878f4b7SShawn Guo				 <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>,
6971878f4b7SShawn Guo				 <&rpmcc RPM_SMD_IPA_CLK>,
6981878f4b7SShawn Guo				 <&gcc GCC_UFS_AXI_CLK>,
6991878f4b7SShawn Guo				 <&gcc GCC_AGGRE2_UFS_AXI_CLK>,
7001878f4b7SShawn Guo				 <&gcc GCC_AGGRE2_USB3_AXI_CLK>,
7011878f4b7SShawn Guo				 <&gcc GCC_CFG_NOC_USB2_AXI_CLK>;
702045547a0SKonrad Dybcio		};
703045547a0SKonrad Dybcio
704045547a0SKonrad Dybcio		mnoc: interconnect@1745000 {
705045547a0SKonrad Dybcio			compatible = "qcom,sdm660-mnoc";
70654426328SKonrad Dybcio			reg = <0x01745000 0xa010>;
707045547a0SKonrad Dybcio			#interconnect-cells = <1>;
708045547a0SKonrad Dybcio			clock-names = "bus", "bus_a", "iface";
709045547a0SKonrad Dybcio			clocks = <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK>,
710045547a0SKonrad Dybcio				 <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK_A>,
711045547a0SKonrad Dybcio				 <&mmcc AHB_CLK_SRC>;
712045547a0SKonrad Dybcio		};
713045547a0SKonrad Dybcio
7147c54b82bSKonrad Dybcio		tsens: thermal-sensor@10ae000 {
7157c54b82bSKonrad Dybcio			compatible = "qcom,sdm630-tsens", "qcom,tsens-v2";
7167c54b82bSKonrad Dybcio			reg = <0x010ae000 0x1000>, /* TM */
7177c54b82bSKonrad Dybcio				  <0x010ad000 0x1000>; /* SROT */
7187c54b82bSKonrad Dybcio			#qcom,sensors = <12>;
7197c54b82bSKonrad Dybcio			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
7207c54b82bSKonrad Dybcio					 <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>;
7217c54b82bSKonrad Dybcio			interrupt-names = "uplow", "critical";
7227c54b82bSKonrad Dybcio			#thermal-sensor-cells = <1>;
7237c54b82bSKonrad Dybcio		};
7247c54b82bSKonrad Dybcio
725a4c82270SKrzysztof Kozlowski		tcsr_mutex: hwlock@1f40000 {
726a4c82270SKrzysztof Kozlowski			compatible = "qcom,tcsr-mutex";
7270da60338SKrzysztof Kozlowski			reg = <0x01f40000 0x20000>;
728a4c82270SKrzysztof Kozlowski			#hwlock-cells = <1>;
7290da60338SKrzysztof Kozlowski		};
7300da60338SKrzysztof Kozlowski
731d0909bf4SJohan Hovold		tcsr_regs_1: syscon@1f60000 {
7320da60338SKrzysztof Kozlowski			compatible = "qcom,sdm630-tcsr", "syscon";
7330da60338SKrzysztof Kozlowski			reg = <0x01f60000 0x20000>;
734b190fb01SKonrad Dybcio		};
735b190fb01SKonrad Dybcio
73636a0d47aSAngeloGioacchino Del Regno		tlmm: pinctrl@3100000 {
737b190fb01SKonrad Dybcio			compatible = "qcom,sdm630-pinctrl";
73836a0d47aSAngeloGioacchino Del Regno			reg = <0x03100000 0x400000>,
73936a0d47aSAngeloGioacchino Del Regno				  <0x03500000 0x400000>,
74036a0d47aSAngeloGioacchino Del Regno				  <0x03900000 0x400000>;
74136a0d47aSAngeloGioacchino Del Regno			reg-names = "south", "center", "north";
742b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
743b190fb01SKonrad Dybcio			gpio-controller;
74436a0d47aSAngeloGioacchino Del Regno			gpio-ranges = <&tlmm 0 0 114>;
74536a0d47aSAngeloGioacchino Del Regno			#gpio-cells = <2>;
746b190fb01SKonrad Dybcio			interrupt-controller;
74736a0d47aSAngeloGioacchino Del Regno			#interrupt-cells = <2>;
748b190fb01SKonrad Dybcio
749048a765aSKrzysztof Kozlowski			blsp1_uart1_default: blsp1-uart1-default-state {
750b190fb01SKonrad Dybcio				pins = "gpio0", "gpio1", "gpio2", "gpio3";
751804ec4daSKrzysztof Kozlowski				function = "blsp_uart1";
752b190fb01SKonrad Dybcio				drive-strength = <2>;
753b190fb01SKonrad Dybcio				bias-disable;
754b190fb01SKonrad Dybcio			};
755b190fb01SKonrad Dybcio
756048a765aSKrzysztof Kozlowski			blsp1_uart1_sleep: blsp1-uart1-sleep-state {
757b190fb01SKonrad Dybcio				pins = "gpio0", "gpio1", "gpio2", "gpio3";
758048a765aSKrzysztof Kozlowski				function = "gpio";
759b190fb01SKonrad Dybcio				drive-strength = <2>;
760b190fb01SKonrad Dybcio				bias-disable;
761b190fb01SKonrad Dybcio			};
762b190fb01SKonrad Dybcio
763048a765aSKrzysztof Kozlowski			blsp1_uart2_default: blsp1-uart2-default-state {
764b190fb01SKonrad Dybcio				pins = "gpio4", "gpio5";
765804ec4daSKrzysztof Kozlowski				function = "blsp_uart2";
766b190fb01SKonrad Dybcio				drive-strength = <2>;
767b190fb01SKonrad Dybcio				bias-disable;
768b190fb01SKonrad Dybcio			};
769b190fb01SKonrad Dybcio
770048a765aSKrzysztof Kozlowski			blsp2_uart1_default: blsp2-uart1-active-state {
771048a765aSKrzysztof Kozlowski				tx-rts-pins {
77236a0d47aSAngeloGioacchino Del Regno					pins = "gpio16", "gpio19";
77336a0d47aSAngeloGioacchino Del Regno					function = "blsp_uart5";
774b190fb01SKonrad Dybcio					drive-strength = <2>;
775b190fb01SKonrad Dybcio					bias-disable;
776b190fb01SKonrad Dybcio				};
777b190fb01SKonrad Dybcio
778048a765aSKrzysztof Kozlowski				rx-pins {
77936a0d47aSAngeloGioacchino Del Regno					/*
78036a0d47aSAngeloGioacchino Del Regno					 * Avoid garbage data while BT module
78136a0d47aSAngeloGioacchino Del Regno					 * is powered off or not driving signal
78236a0d47aSAngeloGioacchino Del Regno					 */
78336a0d47aSAngeloGioacchino Del Regno					pins = "gpio17";
78436a0d47aSAngeloGioacchino Del Regno					function = "blsp_uart5";
785b190fb01SKonrad Dybcio					drive-strength = <2>;
786b190fb01SKonrad Dybcio					bias-pull-up;
787b190fb01SKonrad Dybcio				};
788b190fb01SKonrad Dybcio
789048a765aSKrzysztof Kozlowski				cts-pins {
79036a0d47aSAngeloGioacchino Del Regno					/* Match the pull of the BT module */
79136a0d47aSAngeloGioacchino Del Regno					pins = "gpio18";
79236a0d47aSAngeloGioacchino Del Regno					function = "blsp_uart5";
793b190fb01SKonrad Dybcio					drive-strength = <2>;
79436a0d47aSAngeloGioacchino Del Regno					bias-pull-down;
79536a0d47aSAngeloGioacchino Del Regno				};
796b190fb01SKonrad Dybcio			};
797b190fb01SKonrad Dybcio
798048a765aSKrzysztof Kozlowski			blsp2_uart1_sleep: blsp2-uart1-sleep-state {
799048a765aSKrzysztof Kozlowski				tx-pins {
80036a0d47aSAngeloGioacchino Del Regno					pins = "gpio16";
80136a0d47aSAngeloGioacchino Del Regno					function = "gpio";
80236a0d47aSAngeloGioacchino Del Regno					drive-strength = <2>;
80336a0d47aSAngeloGioacchino Del Regno					bias-pull-up;
80436a0d47aSAngeloGioacchino Del Regno				};
80536a0d47aSAngeloGioacchino Del Regno
806048a765aSKrzysztof Kozlowski				rx-cts-rts-pins {
80736a0d47aSAngeloGioacchino Del Regno					pins = "gpio17", "gpio18", "gpio19";
80836a0d47aSAngeloGioacchino Del Regno					function = "gpio";
809b190fb01SKonrad Dybcio					drive-strength = <2>;
810780f836fSKrzysztof Kozlowski					bias-disable;
811b190fb01SKonrad Dybcio				};
812b190fb01SKonrad Dybcio			};
813b190fb01SKonrad Dybcio
814048a765aSKrzysztof Kozlowski			i2c1_default: i2c1-default-state {
815b190fb01SKonrad Dybcio				pins = "gpio2", "gpio3";
816536f4428SKonrad Dybcio				function = "blsp_i2c1";
817b190fb01SKonrad Dybcio				drive-strength = <2>;
818b190fb01SKonrad Dybcio				bias-disable;
819b190fb01SKonrad Dybcio			};
820b190fb01SKonrad Dybcio
821048a765aSKrzysztof Kozlowski			i2c1_sleep: i2c1-sleep-state {
822b190fb01SKonrad Dybcio				pins = "gpio2", "gpio3";
823536f4428SKonrad Dybcio				function = "blsp_i2c1";
824b190fb01SKonrad Dybcio				drive-strength = <2>;
825b190fb01SKonrad Dybcio				bias-pull-up;
826b190fb01SKonrad Dybcio			};
827b190fb01SKonrad Dybcio
828048a765aSKrzysztof Kozlowski			i2c2_default: i2c2-default-state {
829b190fb01SKonrad Dybcio				pins = "gpio6", "gpio7";
830536f4428SKonrad Dybcio				function = "blsp_i2c2";
831b190fb01SKonrad Dybcio				drive-strength = <2>;
832b190fb01SKonrad Dybcio				bias-disable;
833b190fb01SKonrad Dybcio			};
834b190fb01SKonrad Dybcio
835048a765aSKrzysztof Kozlowski			i2c2_sleep: i2c2-sleep-state {
836b190fb01SKonrad Dybcio				pins = "gpio6", "gpio7";
837536f4428SKonrad Dybcio				function = "blsp_i2c2";
838b190fb01SKonrad Dybcio				drive-strength = <2>;
839b190fb01SKonrad Dybcio				bias-pull-up;
840b190fb01SKonrad Dybcio			};
841b190fb01SKonrad Dybcio
842048a765aSKrzysztof Kozlowski			i2c3_default: i2c3-default-state {
843b190fb01SKonrad Dybcio				pins = "gpio10", "gpio11";
844536f4428SKonrad Dybcio				function = "blsp_i2c3";
845b190fb01SKonrad Dybcio				drive-strength = <2>;
846b190fb01SKonrad Dybcio				bias-disable;
847b190fb01SKonrad Dybcio			};
848b190fb01SKonrad Dybcio
849048a765aSKrzysztof Kozlowski			i2c3_sleep: i2c3-sleep-state {
850b190fb01SKonrad Dybcio				pins = "gpio10", "gpio11";
851536f4428SKonrad Dybcio				function = "blsp_i2c3";
852b190fb01SKonrad Dybcio				drive-strength = <2>;
853b190fb01SKonrad Dybcio				bias-pull-up;
854b190fb01SKonrad Dybcio			};
855b190fb01SKonrad Dybcio
856048a765aSKrzysztof Kozlowski			i2c4_default: i2c4-default-state {
857b190fb01SKonrad Dybcio				pins = "gpio14", "gpio15";
858536f4428SKonrad Dybcio				function = "blsp_i2c4";
859b190fb01SKonrad Dybcio				drive-strength = <2>;
860b190fb01SKonrad Dybcio				bias-disable;
861b190fb01SKonrad Dybcio			};
862b190fb01SKonrad Dybcio
863048a765aSKrzysztof Kozlowski			i2c4_sleep: i2c4-sleep-state {
864b190fb01SKonrad Dybcio				pins = "gpio14", "gpio15";
865536f4428SKonrad Dybcio				function = "blsp_i2c4";
866b190fb01SKonrad Dybcio				drive-strength = <2>;
867b190fb01SKonrad Dybcio				bias-pull-up;
868b190fb01SKonrad Dybcio			};
869b190fb01SKonrad Dybcio
870048a765aSKrzysztof Kozlowski			i2c5_default: i2c5-default-state {
871b190fb01SKonrad Dybcio				pins = "gpio18", "gpio19";
872536f4428SKonrad Dybcio				function = "blsp_i2c5";
873b190fb01SKonrad Dybcio				drive-strength = <2>;
874b190fb01SKonrad Dybcio				bias-disable;
875b190fb01SKonrad Dybcio			};
876b190fb01SKonrad Dybcio
877048a765aSKrzysztof Kozlowski			i2c5_sleep: i2c5-sleep-state {
878b190fb01SKonrad Dybcio				pins = "gpio18", "gpio19";
879536f4428SKonrad Dybcio				function = "blsp_i2c5";
880b190fb01SKonrad Dybcio				drive-strength = <2>;
881b190fb01SKonrad Dybcio				bias-pull-up;
882b190fb01SKonrad Dybcio			};
883b190fb01SKonrad Dybcio
884048a765aSKrzysztof Kozlowski			i2c6_default: i2c6-default-state {
885b190fb01SKonrad Dybcio				pins = "gpio22", "gpio23";
886536f4428SKonrad Dybcio				function = "blsp_i2c6";
887b190fb01SKonrad Dybcio				drive-strength = <2>;
888b190fb01SKonrad Dybcio				bias-disable;
889b190fb01SKonrad Dybcio			};
890b190fb01SKonrad Dybcio
891048a765aSKrzysztof Kozlowski			i2c6_sleep: i2c6-sleep-state {
892b190fb01SKonrad Dybcio				pins = "gpio22", "gpio23";
893536f4428SKonrad Dybcio				function = "blsp_i2c6";
894b190fb01SKonrad Dybcio				drive-strength = <2>;
895b190fb01SKonrad Dybcio				bias-pull-up;
896b190fb01SKonrad Dybcio			};
897b190fb01SKonrad Dybcio
898048a765aSKrzysztof Kozlowski			i2c7_default: i2c7-default-state {
899b190fb01SKonrad Dybcio				pins = "gpio26", "gpio27";
900536f4428SKonrad Dybcio				function = "blsp_i2c7";
901b190fb01SKonrad Dybcio				drive-strength = <2>;
902b190fb01SKonrad Dybcio				bias-disable;
903b190fb01SKonrad Dybcio			};
904b190fb01SKonrad Dybcio
905048a765aSKrzysztof Kozlowski			i2c7_sleep: i2c7-sleep-state {
906b190fb01SKonrad Dybcio				pins = "gpio26", "gpio27";
907536f4428SKonrad Dybcio				function = "blsp_i2c7";
908b190fb01SKonrad Dybcio				drive-strength = <2>;
909b190fb01SKonrad Dybcio				bias-pull-up;
910b190fb01SKonrad Dybcio			};
911b190fb01SKonrad Dybcio
912048a765aSKrzysztof Kozlowski			i2c8_default: i2c8-default-state {
913b190fb01SKonrad Dybcio				pins = "gpio30", "gpio31";
91406783c3aSKrzysztof Kozlowski				function = "blsp_i2c8_a";
915b190fb01SKonrad Dybcio				drive-strength = <2>;
916b190fb01SKonrad Dybcio				bias-disable;
917b190fb01SKonrad Dybcio			};
918b190fb01SKonrad Dybcio
919048a765aSKrzysztof Kozlowski			i2c8_sleep: i2c8-sleep-state {
920b190fb01SKonrad Dybcio				pins = "gpio30", "gpio31";
92106783c3aSKrzysztof Kozlowski				function = "blsp_i2c8_a";
922b190fb01SKonrad Dybcio				drive-strength = <2>;
923b190fb01SKonrad Dybcio				bias-pull-up;
924b190fb01SKonrad Dybcio			};
925b190fb01SKonrad Dybcio
926048a765aSKrzysztof Kozlowski			cci0_default: cci0-default-state {
927f3d5d3ccSAngeloGioacchino Del Regno				pins = "gpio36","gpio37";
928f3d5d3ccSAngeloGioacchino Del Regno				function = "cci_i2c";
929f3d5d3ccSAngeloGioacchino Del Regno				bias-pull-up;
930f3d5d3ccSAngeloGioacchino Del Regno				drive-strength = <2>;
931f3d5d3ccSAngeloGioacchino Del Regno			};
932f3d5d3ccSAngeloGioacchino Del Regno
933048a765aSKrzysztof Kozlowski			cci1_default: cci1-default-state {
934f3d5d3ccSAngeloGioacchino Del Regno				pins = "gpio38","gpio39";
935f3d5d3ccSAngeloGioacchino Del Regno				function = "cci_i2c";
936f3d5d3ccSAngeloGioacchino Del Regno				bias-pull-up;
937f3d5d3ccSAngeloGioacchino Del Regno				drive-strength = <2>;
938f3d5d3ccSAngeloGioacchino Del Regno			};
939f3d5d3ccSAngeloGioacchino Del Regno
940048a765aSKrzysztof Kozlowski			sdc1_state_on: sdc1-on-state {
941048a765aSKrzysztof Kozlowski				clk-pins {
942b190fb01SKonrad Dybcio					pins = "sdc1_clk";
943b190fb01SKonrad Dybcio					bias-disable;
944b190fb01SKonrad Dybcio					drive-strength = <16>;
945b190fb01SKonrad Dybcio				};
946b190fb01SKonrad Dybcio
947048a765aSKrzysztof Kozlowski				cmd-pins {
948b190fb01SKonrad Dybcio					pins = "sdc1_cmd";
949b190fb01SKonrad Dybcio					bias-pull-up;
950b190fb01SKonrad Dybcio					drive-strength = <10>;
951b190fb01SKonrad Dybcio				};
952b190fb01SKonrad Dybcio
953048a765aSKrzysztof Kozlowski				data-pins {
95436a0d47aSAngeloGioacchino Del Regno					pins = "sdc1_data";
95536a0d47aSAngeloGioacchino Del Regno					bias-pull-up;
95636a0d47aSAngeloGioacchino Del Regno					drive-strength = <10>;
95736a0d47aSAngeloGioacchino Del Regno				};
95836a0d47aSAngeloGioacchino Del Regno
959048a765aSKrzysztof Kozlowski				rclk-pins {
96036a0d47aSAngeloGioacchino Del Regno					pins = "sdc1_rclk";
96136a0d47aSAngeloGioacchino Del Regno					bias-pull-down;
96236a0d47aSAngeloGioacchino Del Regno				};
96336a0d47aSAngeloGioacchino Del Regno			};
96436a0d47aSAngeloGioacchino Del Regno
965048a765aSKrzysztof Kozlowski			sdc1_state_off: sdc1-off-state {
966048a765aSKrzysztof Kozlowski				clk-pins {
96736a0d47aSAngeloGioacchino Del Regno					pins = "sdc1_clk";
96836a0d47aSAngeloGioacchino Del Regno					bias-disable;
96936a0d47aSAngeloGioacchino Del Regno					drive-strength = <2>;
97036a0d47aSAngeloGioacchino Del Regno				};
97136a0d47aSAngeloGioacchino Del Regno
972048a765aSKrzysztof Kozlowski				cmd-pins {
973b190fb01SKonrad Dybcio					pins = "sdc1_cmd";
974b190fb01SKonrad Dybcio					bias-pull-up;
975b190fb01SKonrad Dybcio					drive-strength = <2>;
976b190fb01SKonrad Dybcio				};
977b190fb01SKonrad Dybcio
978048a765aSKrzysztof Kozlowski				data-pins {
979b190fb01SKonrad Dybcio					pins = "sdc1_data";
980b190fb01SKonrad Dybcio					bias-pull-up;
981b190fb01SKonrad Dybcio					drive-strength = <2>;
982b190fb01SKonrad Dybcio				};
983b190fb01SKonrad Dybcio
984048a765aSKrzysztof Kozlowski				rclk-pins {
985b190fb01SKonrad Dybcio					pins = "sdc1_rclk";
986b190fb01SKonrad Dybcio					bias-pull-down;
987b190fb01SKonrad Dybcio				};
98836a0d47aSAngeloGioacchino Del Regno			};
989b190fb01SKonrad Dybcio
990048a765aSKrzysztof Kozlowski			sdc2_state_on: sdc2-on-state {
991048a765aSKrzysztof Kozlowski				clk-pins {
99236a0d47aSAngeloGioacchino Del Regno					pins = "sdc2_clk";
99336a0d47aSAngeloGioacchino Del Regno					bias-disable;
99436a0d47aSAngeloGioacchino Del Regno					drive-strength = <16>;
99536a0d47aSAngeloGioacchino Del Regno				};
99636a0d47aSAngeloGioacchino Del Regno
997048a765aSKrzysztof Kozlowski				cmd-pins {
99836a0d47aSAngeloGioacchino Del Regno					pins = "sdc2_cmd";
99936a0d47aSAngeloGioacchino Del Regno					bias-pull-up;
100036a0d47aSAngeloGioacchino Del Regno					drive-strength = <10>;
100136a0d47aSAngeloGioacchino Del Regno				};
100236a0d47aSAngeloGioacchino Del Regno
1003048a765aSKrzysztof Kozlowski				data-pins {
100436a0d47aSAngeloGioacchino Del Regno					pins = "sdc2_data";
100536a0d47aSAngeloGioacchino Del Regno					bias-pull-up;
100636a0d47aSAngeloGioacchino Del Regno					drive-strength = <10>;
100736a0d47aSAngeloGioacchino Del Regno				};
100836a0d47aSAngeloGioacchino Del Regno			};
100936a0d47aSAngeloGioacchino Del Regno
1010048a765aSKrzysztof Kozlowski			sdc2_state_off: sdc2-off-state {
1011048a765aSKrzysztof Kozlowski				clk-pins {
101236a0d47aSAngeloGioacchino Del Regno					pins = "sdc2_clk";
101336a0d47aSAngeloGioacchino Del Regno					bias-disable;
101436a0d47aSAngeloGioacchino Del Regno					drive-strength = <2>;
101536a0d47aSAngeloGioacchino Del Regno				};
101636a0d47aSAngeloGioacchino Del Regno
1017048a765aSKrzysztof Kozlowski				cmd-pins {
101836a0d47aSAngeloGioacchino Del Regno					pins = "sdc2_cmd";
101936a0d47aSAngeloGioacchino Del Regno					bias-pull-up;
102036a0d47aSAngeloGioacchino Del Regno					drive-strength = <2>;
102136a0d47aSAngeloGioacchino Del Regno				};
102236a0d47aSAngeloGioacchino Del Regno
1023048a765aSKrzysztof Kozlowski				data-pins {
102436a0d47aSAngeloGioacchino Del Regno					pins = "sdc2_data";
102536a0d47aSAngeloGioacchino Del Regno					bias-pull-up;
102636a0d47aSAngeloGioacchino Del Regno					drive-strength = <2>;
102736a0d47aSAngeloGioacchino Del Regno				};
1028b190fb01SKonrad Dybcio			};
1029b190fb01SKonrad Dybcio		};
1030b190fb01SKonrad Dybcio
10315cf69dcbSAngeloGioacchino Del Regno		adreno_gpu: gpu@5000000 {
10325cf69dcbSAngeloGioacchino Del Regno			compatible = "qcom,adreno-508.0", "qcom,adreno";
10335cf69dcbSAngeloGioacchino Del Regno
10345cf69dcbSAngeloGioacchino Del Regno			reg = <0x05000000 0x40000>;
10355cf69dcbSAngeloGioacchino Del Regno			reg-names = "kgsl_3d0_reg_memory";
10365cf69dcbSAngeloGioacchino Del Regno
1037*b79663a5SKrzysztof Kozlowski			interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
10385cf69dcbSAngeloGioacchino Del Regno
10395cf69dcbSAngeloGioacchino Del Regno			clocks = <&gcc GCC_GPU_CFG_AHB_CLK>,
10405cf69dcbSAngeloGioacchino Del Regno				<&gpucc GPUCC_RBBMTIMER_CLK>,
10415cf69dcbSAngeloGioacchino Del Regno				<&gcc GCC_BIMC_GFX_CLK>,
10425cf69dcbSAngeloGioacchino Del Regno				<&gcc GCC_GPU_BIMC_GFX_CLK>,
10435cf69dcbSAngeloGioacchino Del Regno				<&gpucc GPUCC_RBCPR_CLK>,
10445cf69dcbSAngeloGioacchino Del Regno				<&gpucc GPUCC_GFX3D_CLK>;
10455cf69dcbSAngeloGioacchino Del Regno
10465cf69dcbSAngeloGioacchino Del Regno			clock-names = "iface",
10475cf69dcbSAngeloGioacchino Del Regno				"rbbmtimer",
10485cf69dcbSAngeloGioacchino Del Regno				"mem",
10495cf69dcbSAngeloGioacchino Del Regno				"mem_iface",
10505cf69dcbSAngeloGioacchino Del Regno				"rbcpr",
10515cf69dcbSAngeloGioacchino Del Regno				"core";
10525cf69dcbSAngeloGioacchino Del Regno
10535cf69dcbSAngeloGioacchino Del Regno			power-domains = <&rpmpd SDM660_VDDMX>;
10545cf69dcbSAngeloGioacchino Del Regno			iommus = <&kgsl_smmu 0>;
10555cf69dcbSAngeloGioacchino Del Regno
10565cf69dcbSAngeloGioacchino Del Regno			nvmem-cells = <&gpu_speed_bin>;
10575cf69dcbSAngeloGioacchino Del Regno			nvmem-cell-names = "speed_bin";
10585cf69dcbSAngeloGioacchino Del Regno
10593cd1c4f4SDmitry Baryshkov			interconnects = <&bimc MASTER_OXILI &bimc SLAVE_EBI>;
10605cf69dcbSAngeloGioacchino Del Regno			interconnect-names = "gfx-mem";
10615cf69dcbSAngeloGioacchino Del Regno
10625cf69dcbSAngeloGioacchino Del Regno			operating-points-v2 = <&gpu_sdm630_opp_table>;
10635cf69dcbSAngeloGioacchino Del Regno
10641c047919SDmitry Baryshkov			status = "disabled";
10651c047919SDmitry Baryshkov
10665cf69dcbSAngeloGioacchino Del Regno			gpu_sdm630_opp_table: opp-table {
10675cf69dcbSAngeloGioacchino Del Regno				compatible = "operating-points-v2";
10685cf69dcbSAngeloGioacchino Del Regno				opp-775000000 {
10695cf69dcbSAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <775000000>;
10705cf69dcbSAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_TURBO>;
10715cf69dcbSAngeloGioacchino Del Regno					opp-peak-kBps = <5412000>;
107254426328SKonrad Dybcio					opp-supported-hw = <0xa2>;
10735cf69dcbSAngeloGioacchino Del Regno				};
10745cf69dcbSAngeloGioacchino Del Regno				opp-647000000 {
10755cf69dcbSAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <647000000>;
10765cf69dcbSAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_NOM_PLUS>;
10775cf69dcbSAngeloGioacchino Del Regno					opp-peak-kBps = <4068000>;
107854426328SKonrad Dybcio					opp-supported-hw = <0xff>;
10795cf69dcbSAngeloGioacchino Del Regno				};
10805cf69dcbSAngeloGioacchino Del Regno				opp-588000000 {
10815cf69dcbSAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <588000000>;
10825cf69dcbSAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_NOM>;
10835cf69dcbSAngeloGioacchino Del Regno					opp-peak-kBps = <3072000>;
108454426328SKonrad Dybcio					opp-supported-hw = <0xff>;
10855cf69dcbSAngeloGioacchino Del Regno				};
10865cf69dcbSAngeloGioacchino Del Regno				opp-465000000 {
10875cf69dcbSAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <465000000>;
10885cf69dcbSAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
10895cf69dcbSAngeloGioacchino Del Regno					opp-peak-kBps = <2724000>;
109054426328SKonrad Dybcio					opp-supported-hw = <0xff>;
10915cf69dcbSAngeloGioacchino Del Regno				};
10925cf69dcbSAngeloGioacchino Del Regno				opp-370000000 {
10935cf69dcbSAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <370000000>;
10945cf69dcbSAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_SVS>;
10955cf69dcbSAngeloGioacchino Del Regno					opp-peak-kBps = <2188000>;
109654426328SKonrad Dybcio					opp-supported-hw = <0xff>;
10975cf69dcbSAngeloGioacchino Del Regno				};
10985cf69dcbSAngeloGioacchino Del Regno				opp-240000000 {
10995cf69dcbSAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <240000000>;
11005cf69dcbSAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_LOW_SVS>;
11015cf69dcbSAngeloGioacchino Del Regno					opp-peak-kBps = <1648000>;
110254426328SKonrad Dybcio					opp-supported-hw = <0xff>;
11035cf69dcbSAngeloGioacchino Del Regno				};
11045cf69dcbSAngeloGioacchino Del Regno				opp-160000000 {
11055cf69dcbSAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <160000000>;
11065cf69dcbSAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_MIN_SVS>;
11075cf69dcbSAngeloGioacchino Del Regno					opp-peak-kBps = <1200000>;
110854426328SKonrad Dybcio					opp-supported-hw = <0xff>;
11095cf69dcbSAngeloGioacchino Del Regno				};
11105cf69dcbSAngeloGioacchino Del Regno			};
11115cf69dcbSAngeloGioacchino Del Regno		};
11125cf69dcbSAngeloGioacchino Del Regno
1113b190fb01SKonrad Dybcio		kgsl_smmu: iommu@5040000 {
1114056d4ff8SAngeloGioacchino Del Regno			compatible = "qcom,sdm630-smmu-v2",
1115056d4ff8SAngeloGioacchino Del Regno				     "qcom,adreno-smmu", "qcom,smmu-v2";
1116b190fb01SKonrad Dybcio			reg = <0x05040000 0x10000>;
11176bb717feSAngeloGioacchino Del Regno
11186bb717feSAngeloGioacchino Del Regno			/*
11196bb717feSAngeloGioacchino Del Regno			 * GX GDSC parent is CX. We need to bring up CX for SMMU
11206bb717feSAngeloGioacchino Del Regno			 * but we need both up for Adreno. On the other hand, we
11216bb717feSAngeloGioacchino Del Regno			 * need to manage the GX rpmpd domain in the adreno driver.
11226bb717feSAngeloGioacchino Del Regno			 * Enable CX/GX GDSCs here so that we can manage just the GX
11236bb717feSAngeloGioacchino Del Regno			 * RPM Power Domain in the Adreno driver.
11246bb717feSAngeloGioacchino Del Regno			 */
11256bb717feSAngeloGioacchino Del Regno			power-domains = <&gpucc GPU_GX_GDSC>;
11266bb717feSAngeloGioacchino Del Regno			clocks = <&gcc GCC_GPU_CFG_AHB_CLK>,
11276bb717feSAngeloGioacchino Del Regno				 <&gcc GCC_BIMC_GFX_CLK>,
11286bb717feSAngeloGioacchino Del Regno				 <&gcc GCC_GPU_BIMC_GFX_CLK>;
11296bb717feSAngeloGioacchino Del Regno			clock-names = "iface", "mem", "mem_iface";
11306bb717feSAngeloGioacchino Del Regno			#global-interrupts = <2>;
1131b190fb01SKonrad Dybcio			#iommu-cells = <1>;
1132b190fb01SKonrad Dybcio
1133b190fb01SKonrad Dybcio			interrupts =
1134b190fb01SKonrad Dybcio				<GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
1135b190fb01SKonrad Dybcio				<GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
1136b190fb01SKonrad Dybcio
1137b190fb01SKonrad Dybcio				<GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
1138b190fb01SKonrad Dybcio				<GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
1139b190fb01SKonrad Dybcio				<GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
1140b190fb01SKonrad Dybcio				<GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
1141b190fb01SKonrad Dybcio				<GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1142b190fb01SKonrad Dybcio				<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1143b190fb01SKonrad Dybcio				<GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH>,
1144b190fb01SKonrad Dybcio				<GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>;
1145326407d2SKonrad Dybcio
1146326407d2SKonrad Dybcio			status = "disabled";
1147b190fb01SKonrad Dybcio		};
1148b190fb01SKonrad Dybcio
1149a64fa0e2SAngeloGioacchino Del Regno		gpucc: clock-controller@5065000 {
1150a64fa0e2SAngeloGioacchino Del Regno			compatible = "qcom,gpucc-sdm630";
1151a64fa0e2SAngeloGioacchino Del Regno			#clock-cells = <1>;
1152a64fa0e2SAngeloGioacchino Del Regno			#reset-cells = <1>;
1153a64fa0e2SAngeloGioacchino Del Regno			#power-domain-cells = <1>;
1154a64fa0e2SAngeloGioacchino Del Regno			reg = <0x05065000 0x9038>;
1155a64fa0e2SAngeloGioacchino Del Regno
1156a64fa0e2SAngeloGioacchino Del Regno			clocks = <&xo_board>,
1157a64fa0e2SAngeloGioacchino Del Regno				 <&gcc GCC_GPU_GPLL0_CLK>,
1158a64fa0e2SAngeloGioacchino Del Regno				 <&gcc GCC_GPU_GPLL0_DIV_CLK>;
1159a64fa0e2SAngeloGioacchino Del Regno			clock-names = "xo",
1160a64fa0e2SAngeloGioacchino Del Regno				      "gcc_gpu_gpll0_clk",
1161a64fa0e2SAngeloGioacchino Del Regno				      "gcc_gpu_gpll0_div_clk";
1162a64fa0e2SAngeloGioacchino Del Regno			status = "disabled";
1163a64fa0e2SAngeloGioacchino Del Regno		};
1164a64fa0e2SAngeloGioacchino Del Regno
1165b190fb01SKonrad Dybcio		lpass_smmu: iommu@5100000 {
1166b190fb01SKonrad Dybcio			compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2";
1167b190fb01SKonrad Dybcio			reg = <0x05100000 0x40000>;
1168b190fb01SKonrad Dybcio			#iommu-cells = <1>;
1169b190fb01SKonrad Dybcio
1170b190fb01SKonrad Dybcio			#global-interrupts = <2>;
1171b190fb01SKonrad Dybcio			interrupts =
1172b190fb01SKonrad Dybcio				<GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
1173b190fb01SKonrad Dybcio				<GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
1174b190fb01SKonrad Dybcio
1175b190fb01SKonrad Dybcio				<GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>,
1176b190fb01SKonrad Dybcio				<GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH>,
1177b190fb01SKonrad Dybcio				<GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>,
1178b190fb01SKonrad Dybcio				<GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
1179b190fb01SKonrad Dybcio				<GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
1180b190fb01SKonrad Dybcio				<GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
1181b190fb01SKonrad Dybcio				<GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
1182b190fb01SKonrad Dybcio				<GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
1183b190fb01SKonrad Dybcio				<GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
1184b190fb01SKonrad Dybcio				<GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
1185b190fb01SKonrad Dybcio				<GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
1186b190fb01SKonrad Dybcio				<GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
1187b190fb01SKonrad Dybcio				<GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
1188b190fb01SKonrad Dybcio				<GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>,
1189b190fb01SKonrad Dybcio				<GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>,
1190b190fb01SKonrad Dybcio				<GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
1191b190fb01SKonrad Dybcio				<GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>;
1192326407d2SKonrad Dybcio
1193326407d2SKonrad Dybcio			status = "disabled";
1194b190fb01SKonrad Dybcio		};
1195b190fb01SKonrad Dybcio
1196290bc684SMaulik Shah		sram@290000 {
1197290bc684SMaulik Shah			compatible = "qcom,rpm-stats";
1198290bc684SMaulik Shah			reg = <0x00290000 0x10000>;
1199290bc684SMaulik Shah		};
1200290bc684SMaulik Shah
1201b190fb01SKonrad Dybcio		spmi_bus: spmi@800f000 {
1202b190fb01SKonrad Dybcio			compatible = "qcom,spmi-pmic-arb";
1203b190fb01SKonrad Dybcio			reg = <0x0800f000 0x1000>,
1204b190fb01SKonrad Dybcio			      <0x08400000 0x1000000>,
1205b190fb01SKonrad Dybcio			      <0x09400000 0x1000000>,
1206b190fb01SKonrad Dybcio			      <0x0a400000 0x220000>,
1207b190fb01SKonrad Dybcio			      <0x0800a000 0x3000>;
1208b190fb01SKonrad Dybcio			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1209b190fb01SKonrad Dybcio			interrupt-names = "periph_irq";
1210b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
1211b190fb01SKonrad Dybcio			qcom,ee = <0>;
1212b190fb01SKonrad Dybcio			qcom,channel = <0>;
1213b190fb01SKonrad Dybcio			#address-cells = <2>;
1214b190fb01SKonrad Dybcio			#size-cells = <0>;
1215b190fb01SKonrad Dybcio			interrupt-controller;
1216b190fb01SKonrad Dybcio			#interrupt-cells = <4>;
1217b190fb01SKonrad Dybcio		};
1218b190fb01SKonrad Dybcio
1219c65a4ed2SKonrad Dybcio		usb3: usb@a8f8800 {
1220c65a4ed2SKonrad Dybcio			compatible = "qcom,sdm660-dwc3", "qcom,dwc3";
1221c65a4ed2SKonrad Dybcio			reg = <0x0a8f8800 0x400>;
1222c65a4ed2SKonrad Dybcio			status = "disabled";
1223c65a4ed2SKonrad Dybcio			#address-cells = <1>;
1224c65a4ed2SKonrad Dybcio			#size-cells = <1>;
1225c65a4ed2SKonrad Dybcio			ranges;
1226c65a4ed2SKonrad Dybcio
1227c65a4ed2SKonrad Dybcio			clocks = <&gcc GCC_CFG_NOC_USB3_AXI_CLK>,
1228c65a4ed2SKonrad Dybcio				 <&gcc GCC_USB30_MASTER_CLK>,
1229c65a4ed2SKonrad Dybcio				 <&gcc GCC_AGGRE2_USB3_AXI_CLK>,
12308d5fd4e4SKrzysztof Kozlowski				 <&gcc GCC_USB30_SLEEP_CLK>,
1231c65a4ed2SKonrad Dybcio				 <&gcc GCC_USB30_MOCK_UTMI_CLK>,
12328d5fd4e4SKrzysztof Kozlowski				 <&rpmcc RPM_SMD_AGGR2_NOC_CLK>;
12338d5fd4e4SKrzysztof Kozlowski			clock-names = "cfg_noc",
12348d5fd4e4SKrzysztof Kozlowski				      "core",
12358d5fd4e4SKrzysztof Kozlowski				      "iface",
12368d5fd4e4SKrzysztof Kozlowski				      "sleep",
12378d5fd4e4SKrzysztof Kozlowski				      "mock_utmi",
12388d5fd4e4SKrzysztof Kozlowski				      "bus";
1239c65a4ed2SKonrad Dybcio
1240c65a4ed2SKonrad Dybcio			assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
1241c65a4ed2SKonrad Dybcio					  <&gcc GCC_USB30_MASTER_CLK>,
1242c65a4ed2SKonrad Dybcio					  <&rpmcc RPM_SMD_AGGR2_NOC_CLK>;
1243c65a4ed2SKonrad Dybcio			assigned-clock-rates = <19200000>, <120000000>,
1244c65a4ed2SKonrad Dybcio					       <19200000>;
1245c65a4ed2SKonrad Dybcio
1246c65a4ed2SKonrad Dybcio			interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
1247c65a4ed2SKonrad Dybcio				     <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
1248c65a4ed2SKonrad Dybcio			interrupt-names = "hs_phy_irq", "ss_phy_irq";
1249c65a4ed2SKonrad Dybcio
1250c65a4ed2SKonrad Dybcio			power-domains = <&gcc USB_30_GDSC>;
1251c65a4ed2SKonrad Dybcio			qcom,select-utmi-as-pipe-clk;
1252c65a4ed2SKonrad Dybcio
1253c65a4ed2SKonrad Dybcio			resets = <&gcc GCC_USB_30_BCR>;
1254c65a4ed2SKonrad Dybcio
1255c65a4ed2SKonrad Dybcio			usb3_dwc3: usb@a800000 {
1256c65a4ed2SKonrad Dybcio				compatible = "snps,dwc3";
1257c65a4ed2SKonrad Dybcio				reg = <0x0a800000 0xc8d0>;
1258c65a4ed2SKonrad Dybcio				interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
1259c65a4ed2SKonrad Dybcio				snps,dis_u2_susphy_quirk;
1260c65a4ed2SKonrad Dybcio				snps,dis_enblslpm_quirk;
1261c65a4ed2SKonrad Dybcio
1262c65a4ed2SKonrad Dybcio				/*
1263c65a4ed2SKonrad Dybcio				 * SDM630 technically supports USB3 but I
1264c65a4ed2SKonrad Dybcio				 * haven't seen any devices making use of it.
1265c65a4ed2SKonrad Dybcio				 */
1266c65a4ed2SKonrad Dybcio				maximum-speed = "high-speed";
1267696dea7eSDmitry Baryshkov				phys = <&qusb2phy0>;
1268c65a4ed2SKonrad Dybcio				phy-names = "usb2-phy";
1269c65a4ed2SKonrad Dybcio				snps,hird-threshold = /bits/ 8 <0>;
1270c65a4ed2SKonrad Dybcio			};
1271c65a4ed2SKonrad Dybcio		};
1272c65a4ed2SKonrad Dybcio
1273696dea7eSDmitry Baryshkov		qusb2phy0: phy@c012000 {
1274c65a4ed2SKonrad Dybcio			compatible = "qcom,sdm660-qusb2-phy";
1275c65a4ed2SKonrad Dybcio			reg = <0x0c012000 0x180>;
1276c65a4ed2SKonrad Dybcio			#phy-cells = <0>;
1277c65a4ed2SKonrad Dybcio
1278c65a4ed2SKonrad Dybcio			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1279924bbd8dSDmitry Baryshkov				 <&gcc GCC_RX0_USB2_CLKREF_CLK>;
1280c65a4ed2SKonrad Dybcio			clock-names = "cfg_ahb", "ref";
1281c65a4ed2SKonrad Dybcio
1282c65a4ed2SKonrad Dybcio			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1283c65a4ed2SKonrad Dybcio			nvmem-cells = <&qusb2_hstx_trim>;
1284c65a4ed2SKonrad Dybcio			status = "disabled";
1285c65a4ed2SKonrad Dybcio		};
1286c65a4ed2SKonrad Dybcio
12878b6da22eSDmitry Baryshkov		qusb2phy1: phy@c014000 {
12888b6da22eSDmitry Baryshkov			compatible = "qcom,sdm660-qusb2-phy";
12898b6da22eSDmitry Baryshkov			reg = <0x0c014000 0x180>;
12908b6da22eSDmitry Baryshkov			#phy-cells = <0>;
12918b6da22eSDmitry Baryshkov
12928b6da22eSDmitry Baryshkov			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
12938b6da22eSDmitry Baryshkov				 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
12948b6da22eSDmitry Baryshkov			clock-names = "cfg_ahb", "ref";
12958b6da22eSDmitry Baryshkov
12968b6da22eSDmitry Baryshkov			resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
12978b6da22eSDmitry Baryshkov			nvmem-cells = <&qusb2_hstx_trim>;
12988b6da22eSDmitry Baryshkov			status = "disabled";
12998b6da22eSDmitry Baryshkov		};
13008b6da22eSDmitry Baryshkov
130196bb736fSBhupesh Sharma		sdhc_2: mmc@c084000 {
13020b700aa1SAngeloGioacchino Del Regno			compatible = "qcom,sdm630-sdhci", "qcom,sdhci-msm-v5";
13030b700aa1SAngeloGioacchino Del Regno			reg = <0x0c084000 0x1000>;
130421857088SDouglas Anderson			reg-names = "hc";
13050b700aa1SAngeloGioacchino Del Regno
13060b700aa1SAngeloGioacchino Del Regno			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
13070b700aa1SAngeloGioacchino Del Regno					<GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
13080b700aa1SAngeloGioacchino Del Regno			interrupt-names = "hc_irq", "pwr_irq";
13090b700aa1SAngeloGioacchino Del Regno
13100b700aa1SAngeloGioacchino Del Regno			bus-width = <4>;
13114ff12270SBhupesh Sharma
13124ff12270SBhupesh Sharma			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
13134ff12270SBhupesh Sharma					<&gcc GCC_SDCC2_APPS_CLK>,
13140b700aa1SAngeloGioacchino Del Regno					<&xo_board>;
13154ff12270SBhupesh Sharma			clock-names = "iface", "core", "xo";
13164ff12270SBhupesh Sharma
13170b700aa1SAngeloGioacchino Del Regno
13180b700aa1SAngeloGioacchino Del Regno			interconnects = <&a2noc 3 &a2noc 10>,
13190b700aa1SAngeloGioacchino Del Regno					<&gnoc 0 &cnoc 28>;
132040940823SBhupesh Sharma			interconnect-names = "sdhc-ddr","cpu-sdhc";
13210b700aa1SAngeloGioacchino Del Regno			operating-points-v2 = <&sdhc2_opp_table>;
13220b700aa1SAngeloGioacchino Del Regno
13230b700aa1SAngeloGioacchino Del Regno			pinctrl-names = "default", "sleep";
13240b700aa1SAngeloGioacchino Del Regno			pinctrl-0 = <&sdc2_state_on>;
13250b700aa1SAngeloGioacchino Del Regno			pinctrl-1 = <&sdc2_state_off>;
13260b700aa1SAngeloGioacchino Del Regno			power-domains = <&rpmpd SDM660_VDDCX>;
13270b700aa1SAngeloGioacchino Del Regno
13280b700aa1SAngeloGioacchino Del Regno			status = "disabled";
13290b700aa1SAngeloGioacchino Del Regno
13300b700aa1SAngeloGioacchino Del Regno			sdhc2_opp_table: opp-table {
13310b700aa1SAngeloGioacchino Del Regno				 compatible = "operating-points-v2";
13320b700aa1SAngeloGioacchino Del Regno
13330b700aa1SAngeloGioacchino Del Regno				 opp-50000000 {
13340b700aa1SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <50000000>;
13350b700aa1SAngeloGioacchino Del Regno					required-opps = <&rpmpd_opp_low_svs>;
13360b700aa1SAngeloGioacchino Del Regno					opp-peak-kBps = <200000 140000>;
13370b700aa1SAngeloGioacchino Del Regno					opp-avg-kBps = <130718 133320>;
13380b700aa1SAngeloGioacchino Del Regno				 };
13390b700aa1SAngeloGioacchino Del Regno				 opp-100000000 {
13400b700aa1SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <100000000>;
13410b700aa1SAngeloGioacchino Del Regno					required-opps = <&rpmpd_opp_svs>;
13420b700aa1SAngeloGioacchino Del Regno					opp-peak-kBps = <250000 160000>;
13430b700aa1SAngeloGioacchino Del Regno					opp-avg-kBps = <196078 150000>;
13440b700aa1SAngeloGioacchino Del Regno				 };
13450b700aa1SAngeloGioacchino Del Regno				 opp-200000000 {
13460b700aa1SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <200000000>;
13470b700aa1SAngeloGioacchino Del Regno					required-opps = <&rpmpd_opp_nom>;
13480b700aa1SAngeloGioacchino Del Regno					opp-peak-kBps = <4096000 4096000>;
13490b700aa1SAngeloGioacchino Del Regno					opp-avg-kBps = <1338562 1338562>;
13500b700aa1SAngeloGioacchino Del Regno				 };
13510b700aa1SAngeloGioacchino Del Regno			};
13520b700aa1SAngeloGioacchino Del Regno		};
13530b700aa1SAngeloGioacchino Del Regno
135496bb736fSBhupesh Sharma		sdhc_1: mmc@c0c4000 {
1355b190fb01SKonrad Dybcio			compatible = "qcom,sdm630-sdhci", "qcom,sdhci-msm-v5";
1356b190fb01SKonrad Dybcio			reg = <0x0c0c4000 0x1000>,
1357e49c2912SEric Biggers			      <0x0c0c5000 0x1000>,
1358e49c2912SEric Biggers			      <0x0c0c8000 0x8000>;
135921857088SDouglas Anderson			reg-names = "hc", "cqhci", "ice";
1360b190fb01SKonrad Dybcio
1361b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
1362b190fb01SKonrad Dybcio					<GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1363b190fb01SKonrad Dybcio			interrupt-names = "hc_irq", "pwr_irq";
1364b190fb01SKonrad Dybcio
13654ff12270SBhupesh Sharma			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
13664ff12270SBhupesh Sharma				 <&gcc GCC_SDCC1_APPS_CLK>,
1367e49c2912SEric Biggers				 <&xo_board>,
1368e49c2912SEric Biggers				 <&gcc GCC_SDCC1_ICE_CORE_CLK>;
13694ff12270SBhupesh Sharma			clock-names = "iface", "core", "xo", "ice";
1370b190fb01SKonrad Dybcio
1371738777abSAngeloGioacchino Del Regno			interconnects = <&a2noc 2 &a2noc 10>,
1372738777abSAngeloGioacchino Del Regno					<&gnoc 0 &cnoc 27>;
137340940823SBhupesh Sharma			interconnect-names = "sdhc-ddr", "cpu-sdhc";
1374738777abSAngeloGioacchino Del Regno			operating-points-v2 = <&sdhc1_opp_table>;
1375b190fb01SKonrad Dybcio			pinctrl-names = "default", "sleep";
137636a0d47aSAngeloGioacchino Del Regno			pinctrl-0 = <&sdc1_state_on>;
137736a0d47aSAngeloGioacchino Del Regno			pinctrl-1 = <&sdc1_state_off>;
1378738777abSAngeloGioacchino Del Regno			power-domains = <&rpmpd SDM660_VDDCX>;
1379b190fb01SKonrad Dybcio
1380b190fb01SKonrad Dybcio			bus-width = <8>;
1381b190fb01SKonrad Dybcio			non-removable;
1382b190fb01SKonrad Dybcio
1383b190fb01SKonrad Dybcio			status = "disabled";
1384738777abSAngeloGioacchino Del Regno
1385738777abSAngeloGioacchino Del Regno			sdhc1_opp_table: opp-table {
1386738777abSAngeloGioacchino Del Regno				compatible = "operating-points-v2";
1387738777abSAngeloGioacchino Del Regno
1388738777abSAngeloGioacchino Del Regno				opp-50000000 {
1389738777abSAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <50000000>;
1390738777abSAngeloGioacchino Del Regno					required-opps = <&rpmpd_opp_low_svs>;
1391738777abSAngeloGioacchino Del Regno					opp-peak-kBps = <200000 140000>;
1392738777abSAngeloGioacchino Del Regno					opp-avg-kBps = <130718 133320>;
1393738777abSAngeloGioacchino Del Regno				};
1394738777abSAngeloGioacchino Del Regno				opp-100000000 {
1395738777abSAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <100000000>;
1396738777abSAngeloGioacchino Del Regno					required-opps = <&rpmpd_opp_svs>;
1397738777abSAngeloGioacchino Del Regno					opp-peak-kBps = <250000 160000>;
1398738777abSAngeloGioacchino Del Regno					opp-avg-kBps = <196078 150000>;
1399738777abSAngeloGioacchino Del Regno				};
1400738777abSAngeloGioacchino Del Regno				opp-384000000 {
1401738777abSAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <384000000>;
1402738777abSAngeloGioacchino Del Regno					required-opps = <&rpmpd_opp_nom>;
1403738777abSAngeloGioacchino Del Regno					opp-peak-kBps = <4096000 4096000>;
1404738777abSAngeloGioacchino Del Regno					opp-avg-kBps = <1338562 1338562>;
1405738777abSAngeloGioacchino Del Regno				};
1406738777abSAngeloGioacchino Del Regno			};
1407b190fb01SKonrad Dybcio		};
1408b190fb01SKonrad Dybcio
14098b6da22eSDmitry Baryshkov		usb2: usb@c2f8800 {
14108b6da22eSDmitry Baryshkov			compatible = "qcom,sdm660-dwc3", "qcom,dwc3";
14118b6da22eSDmitry Baryshkov			reg = <0x0c2f8800 0x400>;
14128b6da22eSDmitry Baryshkov			status = "disabled";
14138b6da22eSDmitry Baryshkov			#address-cells = <1>;
14148b6da22eSDmitry Baryshkov			#size-cells = <1>;
14158b6da22eSDmitry Baryshkov			ranges;
14168b6da22eSDmitry Baryshkov
14178b6da22eSDmitry Baryshkov			clocks = <&gcc GCC_CFG_NOC_USB2_AXI_CLK>,
14188b6da22eSDmitry Baryshkov				 <&gcc GCC_USB20_MASTER_CLK>,
14198b6da22eSDmitry Baryshkov				 <&gcc GCC_USB20_MOCK_UTMI_CLK>,
14208b6da22eSDmitry Baryshkov				 <&gcc GCC_USB20_SLEEP_CLK>;
14218b6da22eSDmitry Baryshkov			clock-names = "cfg_noc", "core",
14228b6da22eSDmitry Baryshkov				      "mock_utmi", "sleep";
14238b6da22eSDmitry Baryshkov
14248b6da22eSDmitry Baryshkov			assigned-clocks = <&gcc GCC_USB20_MOCK_UTMI_CLK>,
14258b6da22eSDmitry Baryshkov					  <&gcc GCC_USB20_MASTER_CLK>;
14268b6da22eSDmitry Baryshkov			assigned-clock-rates = <19200000>, <60000000>;
14278b6da22eSDmitry Baryshkov
14288b6da22eSDmitry Baryshkov			interrupts = <GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH>;
14298b6da22eSDmitry Baryshkov			interrupt-names = "hs_phy_irq";
14308b6da22eSDmitry Baryshkov
14318b6da22eSDmitry Baryshkov			qcom,select-utmi-as-pipe-clk;
14328b6da22eSDmitry Baryshkov
14338b6da22eSDmitry Baryshkov			resets = <&gcc GCC_USB_20_BCR>;
14348b6da22eSDmitry Baryshkov
14358b6da22eSDmitry Baryshkov			usb2_dwc3: usb@c200000 {
14368b6da22eSDmitry Baryshkov				compatible = "snps,dwc3";
14378b6da22eSDmitry Baryshkov				reg = <0x0c200000 0xc8d0>;
14388b6da22eSDmitry Baryshkov				interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
14398b6da22eSDmitry Baryshkov				snps,dis_u2_susphy_quirk;
14408b6da22eSDmitry Baryshkov				snps,dis_enblslpm_quirk;
14418b6da22eSDmitry Baryshkov
14428b6da22eSDmitry Baryshkov				/* This is the HS-only host */
14438b6da22eSDmitry Baryshkov				maximum-speed = "high-speed";
14448b6da22eSDmitry Baryshkov				phys = <&qusb2phy1>;
14458b6da22eSDmitry Baryshkov				phy-names = "usb2-phy";
14468b6da22eSDmitry Baryshkov				snps,hird-threshold = /bits/ 8 <0>;
14478b6da22eSDmitry Baryshkov			};
14488b6da22eSDmitry Baryshkov		};
14498b6da22eSDmitry Baryshkov
145001b182d9SKonrad Dybcio		mmcc: clock-controller@c8c0000 {
145101b182d9SKonrad Dybcio			compatible = "qcom,mmcc-sdm630";
145201b182d9SKonrad Dybcio			reg = <0x0c8c0000 0x40000>;
145301b182d9SKonrad Dybcio			#clock-cells = <1>;
145401b182d9SKonrad Dybcio			#reset-cells = <1>;
145501b182d9SKonrad Dybcio			#power-domain-cells = <1>;
145601b182d9SKonrad Dybcio			clock-names = "xo",
145701b182d9SKonrad Dybcio					"sleep_clk",
145801b182d9SKonrad Dybcio					"gpll0",
145901b182d9SKonrad Dybcio					"gpll0_div",
146001b182d9SKonrad Dybcio					"dsi0pll",
146101b182d9SKonrad Dybcio					"dsi0pllbyte",
146201b182d9SKonrad Dybcio					"dsi1pll",
146301b182d9SKonrad Dybcio					"dsi1pllbyte",
146401b182d9SKonrad Dybcio					"dp_link_2x_clk_divsel_five",
146501b182d9SKonrad Dybcio					"dp_vco_divided_clk_src_mux";
146601b182d9SKonrad Dybcio			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
146701b182d9SKonrad Dybcio					<&sleep_clk>,
146801b182d9SKonrad Dybcio					<&gcc GCC_MMSS_GPLL0_CLK>,
146901b182d9SKonrad Dybcio					<&gcc GCC_MMSS_GPLL0_DIV_CLK>,
14708e61d532SDmitry Baryshkov					<&mdss_dsi0_phy 1>,
14718e61d532SDmitry Baryshkov					<&mdss_dsi0_phy 0>,
147201b182d9SKonrad Dybcio					<0>,
147301b182d9SKonrad Dybcio					<0>,
147401b182d9SKonrad Dybcio					<0>,
147501b182d9SKonrad Dybcio					<0>;
147601b182d9SKonrad Dybcio		};
147701b182d9SKonrad Dybcio
1478ecf0f5ffSDmitry Baryshkov		mdss: display-subsystem@c900000 {
1479b52555d5SKonrad Dybcio			compatible = "qcom,mdss";
1480b52555d5SKonrad Dybcio			reg = <0x0c900000 0x1000>,
1481b52555d5SKonrad Dybcio			      <0x0c9b0000 0x1040>;
1482b52555d5SKonrad Dybcio			reg-names = "mdss_phys", "vbif_phys";
1483b52555d5SKonrad Dybcio
1484b52555d5SKonrad Dybcio			power-domains = <&mmcc MDSS_GDSC>;
1485b52555d5SKonrad Dybcio
1486b52555d5SKonrad Dybcio			clocks = <&mmcc MDSS_AHB_CLK>,
1487b52555d5SKonrad Dybcio				 <&mmcc MDSS_AXI_CLK>,
1488b52555d5SKonrad Dybcio				 <&mmcc MDSS_VSYNC_CLK>,
1489b52555d5SKonrad Dybcio				 <&mmcc MDSS_MDP_CLK>;
1490b52555d5SKonrad Dybcio			clock-names = "iface",
1491b52555d5SKonrad Dybcio				      "bus",
1492b52555d5SKonrad Dybcio				      "vsync",
1493b52555d5SKonrad Dybcio				      "core";
1494b52555d5SKonrad Dybcio
1495b52555d5SKonrad Dybcio			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
1496b52555d5SKonrad Dybcio
1497b52555d5SKonrad Dybcio			interrupt-controller;
1498b52555d5SKonrad Dybcio			#interrupt-cells = <1>;
1499b52555d5SKonrad Dybcio
1500b52555d5SKonrad Dybcio			#address-cells = <1>;
1501b52555d5SKonrad Dybcio			#size-cells = <1>;
1502b52555d5SKonrad Dybcio			ranges;
1503b52555d5SKonrad Dybcio			status = "disabled";
1504b52555d5SKonrad Dybcio
15050aab1b9bSDmitry Baryshkov			mdp: display-controller@c901000 {
1506d46fbd45SDmitry Baryshkov				compatible = "qcom,sdm630-mdp5", "qcom,mdp5";
1507b52555d5SKonrad Dybcio				reg = <0x0c901000 0x89000>;
1508b52555d5SKonrad Dybcio				reg-names = "mdp_phys";
1509b52555d5SKonrad Dybcio
1510b52555d5SKonrad Dybcio				interrupt-parent = <&mdss>;
15112a11b3bfSDmitry Baryshkov				interrupts = <0>;
1512b52555d5SKonrad Dybcio
1513b52555d5SKonrad Dybcio				assigned-clocks = <&mmcc MDSS_MDP_CLK>,
1514b52555d5SKonrad Dybcio						  <&mmcc MDSS_VSYNC_CLK>;
1515b52555d5SKonrad Dybcio				assigned-clock-rates = <300000000>,
1516b52555d5SKonrad Dybcio						       <19200000>;
1517b52555d5SKonrad Dybcio				clocks = <&mmcc MDSS_AHB_CLK>,
1518b52555d5SKonrad Dybcio					 <&mmcc MDSS_AXI_CLK>,
1519b52555d5SKonrad Dybcio					 <&mmcc MDSS_MDP_CLK>,
1520b52555d5SKonrad Dybcio					 <&mmcc MDSS_VSYNC_CLK>;
1521b52555d5SKonrad Dybcio				clock-names = "iface",
1522b52555d5SKonrad Dybcio					      "bus",
1523b52555d5SKonrad Dybcio					      "core",
1524b52555d5SKonrad Dybcio					      "vsync";
1525b52555d5SKonrad Dybcio
1526b52555d5SKonrad Dybcio				interconnects = <&mnoc 2 &bimc 5>,
1527b52555d5SKonrad Dybcio						<&mnoc 3 &bimc 5>,
1528b52555d5SKonrad Dybcio						<&gnoc 0 &mnoc 17>;
1529b52555d5SKonrad Dybcio				interconnect-names = "mdp0-mem",
1530b52555d5SKonrad Dybcio						     "mdp1-mem",
1531b52555d5SKonrad Dybcio						     "rotator-mem";
1532b52555d5SKonrad Dybcio				iommus = <&mmss_smmu 0>;
1533b52555d5SKonrad Dybcio				operating-points-v2 = <&mdp_opp_table>;
1534b52555d5SKonrad Dybcio				power-domains = <&rpmpd SDM660_VDDCX>;
1535b52555d5SKonrad Dybcio
1536b52555d5SKonrad Dybcio				ports {
1537b52555d5SKonrad Dybcio					#address-cells = <1>;
1538b52555d5SKonrad Dybcio					#size-cells = <0>;
1539b52555d5SKonrad Dybcio
1540b52555d5SKonrad Dybcio					port@0 {
1541b52555d5SKonrad Dybcio						reg = <0>;
1542b52555d5SKonrad Dybcio						mdp5_intf1_out: endpoint {
15438e61d532SDmitry Baryshkov							remote-endpoint = <&mdss_dsi0_in>;
1544b52555d5SKonrad Dybcio						};
1545b52555d5SKonrad Dybcio					};
1546b52555d5SKonrad Dybcio				};
1547b52555d5SKonrad Dybcio
15480e3e6546SKrzysztof Kozlowski				mdp_opp_table: opp-table {
1549b52555d5SKonrad Dybcio					compatible = "operating-points-v2";
1550b52555d5SKonrad Dybcio
1551b52555d5SKonrad Dybcio					opp-150000000 {
1552b52555d5SKonrad Dybcio						opp-hz = /bits/ 64 <150000000>;
1553b52555d5SKonrad Dybcio						opp-peak-kBps = <320000 320000 76800>;
1554b52555d5SKonrad Dybcio						required-opps = <&rpmpd_opp_low_svs>;
1555b52555d5SKonrad Dybcio					};
1556b52555d5SKonrad Dybcio					opp-275000000 {
1557b52555d5SKonrad Dybcio						opp-hz = /bits/ 64 <275000000>;
1558b52555d5SKonrad Dybcio						opp-peak-kBps = <6400000 6400000 160000>;
1559b52555d5SKonrad Dybcio						required-opps = <&rpmpd_opp_svs>;
1560b52555d5SKonrad Dybcio					};
1561b52555d5SKonrad Dybcio					opp-300000000 {
1562b52555d5SKonrad Dybcio						opp-hz = /bits/ 64 <300000000>;
1563b52555d5SKonrad Dybcio						opp-peak-kBps = <6400000 6400000 190000>;
1564b52555d5SKonrad Dybcio						required-opps = <&rpmpd_opp_svs_plus>;
1565b52555d5SKonrad Dybcio					};
1566b52555d5SKonrad Dybcio					opp-330000000 {
1567b52555d5SKonrad Dybcio						opp-hz = /bits/ 64 <330000000>;
1568b52555d5SKonrad Dybcio						opp-peak-kBps = <6400000 6400000 240000>;
1569b52555d5SKonrad Dybcio						required-opps = <&rpmpd_opp_nom>;
1570b52555d5SKonrad Dybcio					};
1571b52555d5SKonrad Dybcio					opp-412500000 {
1572b52555d5SKonrad Dybcio						opp-hz = /bits/ 64 <412500000>;
1573b52555d5SKonrad Dybcio						opp-peak-kBps = <6400000 6400000 320000>;
1574b52555d5SKonrad Dybcio						required-opps = <&rpmpd_opp_turbo>;
1575b52555d5SKonrad Dybcio					};
1576b52555d5SKonrad Dybcio				};
1577b52555d5SKonrad Dybcio			};
1578b52555d5SKonrad Dybcio
15798e61d532SDmitry Baryshkov			mdss_dsi0: dsi@c994000 {
1580197d28d4SBryan O'Donoghue				compatible = "qcom,sdm660-dsi-ctrl",
1581197d28d4SBryan O'Donoghue					     "qcom,mdss-dsi-ctrl";
1582b52555d5SKonrad Dybcio				reg = <0x0c994000 0x400>;
1583b52555d5SKonrad Dybcio				reg-names = "dsi_ctrl";
1584b52555d5SKonrad Dybcio
1585b52555d5SKonrad Dybcio				operating-points-v2 = <&dsi_opp_table>;
1586b52555d5SKonrad Dybcio				power-domains = <&rpmpd SDM660_VDDCX>;
1587b52555d5SKonrad Dybcio
1588b52555d5SKonrad Dybcio				interrupt-parent = <&mdss>;
15892a11b3bfSDmitry Baryshkov				interrupts = <4>;
1590b52555d5SKonrad Dybcio
1591b52555d5SKonrad Dybcio				assigned-clocks = <&mmcc BYTE0_CLK_SRC>,
1592b52555d5SKonrad Dybcio						  <&mmcc PCLK0_CLK_SRC>;
15938e61d532SDmitry Baryshkov				assigned-clock-parents = <&mdss_dsi0_phy 0>,
15948e61d532SDmitry Baryshkov							 <&mdss_dsi0_phy 1>;
1595b52555d5SKonrad Dybcio
1596b52555d5SKonrad Dybcio				clocks = <&mmcc MDSS_MDP_CLK>,
1597b52555d5SKonrad Dybcio					 <&mmcc MDSS_BYTE0_CLK>,
1598b52555d5SKonrad Dybcio					 <&mmcc MDSS_BYTE0_INTF_CLK>,
1599b52555d5SKonrad Dybcio					 <&mmcc MNOC_AHB_CLK>,
1600b52555d5SKonrad Dybcio					 <&mmcc MDSS_AHB_CLK>,
1601b52555d5SKonrad Dybcio					 <&mmcc MDSS_AXI_CLK>,
1602b52555d5SKonrad Dybcio					 <&mmcc MISC_AHB_CLK>,
1603b52555d5SKonrad Dybcio					 <&mmcc MDSS_PCLK0_CLK>,
1604b52555d5SKonrad Dybcio					 <&mmcc MDSS_ESC0_CLK>;
1605b52555d5SKonrad Dybcio				clock-names = "mdp_core",
1606b52555d5SKonrad Dybcio					      "byte",
1607b52555d5SKonrad Dybcio					      "byte_intf",
1608b52555d5SKonrad Dybcio					      "mnoc",
1609b52555d5SKonrad Dybcio					      "iface",
1610b52555d5SKonrad Dybcio					      "bus",
1611b52555d5SKonrad Dybcio					      "core_mmss",
1612b52555d5SKonrad Dybcio					      "pixel",
1613b52555d5SKonrad Dybcio					      "core";
1614b52555d5SKonrad Dybcio
16158e61d532SDmitry Baryshkov				phys = <&mdss_dsi0_phy>;
1616b52555d5SKonrad Dybcio
161779d8e016SDmitry Baryshkov				status = "disabled";
161879d8e016SDmitry Baryshkov
1619b52555d5SKonrad Dybcio				ports {
1620b52555d5SKonrad Dybcio					#address-cells = <1>;
1621b52555d5SKonrad Dybcio					#size-cells = <0>;
1622b52555d5SKonrad Dybcio
1623b52555d5SKonrad Dybcio					port@0 {
1624b52555d5SKonrad Dybcio						reg = <0>;
16258e61d532SDmitry Baryshkov						mdss_dsi0_in: endpoint {
1626b52555d5SKonrad Dybcio							remote-endpoint = <&mdp5_intf1_out>;
1627b52555d5SKonrad Dybcio						};
1628b52555d5SKonrad Dybcio					};
1629b52555d5SKonrad Dybcio
1630b52555d5SKonrad Dybcio					port@1 {
1631b52555d5SKonrad Dybcio						reg = <1>;
16328e61d532SDmitry Baryshkov						mdss_dsi0_out: endpoint {
1633b52555d5SKonrad Dybcio						};
1634b52555d5SKonrad Dybcio					};
1635b52555d5SKonrad Dybcio				};
1636b52555d5SKonrad Dybcio			};
1637b52555d5SKonrad Dybcio
16388e61d532SDmitry Baryshkov			mdss_dsi0_phy: phy@c994400 {
1639b52555d5SKonrad Dybcio				compatible = "qcom,dsi-phy-14nm-660";
1640b52555d5SKonrad Dybcio				reg = <0x0c994400 0x100>,
1641b52555d5SKonrad Dybcio				      <0x0c994500 0x300>,
1642b52555d5SKonrad Dybcio				      <0x0c994800 0x188>;
1643b52555d5SKonrad Dybcio				reg-names = "dsi_phy",
1644b52555d5SKonrad Dybcio					    "dsi_phy_lane",
1645b52555d5SKonrad Dybcio					    "dsi_pll";
1646b52555d5SKonrad Dybcio
1647b52555d5SKonrad Dybcio				#clock-cells = <1>;
1648b52555d5SKonrad Dybcio				#phy-cells = <0>;
1649b52555d5SKonrad Dybcio
1650b52555d5SKonrad Dybcio				clocks = <&mmcc MDSS_AHB_CLK>, <&xo_board>;
1651b52555d5SKonrad Dybcio				clock-names = "iface", "ref";
165279d8e016SDmitry Baryshkov				status = "disabled";
1653b52555d5SKonrad Dybcio			};
1654b52555d5SKonrad Dybcio		};
1655b52555d5SKonrad Dybcio
1656b831fba3SVinod Koul		blsp1_dma: dma-controller@c144000 {
1657b190fb01SKonrad Dybcio			compatible = "qcom,bam-v1.7.0";
1658b190fb01SKonrad Dybcio			reg = <0x0c144000 0x1f000>;
1659b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
1660b190fb01SKonrad Dybcio			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
1661b190fb01SKonrad Dybcio			clock-names = "bam_clk";
1662b190fb01SKonrad Dybcio			#dma-cells = <1>;
1663b190fb01SKonrad Dybcio			qcom,ee = <0>;
1664b190fb01SKonrad Dybcio			qcom,controlled-remotely;
1665b190fb01SKonrad Dybcio			num-channels = <18>;
1666b190fb01SKonrad Dybcio			qcom,num-ees = <4>;
1667b190fb01SKonrad Dybcio		};
1668b190fb01SKonrad Dybcio
1669b190fb01SKonrad Dybcio		blsp1_uart1: serial@c16f000 {
1670b190fb01SKonrad Dybcio			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
1671b190fb01SKonrad Dybcio			reg = <0x0c16f000 0x200>;
1672b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1673b190fb01SKonrad Dybcio			clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>,
1674b190fb01SKonrad Dybcio				 <&gcc GCC_BLSP1_AHB_CLK>;
1675b190fb01SKonrad Dybcio			clock-names = "core", "iface";
1676b190fb01SKonrad Dybcio			dmas = <&blsp1_dma 0>, <&blsp1_dma 1>;
1677b190fb01SKonrad Dybcio			dma-names = "tx", "rx";
1678b190fb01SKonrad Dybcio			pinctrl-names = "default", "sleep";
1679b190fb01SKonrad Dybcio			pinctrl-0 = <&blsp1_uart1_default>;
1680b190fb01SKonrad Dybcio			pinctrl-1 = <&blsp1_uart1_sleep>;
1681b190fb01SKonrad Dybcio			status = "disabled";
1682b190fb01SKonrad Dybcio		};
1683b190fb01SKonrad Dybcio
1684b190fb01SKonrad Dybcio		blsp1_uart2: serial@c170000 {
1685b190fb01SKonrad Dybcio			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
1686b190fb01SKonrad Dybcio			reg = <0x0c170000 0x1000>;
1687b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1688b190fb01SKonrad Dybcio			clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>,
1689b190fb01SKonrad Dybcio				 <&gcc GCC_BLSP1_AHB_CLK>;
1690b190fb01SKonrad Dybcio			clock-names = "core", "iface";
1691b190fb01SKonrad Dybcio			dmas = <&blsp1_dma 2>, <&blsp1_dma 3>;
1692b190fb01SKonrad Dybcio			dma-names = "tx", "rx";
1693b190fb01SKonrad Dybcio			pinctrl-names = "default";
1694b190fb01SKonrad Dybcio			pinctrl-0 = <&blsp1_uart2_default>;
1695b190fb01SKonrad Dybcio			status = "disabled";
1696b190fb01SKonrad Dybcio		};
1697b190fb01SKonrad Dybcio
1698b190fb01SKonrad Dybcio		blsp_i2c1: i2c@c175000 {
1699b190fb01SKonrad Dybcio			compatible = "qcom,i2c-qup-v2.2.1";
1700b190fb01SKonrad Dybcio			reg = <0x0c175000 0x600>;
1701b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
1702b190fb01SKonrad Dybcio
1703b190fb01SKonrad Dybcio			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
1704b190fb01SKonrad Dybcio					<&gcc GCC_BLSP1_AHB_CLK>;
1705b190fb01SKonrad Dybcio			clock-names = "core", "iface";
1706b190fb01SKonrad Dybcio			clock-frequency = <400000>;
1707712e245fSKonrad Dybcio			dmas = <&blsp1_dma 4>, <&blsp1_dma 5>;
1708712e245fSKonrad Dybcio			dma-names = "tx", "rx";
1709b190fb01SKonrad Dybcio
1710b190fb01SKonrad Dybcio			pinctrl-names = "default", "sleep";
1711b190fb01SKonrad Dybcio			pinctrl-0 = <&i2c1_default>;
1712b190fb01SKonrad Dybcio			pinctrl-1 = <&i2c1_sleep>;
1713b190fb01SKonrad Dybcio			#address-cells = <1>;
1714b190fb01SKonrad Dybcio			#size-cells = <0>;
1715b190fb01SKonrad Dybcio			status = "disabled";
1716b190fb01SKonrad Dybcio		};
1717b190fb01SKonrad Dybcio
1718b190fb01SKonrad Dybcio		blsp_i2c2: i2c@c176000 {
1719b190fb01SKonrad Dybcio			compatible = "qcom,i2c-qup-v2.2.1";
1720b190fb01SKonrad Dybcio			reg = <0x0c176000 0x600>;
1721b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1722b190fb01SKonrad Dybcio
1723b190fb01SKonrad Dybcio			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
1724b190fb01SKonrad Dybcio				 <&gcc GCC_BLSP1_AHB_CLK>;
1725b190fb01SKonrad Dybcio			clock-names = "core", "iface";
1726b190fb01SKonrad Dybcio			clock-frequency = <400000>;
1727712e245fSKonrad Dybcio			dmas = <&blsp1_dma 6>, <&blsp1_dma 7>;
1728712e245fSKonrad Dybcio			dma-names = "tx", "rx";
1729b190fb01SKonrad Dybcio
1730b190fb01SKonrad Dybcio			pinctrl-names = "default", "sleep";
1731b190fb01SKonrad Dybcio			pinctrl-0 = <&i2c2_default>;
1732b190fb01SKonrad Dybcio			pinctrl-1 = <&i2c2_sleep>;
1733b190fb01SKonrad Dybcio			#address-cells = <1>;
1734b190fb01SKonrad Dybcio			#size-cells = <0>;
1735b190fb01SKonrad Dybcio			status = "disabled";
1736b190fb01SKonrad Dybcio		};
1737b190fb01SKonrad Dybcio
1738b190fb01SKonrad Dybcio		blsp_i2c3: i2c@c177000 {
1739b190fb01SKonrad Dybcio			compatible = "qcom,i2c-qup-v2.2.1";
1740b190fb01SKonrad Dybcio			reg = <0x0c177000 0x600>;
1741b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
1742b190fb01SKonrad Dybcio
1743b190fb01SKonrad Dybcio			clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
1744b190fb01SKonrad Dybcio				 <&gcc GCC_BLSP1_AHB_CLK>;
1745b190fb01SKonrad Dybcio			clock-names = "core", "iface";
1746b190fb01SKonrad Dybcio			clock-frequency = <400000>;
1747712e245fSKonrad Dybcio			dmas = <&blsp1_dma 8>, <&blsp1_dma 9>;
1748712e245fSKonrad Dybcio			dma-names = "tx", "rx";
1749b190fb01SKonrad Dybcio
1750b190fb01SKonrad Dybcio			pinctrl-names = "default", "sleep";
1751b190fb01SKonrad Dybcio			pinctrl-0 = <&i2c3_default>;
1752b190fb01SKonrad Dybcio			pinctrl-1 = <&i2c3_sleep>;
1753b190fb01SKonrad Dybcio			#address-cells = <1>;
1754b190fb01SKonrad Dybcio			#size-cells = <0>;
1755b190fb01SKonrad Dybcio			status = "disabled";
1756b190fb01SKonrad Dybcio		};
1757b190fb01SKonrad Dybcio
1758b190fb01SKonrad Dybcio		blsp_i2c4: i2c@c178000 {
1759b190fb01SKonrad Dybcio			compatible = "qcom,i2c-qup-v2.2.1";
1760b190fb01SKonrad Dybcio			reg = <0x0c178000 0x600>;
1761b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
1762b190fb01SKonrad Dybcio
1763b190fb01SKonrad Dybcio			clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
1764b190fb01SKonrad Dybcio				 <&gcc GCC_BLSP1_AHB_CLK>;
1765b190fb01SKonrad Dybcio			clock-names = "core", "iface";
1766b190fb01SKonrad Dybcio			clock-frequency = <400000>;
1767712e245fSKonrad Dybcio			dmas = <&blsp1_dma 10>, <&blsp1_dma 11>;
1768712e245fSKonrad Dybcio			dma-names = "tx", "rx";
1769b190fb01SKonrad Dybcio
1770b190fb01SKonrad Dybcio			pinctrl-names = "default", "sleep";
1771b190fb01SKonrad Dybcio			pinctrl-0 = <&i2c4_default>;
1772b190fb01SKonrad Dybcio			pinctrl-1 = <&i2c4_sleep>;
1773b190fb01SKonrad Dybcio			#address-cells = <1>;
1774b190fb01SKonrad Dybcio			#size-cells = <0>;
1775b190fb01SKonrad Dybcio			status = "disabled";
1776b190fb01SKonrad Dybcio		};
1777b190fb01SKonrad Dybcio
1778b831fba3SVinod Koul		blsp2_dma: dma-controller@c184000 {
1779b190fb01SKonrad Dybcio			compatible = "qcom,bam-v1.7.0";
1780b190fb01SKonrad Dybcio			reg = <0x0c184000 0x1f000>;
1781b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
1782b190fb01SKonrad Dybcio			clocks = <&gcc GCC_BLSP2_AHB_CLK>;
1783b190fb01SKonrad Dybcio			clock-names = "bam_clk";
1784b190fb01SKonrad Dybcio			#dma-cells = <1>;
1785b190fb01SKonrad Dybcio			qcom,ee = <0>;
1786b190fb01SKonrad Dybcio			qcom,controlled-remotely;
1787b190fb01SKonrad Dybcio			num-channels = <18>;
1788b190fb01SKonrad Dybcio			qcom,num-ees = <4>;
1789b190fb01SKonrad Dybcio		};
1790b190fb01SKonrad Dybcio
1791b190fb01SKonrad Dybcio		blsp2_uart1: serial@c1af000 {
1792b190fb01SKonrad Dybcio			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
1793b190fb01SKonrad Dybcio			reg = <0x0c1af000 0x200>;
1794b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1795b190fb01SKonrad Dybcio			clocks = <&gcc GCC_BLSP2_UART1_APPS_CLK>,
1796b190fb01SKonrad Dybcio				 <&gcc GCC_BLSP2_AHB_CLK>;
1797b190fb01SKonrad Dybcio			clock-names = "core", "iface";
1798b190fb01SKonrad Dybcio			dmas = <&blsp2_dma 0>, <&blsp2_dma 1>;
1799b190fb01SKonrad Dybcio			dma-names = "tx", "rx";
1800b190fb01SKonrad Dybcio			pinctrl-names = "default", "sleep";
180136a0d47aSAngeloGioacchino Del Regno			pinctrl-0 = <&blsp2_uart1_default>;
180236a0d47aSAngeloGioacchino Del Regno			pinctrl-1 = <&blsp2_uart1_sleep>;
1803b190fb01SKonrad Dybcio			status = "disabled";
1804b190fb01SKonrad Dybcio		};
1805b190fb01SKonrad Dybcio
1806b190fb01SKonrad Dybcio		blsp_i2c5: i2c@c1b5000 {
1807b190fb01SKonrad Dybcio			compatible = "qcom,i2c-qup-v2.2.1";
1808b190fb01SKonrad Dybcio			reg = <0x0c1b5000 0x600>;
1809b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1810b190fb01SKonrad Dybcio
1811b190fb01SKonrad Dybcio			clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>,
1812b190fb01SKonrad Dybcio				 <&gcc GCC_BLSP2_AHB_CLK>;
1813b190fb01SKonrad Dybcio			clock-names = "core", "iface";
1814b190fb01SKonrad Dybcio			clock-frequency = <400000>;
1815712e245fSKonrad Dybcio			dmas = <&blsp2_dma 4>, <&blsp2_dma 5>;
1816712e245fSKonrad Dybcio			dma-names = "tx", "rx";
1817b190fb01SKonrad Dybcio
1818b190fb01SKonrad Dybcio			pinctrl-names = "default", "sleep";
1819b190fb01SKonrad Dybcio			pinctrl-0 = <&i2c5_default>;
1820b190fb01SKonrad Dybcio			pinctrl-1 = <&i2c5_sleep>;
1821b190fb01SKonrad Dybcio			#address-cells = <1>;
1822b190fb01SKonrad Dybcio			#size-cells = <0>;
1823b190fb01SKonrad Dybcio			status = "disabled";
1824b190fb01SKonrad Dybcio		};
1825b190fb01SKonrad Dybcio
1826b190fb01SKonrad Dybcio		blsp_i2c6: i2c@c1b6000 {
1827b190fb01SKonrad Dybcio			compatible = "qcom,i2c-qup-v2.2.1";
1828b190fb01SKonrad Dybcio			reg = <0x0c1b6000 0x600>;
1829b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1830b190fb01SKonrad Dybcio
1831b190fb01SKonrad Dybcio			clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>,
1832b190fb01SKonrad Dybcio				 <&gcc GCC_BLSP2_AHB_CLK>;
1833b190fb01SKonrad Dybcio			clock-names = "core", "iface";
1834b190fb01SKonrad Dybcio			clock-frequency = <400000>;
1835712e245fSKonrad Dybcio			dmas = <&blsp2_dma 6>, <&blsp2_dma 7>;
1836712e245fSKonrad Dybcio			dma-names = "tx", "rx";
1837b190fb01SKonrad Dybcio
1838b190fb01SKonrad Dybcio			pinctrl-names = "default", "sleep";
1839b190fb01SKonrad Dybcio			pinctrl-0 = <&i2c6_default>;
1840b190fb01SKonrad Dybcio			pinctrl-1 = <&i2c6_sleep>;
1841b190fb01SKonrad Dybcio			#address-cells = <1>;
1842b190fb01SKonrad Dybcio			#size-cells = <0>;
1843b190fb01SKonrad Dybcio			status = "disabled";
1844b190fb01SKonrad Dybcio		};
1845b190fb01SKonrad Dybcio
1846b190fb01SKonrad Dybcio		blsp_i2c7: i2c@c1b7000 {
1847b190fb01SKonrad Dybcio			compatible = "qcom,i2c-qup-v2.2.1";
1848b190fb01SKonrad Dybcio			reg = <0x0c1b7000 0x600>;
1849b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
1850b190fb01SKonrad Dybcio
1851b190fb01SKonrad Dybcio			clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>,
1852b190fb01SKonrad Dybcio				 <&gcc GCC_BLSP2_AHB_CLK>;
1853b190fb01SKonrad Dybcio			clock-names = "core", "iface";
1854b190fb01SKonrad Dybcio			clock-frequency = <400000>;
1855712e245fSKonrad Dybcio			dmas = <&blsp2_dma 8>, <&blsp2_dma 9>;
1856712e245fSKonrad Dybcio			dma-names = "tx", "rx";
1857b190fb01SKonrad Dybcio
1858b190fb01SKonrad Dybcio			pinctrl-names = "default", "sleep";
1859b190fb01SKonrad Dybcio			pinctrl-0 = <&i2c7_default>;
1860b190fb01SKonrad Dybcio			pinctrl-1 = <&i2c7_sleep>;
1861b190fb01SKonrad Dybcio			#address-cells = <1>;
1862b190fb01SKonrad Dybcio			#size-cells = <0>;
1863b190fb01SKonrad Dybcio			status = "disabled";
1864b190fb01SKonrad Dybcio		};
1865b190fb01SKonrad Dybcio
1866b190fb01SKonrad Dybcio		blsp_i2c8: i2c@c1b8000 {
1867b190fb01SKonrad Dybcio			compatible = "qcom,i2c-qup-v2.2.1";
1868b190fb01SKonrad Dybcio			reg = <0x0c1b8000 0x600>;
1869b190fb01SKonrad Dybcio			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1870b190fb01SKonrad Dybcio
1871b190fb01SKonrad Dybcio			clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>,
1872b190fb01SKonrad Dybcio				 <&gcc GCC_BLSP2_AHB_CLK>;
1873b190fb01SKonrad Dybcio			clock-names = "core", "iface";
1874b190fb01SKonrad Dybcio			clock-frequency = <400000>;
1875712e245fSKonrad Dybcio			dmas = <&blsp2_dma 10>, <&blsp2_dma 11>;
1876712e245fSKonrad Dybcio			dma-names = "tx", "rx";
1877b190fb01SKonrad Dybcio
1878b190fb01SKonrad Dybcio			pinctrl-names = "default", "sleep";
1879b190fb01SKonrad Dybcio			pinctrl-0 = <&i2c8_default>;
1880b190fb01SKonrad Dybcio			pinctrl-1 = <&i2c8_sleep>;
1881b190fb01SKonrad Dybcio			#address-cells = <1>;
1882b190fb01SKonrad Dybcio			#size-cells = <0>;
1883b190fb01SKonrad Dybcio			status = "disabled";
1884b190fb01SKonrad Dybcio		};
1885b190fb01SKonrad Dybcio
1886bed08556SKrzysztof Kozlowski		sram@146bf000 {
1887616ab047SKrzysztof Kozlowski			compatible = "qcom,sdm630-imem", "syscon", "simple-mfd";
1888c21512cbSKonrad Dybcio			reg = <0x146bf000 0x1000>;
1889c21512cbSKonrad Dybcio
1890c21512cbSKonrad Dybcio			#address-cells = <1>;
1891c21512cbSKonrad Dybcio			#size-cells = <1>;
1892c21512cbSKonrad Dybcio
1893c21512cbSKonrad Dybcio			ranges = <0 0x146bf000 0x1000>;
1894c21512cbSKonrad Dybcio
1895c21512cbSKonrad Dybcio			pil-reloc@94c {
1896c21512cbSKonrad Dybcio				compatible = "qcom,pil-reloc-info";
1897c21512cbSKonrad Dybcio				reg = <0x94c 0xc8>;
1898c21512cbSKonrad Dybcio			};
1899c21512cbSKonrad Dybcio		};
1900c21512cbSKonrad Dybcio
1901c8b7faa7SKrzysztof Kozlowski		camss: camss@ca00020 {
1902f3d5d3ccSAngeloGioacchino Del Regno			compatible = "qcom,sdm660-camss";
19037908dcc8SKrzysztof Kozlowski			reg = <0x0ca00020 0x10>,
19047908dcc8SKrzysztof Kozlowski			      <0x0ca30000 0x100>,
19057908dcc8SKrzysztof Kozlowski			      <0x0ca30400 0x100>,
19067908dcc8SKrzysztof Kozlowski			      <0x0ca30800 0x100>,
19077908dcc8SKrzysztof Kozlowski			      <0x0ca30c00 0x100>,
19087908dcc8SKrzysztof Kozlowski			      <0x0c824000 0x1000>,
1909f3d5d3ccSAngeloGioacchino Del Regno			      <0x0ca00120 0x4>,
1910f3d5d3ccSAngeloGioacchino Del Regno			      <0x0c825000 0x1000>,
1911f3d5d3ccSAngeloGioacchino Del Regno			      <0x0ca00124 0x4>,
1912f3d5d3ccSAngeloGioacchino Del Regno			      <0x0c826000 0x1000>,
1913f3d5d3ccSAngeloGioacchino Del Regno			      <0x0ca00128 0x4>,
1914f3d5d3ccSAngeloGioacchino Del Regno			      <0x0ca31000 0x500>,
1915f3d5d3ccSAngeloGioacchino Del Regno			      <0x0ca10000 0x1000>,
1916f3d5d3ccSAngeloGioacchino Del Regno			      <0x0ca14000 0x1000>;
19177908dcc8SKrzysztof Kozlowski			reg-names = "csi_clk_mux",
19187908dcc8SKrzysztof Kozlowski				    "csid0",
19197908dcc8SKrzysztof Kozlowski				    "csid1",
19207908dcc8SKrzysztof Kozlowski				    "csid2",
19217908dcc8SKrzysztof Kozlowski				    "csid3",
19227908dcc8SKrzysztof Kozlowski				    "csiphy0",
1923f3d5d3ccSAngeloGioacchino Del Regno				    "csiphy0_clk_mux",
1924f3d5d3ccSAngeloGioacchino Del Regno				    "csiphy1",
1925f3d5d3ccSAngeloGioacchino Del Regno				    "csiphy1_clk_mux",
1926f3d5d3ccSAngeloGioacchino Del Regno				    "csiphy2",
1927f3d5d3ccSAngeloGioacchino Del Regno				    "csiphy2_clk_mux",
1928f3d5d3ccSAngeloGioacchino Del Regno				    "ispif",
1929f3d5d3ccSAngeloGioacchino Del Regno				    "vfe0",
1930f3d5d3ccSAngeloGioacchino Del Regno				    "vfe1";
1931cb0b6853SKrzysztof Kozlowski			interrupts = <GIC_SPI 296 IRQ_TYPE_EDGE_RISING>,
1932f3d5d3ccSAngeloGioacchino Del Regno				     <GIC_SPI 297 IRQ_TYPE_EDGE_RISING>,
1933f3d5d3ccSAngeloGioacchino Del Regno				     <GIC_SPI 298 IRQ_TYPE_EDGE_RISING>,
1934f3d5d3ccSAngeloGioacchino Del Regno				     <GIC_SPI 299 IRQ_TYPE_EDGE_RISING>,
1935cb0b6853SKrzysztof Kozlowski				     <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>,
1936cb0b6853SKrzysztof Kozlowski				     <GIC_SPI 79 IRQ_TYPE_EDGE_RISING>,
1937cb0b6853SKrzysztof Kozlowski				     <GIC_SPI 80 IRQ_TYPE_EDGE_RISING>,
1938f3d5d3ccSAngeloGioacchino Del Regno				     <GIC_SPI 309 IRQ_TYPE_EDGE_RISING>,
1939f3d5d3ccSAngeloGioacchino Del Regno				     <GIC_SPI 314 IRQ_TYPE_EDGE_RISING>,
1940f3d5d3ccSAngeloGioacchino Del Regno				     <GIC_SPI 315 IRQ_TYPE_EDGE_RISING>;
1941cb0b6853SKrzysztof Kozlowski			interrupt-names = "csid0",
1942f3d5d3ccSAngeloGioacchino Del Regno					  "csid1",
1943f3d5d3ccSAngeloGioacchino Del Regno					  "csid2",
1944f3d5d3ccSAngeloGioacchino Del Regno					  "csid3",
1945cb0b6853SKrzysztof Kozlowski					  "csiphy0",
1946cb0b6853SKrzysztof Kozlowski					  "csiphy1",
1947cb0b6853SKrzysztof Kozlowski					  "csiphy2",
1948f3d5d3ccSAngeloGioacchino Del Regno					  "ispif",
1949f3d5d3ccSAngeloGioacchino Del Regno					  "vfe0",
1950f3d5d3ccSAngeloGioacchino Del Regno					  "vfe1";
1951e8881372SKrzysztof Kozlowski			clocks = <&mmcc CAMSS_AHB_CLK>,
1952e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_CPHY_CSID0_CLK>,
1953e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_CPHY_CSID1_CLK>,
1954e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_CPHY_CSID2_CLK>,
1955e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_CPHY_CSID3_CLK>,
1956f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI0_AHB_CLK>,
1957f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI0_CLK>,
1958f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CPHY_CSID0_CLK>,
1959f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI0PIX_CLK>,
1960f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI0RDI_CLK>,
1961f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI1_AHB_CLK>,
1962f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI1_CLK>,
1963f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CPHY_CSID1_CLK>,
1964f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI1PIX_CLK>,
1965f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI1RDI_CLK>,
1966f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI2_AHB_CLK>,
1967f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI2_CLK>,
1968f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CPHY_CSID2_CLK>,
1969f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI2PIX_CLK>,
1970f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI2RDI_CLK>,
1971f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI3_AHB_CLK>,
1972f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI3_CLK>,
1973f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CPHY_CSID3_CLK>,
1974f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI3PIX_CLK>,
1975f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI3RDI_CLK>,
1976e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_CSI0PHYTIMER_CLK>,
1977e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_CSI1PHYTIMER_CLK>,
1978e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_CSI2PHYTIMER_CLK>,
1979e8881372SKrzysztof Kozlowski				 <&mmcc CSIPHY_AHB2CRIF_CLK>,
1980f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI_VFE0_CLK>,
1981f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CSI_VFE1_CLK>,
1982e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_ISPIF_AHB_CLK>,
1983e8881372SKrzysztof Kozlowski				 <&mmcc THROTTLE_CAMSS_AXI_CLK>,
1984e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_TOP_AHB_CLK>,
1985e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_VFE0_AHB_CLK>,
1986e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_VFE0_CLK>,
1987e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_VFE0_STREAM_CLK>,
1988f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_VFE1_AHB_CLK>,
1989e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_VFE1_CLK>,
1990f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_VFE1_STREAM_CLK>,
1991f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_VFE_VBIF_AHB_CLK>,
1992e8881372SKrzysztof Kozlowski				 <&mmcc CAMSS_VFE_VBIF_AXI_CLK>;
1993e8881372SKrzysztof Kozlowski			clock-names = "ahb",
1994e8881372SKrzysztof Kozlowski				      "cphy_csid0",
1995e8881372SKrzysztof Kozlowski				      "cphy_csid1",
1996e8881372SKrzysztof Kozlowski				      "cphy_csid2",
1997e8881372SKrzysztof Kozlowski				      "cphy_csid3",
1998f3d5d3ccSAngeloGioacchino Del Regno				      "csi0_ahb",
1999f3d5d3ccSAngeloGioacchino Del Regno				      "csi0",
2000f3d5d3ccSAngeloGioacchino Del Regno				      "csi0_phy",
2001f3d5d3ccSAngeloGioacchino Del Regno				      "csi0_pix",
2002f3d5d3ccSAngeloGioacchino Del Regno				      "csi0_rdi",
2003f3d5d3ccSAngeloGioacchino Del Regno				      "csi1_ahb",
2004f3d5d3ccSAngeloGioacchino Del Regno				      "csi1",
2005f3d5d3ccSAngeloGioacchino Del Regno				      "csi1_phy",
2006f3d5d3ccSAngeloGioacchino Del Regno				      "csi1_pix",
2007f3d5d3ccSAngeloGioacchino Del Regno				      "csi1_rdi",
2008f3d5d3ccSAngeloGioacchino Del Regno				      "csi2_ahb",
2009f3d5d3ccSAngeloGioacchino Del Regno				      "csi2",
2010f3d5d3ccSAngeloGioacchino Del Regno				      "csi2_phy",
2011f3d5d3ccSAngeloGioacchino Del Regno				      "csi2_pix",
2012f3d5d3ccSAngeloGioacchino Del Regno				      "csi2_rdi",
2013f3d5d3ccSAngeloGioacchino Del Regno				      "csi3_ahb",
2014f3d5d3ccSAngeloGioacchino Del Regno				      "csi3",
2015f3d5d3ccSAngeloGioacchino Del Regno				      "csi3_phy",
2016f3d5d3ccSAngeloGioacchino Del Regno				      "csi3_pix",
2017f3d5d3ccSAngeloGioacchino Del Regno				      "csi3_rdi",
2018e8881372SKrzysztof Kozlowski				      "csiphy0_timer",
2019e8881372SKrzysztof Kozlowski				      "csiphy1_timer",
2020e8881372SKrzysztof Kozlowski				      "csiphy2_timer",
2021e8881372SKrzysztof Kozlowski				      "csiphy_ahb2crif",
2022f3d5d3ccSAngeloGioacchino Del Regno				      "csi_vfe0",
2023f3d5d3ccSAngeloGioacchino Del Regno				      "csi_vfe1",
2024e8881372SKrzysztof Kozlowski				      "ispif_ahb",
2025e8881372SKrzysztof Kozlowski				      "throttle_axi",
2026e8881372SKrzysztof Kozlowski				      "top_ahb",
2027e8881372SKrzysztof Kozlowski				      "vfe0_ahb",
2028e8881372SKrzysztof Kozlowski				      "vfe0",
2029e8881372SKrzysztof Kozlowski				      "vfe0_stream",
2030f3d5d3ccSAngeloGioacchino Del Regno				      "vfe1_ahb",
2031e8881372SKrzysztof Kozlowski				      "vfe1",
2032f3d5d3ccSAngeloGioacchino Del Regno				      "vfe1_stream",
2033f3d5d3ccSAngeloGioacchino Del Regno				      "vfe_ahb",
2034e8881372SKrzysztof Kozlowski				      "vfe_axi";
2035f3d5d3ccSAngeloGioacchino Del Regno			interconnects = <&mnoc 5 &bimc 5>;
2036f3d5d3ccSAngeloGioacchino Del Regno			interconnect-names = "vfe-mem";
2037f3d5d3ccSAngeloGioacchino Del Regno			iommus = <&mmss_smmu 0xc00>,
2038f3d5d3ccSAngeloGioacchino Del Regno				 <&mmss_smmu 0xc01>,
2039f3d5d3ccSAngeloGioacchino Del Regno				 <&mmss_smmu 0xc02>,
2040f3d5d3ccSAngeloGioacchino Del Regno				 <&mmss_smmu 0xc03>;
2041f3d5d3ccSAngeloGioacchino Del Regno			power-domains = <&mmcc CAMSS_VFE0_GDSC>,
2042f3d5d3ccSAngeloGioacchino Del Regno					<&mmcc CAMSS_VFE1_GDSC>;
2043f3d5d3ccSAngeloGioacchino Del Regno			status = "disabled";
2044f3d5d3ccSAngeloGioacchino Del Regno
2045f3d5d3ccSAngeloGioacchino Del Regno			ports {
2046f3d5d3ccSAngeloGioacchino Del Regno				#address-cells = <1>;
2047f3d5d3ccSAngeloGioacchino Del Regno				#size-cells = <0>;
2048f3d5d3ccSAngeloGioacchino Del Regno			};
2049f3d5d3ccSAngeloGioacchino Del Regno		};
2050f3d5d3ccSAngeloGioacchino Del Regno
2051f3d5d3ccSAngeloGioacchino Del Regno		cci: cci@ca0c000 {
2052f3d5d3ccSAngeloGioacchino Del Regno			compatible = "qcom,msm8996-cci";
2053f3d5d3ccSAngeloGioacchino Del Regno			#address-cells = <1>;
2054f3d5d3ccSAngeloGioacchino Del Regno			#size-cells = <0>;
2055f3d5d3ccSAngeloGioacchino Del Regno			reg = <0x0ca0c000 0x1000>;
2056f3d5d3ccSAngeloGioacchino Del Regno			interrupts = <GIC_SPI 295 IRQ_TYPE_EDGE_RISING>;
2057f3d5d3ccSAngeloGioacchino Del Regno
2058f3d5d3ccSAngeloGioacchino Del Regno			assigned-clocks = <&mmcc CAMSS_CCI_AHB_CLK>,
2059f3d5d3ccSAngeloGioacchino Del Regno					  <&mmcc CAMSS_CCI_CLK>;
2060f3d5d3ccSAngeloGioacchino Del Regno			assigned-clock-rates = <80800000>, <37500000>;
2061f3d5d3ccSAngeloGioacchino Del Regno			clocks = <&mmcc CAMSS_TOP_AHB_CLK>,
2062f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CCI_AHB_CLK>,
2063f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_CCI_CLK>,
2064f3d5d3ccSAngeloGioacchino Del Regno				 <&mmcc CAMSS_AHB_CLK>;
2065f3d5d3ccSAngeloGioacchino Del Regno			clock-names = "camss_top_ahb",
2066f3d5d3ccSAngeloGioacchino Del Regno				      "cci_ahb",
2067f3d5d3ccSAngeloGioacchino Del Regno				      "cci",
2068f3d5d3ccSAngeloGioacchino Del Regno				      "camss_ahb";
2069f3d5d3ccSAngeloGioacchino Del Regno
2070f3d5d3ccSAngeloGioacchino Del Regno			pinctrl-names = "default";
2071f3d5d3ccSAngeloGioacchino Del Regno			pinctrl-0 = <&cci0_default &cci1_default>;
2072f3d5d3ccSAngeloGioacchino Del Regno			power-domains = <&mmcc CAMSS_TOP_GDSC>;
2073f3d5d3ccSAngeloGioacchino Del Regno			status = "disabled";
2074f3d5d3ccSAngeloGioacchino Del Regno
2075f3d5d3ccSAngeloGioacchino Del Regno			cci_i2c0: i2c-bus@0 {
2076f3d5d3ccSAngeloGioacchino Del Regno				reg = <0>;
2077f3d5d3ccSAngeloGioacchino Del Regno				clock-frequency = <400000>;
2078f3d5d3ccSAngeloGioacchino Del Regno				#address-cells = <1>;
2079f3d5d3ccSAngeloGioacchino Del Regno				#size-cells = <0>;
2080f3d5d3ccSAngeloGioacchino Del Regno			};
2081f3d5d3ccSAngeloGioacchino Del Regno
2082f3d5d3ccSAngeloGioacchino Del Regno			cci_i2c1: i2c-bus@1 {
2083f3d5d3ccSAngeloGioacchino Del Regno				reg = <1>;
2084f3d5d3ccSAngeloGioacchino Del Regno				clock-frequency = <400000>;
2085f3d5d3ccSAngeloGioacchino Del Regno				#address-cells = <1>;
2086f3d5d3ccSAngeloGioacchino Del Regno				#size-cells = <0>;
2087f3d5d3ccSAngeloGioacchino Del Regno			};
2088f3d5d3ccSAngeloGioacchino Del Regno		};
2089f3d5d3ccSAngeloGioacchino Del Regno
2090f468ecf1SAngeloGioacchino Del Regno		venus: video-codec@cc00000 {
2091f468ecf1SAngeloGioacchino Del Regno			compatible = "qcom,sdm660-venus";
2092f468ecf1SAngeloGioacchino Del Regno			reg = <0x0cc00000 0xff000>;
2093f468ecf1SAngeloGioacchino Del Regno			clocks = <&mmcc VIDEO_CORE_CLK>,
2094f468ecf1SAngeloGioacchino Del Regno				 <&mmcc VIDEO_AHB_CLK>,
2095f468ecf1SAngeloGioacchino Del Regno				 <&mmcc VIDEO_AXI_CLK>,
2096f468ecf1SAngeloGioacchino Del Regno				 <&mmcc THROTTLE_VIDEO_AXI_CLK>;
2097f468ecf1SAngeloGioacchino Del Regno			clock-names = "core", "iface", "bus", "bus_throttle";
2098f468ecf1SAngeloGioacchino Del Regno			interconnects = <&gnoc 0 &mnoc 13>,
2099f468ecf1SAngeloGioacchino Del Regno					<&mnoc 4 &bimc 5>;
2100f468ecf1SAngeloGioacchino Del Regno			interconnect-names = "cpu-cfg", "video-mem";
2101f468ecf1SAngeloGioacchino Del Regno			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
2102f468ecf1SAngeloGioacchino Del Regno			iommus = <&mmss_smmu 0x400>,
2103f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x401>,
2104f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x40a>,
2105f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x407>,
2106f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x40e>,
2107f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x40f>,
2108f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x408>,
2109f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x409>,
2110f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x40b>,
2111f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x40c>,
2112f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x40d>,
2113f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x410>,
2114f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x421>,
2115f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x428>,
2116f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x429>,
2117f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x42b>,
2118f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x42c>,
2119f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x42d>,
2120f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x411>,
2121f468ecf1SAngeloGioacchino Del Regno				 <&mmss_smmu 0x431>;
2122f468ecf1SAngeloGioacchino Del Regno			memory-region = <&venus_region>;
2123f468ecf1SAngeloGioacchino Del Regno			power-domains = <&mmcc VENUS_GDSC>;
2124f468ecf1SAngeloGioacchino Del Regno			status = "disabled";
2125f468ecf1SAngeloGioacchino Del Regno
2126f468ecf1SAngeloGioacchino Del Regno			video-decoder {
2127f468ecf1SAngeloGioacchino Del Regno				compatible = "venus-decoder";
2128f468ecf1SAngeloGioacchino Del Regno				clocks = <&mmcc VIDEO_SUBCORE0_CLK>;
2129f468ecf1SAngeloGioacchino Del Regno				clock-names = "vcodec0_core";
2130f468ecf1SAngeloGioacchino Del Regno				power-domains = <&mmcc VENUS_CORE0_GDSC>;
2131f468ecf1SAngeloGioacchino Del Regno			};
2132f468ecf1SAngeloGioacchino Del Regno
2133f468ecf1SAngeloGioacchino Del Regno			video-encoder {
2134f468ecf1SAngeloGioacchino Del Regno				compatible = "venus-encoder";
2135f468ecf1SAngeloGioacchino Del Regno				clocks = <&mmcc VIDEO_SUBCORE0_CLK>;
2136f468ecf1SAngeloGioacchino Del Regno				clock-names = "vcodec0_core";
2137f468ecf1SAngeloGioacchino Del Regno				power-domains = <&mmcc VENUS_CORE0_GDSC>;
2138f468ecf1SAngeloGioacchino Del Regno			};
2139f468ecf1SAngeloGioacchino Del Regno		};
2140f468ecf1SAngeloGioacchino Del Regno
2141b190fb01SKonrad Dybcio		mmss_smmu: iommu@cd00000 {
2142b190fb01SKonrad Dybcio			compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2";
2143b190fb01SKonrad Dybcio			reg = <0x0cd00000 0x40000>;
21446bb717feSAngeloGioacchino Del Regno
21456bb717feSAngeloGioacchino Del Regno			clocks = <&mmcc MNOC_AHB_CLK>,
21466bb717feSAngeloGioacchino Del Regno				 <&mmcc BIMC_SMMU_AHB_CLK>,
21476bb717feSAngeloGioacchino Del Regno				 <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK>,
21486bb717feSAngeloGioacchino Del Regno				 <&mmcc BIMC_SMMU_AXI_CLK>;
21496bb717feSAngeloGioacchino Del Regno			clock-names = "iface-mm", "iface-smmu",
21506bb717feSAngeloGioacchino Del Regno				      "bus-mm", "bus-smmu";
21516bb717feSAngeloGioacchino Del Regno			#global-interrupts = <2>;
2152b190fb01SKonrad Dybcio			#iommu-cells = <1>;
2153b190fb01SKonrad Dybcio
2154b190fb01SKonrad Dybcio			interrupts =
2155b190fb01SKonrad Dybcio				<GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
2156b190fb01SKonrad Dybcio				<GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
2157b190fb01SKonrad Dybcio
2158b190fb01SKonrad Dybcio				<GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
2159b190fb01SKonrad Dybcio				<GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
2160b190fb01SKonrad Dybcio				<GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>,
2161b190fb01SKonrad Dybcio				<GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
2162b190fb01SKonrad Dybcio				<GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
2163b190fb01SKonrad Dybcio				<GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
2164b190fb01SKonrad Dybcio				<GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
2165b190fb01SKonrad Dybcio				<GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
2166b190fb01SKonrad Dybcio				<GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
2167b190fb01SKonrad Dybcio				<GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
2168b190fb01SKonrad Dybcio				<GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
2169b190fb01SKonrad Dybcio				<GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
2170b190fb01SKonrad Dybcio				<GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
2171b190fb01SKonrad Dybcio				<GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
2172b190fb01SKonrad Dybcio				<GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
2173b190fb01SKonrad Dybcio				<GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
2174b190fb01SKonrad Dybcio				<GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
2175b190fb01SKonrad Dybcio				<GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
2176b190fb01SKonrad Dybcio				<GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
2177b190fb01SKonrad Dybcio				<GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>,
2178b190fb01SKonrad Dybcio				<GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>,
2179b190fb01SKonrad Dybcio				<GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>,
2180b190fb01SKonrad Dybcio				<GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>,
2181b190fb01SKonrad Dybcio				<GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>;
2182326407d2SKonrad Dybcio
2183326407d2SKonrad Dybcio			status = "disabled";
2184b190fb01SKonrad Dybcio		};
2185b190fb01SKonrad Dybcio
21867ca2ebc9SKonrad Dybcio		adsp_pil: remoteproc@15700000 {
21877ca2ebc9SKonrad Dybcio			compatible = "qcom,sdm660-adsp-pas";
21887ca2ebc9SKonrad Dybcio			reg = <0x15700000 0x4040>;
21897ca2ebc9SKonrad Dybcio
21907ca2ebc9SKonrad Dybcio			interrupts-extended =
21917ca2ebc9SKonrad Dybcio				<&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
21927ca2ebc9SKonrad Dybcio				<&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
21937ca2ebc9SKonrad Dybcio				<&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
21947ca2ebc9SKonrad Dybcio				<&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
21957ca2ebc9SKonrad Dybcio				<&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
21967ca2ebc9SKonrad Dybcio			interrupt-names = "wdog", "fatal", "ready",
21977ca2ebc9SKonrad Dybcio					  "handover", "stop-ack";
21987ca2ebc9SKonrad Dybcio
21997ca2ebc9SKonrad Dybcio			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
22007ca2ebc9SKonrad Dybcio			clock-names = "xo";
22017ca2ebc9SKonrad Dybcio
22027ca2ebc9SKonrad Dybcio			memory-region = <&adsp_region>;
22037ca2ebc9SKonrad Dybcio			power-domains = <&rpmpd SDM660_VDDCX>;
22047ca2ebc9SKonrad Dybcio			power-domain-names = "cx";
22057ca2ebc9SKonrad Dybcio
22067ca2ebc9SKonrad Dybcio			qcom,smem-states = <&adsp_smp2p_out 0>;
22077ca2ebc9SKonrad Dybcio			qcom,smem-state-names = "stop";
22087ca2ebc9SKonrad Dybcio
22097ca2ebc9SKonrad Dybcio			glink-edge {
22107ca2ebc9SKonrad Dybcio				interrupts = <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>;
22117ca2ebc9SKonrad Dybcio
22127ca2ebc9SKonrad Dybcio				label = "lpass";
22137ca2ebc9SKonrad Dybcio				mboxes = <&apcs_glb 9>;
22147ca2ebc9SKonrad Dybcio				qcom,remote-pid = <2>;
22157ca2ebc9SKonrad Dybcio
22167ca2ebc9SKonrad Dybcio				apr {
22177ca2ebc9SKonrad Dybcio					compatible = "qcom,apr-v2";
22187ca2ebc9SKonrad Dybcio					qcom,glink-channels = "apr_audio_svc";
22192f114511SDavid Heidelberg					qcom,domain = <APR_DOMAIN_ADSP>;
22207ca2ebc9SKonrad Dybcio					#address-cells = <1>;
22217ca2ebc9SKonrad Dybcio					#size-cells = <0>;
22227ca2ebc9SKonrad Dybcio
2223aa27f316SKrzysztof Kozlowski					service@3 {
22247ca2ebc9SKonrad Dybcio						reg = <APR_SVC_ADSP_CORE>;
22257ca2ebc9SKonrad Dybcio						compatible = "qcom,q6core";
22267ca2ebc9SKonrad Dybcio					};
22277ca2ebc9SKonrad Dybcio
2228aa27f316SKrzysztof Kozlowski					q6afe: service@4 {
22297ca2ebc9SKonrad Dybcio						compatible = "qcom,q6afe";
22307ca2ebc9SKonrad Dybcio						reg = <APR_SVC_AFE>;
22317ca2ebc9SKonrad Dybcio						q6afedai: dais {
22327ca2ebc9SKonrad Dybcio							compatible = "qcom,q6afe-dais";
22337ca2ebc9SKonrad Dybcio							#address-cells = <1>;
22347ca2ebc9SKonrad Dybcio							#size-cells = <0>;
22357ca2ebc9SKonrad Dybcio							#sound-dai-cells = <1>;
22367ca2ebc9SKonrad Dybcio						};
22377ca2ebc9SKonrad Dybcio					};
22387ca2ebc9SKonrad Dybcio
2239aa27f316SKrzysztof Kozlowski					q6asm: service@7 {
22407ca2ebc9SKonrad Dybcio						compatible = "qcom,q6asm";
22417ca2ebc9SKonrad Dybcio						reg = <APR_SVC_ASM>;
22427ca2ebc9SKonrad Dybcio						q6asmdai: dais {
22437ca2ebc9SKonrad Dybcio							compatible = "qcom,q6asm-dais";
22447ca2ebc9SKonrad Dybcio							#address-cells = <1>;
22457ca2ebc9SKonrad Dybcio							#size-cells = <0>;
22467ca2ebc9SKonrad Dybcio							#sound-dai-cells = <1>;
22477ca2ebc9SKonrad Dybcio							iommus = <&lpass_smmu 1>;
22487ca2ebc9SKonrad Dybcio						};
22497ca2ebc9SKonrad Dybcio					};
22507ca2ebc9SKonrad Dybcio
2251aa27f316SKrzysztof Kozlowski					q6adm: service@8 {
22527ca2ebc9SKonrad Dybcio						compatible = "qcom,q6adm";
22537ca2ebc9SKonrad Dybcio						reg = <APR_SVC_ADM>;
22547ca2ebc9SKonrad Dybcio						q6routing: routing {
22557ca2ebc9SKonrad Dybcio							compatible = "qcom,q6adm-routing";
22567ca2ebc9SKonrad Dybcio							#sound-dai-cells = <0>;
22577ca2ebc9SKonrad Dybcio						};
22587ca2ebc9SKonrad Dybcio					};
22597ca2ebc9SKonrad Dybcio				};
22607ca2ebc9SKonrad Dybcio			};
22617ca2ebc9SKonrad Dybcio		};
22627ca2ebc9SKonrad Dybcio
2263045547a0SKonrad Dybcio		gnoc: interconnect@17900000 {
2264045547a0SKonrad Dybcio			compatible = "qcom,sdm660-gnoc";
2265045547a0SKonrad Dybcio			reg = <0x17900000 0xe000>;
2266045547a0SKonrad Dybcio			#interconnect-cells = <1>;
2267045547a0SKonrad Dybcio			/*
2268045547a0SKonrad Dybcio			 * This one apparently features no clocks,
2269045547a0SKonrad Dybcio			 * so let's not mess with the driver needlessly
2270045547a0SKonrad Dybcio			 */
2271045547a0SKonrad Dybcio			clock-names = "bus", "bus_a";
2272045547a0SKonrad Dybcio			clocks = <&xo_board>, <&xo_board>;
2273045547a0SKonrad Dybcio		};
2274045547a0SKonrad Dybcio
2275b190fb01SKonrad Dybcio		apcs_glb: mailbox@17911000 {
22762d034324SKrzysztof Kozlowski			compatible = "qcom,sdm660-apcs-hmss-global",
22772d034324SKrzysztof Kozlowski				     "qcom,msm8994-apcs-kpss-global";
2278b190fb01SKonrad Dybcio			reg = <0x17911000 0x1000>;
2279b190fb01SKonrad Dybcio
2280b190fb01SKonrad Dybcio			#mbox-cells = <1>;
2281b190fb01SKonrad Dybcio		};
2282b190fb01SKonrad Dybcio
2283b190fb01SKonrad Dybcio		timer@17920000 {
2284b190fb01SKonrad Dybcio			#address-cells = <1>;
2285b190fb01SKonrad Dybcio			#size-cells = <1>;
2286b190fb01SKonrad Dybcio			ranges;
2287b190fb01SKonrad Dybcio			compatible = "arm,armv7-timer-mem";
2288b190fb01SKonrad Dybcio			reg = <0x17920000 0x1000>;
2289b190fb01SKonrad Dybcio			clock-frequency = <19200000>;
2290b190fb01SKonrad Dybcio
2291b190fb01SKonrad Dybcio			frame@17921000 {
2292b190fb01SKonrad Dybcio				frame-number = <0>;
2293*b79663a5SKrzysztof Kozlowski				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
2294*b79663a5SKrzysztof Kozlowski					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
2295b190fb01SKonrad Dybcio				reg = <0x17921000 0x1000>,
2296b190fb01SKonrad Dybcio					<0x17922000 0x1000>;
2297b190fb01SKonrad Dybcio			};
2298b190fb01SKonrad Dybcio
2299b190fb01SKonrad Dybcio			frame@17923000 {
2300b190fb01SKonrad Dybcio				frame-number = <1>;
2301*b79663a5SKrzysztof Kozlowski				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
2302b190fb01SKonrad Dybcio				reg = <0x17923000 0x1000>;
2303b190fb01SKonrad Dybcio				status = "disabled";
2304b190fb01SKonrad Dybcio			};
2305b190fb01SKonrad Dybcio
2306b190fb01SKonrad Dybcio			frame@17924000 {
2307b190fb01SKonrad Dybcio				frame-number = <2>;
2308*b79663a5SKrzysztof Kozlowski				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
2309b190fb01SKonrad Dybcio				reg = <0x17924000 0x1000>;
2310b190fb01SKonrad Dybcio				status = "disabled";
2311b190fb01SKonrad Dybcio			};
2312b190fb01SKonrad Dybcio
2313b190fb01SKonrad Dybcio			frame@17925000 {
2314b190fb01SKonrad Dybcio				frame-number = <3>;
2315*b79663a5SKrzysztof Kozlowski				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
2316b190fb01SKonrad Dybcio				reg = <0x17925000 0x1000>;
2317b190fb01SKonrad Dybcio				status = "disabled";
2318b190fb01SKonrad Dybcio			};
2319b190fb01SKonrad Dybcio
2320b190fb01SKonrad Dybcio			frame@17926000 {
2321b190fb01SKonrad Dybcio				frame-number = <4>;
2322*b79663a5SKrzysztof Kozlowski				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
2323b190fb01SKonrad Dybcio				reg = <0x17926000 0x1000>;
2324b190fb01SKonrad Dybcio				status = "disabled";
2325b190fb01SKonrad Dybcio			};
2326b190fb01SKonrad Dybcio
2327b190fb01SKonrad Dybcio			frame@17927000 {
2328b190fb01SKonrad Dybcio				frame-number = <5>;
2329*b79663a5SKrzysztof Kozlowski				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
2330b190fb01SKonrad Dybcio				reg = <0x17927000 0x1000>;
2331b190fb01SKonrad Dybcio				status = "disabled";
2332b190fb01SKonrad Dybcio			};
2333b190fb01SKonrad Dybcio
2334b190fb01SKonrad Dybcio			frame@17928000 {
2335b190fb01SKonrad Dybcio				frame-number = <6>;
2336*b79663a5SKrzysztof Kozlowski				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
2337b190fb01SKonrad Dybcio				reg = <0x17928000 0x1000>;
2338b190fb01SKonrad Dybcio				status = "disabled";
2339b190fb01SKonrad Dybcio			};
2340b190fb01SKonrad Dybcio		};
2341b190fb01SKonrad Dybcio
2342b190fb01SKonrad Dybcio		intc: interrupt-controller@17a00000 {
2343b190fb01SKonrad Dybcio			compatible = "arm,gic-v3";
2344b190fb01SKonrad Dybcio			reg = <0x17a00000 0x10000>,	   /* GICD */
2345b190fb01SKonrad Dybcio				  <0x17b00000 0x100000>;	  /* GICR * 8 */
2346b190fb01SKonrad Dybcio			#interrupt-cells = <3>;
2347b190fb01SKonrad Dybcio			#address-cells = <1>;
2348b190fb01SKonrad Dybcio			#size-cells = <1>;
2349b190fb01SKonrad Dybcio			ranges;
2350b190fb01SKonrad Dybcio			interrupt-controller;
2351b190fb01SKonrad Dybcio			#redistributor-regions = <1>;
2352b190fb01SKonrad Dybcio			redistributor-stride = <0x0 0x20000>;
2353b190fb01SKonrad Dybcio			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
2354b190fb01SKonrad Dybcio		};
2355b190fb01SKonrad Dybcio	};
2356b190fb01SKonrad Dybcio
23577ca2ebc9SKonrad Dybcio	sound: sound {
23587ca2ebc9SKonrad Dybcio	};
23597ca2ebc9SKonrad Dybcio
23603332c596SKonrad Dybcio	thermal-zones {
23613332c596SKonrad Dybcio		aoss-thermal {
23623332c596SKonrad Dybcio			polling-delay-passive = <250>;
23633332c596SKonrad Dybcio			polling-delay = <1000>;
23643332c596SKonrad Dybcio
23653332c596SKonrad Dybcio			thermal-sensors = <&tsens 0>;
23663332c596SKonrad Dybcio
23673332c596SKonrad Dybcio			trips {
23683332c596SKonrad Dybcio				aoss_alert0: trip-point0 {
23693332c596SKonrad Dybcio					temperature = <105000>;
23703332c596SKonrad Dybcio					hysteresis = <1000>;
23713332c596SKonrad Dybcio					type = "hot";
23723332c596SKonrad Dybcio				};
23733332c596SKonrad Dybcio			};
23743332c596SKonrad Dybcio		};
23753332c596SKonrad Dybcio
23763332c596SKonrad Dybcio		cpuss0-thermal {
23773332c596SKonrad Dybcio			polling-delay-passive = <250>;
23783332c596SKonrad Dybcio			polling-delay = <1000>;
23793332c596SKonrad Dybcio
23803332c596SKonrad Dybcio			thermal-sensors = <&tsens 1>;
23813332c596SKonrad Dybcio
23823332c596SKonrad Dybcio			trips {
23833332c596SKonrad Dybcio				cpuss0_alert0: trip-point0 {
23843332c596SKonrad Dybcio					temperature = <125000>;
23853332c596SKonrad Dybcio					hysteresis = <1000>;
23863332c596SKonrad Dybcio					type = "hot";
23873332c596SKonrad Dybcio				};
23883332c596SKonrad Dybcio			};
23893332c596SKonrad Dybcio		};
23903332c596SKonrad Dybcio
23913332c596SKonrad Dybcio		cpuss1-thermal {
23923332c596SKonrad Dybcio			polling-delay-passive = <250>;
23933332c596SKonrad Dybcio			polling-delay = <1000>;
23943332c596SKonrad Dybcio
23953332c596SKonrad Dybcio			thermal-sensors = <&tsens 2>;
23963332c596SKonrad Dybcio
23973332c596SKonrad Dybcio			trips {
23983332c596SKonrad Dybcio				cpuss1_alert0: trip-point0 {
23993332c596SKonrad Dybcio					temperature = <125000>;
24003332c596SKonrad Dybcio					hysteresis = <1000>;
24013332c596SKonrad Dybcio					type = "hot";
24023332c596SKonrad Dybcio				};
24033332c596SKonrad Dybcio			};
24043332c596SKonrad Dybcio		};
24053332c596SKonrad Dybcio
24063332c596SKonrad Dybcio		cpu0-thermal {
24073332c596SKonrad Dybcio			polling-delay-passive = <250>;
24083332c596SKonrad Dybcio			polling-delay = <1000>;
24093332c596SKonrad Dybcio
24103332c596SKonrad Dybcio			thermal-sensors = <&tsens 3>;
24113332c596SKonrad Dybcio
24123332c596SKonrad Dybcio			trips {
24133332c596SKonrad Dybcio				cpu0_alert0: trip-point0 {
24143332c596SKonrad Dybcio					temperature = <70000>;
24153332c596SKonrad Dybcio					hysteresis = <1000>;
24163332c596SKonrad Dybcio					type = "passive";
24173332c596SKonrad Dybcio				};
24183332c596SKonrad Dybcio
24191364acc3SKrzysztof Kozlowski				cpu0_crit: cpu-crit {
24203332c596SKonrad Dybcio					temperature = <110000>;
24213332c596SKonrad Dybcio					hysteresis = <1000>;
24223332c596SKonrad Dybcio					type = "critical";
24233332c596SKonrad Dybcio				};
24243332c596SKonrad Dybcio			};
24253332c596SKonrad Dybcio		};
24263332c596SKonrad Dybcio
24273332c596SKonrad Dybcio		cpu1-thermal {
24283332c596SKonrad Dybcio			polling-delay-passive = <250>;
24293332c596SKonrad Dybcio			polling-delay = <1000>;
24303332c596SKonrad Dybcio
24313332c596SKonrad Dybcio			thermal-sensors = <&tsens 4>;
24323332c596SKonrad Dybcio
24333332c596SKonrad Dybcio			trips {
24343332c596SKonrad Dybcio				cpu1_alert0: trip-point0 {
24353332c596SKonrad Dybcio					temperature = <70000>;
24363332c596SKonrad Dybcio					hysteresis = <1000>;
24373332c596SKonrad Dybcio					type = "passive";
24383332c596SKonrad Dybcio				};
24393332c596SKonrad Dybcio
24401364acc3SKrzysztof Kozlowski				cpu1_crit: cpu-crit {
24413332c596SKonrad Dybcio					temperature = <110000>;
24423332c596SKonrad Dybcio					hysteresis = <1000>;
24433332c596SKonrad Dybcio					type = "critical";
24443332c596SKonrad Dybcio				};
24453332c596SKonrad Dybcio			};
24463332c596SKonrad Dybcio		};
24473332c596SKonrad Dybcio
24483332c596SKonrad Dybcio		cpu2-thermal {
24493332c596SKonrad Dybcio			polling-delay-passive = <250>;
24503332c596SKonrad Dybcio			polling-delay = <1000>;
24513332c596SKonrad Dybcio
24523332c596SKonrad Dybcio			thermal-sensors = <&tsens 5>;
24533332c596SKonrad Dybcio
24543332c596SKonrad Dybcio			trips {
24553332c596SKonrad Dybcio				cpu2_alert0: trip-point0 {
24563332c596SKonrad Dybcio					temperature = <70000>;
24573332c596SKonrad Dybcio					hysteresis = <1000>;
24583332c596SKonrad Dybcio					type = "passive";
24593332c596SKonrad Dybcio				};
24603332c596SKonrad Dybcio
24611364acc3SKrzysztof Kozlowski				cpu2_crit: cpu-crit {
24623332c596SKonrad Dybcio					temperature = <110000>;
24633332c596SKonrad Dybcio					hysteresis = <1000>;
24643332c596SKonrad Dybcio					type = "critical";
24653332c596SKonrad Dybcio				};
24663332c596SKonrad Dybcio			};
24673332c596SKonrad Dybcio		};
24683332c596SKonrad Dybcio
24693332c596SKonrad Dybcio		cpu3-thermal {
24703332c596SKonrad Dybcio			polling-delay-passive = <250>;
24713332c596SKonrad Dybcio			polling-delay = <1000>;
24723332c596SKonrad Dybcio
24733332c596SKonrad Dybcio			thermal-sensors = <&tsens 6>;
24743332c596SKonrad Dybcio
24753332c596SKonrad Dybcio			trips {
24763332c596SKonrad Dybcio				cpu3_alert0: trip-point0 {
24773332c596SKonrad Dybcio					temperature = <70000>;
24783332c596SKonrad Dybcio					hysteresis = <1000>;
24793332c596SKonrad Dybcio					type = "passive";
24803332c596SKonrad Dybcio				};
24813332c596SKonrad Dybcio
24821364acc3SKrzysztof Kozlowski				cpu3_crit: cpu-crit {
24833332c596SKonrad Dybcio					temperature = <110000>;
24843332c596SKonrad Dybcio					hysteresis = <1000>;
24853332c596SKonrad Dybcio					type = "critical";
24863332c596SKonrad Dybcio				};
24873332c596SKonrad Dybcio			};
24883332c596SKonrad Dybcio		};
24893332c596SKonrad Dybcio
24903332c596SKonrad Dybcio		/*
24913332c596SKonrad Dybcio		 * According to what downstream DTS says,
24923332c596SKonrad Dybcio		 * the entire power efficient cluster has
24933332c596SKonrad Dybcio		 * only a single thermal sensor.
24943332c596SKonrad Dybcio		 */
24953332c596SKonrad Dybcio
24963332c596SKonrad Dybcio		pwr-cluster-thermal {
24973332c596SKonrad Dybcio			polling-delay-passive = <250>;
24983332c596SKonrad Dybcio			polling-delay = <1000>;
24993332c596SKonrad Dybcio
25003332c596SKonrad Dybcio			thermal-sensors = <&tsens 7>;
25013332c596SKonrad Dybcio
25023332c596SKonrad Dybcio			trips {
25033332c596SKonrad Dybcio				pwr_cluster_alert0: trip-point0 {
25043332c596SKonrad Dybcio					temperature = <70000>;
25053332c596SKonrad Dybcio					hysteresis = <1000>;
25063332c596SKonrad Dybcio					type = "passive";
25073332c596SKonrad Dybcio				};
25083332c596SKonrad Dybcio
25091364acc3SKrzysztof Kozlowski				pwr_cluster_crit: cpu-crit {
25103332c596SKonrad Dybcio					temperature = <110000>;
25113332c596SKonrad Dybcio					hysteresis = <1000>;
25123332c596SKonrad Dybcio					type = "critical";
25133332c596SKonrad Dybcio				};
25143332c596SKonrad Dybcio			};
25153332c596SKonrad Dybcio		};
25163332c596SKonrad Dybcio
25173332c596SKonrad Dybcio		gpu-thermal {
25183332c596SKonrad Dybcio			polling-delay-passive = <250>;
25193332c596SKonrad Dybcio			polling-delay = <1000>;
25203332c596SKonrad Dybcio
25213332c596SKonrad Dybcio			thermal-sensors = <&tsens 8>;
25223332c596SKonrad Dybcio
25233332c596SKonrad Dybcio			trips {
25243332c596SKonrad Dybcio				gpu_alert0: trip-point0 {
25253332c596SKonrad Dybcio					temperature = <90000>;
25263332c596SKonrad Dybcio					hysteresis = <1000>;
25273332c596SKonrad Dybcio					type = "hot";
25283332c596SKonrad Dybcio				};
25293332c596SKonrad Dybcio			};
25303332c596SKonrad Dybcio		};
25313332c596SKonrad Dybcio	};
25323332c596SKonrad Dybcio
2533b190fb01SKonrad Dybcio	timer {
2534b190fb01SKonrad Dybcio		compatible = "arm,armv8-timer";
2535b190fb01SKonrad Dybcio		interrupts = <GIC_PPI 1 0xf08>,
2536b190fb01SKonrad Dybcio				 <GIC_PPI 2 0xf08>,
2537b190fb01SKonrad Dybcio				 <GIC_PPI 3 0xf08>,
2538b190fb01SKonrad Dybcio				 <GIC_PPI 0 0xf08>;
2539b190fb01SKonrad Dybcio	};
2540b190fb01SKonrad Dybcio};
2541b190fb01SKonrad Dybcio
2542