blob: e285cbd8211c95772ca6ee9f8fc4bdaac51b8214 [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>;
494 };
495 };
496
497 cdsp_pas: remoteproc-cdsp {
498 compatible = "qcom,sdm845-cdsp-pas";
499
500 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
501 <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
502 <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
503 <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
504 <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
505 interrupt-names = "wdog", "fatal", "ready",
506 "handover", "stop-ack";
507
508 clocks = <&rpmhcc RPMH_CXO_CLK>;
509 clock-names = "xo";
510
511 memory-region = <&cdsp_mem>;
512
513 qcom,smem-states = <&cdsp_smp2p_out 0>;
514 qcom,smem-state-names = "stop";
515
516 status = "disabled";
517
518 glink-edge {
519 interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>;
520 label = "turing";
521 qcom,remote-pid = <5>;
522 mboxes = <&apss_shared 4>;
523 };
524 };
525
Sibi S71c84282018-04-30 20:14:28 +0530526 tcsr_mutex: hwlock {
527 compatible = "qcom,tcsr-mutex";
528 syscon = <&tcsr_mutex_regs 0 0x1000>;
529 #hwlock-cells = <1>;
530 };
531
532 smem {
533 compatible = "qcom,smem";
534 memory-region = <&smem_mem>;
535 hwlocks = <&tcsr_mutex 3>;
536 };
537
Bjorn Andersson3debb1f2018-09-01 15:27:21 -0700538 smp2p-cdsp {
539 compatible = "qcom,smp2p";
540 qcom,smem = <94>, <432>;
541
542 interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
543
544 mboxes = <&apss_shared 6>;
545
546 qcom,local-pid = <0>;
547 qcom,remote-pid = <5>;
548
549 cdsp_smp2p_out: master-kernel {
550 qcom,entry-name = "master-kernel";
551 #qcom,smem-state-cells = <1>;
552 };
553
554 cdsp_smp2p_in: slave-kernel {
555 qcom,entry-name = "slave-kernel";
556
557 interrupt-controller;
558 #interrupt-cells = <2>;
559 };
560 };
561
562 smp2p-lpass {
563 compatible = "qcom,smp2p";
564 qcom,smem = <443>, <429>;
565
566 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
567
568 mboxes = <&apss_shared 10>;
569
570 qcom,local-pid = <0>;
571 qcom,remote-pid = <2>;
572
573 adsp_smp2p_out: master-kernel {
574 qcom,entry-name = "master-kernel";
575 #qcom,smem-state-cells = <1>;
576 };
577
578 adsp_smp2p_in: slave-kernel {
579 qcom,entry-name = "slave-kernel";
580
581 interrupt-controller;
582 #interrupt-cells = <2>;
583 };
584 };
585
586 smp2p-mpss {
587 compatible = "qcom,smp2p";
588 qcom,smem = <435>, <428>;
589 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
590 mboxes = <&apss_shared 14>;
591 qcom,local-pid = <0>;
592 qcom,remote-pid = <1>;
593
594 modem_smp2p_out: master-kernel {
595 qcom,entry-name = "master-kernel";
596 #qcom,smem-state-cells = <1>;
597 };
598
599 modem_smp2p_in: slave-kernel {
600 qcom,entry-name = "slave-kernel";
601 interrupt-controller;
602 #interrupt-cells = <2>;
603 };
604 };
605
606 smp2p-slpi {
607 compatible = "qcom,smp2p";
608 qcom,smem = <481>, <430>;
609 interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
610 mboxes = <&apss_shared 26>;
611 qcom,local-pid = <0>;
612 qcom,remote-pid = <3>;
613
614 slpi_smp2p_out: master-kernel {
615 qcom,entry-name = "master-kernel";
616 #qcom,smem-state-cells = <1>;
617 };
618
619 slpi_smp2p_in: slave-kernel {
620 qcom,entry-name = "slave-kernel";
621 interrupt-controller;
622 #interrupt-cells = <2>;
623 };
624 };
625
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530626 psci {
627 compatible = "arm,psci-1.0";
628 method = "smc";
629 };
630
Vinod Koula1875bf2019-07-24 10:19:02 +0530631 soc: soc@0 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800632 #address-cells = <2>;
633 #size-cells = <2>;
Bjorn Andersson9feb6672019-01-16 20:29:40 -0800634 ranges = <0 0 0 0 0x10 0>;
635 dma-ranges = <0 0 0 0 0x10 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530636 compatible = "simple-bus";
637
Douglas Anderson54d7a202018-05-14 20:59:22 -0700638 gcc: clock-controller@100000 {
639 compatible = "qcom,gcc-sdm845";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800640 reg = <0 0x00100000 0 0x1f0000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -0700641 #clock-cells = <1>;
642 #reset-cells = <1>;
643 #power-domain-cells = <1>;
644 };
645
Manu Gautamca4db2b2018-08-22 10:36:27 -0700646 qfprom@784000 {
647 compatible = "qcom,qfprom";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800648 reg = <0 0x00784000 0 0x8ff>;
Manu Gautamca4db2b2018-08-22 10:36:27 -0700649 #address-cells = <1>;
650 #size-cells = <1>;
651
652 qusb2p_hstx_trim: hstx-trim-primary@1eb {
653 reg = <0x1eb 0x1>;
654 bits = <1 4>;
655 };
656
657 qusb2s_hstx_trim: hstx-trim-secondary@1eb {
658 reg = <0x1eb 0x2>;
659 bits = <6 4>;
660 };
661 };
662
Vinod Koul6e17f8142018-10-01 11:51:51 +0530663 rng: rng@793000 {
664 compatible = "qcom,prng-ee";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800665 reg = <0 0x00793000 0 0x1000>;
Vinod Koul6e17f8142018-10-01 11:51:51 +0530666 clocks = <&gcc GCC_PRNG_AHB_CLK>;
667 clock-names = "core";
668 };
669
Douglas Anderson897cf342018-06-13 09:53:51 -0700670 qupv3_id_0: geniqup@8c0000 {
671 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800672 reg = <0 0x008c0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700673 clock-names = "m-ahb", "s-ahb";
674 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
675 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800676 #address-cells = <2>;
677 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700678 ranges;
Douglas Anderson499ff112018-06-29 11:45:27 -0700679 status = "disabled";
Douglas Anderson897cf342018-06-13 09:53:51 -0700680
681 i2c0: i2c@880000 {
682 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800683 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700684 clock-names = "se";
685 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
686 pinctrl-names = "default";
687 pinctrl-0 = <&qup_i2c0_default>;
688 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
689 #address-cells = <1>;
690 #size-cells = <0>;
691 status = "disabled";
692 };
693
694 spi0: spi@880000 {
695 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800696 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700697 clock-names = "se";
698 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
699 pinctrl-names = "default";
700 pinctrl-0 = <&qup_spi0_default>;
701 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
702 #address-cells = <1>;
703 #size-cells = <0>;
704 status = "disabled";
705 };
706
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700707 uart0: serial@880000 {
708 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800709 reg = <0 0x00880000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700710 clock-names = "se";
711 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
712 pinctrl-names = "default";
713 pinctrl-0 = <&qup_uart0_default>;
714 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
715 status = "disabled";
716 };
717
Douglas Anderson897cf342018-06-13 09:53:51 -0700718 i2c1: i2c@884000 {
719 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800720 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700721 clock-names = "se";
722 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
723 pinctrl-names = "default";
724 pinctrl-0 = <&qup_i2c1_default>;
725 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
726 #address-cells = <1>;
727 #size-cells = <0>;
728 status = "disabled";
729 };
730
731 spi1: spi@884000 {
732 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800733 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700734 clock-names = "se";
735 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
736 pinctrl-names = "default";
737 pinctrl-0 = <&qup_spi1_default>;
738 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
739 #address-cells = <1>;
740 #size-cells = <0>;
741 status = "disabled";
742 };
743
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700744 uart1: serial@884000 {
745 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800746 reg = <0 0x00884000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700747 clock-names = "se";
748 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
749 pinctrl-names = "default";
750 pinctrl-0 = <&qup_uart1_default>;
751 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
752 status = "disabled";
753 };
754
Douglas Anderson897cf342018-06-13 09:53:51 -0700755 i2c2: i2c@888000 {
756 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800757 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700758 clock-names = "se";
759 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
760 pinctrl-names = "default";
761 pinctrl-0 = <&qup_i2c2_default>;
762 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
763 #address-cells = <1>;
764 #size-cells = <0>;
765 status = "disabled";
766 };
767
768 spi2: spi@888000 {
769 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800770 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700771 clock-names = "se";
772 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
773 pinctrl-names = "default";
774 pinctrl-0 = <&qup_spi2_default>;
775 interrupts = <GIC_SPI 603 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 uart2: serial@888000 {
782 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800783 reg = <0 0x00888000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700784 clock-names = "se";
785 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
786 pinctrl-names = "default";
787 pinctrl-0 = <&qup_uart2_default>;
788 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
789 status = "disabled";
790 };
791
Douglas Anderson897cf342018-06-13 09:53:51 -0700792 i2c3: i2c@88c000 {
793 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800794 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700795 clock-names = "se";
796 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
797 pinctrl-names = "default";
798 pinctrl-0 = <&qup_i2c3_default>;
799 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
800 #address-cells = <1>;
801 #size-cells = <0>;
802 status = "disabled";
803 };
804
805 spi3: spi@88c000 {
806 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800807 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700808 clock-names = "se";
809 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
810 pinctrl-names = "default";
811 pinctrl-0 = <&qup_spi3_default>;
812 interrupts = <GIC_SPI 604 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 uart3: serial@88c000 {
819 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800820 reg = <0 0x0088c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700821 clock-names = "se";
822 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
823 pinctrl-names = "default";
824 pinctrl-0 = <&qup_uart3_default>;
825 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
826 status = "disabled";
827 };
828
Douglas Anderson897cf342018-06-13 09:53:51 -0700829 i2c4: i2c@890000 {
830 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800831 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700832 clock-names = "se";
833 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
834 pinctrl-names = "default";
835 pinctrl-0 = <&qup_i2c4_default>;
836 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
837 #address-cells = <1>;
838 #size-cells = <0>;
839 status = "disabled";
840 };
841
842 spi4: spi@890000 {
843 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800844 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700845 clock-names = "se";
846 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
847 pinctrl-names = "default";
848 pinctrl-0 = <&qup_spi4_default>;
849 interrupts = <GIC_SPI 605 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 uart4: serial@890000 {
856 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800857 reg = <0 0x00890000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700858 clock-names = "se";
859 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
860 pinctrl-names = "default";
861 pinctrl-0 = <&qup_uart4_default>;
862 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
863 status = "disabled";
864 };
865
Douglas Anderson897cf342018-06-13 09:53:51 -0700866 i2c5: i2c@894000 {
867 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800868 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700869 clock-names = "se";
870 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
871 pinctrl-names = "default";
872 pinctrl-0 = <&qup_i2c5_default>;
873 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
874 #address-cells = <1>;
875 #size-cells = <0>;
876 status = "disabled";
877 };
878
879 spi5: spi@894000 {
880 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800881 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700882 clock-names = "se";
883 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
884 pinctrl-names = "default";
885 pinctrl-0 = <&qup_spi5_default>;
886 interrupts = <GIC_SPI 606 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 uart5: serial@894000 {
893 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800894 reg = <0 0x00894000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700895 clock-names = "se";
896 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
897 pinctrl-names = "default";
898 pinctrl-0 = <&qup_uart5_default>;
899 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
900 status = "disabled";
901 };
902
Douglas Anderson897cf342018-06-13 09:53:51 -0700903 i2c6: i2c@898000 {
904 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800905 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700906 clock-names = "se";
907 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
908 pinctrl-names = "default";
909 pinctrl-0 = <&qup_i2c6_default>;
910 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
911 #address-cells = <1>;
912 #size-cells = <0>;
913 status = "disabled";
914 };
915
916 spi6: spi@898000 {
917 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800918 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700919 clock-names = "se";
920 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
921 pinctrl-names = "default";
922 pinctrl-0 = <&qup_spi6_default>;
923 interrupts = <GIC_SPI 607 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 uart6: serial@898000 {
930 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800931 reg = <0 0x00898000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700932 clock-names = "se";
933 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
934 pinctrl-names = "default";
935 pinctrl-0 = <&qup_uart6_default>;
936 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
937 status = "disabled";
938 };
939
Douglas Anderson897cf342018-06-13 09:53:51 -0700940 i2c7: i2c@89c000 {
941 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800942 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700943 clock-names = "se";
944 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
945 pinctrl-names = "default";
946 pinctrl-0 = <&qup_i2c7_default>;
947 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
948 #address-cells = <1>;
949 #size-cells = <0>;
950 status = "disabled";
951 };
952
953 spi7: spi@89c000 {
954 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800955 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700956 clock-names = "se";
957 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
958 pinctrl-names = "default";
959 pinctrl-0 = <&qup_spi7_default>;
960 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
961 #address-cells = <1>;
962 #size-cells = <0>;
963 status = "disabled";
964 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700965
966 uart7: serial@89c000 {
967 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800968 reg = <0 0x0089c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700969 clock-names = "se";
970 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
971 pinctrl-names = "default";
972 pinctrl-0 = <&qup_uart7_default>;
973 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
974 status = "disabled";
975 };
Douglas Anderson897cf342018-06-13 09:53:51 -0700976 };
977
978 qupv3_id_1: geniqup@ac0000 {
979 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800980 reg = <0 0x00ac0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700981 clock-names = "m-ahb", "s-ahb";
982 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
983 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800984 #address-cells = <2>;
985 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700986 ranges;
987 status = "disabled";
988
989 i2c8: i2c@a80000 {
990 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800991 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700992 clock-names = "se";
993 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
994 pinctrl-names = "default";
995 pinctrl-0 = <&qup_i2c8_default>;
996 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
997 #address-cells = <1>;
998 #size-cells = <0>;
999 status = "disabled";
1000 };
1001
1002 spi8: spi@a80000 {
1003 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001004 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001005 clock-names = "se";
1006 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1007 pinctrl-names = "default";
1008 pinctrl-0 = <&qup_spi8_default>;
1009 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1010 #address-cells = <1>;
1011 #size-cells = <0>;
1012 status = "disabled";
1013 };
1014
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001015 uart8: serial@a80000 {
1016 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001017 reg = <0 0x00a80000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001018 clock-names = "se";
1019 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1020 pinctrl-names = "default";
1021 pinctrl-0 = <&qup_uart8_default>;
1022 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1023 status = "disabled";
1024 };
1025
Douglas Anderson897cf342018-06-13 09:53:51 -07001026 i2c9: i2c@a84000 {
1027 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001028 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001029 clock-names = "se";
1030 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1031 pinctrl-names = "default";
1032 pinctrl-0 = <&qup_i2c9_default>;
1033 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1034 #address-cells = <1>;
1035 #size-cells = <0>;
1036 status = "disabled";
1037 };
1038
1039 spi9: spi@a84000 {
1040 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001041 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001042 clock-names = "se";
1043 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1044 pinctrl-names = "default";
1045 pinctrl-0 = <&qup_spi9_default>;
1046 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1047 #address-cells = <1>;
1048 #size-cells = <0>;
1049 status = "disabled";
1050 };
1051
1052 uart9: serial@a84000 {
1053 compatible = "qcom,geni-debug-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001054 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001055 clock-names = "se";
1056 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1057 pinctrl-names = "default";
1058 pinctrl-0 = <&qup_uart9_default>;
1059 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1060 status = "disabled";
1061 };
1062
1063 i2c10: i2c@a88000 {
1064 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001065 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001066 clock-names = "se";
1067 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1068 pinctrl-names = "default";
1069 pinctrl-0 = <&qup_i2c10_default>;
1070 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1071 #address-cells = <1>;
1072 #size-cells = <0>;
1073 status = "disabled";
1074 };
1075
1076 spi10: spi@a88000 {
1077 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001078 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001079 clock-names = "se";
1080 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1081 pinctrl-names = "default";
1082 pinctrl-0 = <&qup_spi10_default>;
1083 interrupts = <GIC_SPI 355 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 uart10: serial@a88000 {
1090 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001091 reg = <0 0x00a88000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001092 clock-names = "se";
1093 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1094 pinctrl-names = "default";
1095 pinctrl-0 = <&qup_uart10_default>;
1096 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1097 status = "disabled";
1098 };
1099
Douglas Anderson897cf342018-06-13 09:53:51 -07001100 i2c11: i2c@a8c000 {
1101 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001102 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001103 clock-names = "se";
1104 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1105 pinctrl-names = "default";
1106 pinctrl-0 = <&qup_i2c11_default>;
1107 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1108 #address-cells = <1>;
1109 #size-cells = <0>;
1110 status = "disabled";
1111 };
1112
1113 spi11: spi@a8c000 {
1114 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001115 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001116 clock-names = "se";
1117 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1118 pinctrl-names = "default";
1119 pinctrl-0 = <&qup_spi11_default>;
1120 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1121 #address-cells = <1>;
1122 #size-cells = <0>;
1123 status = "disabled";
1124 };
1125
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001126 uart11: serial@a8c000 {
1127 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001128 reg = <0 0x00a8c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001129 clock-names = "se";
1130 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1131 pinctrl-names = "default";
1132 pinctrl-0 = <&qup_uart11_default>;
1133 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1134 status = "disabled";
1135 };
1136
Douglas Anderson897cf342018-06-13 09:53:51 -07001137 i2c12: i2c@a90000 {
1138 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001139 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001140 clock-names = "se";
1141 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1142 pinctrl-names = "default";
1143 pinctrl-0 = <&qup_i2c12_default>;
1144 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1145 #address-cells = <1>;
1146 #size-cells = <0>;
1147 status = "disabled";
1148 };
1149
1150 spi12: spi@a90000 {
1151 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001152 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001153 clock-names = "se";
1154 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1155 pinctrl-names = "default";
1156 pinctrl-0 = <&qup_spi12_default>;
1157 interrupts = <GIC_SPI 357 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 uart12: serial@a90000 {
1164 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001165 reg = <0 0x00a90000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001166 clock-names = "se";
1167 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1168 pinctrl-names = "default";
1169 pinctrl-0 = <&qup_uart12_default>;
1170 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1171 status = "disabled";
1172 };
1173
Douglas Anderson897cf342018-06-13 09:53:51 -07001174 i2c13: i2c@a94000 {
1175 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001176 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001177 clock-names = "se";
1178 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1179 pinctrl-names = "default";
1180 pinctrl-0 = <&qup_i2c13_default>;
1181 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1182 #address-cells = <1>;
1183 #size-cells = <0>;
1184 status = "disabled";
1185 };
1186
1187 spi13: spi@a94000 {
1188 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001189 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001190 clock-names = "se";
1191 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1192 pinctrl-names = "default";
1193 pinctrl-0 = <&qup_spi13_default>;
1194 interrupts = <GIC_SPI 358 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 uart13: serial@a94000 {
1201 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001202 reg = <0 0x00a94000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001203 clock-names = "se";
1204 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1205 pinctrl-names = "default";
1206 pinctrl-0 = <&qup_uart13_default>;
1207 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1208 status = "disabled";
1209 };
1210
Douglas Anderson897cf342018-06-13 09:53:51 -07001211 i2c14: i2c@a98000 {
1212 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001213 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001214 clock-names = "se";
1215 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1216 pinctrl-names = "default";
1217 pinctrl-0 = <&qup_i2c14_default>;
1218 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1219 #address-cells = <1>;
1220 #size-cells = <0>;
1221 status = "disabled";
1222 };
1223
1224 spi14: spi@a98000 {
1225 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001226 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001227 clock-names = "se";
1228 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1229 pinctrl-names = "default";
1230 pinctrl-0 = <&qup_spi14_default>;
1231 interrupts = <GIC_SPI 359 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 uart14: serial@a98000 {
1238 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001239 reg = <0 0x00a98000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001240 clock-names = "se";
1241 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1242 pinctrl-names = "default";
1243 pinctrl-0 = <&qup_uart14_default>;
1244 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1245 status = "disabled";
1246 };
1247
Douglas Anderson897cf342018-06-13 09:53:51 -07001248 i2c15: i2c@a9c000 {
1249 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001250 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001251 clock-names = "se";
1252 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1253 pinctrl-names = "default";
1254 pinctrl-0 = <&qup_i2c15_default>;
1255 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1256 #address-cells = <1>;
1257 #size-cells = <0>;
1258 status = "disabled";
1259 };
1260
1261 spi15: spi@a9c000 {
1262 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001263 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001264 clock-names = "se";
1265 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1266 pinctrl-names = "default";
1267 pinctrl-0 = <&qup_spi15_default>;
1268 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1269 #address-cells = <1>;
1270 #size-cells = <0>;
1271 status = "disabled";
1272 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001273
1274 uart15: serial@a9c000 {
1275 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001276 reg = <0 0x00a9c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001277 clock-names = "se";
1278 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1279 pinctrl-names = "default";
1280 pinctrl-0 = <&qup_uart15_default>;
1281 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1282 status = "disabled";
1283 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001284 };
1285
Sai Prakash Ranjanba0411d2019-07-10 16:59:24 +05301286 cache-controller@1100000 {
1287 compatible = "qcom,sdm845-llcc";
1288 reg = <0 0x01100000 0 0x200000>, <0 0x01300000 0 0x50000>;
1289 reg-names = "llcc_base", "llcc_broadcast_base";
1290 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
1291 };
1292
Evan Greencc166872018-12-10 11:28:24 -08001293 ufs_mem_hc: ufshc@1d84000 {
1294 compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
1295 "jedec,ufs-2.0";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001296 reg = <0 0x01d84000 0 0x2500>;
Evan Greencc166872018-12-10 11:28:24 -08001297 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1298 phys = <&ufs_mem_phy_lanes>;
1299 phy-names = "ufsphy";
1300 lanes-per-direction = <2>;
1301 power-domains = <&gcc UFS_PHY_GDSC>;
Evan Green71278b02019-03-21 10:17:56 -07001302 #reset-cells = <1>;
Evan Greencc166872018-12-10 11:28:24 -08001303
1304 iommus = <&apps_smmu 0x100 0xf>;
1305
1306 clock-names =
1307 "core_clk",
1308 "bus_aggr_clk",
1309 "iface_clk",
1310 "core_clk_unipro",
1311 "ref_clk",
1312 "tx_lane0_sync_clk",
1313 "rx_lane0_sync_clk",
1314 "rx_lane1_sync_clk";
1315 clocks =
1316 <&gcc GCC_UFS_PHY_AXI_CLK>,
1317 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1318 <&gcc GCC_UFS_PHY_AHB_CLK>,
1319 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1320 <&rpmhcc RPMH_CXO_CLK>,
1321 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1322 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1323 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1324 freq-table-hz =
1325 <50000000 200000000>,
1326 <0 0>,
1327 <0 0>,
1328 <37500000 150000000>,
1329 <0 0>,
1330 <0 0>,
1331 <0 0>,
1332 <0 0>;
1333
1334 status = "disabled";
1335 };
1336
1337 ufs_mem_phy: phy@1d87000 {
1338 compatible = "qcom,sdm845-qmp-ufs-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001339 reg = <0 0x01d87000 0 0x18c>;
1340 #address-cells = <2>;
1341 #size-cells = <2>;
Evan Greencc166872018-12-10 11:28:24 -08001342 ranges;
1343 clock-names = "ref",
1344 "ref_aux";
1345 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
1346 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1347
Evan Green71278b02019-03-21 10:17:56 -07001348 resets = <&ufs_mem_hc 0>;
1349 reset-names = "ufsphy";
Evan Greencc166872018-12-10 11:28:24 -08001350 status = "disabled";
1351
1352 ufs_mem_phy_lanes: lanes@1d87400 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001353 reg = <0 0x01d87400 0 0x108>,
1354 <0 0x01d87600 0 0x1e0>,
1355 <0 0x01d87c00 0 0x1dc>,
1356 <0 0x01d87800 0 0x108>,
1357 <0 0x01d87a00 0 0x1e0>;
Evan Greencc166872018-12-10 11:28:24 -08001358 #phy-cells = <0>;
1359 };
1360 };
1361
Douglas Anderson54d7a202018-05-14 20:59:22 -07001362 tcsr_mutex_regs: syscon@1f40000 {
1363 compatible = "syscon";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001364 reg = <0 0x01f40000 0 0x40000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001365 };
1366
1367 tlmm: pinctrl@3400000 {
1368 compatible = "qcom,sdm845-pinctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001369 reg = <0 0x03400000 0 0xc00000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001370 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1371 gpio-controller;
1372 #gpio-cells = <2>;
1373 interrupt-controller;
1374 #interrupt-cells = <2>;
Evan Greenbc2c8062018-11-09 15:52:12 -08001375 gpio-ranges = <&tlmm 0 0 150>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001376
Douglas Andersone1ce8532018-10-08 13:17:11 -07001377 qspi_clk: qspi-clk {
1378 pinmux {
1379 pins = "gpio95";
1380 function = "qspi_clk";
1381 };
1382 };
1383
1384 qspi_cs0: qspi-cs0 {
1385 pinmux {
1386 pins = "gpio90";
1387 function = "qspi_cs";
1388 };
1389 };
1390
1391 qspi_cs1: qspi-cs1 {
1392 pinmux {
1393 pins = "gpio89";
1394 function = "qspi_cs";
1395 };
1396 };
1397
1398 qspi_data01: qspi-data01 {
1399 pinmux-data {
1400 pins = "gpio91", "gpio92";
1401 function = "qspi_data";
1402 };
1403 };
1404
1405 qspi_data12: qspi-data12 {
1406 pinmux-data {
1407 pins = "gpio93", "gpio94";
1408 function = "qspi_data";
1409 };
1410 };
1411
Douglas Anderson897cf342018-06-13 09:53:51 -07001412 qup_i2c0_default: qup-i2c0-default {
1413 pinmux {
1414 pins = "gpio0", "gpio1";
1415 function = "qup0";
1416 };
1417 };
1418
1419 qup_i2c1_default: qup-i2c1-default {
1420 pinmux {
1421 pins = "gpio17", "gpio18";
1422 function = "qup1";
1423 };
1424 };
1425
1426 qup_i2c2_default: qup-i2c2-default {
1427 pinmux {
1428 pins = "gpio27", "gpio28";
1429 function = "qup2";
1430 };
1431 };
1432
1433 qup_i2c3_default: qup-i2c3-default {
1434 pinmux {
1435 pins = "gpio41", "gpio42";
1436 function = "qup3";
1437 };
1438 };
1439
1440 qup_i2c4_default: qup-i2c4-default {
1441 pinmux {
1442 pins = "gpio89", "gpio90";
1443 function = "qup4";
1444 };
1445 };
1446
1447 qup_i2c5_default: qup-i2c5-default {
1448 pinmux {
1449 pins = "gpio85", "gpio86";
1450 function = "qup5";
1451 };
1452 };
1453
1454 qup_i2c6_default: qup-i2c6-default {
1455 pinmux {
1456 pins = "gpio45", "gpio46";
1457 function = "qup6";
1458 };
1459 };
1460
1461 qup_i2c7_default: qup-i2c7-default {
1462 pinmux {
1463 pins = "gpio93", "gpio94";
1464 function = "qup7";
1465 };
1466 };
1467
1468 qup_i2c8_default: qup-i2c8-default {
1469 pinmux {
1470 pins = "gpio65", "gpio66";
1471 function = "qup8";
1472 };
1473 };
1474
1475 qup_i2c9_default: qup-i2c9-default {
1476 pinmux {
1477 pins = "gpio6", "gpio7";
1478 function = "qup9";
1479 };
1480 };
1481
1482 qup_i2c10_default: qup-i2c10-default {
1483 pinmux {
1484 pins = "gpio55", "gpio56";
1485 function = "qup10";
1486 };
1487 };
1488
1489 qup_i2c11_default: qup-i2c11-default {
1490 pinmux {
1491 pins = "gpio31", "gpio32";
1492 function = "qup11";
1493 };
1494 };
1495
1496 qup_i2c12_default: qup-i2c12-default {
1497 pinmux {
1498 pins = "gpio49", "gpio50";
1499 function = "qup12";
1500 };
1501 };
1502
1503 qup_i2c13_default: qup-i2c13-default {
1504 pinmux {
1505 pins = "gpio105", "gpio106";
1506 function = "qup13";
1507 };
1508 };
1509
1510 qup_i2c14_default: qup-i2c14-default {
1511 pinmux {
1512 pins = "gpio33", "gpio34";
1513 function = "qup14";
1514 };
1515 };
1516
1517 qup_i2c15_default: qup-i2c15-default {
1518 pinmux {
1519 pins = "gpio81", "gpio82";
1520 function = "qup15";
1521 };
1522 };
1523
1524 qup_spi0_default: qup-spi0-default {
1525 pinmux {
1526 pins = "gpio0", "gpio1",
1527 "gpio2", "gpio3";
1528 function = "qup0";
1529 };
1530 };
1531
1532 qup_spi1_default: qup-spi1-default {
1533 pinmux {
1534 pins = "gpio17", "gpio18",
1535 "gpio19", "gpio20";
1536 function = "qup1";
1537 };
1538 };
1539
1540 qup_spi2_default: qup-spi2-default {
1541 pinmux {
1542 pins = "gpio27", "gpio28",
1543 "gpio29", "gpio30";
1544 function = "qup2";
1545 };
1546 };
1547
1548 qup_spi3_default: qup-spi3-default {
1549 pinmux {
1550 pins = "gpio41", "gpio42",
1551 "gpio43", "gpio44";
1552 function = "qup3";
1553 };
1554 };
1555
1556 qup_spi4_default: qup-spi4-default {
1557 pinmux {
1558 pins = "gpio89", "gpio90",
1559 "gpio91", "gpio92";
1560 function = "qup4";
1561 };
1562 };
1563
1564 qup_spi5_default: qup-spi5-default {
1565 pinmux {
1566 pins = "gpio85", "gpio86",
1567 "gpio87", "gpio88";
1568 function = "qup5";
1569 };
1570 };
1571
1572 qup_spi6_default: qup-spi6-default {
1573 pinmux {
1574 pins = "gpio45", "gpio46",
1575 "gpio47", "gpio48";
1576 function = "qup6";
1577 };
1578 };
1579
1580 qup_spi7_default: qup-spi7-default {
1581 pinmux {
1582 pins = "gpio93", "gpio94",
1583 "gpio95", "gpio96";
1584 function = "qup7";
1585 };
1586 };
1587
1588 qup_spi8_default: qup-spi8-default {
1589 pinmux {
1590 pins = "gpio65", "gpio66",
1591 "gpio67", "gpio68";
1592 function = "qup8";
1593 };
1594 };
1595
1596 qup_spi9_default: qup-spi9-default {
1597 pinmux {
1598 pins = "gpio6", "gpio7",
1599 "gpio4", "gpio5";
1600 function = "qup9";
1601 };
1602 };
1603
1604 qup_spi10_default: qup-spi10-default {
1605 pinmux {
1606 pins = "gpio55", "gpio56",
1607 "gpio53", "gpio54";
1608 function = "qup10";
1609 };
1610 };
1611
1612 qup_spi11_default: qup-spi11-default {
1613 pinmux {
1614 pins = "gpio31", "gpio32",
1615 "gpio33", "gpio34";
1616 function = "qup11";
1617 };
1618 };
1619
1620 qup_spi12_default: qup-spi12-default {
1621 pinmux {
1622 pins = "gpio49", "gpio50",
1623 "gpio51", "gpio52";
1624 function = "qup12";
1625 };
1626 };
1627
1628 qup_spi13_default: qup-spi13-default {
1629 pinmux {
1630 pins = "gpio105", "gpio106",
1631 "gpio107", "gpio108";
1632 function = "qup13";
1633 };
1634 };
1635
1636 qup_spi14_default: qup-spi14-default {
1637 pinmux {
1638 pins = "gpio33", "gpio34",
1639 "gpio31", "gpio32";
1640 function = "qup14";
1641 };
1642 };
1643
1644 qup_spi15_default: qup-spi15-default {
1645 pinmux {
1646 pins = "gpio81", "gpio82",
1647 "gpio83", "gpio84";
1648 function = "qup15";
1649 };
1650 };
1651
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001652 qup_uart0_default: qup-uart0-default {
1653 pinmux {
1654 pins = "gpio2", "gpio3";
1655 function = "qup0";
1656 };
1657 };
1658
1659 qup_uart1_default: qup-uart1-default {
1660 pinmux {
1661 pins = "gpio19", "gpio20";
1662 function = "qup1";
1663 };
1664 };
1665
1666 qup_uart2_default: qup-uart2-default {
1667 pinmux {
1668 pins = "gpio29", "gpio30";
1669 function = "qup2";
1670 };
1671 };
1672
1673 qup_uart3_default: qup-uart3-default {
1674 pinmux {
1675 pins = "gpio43", "gpio44";
1676 function = "qup3";
1677 };
1678 };
1679
1680 qup_uart4_default: qup-uart4-default {
1681 pinmux {
1682 pins = "gpio91", "gpio92";
1683 function = "qup4";
1684 };
1685 };
1686
1687 qup_uart5_default: qup-uart5-default {
1688 pinmux {
1689 pins = "gpio87", "gpio88";
1690 function = "qup5";
1691 };
1692 };
1693
1694 qup_uart6_default: qup-uart6-default {
1695 pinmux {
1696 pins = "gpio47", "gpio48";
1697 function = "qup6";
1698 };
1699 };
1700
1701 qup_uart7_default: qup-uart7-default {
1702 pinmux {
1703 pins = "gpio95", "gpio96";
1704 function = "qup7";
1705 };
1706 };
1707
1708 qup_uart8_default: qup-uart8-default {
1709 pinmux {
1710 pins = "gpio67", "gpio68";
1711 function = "qup8";
1712 };
1713 };
1714
Douglas Anderson897cf342018-06-13 09:53:51 -07001715 qup_uart9_default: qup-uart9-default {
1716 pinmux {
1717 pins = "gpio4", "gpio5";
1718 function = "qup9";
1719 };
1720 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001721
1722 qup_uart10_default: qup-uart10-default {
1723 pinmux {
1724 pins = "gpio53", "gpio54";
1725 function = "qup10";
1726 };
1727 };
1728
1729 qup_uart11_default: qup-uart11-default {
1730 pinmux {
1731 pins = "gpio33", "gpio34";
1732 function = "qup11";
1733 };
1734 };
1735
1736 qup_uart12_default: qup-uart12-default {
1737 pinmux {
1738 pins = "gpio51", "gpio52";
1739 function = "qup12";
1740 };
1741 };
1742
1743 qup_uart13_default: qup-uart13-default {
1744 pinmux {
1745 pins = "gpio107", "gpio108";
1746 function = "qup13";
1747 };
1748 };
1749
1750 qup_uart14_default: qup-uart14-default {
1751 pinmux {
1752 pins = "gpio31", "gpio32";
1753 function = "qup14";
1754 };
1755 };
1756
1757 qup_uart15_default: qup-uart15-default {
1758 pinmux {
1759 pins = "gpio83", "gpio84";
1760 function = "qup15";
1761 };
1762 };
Douglas Anderson54d7a202018-05-14 20:59:22 -07001763 };
1764
Sibi Sankare76c3672019-06-11 21:45:36 -07001765 mss_pil: remoteproc@4080000 {
1766 compatible = "qcom,sdm845-mss-pil";
1767 reg = <0 0x04080000 0 0x408>, <0 0x04180000 0 0x48>;
1768 reg-names = "qdsp6", "rmb";
1769
1770 interrupts-extended =
1771 <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
1772 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1773 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1774 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1775 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
1776 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
1777 interrupt-names = "wdog", "fatal", "ready",
1778 "handover", "stop-ack",
1779 "shutdown-ack";
1780
1781 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
1782 <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
1783 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1784 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
1785 <&gcc GCC_MSS_SNOC_AXI_CLK>,
1786 <&gcc GCC_MSS_MFAB_AXIS_CLK>,
1787 <&gcc GCC_PRNG_AHB_CLK>,
1788 <&rpmhcc RPMH_CXO_CLK>;
1789 clock-names = "iface", "bus", "mem", "gpll0_mss",
1790 "snoc_axi", "mnoc_axi", "prng", "xo";
1791
1792 qcom,smem-states = <&modem_smp2p_out 0>;
1793 qcom,smem-state-names = "stop";
1794
1795 resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
1796 <&pdc_reset PDC_MODEM_SYNC_RESET>;
1797 reset-names = "mss_restart", "pdc_reset";
1798
1799 qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>;
1800
1801 power-domains = <&aoss_qmp 2>,
1802 <&rpmhpd SDM845_CX>,
1803 <&rpmhpd SDM845_MX>,
1804 <&rpmhpd SDM845_MSS>;
1805 power-domain-names = "load_state", "cx", "mx", "mss";
1806
1807 mba {
1808 memory-region = <&mba_region>;
1809 };
1810
1811 mpss {
1812 memory-region = <&mpss_region>;
1813 };
1814
1815 glink-edge {
1816 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
1817 label = "modem";
1818 qcom,remote-pid = <1>;
1819 mboxes = <&apss_shared 12>;
1820 };
1821 };
1822
Douglas Anderson9aa4a272018-11-28 10:57:43 -08001823 gpucc: clock-controller@5090000 {
1824 compatible = "qcom,sdm845-gpucc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001825 reg = <0 0x05090000 0 0x9000>;
Douglas Anderson9aa4a272018-11-28 10:57:43 -08001826 #clock-cells = <1>;
1827 #reset-cells = <1>;
1828 #power-domain-cells = <1>;
1829 clocks = <&rpmhcc RPMH_CXO_CLK>;
1830 clock-names = "xo";
1831 };
1832
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05301833 stm@6002000 {
1834 compatible = "arm,coresight-stm", "arm,primecell";
1835 reg = <0 0x06002000 0 0x1000>,
1836 <0 0x16280000 0 0x180000>;
1837 reg-names = "stm-base", "stm-stimulus-base";
1838
1839 clocks = <&aoss_qmp>;
1840 clock-names = "apb_pclk";
1841
1842 out-ports {
1843 port {
1844 stm_out: endpoint {
1845 remote-endpoint =
1846 <&funnel0_in7>;
1847 };
1848 };
1849 };
1850 };
1851
1852 funnel@6041000 {
1853 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1854 reg = <0 0x06041000 0 0x1000>;
1855
1856 clocks = <&aoss_qmp>;
1857 clock-names = "apb_pclk";
1858
1859 out-ports {
1860 port {
1861 funnel0_out: endpoint {
1862 remote-endpoint =
1863 <&merge_funnel_in0>;
1864 };
1865 };
1866 };
1867
1868 in-ports {
1869 #address-cells = <1>;
1870 #size-cells = <0>;
1871
1872 port@7 {
1873 reg = <7>;
1874 funnel0_in7: endpoint {
1875 remote-endpoint = <&stm_out>;
1876 };
1877 };
1878 };
1879 };
1880
1881 funnel@6043000 {
1882 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1883 reg = <0 0x06043000 0 0x1000>;
1884
1885 clocks = <&aoss_qmp>;
1886 clock-names = "apb_pclk";
1887
1888 out-ports {
1889 port {
1890 funnel2_out: endpoint {
1891 remote-endpoint =
1892 <&merge_funnel_in2>;
1893 };
1894 };
1895 };
1896
1897 in-ports {
1898 #address-cells = <1>;
1899 #size-cells = <0>;
1900
1901 port@5 {
1902 reg = <5>;
1903 funnel2_in5: endpoint {
1904 remote-endpoint =
1905 <&apss_merge_funnel_out>;
1906 };
1907 };
1908 };
1909 };
1910
1911 funnel@6045000 {
1912 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1913 reg = <0 0x06045000 0 0x1000>;
1914
1915 clocks = <&aoss_qmp>;
1916 clock-names = "apb_pclk";
1917
1918 out-ports {
1919 port {
1920 merge_funnel_out: endpoint {
1921 remote-endpoint = <&etf_in>;
1922 };
1923 };
1924 };
1925
1926 in-ports {
1927 #address-cells = <1>;
1928 #size-cells = <0>;
1929
1930 port@0 {
1931 reg = <0>;
1932 merge_funnel_in0: endpoint {
1933 remote-endpoint =
1934 <&funnel0_out>;
1935 };
1936 };
1937
1938 port@2 {
1939 reg = <2>;
1940 merge_funnel_in2: endpoint {
1941 remote-endpoint =
1942 <&funnel2_out>;
1943 };
1944 };
1945 };
1946 };
1947
1948 replicator@6046000 {
1949 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
1950 reg = <0 0x06046000 0 0x1000>;
1951
1952 clocks = <&aoss_qmp>;
1953 clock-names = "apb_pclk";
1954
1955 out-ports {
1956 port {
1957 replicator_out: endpoint {
1958 remote-endpoint = <&etr_in>;
1959 };
1960 };
1961 };
1962
1963 in-ports {
1964 port {
1965 replicator_in: endpoint {
1966 remote-endpoint = <&etf_out>;
1967 };
1968 };
1969 };
1970 };
1971
1972 etf@6047000 {
1973 compatible = "arm,coresight-tmc", "arm,primecell";
1974 reg = <0 0x06047000 0 0x1000>;
1975
1976 clocks = <&aoss_qmp>;
1977 clock-names = "apb_pclk";
1978
1979 out-ports {
1980 port {
1981 etf_out: endpoint {
1982 remote-endpoint =
1983 <&replicator_in>;
1984 };
1985 };
1986 };
1987
1988 in-ports {
1989 #address-cells = <1>;
1990 #size-cells = <0>;
1991
1992 port@1 {
1993 reg = <1>;
1994 etf_in: endpoint {
1995 remote-endpoint =
1996 <&merge_funnel_out>;
1997 };
1998 };
1999 };
2000 };
2001
2002 etr@6048000 {
2003 compatible = "arm,coresight-tmc", "arm,primecell";
2004 reg = <0 0x06048000 0 0x1000>;
2005
2006 clocks = <&aoss_qmp>;
2007 clock-names = "apb_pclk";
2008 arm,scatter-gather;
2009
2010 in-ports {
2011 port {
2012 etr_in: endpoint {
2013 remote-endpoint =
2014 <&replicator_out>;
2015 };
2016 };
2017 };
2018 };
2019
2020 etm@7040000 {
2021 compatible = "arm,coresight-etm4x", "arm,primecell";
2022 reg = <0 0x07040000 0 0x1000>;
2023
2024 cpu = <&CPU0>;
2025
2026 clocks = <&aoss_qmp>;
2027 clock-names = "apb_pclk";
2028
2029 out-ports {
2030 port {
2031 etm0_out: endpoint {
2032 remote-endpoint =
2033 <&apss_funnel_in0>;
2034 };
2035 };
2036 };
2037 };
2038
2039 etm@7140000 {
2040 compatible = "arm,coresight-etm4x", "arm,primecell";
2041 reg = <0 0x07140000 0 0x1000>;
2042
2043 cpu = <&CPU1>;
2044
2045 clocks = <&aoss_qmp>;
2046 clock-names = "apb_pclk";
2047
2048 out-ports {
2049 port {
2050 etm1_out: endpoint {
2051 remote-endpoint =
2052 <&apss_funnel_in1>;
2053 };
2054 };
2055 };
2056 };
2057
2058 etm@7240000 {
2059 compatible = "arm,coresight-etm4x", "arm,primecell";
2060 reg = <0 0x07240000 0 0x1000>;
2061
2062 cpu = <&CPU2>;
2063
2064 clocks = <&aoss_qmp>;
2065 clock-names = "apb_pclk";
2066
2067 out-ports {
2068 port {
2069 etm2_out: endpoint {
2070 remote-endpoint =
2071 <&apss_funnel_in2>;
2072 };
2073 };
2074 };
2075 };
2076
2077 etm@7340000 {
2078 compatible = "arm,coresight-etm4x", "arm,primecell";
2079 reg = <0 0x07340000 0 0x1000>;
2080
2081 cpu = <&CPU3>;
2082
2083 clocks = <&aoss_qmp>;
2084 clock-names = "apb_pclk";
2085
2086 out-ports {
2087 port {
2088 etm3_out: endpoint {
2089 remote-endpoint =
2090 <&apss_funnel_in3>;
2091 };
2092 };
2093 };
2094 };
2095
2096 etm@7440000 {
2097 compatible = "arm,coresight-etm4x", "arm,primecell";
2098 reg = <0 0x07440000 0 0x1000>;
2099
2100 cpu = <&CPU4>;
2101
2102 clocks = <&aoss_qmp>;
2103 clock-names = "apb_pclk";
2104
2105 out-ports {
2106 port {
2107 etm4_out: endpoint {
2108 remote-endpoint =
2109 <&apss_funnel_in4>;
2110 };
2111 };
2112 };
2113 };
2114
2115 etm@7540000 {
2116 compatible = "arm,coresight-etm4x", "arm,primecell";
2117 reg = <0 0x07540000 0 0x1000>;
2118
2119 cpu = <&CPU5>;
2120
2121 clocks = <&aoss_qmp>;
2122 clock-names = "apb_pclk";
2123
2124 out-ports {
2125 port {
2126 etm5_out: endpoint {
2127 remote-endpoint =
2128 <&apss_funnel_in5>;
2129 };
2130 };
2131 };
2132 };
2133
2134 etm@7640000 {
2135 compatible = "arm,coresight-etm4x", "arm,primecell";
2136 reg = <0 0x07640000 0 0x1000>;
2137
2138 cpu = <&CPU6>;
2139
2140 clocks = <&aoss_qmp>;
2141 clock-names = "apb_pclk";
2142
2143 out-ports {
2144 port {
2145 etm6_out: endpoint {
2146 remote-endpoint =
2147 <&apss_funnel_in6>;
2148 };
2149 };
2150 };
2151 };
2152
2153 etm@7740000 {
2154 compatible = "arm,coresight-etm4x", "arm,primecell";
2155 reg = <0 0x07740000 0 0x1000>;
2156
2157 cpu = <&CPU7>;
2158
2159 clocks = <&aoss_qmp>;
2160 clock-names = "apb_pclk";
2161
2162 out-ports {
2163 port {
2164 etm7_out: endpoint {
2165 remote-endpoint =
2166 <&apss_funnel_in7>;
2167 };
2168 };
2169 };
2170 };
2171
2172 funnel@7800000 { /* APSS Funnel */
2173 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2174 reg = <0 0x07800000 0 0x1000>;
2175
2176 clocks = <&aoss_qmp>;
2177 clock-names = "apb_pclk";
2178
2179 out-ports {
2180 port {
2181 apss_funnel_out: endpoint {
2182 remote-endpoint =
2183 <&apss_merge_funnel_in>;
2184 };
2185 };
2186 };
2187
2188 in-ports {
2189 #address-cells = <1>;
2190 #size-cells = <0>;
2191
2192 port@0 {
2193 reg = <0>;
2194 apss_funnel_in0: endpoint {
2195 remote-endpoint =
2196 <&etm0_out>;
2197 };
2198 };
2199
2200 port@1 {
2201 reg = <1>;
2202 apss_funnel_in1: endpoint {
2203 remote-endpoint =
2204 <&etm1_out>;
2205 };
2206 };
2207
2208 port@2 {
2209 reg = <2>;
2210 apss_funnel_in2: endpoint {
2211 remote-endpoint =
2212 <&etm2_out>;
2213 };
2214 };
2215
2216 port@3 {
2217 reg = <3>;
2218 apss_funnel_in3: endpoint {
2219 remote-endpoint =
2220 <&etm3_out>;
2221 };
2222 };
2223
2224 port@4 {
2225 reg = <4>;
2226 apss_funnel_in4: endpoint {
2227 remote-endpoint =
2228 <&etm4_out>;
2229 };
2230 };
2231
2232 port@5 {
2233 reg = <5>;
2234 apss_funnel_in5: endpoint {
2235 remote-endpoint =
2236 <&etm5_out>;
2237 };
2238 };
2239
2240 port@6 {
2241 reg = <6>;
2242 apss_funnel_in6: endpoint {
2243 remote-endpoint =
2244 <&etm6_out>;
2245 };
2246 };
2247
2248 port@7 {
2249 reg = <7>;
2250 apss_funnel_in7: endpoint {
2251 remote-endpoint =
2252 <&etm7_out>;
2253 };
2254 };
2255 };
2256 };
2257
2258 funnel@7810000 {
2259 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2260 reg = <0 0x07810000 0 0x1000>;
2261
2262 clocks = <&aoss_qmp>;
2263 clock-names = "apb_pclk";
2264
2265 out-ports {
2266 port {
2267 apss_merge_funnel_out: endpoint {
2268 remote-endpoint =
2269 <&funnel2_in5>;
2270 };
2271 };
2272 };
2273
2274 in-ports {
2275 port {
2276 apss_merge_funnel_in: endpoint {
2277 remote-endpoint =
2278 <&apss_funnel_out>;
2279 };
2280 };
2281 };
2282 };
2283
Evan Green67d62e52018-12-06 10:45:21 -08002284 sdhc_2: sdhci@8804000 {
2285 compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002286 reg = <0 0x08804000 0 0x1000>;
Evan Green67d62e52018-12-06 10:45:21 -08002287
2288 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
2289 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
2290 interrupt-names = "hc_irq", "pwr_irq";
2291
2292 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
2293 <&gcc GCC_SDCC2_APPS_CLK>;
2294 clock-names = "iface", "core";
Bjorn Andersson55fae1d2019-02-04 16:54:52 -08002295 iommus = <&apps_smmu 0xa0 0xf>;
Evan Green67d62e52018-12-06 10:45:21 -08002296
2297 status = "disabled";
2298 };
2299
Douglas Andersone1ce8532018-10-08 13:17:11 -07002300 qspi: spi@88df000 {
2301 compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002302 reg = <0 0x088df000 0 0x600>;
Douglas Andersone1ce8532018-10-08 13:17:11 -07002303 #address-cells = <1>;
2304 #size-cells = <0>;
2305 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
2306 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
2307 <&gcc GCC_QSPI_CORE_CLK>;
2308 clock-names = "iface", "core";
2309 status = "disabled";
2310 };
2311
Manu Gautamca4db2b2018-08-22 10:36:27 -07002312 usb_1_hsphy: phy@88e2000 {
2313 compatible = "qcom,sdm845-qusb2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002314 reg = <0 0x088e2000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002315 status = "disabled";
2316 #phy-cells = <0>;
2317
2318 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2319 <&rpmhcc RPMH_CXO_CLK>;
2320 clock-names = "cfg_ahb", "ref";
2321
2322 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
2323
2324 nvmem-cells = <&qusb2p_hstx_trim>;
2325 };
2326
2327 usb_2_hsphy: phy@88e3000 {
2328 compatible = "qcom,sdm845-qusb2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002329 reg = <0 0x088e3000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002330 status = "disabled";
2331 #phy-cells = <0>;
2332
2333 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2334 <&rpmhcc RPMH_CXO_CLK>;
2335 clock-names = "cfg_ahb", "ref";
2336
2337 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
2338
2339 nvmem-cells = <&qusb2s_hstx_trim>;
2340 };
2341
2342 usb_1_qmpphy: phy@88e9000 {
2343 compatible = "qcom,sdm845-qmp-usb3-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002344 reg = <0 0x088e9000 0 0x18c>,
2345 <0 0x088e8000 0 0x10>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002346 reg-names = "reg-base", "dp_com";
2347 status = "disabled";
2348 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002349 #address-cells = <2>;
2350 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002351 ranges;
2352
2353 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
2354 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2355 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
2356 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
2357 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
2358
2359 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
2360 <&gcc GCC_USB3_PHY_PRIM_BCR>;
2361 reset-names = "phy", "common";
2362
Evan Green9ebfcba2018-12-10 11:28:26 -08002363 usb_1_ssphy: lanes@88e9200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002364 reg = <0 0x088e9200 0 0x128>,
2365 <0 0x088e9400 0 0x200>,
2366 <0 0x088e9c00 0 0x218>,
2367 <0 0x088e9600 0 0x128>,
2368 <0 0x088e9800 0 0x200>,
2369 <0 0x088e9a00 0 0x100>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002370 #phy-cells = <0>;
2371 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
2372 clock-names = "pipe0";
2373 clock-output-names = "usb3_phy_pipe_clk_src";
2374 };
2375 };
2376
2377 usb_2_qmpphy: phy@88eb000 {
2378 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002379 reg = <0 0x088eb000 0 0x18c>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002380 status = "disabled";
2381 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002382 #address-cells = <2>;
2383 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002384 ranges;
2385
2386 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
2387 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2388 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
2389 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
2390 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
2391
2392 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
2393 <&gcc GCC_USB3_PHY_SEC_BCR>;
2394 reset-names = "phy", "common";
2395
2396 usb_2_ssphy: lane@88eb200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002397 reg = <0 0x088eb200 0 0x128>,
2398 <0 0x088eb400 0 0x1fc>,
2399 <0 0x088eb800 0 0x218>,
2400 <0 0x088eb600 0 0x70>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002401 #phy-cells = <0>;
2402 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
2403 clock-names = "pipe0";
2404 clock-output-names = "usb3_uni_phy_pipe_clk_src";
2405 };
2406 };
2407
2408 usb_1: usb@a6f8800 {
2409 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002410 reg = <0 0x0a6f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002411 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002412 #address-cells = <2>;
2413 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002414 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08002415 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002416
2417 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
2418 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
2419 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
2420 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
2421 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
2422 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
2423 "sleep";
2424
2425 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
2426 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
2427 assigned-clock-rates = <19200000>, <150000000>;
2428
2429 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
2430 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
2431 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
2432 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
2433 interrupt-names = "hs_phy_irq", "ss_phy_irq",
2434 "dm_hs_phy_irq", "dp_hs_phy_irq";
2435
2436 power-domains = <&gcc USB30_PRIM_GDSC>;
2437
2438 resets = <&gcc GCC_USB30_PRIM_BCR>;
2439
2440 usb_1_dwc3: dwc3@a600000 {
2441 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002442 reg = <0 0x0a600000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002443 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08002444 iommus = <&apps_smmu 0x740 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002445 snps,dis_u2_susphy_quirk;
2446 snps,dis_enblslpm_quirk;
2447 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
2448 phy-names = "usb2-phy", "usb3-phy";
2449 };
2450 };
2451
2452 usb_2: usb@a8f8800 {
2453 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002454 reg = <0 0x0a8f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002455 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002456 #address-cells = <2>;
2457 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002458 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08002459 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002460
2461 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
2462 <&gcc GCC_USB30_SEC_MASTER_CLK>,
2463 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
2464 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
2465 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
2466 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
2467 "sleep";
2468
2469 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
2470 <&gcc GCC_USB30_SEC_MASTER_CLK>;
2471 assigned-clock-rates = <19200000>, <150000000>;
2472
2473 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
2474 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
2475 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
2476 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
2477 interrupt-names = "hs_phy_irq", "ss_phy_irq",
2478 "dm_hs_phy_irq", "dp_hs_phy_irq";
2479
2480 power-domains = <&gcc USB30_SEC_GDSC>;
2481
2482 resets = <&gcc GCC_USB30_SEC_BCR>;
2483
2484 usb_2_dwc3: dwc3@a800000 {
2485 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002486 reg = <0 0x0a800000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002487 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08002488 iommus = <&apps_smmu 0x760 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07002489 snps,dis_u2_susphy_quirk;
2490 snps,dis_enblslpm_quirk;
2491 phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
2492 phy-names = "usb2-phy", "usb3-phy";
2493 };
2494 };
2495
Malathi Gottam36a80df2019-07-02 17:42:29 +05302496 video-codec@aa00000 {
2497 compatible = "qcom,sdm845-venus";
2498 reg = <0 0x0aa00000 0 0xff000>;
2499 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
2500 power-domains = <&videocc VENUS_GDSC>;
2501 clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
2502 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
2503 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>;
2504 clock-names = "core", "iface", "bus";
2505 iommus = <&apps_smmu 0x10a0 0x8>,
2506 <&apps_smmu 0x10b0 0x0>;
2507 memory-region = <&venus_mem>;
2508
2509 video-core0 {
2510 compatible = "venus-decoder";
2511 clocks = <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
2512 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>;
2513 clock-names = "core", "bus";
2514 power-domains = <&videocc VCODEC0_GDSC>;
2515 };
2516
2517 video-core1 {
2518 compatible = "venus-encoder";
2519 clocks = <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
2520 <&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
2521 clock-names = "core", "bus";
2522 power-domains = <&videocc VCODEC1_GDSC>;
2523 };
2524 };
2525
Taniya Das05556682018-12-03 11:36:29 -08002526 videocc: clock-controller@ab00000 {
2527 compatible = "qcom,sdm845-videocc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002528 reg = <0 0x0ab00000 0 0x10000>;
Taniya Das05556682018-12-03 11:36:29 -08002529 #clock-cells = <1>;
2530 #power-domain-cells = <1>;
2531 #reset-cells = <1>;
2532 };
2533
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002534 mdss: mdss@ae00000 {
2535 compatible = "qcom,sdm845-mdss";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002536 reg = <0 0x0ae00000 0 0x1000>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002537 reg-names = "mdss";
2538
2539 power-domains = <&dispcc MDSS_GDSC>;
2540
2541 clocks = <&gcc GCC_DISP_AHB_CLK>,
2542 <&gcc GCC_DISP_AXI_CLK>,
2543 <&dispcc DISP_CC_MDSS_MDP_CLK>;
2544 clock-names = "iface", "bus", "core";
2545
2546 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>;
2547 assigned-clock-rates = <300000000>;
2548
2549 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
2550 interrupt-controller;
2551 #interrupt-cells = <1>;
2552
2553 iommus = <&apps_smmu 0x880 0x8>,
2554 <&apps_smmu 0xc80 0x8>;
2555
2556 status = "disabled";
2557
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002558 #address-cells = <2>;
2559 #size-cells = <2>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002560 ranges;
2561
2562 mdss_mdp: mdp@ae01000 {
2563 compatible = "qcom,sdm845-dpu";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002564 reg = <0 0x0ae01000 0 0x8f000>,
2565 <0 0x0aeb0000 0 0x2008>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002566 reg-names = "mdp", "vbif";
2567
2568 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
2569 <&dispcc DISP_CC_MDSS_AXI_CLK>,
2570 <&dispcc DISP_CC_MDSS_MDP_CLK>,
2571 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
2572 clock-names = "iface", "bus", "core", "vsync";
2573
2574 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
2575 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
2576 assigned-clock-rates = <300000000>,
2577 <19200000>;
2578
2579 interrupt-parent = <&mdss>;
2580 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
2581
2582 status = "disabled";
2583
2584 ports {
2585 #address-cells = <1>;
2586 #size-cells = <0>;
2587
2588 port@0 {
2589 reg = <0>;
2590 dpu_intf1_out: endpoint {
2591 remote-endpoint = <&dsi0_in>;
2592 };
2593 };
2594
2595 port@1 {
2596 reg = <1>;
2597 dpu_intf2_out: endpoint {
2598 remote-endpoint = <&dsi1_in>;
2599 };
2600 };
2601 };
2602 };
2603
2604 dsi0: dsi@ae94000 {
2605 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002606 reg = <0 0x0ae94000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002607 reg-names = "dsi_ctrl";
2608
2609 interrupt-parent = <&mdss>;
2610 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
2611
2612 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
2613 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
2614 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
2615 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
2616 <&dispcc DISP_CC_MDSS_AHB_CLK>,
2617 <&dispcc DISP_CC_MDSS_AXI_CLK>;
2618 clock-names = "byte",
2619 "byte_intf",
2620 "pixel",
2621 "core",
2622 "iface",
2623 "bus";
2624
2625 phys = <&dsi0_phy>;
2626 phy-names = "dsi";
2627
2628 status = "disabled";
2629
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002630 ports {
2631 #address-cells = <1>;
2632 #size-cells = <0>;
2633
2634 port@0 {
2635 reg = <0>;
2636 dsi0_in: endpoint {
2637 remote-endpoint = <&dpu_intf1_out>;
2638 };
2639 };
2640
2641 port@1 {
2642 reg = <1>;
2643 dsi0_out: endpoint {
2644 };
2645 };
2646 };
2647 };
2648
2649 dsi0_phy: dsi-phy@ae94400 {
2650 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002651 reg = <0 0x0ae94400 0 0x200>,
2652 <0 0x0ae94600 0 0x280>,
2653 <0 0x0ae94a00 0 0x1e0>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002654 reg-names = "dsi_phy",
2655 "dsi_phy_lane",
2656 "dsi_pll";
2657
2658 #clock-cells = <1>;
2659 #phy-cells = <0>;
2660
Matthias Kaehlcke0c0e7272018-12-19 15:55:27 -08002661 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
2662 <&rpmhcc RPMH_CXO_CLK>;
2663 clock-names = "iface", "ref";
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002664
2665 status = "disabled";
2666 };
2667
2668 dsi1: dsi@ae96000 {
2669 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002670 reg = <0 0x0ae96000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002671 reg-names = "dsi_ctrl";
2672
2673 interrupt-parent = <&mdss>;
2674 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
2675
2676 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
2677 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
2678 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
2679 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
2680 <&dispcc DISP_CC_MDSS_AHB_CLK>,
2681 <&dispcc DISP_CC_MDSS_AXI_CLK>;
2682 clock-names = "byte",
2683 "byte_intf",
2684 "pixel",
2685 "core",
2686 "iface",
2687 "bus";
2688
2689 phys = <&dsi1_phy>;
2690 phy-names = "dsi";
2691
2692 status = "disabled";
2693
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002694 ports {
2695 #address-cells = <1>;
2696 #size-cells = <0>;
2697
2698 port@0 {
2699 reg = <0>;
2700 dsi1_in: endpoint {
2701 remote-endpoint = <&dpu_intf2_out>;
2702 };
2703 };
2704
2705 port@1 {
2706 reg = <1>;
2707 dsi1_out: endpoint {
2708 };
2709 };
2710 };
2711 };
2712
2713 dsi1_phy: dsi-phy@ae96400 {
2714 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002715 reg = <0 0x0ae96400 0 0x200>,
2716 <0 0x0ae96600 0 0x280>,
2717 <0 0x0ae96a00 0 0x10e>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002718 reg-names = "dsi_phy",
2719 "dsi_phy_lane",
2720 "dsi_pll";
2721
2722 #clock-cells = <1>;
2723 #phy-cells = <0>;
2724
Matthias Kaehlcke0c0e7272018-12-19 15:55:27 -08002725 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
2726 <&rpmhcc RPMH_CXO_CLK>;
2727 clock-names = "iface", "ref";
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08002728
2729 status = "disabled";
2730 };
2731 };
2732
Jordan Crousec7980012019-01-16 11:03:29 -07002733 gpu@5000000 {
2734 compatible = "qcom,adreno-630.2", "qcom,adreno";
2735 #stream-id-cells = <16>;
2736
2737 reg = <0 0x5000000 0 0x40000>, <0 0x509e000 0 0x10>;
2738 reg-names = "kgsl_3d0_reg_memory", "cx_mem";
2739
2740 /*
2741 * Look ma, no clocks! The GPU clocks and power are
2742 * controlled entirely by the GMU
2743 */
2744
2745 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
2746
2747 iommus = <&adreno_smmu 0>;
2748
2749 operating-points-v2 = <&gpu_opp_table>;
2750
2751 qcom,gmu = <&gmu>;
2752
Jordan Crouse3fdeaee2019-03-12 12:13:42 -06002753 zap-shader {
2754 memory-region = <&gpu_mem>;
2755 };
2756
Jordan Crousec7980012019-01-16 11:03:29 -07002757 gpu_opp_table: opp-table {
2758 compatible = "operating-points-v2";
2759
2760 opp-710000000 {
2761 opp-hz = /bits/ 64 <710000000>;
2762 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
2763 };
2764
2765 opp-675000000 {
2766 opp-hz = /bits/ 64 <675000000>;
2767 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
2768 };
2769
2770 opp-596000000 {
2771 opp-hz = /bits/ 64 <596000000>;
2772 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
2773 };
2774
2775 opp-520000000 {
2776 opp-hz = /bits/ 64 <520000000>;
2777 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2778 };
2779
2780 opp-414000000 {
2781 opp-hz = /bits/ 64 <414000000>;
2782 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2783 };
2784
2785 opp-342000000 {
2786 opp-hz = /bits/ 64 <342000000>;
2787 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2788 };
2789
2790 opp-257000000 {
2791 opp-hz = /bits/ 64 <257000000>;
2792 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2793 };
2794 };
2795 };
2796
2797 adreno_smmu: iommu@5040000 {
2798 compatible = "qcom,sdm845-smmu-v2", "qcom,smmu-v2";
2799 reg = <0 0x5040000 0 0x10000>;
2800 #iommu-cells = <1>;
2801 #global-interrupts = <2>;
2802 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
2803 <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
2804 <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
2805 <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
2806 <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
2807 <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
2808 <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
2809 <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>,
2810 <GIC_SPI 370 IRQ_TYPE_EDGE_RISING>,
2811 <GIC_SPI 371 IRQ_TYPE_EDGE_RISING>;
2812 clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
2813 <&gcc GCC_GPU_CFG_AHB_CLK>;
2814 clock-names = "bus", "iface";
2815
2816 power-domains = <&gpucc GPU_CX_GDSC>;
2817 };
2818
2819 gmu: gmu@506a000 {
2820 compatible="qcom,adreno-gmu-630.2", "qcom,adreno-gmu";
2821
2822 reg = <0 0x506a000 0 0x30000>,
2823 <0 0xb280000 0 0x10000>,
2824 <0 0xb480000 0 0x10000>;
2825 reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
2826
2827 interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
2828 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
2829 interrupt-names = "hfi", "gmu";
2830
2831 clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
2832 <&gpucc GPU_CC_CXO_CLK>,
2833 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
2834 <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
2835 clock-names = "gmu", "cxo", "axi", "memnoc";
2836
2837 power-domains = <&gpucc GPU_CX_GDSC>,
2838 <&gpucc GPU_GX_GDSC>;
2839 power-domain-names = "cx", "gx";
2840
2841 iommus = <&adreno_smmu 5>;
2842
2843 operating-points-v2 = <&gmu_opp_table>;
2844
2845 gmu_opp_table: opp-table {
2846 compatible = "operating-points-v2";
2847
2848 opp-400000000 {
2849 opp-hz = /bits/ 64 <400000000>;
2850 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2851 };
2852
2853 opp-200000000 {
2854 opp-hz = /bits/ 64 <200000000>;
2855 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2856 };
2857 };
2858 };
2859
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07002860 dispcc: clock-controller@af00000 {
2861 compatible = "qcom,sdm845-dispcc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002862 reg = <0 0x0af00000 0 0x10000>;
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07002863 #clock-cells = <1>;
2864 #reset-cells = <1>;
2865 #power-domain-cells = <1>;
2866 };
2867
Sibi Sankar13393da2018-10-26 17:56:53 +05302868 pdc_reset: reset-controller@b2e0000 {
2869 compatible = "qcom,sdm845-pdc-global";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002870 reg = <0 0x0b2e0000 0 0x20000>;
Sibi Sankar13393da2018-10-26 17:56:53 +05302871 #reset-cells = <1>;
2872 };
2873
Amit Kucheriacda676b2018-07-18 12:13:13 +05302874 tsens0: thermal-sensor@c263000 {
2875 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002876 reg = <0 0x0c263000 0 0x1ff>, /* TM */
2877 <0 0x0c222000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05302878 #qcom,sensors = <13>;
2879 #thermal-sensor-cells = <1>;
2880 };
2881
2882 tsens1: thermal-sensor@c265000 {
2883 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002884 reg = <0 0x0c265000 0 0x1ff>, /* TM */
2885 <0 0x0c223000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05302886 #qcom,sensors = <8>;
2887 #thermal-sensor-cells = <1>;
2888 };
2889
Sibi Sankaread5eea2018-09-01 15:23:55 -07002890 aoss_reset: reset-controller@c2a0000 {
2891 compatible = "qcom,sdm845-aoss-cc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002892 reg = <0 0x0c2a0000 0 0x31000>;
Sibi Sankaread5eea2018-09-01 15:23:55 -07002893 #reset-cells = <1>;
2894 };
2895
Bjorn Anderssona7977432019-06-11 21:45:35 -07002896 aoss_qmp: qmp@c300000 {
2897 compatible = "qcom,sdm845-aoss-qmp";
2898 reg = <0 0x0c300000 0 0x100000>;
2899 interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
2900 mboxes = <&apss_shared 0>;
2901
2902 #clock-cells = <0>;
2903 #power-domain-cells = <1>;
Thara Gopinath7e4b5f22019-07-30 11:24:43 -04002904
2905 cx_cdev: cx {
2906 #cooling-cells = <2>;
2907 };
2908
2909 ebi_cdev: ebi {
2910 #cooling-cells = <2>;
2911 };
Bjorn Anderssona7977432019-06-11 21:45:35 -07002912 };
2913
Douglas Anderson54d7a202018-05-14 20:59:22 -07002914 spmi_bus: spmi@c440000 {
2915 compatible = "qcom,spmi-pmic-arb";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002916 reg = <0 0x0c440000 0 0x1100>,
2917 <0 0x0c600000 0 0x2000000>,
2918 <0 0x0e600000 0 0x100000>,
2919 <0 0x0e700000 0 0xa0000>,
2920 <0 0x0c40a000 0 0x26000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07002921 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
2922 interrupt-names = "periph_irq";
2923 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
2924 qcom,ee = <0>;
2925 qcom,channel = <0>;
2926 #address-cells = <2>;
2927 #size-cells = <0>;
2928 interrupt-controller;
2929 #interrupt-cells = <4>;
2930 cell-index = <0>;
2931 };
2932
Vivek Gautam4429e572018-10-11 15:19:30 +05302933 apps_smmu: iommu@15000000 {
2934 compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002935 reg = <0 0x15000000 0 0x80000>;
Vivek Gautam4429e572018-10-11 15:19:30 +05302936 #iommu-cells = <2>;
2937 #global-interrupts = <1>;
2938 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
2939 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
2940 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
2941 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
2942 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
2943 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
2944 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
2945 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
2946 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
2947 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
2948 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
2949 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
2950 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
2951 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
2952 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
2953 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
2954 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
2955 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
2956 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
2957 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
2958 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
2959 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
2960 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
2961 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
2962 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
2963 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
2964 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
2965 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
2966 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
2967 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
2968 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
2969 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
2970 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
2971 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
2972 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
2973 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
2974 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
2975 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
2976 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
2977 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
2978 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
2979 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
2980 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
2981 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
2982 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
2983 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
2984 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
2985 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
2986 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
2987 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
2988 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
2989 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
2990 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
2991 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
2992 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
2993 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
2994 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
2995 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
2996 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
2997 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
2998 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
2999 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
3000 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
3001 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
3002 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
3003 };
3004
Taniya Das0cef5dd2018-12-05 13:30:36 +05303005 lpasscc: clock-controller@17014000 {
3006 compatible = "qcom,sdm845-lpasscc";
Bjorn Andersson1d918e92019-01-17 11:29:55 -08003007 reg = <0 0x17014000 0 0x1f004>, <0 0x17300000 0 0x200>;
Taniya Das0cef5dd2018-12-05 13:30:36 +05303008 reg-names = "cc", "qdsp6ss";
3009 #clock-cells = <1>;
3010 status = "disabled";
3011 };
3012
Douglas Anderson54d7a202018-05-14 20:59:22 -07003013 apss_shared: mailbox@17990000 {
3014 compatible = "qcom,sdm845-apss-shared";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003015 reg = <0 0x17990000 0 0x1000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07003016 #mbox-cells = <1>;
3017 };
3018
Douglas Andersonc83545d2018-06-18 14:50:50 -07003019 apps_rsc: rsc@179c0000 {
3020 label = "apps_rsc";
3021 compatible = "qcom,rpmh-rsc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003022 reg = <0 0x179c0000 0 0x10000>,
3023 <0 0x179d0000 0 0x10000>,
3024 <0 0x179e0000 0 0x10000>;
Douglas Andersonc83545d2018-06-18 14:50:50 -07003025 reg-names = "drv-0", "drv-1", "drv-2";
3026 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
3027 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
3028 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
3029 qcom,tcs-offset = <0xd00>;
3030 qcom,drv-id = <2>;
3031 qcom,tcs-config = <ACTIVE_TCS 2>,
3032 <SLEEP_TCS 3>,
3033 <WAKE_TCS 3>,
3034 <CONTROL_TCS 1>;
Douglas Anderson717f2012018-06-18 14:50:51 -07003035
3036 rpmhcc: clock-controller {
3037 compatible = "qcom,sdm845-rpmh-clk";
3038 #clock-cells = <1>;
3039 };
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303040
3041 rpmhpd: power-controller {
3042 compatible = "qcom,sdm845-rpmhpd";
3043 #power-domain-cells = <1>;
3044 operating-points-v2 = <&rpmhpd_opp_table>;
3045
3046 rpmhpd_opp_table: opp-table {
3047 compatible = "operating-points-v2";
3048
3049 rpmhpd_opp_ret: opp1 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303050 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303051 };
3052
3053 rpmhpd_opp_min_svs: opp2 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303054 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303055 };
3056
3057 rpmhpd_opp_low_svs: opp3 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303058 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303059 };
3060
3061 rpmhpd_opp_svs: opp4 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303062 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303063 };
3064
3065 rpmhpd_opp_svs_l1: opp5 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303066 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303067 };
3068
3069 rpmhpd_opp_nom: opp6 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303070 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303071 };
3072
3073 rpmhpd_opp_nom_l1: opp7 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303074 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303075 };
3076
3077 rpmhpd_opp_nom_l2: opp8 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303078 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303079 };
3080
3081 rpmhpd_opp_turbo: opp9 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303082 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303083 };
3084
3085 rpmhpd_opp_turbo_l1: opp10 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05303086 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05303087 };
3088 };
3089 };
David Dai5e820482019-01-16 18:11:01 +02003090
3091 rsc_hlos: interconnect {
3092 compatible = "qcom,sdm845-rsc-hlos";
3093 #interconnect-cells = <1>;
3094 };
Douglas Andersonc83545d2018-06-18 14:50:50 -07003095 };
3096
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303097 intc: interrupt-controller@17a00000 {
3098 compatible = "arm,gic-v3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003099 #address-cells = <2>;
3100 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303101 ranges;
3102 #interrupt-cells = <3>;
3103 interrupt-controller;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003104 reg = <0 0x17a00000 0 0x10000>, /* GICD */
3105 <0 0x17a60000 0 0x100000>; /* GICR * 8 */
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303106 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
3107
3108 gic-its@17a40000 {
3109 compatible = "arm,gic-v3-its";
3110 msi-controller;
3111 #msi-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003112 reg = <0 0x17a40000 0 0x20000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303113 status = "disabled";
3114 };
3115 };
3116
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303117 timer@17c90000 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003118 #address-cells = <2>;
3119 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303120 ranges;
3121 compatible = "arm,armv7-timer-mem";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003122 reg = <0 0x17c90000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303123
3124 frame@17ca0000 {
3125 frame-number = <0>;
3126 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
3127 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003128 reg = <0 0x17ca0000 0 0x1000>,
3129 <0 0x17cb0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303130 };
3131
3132 frame@17cc0000 {
3133 frame-number = <1>;
3134 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003135 reg = <0 0x17cc0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303136 status = "disabled";
3137 };
3138
3139 frame@17cd0000 {
3140 frame-number = <2>;
3141 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003142 reg = <0 0x17cd0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303143 status = "disabled";
3144 };
3145
3146 frame@17ce0000 {
3147 frame-number = <3>;
3148 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003149 reg = <0 0x17ce0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303150 status = "disabled";
3151 };
3152
3153 frame@17cf0000 {
3154 frame-number = <4>;
3155 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003156 reg = <0 0x17cf0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303157 status = "disabled";
3158 };
3159
3160 frame@17d00000 {
3161 frame-number = <5>;
3162 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003163 reg = <0 0x17d00000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303164 status = "disabled";
3165 };
3166
3167 frame@17d10000 {
3168 frame-number = <6>;
3169 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003170 reg = <0 0x17d10000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303171 status = "disabled";
3172 };
3173 };
Taniya Dasc604b82a2018-12-21 23:44:23 +05303174
3175 cpufreq_hw: cpufreq@17d43000 {
3176 compatible = "qcom,cpufreq-hw";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003177 reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
Taniya Dasc604b82a2018-12-21 23:44:23 +05303178 reg-names = "freq-domain0", "freq-domain1";
3179
3180 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
3181 clock-names = "xo", "alternate";
3182
3183 #freq-domain-cells = <1>;
3184 };
Govind Singh022bccb2018-11-05 18:38:37 +05303185
3186 wifi: wifi@18800000 {
3187 compatible = "qcom,wcn3990-wifi";
3188 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003189 reg = <0 0x18800000 0 0x800000>;
Govind Singh022bccb2018-11-05 18:38:37 +05303190 reg-names = "membase";
3191 memory-region = <&wlan_msa_mem>;
Douglas Andersonbc94e5f2019-01-18 16:00:15 -08003192 clock-names = "cxo_ref_clk_pin";
3193 clocks = <&rpmhcc RPMH_RF_CLK2>;
Govind Singh022bccb2018-11-05 18:38:37 +05303194 interrupts =
3195 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
3196 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
3197 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
3198 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
3199 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
3200 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
3201 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
3202 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
3203 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
3204 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
3205 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
3206 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
Douglas Andersonbc94e5f2019-01-18 16:00:15 -08003207 iommus = <&apps_smmu 0x0040 0x1>;
Govind Singh022bccb2018-11-05 18:38:37 +05303208 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303209 };
Amit Kucheria48847882018-06-12 15:26:54 +03003210
3211 thermal-zones {
3212 cpu0-thermal {
3213 polling-delay-passive = <250>;
3214 polling-delay = <1000>;
3215
3216 thermal-sensors = <&tsens0 1>;
3217
3218 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303219 cpu0_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303220 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003221 hysteresis = <2000>;
3222 type = "passive";
3223 };
3224
Vinod Koul19e684e2019-07-24 10:19:04 +05303225 cpu0_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303226 temperature = <95000>;
3227 hysteresis = <2000>;
3228 type = "passive";
3229 };
3230
3231 cpu0_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003232 temperature = <110000>;
3233 hysteresis = <1000>;
3234 type = "critical";
3235 };
3236 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303237
3238 cooling-maps {
3239 map0 {
3240 trip = <&cpu0_alert0>;
3241 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3242 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3243 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3244 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3245 };
3246 map1 {
3247 trip = <&cpu0_alert1>;
3248 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3249 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3250 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3251 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3252 };
3253 };
Amit Kucheria48847882018-06-12 15:26:54 +03003254 };
3255
3256 cpu1-thermal {
3257 polling-delay-passive = <250>;
3258 polling-delay = <1000>;
3259
3260 thermal-sensors = <&tsens0 2>;
3261
3262 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303263 cpu1_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303264 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003265 hysteresis = <2000>;
3266 type = "passive";
3267 };
3268
Vinod Koul19e684e2019-07-24 10:19:04 +05303269 cpu1_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303270 temperature = <95000>;
3271 hysteresis = <2000>;
3272 type = "passive";
3273 };
3274
3275 cpu1_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003276 temperature = <110000>;
3277 hysteresis = <1000>;
3278 type = "critical";
3279 };
3280 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303281
3282 cooling-maps {
3283 map0 {
3284 trip = <&cpu1_alert0>;
3285 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3286 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3287 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3288 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3289 };
3290 map1 {
3291 trip = <&cpu1_alert1>;
3292 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3293 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3294 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3295 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3296 };
3297 };
Amit Kucheria48847882018-06-12 15:26:54 +03003298 };
3299
3300 cpu2-thermal {
3301 polling-delay-passive = <250>;
3302 polling-delay = <1000>;
3303
3304 thermal-sensors = <&tsens0 3>;
3305
3306 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303307 cpu2_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303308 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003309 hysteresis = <2000>;
3310 type = "passive";
3311 };
3312
Vinod Koul19e684e2019-07-24 10:19:04 +05303313 cpu2_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303314 temperature = <95000>;
3315 hysteresis = <2000>;
3316 type = "passive";
3317 };
3318
3319 cpu2_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003320 temperature = <110000>;
3321 hysteresis = <1000>;
3322 type = "critical";
3323 };
3324 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303325
3326 cooling-maps {
3327 map0 {
3328 trip = <&cpu2_alert0>;
3329 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3330 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3331 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3332 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3333 };
3334 map1 {
3335 trip = <&cpu2_alert1>;
3336 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3337 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3338 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3339 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3340 };
3341 };
Amit Kucheria48847882018-06-12 15:26:54 +03003342 };
3343
3344 cpu3-thermal {
3345 polling-delay-passive = <250>;
3346 polling-delay = <1000>;
3347
3348 thermal-sensors = <&tsens0 4>;
3349
3350 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303351 cpu3_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303352 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003353 hysteresis = <2000>;
3354 type = "passive";
3355 };
3356
Vinod Koul19e684e2019-07-24 10:19:04 +05303357 cpu3_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303358 temperature = <95000>;
3359 hysteresis = <2000>;
3360 type = "passive";
3361 };
3362
3363 cpu3_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003364 temperature = <110000>;
3365 hysteresis = <1000>;
3366 type = "critical";
3367 };
3368 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303369
3370 cooling-maps {
3371 map0 {
3372 trip = <&cpu3_alert0>;
3373 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3374 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3375 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3376 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3377 };
3378 map1 {
3379 trip = <&cpu3_alert1>;
3380 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3381 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3382 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3383 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3384 };
3385 };
Amit Kucheria48847882018-06-12 15:26:54 +03003386 };
3387
3388 cpu4-thermal {
3389 polling-delay-passive = <250>;
3390 polling-delay = <1000>;
3391
3392 thermal-sensors = <&tsens0 7>;
3393
3394 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303395 cpu4_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303396 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003397 hysteresis = <2000>;
3398 type = "passive";
3399 };
3400
Vinod Koul19e684e2019-07-24 10:19:04 +05303401 cpu4_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303402 temperature = <95000>;
3403 hysteresis = <2000>;
3404 type = "passive";
3405 };
3406
3407 cpu4_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003408 temperature = <110000>;
3409 hysteresis = <1000>;
3410 type = "critical";
3411 };
3412 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303413
3414 cooling-maps {
3415 map0 {
3416 trip = <&cpu4_alert0>;
3417 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3418 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3419 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3420 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3421 };
3422 map1 {
3423 trip = <&cpu4_alert1>;
3424 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3425 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3426 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3427 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3428 };
3429 };
Amit Kucheria48847882018-06-12 15:26:54 +03003430 };
3431
3432 cpu5-thermal {
3433 polling-delay-passive = <250>;
3434 polling-delay = <1000>;
3435
3436 thermal-sensors = <&tsens0 8>;
3437
3438 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303439 cpu5_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303440 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003441 hysteresis = <2000>;
3442 type = "passive";
3443 };
3444
Vinod Koul19e684e2019-07-24 10:19:04 +05303445 cpu5_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303446 temperature = <95000>;
3447 hysteresis = <2000>;
3448 type = "passive";
3449 };
3450
3451 cpu5_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003452 temperature = <110000>;
3453 hysteresis = <1000>;
3454 type = "critical";
3455 };
3456 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303457
3458 cooling-maps {
3459 map0 {
3460 trip = <&cpu5_alert0>;
3461 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3462 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3463 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3464 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3465 };
3466 map1 {
3467 trip = <&cpu5_alert1>;
3468 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3469 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3470 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3471 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3472 };
3473 };
Amit Kucheria48847882018-06-12 15:26:54 +03003474 };
3475
3476 cpu6-thermal {
3477 polling-delay-passive = <250>;
3478 polling-delay = <1000>;
3479
3480 thermal-sensors = <&tsens0 9>;
3481
3482 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303483 cpu6_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303484 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003485 hysteresis = <2000>;
3486 type = "passive";
3487 };
3488
Vinod Koul19e684e2019-07-24 10:19:04 +05303489 cpu6_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303490 temperature = <95000>;
3491 hysteresis = <2000>;
3492 type = "passive";
3493 };
3494
3495 cpu6_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003496 temperature = <110000>;
3497 hysteresis = <1000>;
3498 type = "critical";
3499 };
3500 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303501
3502 cooling-maps {
3503 map0 {
3504 trip = <&cpu6_alert0>;
3505 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3506 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3507 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3508 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3509 };
3510 map1 {
3511 trip = <&cpu6_alert1>;
3512 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3513 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3514 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3515 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3516 };
3517 };
Amit Kucheria48847882018-06-12 15:26:54 +03003518 };
3519
3520 cpu7-thermal {
3521 polling-delay-passive = <250>;
3522 polling-delay = <1000>;
3523
3524 thermal-sensors = <&tsens0 10>;
3525
3526 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303527 cpu7_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303528 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03003529 hysteresis = <2000>;
3530 type = "passive";
3531 };
3532
Vinod Koul19e684e2019-07-24 10:19:04 +05303533 cpu7_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05303534 temperature = <95000>;
3535 hysteresis = <2000>;
3536 type = "passive";
3537 };
3538
3539 cpu7_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03003540 temperature = <110000>;
3541 hysteresis = <1000>;
3542 type = "critical";
3543 };
3544 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05303545
3546 cooling-maps {
3547 map0 {
3548 trip = <&cpu7_alert0>;
3549 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3550 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3551 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3552 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3553 };
3554 map1 {
3555 trip = <&cpu7_alert1>;
3556 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3557 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3558 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3559 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3560 };
3561 };
Amit Kucheria48847882018-06-12 15:26:54 +03003562 };
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303563
3564 aoss0-thermal {
3565 polling-delay-passive = <250>;
3566 polling-delay = <1000>;
3567
3568 thermal-sensors = <&tsens0 0>;
3569
3570 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303571 aoss0_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303572 temperature = <90000>;
3573 hysteresis = <2000>;
3574 type = "hot";
3575 };
3576 };
3577 };
3578
3579 cluster0-thermal {
3580 polling-delay-passive = <250>;
3581 polling-delay = <1000>;
3582
3583 thermal-sensors = <&tsens0 5>;
3584
3585 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303586 cluster0_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303587 temperature = <90000>;
3588 hysteresis = <2000>;
3589 type = "hot";
3590 };
3591 cluster0_crit: cluster0_crit {
3592 temperature = <110000>;
3593 hysteresis = <2000>;
3594 type = "critical";
3595 };
3596 };
3597 };
3598
3599 cluster1-thermal {
3600 polling-delay-passive = <250>;
3601 polling-delay = <1000>;
3602
3603 thermal-sensors = <&tsens0 6>;
3604
3605 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303606 cluster1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303607 temperature = <90000>;
3608 hysteresis = <2000>;
3609 type = "hot";
3610 };
3611 cluster1_crit: cluster1_crit {
3612 temperature = <110000>;
3613 hysteresis = <2000>;
3614 type = "critical";
3615 };
3616 };
3617 };
3618
3619 gpu-thermal-top {
3620 polling-delay-passive = <250>;
3621 polling-delay = <1000>;
3622
3623 thermal-sensors = <&tsens0 11>;
3624
3625 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303626 gpu1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303627 temperature = <90000>;
3628 hysteresis = <2000>;
3629 type = "hot";
3630 };
3631 };
3632 };
3633
3634 gpu-thermal-bottom {
3635 polling-delay-passive = <250>;
3636 polling-delay = <1000>;
3637
3638 thermal-sensors = <&tsens0 12>;
3639
3640 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303641 gpu2_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303642 temperature = <90000>;
3643 hysteresis = <2000>;
3644 type = "hot";
3645 };
3646 };
3647 };
3648
3649 aoss1-thermal {
3650 polling-delay-passive = <250>;
3651 polling-delay = <1000>;
3652
3653 thermal-sensors = <&tsens1 0>;
3654
3655 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303656 aoss1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303657 temperature = <90000>;
3658 hysteresis = <2000>;
3659 type = "hot";
3660 };
3661 };
3662 };
3663
3664 q6-modem-thermal {
3665 polling-delay-passive = <250>;
3666 polling-delay = <1000>;
3667
3668 thermal-sensors = <&tsens1 1>;
3669
3670 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303671 q6_modem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303672 temperature = <90000>;
3673 hysteresis = <2000>;
3674 type = "hot";
3675 };
3676 };
3677 };
3678
3679 mem-thermal {
3680 polling-delay-passive = <250>;
3681 polling-delay = <1000>;
3682
3683 thermal-sensors = <&tsens1 2>;
3684
3685 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303686 mem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303687 temperature = <90000>;
3688 hysteresis = <2000>;
3689 type = "hot";
3690 };
3691 };
3692 };
3693
3694 wlan-thermal {
3695 polling-delay-passive = <250>;
3696 polling-delay = <1000>;
3697
3698 thermal-sensors = <&tsens1 3>;
3699
3700 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303701 wlan_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303702 temperature = <90000>;
3703 hysteresis = <2000>;
3704 type = "hot";
3705 };
3706 };
3707 };
3708
3709 q6-hvx-thermal {
3710 polling-delay-passive = <250>;
3711 polling-delay = <1000>;
3712
3713 thermal-sensors = <&tsens1 4>;
3714
3715 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303716 q6_hvx_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303717 temperature = <90000>;
3718 hysteresis = <2000>;
3719 type = "hot";
3720 };
3721 };
3722 };
3723
3724 camera-thermal {
3725 polling-delay-passive = <250>;
3726 polling-delay = <1000>;
3727
3728 thermal-sensors = <&tsens1 5>;
3729
3730 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303731 camera_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303732 temperature = <90000>;
3733 hysteresis = <2000>;
3734 type = "hot";
3735 };
3736 };
3737 };
3738
3739 video-thermal {
3740 polling-delay-passive = <250>;
3741 polling-delay = <1000>;
3742
3743 thermal-sensors = <&tsens1 6>;
3744
3745 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303746 video_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303747 temperature = <90000>;
3748 hysteresis = <2000>;
3749 type = "hot";
3750 };
3751 };
3752 };
3753
3754 modem-thermal {
3755 polling-delay-passive = <250>;
3756 polling-delay = <1000>;
3757
3758 thermal-sensors = <&tsens1 7>;
3759
3760 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05303761 modem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05303762 temperature = <90000>;
3763 hysteresis = <2000>;
3764 type = "hot";
3765 };
3766 };
3767 };
Amit Kucheria48847882018-06-12 15:26:54 +03003768 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05303769};