blob: d42302b8889b6b18db2903d3a6c5cb8bd8b1ac85 [file] [log] [blame]
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * SDM845 SoC device tree source
4 *
5 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
6 */
7
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07008#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
Douglas Anderson897cf342018-06-13 09:53:51 -07009#include <dt-bindings/clock/qcom,gcc-sdm845.h>
Douglas Anderson9aa4a272018-11-28 10:57:43 -080010#include <dt-bindings/clock/qcom,gpucc-sdm845.h>
Sai Prakash Ranjanea0edd72019-01-09 23:16:49 +053011#include <dt-bindings/clock/qcom,lpass-sdm845.h>
Douglas Anderson717f2012018-06-18 14:50:51 -070012#include <dt-bindings/clock/qcom,rpmh.h>
Taniya Das05556682018-12-03 11:36:29 -080013#include <dt-bindings/clock/qcom,videocc-sdm845.h>
Georgi Djakov71f1fdd2019-03-11 16:06:02 +020014#include <dt-bindings/interconnect/qcom,sdm845.h>
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053015#include <dt-bindings/interrupt-controller/arm-gic.h>
Manu Gautamca4db2b2018-08-22 10:36:27 -070016#include <dt-bindings/phy/phy-qcom-qusb2.h>
Rajendra Nayak596a4342019-03-20 13:39:45 +053017#include <dt-bindings/power/qcom-rpmpd.h>
Sibi Sankaread5eea2018-09-01 15:23:55 -070018#include <dt-bindings/reset/qcom,sdm845-aoss.h>
Sibi Sankar13393da2018-10-26 17:56:53 +053019#include <dt-bindings/reset/qcom,sdm845-pdc.h>
Douglas Andersonc83545d2018-06-18 14:50:50 -070020#include <dt-bindings/soc/qcom,rpmh-rsc.h>
Amit Kucheriac47fc192019-02-06 16:04:49 +053021#include <dt-bindings/clock/qcom,gcc-sdm845.h>
22#include <dt-bindings/thermal/thermal.h>
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053023
24/ {
25 interrupt-parent = <&intc>;
26
27 #address-cells = <2>;
28 #size-cells = <2>;
29
Douglas Anderson897cf342018-06-13 09:53:51 -070030 aliases {
31 i2c0 = &i2c0;
32 i2c1 = &i2c1;
33 i2c2 = &i2c2;
34 i2c3 = &i2c3;
35 i2c4 = &i2c4;
36 i2c5 = &i2c5;
37 i2c6 = &i2c6;
38 i2c7 = &i2c7;
39 i2c8 = &i2c8;
40 i2c9 = &i2c9;
41 i2c10 = &i2c10;
42 i2c11 = &i2c11;
43 i2c12 = &i2c12;
44 i2c13 = &i2c13;
45 i2c14 = &i2c14;
46 i2c15 = &i2c15;
47 spi0 = &spi0;
48 spi1 = &spi1;
49 spi2 = &spi2;
50 spi3 = &spi3;
51 spi4 = &spi4;
52 spi5 = &spi5;
53 spi6 = &spi6;
54 spi7 = &spi7;
55 spi8 = &spi8;
56 spi9 = &spi9;
57 spi10 = &spi10;
58 spi11 = &spi11;
59 spi12 = &spi12;
60 spi13 = &spi13;
61 spi14 = &spi14;
62 spi15 = &spi15;
63 };
64
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053065 chosen { };
66
67 memory@80000000 {
68 device_type = "memory";
69 /* We expect the bootloader to fill in the size */
70 reg = <0 0x80000000 0 0>;
71 };
72
Sibi S71c84282018-04-30 20:14:28 +053073 reserved-memory {
74 #address-cells = <2>;
75 #size-cells = <2>;
76 ranges;
77
Bjorn Anderssona23b5372019-02-05 21:13:28 -080078 hyp_mem: memory@85700000 {
79 reg = <0 0x85700000 0 0x600000>;
80 no-map;
81 };
82
83 xbl_mem: memory@85e00000 {
84 reg = <0 0x85e00000 0 0x100000>;
85 no-map;
86 };
87
88 aop_mem: memory@85fc0000 {
Sibi S71c84282018-04-30 20:14:28 +053089 reg = <0 0x85fc0000 0 0x20000>;
90 no-map;
91 };
92
Bjorn Anderssona23b5372019-02-05 21:13:28 -080093 aop_cmd_db_mem: memory@85fe0000 {
Douglas Anderson2da52392018-05-14 21:43:06 -070094 compatible = "qcom,cmd-db";
Bjorn Anderssona23b5372019-02-05 21:13:28 -080095 reg = <0x0 0x85fe0000 0 0x20000>;
Douglas Anderson2da52392018-05-14 21:43:06 -070096 no-map;
97 };
98
Sibi S71c84282018-04-30 20:14:28 +053099 smem_mem: memory@86000000 {
Bjorn Anderssona23b5372019-02-05 21:13:28 -0800100 reg = <0x0 0x86000000 0 0x200000>;
Sibi S71c84282018-04-30 20:14:28 +0530101 no-map;
102 };
103
Bjorn Anderssona23b5372019-02-05 21:13:28 -0800104 tz_mem: memory@86200000 {
Sibi S71c84282018-04-30 20:14:28 +0530105 reg = <0 0x86200000 0 0x2d00000>;
106 no-map;
107 };
Govind Singh022bccb2018-11-05 18:38:37 +0530108
Bjorn Anderssonbdecbe62019-02-05 21:13:29 -0800109 rmtfs_mem: memory@88f00000 {
110 compatible = "qcom,rmtfs-mem";
111 reg = <0 0x88f00000 0 0x200000>;
112 no-map;
113
114 qcom,client-id = <1>;
115 qcom,vmid = <15>;
116 };
117
Bjorn Anderssona23b5372019-02-05 21:13:28 -0800118 qseecom_mem: memory@8ab00000 {
119 reg = <0 0x8ab00000 0 0x1400000>;
120 no-map;
121 };
122
123 camera_mem: memory@8bf00000 {
124 reg = <0 0x8bf00000 0 0x500000>;
125 no-map;
126 };
127
128 ipa_fw_mem: memory@8c400000 {
129 reg = <0 0x8c400000 0 0x10000>;
130 no-map;
131 };
132
133 ipa_gsi_mem: memory@8c410000 {
134 reg = <0 0x8c410000 0 0x5000>;
135 no-map;
136 };
137
138 gpu_mem: memory@8c415000 {
139 reg = <0 0x8c415000 0 0x2000>;
140 no-map;
141 };
142
143 adsp_mem: memory@8c500000 {
144 reg = <0 0x8c500000 0 0x1a00000>;
145 no-map;
146 };
147
148 wlan_msa_mem: memory@8df00000 {
149 reg = <0 0x8df00000 0 0x100000>;
Govind Singh022bccb2018-11-05 18:38:37 +0530150 no-map;
151 };
Sibi Sankar8ed6d482018-10-31 11:39:21 +0530152
153 mpss_region: memory@8e000000 {
154 reg = <0 0x8e000000 0 0x7800000>;
155 no-map;
156 };
157
Bjorn Anderssona23b5372019-02-05 21:13:28 -0800158 venus_mem: memory@95800000 {
159 reg = <0 0x95800000 0 0x500000>;
160 no-map;
161 };
162
163 cdsp_mem: memory@95d00000 {
164 reg = <0 0x95d00000 0 0x800000>;
165 no-map;
166 };
167
Sibi Sankar8ed6d482018-10-31 11:39:21 +0530168 mba_region: memory@96500000 {
169 reg = <0 0x96500000 0 0x200000>;
170 no-map;
171 };
Bjorn Anderssona23b5372019-02-05 21:13:28 -0800172
173 slpi_mem: memory@96700000 {
174 reg = <0 0x96700000 0 0x1400000>;
175 no-map;
176 };
177
178 spss_mem: memory@97b00000 {
179 reg = <0 0x97b00000 0 0x100000>;
180 no-map;
181 };
Sibi S71c84282018-04-30 20:14:28 +0530182 };
183
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530184 cpus {
185 #address-cells = <2>;
186 #size-cells = <0>;
187
188 CPU0: cpu@0 {
189 device_type = "cpu";
190 compatible = "qcom,kryo385";
191 reg = <0x0 0x0>;
192 enable-method = "psci";
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530193 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
194 &LITTLE_CPU_SLEEP_1
195 &CLUSTER_SLEEP_0>;
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800196 capacity-dmips-mhz = <607>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700197 dynamic-power-coefficient = <100>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530198 qcom,freq-domain = <&cpufreq_hw 0>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530199 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530200 next-level-cache = <&L2_0>;
201 L2_0: l2-cache {
202 compatible = "cache";
203 next-level-cache = <&L3_0>;
204 L3_0: l3-cache {
205 compatible = "cache";
206 };
207 };
208 };
209
210 CPU1: cpu@100 {
211 device_type = "cpu";
212 compatible = "qcom,kryo385";
213 reg = <0x0 0x100>;
214 enable-method = "psci";
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530215 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
216 &LITTLE_CPU_SLEEP_1
217 &CLUSTER_SLEEP_0>;
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800218 capacity-dmips-mhz = <607>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700219 dynamic-power-coefficient = <100>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530220 qcom,freq-domain = <&cpufreq_hw 0>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530221 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530222 next-level-cache = <&L2_100>;
223 L2_100: l2-cache {
224 compatible = "cache";
225 next-level-cache = <&L3_0>;
226 };
227 };
228
229 CPU2: cpu@200 {
230 device_type = "cpu";
231 compatible = "qcom,kryo385";
232 reg = <0x0 0x200>;
233 enable-method = "psci";
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530234 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
235 &LITTLE_CPU_SLEEP_1
236 &CLUSTER_SLEEP_0>;
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800237 capacity-dmips-mhz = <607>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700238 dynamic-power-coefficient = <100>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530239 qcom,freq-domain = <&cpufreq_hw 0>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530240 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530241 next-level-cache = <&L2_200>;
242 L2_200: l2-cache {
243 compatible = "cache";
244 next-level-cache = <&L3_0>;
245 };
246 };
247
248 CPU3: cpu@300 {
249 device_type = "cpu";
250 compatible = "qcom,kryo385";
251 reg = <0x0 0x300>;
252 enable-method = "psci";
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530253 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
254 &LITTLE_CPU_SLEEP_1
255 &CLUSTER_SLEEP_0>;
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800256 capacity-dmips-mhz = <607>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700257 dynamic-power-coefficient = <100>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530258 qcom,freq-domain = <&cpufreq_hw 0>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530259 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530260 next-level-cache = <&L2_300>;
261 L2_300: l2-cache {
262 compatible = "cache";
263 next-level-cache = <&L3_0>;
264 };
265 };
266
267 CPU4: cpu@400 {
268 device_type = "cpu";
269 compatible = "qcom,kryo385";
270 reg = <0x0 0x400>;
271 enable-method = "psci";
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800272 capacity-dmips-mhz = <1024>;
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530273 cpu-idle-states = <&BIG_CPU_SLEEP_0
274 &BIG_CPU_SLEEP_1
275 &CLUSTER_SLEEP_0>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700276 dynamic-power-coefficient = <396>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530277 qcom,freq-domain = <&cpufreq_hw 1>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530278 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530279 next-level-cache = <&L2_400>;
280 L2_400: l2-cache {
281 compatible = "cache";
282 next-level-cache = <&L3_0>;
283 };
284 };
285
286 CPU5: cpu@500 {
287 device_type = "cpu";
288 compatible = "qcom,kryo385";
289 reg = <0x0 0x500>;
290 enable-method = "psci";
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800291 capacity-dmips-mhz = <1024>;
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530292 cpu-idle-states = <&BIG_CPU_SLEEP_0
293 &BIG_CPU_SLEEP_1
294 &CLUSTER_SLEEP_0>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700295 dynamic-power-coefficient = <396>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530296 qcom,freq-domain = <&cpufreq_hw 1>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530297 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530298 next-level-cache = <&L2_500>;
299 L2_500: l2-cache {
300 compatible = "cache";
301 next-level-cache = <&L3_0>;
302 };
303 };
304
305 CPU6: cpu@600 {
306 device_type = "cpu";
307 compatible = "qcom,kryo385";
308 reg = <0x0 0x600>;
309 enable-method = "psci";
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800310 capacity-dmips-mhz = <1024>;
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530311 cpu-idle-states = <&BIG_CPU_SLEEP_0
312 &BIG_CPU_SLEEP_1
313 &CLUSTER_SLEEP_0>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700314 dynamic-power-coefficient = <396>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530315 qcom,freq-domain = <&cpufreq_hw 1>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530316 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530317 next-level-cache = <&L2_600>;
318 L2_600: l2-cache {
319 compatible = "cache";
320 next-level-cache = <&L3_0>;
321 };
322 };
323
324 CPU7: cpu@700 {
325 device_type = "cpu";
326 compatible = "qcom,kryo385";
327 reg = <0x0 0x700>;
328 enable-method = "psci";
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800329 capacity-dmips-mhz = <1024>;
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530330 cpu-idle-states = <&BIG_CPU_SLEEP_0
331 &BIG_CPU_SLEEP_1
332 &CLUSTER_SLEEP_0>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700333 dynamic-power-coefficient = <396>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530334 qcom,freq-domain = <&cpufreq_hw 1>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530335 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530336 next-level-cache = <&L2_700>;
337 L2_700: l2-cache {
338 compatible = "cache";
339 next-level-cache = <&L3_0>;
340 };
341 };
Matthias Kaehlcke7b5ee832019-01-14 10:42:55 -0800342
343 cpu-map {
344 cluster0 {
345 core0 {
346 cpu = <&CPU0>;
347 };
348
349 core1 {
350 cpu = <&CPU1>;
351 };
352
353 core2 {
354 cpu = <&CPU2>;
355 };
356
357 core3 {
358 cpu = <&CPU3>;
359 };
Matthias Kaehlcke7b5ee832019-01-14 10:42:55 -0800360
Amit Kucheria14d27be2019-05-13 17:08:33 +0530361 core4 {
Matthias Kaehlcke7b5ee832019-01-14 10:42:55 -0800362 cpu = <&CPU4>;
363 };
364
Amit Kucheria14d27be2019-05-13 17:08:33 +0530365 core5 {
Matthias Kaehlcke7b5ee832019-01-14 10:42:55 -0800366 cpu = <&CPU5>;
367 };
368
Amit Kucheria14d27be2019-05-13 17:08:33 +0530369 core6 {
Matthias Kaehlcke7b5ee832019-01-14 10:42:55 -0800370 cpu = <&CPU6>;
371 };
372
Amit Kucheria14d27be2019-05-13 17:08:33 +0530373 core7 {
Matthias Kaehlcke7b5ee832019-01-14 10:42:55 -0800374 cpu = <&CPU7>;
375 };
376 };
377 };
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530378
379 idle-states {
380 entry-method = "psci";
381
382 LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
383 compatible = "arm,idle-state";
384 idle-state-name = "little-power-down";
385 arm,psci-suspend-param = <0x40000003>;
386 entry-latency-us = <350>;
387 exit-latency-us = <461>;
388 min-residency-us = <1890>;
389 local-timer-stop;
390 };
391
392 LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 {
393 compatible = "arm,idle-state";
394 idle-state-name = "little-rail-power-down";
395 arm,psci-suspend-param = <0x40000004>;
396 entry-latency-us = <360>;
397 exit-latency-us = <531>;
398 min-residency-us = <3934>;
399 local-timer-stop;
400 };
401
402 BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
403 compatible = "arm,idle-state";
404 idle-state-name = "big-power-down";
405 arm,psci-suspend-param = <0x40000003>;
406 entry-latency-us = <264>;
407 exit-latency-us = <621>;
408 min-residency-us = <952>;
409 local-timer-stop;
410 };
411
412 BIG_CPU_SLEEP_1: cpu-sleep-1-1 {
413 compatible = "arm,idle-state";
414 idle-state-name = "big-rail-power-down";
415 arm,psci-suspend-param = <0x40000004>;
416 entry-latency-us = <702>;
417 exit-latency-us = <1061>;
418 min-residency-us = <4488>;
419 local-timer-stop;
420 };
421
422 CLUSTER_SLEEP_0: cluster-sleep-0 {
423 compatible = "arm,idle-state";
424 idle-state-name = "cluster-power-down";
425 arm,psci-suspend-param = <0x400000F4>;
426 entry-latency-us = <3263>;
427 exit-latency-us = <6562>;
428 min-residency-us = <9987>;
429 local-timer-stop;
430 };
431 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530432 };
433
Stephen Boyd000c4662018-05-21 23:23:52 -0700434 pmu {
435 compatible = "arm,armv8-pmuv3";
436 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
437 };
438
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530439 timer {
440 compatible = "arm,armv8-timer";
441 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
442 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
443 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
444 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
445 };
446
447 clocks {
448 xo_board: xo-board {
449 compatible = "fixed-clock";
450 #clock-cells = <0>;
Douglas Anderson5ea39392018-05-09 13:05:28 -0700451 clock-frequency = <38400000>;
452 clock-output-names = "xo_board";
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530453 };
454
455 sleep_clk: sleep-clk {
456 compatible = "fixed-clock";
457 #clock-cells = <0>;
458 clock-frequency = <32764>;
459 };
460 };
461
Sibi Sankar77bb7f92018-10-26 17:55:42 +0530462 firmware {
463 scm {
464 compatible = "qcom,scm-sdm845", "qcom,scm";
465 };
466 };
467
Bjorn Andersson6ef7c112019-02-05 21:13:30 -0800468 adsp_pas: remoteproc-adsp {
469 compatible = "qcom,sdm845-adsp-pas";
470
471 interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
472 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
473 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
474 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
475 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
476 interrupt-names = "wdog", "fatal", "ready",
477 "handover", "stop-ack";
478
479 clocks = <&rpmhcc RPMH_CXO_CLK>;
480 clock-names = "xo";
481
482 memory-region = <&adsp_mem>;
483
484 qcom,smem-states = <&adsp_smp2p_out 0>;
485 qcom,smem-state-names = "stop";
486
487 status = "disabled";
488
489 glink-edge {
490 interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
491 label = "lpass";
492 qcom,remote-pid = <2>;
493 mboxes = <&apss_shared 8>;
Srinivas Kandagatlab4d08172019-08-21 13:50:35 +0100494 fastrpc {
495 compatible = "qcom,fastrpc";
496 qcom,glink-channels = "fastrpcglink-apps-dsp";
497 label = "adsp";
498 #address-cells = <1>;
499 #size-cells = <0>;
500
501 compute-cb@3 {
502 compatible = "qcom,fastrpc-compute-cb";
503 reg = <3>;
504 iommus = <&apps_smmu 0x1823 0x0>;
505 };
506
507 compute-cb@4 {
508 compatible = "qcom,fastrpc-compute-cb";
509 reg = <4>;
510 iommus = <&apps_smmu 0x1824 0x0>;
511 };
512 };
Bjorn Andersson6ef7c112019-02-05 21:13:30 -0800513 };
514 };
515
516 cdsp_pas: remoteproc-cdsp {
517 compatible = "qcom,sdm845-cdsp-pas";
518
519 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
520 <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
521 <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
522 <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
523 <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
524 interrupt-names = "wdog", "fatal", "ready",
525 "handover", "stop-ack";
526
527 clocks = <&rpmhcc RPMH_CXO_CLK>;
528 clock-names = "xo";
529
530 memory-region = <&cdsp_mem>;
531
532 qcom,smem-states = <&cdsp_smp2p_out 0>;
533 qcom,smem-state-names = "stop";
534
535 status = "disabled";
536
537 glink-edge {
538 interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>;
539 label = "turing";
540 qcom,remote-pid = <5>;
541 mboxes = <&apss_shared 4>;
Srinivas Kandagatlab4d08172019-08-21 13:50:35 +0100542 fastrpc {
543 compatible = "qcom,fastrpc";
544 qcom,glink-channels = "fastrpcglink-apps-dsp";
545 label = "cdsp";
546 #address-cells = <1>;
547 #size-cells = <0>;
548
549 compute-cb@1 {
550 compatible = "qcom,fastrpc-compute-cb";
551 reg = <1>;
552 iommus = <&apps_smmu 0x1401 0x30>;
553 };
554
555 compute-cb@2 {
556 compatible = "qcom,fastrpc-compute-cb";
557 reg = <2>;
558 iommus = <&apps_smmu 0x1402 0x30>;
559 };
560
561 compute-cb@3 {
562 compatible = "qcom,fastrpc-compute-cb";
563 reg = <3>;
564 iommus = <&apps_smmu 0x1403 0x30>;
565 };
566
567 compute-cb@4 {
568 compatible = "qcom,fastrpc-compute-cb";
569 reg = <4>;
570 iommus = <&apps_smmu 0x1404 0x30>;
571 };
572
573 compute-cb@5 {
574 compatible = "qcom,fastrpc-compute-cb";
575 reg = <5>;
576 iommus = <&apps_smmu 0x1405 0x30>;
577 };
578
579 compute-cb@6 {
580 compatible = "qcom,fastrpc-compute-cb";
581 reg = <6>;
582 iommus = <&apps_smmu 0x1406 0x30>;
583 };
584
585 compute-cb@7 {
586 compatible = "qcom,fastrpc-compute-cb";
587 reg = <7>;
588 iommus = <&apps_smmu 0x1407 0x30>;
589 };
590
591 compute-cb@8 {
592 compatible = "qcom,fastrpc-compute-cb";
593 reg = <8>;
594 iommus = <&apps_smmu 0x1408 0x30>;
595 };
596 };
Bjorn Andersson6ef7c112019-02-05 21:13:30 -0800597 };
598 };
599
Sibi S71c84282018-04-30 20:14:28 +0530600 tcsr_mutex: hwlock {
601 compatible = "qcom,tcsr-mutex";
602 syscon = <&tcsr_mutex_regs 0 0x1000>;
603 #hwlock-cells = <1>;
604 };
605
606 smem {
607 compatible = "qcom,smem";
608 memory-region = <&smem_mem>;
609 hwlocks = <&tcsr_mutex 3>;
610 };
611
Bjorn Andersson3debb1f2018-09-01 15:27:21 -0700612 smp2p-cdsp {
613 compatible = "qcom,smp2p";
614 qcom,smem = <94>, <432>;
615
616 interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
617
618 mboxes = <&apss_shared 6>;
619
620 qcom,local-pid = <0>;
621 qcom,remote-pid = <5>;
622
623 cdsp_smp2p_out: master-kernel {
624 qcom,entry-name = "master-kernel";
625 #qcom,smem-state-cells = <1>;
626 };
627
628 cdsp_smp2p_in: slave-kernel {
629 qcom,entry-name = "slave-kernel";
630
631 interrupt-controller;
632 #interrupt-cells = <2>;
633 };
634 };
635
636 smp2p-lpass {
637 compatible = "qcom,smp2p";
638 qcom,smem = <443>, <429>;
639
640 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
641
642 mboxes = <&apss_shared 10>;
643
644 qcom,local-pid = <0>;
645 qcom,remote-pid = <2>;
646
647 adsp_smp2p_out: master-kernel {
648 qcom,entry-name = "master-kernel";
649 #qcom,smem-state-cells = <1>;
650 };
651
652 adsp_smp2p_in: slave-kernel {
653 qcom,entry-name = "slave-kernel";
654
655 interrupt-controller;
656 #interrupt-cells = <2>;
657 };
658 };
659
660 smp2p-mpss {
661 compatible = "qcom,smp2p";
662 qcom,smem = <435>, <428>;
663 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
664 mboxes = <&apss_shared 14>;
665 qcom,local-pid = <0>;
666 qcom,remote-pid = <1>;
667
668 modem_smp2p_out: master-kernel {
669 qcom,entry-name = "master-kernel";
670 #qcom,smem-state-cells = <1>;
671 };
672
673 modem_smp2p_in: slave-kernel {
674 qcom,entry-name = "slave-kernel";
675 interrupt-controller;
676 #interrupt-cells = <2>;
677 };
678 };
679
680 smp2p-slpi {
681 compatible = "qcom,smp2p";
682 qcom,smem = <481>, <430>;
683 interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
684 mboxes = <&apss_shared 26>;
685 qcom,local-pid = <0>;
686 qcom,remote-pid = <3>;
687
688 slpi_smp2p_out: master-kernel {
689 qcom,entry-name = "master-kernel";
690 #qcom,smem-state-cells = <1>;
691 };
692
693 slpi_smp2p_in: slave-kernel {
694 qcom,entry-name = "slave-kernel";
695 interrupt-controller;
696 #interrupt-cells = <2>;
697 };
698 };
699
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530700 psci {
701 compatible = "arm,psci-1.0";
702 method = "smc";
703 };
704
Vinod Koula1875bf2019-07-24 10:19:02 +0530705 soc: soc@0 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800706 #address-cells = <2>;
707 #size-cells = <2>;
Bjorn Andersson9feb6672019-01-16 20:29:40 -0800708 ranges = <0 0 0 0 0x10 0>;
709 dma-ranges = <0 0 0 0 0x10 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530710 compatible = "simple-bus";
711
Douglas Anderson54d7a202018-05-14 20:59:22 -0700712 gcc: clock-controller@100000 {
713 compatible = "qcom,gcc-sdm845";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800714 reg = <0 0x00100000 0 0x1f0000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -0700715 #clock-cells = <1>;
716 #reset-cells = <1>;
717 #power-domain-cells = <1>;
718 };
719
Manu Gautamca4db2b2018-08-22 10:36:27 -0700720 qfprom@784000 {
721 compatible = "qcom,qfprom";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800722 reg = <0 0x00784000 0 0x8ff>;
Manu Gautamca4db2b2018-08-22 10:36:27 -0700723 #address-cells = <1>;
724 #size-cells = <1>;
725
726 qusb2p_hstx_trim: hstx-trim-primary@1eb {
727 reg = <0x1eb 0x1>;
728 bits = <1 4>;
729 };
730
731 qusb2s_hstx_trim: hstx-trim-secondary@1eb {
732 reg = <0x1eb 0x2>;
733 bits = <6 4>;
734 };
735 };
736
Vinod Koul6e17f8142018-10-01 11:51:51 +0530737 rng: rng@793000 {
738 compatible = "qcom,prng-ee";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800739 reg = <0 0x00793000 0 0x1000>;
Vinod Koul6e17f8142018-10-01 11:51:51 +0530740 clocks = <&gcc GCC_PRNG_AHB_CLK>;
741 clock-names = "core";
742 };
743
Douglas Anderson897cf342018-06-13 09:53:51 -0700744 qupv3_id_0: geniqup@8c0000 {
745 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800746 reg = <0 0x008c0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700747 clock-names = "m-ahb", "s-ahb";
748 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
749 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800750 #address-cells = <2>;
751 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700752 ranges;
Douglas Anderson499ff112018-06-29 11:45:27 -0700753 status = "disabled";
Douglas Anderson897cf342018-06-13 09:53:51 -0700754
755 i2c0: i2c@880000 {
756 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800757 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700758 clock-names = "se";
759 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
760 pinctrl-names = "default";
761 pinctrl-0 = <&qup_i2c0_default>;
762 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
763 #address-cells = <1>;
764 #size-cells = <0>;
765 status = "disabled";
766 };
767
768 spi0: spi@880000 {
769 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800770 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700771 clock-names = "se";
772 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
773 pinctrl-names = "default";
774 pinctrl-0 = <&qup_spi0_default>;
775 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
776 #address-cells = <1>;
777 #size-cells = <0>;
778 status = "disabled";
779 };
780
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700781 uart0: serial@880000 {
782 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800783 reg = <0 0x00880000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700784 clock-names = "se";
785 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
786 pinctrl-names = "default";
787 pinctrl-0 = <&qup_uart0_default>;
788 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
789 status = "disabled";
790 };
791
Douglas Anderson897cf342018-06-13 09:53:51 -0700792 i2c1: i2c@884000 {
793 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800794 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700795 clock-names = "se";
796 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
797 pinctrl-names = "default";
798 pinctrl-0 = <&qup_i2c1_default>;
799 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
800 #address-cells = <1>;
801 #size-cells = <0>;
802 status = "disabled";
803 };
804
805 spi1: spi@884000 {
806 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800807 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700808 clock-names = "se";
809 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
810 pinctrl-names = "default";
811 pinctrl-0 = <&qup_spi1_default>;
812 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
813 #address-cells = <1>;
814 #size-cells = <0>;
815 status = "disabled";
816 };
817
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700818 uart1: serial@884000 {
819 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800820 reg = <0 0x00884000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700821 clock-names = "se";
822 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
823 pinctrl-names = "default";
824 pinctrl-0 = <&qup_uart1_default>;
825 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
826 status = "disabled";
827 };
828
Douglas Anderson897cf342018-06-13 09:53:51 -0700829 i2c2: i2c@888000 {
830 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800831 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700832 clock-names = "se";
833 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
834 pinctrl-names = "default";
835 pinctrl-0 = <&qup_i2c2_default>;
836 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
837 #address-cells = <1>;
838 #size-cells = <0>;
839 status = "disabled";
840 };
841
842 spi2: spi@888000 {
843 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800844 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700845 clock-names = "se";
846 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
847 pinctrl-names = "default";
848 pinctrl-0 = <&qup_spi2_default>;
849 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
850 #address-cells = <1>;
851 #size-cells = <0>;
852 status = "disabled";
853 };
854
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700855 uart2: serial@888000 {
856 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800857 reg = <0 0x00888000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700858 clock-names = "se";
859 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
860 pinctrl-names = "default";
861 pinctrl-0 = <&qup_uart2_default>;
862 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
863 status = "disabled";
864 };
865
Douglas Anderson897cf342018-06-13 09:53:51 -0700866 i2c3: i2c@88c000 {
867 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800868 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700869 clock-names = "se";
870 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
871 pinctrl-names = "default";
872 pinctrl-0 = <&qup_i2c3_default>;
873 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
874 #address-cells = <1>;
875 #size-cells = <0>;
876 status = "disabled";
877 };
878
879 spi3: spi@88c000 {
880 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800881 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700882 clock-names = "se";
883 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
884 pinctrl-names = "default";
885 pinctrl-0 = <&qup_spi3_default>;
886 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
887 #address-cells = <1>;
888 #size-cells = <0>;
889 status = "disabled";
890 };
891
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700892 uart3: serial@88c000 {
893 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800894 reg = <0 0x0088c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700895 clock-names = "se";
896 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
897 pinctrl-names = "default";
898 pinctrl-0 = <&qup_uart3_default>;
899 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
900 status = "disabled";
901 };
902
Douglas Anderson897cf342018-06-13 09:53:51 -0700903 i2c4: i2c@890000 {
904 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800905 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700906 clock-names = "se";
907 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
908 pinctrl-names = "default";
909 pinctrl-0 = <&qup_i2c4_default>;
910 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
911 #address-cells = <1>;
912 #size-cells = <0>;
913 status = "disabled";
914 };
915
916 spi4: spi@890000 {
917 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800918 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700919 clock-names = "se";
920 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
921 pinctrl-names = "default";
922 pinctrl-0 = <&qup_spi4_default>;
923 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
924 #address-cells = <1>;
925 #size-cells = <0>;
926 status = "disabled";
927 };
928
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700929 uart4: serial@890000 {
930 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800931 reg = <0 0x00890000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700932 clock-names = "se";
933 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
934 pinctrl-names = "default";
935 pinctrl-0 = <&qup_uart4_default>;
936 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
937 status = "disabled";
938 };
939
Douglas Anderson897cf342018-06-13 09:53:51 -0700940 i2c5: i2c@894000 {
941 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800942 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700943 clock-names = "se";
944 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
945 pinctrl-names = "default";
946 pinctrl-0 = <&qup_i2c5_default>;
947 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
948 #address-cells = <1>;
949 #size-cells = <0>;
950 status = "disabled";
951 };
952
953 spi5: spi@894000 {
954 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800955 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700956 clock-names = "se";
957 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
958 pinctrl-names = "default";
959 pinctrl-0 = <&qup_spi5_default>;
960 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
961 #address-cells = <1>;
962 #size-cells = <0>;
963 status = "disabled";
964 };
965
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700966 uart5: serial@894000 {
967 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800968 reg = <0 0x00894000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700969 clock-names = "se";
970 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
971 pinctrl-names = "default";
972 pinctrl-0 = <&qup_uart5_default>;
973 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
974 status = "disabled";
975 };
976
Douglas Anderson897cf342018-06-13 09:53:51 -0700977 i2c6: i2c@898000 {
978 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800979 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700980 clock-names = "se";
981 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
982 pinctrl-names = "default";
983 pinctrl-0 = <&qup_i2c6_default>;
984 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
985 #address-cells = <1>;
986 #size-cells = <0>;
987 status = "disabled";
988 };
989
990 spi6: spi@898000 {
991 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800992 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700993 clock-names = "se";
994 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
995 pinctrl-names = "default";
996 pinctrl-0 = <&qup_spi6_default>;
997 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
998 #address-cells = <1>;
999 #size-cells = <0>;
1000 status = "disabled";
1001 };
1002
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001003 uart6: serial@898000 {
1004 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001005 reg = <0 0x00898000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001006 clock-names = "se";
1007 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1008 pinctrl-names = "default";
1009 pinctrl-0 = <&qup_uart6_default>;
1010 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1011 status = "disabled";
1012 };
1013
Douglas Anderson897cf342018-06-13 09:53:51 -07001014 i2c7: i2c@89c000 {
1015 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001016 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001017 clock-names = "se";
1018 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1019 pinctrl-names = "default";
1020 pinctrl-0 = <&qup_i2c7_default>;
1021 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1022 #address-cells = <1>;
1023 #size-cells = <0>;
1024 status = "disabled";
1025 };
1026
1027 spi7: spi@89c000 {
1028 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001029 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001030 clock-names = "se";
1031 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1032 pinctrl-names = "default";
1033 pinctrl-0 = <&qup_spi7_default>;
1034 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1035 #address-cells = <1>;
1036 #size-cells = <0>;
1037 status = "disabled";
1038 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001039
1040 uart7: serial@89c000 {
1041 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001042 reg = <0 0x0089c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001043 clock-names = "se";
1044 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1045 pinctrl-names = "default";
1046 pinctrl-0 = <&qup_uart7_default>;
1047 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1048 status = "disabled";
1049 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001050 };
1051
1052 qupv3_id_1: geniqup@ac0000 {
1053 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001054 reg = <0 0x00ac0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001055 clock-names = "m-ahb", "s-ahb";
1056 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
1057 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001058 #address-cells = <2>;
1059 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001060 ranges;
1061 status = "disabled";
1062
1063 i2c8: i2c@a80000 {
1064 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001065 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001066 clock-names = "se";
1067 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1068 pinctrl-names = "default";
1069 pinctrl-0 = <&qup_i2c8_default>;
1070 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1071 #address-cells = <1>;
1072 #size-cells = <0>;
1073 status = "disabled";
1074 };
1075
1076 spi8: spi@a80000 {
1077 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001078 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001079 clock-names = "se";
1080 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1081 pinctrl-names = "default";
1082 pinctrl-0 = <&qup_spi8_default>;
1083 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1084 #address-cells = <1>;
1085 #size-cells = <0>;
1086 status = "disabled";
1087 };
1088
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001089 uart8: serial@a80000 {
1090 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001091 reg = <0 0x00a80000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001092 clock-names = "se";
1093 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1094 pinctrl-names = "default";
1095 pinctrl-0 = <&qup_uart8_default>;
1096 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1097 status = "disabled";
1098 };
1099
Douglas Anderson897cf342018-06-13 09:53:51 -07001100 i2c9: i2c@a84000 {
1101 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001102 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001103 clock-names = "se";
1104 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1105 pinctrl-names = "default";
1106 pinctrl-0 = <&qup_i2c9_default>;
1107 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1108 #address-cells = <1>;
1109 #size-cells = <0>;
1110 status = "disabled";
1111 };
1112
1113 spi9: spi@a84000 {
1114 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001115 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001116 clock-names = "se";
1117 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1118 pinctrl-names = "default";
1119 pinctrl-0 = <&qup_spi9_default>;
1120 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1121 #address-cells = <1>;
1122 #size-cells = <0>;
1123 status = "disabled";
1124 };
1125
1126 uart9: serial@a84000 {
1127 compatible = "qcom,geni-debug-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001128 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001129 clock-names = "se";
1130 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1131 pinctrl-names = "default";
1132 pinctrl-0 = <&qup_uart9_default>;
1133 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1134 status = "disabled";
1135 };
1136
1137 i2c10: i2c@a88000 {
1138 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001139 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001140 clock-names = "se";
1141 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1142 pinctrl-names = "default";
1143 pinctrl-0 = <&qup_i2c10_default>;
1144 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1145 #address-cells = <1>;
1146 #size-cells = <0>;
1147 status = "disabled";
1148 };
1149
1150 spi10: spi@a88000 {
1151 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001152 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001153 clock-names = "se";
1154 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1155 pinctrl-names = "default";
1156 pinctrl-0 = <&qup_spi10_default>;
1157 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1158 #address-cells = <1>;
1159 #size-cells = <0>;
1160 status = "disabled";
1161 };
1162
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001163 uart10: serial@a88000 {
1164 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001165 reg = <0 0x00a88000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001166 clock-names = "se";
1167 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1168 pinctrl-names = "default";
1169 pinctrl-0 = <&qup_uart10_default>;
1170 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1171 status = "disabled";
1172 };
1173
Douglas Anderson897cf342018-06-13 09:53:51 -07001174 i2c11: i2c@a8c000 {
1175 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001176 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001177 clock-names = "se";
1178 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1179 pinctrl-names = "default";
1180 pinctrl-0 = <&qup_i2c11_default>;
1181 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1182 #address-cells = <1>;
1183 #size-cells = <0>;
1184 status = "disabled";
1185 };
1186
1187 spi11: spi@a8c000 {
1188 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001189 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001190 clock-names = "se";
1191 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1192 pinctrl-names = "default";
1193 pinctrl-0 = <&qup_spi11_default>;
1194 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1195 #address-cells = <1>;
1196 #size-cells = <0>;
1197 status = "disabled";
1198 };
1199
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001200 uart11: serial@a8c000 {
1201 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001202 reg = <0 0x00a8c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001203 clock-names = "se";
1204 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1205 pinctrl-names = "default";
1206 pinctrl-0 = <&qup_uart11_default>;
1207 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1208 status = "disabled";
1209 };
1210
Douglas Anderson897cf342018-06-13 09:53:51 -07001211 i2c12: i2c@a90000 {
1212 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001213 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001214 clock-names = "se";
1215 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1216 pinctrl-names = "default";
1217 pinctrl-0 = <&qup_i2c12_default>;
1218 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1219 #address-cells = <1>;
1220 #size-cells = <0>;
1221 status = "disabled";
1222 };
1223
1224 spi12: spi@a90000 {
1225 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001226 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001227 clock-names = "se";
1228 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1229 pinctrl-names = "default";
1230 pinctrl-0 = <&qup_spi12_default>;
1231 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1232 #address-cells = <1>;
1233 #size-cells = <0>;
1234 status = "disabled";
1235 };
1236
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001237 uart12: serial@a90000 {
1238 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001239 reg = <0 0x00a90000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001240 clock-names = "se";
1241 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1242 pinctrl-names = "default";
1243 pinctrl-0 = <&qup_uart12_default>;
1244 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1245 status = "disabled";
1246 };
1247
Douglas Anderson897cf342018-06-13 09:53:51 -07001248 i2c13: i2c@a94000 {
1249 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001250 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001251 clock-names = "se";
1252 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1253 pinctrl-names = "default";
1254 pinctrl-0 = <&qup_i2c13_default>;
1255 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1256 #address-cells = <1>;
1257 #size-cells = <0>;
1258 status = "disabled";
1259 };
1260
1261 spi13: spi@a94000 {
1262 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001263 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001264 clock-names = "se";
1265 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1266 pinctrl-names = "default";
1267 pinctrl-0 = <&qup_spi13_default>;
1268 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1269 #address-cells = <1>;
1270 #size-cells = <0>;
1271 status = "disabled";
1272 };
1273
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001274 uart13: serial@a94000 {
1275 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001276 reg = <0 0x00a94000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001277 clock-names = "se";
1278 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1279 pinctrl-names = "default";
1280 pinctrl-0 = <&qup_uart13_default>;
1281 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1282 status = "disabled";
1283 };
1284
Douglas Anderson897cf342018-06-13 09:53:51 -07001285 i2c14: i2c@a98000 {
1286 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001287 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001288 clock-names = "se";
1289 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1290 pinctrl-names = "default";
1291 pinctrl-0 = <&qup_i2c14_default>;
1292 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1293 #address-cells = <1>;
1294 #size-cells = <0>;
1295 status = "disabled";
1296 };
1297
1298 spi14: spi@a98000 {
1299 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001300 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001301 clock-names = "se";
1302 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1303 pinctrl-names = "default";
1304 pinctrl-0 = <&qup_spi14_default>;
1305 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1306 #address-cells = <1>;
1307 #size-cells = <0>;
1308 status = "disabled";
1309 };
1310
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001311 uart14: serial@a98000 {
1312 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001313 reg = <0 0x00a98000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001314 clock-names = "se";
1315 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1316 pinctrl-names = "default";
1317 pinctrl-0 = <&qup_uart14_default>;
1318 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1319 status = "disabled";
1320 };
1321
Douglas Anderson897cf342018-06-13 09:53:51 -07001322 i2c15: i2c@a9c000 {
1323 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001324 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001325 clock-names = "se";
1326 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1327 pinctrl-names = "default";
1328 pinctrl-0 = <&qup_i2c15_default>;
1329 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1330 #address-cells = <1>;
1331 #size-cells = <0>;
1332 status = "disabled";
1333 };
1334
1335 spi15: spi@a9c000 {
1336 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001337 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001338 clock-names = "se";
1339 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1340 pinctrl-names = "default";
1341 pinctrl-0 = <&qup_spi15_default>;
1342 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1343 #address-cells = <1>;
1344 #size-cells = <0>;
1345 status = "disabled";
1346 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001347
1348 uart15: serial@a9c000 {
1349 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001350 reg = <0 0x00a9c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001351 clock-names = "se";
1352 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1353 pinctrl-names = "default";
1354 pinctrl-0 = <&qup_uart15_default>;
1355 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1356 status = "disabled";
1357 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001358 };
1359
Sai Prakash Ranjan39abbd32019-11-15 16:29:12 +05301360 system-cache-controller@1100000 {
Sai Prakash Ranjanba0411d2019-07-10 16:59:24 +05301361 compatible = "qcom,sdm845-llcc";
1362 reg = <0 0x01100000 0 0x200000>, <0 0x01300000 0 0x50000>;
1363 reg-names = "llcc_base", "llcc_broadcast_base";
1364 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
1365 };
1366
Evan Greencc166872018-12-10 11:28:24 -08001367 ufs_mem_hc: ufshc@1d84000 {
1368 compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
1369 "jedec,ufs-2.0";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001370 reg = <0 0x01d84000 0 0x2500>;
Evan Greencc166872018-12-10 11:28:24 -08001371 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1372 phys = <&ufs_mem_phy_lanes>;
1373 phy-names = "ufsphy";
1374 lanes-per-direction = <2>;
1375 power-domains = <&gcc UFS_PHY_GDSC>;
Evan Green71278b02019-03-21 10:17:56 -07001376 #reset-cells = <1>;
Vinod Koula8aa4812020-01-06 12:38:26 +05301377 resets = <&gcc GCC_UFS_PHY_BCR>;
1378 reset-names = "rst";
Evan Greencc166872018-12-10 11:28:24 -08001379
1380 iommus = <&apps_smmu 0x100 0xf>;
1381
1382 clock-names =
1383 "core_clk",
1384 "bus_aggr_clk",
1385 "iface_clk",
1386 "core_clk_unipro",
1387 "ref_clk",
1388 "tx_lane0_sync_clk",
1389 "rx_lane0_sync_clk",
1390 "rx_lane1_sync_clk";
1391 clocks =
1392 <&gcc GCC_UFS_PHY_AXI_CLK>,
1393 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1394 <&gcc GCC_UFS_PHY_AHB_CLK>,
1395 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1396 <&rpmhcc RPMH_CXO_CLK>,
1397 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1398 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1399 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1400 freq-table-hz =
1401 <50000000 200000000>,
1402 <0 0>,
1403 <0 0>,
1404 <37500000 150000000>,
1405 <0 0>,
1406 <0 0>,
1407 <0 0>,
1408 <0 0>;
1409
1410 status = "disabled";
1411 };
1412
1413 ufs_mem_phy: phy@1d87000 {
1414 compatible = "qcom,sdm845-qmp-ufs-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001415 reg = <0 0x01d87000 0 0x18c>;
1416 #address-cells = <2>;
1417 #size-cells = <2>;
Evan Greencc166872018-12-10 11:28:24 -08001418 ranges;
1419 clock-names = "ref",
1420 "ref_aux";
1421 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
1422 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1423
Evan Green71278b02019-03-21 10:17:56 -07001424 resets = <&ufs_mem_hc 0>;
1425 reset-names = "ufsphy";
Evan Greencc166872018-12-10 11:28:24 -08001426 status = "disabled";
1427
1428 ufs_mem_phy_lanes: lanes@1d87400 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001429 reg = <0 0x01d87400 0 0x108>,
1430 <0 0x01d87600 0 0x1e0>,
1431 <0 0x01d87c00 0 0x1dc>,
1432 <0 0x01d87800 0 0x108>,
1433 <0 0x01d87a00 0 0x1e0>;
Evan Greencc166872018-12-10 11:28:24 -08001434 #phy-cells = <0>;
1435 };
1436 };
1437
Douglas Anderson54d7a202018-05-14 20:59:22 -07001438 tcsr_mutex_regs: syscon@1f40000 {
1439 compatible = "syscon";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001440 reg = <0 0x01f40000 0 0x40000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001441 };
1442
1443 tlmm: pinctrl@3400000 {
1444 compatible = "qcom,sdm845-pinctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001445 reg = <0 0x03400000 0 0xc00000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001446 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1447 gpio-controller;
1448 #gpio-cells = <2>;
1449 interrupt-controller;
1450 #interrupt-cells = <2>;
Evan Greenbc2c8062018-11-09 15:52:12 -08001451 gpio-ranges = <&tlmm 0 0 150>;
Lina Iyeraeae9482019-11-15 15:11:54 -07001452 wakeup-parent = <&pdc_intc>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001453
Douglas Andersone1ce8532018-10-08 13:17:11 -07001454 qspi_clk: qspi-clk {
1455 pinmux {
1456 pins = "gpio95";
1457 function = "qspi_clk";
1458 };
1459 };
1460
1461 qspi_cs0: qspi-cs0 {
1462 pinmux {
1463 pins = "gpio90";
1464 function = "qspi_cs";
1465 };
1466 };
1467
1468 qspi_cs1: qspi-cs1 {
1469 pinmux {
1470 pins = "gpio89";
1471 function = "qspi_cs";
1472 };
1473 };
1474
1475 qspi_data01: qspi-data01 {
1476 pinmux-data {
1477 pins = "gpio91", "gpio92";
1478 function = "qspi_data";
1479 };
1480 };
1481
1482 qspi_data12: qspi-data12 {
1483 pinmux-data {
1484 pins = "gpio93", "gpio94";
1485 function = "qspi_data";
1486 };
1487 };
1488
Douglas Anderson897cf342018-06-13 09:53:51 -07001489 qup_i2c0_default: qup-i2c0-default {
1490 pinmux {
1491 pins = "gpio0", "gpio1";
1492 function = "qup0";
1493 };
1494 };
1495
1496 qup_i2c1_default: qup-i2c1-default {
1497 pinmux {
1498 pins = "gpio17", "gpio18";
1499 function = "qup1";
1500 };
1501 };
1502
1503 qup_i2c2_default: qup-i2c2-default {
1504 pinmux {
1505 pins = "gpio27", "gpio28";
1506 function = "qup2";
1507 };
1508 };
1509
1510 qup_i2c3_default: qup-i2c3-default {
1511 pinmux {
1512 pins = "gpio41", "gpio42";
1513 function = "qup3";
1514 };
1515 };
1516
1517 qup_i2c4_default: qup-i2c4-default {
1518 pinmux {
1519 pins = "gpio89", "gpio90";
1520 function = "qup4";
1521 };
1522 };
1523
1524 qup_i2c5_default: qup-i2c5-default {
1525 pinmux {
1526 pins = "gpio85", "gpio86";
1527 function = "qup5";
1528 };
1529 };
1530
1531 qup_i2c6_default: qup-i2c6-default {
1532 pinmux {
1533 pins = "gpio45", "gpio46";
1534 function = "qup6";
1535 };
1536 };
1537
1538 qup_i2c7_default: qup-i2c7-default {
1539 pinmux {
1540 pins = "gpio93", "gpio94";
1541 function = "qup7";
1542 };
1543 };
1544
1545 qup_i2c8_default: qup-i2c8-default {
1546 pinmux {
1547 pins = "gpio65", "gpio66";
1548 function = "qup8";
1549 };
1550 };
1551
1552 qup_i2c9_default: qup-i2c9-default {
1553 pinmux {
1554 pins = "gpio6", "gpio7";
1555 function = "qup9";
1556 };
1557 };
1558
1559 qup_i2c10_default: qup-i2c10-default {
1560 pinmux {
1561 pins = "gpio55", "gpio56";
1562 function = "qup10";
1563 };
1564 };
1565
1566 qup_i2c11_default: qup-i2c11-default {
1567 pinmux {
1568 pins = "gpio31", "gpio32";
1569 function = "qup11";
1570 };
1571 };
1572
1573 qup_i2c12_default: qup-i2c12-default {
1574 pinmux {
1575 pins = "gpio49", "gpio50";
1576 function = "qup12";
1577 };
1578 };
1579
1580 qup_i2c13_default: qup-i2c13-default {
1581 pinmux {
1582 pins = "gpio105", "gpio106";
1583 function = "qup13";
1584 };
1585 };
1586
1587 qup_i2c14_default: qup-i2c14-default {
1588 pinmux {
1589 pins = "gpio33", "gpio34";
1590 function = "qup14";
1591 };
1592 };
1593
1594 qup_i2c15_default: qup-i2c15-default {
1595 pinmux {
1596 pins = "gpio81", "gpio82";
1597 function = "qup15";
1598 };
1599 };
1600
1601 qup_spi0_default: qup-spi0-default {
1602 pinmux {
1603 pins = "gpio0", "gpio1",
1604 "gpio2", "gpio3";
1605 function = "qup0";
1606 };
1607 };
1608
1609 qup_spi1_default: qup-spi1-default {
1610 pinmux {
1611 pins = "gpio17", "gpio18",
1612 "gpio19", "gpio20";
1613 function = "qup1";
1614 };
1615 };
1616
1617 qup_spi2_default: qup-spi2-default {
1618 pinmux {
1619 pins = "gpio27", "gpio28",
1620 "gpio29", "gpio30";
1621 function = "qup2";
1622 };
1623 };
1624
1625 qup_spi3_default: qup-spi3-default {
1626 pinmux {
1627 pins = "gpio41", "gpio42",
1628 "gpio43", "gpio44";
1629 function = "qup3";
1630 };
1631 };
1632
1633 qup_spi4_default: qup-spi4-default {
1634 pinmux {
1635 pins = "gpio89", "gpio90",
1636 "gpio91", "gpio92";
1637 function = "qup4";
1638 };
1639 };
1640
1641 qup_spi5_default: qup-spi5-default {
1642 pinmux {
1643 pins = "gpio85", "gpio86",
1644 "gpio87", "gpio88";
1645 function = "qup5";
1646 };
1647 };
1648
1649 qup_spi6_default: qup-spi6-default {
1650 pinmux {
1651 pins = "gpio45", "gpio46",
1652 "gpio47", "gpio48";
1653 function = "qup6";
1654 };
1655 };
1656
1657 qup_spi7_default: qup-spi7-default {
1658 pinmux {
1659 pins = "gpio93", "gpio94",
1660 "gpio95", "gpio96";
1661 function = "qup7";
1662 };
1663 };
1664
1665 qup_spi8_default: qup-spi8-default {
1666 pinmux {
1667 pins = "gpio65", "gpio66",
1668 "gpio67", "gpio68";
1669 function = "qup8";
1670 };
1671 };
1672
1673 qup_spi9_default: qup-spi9-default {
1674 pinmux {
1675 pins = "gpio6", "gpio7",
1676 "gpio4", "gpio5";
1677 function = "qup9";
1678 };
1679 };
1680
1681 qup_spi10_default: qup-spi10-default {
1682 pinmux {
1683 pins = "gpio55", "gpio56",
1684 "gpio53", "gpio54";
1685 function = "qup10";
1686 };
1687 };
1688
1689 qup_spi11_default: qup-spi11-default {
1690 pinmux {
1691 pins = "gpio31", "gpio32",
1692 "gpio33", "gpio34";
1693 function = "qup11";
1694 };
1695 };
1696
1697 qup_spi12_default: qup-spi12-default {
1698 pinmux {
1699 pins = "gpio49", "gpio50",
1700 "gpio51", "gpio52";
1701 function = "qup12";
1702 };
1703 };
1704
1705 qup_spi13_default: qup-spi13-default {
1706 pinmux {
1707 pins = "gpio105", "gpio106",
1708 "gpio107", "gpio108";
1709 function = "qup13";
1710 };
1711 };
1712
1713 qup_spi14_default: qup-spi14-default {
1714 pinmux {
1715 pins = "gpio33", "gpio34",
1716 "gpio31", "gpio32";
1717 function = "qup14";
1718 };
1719 };
1720
1721 qup_spi15_default: qup-spi15-default {
1722 pinmux {
1723 pins = "gpio81", "gpio82",
1724 "gpio83", "gpio84";
1725 function = "qup15";
1726 };
1727 };
1728
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001729 qup_uart0_default: qup-uart0-default {
1730 pinmux {
1731 pins = "gpio2", "gpio3";
1732 function = "qup0";
1733 };
1734 };
1735
1736 qup_uart1_default: qup-uart1-default {
1737 pinmux {
1738 pins = "gpio19", "gpio20";
1739 function = "qup1";
1740 };
1741 };
1742
1743 qup_uart2_default: qup-uart2-default {
1744 pinmux {
1745 pins = "gpio29", "gpio30";
1746 function = "qup2";
1747 };
1748 };
1749
1750 qup_uart3_default: qup-uart3-default {
1751 pinmux {
1752 pins = "gpio43", "gpio44";
1753 function = "qup3";
1754 };
1755 };
1756
1757 qup_uart4_default: qup-uart4-default {
1758 pinmux {
1759 pins = "gpio91", "gpio92";
1760 function = "qup4";
1761 };
1762 };
1763
1764 qup_uart5_default: qup-uart5-default {
1765 pinmux {
1766 pins = "gpio87", "gpio88";
1767 function = "qup5";
1768 };
1769 };
1770
1771 qup_uart6_default: qup-uart6-default {
1772 pinmux {
1773 pins = "gpio47", "gpio48";
1774 function = "qup6";
1775 };
1776 };
1777
1778 qup_uart7_default: qup-uart7-default {
1779 pinmux {
1780 pins = "gpio95", "gpio96";
1781 function = "qup7";
1782 };
1783 };
1784
1785 qup_uart8_default: qup-uart8-default {
1786 pinmux {
1787 pins = "gpio67", "gpio68";
1788 function = "qup8";
1789 };
1790 };
1791
Douglas Anderson897cf342018-06-13 09:53:51 -07001792 qup_uart9_default: qup-uart9-default {
1793 pinmux {
1794 pins = "gpio4", "gpio5";
1795 function = "qup9";
1796 };
1797 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001798
1799 qup_uart10_default: qup-uart10-default {
1800 pinmux {
1801 pins = "gpio53", "gpio54";
1802 function = "qup10";
1803 };
1804 };
1805
1806 qup_uart11_default: qup-uart11-default {
1807 pinmux {
1808 pins = "gpio33", "gpio34";
1809 function = "qup11";
1810 };
1811 };
1812
1813 qup_uart12_default: qup-uart12-default {
1814 pinmux {
1815 pins = "gpio51", "gpio52";
1816 function = "qup12";
1817 };
1818 };
1819
1820 qup_uart13_default: qup-uart13-default {
1821 pinmux {
1822 pins = "gpio107", "gpio108";
1823 function = "qup13";
1824 };
1825 };
1826
1827 qup_uart14_default: qup-uart14-default {
1828 pinmux {
1829 pins = "gpio31", "gpio32";
1830 function = "qup14";
1831 };
1832 };
1833
1834 qup_uart15_default: qup-uart15-default {
1835 pinmux {
1836 pins = "gpio83", "gpio84";
1837 function = "qup15";
1838 };
1839 };
Douglas Anderson54d7a202018-05-14 20:59:22 -07001840 };
1841
Sibi Sankare76c3672019-06-11 21:45:36 -07001842 mss_pil: remoteproc@4080000 {
1843 compatible = "qcom,sdm845-mss-pil";
1844 reg = <0 0x04080000 0 0x408>, <0 0x04180000 0 0x48>;
1845 reg-names = "qdsp6", "rmb";
1846
1847 interrupts-extended =
1848 <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
1849 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1850 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1851 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1852 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
1853 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
1854 interrupt-names = "wdog", "fatal", "ready",
1855 "handover", "stop-ack",
1856 "shutdown-ack";
1857
1858 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
1859 <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
1860 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1861 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
1862 <&gcc GCC_MSS_SNOC_AXI_CLK>,
1863 <&gcc GCC_MSS_MFAB_AXIS_CLK>,
1864 <&gcc GCC_PRNG_AHB_CLK>,
1865 <&rpmhcc RPMH_CXO_CLK>;
1866 clock-names = "iface", "bus", "mem", "gpll0_mss",
1867 "snoc_axi", "mnoc_axi", "prng", "xo";
1868
1869 qcom,smem-states = <&modem_smp2p_out 0>;
1870 qcom,smem-state-names = "stop";
1871
1872 resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
1873 <&pdc_reset PDC_MODEM_SYNC_RESET>;
1874 reset-names = "mss_restart", "pdc_reset";
1875
1876 qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>;
1877
1878 power-domains = <&aoss_qmp 2>,
1879 <&rpmhpd SDM845_CX>,
1880 <&rpmhpd SDM845_MX>,
1881 <&rpmhpd SDM845_MSS>;
1882 power-domain-names = "load_state", "cx", "mx", "mss";
1883
1884 mba {
1885 memory-region = <&mba_region>;
1886 };
1887
1888 mpss {
1889 memory-region = <&mpss_region>;
1890 };
1891
1892 glink-edge {
1893 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
1894 label = "modem";
1895 qcom,remote-pid = <1>;
1896 mboxes = <&apss_shared 12>;
1897 };
1898 };
1899
Douglas Anderson9aa4a272018-11-28 10:57:43 -08001900 gpucc: clock-controller@5090000 {
1901 compatible = "qcom,sdm845-gpucc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001902 reg = <0 0x05090000 0 0x9000>;
Douglas Anderson9aa4a272018-11-28 10:57:43 -08001903 #clock-cells = <1>;
1904 #reset-cells = <1>;
1905 #power-domain-cells = <1>;
1906 clocks = <&rpmhcc RPMH_CXO_CLK>;
1907 clock-names = "xo";
1908 };
1909
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05301910 stm@6002000 {
1911 compatible = "arm,coresight-stm", "arm,primecell";
1912 reg = <0 0x06002000 0 0x1000>,
1913 <0 0x16280000 0 0x180000>;
1914 reg-names = "stm-base", "stm-stimulus-base";
1915
1916 clocks = <&aoss_qmp>;
1917 clock-names = "apb_pclk";
1918
1919 out-ports {
1920 port {
1921 stm_out: endpoint {
1922 remote-endpoint =
1923 <&funnel0_in7>;
1924 };
1925 };
1926 };
1927 };
1928
1929 funnel@6041000 {
1930 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1931 reg = <0 0x06041000 0 0x1000>;
1932
1933 clocks = <&aoss_qmp>;
1934 clock-names = "apb_pclk";
1935
1936 out-ports {
1937 port {
1938 funnel0_out: endpoint {
1939 remote-endpoint =
1940 <&merge_funnel_in0>;
1941 };
1942 };
1943 };
1944
1945 in-ports {
1946 #address-cells = <1>;
1947 #size-cells = <0>;
1948
1949 port@7 {
1950 reg = <7>;
1951 funnel0_in7: endpoint {
1952 remote-endpoint = <&stm_out>;
1953 };
1954 };
1955 };
1956 };
1957
1958 funnel@6043000 {
1959 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1960 reg = <0 0x06043000 0 0x1000>;
1961
1962 clocks = <&aoss_qmp>;
1963 clock-names = "apb_pclk";
1964
1965 out-ports {
1966 port {
1967 funnel2_out: endpoint {
1968 remote-endpoint =
1969 <&merge_funnel_in2>;
1970 };
1971 };
1972 };
1973
1974 in-ports {
1975 #address-cells = <1>;
1976 #size-cells = <0>;
1977
1978 port@5 {
1979 reg = <5>;
1980 funnel2_in5: endpoint {
1981 remote-endpoint =
1982 <&apss_merge_funnel_out>;
1983 };
1984 };
1985 };
1986 };
1987
1988 funnel@6045000 {
1989 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1990 reg = <0 0x06045000 0 0x1000>;
1991
1992 clocks = <&aoss_qmp>;
1993 clock-names = "apb_pclk";
1994
1995 out-ports {
1996 port {
1997 merge_funnel_out: endpoint {
1998 remote-endpoint = <&etf_in>;
1999 };
2000 };
2001 };
2002
2003 in-ports {
2004 #address-cells = <1>;
2005 #size-cells = <0>;
2006
2007 port@0 {
2008 reg = <0>;
2009 merge_funnel_in0: endpoint {
2010 remote-endpoint =
2011 <&funnel0_out>;
2012 };
2013 };
2014
2015 port@2 {
2016 reg = <2>;
2017 merge_funnel_in2: endpoint {
2018 remote-endpoint =
2019 <&funnel2_out>;
2020 };
2021 };
2022 };
2023 };
2024
2025 replicator@6046000 {
2026 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
2027 reg = <0 0x06046000 0 0x1000>;
2028
2029 clocks = <&aoss_qmp>;
2030 clock-names = "apb_pclk";
2031
2032 out-ports {
2033 port {
2034 replicator_out: endpoint {
2035 remote-endpoint = <&etr_in>;
2036 };
2037 };
2038 };
2039
2040 in-ports {
2041 port {
2042 replicator_in: endpoint {
2043 remote-endpoint = <&etf_out>;
2044 };
2045 };
2046 };
2047 };
2048
2049 etf@6047000 {
2050 compatible = "arm,coresight-tmc", "arm,primecell";
2051 reg = <0 0x06047000 0 0x1000>;
2052
2053 clocks = <&aoss_qmp>;
2054 clock-names = "apb_pclk";
2055
2056 out-ports {
2057 port {
2058 etf_out: endpoint {
2059 remote-endpoint =
2060 <&replicator_in>;
2061 };
2062 };
2063 };
2064
2065 in-ports {
2066 #address-cells = <1>;
2067 #size-cells = <0>;
2068
2069 port@1 {
2070 reg = <1>;
2071 etf_in: endpoint {
2072 remote-endpoint =
2073 <&merge_funnel_out>;
2074 };
2075 };
2076 };
2077 };
2078
2079 etr@6048000 {
2080 compatible = "arm,coresight-tmc", "arm,primecell";
2081 reg = <0 0x06048000 0 0x1000>;
2082
2083 clocks = <&aoss_qmp>;
2084 clock-names = "apb_pclk";
2085 arm,scatter-gather;
2086
2087 in-ports {
2088 port {
2089 etr_in: endpoint {
2090 remote-endpoint =
2091 <&replicator_out>;
2092 };
2093 };
2094 };
2095 };
2096
2097 etm@7040000 {
2098 compatible = "arm,coresight-etm4x", "arm,primecell";
2099 reg = <0 0x07040000 0 0x1000>;
2100
2101 cpu = <&CPU0>;
2102
2103 clocks = <&aoss_qmp>;
2104 clock-names = "apb_pclk";
2105
2106 out-ports {
2107 port {
2108 etm0_out: endpoint {
2109 remote-endpoint =
2110 <&apss_funnel_in0>;
2111 };
2112 };
2113 };
2114 };
2115
2116 etm@7140000 {
2117 compatible = "arm,coresight-etm4x", "arm,primecell";
2118 reg = <0 0x07140000 0 0x1000>;
2119
2120 cpu = <&CPU1>;
2121
2122 clocks = <&aoss_qmp>;
2123 clock-names = "apb_pclk";
2124
2125 out-ports {
2126 port {
2127 etm1_out: endpoint {
2128 remote-endpoint =
2129 <&apss_funnel_in1>;
2130 };
2131 };
2132 };
2133 };
2134
2135 etm@7240000 {
2136 compatible = "arm,coresight-etm4x", "arm,primecell";
2137 reg = <0 0x07240000 0 0x1000>;
2138
2139 cpu = <&CPU2>;
2140
2141 clocks = <&aoss_qmp>;
2142 clock-names = "apb_pclk";
2143
2144 out-ports {
2145 port {
2146 etm2_out: endpoint {
2147 remote-endpoint =
2148 <&apss_funnel_in2>;
2149 };
2150 };
2151 };
2152 };
2153
2154 etm@7340000 {
2155 compatible = "arm,coresight-etm4x", "arm,primecell";
2156 reg = <0 0x07340000 0 0x1000>;
2157
2158 cpu = <&CPU3>;
2159
2160 clocks = <&aoss_qmp>;
2161 clock-names = "apb_pclk";
2162
2163 out-ports {
2164 port {
2165 etm3_out: endpoint {
2166 remote-endpoint =
2167 <&apss_funnel_in3>;
2168 };
2169 };
2170 };
2171 };
2172
2173 etm@7440000 {
2174 compatible = "arm,coresight-etm4x", "arm,primecell";
2175 reg = <0 0x07440000 0 0x1000>;
2176
2177 cpu = <&CPU4>;
2178
2179 clocks = <&aoss_qmp>;
2180 clock-names = "apb_pclk";
2181
2182 out-ports {
2183 port {
2184 etm4_out: endpoint {
2185 remote-endpoint =
2186 <&apss_funnel_in4>;
2187 };
2188 };
2189 };
2190 };
2191
2192 etm@7540000 {
2193 compatible = "arm,coresight-etm4x", "arm,primecell";
2194 reg = <0 0x07540000 0 0x1000>;
2195
2196 cpu = <&CPU5>;
2197
2198 clocks = <&aoss_qmp>;
2199 clock-names = "apb_pclk";
2200
2201 out-ports {
2202 port {
2203 etm5_out: endpoint {
2204 remote-endpoint =
2205 <&apss_funnel_in5>;
2206 };
2207 };
2208 };
2209 };
2210
2211 etm@7640000 {
2212 compatible = "arm,coresight-etm4x", "arm,primecell";
2213 reg = <0 0x07640000 0 0x1000>;
2214
2215 cpu = <&CPU6>;
2216
2217 clocks = <&aoss_qmp>;
2218 clock-names = "apb_pclk";
2219
2220 out-ports {
2221 port {
2222 etm6_out: endpoint {
2223 remote-endpoint =
2224 <&apss_funnel_in6>;
2225 };
2226 };
2227 };
2228 };
2229
2230 etm@7740000 {
2231 compatible = "arm,coresight-etm4x", "arm,primecell";
2232 reg = <0 0x07740000 0 0x1000>;
2233
2234 cpu = <&CPU7>;
2235
2236 clocks = <&aoss_qmp>;
2237 clock-names = "apb_pclk";
2238
2239 out-ports {
2240 port {
2241 etm7_out: endpoint {
2242 remote-endpoint =
2243 <&apss_funnel_in7>;
2244 };
2245 };
2246 };
2247 };
2248
2249 funnel@7800000 { /* APSS Funnel */
2250 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2251 reg = <0 0x07800000 0 0x1000>;
2252
2253 clocks = <&aoss_qmp>;
2254 clock-names = "apb_pclk";
2255
2256 out-ports {
2257 port {
2258 apss_funnel_out: endpoint {
2259 remote-endpoint =
2260 <&apss_merge_funnel_in>;
2261 };
2262 };
2263 };
2264
2265 in-ports {
2266 #address-cells = <1>;
2267 #size-cells = <0>;
2268
2269 port@0 {
2270 reg = <0>;
2271 apss_funnel_in0: endpoint {
2272 remote-endpoint =
2273 <&etm0_out>;
2274 };
2275 };
2276
2277 port@1 {
2278 reg = <1>;
2279 apss_funnel_in1: endpoint {
2280 remote-endpoint =
2281 <&etm1_out>;
2282 };
2283 };
2284
2285 port@2 {
2286 reg = <2>;
2287 apss_funnel_in2: endpoint {
2288 remote-endpoint =
2289 <&etm2_out>;
2290 };
2291 };
2292
2293 port@3 {
2294 reg = <3>;
2295 apss_funnel_in3: endpoint {
2296 remote-endpoint =
2297 <&etm3_out>;
2298 };
2299 };
2300
2301 port@4 {
2302 reg = <4>;
2303 apss_funnel_in4: endpoint {
2304 remote-endpoint =
2305 <&etm4_out>;
2306 };
2307 };
2308
2309 port@5 {
2310 reg = <5>;
2311 apss_funnel_in5: endpoint {
2312 remote-endpoint =
2313 <&etm5_out>;
2314 };
2315 };
2316
2317 port@6 {
2318 reg = <6>;
2319 apss_funnel_in6: endpoint {
2320 remote-endpoint =
2321 <&etm6_out>;
2322 };
2323 };
2324
2325 port@7 {
2326 reg = <7>;
2327 apss_funnel_in7: endpoint {
2328 remote-endpoint =
2329 <&etm7_out>;
2330 };
2331 };
2332 };
2333 };
2334
2335 funnel@7810000 {
2336 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2337 reg = <0 0x07810000 0 0x1000>;
2338
2339 clocks = <&aoss_qmp>;
2340 clock-names = "apb_pclk";
2341
2342 out-ports {
2343 port {
2344 apss_merge_funnel_out: endpoint {
2345 remote-endpoint =
2346 <&funnel2_in5>;
2347 };
2348 };
2349 };
2350
2351 in-ports {
2352 port {
2353 apss_merge_funnel_in: endpoint {
2354 remote-endpoint =
2355 <&apss_funnel_out>;
2356 };
2357 };
2358 };
2359 };
2360
Evan Green67d62e52018-12-06 10:45:21 -08002361 sdhc_2: sdhci@8804000 {
2362 compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002363 reg = <0 0x08804000 0 0x1000>;
Evan Green67d62e52018-12-06 10:45:21 -08002364
2365 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
2366 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
2367 interrupt-names = "hc_irq", "pwr_irq";
2368
2369 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
2370 <&gcc GCC_SDCC2_APPS_CLK>;
2371 clock-names = "iface", "core";
Bjorn Andersson55fae1d2019-02-04 16:54:52 -08002372 iommus = <&apps_smmu 0xa0 0xf>;
Evan Green67d62e52018-12-06 10:45:21 -08002373
2374 status = "disabled";
2375 };
2376
Douglas Andersone1ce8532018-10-08 13:17:11 -07002377 qspi: spi@88df000 {
2378 compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002379 reg = <0 0x088df000 0 0x600>;
Douglas Andersone1ce8532018-10-08 13:17:11 -07002380 #address-cells = <1>;
2381 #size-cells = <0>;
2382 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
2383 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
2384 <&gcc GCC_QSPI_CORE_CLK>;
2385 clock-names = "iface", "core";
2386 status = "disabled";
2387 };
2388
Manu Gautamca4db2b2018-08-22 10:36:27 -07002389 usb_1_hsphy: phy@88e2000 {
2390 compatible = "qcom,sdm845-qusb2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002391 reg = <0 0x088e2000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002392 status = "disabled";
2393 #phy-cells = <0>;
2394
2395 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2396 <&rpmhcc RPMH_CXO_CLK>;
2397 clock-names = "cfg_ahb", "ref";
2398
2399 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
2400
2401 nvmem-cells = <&qusb2p_hstx_trim>;
2402 };
2403
2404 usb_2_hsphy: phy@88e3000 {
2405 compatible = "qcom,sdm845-qusb2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002406 reg = <0 0x088e3000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002407 status = "disabled";
2408 #phy-cells = <0>;
2409
2410 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2411 <&rpmhcc RPMH_CXO_CLK>;
2412 clock-names = "cfg_ahb", "ref";
2413
2414 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
2415
2416 nvmem-cells = <&qusb2s_hstx_trim>;
2417 };
2418
2419 usb_1_qmpphy: phy@88e9000 {
2420 compatible = "qcom,sdm845-qmp-usb3-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002421 reg = <0 0x088e9000 0 0x18c>,
2422 <0 0x088e8000 0 0x10>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002423 reg-names = "reg-base", "dp_com";
2424 status = "disabled";
2425 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002426 #address-cells = <2>;
2427 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002428 ranges;
2429
2430 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
2431 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2432 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
2433 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
2434 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
2435
2436 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
2437 <&gcc GCC_USB3_PHY_PRIM_BCR>;
2438 reset-names = "phy", "common";
2439
Evan Green9ebfcba2018-12-10 11:28:26 -08002440 usb_1_ssphy: lanes@88e9200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002441 reg = <0 0x088e9200 0 0x128>,
2442 <0 0x088e9400 0 0x200>,
2443 <0 0x088e9c00 0 0x218>,
2444 <0 0x088e9600 0 0x128>,
2445 <0 0x088e9800 0 0x200>,
2446 <0 0x088e9a00 0 0x100>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002447 #phy-cells = <0>;
2448 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
2449 clock-names = "pipe0";
2450 clock-output-names = "usb3_phy_pipe_clk_src";
2451 };
2452 };
2453
2454 usb_2_qmpphy: phy@88eb000 {
2455 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002456 reg = <0 0x088eb000 0 0x18c>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002457 status = "disabled";
2458 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002459 #address-cells = <2>;
2460 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002461 ranges;
2462
2463 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
2464 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2465 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
2466 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
2467 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
2468
2469 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
2470 <&gcc GCC_USB3_PHY_SEC_BCR>;
2471 reset-names = "phy", "common";
2472
2473 usb_2_ssphy: lane@88eb200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002474 reg = <0 0x088eb200 0 0x128>,
2475 <0 0x088eb400 0 0x1fc>,
2476 <0 0x088eb800 0 0x218>,
2477 <0 0x088eb600 0 0x70>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002478 #phy-cells = <0>;
2479 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
2480 clock-names = "pipe0";
2481 clock-output-names = "usb3_uni_phy_pipe_clk_src";
2482 };
2483 };
2484
2485 usb_1: usb@a6f8800 {
2486 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002487 reg = <0 0x0a6f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002488 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002489 #address-cells = <2>;
2490 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002491 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08002492 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002493
2494 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
2495 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
2496 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
2497 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
2498 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
2499 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
2500 "sleep";
2501
2502 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
2503 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
2504 assigned-clock-rates = <19200000>, <150000000>;
2505
2506 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
2507 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
2508 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
2509 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
2510 interrupt-names = "hs_phy_irq", "ss_phy_irq",
2511 "dm_hs_phy_irq", "dp_hs_phy_irq";
2512
2513 power-domains = <&gcc USB30_PRIM_GDSC>;
2514
2515 resets = <&gcc GCC_USB30_PRIM_BCR>;
2516
2517 usb_1_dwc3: dwc3@a600000 {
2518 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002519 reg = <0 0x0a600000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002520 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08002521 iommus = <&apps_smmu 0x740 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002522 snps,dis_u2_susphy_quirk;
2523 snps,dis_enblslpm_quirk;
2524 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
2525 phy-names = "usb2-phy", "usb3-phy";
2526 };
2527 };
2528
2529 usb_2: usb@a8f8800 {
2530 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002531 reg = <0 0x0a8f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002532 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002533 #address-cells = <2>;
2534 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002535 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08002536 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002537
2538 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
2539 <&gcc GCC_USB30_SEC_MASTER_CLK>,
2540 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
2541 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
2542 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
2543 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
2544 "sleep";
2545
2546 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
2547 <&gcc GCC_USB30_SEC_MASTER_CLK>;
2548 assigned-clock-rates = <19200000>, <150000000>;
2549
2550 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
2551 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
2552 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
2553 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
2554 interrupt-names = "hs_phy_irq", "ss_phy_irq",
2555 "dm_hs_phy_irq", "dp_hs_phy_irq";
2556
2557 power-domains = <&gcc USB30_SEC_GDSC>;
2558
2559 resets = <&gcc GCC_USB30_SEC_BCR>;
2560
2561 usb_2_dwc3: dwc3@a800000 {
2562 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002563 reg = <0 0x0a800000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002564 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08002565 iommus = <&apps_smmu 0x760 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002566 snps,dis_u2_susphy_quirk;
2567 snps,dis_enblslpm_quirk;
2568 phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
2569 phy-names = "usb2-phy", "usb3-phy";
2570 };
2571 };
2572
Malathi Gottam36a80df2019-07-02 17:42:29 +05302573 video-codec@aa00000 {
2574 compatible = "qcom,sdm845-venus";
2575 reg = <0 0x0aa00000 0 0xff000>;
2576 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
2577 power-domains = <&videocc VENUS_GDSC>;
2578 clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
2579 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
2580 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>;
2581 clock-names = "core", "iface", "bus";
2582 iommus = <&apps_smmu 0x10a0 0x8>,
2583 <&apps_smmu 0x10b0 0x0>;
2584 memory-region = <&venus_mem>;
2585
2586 video-core0 {
2587 compatible = "venus-decoder";
2588 clocks = <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
2589 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>;
2590 clock-names = "core", "bus";
2591 power-domains = <&videocc VCODEC0_GDSC>;
2592 };
2593
2594 video-core1 {
2595 compatible = "venus-encoder";
2596 clocks = <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
2597 <&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
2598 clock-names = "core", "bus";
2599 power-domains = <&videocc VCODEC1_GDSC>;
2600 };
2601 };
2602
Taniya Das05556682018-12-03 11:36:29 -08002603 videocc: clock-controller@ab00000 {
2604 compatible = "qcom,sdm845-videocc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002605 reg = <0 0x0ab00000 0 0x10000>;
Taniya Das05556682018-12-03 11:36:29 -08002606 #clock-cells = <1>;
2607 #power-domain-cells = <1>;
2608 #reset-cells = <1>;
2609 };
2610
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002611 mdss: mdss@ae00000 {
2612 compatible = "qcom,sdm845-mdss";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002613 reg = <0 0x0ae00000 0 0x1000>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002614 reg-names = "mdss";
2615
2616 power-domains = <&dispcc MDSS_GDSC>;
2617
2618 clocks = <&gcc GCC_DISP_AHB_CLK>,
2619 <&gcc GCC_DISP_AXI_CLK>,
2620 <&dispcc DISP_CC_MDSS_MDP_CLK>;
2621 clock-names = "iface", "bus", "core";
2622
2623 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>;
2624 assigned-clock-rates = <300000000>;
2625
2626 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
2627 interrupt-controller;
2628 #interrupt-cells = <1>;
2629
2630 iommus = <&apps_smmu 0x880 0x8>,
2631 <&apps_smmu 0xc80 0x8>;
2632
2633 status = "disabled";
2634
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002635 #address-cells = <2>;
2636 #size-cells = <2>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002637 ranges;
2638
2639 mdss_mdp: mdp@ae01000 {
2640 compatible = "qcom,sdm845-dpu";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002641 reg = <0 0x0ae01000 0 0x8f000>,
2642 <0 0x0aeb0000 0 0x2008>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002643 reg-names = "mdp", "vbif";
2644
2645 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
2646 <&dispcc DISP_CC_MDSS_AXI_CLK>,
2647 <&dispcc DISP_CC_MDSS_MDP_CLK>,
2648 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
2649 clock-names = "iface", "bus", "core", "vsync";
2650
2651 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
2652 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
2653 assigned-clock-rates = <300000000>,
2654 <19200000>;
2655
2656 interrupt-parent = <&mdss>;
2657 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
2658
2659 status = "disabled";
2660
2661 ports {
2662 #address-cells = <1>;
2663 #size-cells = <0>;
2664
2665 port@0 {
2666 reg = <0>;
2667 dpu_intf1_out: endpoint {
2668 remote-endpoint = <&dsi0_in>;
2669 };
2670 };
2671
2672 port@1 {
2673 reg = <1>;
2674 dpu_intf2_out: endpoint {
2675 remote-endpoint = <&dsi1_in>;
2676 };
2677 };
2678 };
2679 };
2680
2681 dsi0: dsi@ae94000 {
2682 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002683 reg = <0 0x0ae94000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002684 reg-names = "dsi_ctrl";
2685
2686 interrupt-parent = <&mdss>;
2687 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
2688
2689 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
2690 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
2691 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
2692 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
2693 <&dispcc DISP_CC_MDSS_AHB_CLK>,
2694 <&dispcc DISP_CC_MDSS_AXI_CLK>;
2695 clock-names = "byte",
2696 "byte_intf",
2697 "pixel",
2698 "core",
2699 "iface",
2700 "bus";
2701
2702 phys = <&dsi0_phy>;
2703 phy-names = "dsi";
2704
2705 status = "disabled";
2706
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002707 ports {
2708 #address-cells = <1>;
2709 #size-cells = <0>;
2710
2711 port@0 {
2712 reg = <0>;
2713 dsi0_in: endpoint {
2714 remote-endpoint = <&dpu_intf1_out>;
2715 };
2716 };
2717
2718 port@1 {
2719 reg = <1>;
2720 dsi0_out: endpoint {
2721 };
2722 };
2723 };
2724 };
2725
2726 dsi0_phy: dsi-phy@ae94400 {
2727 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002728 reg = <0 0x0ae94400 0 0x200>,
2729 <0 0x0ae94600 0 0x280>,
2730 <0 0x0ae94a00 0 0x1e0>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002731 reg-names = "dsi_phy",
2732 "dsi_phy_lane",
2733 "dsi_pll";
2734
2735 #clock-cells = <1>;
2736 #phy-cells = <0>;
2737
Matthias Kaehlcke0c0e7272018-12-19 15:55:27 -08002738 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
2739 <&rpmhcc RPMH_CXO_CLK>;
2740 clock-names = "iface", "ref";
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002741
2742 status = "disabled";
2743 };
2744
2745 dsi1: dsi@ae96000 {
2746 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002747 reg = <0 0x0ae96000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002748 reg-names = "dsi_ctrl";
2749
2750 interrupt-parent = <&mdss>;
2751 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
2752
2753 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
2754 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
2755 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
2756 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
2757 <&dispcc DISP_CC_MDSS_AHB_CLK>,
2758 <&dispcc DISP_CC_MDSS_AXI_CLK>;
2759 clock-names = "byte",
2760 "byte_intf",
2761 "pixel",
2762 "core",
2763 "iface",
2764 "bus";
2765
2766 phys = <&dsi1_phy>;
2767 phy-names = "dsi";
2768
2769 status = "disabled";
2770
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002771 ports {
2772 #address-cells = <1>;
2773 #size-cells = <0>;
2774
2775 port@0 {
2776 reg = <0>;
2777 dsi1_in: endpoint {
2778 remote-endpoint = <&dpu_intf2_out>;
2779 };
2780 };
2781
2782 port@1 {
2783 reg = <1>;
2784 dsi1_out: endpoint {
2785 };
2786 };
2787 };
2788 };
2789
2790 dsi1_phy: dsi-phy@ae96400 {
2791 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002792 reg = <0 0x0ae96400 0 0x200>,
2793 <0 0x0ae96600 0 0x280>,
2794 <0 0x0ae96a00 0 0x10e>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002795 reg-names = "dsi_phy",
2796 "dsi_phy_lane",
2797 "dsi_pll";
2798
2799 #clock-cells = <1>;
2800 #phy-cells = <0>;
2801
Matthias Kaehlcke0c0e7272018-12-19 15:55:27 -08002802 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
2803 <&rpmhcc RPMH_CXO_CLK>;
2804 clock-names = "iface", "ref";
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002805
2806 status = "disabled";
2807 };
2808 };
2809
Rob Clarkf489b132020-01-12 11:54:00 -08002810 gpu: gpu@5000000 {
Jordan Crousec7980012019-01-16 11:03:29 -07002811 compatible = "qcom,adreno-630.2", "qcom,adreno";
2812 #stream-id-cells = <16>;
2813
2814 reg = <0 0x5000000 0 0x40000>, <0 0x509e000 0 0x10>;
2815 reg-names = "kgsl_3d0_reg_memory", "cx_mem";
2816
2817 /*
2818 * Look ma, no clocks! The GPU clocks and power are
2819 * controlled entirely by the GMU
2820 */
2821
2822 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
2823
2824 iommus = <&adreno_smmu 0>;
2825
2826 operating-points-v2 = <&gpu_opp_table>;
2827
2828 qcom,gmu = <&gmu>;
2829
2830 gpu_opp_table: opp-table {
2831 compatible = "operating-points-v2";
2832
2833 opp-710000000 {
2834 opp-hz = /bits/ 64 <710000000>;
2835 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
2836 };
2837
2838 opp-675000000 {
2839 opp-hz = /bits/ 64 <675000000>;
2840 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
2841 };
2842
2843 opp-596000000 {
2844 opp-hz = /bits/ 64 <596000000>;
2845 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
2846 };
2847
2848 opp-520000000 {
2849 opp-hz = /bits/ 64 <520000000>;
2850 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2851 };
2852
2853 opp-414000000 {
2854 opp-hz = /bits/ 64 <414000000>;
2855 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2856 };
2857
2858 opp-342000000 {
2859 opp-hz = /bits/ 64 <342000000>;
2860 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2861 };
2862
2863 opp-257000000 {
2864 opp-hz = /bits/ 64 <257000000>;
2865 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2866 };
2867 };
2868 };
2869
2870 adreno_smmu: iommu@5040000 {
2871 compatible = "qcom,sdm845-smmu-v2", "qcom,smmu-v2";
2872 reg = <0 0x5040000 0 0x10000>;
2873 #iommu-cells = <1>;
2874 #global-interrupts = <2>;
2875 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
2876 <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
2877 <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
2878 <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
2879 <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
2880 <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
2881 <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
2882 <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>,
2883 <GIC_SPI 370 IRQ_TYPE_EDGE_RISING>,
2884 <GIC_SPI 371 IRQ_TYPE_EDGE_RISING>;
2885 clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
2886 <&gcc GCC_GPU_CFG_AHB_CLK>;
2887 clock-names = "bus", "iface";
2888
2889 power-domains = <&gpucc GPU_CX_GDSC>;
2890 };
2891
2892 gmu: gmu@506a000 {
2893 compatible="qcom,adreno-gmu-630.2", "qcom,adreno-gmu";
2894
2895 reg = <0 0x506a000 0 0x30000>,
2896 <0 0xb280000 0 0x10000>,
2897 <0 0xb480000 0 0x10000>;
2898 reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
2899
2900 interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
2901 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
2902 interrupt-names = "hfi", "gmu";
2903
2904 clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
2905 <&gpucc GPU_CC_CXO_CLK>,
2906 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
2907 <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
2908 clock-names = "gmu", "cxo", "axi", "memnoc";
2909
2910 power-domains = <&gpucc GPU_CX_GDSC>,
2911 <&gpucc GPU_GX_GDSC>;
2912 power-domain-names = "cx", "gx";
2913
2914 iommus = <&adreno_smmu 5>;
2915
2916 operating-points-v2 = <&gmu_opp_table>;
2917
2918 gmu_opp_table: opp-table {
2919 compatible = "operating-points-v2";
2920
2921 opp-400000000 {
2922 opp-hz = /bits/ 64 <400000000>;
2923 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2924 };
2925
2926 opp-200000000 {
2927 opp-hz = /bits/ 64 <200000000>;
2928 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2929 };
2930 };
2931 };
2932
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07002933 dispcc: clock-controller@af00000 {
2934 compatible = "qcom,sdm845-dispcc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002935 reg = <0 0x0af00000 0 0x10000>;
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07002936 #clock-cells = <1>;
2937 #reset-cells = <1>;
2938 #power-domain-cells = <1>;
2939 };
2940
Lina Iyer72b67eb2019-11-15 15:11:53 -07002941 pdc_intc: interrupt-controller@b220000 {
2942 compatible = "qcom,sdm845-pdc", "qcom,pdc";
2943 reg = <0 0x0b220000 0 0x30000>;
2944 qcom,pdc-ranges = <0 480 94>, <94 609 15>, <115 630 7>;
2945 #interrupt-cells = <2>;
2946 interrupt-parent = <&intc>;
2947 interrupt-controller;
2948 };
2949
Sibi Sankar13393da2018-10-26 17:56:53 +05302950 pdc_reset: reset-controller@b2e0000 {
2951 compatible = "qcom,sdm845-pdc-global";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002952 reg = <0 0x0b2e0000 0 0x20000>;
Sibi Sankar13393da2018-10-26 17:56:53 +05302953 #reset-cells = <1>;
2954 };
2955
Amit Kucheriacda676b2018-07-18 12:13:13 +05302956 tsens0: thermal-sensor@c263000 {
2957 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002958 reg = <0 0x0c263000 0 0x1ff>, /* TM */
2959 <0 0x0c222000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05302960 #qcom,sensors = <13>;
Amit Kucheriae68ca6b2019-11-12 00:51:29 +05302961 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
2962 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
2963 interrupt-names = "uplow", "critical";
Amit Kucheriacda676b2018-07-18 12:13:13 +05302964 #thermal-sensor-cells = <1>;
2965 };
2966
2967 tsens1: thermal-sensor@c265000 {
2968 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002969 reg = <0 0x0c265000 0 0x1ff>, /* TM */
2970 <0 0x0c223000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05302971 #qcom,sensors = <8>;
Amit Kucheriae68ca6b2019-11-12 00:51:29 +05302972 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
2973 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
2974 interrupt-names = "uplow", "critical";
Amit Kucheriacda676b2018-07-18 12:13:13 +05302975 #thermal-sensor-cells = <1>;
2976 };
2977
Sibi Sankaread5eea2018-09-01 15:23:55 -07002978 aoss_reset: reset-controller@c2a0000 {
2979 compatible = "qcom,sdm845-aoss-cc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002980 reg = <0 0x0c2a0000 0 0x31000>;
Sibi Sankaread5eea2018-09-01 15:23:55 -07002981 #reset-cells = <1>;
2982 };
2983
Bjorn Anderssona7977432019-06-11 21:45:35 -07002984 aoss_qmp: qmp@c300000 {
2985 compatible = "qcom,sdm845-aoss-qmp";
2986 reg = <0 0x0c300000 0 0x100000>;
2987 interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
2988 mboxes = <&apss_shared 0>;
2989
2990 #clock-cells = <0>;
2991 #power-domain-cells = <1>;
Thara Gopinath7e4b5f22019-07-30 11:24:43 -04002992
2993 cx_cdev: cx {
2994 #cooling-cells = <2>;
2995 };
2996
2997 ebi_cdev: ebi {
2998 #cooling-cells = <2>;
2999 };
Bjorn Anderssona7977432019-06-11 21:45:35 -07003000 };
3001
Douglas Anderson54d7a202018-05-14 20:59:22 -07003002 spmi_bus: spmi@c440000 {
3003 compatible = "qcom,spmi-pmic-arb";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003004 reg = <0 0x0c440000 0 0x1100>,
3005 <0 0x0c600000 0 0x2000000>,
3006 <0 0x0e600000 0 0x100000>,
3007 <0 0x0e700000 0 0xa0000>,
3008 <0 0x0c40a000 0 0x26000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07003009 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
3010 interrupt-names = "periph_irq";
3011 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
3012 qcom,ee = <0>;
3013 qcom,channel = <0>;
3014 #address-cells = <2>;
3015 #size-cells = <0>;
3016 interrupt-controller;
3017 #interrupt-cells = <4>;
3018 cell-index = <0>;
3019 };
3020
Vivek Gautam4429e572018-10-11 15:19:30 +05303021 apps_smmu: iommu@15000000 {
3022 compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003023 reg = <0 0x15000000 0 0x80000>;
Vivek Gautam4429e572018-10-11 15:19:30 +05303024 #iommu-cells = <2>;
3025 #global-interrupts = <1>;
3026 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
3027 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
3028 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
3029 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
3030 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
3031 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
3032 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
3033 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
3034 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
3035 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
3036 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
3037 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
3038 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
3039 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
3040 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
3041 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
3042 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
3043 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
3044 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
3045 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
3046 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
3047 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
3048 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
3049 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
3050 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
3051 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
3052 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
3053 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
3054 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
3055 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
3056 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
3057 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
3058 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
3059 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
3060 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
3061 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
3062 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
3063 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
3064 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
3065 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
3066 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
3067 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
3068 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
3069 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
3070 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
3071 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
3072 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
3073 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
3074 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
3075 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
3076 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
3077 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
3078 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
3079 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
3080 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
3081 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
3082 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
3083 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
3084 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
3085 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
3086 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
3087 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
3088 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
3089 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
3090 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
3091 };
3092
Taniya Das0cef5dd2018-12-05 13:30:36 +05303093 lpasscc: clock-controller@17014000 {
3094 compatible = "qcom,sdm845-lpasscc";
Bjorn Andersson1d918e92019-01-17 11:29:55 -08003095 reg = <0 0x17014000 0 0x1f004>, <0 0x17300000 0 0x200>;
Taniya Das0cef5dd2018-12-05 13:30:36 +05303096 reg-names = "cc", "qdsp6ss";
3097 #clock-cells = <1>;
3098 status = "disabled";
3099 };
3100
Bjorn Anderssonef857672019-10-02 21:13:45 -07003101 watchdog@17980000 {
3102 compatible = "qcom,apss-wdt-sdm845", "qcom,kpss-wdt";
3103 reg = <0 0x17980000 0 0x1000>;
3104 clocks = <&sleep_clk>;
3105 };
3106
Douglas Anderson54d7a202018-05-14 20:59:22 -07003107 apss_shared: mailbox@17990000 {
3108 compatible = "qcom,sdm845-apss-shared";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003109 reg = <0 0x17990000 0 0x1000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07003110 #mbox-cells = <1>;
3111 };
3112
Douglas Andersonc83545d2018-06-18 14:50:50 -07003113 apps_rsc: rsc@179c0000 {
3114 label = "apps_rsc";
3115 compatible = "qcom,rpmh-rsc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003116 reg = <0 0x179c0000 0 0x10000>,
3117 <0 0x179d0000 0 0x10000>,
3118 <0 0x179e0000 0 0x10000>;
Douglas Andersonc83545d2018-06-18 14:50:50 -07003119 reg-names = "drv-0", "drv-1", "drv-2";
3120 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
3121 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
3122 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
3123 qcom,tcs-offset = <0xd00>;
3124 qcom,drv-id = <2>;
3125 qcom,tcs-config = <ACTIVE_TCS 2>,
3126 <SLEEP_TCS 3>,
3127 <WAKE_TCS 3>,
3128 <CONTROL_TCS 1>;
Douglas Anderson717f2012018-06-18 14:50:51 -07003129
3130 rpmhcc: clock-controller {
3131 compatible = "qcom,sdm845-rpmh-clk";
3132 #clock-cells = <1>;
Vinod Koul1dd70852019-08-26 23:12:33 +05303133 clock-names = "xo";
3134 clocks = <&xo_board>;
Douglas Anderson717f2012018-06-18 14:50:51 -07003135 };
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303136
3137 rpmhpd: power-controller {
3138 compatible = "qcom,sdm845-rpmhpd";
3139 #power-domain-cells = <1>;
3140 operating-points-v2 = <&rpmhpd_opp_table>;
3141
3142 rpmhpd_opp_table: opp-table {
3143 compatible = "operating-points-v2";
3144
3145 rpmhpd_opp_ret: opp1 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303146 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303147 };
3148
3149 rpmhpd_opp_min_svs: opp2 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303150 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303151 };
3152
3153 rpmhpd_opp_low_svs: opp3 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303154 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303155 };
3156
3157 rpmhpd_opp_svs: opp4 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303158 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303159 };
3160
3161 rpmhpd_opp_svs_l1: opp5 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303162 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303163 };
3164
3165 rpmhpd_opp_nom: opp6 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303166 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303167 };
3168
3169 rpmhpd_opp_nom_l1: opp7 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303170 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303171 };
3172
3173 rpmhpd_opp_nom_l2: opp8 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303174 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303175 };
3176
3177 rpmhpd_opp_turbo: opp9 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303178 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303179 };
3180
3181 rpmhpd_opp_turbo_l1: opp10 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303182 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303183 };
3184 };
3185 };
David Dai5e820482019-01-16 18:11:01 +02003186
3187 rsc_hlos: interconnect {
3188 compatible = "qcom,sdm845-rsc-hlos";
3189 #interconnect-cells = <1>;
3190 };
Douglas Andersonc83545d2018-06-18 14:50:50 -07003191 };
3192
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303193 intc: interrupt-controller@17a00000 {
3194 compatible = "arm,gic-v3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003195 #address-cells = <2>;
3196 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303197 ranges;
3198 #interrupt-cells = <3>;
3199 interrupt-controller;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003200 reg = <0 0x17a00000 0 0x10000>, /* GICD */
3201 <0 0x17a60000 0 0x100000>; /* GICR * 8 */
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303202 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
3203
Douglas Anderson276bb282019-12-16 22:20:25 -08003204 msi-controller@17a40000 {
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303205 compatible = "arm,gic-v3-its";
3206 msi-controller;
3207 #msi-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003208 reg = <0 0x17a40000 0 0x20000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303209 status = "disabled";
3210 };
3211 };
3212
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303213 timer@17c90000 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003214 #address-cells = <2>;
3215 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303216 ranges;
3217 compatible = "arm,armv7-timer-mem";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003218 reg = <0 0x17c90000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303219
3220 frame@17ca0000 {
3221 frame-number = <0>;
3222 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
3223 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003224 reg = <0 0x17ca0000 0 0x1000>,
3225 <0 0x17cb0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303226 };
3227
3228 frame@17cc0000 {
3229 frame-number = <1>;
3230 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003231 reg = <0 0x17cc0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303232 status = "disabled";
3233 };
3234
3235 frame@17cd0000 {
3236 frame-number = <2>;
3237 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003238 reg = <0 0x17cd0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303239 status = "disabled";
3240 };
3241
3242 frame@17ce0000 {
3243 frame-number = <3>;
3244 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003245 reg = <0 0x17ce0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303246 status = "disabled";
3247 };
3248
3249 frame@17cf0000 {
3250 frame-number = <4>;
3251 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003252 reg = <0 0x17cf0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303253 status = "disabled";
3254 };
3255
3256 frame@17d00000 {
3257 frame-number = <5>;
3258 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003259 reg = <0 0x17d00000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303260 status = "disabled";
3261 };
3262
3263 frame@17d10000 {
3264 frame-number = <6>;
3265 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003266 reg = <0 0x17d10000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303267 status = "disabled";
3268 };
3269 };
Taniya Dasc604b82a2018-12-21 23:44:23 +05303270
3271 cpufreq_hw: cpufreq@17d43000 {
3272 compatible = "qcom,cpufreq-hw";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003273 reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
Taniya Dasc604b82a2018-12-21 23:44:23 +05303274 reg-names = "freq-domain0", "freq-domain1";
3275
3276 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
3277 clock-names = "xo", "alternate";
3278
3279 #freq-domain-cells = <1>;
3280 };
Govind Singh022bccb2018-11-05 18:38:37 +05303281
3282 wifi: wifi@18800000 {
3283 compatible = "qcom,wcn3990-wifi";
3284 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003285 reg = <0 0x18800000 0 0x800000>;
Govind Singh022bccb2018-11-05 18:38:37 +05303286 reg-names = "membase";
3287 memory-region = <&wlan_msa_mem>;
Douglas Andersonbc94e5f2019-01-18 16:00:15 -08003288 clock-names = "cxo_ref_clk_pin";
3289 clocks = <&rpmhcc RPMH_RF_CLK2>;
Govind Singh022bccb2018-11-05 18:38:37 +05303290 interrupts =
3291 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
3292 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
3293 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
3294 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
3295 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
3296 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
3297 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
3298 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
3299 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
3300 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
3301 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
3302 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
Douglas Andersonbc94e5f2019-01-18 16:00:15 -08003303 iommus = <&apps_smmu 0x0040 0x1>;
Govind Singh022bccb2018-11-05 18:38:37 +05303304 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303305 };
Amit Kucheria48847882018-06-12 15:26:54 +03003306
3307 thermal-zones {
3308 cpu0-thermal {
3309 polling-delay-passive = <250>;
3310 polling-delay = <1000>;
3311
3312 thermal-sensors = <&tsens0 1>;
3313
3314 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303315 cpu0_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303316 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003317 hysteresis = <2000>;
3318 type = "passive";
3319 };
3320
Vinod Koul19e684e2019-07-24 10:19:04 +05303321 cpu0_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303322 temperature = <95000>;
3323 hysteresis = <2000>;
3324 type = "passive";
3325 };
3326
3327 cpu0_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003328 temperature = <110000>;
3329 hysteresis = <1000>;
3330 type = "critical";
3331 };
3332 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303333
3334 cooling-maps {
3335 map0 {
3336 trip = <&cpu0_alert0>;
3337 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3338 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3339 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3340 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3341 };
3342 map1 {
3343 trip = <&cpu0_alert1>;
3344 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3345 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3346 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3347 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3348 };
3349 };
Amit Kucheria48847882018-06-12 15:26:54 +03003350 };
3351
3352 cpu1-thermal {
3353 polling-delay-passive = <250>;
3354 polling-delay = <1000>;
3355
3356 thermal-sensors = <&tsens0 2>;
3357
3358 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303359 cpu1_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303360 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003361 hysteresis = <2000>;
3362 type = "passive";
3363 };
3364
Vinod Koul19e684e2019-07-24 10:19:04 +05303365 cpu1_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303366 temperature = <95000>;
3367 hysteresis = <2000>;
3368 type = "passive";
3369 };
3370
3371 cpu1_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003372 temperature = <110000>;
3373 hysteresis = <1000>;
3374 type = "critical";
3375 };
3376 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303377
3378 cooling-maps {
3379 map0 {
3380 trip = <&cpu1_alert0>;
3381 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3382 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3383 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3384 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3385 };
3386 map1 {
3387 trip = <&cpu1_alert1>;
3388 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3389 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3390 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3391 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3392 };
3393 };
Amit Kucheria48847882018-06-12 15:26:54 +03003394 };
3395
3396 cpu2-thermal {
3397 polling-delay-passive = <250>;
3398 polling-delay = <1000>;
3399
3400 thermal-sensors = <&tsens0 3>;
3401
3402 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303403 cpu2_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303404 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003405 hysteresis = <2000>;
3406 type = "passive";
3407 };
3408
Vinod Koul19e684e2019-07-24 10:19:04 +05303409 cpu2_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303410 temperature = <95000>;
3411 hysteresis = <2000>;
3412 type = "passive";
3413 };
3414
3415 cpu2_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003416 temperature = <110000>;
3417 hysteresis = <1000>;
3418 type = "critical";
3419 };
3420 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303421
3422 cooling-maps {
3423 map0 {
3424 trip = <&cpu2_alert0>;
3425 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3426 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3427 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3428 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3429 };
3430 map1 {
3431 trip = <&cpu2_alert1>;
3432 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3433 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3434 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3435 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3436 };
3437 };
Amit Kucheria48847882018-06-12 15:26:54 +03003438 };
3439
3440 cpu3-thermal {
3441 polling-delay-passive = <250>;
3442 polling-delay = <1000>;
3443
3444 thermal-sensors = <&tsens0 4>;
3445
3446 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303447 cpu3_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303448 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003449 hysteresis = <2000>;
3450 type = "passive";
3451 };
3452
Vinod Koul19e684e2019-07-24 10:19:04 +05303453 cpu3_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303454 temperature = <95000>;
3455 hysteresis = <2000>;
3456 type = "passive";
3457 };
3458
3459 cpu3_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003460 temperature = <110000>;
3461 hysteresis = <1000>;
3462 type = "critical";
3463 };
3464 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303465
3466 cooling-maps {
3467 map0 {
3468 trip = <&cpu3_alert0>;
3469 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3470 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3471 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3472 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3473 };
3474 map1 {
3475 trip = <&cpu3_alert1>;
3476 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3477 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3478 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3479 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3480 };
3481 };
Amit Kucheria48847882018-06-12 15:26:54 +03003482 };
3483
3484 cpu4-thermal {
3485 polling-delay-passive = <250>;
3486 polling-delay = <1000>;
3487
3488 thermal-sensors = <&tsens0 7>;
3489
3490 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303491 cpu4_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303492 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003493 hysteresis = <2000>;
3494 type = "passive";
3495 };
3496
Vinod Koul19e684e2019-07-24 10:19:04 +05303497 cpu4_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303498 temperature = <95000>;
3499 hysteresis = <2000>;
3500 type = "passive";
3501 };
3502
3503 cpu4_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003504 temperature = <110000>;
3505 hysteresis = <1000>;
3506 type = "critical";
3507 };
3508 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303509
3510 cooling-maps {
3511 map0 {
3512 trip = <&cpu4_alert0>;
3513 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3514 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3515 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3516 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3517 };
3518 map1 {
3519 trip = <&cpu4_alert1>;
3520 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3521 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3522 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3523 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3524 };
3525 };
Amit Kucheria48847882018-06-12 15:26:54 +03003526 };
3527
3528 cpu5-thermal {
3529 polling-delay-passive = <250>;
3530 polling-delay = <1000>;
3531
3532 thermal-sensors = <&tsens0 8>;
3533
3534 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303535 cpu5_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303536 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003537 hysteresis = <2000>;
3538 type = "passive";
3539 };
3540
Vinod Koul19e684e2019-07-24 10:19:04 +05303541 cpu5_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303542 temperature = <95000>;
3543 hysteresis = <2000>;
3544 type = "passive";
3545 };
3546
3547 cpu5_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003548 temperature = <110000>;
3549 hysteresis = <1000>;
3550 type = "critical";
3551 };
3552 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303553
3554 cooling-maps {
3555 map0 {
3556 trip = <&cpu5_alert0>;
3557 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3558 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3559 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3560 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3561 };
3562 map1 {
3563 trip = <&cpu5_alert1>;
3564 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3565 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3566 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3567 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3568 };
3569 };
Amit Kucheria48847882018-06-12 15:26:54 +03003570 };
3571
3572 cpu6-thermal {
3573 polling-delay-passive = <250>;
3574 polling-delay = <1000>;
3575
3576 thermal-sensors = <&tsens0 9>;
3577
3578 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303579 cpu6_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303580 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003581 hysteresis = <2000>;
3582 type = "passive";
3583 };
3584
Vinod Koul19e684e2019-07-24 10:19:04 +05303585 cpu6_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303586 temperature = <95000>;
3587 hysteresis = <2000>;
3588 type = "passive";
3589 };
3590
3591 cpu6_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003592 temperature = <110000>;
3593 hysteresis = <1000>;
3594 type = "critical";
3595 };
3596 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303597
3598 cooling-maps {
3599 map0 {
3600 trip = <&cpu6_alert0>;
3601 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3602 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3603 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3604 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3605 };
3606 map1 {
3607 trip = <&cpu6_alert1>;
3608 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3609 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3610 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3611 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3612 };
3613 };
Amit Kucheria48847882018-06-12 15:26:54 +03003614 };
3615
3616 cpu7-thermal {
3617 polling-delay-passive = <250>;
3618 polling-delay = <1000>;
3619
3620 thermal-sensors = <&tsens0 10>;
3621
3622 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303623 cpu7_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303624 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003625 hysteresis = <2000>;
3626 type = "passive";
3627 };
3628
Vinod Koul19e684e2019-07-24 10:19:04 +05303629 cpu7_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303630 temperature = <95000>;
3631 hysteresis = <2000>;
3632 type = "passive";
3633 };
3634
3635 cpu7_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003636 temperature = <110000>;
3637 hysteresis = <1000>;
3638 type = "critical";
3639 };
3640 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303641
3642 cooling-maps {
3643 map0 {
3644 trip = <&cpu7_alert0>;
3645 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3646 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3647 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3648 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3649 };
3650 map1 {
3651 trip = <&cpu7_alert1>;
3652 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3653 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3654 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3655 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3656 };
3657 };
Amit Kucheria48847882018-06-12 15:26:54 +03003658 };
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303659
3660 aoss0-thermal {
3661 polling-delay-passive = <250>;
3662 polling-delay = <1000>;
3663
3664 thermal-sensors = <&tsens0 0>;
3665
3666 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303667 aoss0_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303668 temperature = <90000>;
3669 hysteresis = <2000>;
3670 type = "hot";
3671 };
3672 };
3673 };
3674
3675 cluster0-thermal {
3676 polling-delay-passive = <250>;
3677 polling-delay = <1000>;
3678
3679 thermal-sensors = <&tsens0 5>;
3680
3681 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303682 cluster0_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303683 temperature = <90000>;
3684 hysteresis = <2000>;
3685 type = "hot";
3686 };
3687 cluster0_crit: cluster0_crit {
3688 temperature = <110000>;
3689 hysteresis = <2000>;
3690 type = "critical";
3691 };
3692 };
3693 };
3694
3695 cluster1-thermal {
3696 polling-delay-passive = <250>;
3697 polling-delay = <1000>;
3698
3699 thermal-sensors = <&tsens0 6>;
3700
3701 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303702 cluster1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303703 temperature = <90000>;
3704 hysteresis = <2000>;
3705 type = "hot";
3706 };
3707 cluster1_crit: cluster1_crit {
3708 temperature = <110000>;
3709 hysteresis = <2000>;
3710 type = "critical";
3711 };
3712 };
3713 };
3714
3715 gpu-thermal-top {
3716 polling-delay-passive = <250>;
3717 polling-delay = <1000>;
3718
3719 thermal-sensors = <&tsens0 11>;
3720
3721 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303722 gpu1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303723 temperature = <90000>;
3724 hysteresis = <2000>;
3725 type = "hot";
3726 };
3727 };
3728 };
3729
3730 gpu-thermal-bottom {
3731 polling-delay-passive = <250>;
3732 polling-delay = <1000>;
3733
3734 thermal-sensors = <&tsens0 12>;
3735
3736 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303737 gpu2_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303738 temperature = <90000>;
3739 hysteresis = <2000>;
3740 type = "hot";
3741 };
3742 };
3743 };
3744
3745 aoss1-thermal {
3746 polling-delay-passive = <250>;
3747 polling-delay = <1000>;
3748
3749 thermal-sensors = <&tsens1 0>;
3750
3751 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303752 aoss1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303753 temperature = <90000>;
3754 hysteresis = <2000>;
3755 type = "hot";
3756 };
3757 };
3758 };
3759
3760 q6-modem-thermal {
3761 polling-delay-passive = <250>;
3762 polling-delay = <1000>;
3763
3764 thermal-sensors = <&tsens1 1>;
3765
3766 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303767 q6_modem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303768 temperature = <90000>;
3769 hysteresis = <2000>;
3770 type = "hot";
3771 };
3772 };
3773 };
3774
3775 mem-thermal {
3776 polling-delay-passive = <250>;
3777 polling-delay = <1000>;
3778
3779 thermal-sensors = <&tsens1 2>;
3780
3781 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303782 mem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303783 temperature = <90000>;
3784 hysteresis = <2000>;
3785 type = "hot";
3786 };
3787 };
3788 };
3789
3790 wlan-thermal {
3791 polling-delay-passive = <250>;
3792 polling-delay = <1000>;
3793
3794 thermal-sensors = <&tsens1 3>;
3795
3796 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303797 wlan_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303798 temperature = <90000>;
3799 hysteresis = <2000>;
3800 type = "hot";
3801 };
3802 };
3803 };
3804
3805 q6-hvx-thermal {
3806 polling-delay-passive = <250>;
3807 polling-delay = <1000>;
3808
3809 thermal-sensors = <&tsens1 4>;
3810
3811 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303812 q6_hvx_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303813 temperature = <90000>;
3814 hysteresis = <2000>;
3815 type = "hot";
3816 };
3817 };
3818 };
3819
3820 camera-thermal {
3821 polling-delay-passive = <250>;
3822 polling-delay = <1000>;
3823
3824 thermal-sensors = <&tsens1 5>;
3825
3826 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303827 camera_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303828 temperature = <90000>;
3829 hysteresis = <2000>;
3830 type = "hot";
3831 };
3832 };
3833 };
3834
3835 video-thermal {
3836 polling-delay-passive = <250>;
3837 polling-delay = <1000>;
3838
3839 thermal-sensors = <&tsens1 6>;
3840
3841 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303842 video_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303843 temperature = <90000>;
3844 hysteresis = <2000>;
3845 type = "hot";
3846 };
3847 };
3848 };
3849
3850 modem-thermal {
3851 polling-delay-passive = <250>;
3852 polling-delay = <1000>;
3853
3854 thermal-sensors = <&tsens1 7>;
3855
3856 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303857 modem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303858 temperature = <90000>;
3859 hysteresis = <2000>;
3860 type = "hot";
3861 };
3862 };
3863 };
Amit Kucheria48847882018-06-12 15:26:54 +03003864 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303865};