blob: b4b946d2f9cd7af8f2f31d3318b1dd7d29ae975b [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>
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053014#include <dt-bindings/interrupt-controller/arm-gic.h>
Manu Gautamca4db2b2018-08-22 10:36:27 -070015#include <dt-bindings/phy/phy-qcom-qusb2.h>
Rajendra Nayak5b6f1862019-01-10 09:32:08 +053016#include <dt-bindings/power/qcom-rpmpd.h>
Sibi Sankaread5eea2018-09-01 15:23:55 -070017#include <dt-bindings/reset/qcom,sdm845-aoss.h>
Sibi Sankar13393da2018-10-26 17:56:53 +053018#include <dt-bindings/reset/qcom,sdm845-pdc.h>
Douglas Andersonc83545d2018-06-18 14:50:50 -070019#include <dt-bindings/soc/qcom,rpmh-rsc.h>
Amit Kucheriac47fc192019-02-06 16:04:49 +053020#include <dt-bindings/clock/qcom,gcc-sdm845.h>
21#include <dt-bindings/thermal/thermal.h>
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053022
23/ {
24 interrupt-parent = <&intc>;
25
26 #address-cells = <2>;
27 #size-cells = <2>;
28
Douglas Anderson897cf342018-06-13 09:53:51 -070029 aliases {
30 i2c0 = &i2c0;
31 i2c1 = &i2c1;
32 i2c2 = &i2c2;
33 i2c3 = &i2c3;
34 i2c4 = &i2c4;
35 i2c5 = &i2c5;
36 i2c6 = &i2c6;
37 i2c7 = &i2c7;
38 i2c8 = &i2c8;
39 i2c9 = &i2c9;
40 i2c10 = &i2c10;
41 i2c11 = &i2c11;
42 i2c12 = &i2c12;
43 i2c13 = &i2c13;
44 i2c14 = &i2c14;
45 i2c15 = &i2c15;
46 spi0 = &spi0;
47 spi1 = &spi1;
48 spi2 = &spi2;
49 spi3 = &spi3;
50 spi4 = &spi4;
51 spi5 = &spi5;
52 spi6 = &spi6;
53 spi7 = &spi7;
54 spi8 = &spi8;
55 spi9 = &spi9;
56 spi10 = &spi10;
57 spi11 = &spi11;
58 spi12 = &spi12;
59 spi13 = &spi13;
60 spi14 = &spi14;
61 spi15 = &spi15;
62 };
63
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053064 chosen { };
65
66 memory@80000000 {
67 device_type = "memory";
68 /* We expect the bootloader to fill in the size */
69 reg = <0 0x80000000 0 0>;
70 };
71
Sibi S71c84282018-04-30 20:14:28 +053072 reserved-memory {
73 #address-cells = <2>;
74 #size-cells = <2>;
75 ranges;
76
77 memory@85fc0000 {
78 reg = <0 0x85fc0000 0 0x20000>;
79 no-map;
80 };
81
Douglas Anderson2da52392018-05-14 21:43:06 -070082 memory@85fe0000 {
83 compatible = "qcom,cmd-db";
84 reg = <0x0 0x85fe0000 0x0 0x20000>;
85 no-map;
86 };
87
Sibi S71c84282018-04-30 20:14:28 +053088 smem_mem: memory@86000000 {
89 reg = <0x0 0x86000000 0x0 0x200000>;
90 no-map;
91 };
92
93 memory@86200000 {
94 reg = <0 0x86200000 0 0x2d00000>;
95 no-map;
96 };
Govind Singh022bccb2018-11-05 18:38:37 +053097
98 wlan_msa_mem: memory@96700000 {
99 reg = <0 0x96700000 0 0x100000>;
100 no-map;
101 };
Sibi Sankar8ed6d482018-10-31 11:39:21 +0530102
103 mpss_region: memory@8e000000 {
104 reg = <0 0x8e000000 0 0x7800000>;
105 no-map;
106 };
107
108 mba_region: memory@96500000 {
109 reg = <0 0x96500000 0 0x200000>;
110 no-map;
111 };
Sibi S71c84282018-04-30 20:14:28 +0530112 };
113
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530114 cpus {
115 #address-cells = <2>;
116 #size-cells = <0>;
117
118 CPU0: cpu@0 {
119 device_type = "cpu";
120 compatible = "qcom,kryo385";
121 reg = <0x0 0x0>;
122 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530123 qcom,freq-domain = <&cpufreq_hw 0>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530124 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530125 next-level-cache = <&L2_0>;
126 L2_0: l2-cache {
127 compatible = "cache";
128 next-level-cache = <&L3_0>;
129 L3_0: l3-cache {
130 compatible = "cache";
131 };
132 };
133 };
134
135 CPU1: cpu@100 {
136 device_type = "cpu";
137 compatible = "qcom,kryo385";
138 reg = <0x0 0x100>;
139 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530140 qcom,freq-domain = <&cpufreq_hw 0>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530141 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530142 next-level-cache = <&L2_100>;
143 L2_100: l2-cache {
144 compatible = "cache";
145 next-level-cache = <&L3_0>;
146 };
147 };
148
149 CPU2: cpu@200 {
150 device_type = "cpu";
151 compatible = "qcom,kryo385";
152 reg = <0x0 0x200>;
153 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530154 qcom,freq-domain = <&cpufreq_hw 0>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530155 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530156 next-level-cache = <&L2_200>;
157 L2_200: l2-cache {
158 compatible = "cache";
159 next-level-cache = <&L3_0>;
160 };
161 };
162
163 CPU3: cpu@300 {
164 device_type = "cpu";
165 compatible = "qcom,kryo385";
166 reg = <0x0 0x300>;
167 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530168 qcom,freq-domain = <&cpufreq_hw 0>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530169 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530170 next-level-cache = <&L2_300>;
171 L2_300: l2-cache {
172 compatible = "cache";
173 next-level-cache = <&L3_0>;
174 };
175 };
176
177 CPU4: cpu@400 {
178 device_type = "cpu";
179 compatible = "qcom,kryo385";
180 reg = <0x0 0x400>;
181 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530182 qcom,freq-domain = <&cpufreq_hw 1>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530183 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530184 next-level-cache = <&L2_400>;
185 L2_400: l2-cache {
186 compatible = "cache";
187 next-level-cache = <&L3_0>;
188 };
189 };
190
191 CPU5: cpu@500 {
192 device_type = "cpu";
193 compatible = "qcom,kryo385";
194 reg = <0x0 0x500>;
195 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530196 qcom,freq-domain = <&cpufreq_hw 1>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530197 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530198 next-level-cache = <&L2_500>;
199 L2_500: l2-cache {
200 compatible = "cache";
201 next-level-cache = <&L3_0>;
202 };
203 };
204
205 CPU6: cpu@600 {
206 device_type = "cpu";
207 compatible = "qcom,kryo385";
208 reg = <0x0 0x600>;
209 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530210 qcom,freq-domain = <&cpufreq_hw 1>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530211 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530212 next-level-cache = <&L2_600>;
213 L2_600: l2-cache {
214 compatible = "cache";
215 next-level-cache = <&L3_0>;
216 };
217 };
218
219 CPU7: cpu@700 {
220 device_type = "cpu";
221 compatible = "qcom,kryo385";
222 reg = <0x0 0x700>;
223 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530224 qcom,freq-domain = <&cpufreq_hw 1>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530225 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530226 next-level-cache = <&L2_700>;
227 L2_700: l2-cache {
228 compatible = "cache";
229 next-level-cache = <&L3_0>;
230 };
231 };
232 };
233
Stephen Boyd000c4662018-05-21 23:23:52 -0700234 pmu {
235 compatible = "arm,armv8-pmuv3";
236 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
237 };
238
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530239 timer {
240 compatible = "arm,armv8-timer";
241 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
242 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
243 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
244 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
245 };
246
247 clocks {
248 xo_board: xo-board {
249 compatible = "fixed-clock";
250 #clock-cells = <0>;
Douglas Anderson5ea39392018-05-09 13:05:28 -0700251 clock-frequency = <38400000>;
252 clock-output-names = "xo_board";
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530253 };
254
255 sleep_clk: sleep-clk {
256 compatible = "fixed-clock";
257 #clock-cells = <0>;
258 clock-frequency = <32764>;
259 };
260 };
261
Sibi Sankar77bb7f92018-10-26 17:55:42 +0530262 firmware {
263 scm {
264 compatible = "qcom,scm-sdm845", "qcom,scm";
265 };
266 };
267
Sibi S71c84282018-04-30 20:14:28 +0530268 tcsr_mutex: hwlock {
269 compatible = "qcom,tcsr-mutex";
270 syscon = <&tcsr_mutex_regs 0 0x1000>;
271 #hwlock-cells = <1>;
272 };
273
274 smem {
275 compatible = "qcom,smem";
276 memory-region = <&smem_mem>;
277 hwlocks = <&tcsr_mutex 3>;
278 };
279
Bjorn Andersson3debb1f2018-09-01 15:27:21 -0700280 smp2p-cdsp {
281 compatible = "qcom,smp2p";
282 qcom,smem = <94>, <432>;
283
284 interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
285
286 mboxes = <&apss_shared 6>;
287
288 qcom,local-pid = <0>;
289 qcom,remote-pid = <5>;
290
291 cdsp_smp2p_out: master-kernel {
292 qcom,entry-name = "master-kernel";
293 #qcom,smem-state-cells = <1>;
294 };
295
296 cdsp_smp2p_in: slave-kernel {
297 qcom,entry-name = "slave-kernel";
298
299 interrupt-controller;
300 #interrupt-cells = <2>;
301 };
302 };
303
304 smp2p-lpass {
305 compatible = "qcom,smp2p";
306 qcom,smem = <443>, <429>;
307
308 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
309
310 mboxes = <&apss_shared 10>;
311
312 qcom,local-pid = <0>;
313 qcom,remote-pid = <2>;
314
315 adsp_smp2p_out: master-kernel {
316 qcom,entry-name = "master-kernel";
317 #qcom,smem-state-cells = <1>;
318 };
319
320 adsp_smp2p_in: slave-kernel {
321 qcom,entry-name = "slave-kernel";
322
323 interrupt-controller;
324 #interrupt-cells = <2>;
325 };
326 };
327
328 smp2p-mpss {
329 compatible = "qcom,smp2p";
330 qcom,smem = <435>, <428>;
331 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
332 mboxes = <&apss_shared 14>;
333 qcom,local-pid = <0>;
334 qcom,remote-pid = <1>;
335
336 modem_smp2p_out: master-kernel {
337 qcom,entry-name = "master-kernel";
338 #qcom,smem-state-cells = <1>;
339 };
340
341 modem_smp2p_in: slave-kernel {
342 qcom,entry-name = "slave-kernel";
343 interrupt-controller;
344 #interrupt-cells = <2>;
345 };
346 };
347
348 smp2p-slpi {
349 compatible = "qcom,smp2p";
350 qcom,smem = <481>, <430>;
351 interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
352 mboxes = <&apss_shared 26>;
353 qcom,local-pid = <0>;
354 qcom,remote-pid = <3>;
355
356 slpi_smp2p_out: master-kernel {
357 qcom,entry-name = "master-kernel";
358 #qcom,smem-state-cells = <1>;
359 };
360
361 slpi_smp2p_in: slave-kernel {
362 qcom,entry-name = "slave-kernel";
363 interrupt-controller;
364 #interrupt-cells = <2>;
365 };
366 };
367
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530368 psci {
369 compatible = "arm,psci-1.0";
370 method = "smc";
371 };
372
373 soc: soc {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800374 #address-cells = <2>;
375 #size-cells = <2>;
Bjorn Andersson9feb6672019-01-16 20:29:40 -0800376 ranges = <0 0 0 0 0x10 0>;
377 dma-ranges = <0 0 0 0 0x10 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530378 compatible = "simple-bus";
379
Douglas Anderson54d7a202018-05-14 20:59:22 -0700380 gcc: clock-controller@100000 {
381 compatible = "qcom,gcc-sdm845";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800382 reg = <0 0x00100000 0 0x1f0000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -0700383 #clock-cells = <1>;
384 #reset-cells = <1>;
385 #power-domain-cells = <1>;
386 };
387
Manu Gautamca4db2b2018-08-22 10:36:27 -0700388 qfprom@784000 {
389 compatible = "qcom,qfprom";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800390 reg = <0 0x00784000 0 0x8ff>;
Manu Gautamca4db2b2018-08-22 10:36:27 -0700391 #address-cells = <1>;
392 #size-cells = <1>;
393
394 qusb2p_hstx_trim: hstx-trim-primary@1eb {
395 reg = <0x1eb 0x1>;
396 bits = <1 4>;
397 };
398
399 qusb2s_hstx_trim: hstx-trim-secondary@1eb {
400 reg = <0x1eb 0x2>;
401 bits = <6 4>;
402 };
403 };
404
Vinod Koul6e17f8142018-10-01 11:51:51 +0530405 rng: rng@793000 {
406 compatible = "qcom,prng-ee";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800407 reg = <0 0x00793000 0 0x1000>;
Vinod Koul6e17f8142018-10-01 11:51:51 +0530408 clocks = <&gcc GCC_PRNG_AHB_CLK>;
409 clock-names = "core";
410 };
411
Douglas Anderson897cf342018-06-13 09:53:51 -0700412 qupv3_id_0: geniqup@8c0000 {
413 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800414 reg = <0 0x008c0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700415 clock-names = "m-ahb", "s-ahb";
416 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
417 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800418 #address-cells = <2>;
419 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700420 ranges;
Douglas Anderson499ff112018-06-29 11:45:27 -0700421 status = "disabled";
Douglas Anderson897cf342018-06-13 09:53:51 -0700422
423 i2c0: i2c@880000 {
424 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800425 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700426 clock-names = "se";
427 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
428 pinctrl-names = "default";
429 pinctrl-0 = <&qup_i2c0_default>;
430 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
431 #address-cells = <1>;
432 #size-cells = <0>;
433 status = "disabled";
434 };
435
436 spi0: spi@880000 {
437 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800438 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700439 clock-names = "se";
440 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
441 pinctrl-names = "default";
442 pinctrl-0 = <&qup_spi0_default>;
443 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
444 #address-cells = <1>;
445 #size-cells = <0>;
446 status = "disabled";
447 };
448
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700449 uart0: serial@880000 {
450 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800451 reg = <0 0x00880000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700452 clock-names = "se";
453 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
454 pinctrl-names = "default";
455 pinctrl-0 = <&qup_uart0_default>;
456 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
457 status = "disabled";
458 };
459
Douglas Anderson897cf342018-06-13 09:53:51 -0700460 i2c1: i2c@884000 {
461 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800462 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700463 clock-names = "se";
464 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
465 pinctrl-names = "default";
466 pinctrl-0 = <&qup_i2c1_default>;
467 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
468 #address-cells = <1>;
469 #size-cells = <0>;
470 status = "disabled";
471 };
472
473 spi1: spi@884000 {
474 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800475 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700476 clock-names = "se";
477 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
478 pinctrl-names = "default";
479 pinctrl-0 = <&qup_spi1_default>;
480 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
481 #address-cells = <1>;
482 #size-cells = <0>;
483 status = "disabled";
484 };
485
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700486 uart1: serial@884000 {
487 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800488 reg = <0 0x00884000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700489 clock-names = "se";
490 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
491 pinctrl-names = "default";
492 pinctrl-0 = <&qup_uart1_default>;
493 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
494 status = "disabled";
495 };
496
Douglas Anderson897cf342018-06-13 09:53:51 -0700497 i2c2: i2c@888000 {
498 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800499 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700500 clock-names = "se";
501 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
502 pinctrl-names = "default";
503 pinctrl-0 = <&qup_i2c2_default>;
504 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
505 #address-cells = <1>;
506 #size-cells = <0>;
507 status = "disabled";
508 };
509
510 spi2: spi@888000 {
511 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800512 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700513 clock-names = "se";
514 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
515 pinctrl-names = "default";
516 pinctrl-0 = <&qup_spi2_default>;
517 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
518 #address-cells = <1>;
519 #size-cells = <0>;
520 status = "disabled";
521 };
522
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700523 uart2: serial@888000 {
524 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800525 reg = <0 0x00888000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700526 clock-names = "se";
527 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
528 pinctrl-names = "default";
529 pinctrl-0 = <&qup_uart2_default>;
530 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
531 status = "disabled";
532 };
533
Douglas Anderson897cf342018-06-13 09:53:51 -0700534 i2c3: i2c@88c000 {
535 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800536 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700537 clock-names = "se";
538 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
539 pinctrl-names = "default";
540 pinctrl-0 = <&qup_i2c3_default>;
541 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
542 #address-cells = <1>;
543 #size-cells = <0>;
544 status = "disabled";
545 };
546
547 spi3: spi@88c000 {
548 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800549 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700550 clock-names = "se";
551 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
552 pinctrl-names = "default";
553 pinctrl-0 = <&qup_spi3_default>;
554 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
555 #address-cells = <1>;
556 #size-cells = <0>;
557 status = "disabled";
558 };
559
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700560 uart3: serial@88c000 {
561 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800562 reg = <0 0x0088c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700563 clock-names = "se";
564 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
565 pinctrl-names = "default";
566 pinctrl-0 = <&qup_uart3_default>;
567 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
568 status = "disabled";
569 };
570
Douglas Anderson897cf342018-06-13 09:53:51 -0700571 i2c4: i2c@890000 {
572 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800573 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700574 clock-names = "se";
575 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
576 pinctrl-names = "default";
577 pinctrl-0 = <&qup_i2c4_default>;
578 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
579 #address-cells = <1>;
580 #size-cells = <0>;
581 status = "disabled";
582 };
583
584 spi4: spi@890000 {
585 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800586 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700587 clock-names = "se";
588 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
589 pinctrl-names = "default";
590 pinctrl-0 = <&qup_spi4_default>;
591 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
592 #address-cells = <1>;
593 #size-cells = <0>;
594 status = "disabled";
595 };
596
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700597 uart4: serial@890000 {
598 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800599 reg = <0 0x00890000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700600 clock-names = "se";
601 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
602 pinctrl-names = "default";
603 pinctrl-0 = <&qup_uart4_default>;
604 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
605 status = "disabled";
606 };
607
Douglas Anderson897cf342018-06-13 09:53:51 -0700608 i2c5: i2c@894000 {
609 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800610 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700611 clock-names = "se";
612 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
613 pinctrl-names = "default";
614 pinctrl-0 = <&qup_i2c5_default>;
615 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
616 #address-cells = <1>;
617 #size-cells = <0>;
618 status = "disabled";
619 };
620
621 spi5: spi@894000 {
622 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800623 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700624 clock-names = "se";
625 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
626 pinctrl-names = "default";
627 pinctrl-0 = <&qup_spi5_default>;
628 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
629 #address-cells = <1>;
630 #size-cells = <0>;
631 status = "disabled";
632 };
633
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700634 uart5: serial@894000 {
635 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800636 reg = <0 0x00894000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700637 clock-names = "se";
638 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
639 pinctrl-names = "default";
640 pinctrl-0 = <&qup_uart5_default>;
641 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
642 status = "disabled";
643 };
644
Douglas Anderson897cf342018-06-13 09:53:51 -0700645 i2c6: i2c@898000 {
646 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800647 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700648 clock-names = "se";
649 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
650 pinctrl-names = "default";
651 pinctrl-0 = <&qup_i2c6_default>;
652 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
653 #address-cells = <1>;
654 #size-cells = <0>;
655 status = "disabled";
656 };
657
658 spi6: spi@898000 {
659 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800660 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700661 clock-names = "se";
662 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
663 pinctrl-names = "default";
664 pinctrl-0 = <&qup_spi6_default>;
665 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
666 #address-cells = <1>;
667 #size-cells = <0>;
668 status = "disabled";
669 };
670
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700671 uart6: serial@898000 {
672 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800673 reg = <0 0x00898000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700674 clock-names = "se";
675 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
676 pinctrl-names = "default";
677 pinctrl-0 = <&qup_uart6_default>;
678 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
679 status = "disabled";
680 };
681
Douglas Anderson897cf342018-06-13 09:53:51 -0700682 i2c7: i2c@89c000 {
683 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800684 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700685 clock-names = "se";
686 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
687 pinctrl-names = "default";
688 pinctrl-0 = <&qup_i2c7_default>;
689 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
690 #address-cells = <1>;
691 #size-cells = <0>;
692 status = "disabled";
693 };
694
695 spi7: spi@89c000 {
696 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800697 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700698 clock-names = "se";
699 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
700 pinctrl-names = "default";
701 pinctrl-0 = <&qup_spi7_default>;
702 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
703 #address-cells = <1>;
704 #size-cells = <0>;
705 status = "disabled";
706 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700707
708 uart7: serial@89c000 {
709 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800710 reg = <0 0x0089c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700711 clock-names = "se";
712 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
713 pinctrl-names = "default";
714 pinctrl-0 = <&qup_uart7_default>;
715 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
716 status = "disabled";
717 };
Douglas Anderson897cf342018-06-13 09:53:51 -0700718 };
719
720 qupv3_id_1: geniqup@ac0000 {
721 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800722 reg = <0 0x00ac0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700723 clock-names = "m-ahb", "s-ahb";
724 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
725 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800726 #address-cells = <2>;
727 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700728 ranges;
729 status = "disabled";
730
731 i2c8: i2c@a80000 {
732 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800733 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700734 clock-names = "se";
735 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
736 pinctrl-names = "default";
737 pinctrl-0 = <&qup_i2c8_default>;
738 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
739 #address-cells = <1>;
740 #size-cells = <0>;
741 status = "disabled";
742 };
743
744 spi8: spi@a80000 {
745 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800746 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700747 clock-names = "se";
748 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
749 pinctrl-names = "default";
750 pinctrl-0 = <&qup_spi8_default>;
751 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
752 #address-cells = <1>;
753 #size-cells = <0>;
754 status = "disabled";
755 };
756
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700757 uart8: serial@a80000 {
758 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800759 reg = <0 0x00a80000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700760 clock-names = "se";
761 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
762 pinctrl-names = "default";
763 pinctrl-0 = <&qup_uart8_default>;
764 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
765 status = "disabled";
766 };
767
Douglas Anderson897cf342018-06-13 09:53:51 -0700768 i2c9: i2c@a84000 {
769 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800770 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700771 clock-names = "se";
772 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
773 pinctrl-names = "default";
774 pinctrl-0 = <&qup_i2c9_default>;
775 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
776 #address-cells = <1>;
777 #size-cells = <0>;
778 status = "disabled";
779 };
780
781 spi9: spi@a84000 {
782 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800783 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700784 clock-names = "se";
785 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
786 pinctrl-names = "default";
787 pinctrl-0 = <&qup_spi9_default>;
788 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
789 #address-cells = <1>;
790 #size-cells = <0>;
791 status = "disabled";
792 };
793
794 uart9: serial@a84000 {
795 compatible = "qcom,geni-debug-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800796 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700797 clock-names = "se";
798 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
799 pinctrl-names = "default";
800 pinctrl-0 = <&qup_uart9_default>;
801 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
802 status = "disabled";
803 };
804
805 i2c10: i2c@a88000 {
806 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800807 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700808 clock-names = "se";
809 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
810 pinctrl-names = "default";
811 pinctrl-0 = <&qup_i2c10_default>;
812 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
813 #address-cells = <1>;
814 #size-cells = <0>;
815 status = "disabled";
816 };
817
818 spi10: spi@a88000 {
819 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800820 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700821 clock-names = "se";
822 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
823 pinctrl-names = "default";
824 pinctrl-0 = <&qup_spi10_default>;
825 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
826 #address-cells = <1>;
827 #size-cells = <0>;
828 status = "disabled";
829 };
830
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700831 uart10: serial@a88000 {
832 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800833 reg = <0 0x00a88000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700834 clock-names = "se";
835 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
836 pinctrl-names = "default";
837 pinctrl-0 = <&qup_uart10_default>;
838 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
839 status = "disabled";
840 };
841
Douglas Anderson897cf342018-06-13 09:53:51 -0700842 i2c11: i2c@a8c000 {
843 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800844 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700845 clock-names = "se";
846 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
847 pinctrl-names = "default";
848 pinctrl-0 = <&qup_i2c11_default>;
849 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
850 #address-cells = <1>;
851 #size-cells = <0>;
852 status = "disabled";
853 };
854
855 spi11: spi@a8c000 {
856 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800857 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700858 clock-names = "se";
859 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
860 pinctrl-names = "default";
861 pinctrl-0 = <&qup_spi11_default>;
862 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
863 #address-cells = <1>;
864 #size-cells = <0>;
865 status = "disabled";
866 };
867
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700868 uart11: serial@a8c000 {
869 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800870 reg = <0 0x00a8c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700871 clock-names = "se";
872 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
873 pinctrl-names = "default";
874 pinctrl-0 = <&qup_uart11_default>;
875 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
876 status = "disabled";
877 };
878
Douglas Anderson897cf342018-06-13 09:53:51 -0700879 i2c12: i2c@a90000 {
880 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800881 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700882 clock-names = "se";
883 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
884 pinctrl-names = "default";
885 pinctrl-0 = <&qup_i2c12_default>;
886 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
887 #address-cells = <1>;
888 #size-cells = <0>;
889 status = "disabled";
890 };
891
892 spi12: spi@a90000 {
893 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800894 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700895 clock-names = "se";
896 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
897 pinctrl-names = "default";
898 pinctrl-0 = <&qup_spi12_default>;
899 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
900 #address-cells = <1>;
901 #size-cells = <0>;
902 status = "disabled";
903 };
904
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700905 uart12: serial@a90000 {
906 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800907 reg = <0 0x00a90000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700908 clock-names = "se";
909 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
910 pinctrl-names = "default";
911 pinctrl-0 = <&qup_uart12_default>;
912 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
913 status = "disabled";
914 };
915
Douglas Anderson897cf342018-06-13 09:53:51 -0700916 i2c13: i2c@a94000 {
917 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800918 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700919 clock-names = "se";
920 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
921 pinctrl-names = "default";
922 pinctrl-0 = <&qup_i2c13_default>;
923 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
924 #address-cells = <1>;
925 #size-cells = <0>;
926 status = "disabled";
927 };
928
929 spi13: spi@a94000 {
930 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800931 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700932 clock-names = "se";
933 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
934 pinctrl-names = "default";
935 pinctrl-0 = <&qup_spi13_default>;
936 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
937 #address-cells = <1>;
938 #size-cells = <0>;
939 status = "disabled";
940 };
941
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700942 uart13: serial@a94000 {
943 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800944 reg = <0 0x00a94000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700945 clock-names = "se";
946 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
947 pinctrl-names = "default";
948 pinctrl-0 = <&qup_uart13_default>;
949 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
950 status = "disabled";
951 };
952
Douglas Anderson897cf342018-06-13 09:53:51 -0700953 i2c14: i2c@a98000 {
954 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800955 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700956 clock-names = "se";
957 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
958 pinctrl-names = "default";
959 pinctrl-0 = <&qup_i2c14_default>;
960 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
961 #address-cells = <1>;
962 #size-cells = <0>;
963 status = "disabled";
964 };
965
966 spi14: spi@a98000 {
967 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800968 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700969 clock-names = "se";
970 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
971 pinctrl-names = "default";
972 pinctrl-0 = <&qup_spi14_default>;
973 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
974 #address-cells = <1>;
975 #size-cells = <0>;
976 status = "disabled";
977 };
978
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700979 uart14: serial@a98000 {
980 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800981 reg = <0 0x00a98000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700982 clock-names = "se";
983 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
984 pinctrl-names = "default";
985 pinctrl-0 = <&qup_uart14_default>;
986 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
987 status = "disabled";
988 };
989
Douglas Anderson897cf342018-06-13 09:53:51 -0700990 i2c15: i2c@a9c000 {
991 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800992 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700993 clock-names = "se";
994 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
995 pinctrl-names = "default";
996 pinctrl-0 = <&qup_i2c15_default>;
997 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
998 #address-cells = <1>;
999 #size-cells = <0>;
1000 status = "disabled";
1001 };
1002
1003 spi15: spi@a9c000 {
1004 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001005 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001006 clock-names = "se";
1007 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1008 pinctrl-names = "default";
1009 pinctrl-0 = <&qup_spi15_default>;
1010 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1011 #address-cells = <1>;
1012 #size-cells = <0>;
1013 status = "disabled";
1014 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001015
1016 uart15: serial@a9c000 {
1017 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001018 reg = <0 0x00a9c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001019 clock-names = "se";
1020 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1021 pinctrl-names = "default";
1022 pinctrl-0 = <&qup_uart15_default>;
1023 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1024 status = "disabled";
1025 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001026 };
1027
Evan Greencc166872018-12-10 11:28:24 -08001028 ufs_mem_hc: ufshc@1d84000 {
1029 compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
1030 "jedec,ufs-2.0";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001031 reg = <0 0x01d84000 0 0x2500>;
Evan Greencc166872018-12-10 11:28:24 -08001032 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1033 phys = <&ufs_mem_phy_lanes>;
1034 phy-names = "ufsphy";
1035 lanes-per-direction = <2>;
1036 power-domains = <&gcc UFS_PHY_GDSC>;
1037
1038 iommus = <&apps_smmu 0x100 0xf>;
1039
1040 clock-names =
1041 "core_clk",
1042 "bus_aggr_clk",
1043 "iface_clk",
1044 "core_clk_unipro",
1045 "ref_clk",
1046 "tx_lane0_sync_clk",
1047 "rx_lane0_sync_clk",
1048 "rx_lane1_sync_clk";
1049 clocks =
1050 <&gcc GCC_UFS_PHY_AXI_CLK>,
1051 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1052 <&gcc GCC_UFS_PHY_AHB_CLK>,
1053 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1054 <&rpmhcc RPMH_CXO_CLK>,
1055 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1056 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1057 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1058 freq-table-hz =
1059 <50000000 200000000>,
1060 <0 0>,
1061 <0 0>,
1062 <37500000 150000000>,
1063 <0 0>,
1064 <0 0>,
1065 <0 0>,
1066 <0 0>;
1067
1068 status = "disabled";
1069 };
1070
1071 ufs_mem_phy: phy@1d87000 {
1072 compatible = "qcom,sdm845-qmp-ufs-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001073 reg = <0 0x01d87000 0 0x18c>;
1074 #address-cells = <2>;
1075 #size-cells = <2>;
Evan Greencc166872018-12-10 11:28:24 -08001076 ranges;
1077 clock-names = "ref",
1078 "ref_aux";
1079 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
1080 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1081
1082 status = "disabled";
1083
1084 ufs_mem_phy_lanes: lanes@1d87400 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001085 reg = <0 0x01d87400 0 0x108>,
1086 <0 0x01d87600 0 0x1e0>,
1087 <0 0x01d87c00 0 0x1dc>,
1088 <0 0x01d87800 0 0x108>,
1089 <0 0x01d87a00 0 0x1e0>;
Evan Greencc166872018-12-10 11:28:24 -08001090 #phy-cells = <0>;
1091 };
1092 };
1093
Douglas Anderson54d7a202018-05-14 20:59:22 -07001094 tcsr_mutex_regs: syscon@1f40000 {
1095 compatible = "syscon";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001096 reg = <0 0x01f40000 0 0x40000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001097 };
1098
1099 tlmm: pinctrl@3400000 {
1100 compatible = "qcom,sdm845-pinctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001101 reg = <0 0x03400000 0 0xc00000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001102 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1103 gpio-controller;
1104 #gpio-cells = <2>;
1105 interrupt-controller;
1106 #interrupt-cells = <2>;
Evan Greenbc2c8062018-11-09 15:52:12 -08001107 gpio-ranges = <&tlmm 0 0 150>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001108
Douglas Andersone1ce8532018-10-08 13:17:11 -07001109 qspi_clk: qspi-clk {
1110 pinmux {
1111 pins = "gpio95";
1112 function = "qspi_clk";
1113 };
1114 };
1115
1116 qspi_cs0: qspi-cs0 {
1117 pinmux {
1118 pins = "gpio90";
1119 function = "qspi_cs";
1120 };
1121 };
1122
1123 qspi_cs1: qspi-cs1 {
1124 pinmux {
1125 pins = "gpio89";
1126 function = "qspi_cs";
1127 };
1128 };
1129
1130 qspi_data01: qspi-data01 {
1131 pinmux-data {
1132 pins = "gpio91", "gpio92";
1133 function = "qspi_data";
1134 };
1135 };
1136
1137 qspi_data12: qspi-data12 {
1138 pinmux-data {
1139 pins = "gpio93", "gpio94";
1140 function = "qspi_data";
1141 };
1142 };
1143
Douglas Anderson897cf342018-06-13 09:53:51 -07001144 qup_i2c0_default: qup-i2c0-default {
1145 pinmux {
1146 pins = "gpio0", "gpio1";
1147 function = "qup0";
1148 };
1149 };
1150
1151 qup_i2c1_default: qup-i2c1-default {
1152 pinmux {
1153 pins = "gpio17", "gpio18";
1154 function = "qup1";
1155 };
1156 };
1157
1158 qup_i2c2_default: qup-i2c2-default {
1159 pinmux {
1160 pins = "gpio27", "gpio28";
1161 function = "qup2";
1162 };
1163 };
1164
1165 qup_i2c3_default: qup-i2c3-default {
1166 pinmux {
1167 pins = "gpio41", "gpio42";
1168 function = "qup3";
1169 };
1170 };
1171
1172 qup_i2c4_default: qup-i2c4-default {
1173 pinmux {
1174 pins = "gpio89", "gpio90";
1175 function = "qup4";
1176 };
1177 };
1178
1179 qup_i2c5_default: qup-i2c5-default {
1180 pinmux {
1181 pins = "gpio85", "gpio86";
1182 function = "qup5";
1183 };
1184 };
1185
1186 qup_i2c6_default: qup-i2c6-default {
1187 pinmux {
1188 pins = "gpio45", "gpio46";
1189 function = "qup6";
1190 };
1191 };
1192
1193 qup_i2c7_default: qup-i2c7-default {
1194 pinmux {
1195 pins = "gpio93", "gpio94";
1196 function = "qup7";
1197 };
1198 };
1199
1200 qup_i2c8_default: qup-i2c8-default {
1201 pinmux {
1202 pins = "gpio65", "gpio66";
1203 function = "qup8";
1204 };
1205 };
1206
1207 qup_i2c9_default: qup-i2c9-default {
1208 pinmux {
1209 pins = "gpio6", "gpio7";
1210 function = "qup9";
1211 };
1212 };
1213
1214 qup_i2c10_default: qup-i2c10-default {
1215 pinmux {
1216 pins = "gpio55", "gpio56";
1217 function = "qup10";
1218 };
1219 };
1220
1221 qup_i2c11_default: qup-i2c11-default {
1222 pinmux {
1223 pins = "gpio31", "gpio32";
1224 function = "qup11";
1225 };
1226 };
1227
1228 qup_i2c12_default: qup-i2c12-default {
1229 pinmux {
1230 pins = "gpio49", "gpio50";
1231 function = "qup12";
1232 };
1233 };
1234
1235 qup_i2c13_default: qup-i2c13-default {
1236 pinmux {
1237 pins = "gpio105", "gpio106";
1238 function = "qup13";
1239 };
1240 };
1241
1242 qup_i2c14_default: qup-i2c14-default {
1243 pinmux {
1244 pins = "gpio33", "gpio34";
1245 function = "qup14";
1246 };
1247 };
1248
1249 qup_i2c15_default: qup-i2c15-default {
1250 pinmux {
1251 pins = "gpio81", "gpio82";
1252 function = "qup15";
1253 };
1254 };
1255
1256 qup_spi0_default: qup-spi0-default {
1257 pinmux {
1258 pins = "gpio0", "gpio1",
1259 "gpio2", "gpio3";
1260 function = "qup0";
1261 };
1262 };
1263
1264 qup_spi1_default: qup-spi1-default {
1265 pinmux {
1266 pins = "gpio17", "gpio18",
1267 "gpio19", "gpio20";
1268 function = "qup1";
1269 };
1270 };
1271
1272 qup_spi2_default: qup-spi2-default {
1273 pinmux {
1274 pins = "gpio27", "gpio28",
1275 "gpio29", "gpio30";
1276 function = "qup2";
1277 };
1278 };
1279
1280 qup_spi3_default: qup-spi3-default {
1281 pinmux {
1282 pins = "gpio41", "gpio42",
1283 "gpio43", "gpio44";
1284 function = "qup3";
1285 };
1286 };
1287
1288 qup_spi4_default: qup-spi4-default {
1289 pinmux {
1290 pins = "gpio89", "gpio90",
1291 "gpio91", "gpio92";
1292 function = "qup4";
1293 };
1294 };
1295
1296 qup_spi5_default: qup-spi5-default {
1297 pinmux {
1298 pins = "gpio85", "gpio86",
1299 "gpio87", "gpio88";
1300 function = "qup5";
1301 };
1302 };
1303
1304 qup_spi6_default: qup-spi6-default {
1305 pinmux {
1306 pins = "gpio45", "gpio46",
1307 "gpio47", "gpio48";
1308 function = "qup6";
1309 };
1310 };
1311
1312 qup_spi7_default: qup-spi7-default {
1313 pinmux {
1314 pins = "gpio93", "gpio94",
1315 "gpio95", "gpio96";
1316 function = "qup7";
1317 };
1318 };
1319
1320 qup_spi8_default: qup-spi8-default {
1321 pinmux {
1322 pins = "gpio65", "gpio66",
1323 "gpio67", "gpio68";
1324 function = "qup8";
1325 };
1326 };
1327
1328 qup_spi9_default: qup-spi9-default {
1329 pinmux {
1330 pins = "gpio6", "gpio7",
1331 "gpio4", "gpio5";
1332 function = "qup9";
1333 };
1334 };
1335
1336 qup_spi10_default: qup-spi10-default {
1337 pinmux {
1338 pins = "gpio55", "gpio56",
1339 "gpio53", "gpio54";
1340 function = "qup10";
1341 };
1342 };
1343
1344 qup_spi11_default: qup-spi11-default {
1345 pinmux {
1346 pins = "gpio31", "gpio32",
1347 "gpio33", "gpio34";
1348 function = "qup11";
1349 };
1350 };
1351
1352 qup_spi12_default: qup-spi12-default {
1353 pinmux {
1354 pins = "gpio49", "gpio50",
1355 "gpio51", "gpio52";
1356 function = "qup12";
1357 };
1358 };
1359
1360 qup_spi13_default: qup-spi13-default {
1361 pinmux {
1362 pins = "gpio105", "gpio106",
1363 "gpio107", "gpio108";
1364 function = "qup13";
1365 };
1366 };
1367
1368 qup_spi14_default: qup-spi14-default {
1369 pinmux {
1370 pins = "gpio33", "gpio34",
1371 "gpio31", "gpio32";
1372 function = "qup14";
1373 };
1374 };
1375
1376 qup_spi15_default: qup-spi15-default {
1377 pinmux {
1378 pins = "gpio81", "gpio82",
1379 "gpio83", "gpio84";
1380 function = "qup15";
1381 };
1382 };
1383
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001384 qup_uart0_default: qup-uart0-default {
1385 pinmux {
1386 pins = "gpio2", "gpio3";
1387 function = "qup0";
1388 };
1389 };
1390
1391 qup_uart1_default: qup-uart1-default {
1392 pinmux {
1393 pins = "gpio19", "gpio20";
1394 function = "qup1";
1395 };
1396 };
1397
1398 qup_uart2_default: qup-uart2-default {
1399 pinmux {
1400 pins = "gpio29", "gpio30";
1401 function = "qup2";
1402 };
1403 };
1404
1405 qup_uart3_default: qup-uart3-default {
1406 pinmux {
1407 pins = "gpio43", "gpio44";
1408 function = "qup3";
1409 };
1410 };
1411
1412 qup_uart4_default: qup-uart4-default {
1413 pinmux {
1414 pins = "gpio91", "gpio92";
1415 function = "qup4";
1416 };
1417 };
1418
1419 qup_uart5_default: qup-uart5-default {
1420 pinmux {
1421 pins = "gpio87", "gpio88";
1422 function = "qup5";
1423 };
1424 };
1425
1426 qup_uart6_default: qup-uart6-default {
1427 pinmux {
1428 pins = "gpio47", "gpio48";
1429 function = "qup6";
1430 };
1431 };
1432
1433 qup_uart7_default: qup-uart7-default {
1434 pinmux {
1435 pins = "gpio95", "gpio96";
1436 function = "qup7";
1437 };
1438 };
1439
1440 qup_uart8_default: qup-uart8-default {
1441 pinmux {
1442 pins = "gpio67", "gpio68";
1443 function = "qup8";
1444 };
1445 };
1446
Douglas Anderson897cf342018-06-13 09:53:51 -07001447 qup_uart9_default: qup-uart9-default {
1448 pinmux {
1449 pins = "gpio4", "gpio5";
1450 function = "qup9";
1451 };
1452 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001453
1454 qup_uart10_default: qup-uart10-default {
1455 pinmux {
1456 pins = "gpio53", "gpio54";
1457 function = "qup10";
1458 };
1459 };
1460
1461 qup_uart11_default: qup-uart11-default {
1462 pinmux {
1463 pins = "gpio33", "gpio34";
1464 function = "qup11";
1465 };
1466 };
1467
1468 qup_uart12_default: qup-uart12-default {
1469 pinmux {
1470 pins = "gpio51", "gpio52";
1471 function = "qup12";
1472 };
1473 };
1474
1475 qup_uart13_default: qup-uart13-default {
1476 pinmux {
1477 pins = "gpio107", "gpio108";
1478 function = "qup13";
1479 };
1480 };
1481
1482 qup_uart14_default: qup-uart14-default {
1483 pinmux {
1484 pins = "gpio31", "gpio32";
1485 function = "qup14";
1486 };
1487 };
1488
1489 qup_uart15_default: qup-uart15-default {
1490 pinmux {
1491 pins = "gpio83", "gpio84";
1492 function = "qup15";
1493 };
1494 };
Douglas Anderson54d7a202018-05-14 20:59:22 -07001495 };
1496
Douglas Anderson9aa4a272018-11-28 10:57:43 -08001497 gpucc: clock-controller@5090000 {
1498 compatible = "qcom,sdm845-gpucc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001499 reg = <0 0x05090000 0 0x9000>;
Douglas Anderson9aa4a272018-11-28 10:57:43 -08001500 #clock-cells = <1>;
1501 #reset-cells = <1>;
1502 #power-domain-cells = <1>;
1503 clocks = <&rpmhcc RPMH_CXO_CLK>;
1504 clock-names = "xo";
1505 };
1506
Evan Green67d62e52018-12-06 10:45:21 -08001507 sdhc_2: sdhci@8804000 {
1508 compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001509 reg = <0 0x08804000 0 0x1000>;
Evan Green67d62e52018-12-06 10:45:21 -08001510
1511 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
1512 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
1513 interrupt-names = "hc_irq", "pwr_irq";
1514
1515 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
1516 <&gcc GCC_SDCC2_APPS_CLK>;
1517 clock-names = "iface", "core";
Bjorn Andersson55fae1d2019-02-04 16:54:52 -08001518 iommus = <&apps_smmu 0xa0 0xf>;
Evan Green67d62e52018-12-06 10:45:21 -08001519
1520 status = "disabled";
1521 };
1522
Douglas Andersone1ce8532018-10-08 13:17:11 -07001523 qspi: spi@88df000 {
1524 compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001525 reg = <0 0x088df000 0 0x600>;
Douglas Andersone1ce8532018-10-08 13:17:11 -07001526 #address-cells = <1>;
1527 #size-cells = <0>;
1528 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1529 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
1530 <&gcc GCC_QSPI_CORE_CLK>;
1531 clock-names = "iface", "core";
1532 status = "disabled";
1533 };
1534
Manu Gautamca4db2b2018-08-22 10:36:27 -07001535 usb_1_hsphy: phy@88e2000 {
1536 compatible = "qcom,sdm845-qusb2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001537 reg = <0 0x088e2000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001538 status = "disabled";
1539 #phy-cells = <0>;
1540
1541 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1542 <&rpmhcc RPMH_CXO_CLK>;
1543 clock-names = "cfg_ahb", "ref";
1544
1545 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1546
1547 nvmem-cells = <&qusb2p_hstx_trim>;
1548 };
1549
1550 usb_2_hsphy: phy@88e3000 {
1551 compatible = "qcom,sdm845-qusb2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001552 reg = <0 0x088e3000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001553 status = "disabled";
1554 #phy-cells = <0>;
1555
1556 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1557 <&rpmhcc RPMH_CXO_CLK>;
1558 clock-names = "cfg_ahb", "ref";
1559
1560 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
1561
1562 nvmem-cells = <&qusb2s_hstx_trim>;
1563 };
1564
1565 usb_1_qmpphy: phy@88e9000 {
1566 compatible = "qcom,sdm845-qmp-usb3-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001567 reg = <0 0x088e9000 0 0x18c>,
1568 <0 0x088e8000 0 0x10>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001569 reg-names = "reg-base", "dp_com";
1570 status = "disabled";
1571 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001572 #address-cells = <2>;
1573 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001574 ranges;
1575
1576 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
1577 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1578 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
1579 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
1580 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1581
1582 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
1583 <&gcc GCC_USB3_PHY_PRIM_BCR>;
1584 reset-names = "phy", "common";
1585
Evan Green9ebfcba2018-12-10 11:28:26 -08001586 usb_1_ssphy: lanes@88e9200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001587 reg = <0 0x088e9200 0 0x128>,
1588 <0 0x088e9400 0 0x200>,
1589 <0 0x088e9c00 0 0x218>,
1590 <0 0x088e9600 0 0x128>,
1591 <0 0x088e9800 0 0x200>,
1592 <0 0x088e9a00 0 0x100>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001593 #phy-cells = <0>;
1594 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
1595 clock-names = "pipe0";
1596 clock-output-names = "usb3_phy_pipe_clk_src";
1597 };
1598 };
1599
1600 usb_2_qmpphy: phy@88eb000 {
1601 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001602 reg = <0 0x088eb000 0 0x18c>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001603 status = "disabled";
1604 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001605 #address-cells = <2>;
1606 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001607 ranges;
1608
1609 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
1610 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1611 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
1612 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
1613 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1614
1615 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
1616 <&gcc GCC_USB3_PHY_SEC_BCR>;
1617 reset-names = "phy", "common";
1618
1619 usb_2_ssphy: lane@88eb200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001620 reg = <0 0x088eb200 0 0x128>,
1621 <0 0x088eb400 0 0x1fc>,
1622 <0 0x088eb800 0 0x218>,
1623 <0 0x088eb600 0 0x70>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001624 #phy-cells = <0>;
1625 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
1626 clock-names = "pipe0";
1627 clock-output-names = "usb3_uni_phy_pipe_clk_src";
1628 };
1629 };
1630
1631 usb_1: usb@a6f8800 {
1632 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001633 reg = <0 0x0a6f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001634 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001635 #address-cells = <2>;
1636 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001637 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08001638 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001639
1640 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
1641 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
1642 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
1643 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1644 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
1645 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1646 "sleep";
1647
1648 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1649 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
1650 assigned-clock-rates = <19200000>, <150000000>;
1651
1652 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
1653 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
1654 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
1655 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
1656 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1657 "dm_hs_phy_irq", "dp_hs_phy_irq";
1658
1659 power-domains = <&gcc USB30_PRIM_GDSC>;
1660
1661 resets = <&gcc GCC_USB30_PRIM_BCR>;
1662
1663 usb_1_dwc3: dwc3@a600000 {
1664 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001665 reg = <0 0x0a600000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001666 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08001667 iommus = <&apps_smmu 0x740 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001668 snps,dis_u2_susphy_quirk;
1669 snps,dis_enblslpm_quirk;
1670 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
1671 phy-names = "usb2-phy", "usb3-phy";
1672 };
1673 };
1674
1675 usb_2: usb@a8f8800 {
1676 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001677 reg = <0 0x0a8f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001678 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001679 #address-cells = <2>;
1680 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001681 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08001682 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001683
1684 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
1685 <&gcc GCC_USB30_SEC_MASTER_CLK>,
1686 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
1687 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1688 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
1689 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1690 "sleep";
1691
1692 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1693 <&gcc GCC_USB30_SEC_MASTER_CLK>;
1694 assigned-clock-rates = <19200000>, <150000000>;
1695
1696 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
1697 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
1698 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
1699 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
1700 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1701 "dm_hs_phy_irq", "dp_hs_phy_irq";
1702
1703 power-domains = <&gcc USB30_SEC_GDSC>;
1704
1705 resets = <&gcc GCC_USB30_SEC_BCR>;
1706
1707 usb_2_dwc3: dwc3@a800000 {
1708 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001709 reg = <0 0x0a800000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001710 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08001711 iommus = <&apps_smmu 0x760 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001712 snps,dis_u2_susphy_quirk;
1713 snps,dis_enblslpm_quirk;
1714 phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
1715 phy-names = "usb2-phy", "usb3-phy";
1716 };
1717 };
1718
Taniya Das05556682018-12-03 11:36:29 -08001719 videocc: clock-controller@ab00000 {
1720 compatible = "qcom,sdm845-videocc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001721 reg = <0 0x0ab00000 0 0x10000>;
Taniya Das05556682018-12-03 11:36:29 -08001722 #clock-cells = <1>;
1723 #power-domain-cells = <1>;
1724 #reset-cells = <1>;
1725 };
1726
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001727 mdss: mdss@ae00000 {
1728 compatible = "qcom,sdm845-mdss";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001729 reg = <0 0x0ae00000 0 0x1000>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001730 reg-names = "mdss";
1731
1732 power-domains = <&dispcc MDSS_GDSC>;
1733
1734 clocks = <&gcc GCC_DISP_AHB_CLK>,
1735 <&gcc GCC_DISP_AXI_CLK>,
1736 <&dispcc DISP_CC_MDSS_MDP_CLK>;
1737 clock-names = "iface", "bus", "core";
1738
1739 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>;
1740 assigned-clock-rates = <300000000>;
1741
1742 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
1743 interrupt-controller;
1744 #interrupt-cells = <1>;
1745
1746 iommus = <&apps_smmu 0x880 0x8>,
1747 <&apps_smmu 0xc80 0x8>;
1748
1749 status = "disabled";
1750
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001751 #address-cells = <2>;
1752 #size-cells = <2>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001753 ranges;
1754
1755 mdss_mdp: mdp@ae01000 {
1756 compatible = "qcom,sdm845-dpu";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001757 reg = <0 0x0ae01000 0 0x8f000>,
1758 <0 0x0aeb0000 0 0x2008>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001759 reg-names = "mdp", "vbif";
1760
1761 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
1762 <&dispcc DISP_CC_MDSS_AXI_CLK>,
1763 <&dispcc DISP_CC_MDSS_MDP_CLK>,
1764 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
1765 clock-names = "iface", "bus", "core", "vsync";
1766
1767 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
1768 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
1769 assigned-clock-rates = <300000000>,
1770 <19200000>;
1771
1772 interrupt-parent = <&mdss>;
1773 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
1774
1775 status = "disabled";
1776
1777 ports {
1778 #address-cells = <1>;
1779 #size-cells = <0>;
1780
1781 port@0 {
1782 reg = <0>;
1783 dpu_intf1_out: endpoint {
1784 remote-endpoint = <&dsi0_in>;
1785 };
1786 };
1787
1788 port@1 {
1789 reg = <1>;
1790 dpu_intf2_out: endpoint {
1791 remote-endpoint = <&dsi1_in>;
1792 };
1793 };
1794 };
1795 };
1796
1797 dsi0: dsi@ae94000 {
1798 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001799 reg = <0 0x0ae94000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001800 reg-names = "dsi_ctrl";
1801
1802 interrupt-parent = <&mdss>;
1803 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
1804
1805 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
1806 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
1807 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
1808 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
1809 <&dispcc DISP_CC_MDSS_AHB_CLK>,
1810 <&dispcc DISP_CC_MDSS_AXI_CLK>;
1811 clock-names = "byte",
1812 "byte_intf",
1813 "pixel",
1814 "core",
1815 "iface",
1816 "bus";
1817
1818 phys = <&dsi0_phy>;
1819 phy-names = "dsi";
1820
1821 status = "disabled";
1822
1823 #address-cells = <1>;
1824 #size-cells = <0>;
1825
1826 ports {
1827 #address-cells = <1>;
1828 #size-cells = <0>;
1829
1830 port@0 {
1831 reg = <0>;
1832 dsi0_in: endpoint {
1833 remote-endpoint = <&dpu_intf1_out>;
1834 };
1835 };
1836
1837 port@1 {
1838 reg = <1>;
1839 dsi0_out: endpoint {
1840 };
1841 };
1842 };
1843 };
1844
1845 dsi0_phy: dsi-phy@ae94400 {
1846 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001847 reg = <0 0x0ae94400 0 0x200>,
1848 <0 0x0ae94600 0 0x280>,
1849 <0 0x0ae94a00 0 0x1e0>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001850 reg-names = "dsi_phy",
1851 "dsi_phy_lane",
1852 "dsi_pll";
1853
1854 #clock-cells = <1>;
1855 #phy-cells = <0>;
1856
1857 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>;
1858 clock-names = "iface";
1859
1860 status = "disabled";
1861 };
1862
1863 dsi1: dsi@ae96000 {
1864 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001865 reg = <0 0x0ae96000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001866 reg-names = "dsi_ctrl";
1867
1868 interrupt-parent = <&mdss>;
1869 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
1870
1871 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
1872 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
1873 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
1874 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
1875 <&dispcc DISP_CC_MDSS_AHB_CLK>,
1876 <&dispcc DISP_CC_MDSS_AXI_CLK>;
1877 clock-names = "byte",
1878 "byte_intf",
1879 "pixel",
1880 "core",
1881 "iface",
1882 "bus";
1883
1884 phys = <&dsi1_phy>;
1885 phy-names = "dsi";
1886
1887 status = "disabled";
1888
1889 #address-cells = <1>;
1890 #size-cells = <0>;
1891
1892 ports {
1893 #address-cells = <1>;
1894 #size-cells = <0>;
1895
1896 port@0 {
1897 reg = <0>;
1898 dsi1_in: endpoint {
1899 remote-endpoint = <&dpu_intf2_out>;
1900 };
1901 };
1902
1903 port@1 {
1904 reg = <1>;
1905 dsi1_out: endpoint {
1906 };
1907 };
1908 };
1909 };
1910
1911 dsi1_phy: dsi-phy@ae96400 {
1912 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001913 reg = <0 0x0ae96400 0 0x200>,
1914 <0 0x0ae96600 0 0x280>,
1915 <0 0x0ae96a00 0 0x10e>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001916 reg-names = "dsi_phy",
1917 "dsi_phy_lane",
1918 "dsi_pll";
1919
1920 #clock-cells = <1>;
1921 #phy-cells = <0>;
1922
1923 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>;
1924 clock-names = "iface";
1925
1926 status = "disabled";
1927 };
1928 };
1929
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07001930 dispcc: clock-controller@af00000 {
1931 compatible = "qcom,sdm845-dispcc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001932 reg = <0 0x0af00000 0 0x10000>;
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07001933 #clock-cells = <1>;
1934 #reset-cells = <1>;
1935 #power-domain-cells = <1>;
1936 };
1937
Sibi Sankar13393da2018-10-26 17:56:53 +05301938 pdc_reset: reset-controller@b2e0000 {
1939 compatible = "qcom,sdm845-pdc-global";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001940 reg = <0 0x0b2e0000 0 0x20000>;
Sibi Sankar13393da2018-10-26 17:56:53 +05301941 #reset-cells = <1>;
1942 };
1943
Amit Kucheriacda676b2018-07-18 12:13:13 +05301944 tsens0: thermal-sensor@c263000 {
1945 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001946 reg = <0 0x0c263000 0 0x1ff>, /* TM */
1947 <0 0x0c222000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05301948 #qcom,sensors = <13>;
1949 #thermal-sensor-cells = <1>;
1950 };
1951
1952 tsens1: thermal-sensor@c265000 {
1953 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001954 reg = <0 0x0c265000 0 0x1ff>, /* TM */
1955 <0 0x0c223000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05301956 #qcom,sensors = <8>;
1957 #thermal-sensor-cells = <1>;
1958 };
1959
Sibi Sankaread5eea2018-09-01 15:23:55 -07001960 aoss_reset: reset-controller@c2a0000 {
1961 compatible = "qcom,sdm845-aoss-cc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001962 reg = <0 0x0c2a0000 0 0x31000>;
Sibi Sankaread5eea2018-09-01 15:23:55 -07001963 #reset-cells = <1>;
1964 };
1965
Douglas Anderson54d7a202018-05-14 20:59:22 -07001966 spmi_bus: spmi@c440000 {
1967 compatible = "qcom,spmi-pmic-arb";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001968 reg = <0 0x0c440000 0 0x1100>,
1969 <0 0x0c600000 0 0x2000000>,
1970 <0 0x0e600000 0 0x100000>,
1971 <0 0x0e700000 0 0xa0000>,
1972 <0 0x0c40a000 0 0x26000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001973 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1974 interrupt-names = "periph_irq";
1975 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
1976 qcom,ee = <0>;
1977 qcom,channel = <0>;
1978 #address-cells = <2>;
1979 #size-cells = <0>;
1980 interrupt-controller;
1981 #interrupt-cells = <4>;
1982 cell-index = <0>;
1983 };
1984
Vivek Gautam4429e572018-10-11 15:19:30 +05301985 apps_smmu: iommu@15000000 {
1986 compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001987 reg = <0 0x15000000 0 0x80000>;
Vivek Gautam4429e572018-10-11 15:19:30 +05301988 #iommu-cells = <2>;
1989 #global-interrupts = <1>;
1990 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
1991 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
1992 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
1993 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
1994 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
1995 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
1996 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
1997 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
1998 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
1999 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
2000 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
2001 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
2002 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
2003 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
2004 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
2005 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
2006 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
2007 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
2008 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
2009 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
2010 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
2011 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
2012 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
2013 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
2014 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
2015 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
2016 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
2017 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
2018 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
2019 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
2020 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
2021 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
2022 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
2023 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
2024 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
2025 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
2026 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
2027 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
2028 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
2029 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
2030 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
2031 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
2032 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
2033 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
2034 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
2035 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
2036 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
2037 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
2038 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
2039 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
2040 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
2041 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
2042 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
2043 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
2044 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
2045 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
2046 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
2047 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
2048 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
2049 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
2050 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
2051 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
2052 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
2053 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
2054 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
2055 };
2056
Taniya Das0cef5dd2018-12-05 13:30:36 +05302057 lpasscc: clock-controller@17014000 {
2058 compatible = "qcom,sdm845-lpasscc";
Bjorn Andersson1d918e92019-01-17 11:29:55 -08002059 reg = <0 0x17014000 0 0x1f004>, <0 0x17300000 0 0x200>;
Taniya Das0cef5dd2018-12-05 13:30:36 +05302060 reg-names = "cc", "qdsp6ss";
2061 #clock-cells = <1>;
2062 status = "disabled";
2063 };
2064
Douglas Anderson54d7a202018-05-14 20:59:22 -07002065 apss_shared: mailbox@17990000 {
2066 compatible = "qcom,sdm845-apss-shared";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002067 reg = <0 0x17990000 0 0x1000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07002068 #mbox-cells = <1>;
2069 };
2070
Douglas Andersonc83545d2018-06-18 14:50:50 -07002071 apps_rsc: rsc@179c0000 {
2072 label = "apps_rsc";
2073 compatible = "qcom,rpmh-rsc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002074 reg = <0 0x179c0000 0 0x10000>,
2075 <0 0x179d0000 0 0x10000>,
2076 <0 0x179e0000 0 0x10000>;
Douglas Andersonc83545d2018-06-18 14:50:50 -07002077 reg-names = "drv-0", "drv-1", "drv-2";
2078 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
2079 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
2080 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
2081 qcom,tcs-offset = <0xd00>;
2082 qcom,drv-id = <2>;
2083 qcom,tcs-config = <ACTIVE_TCS 2>,
2084 <SLEEP_TCS 3>,
2085 <WAKE_TCS 3>,
2086 <CONTROL_TCS 1>;
Douglas Anderson717f2012018-06-18 14:50:51 -07002087
2088 rpmhcc: clock-controller {
2089 compatible = "qcom,sdm845-rpmh-clk";
2090 #clock-cells = <1>;
2091 };
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05302092
2093 rpmhpd: power-controller {
2094 compatible = "qcom,sdm845-rpmhpd";
2095 #power-domain-cells = <1>;
2096 operating-points-v2 = <&rpmhpd_opp_table>;
2097
2098 rpmhpd_opp_table: opp-table {
2099 compatible = "operating-points-v2";
2100
2101 rpmhpd_opp_ret: opp1 {
2102 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
2103 };
2104
2105 rpmhpd_opp_min_svs: opp2 {
2106 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2107 };
2108
2109 rpmhpd_opp_low_svs: opp3 {
2110 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2111 };
2112
2113 rpmhpd_opp_svs: opp4 {
2114 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2115 };
2116
2117 rpmhpd_opp_svs_l1: opp5 {
2118 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2119 };
2120
2121 rpmhpd_opp_nom: opp6 {
2122 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2123 };
2124
2125 rpmhpd_opp_nom_l1: opp7 {
2126 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
2127 };
2128
2129 rpmhpd_opp_nom_l2: opp8 {
2130 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
2131 };
2132
2133 rpmhpd_opp_turbo: opp9 {
2134 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
2135 };
2136
2137 rpmhpd_opp_turbo_l1: opp10 {
2138 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
2139 };
2140 };
2141 };
David Dai5e820482019-01-16 18:11:01 +02002142
2143 rsc_hlos: interconnect {
2144 compatible = "qcom,sdm845-rsc-hlos";
2145 #interconnect-cells = <1>;
2146 };
Douglas Andersonc83545d2018-06-18 14:50:50 -07002147 };
2148
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302149 intc: interrupt-controller@17a00000 {
2150 compatible = "arm,gic-v3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002151 #address-cells = <2>;
2152 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302153 ranges;
2154 #interrupt-cells = <3>;
2155 interrupt-controller;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002156 reg = <0 0x17a00000 0 0x10000>, /* GICD */
2157 <0 0x17a60000 0 0x100000>; /* GICR * 8 */
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302158 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
2159
2160 gic-its@17a40000 {
2161 compatible = "arm,gic-v3-its";
2162 msi-controller;
2163 #msi-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002164 reg = <0 0x17a40000 0 0x20000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302165 status = "disabled";
2166 };
2167 };
2168
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302169 timer@17c90000 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002170 #address-cells = <2>;
2171 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302172 ranges;
2173 compatible = "arm,armv7-timer-mem";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002174 reg = <0 0x17c90000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302175
2176 frame@17ca0000 {
2177 frame-number = <0>;
2178 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
2179 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002180 reg = <0 0x17ca0000 0 0x1000>,
2181 <0 0x17cb0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302182 };
2183
2184 frame@17cc0000 {
2185 frame-number = <1>;
2186 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002187 reg = <0 0x17cc0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302188 status = "disabled";
2189 };
2190
2191 frame@17cd0000 {
2192 frame-number = <2>;
2193 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002194 reg = <0 0x17cd0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302195 status = "disabled";
2196 };
2197
2198 frame@17ce0000 {
2199 frame-number = <3>;
2200 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002201 reg = <0 0x17ce0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302202 status = "disabled";
2203 };
2204
2205 frame@17cf0000 {
2206 frame-number = <4>;
2207 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002208 reg = <0 0x17cf0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302209 status = "disabled";
2210 };
2211
2212 frame@17d00000 {
2213 frame-number = <5>;
2214 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002215 reg = <0 0x17d00000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302216 status = "disabled";
2217 };
2218
2219 frame@17d10000 {
2220 frame-number = <6>;
2221 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002222 reg = <0 0x17d10000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302223 status = "disabled";
2224 };
2225 };
Taniya Dasc604b82a2018-12-21 23:44:23 +05302226
2227 cpufreq_hw: cpufreq@17d43000 {
2228 compatible = "qcom,cpufreq-hw";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002229 reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
Taniya Dasc604b82a2018-12-21 23:44:23 +05302230 reg-names = "freq-domain0", "freq-domain1";
2231
2232 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
2233 clock-names = "xo", "alternate";
2234
2235 #freq-domain-cells = <1>;
2236 };
Govind Singh022bccb2018-11-05 18:38:37 +05302237
2238 wifi: wifi@18800000 {
2239 compatible = "qcom,wcn3990-wifi";
2240 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002241 reg = <0 0x18800000 0 0x800000>;
Govind Singh022bccb2018-11-05 18:38:37 +05302242 reg-names = "membase";
2243 memory-region = <&wlan_msa_mem>;
2244 interrupts =
2245 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
2246 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
2247 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
2248 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
2249 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
2250 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
2251 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
2252 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
2253 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
2254 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
2255 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
2256 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
2257 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302258 };
Amit Kucheria48847882018-06-12 15:26:54 +03002259
2260 thermal-zones {
2261 cpu0-thermal {
2262 polling-delay-passive = <250>;
2263 polling-delay = <1000>;
2264
2265 thermal-sensors = <&tsens0 1>;
2266
2267 trips {
Amit Kucheriac47fc192019-02-06 16:04:49 +05302268 cpu0_alert0: trip-point@0 {
2269 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03002270 hysteresis = <2000>;
2271 type = "passive";
2272 };
2273
Amit Kucheriac47fc192019-02-06 16:04:49 +05302274 cpu0_alert1: trip-point@1 {
2275 temperature = <95000>;
2276 hysteresis = <2000>;
2277 type = "passive";
2278 };
2279
2280 cpu0_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03002281 temperature = <110000>;
2282 hysteresis = <1000>;
2283 type = "critical";
2284 };
2285 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05302286
2287 cooling-maps {
2288 map0 {
2289 trip = <&cpu0_alert0>;
2290 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2291 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2292 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2293 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2294 };
2295 map1 {
2296 trip = <&cpu0_alert1>;
2297 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2298 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2299 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2300 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2301 };
2302 };
Amit Kucheria48847882018-06-12 15:26:54 +03002303 };
2304
2305 cpu1-thermal {
2306 polling-delay-passive = <250>;
2307 polling-delay = <1000>;
2308
2309 thermal-sensors = <&tsens0 2>;
2310
2311 trips {
Amit Kucheriac47fc192019-02-06 16:04:49 +05302312 cpu1_alert0: trip-point@0 {
2313 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03002314 hysteresis = <2000>;
2315 type = "passive";
2316 };
2317
Amit Kucheriac47fc192019-02-06 16:04:49 +05302318 cpu1_alert1: trip-point@1 {
2319 temperature = <95000>;
2320 hysteresis = <2000>;
2321 type = "passive";
2322 };
2323
2324 cpu1_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03002325 temperature = <110000>;
2326 hysteresis = <1000>;
2327 type = "critical";
2328 };
2329 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05302330
2331 cooling-maps {
2332 map0 {
2333 trip = <&cpu1_alert0>;
2334 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2335 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2336 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2337 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2338 };
2339 map1 {
2340 trip = <&cpu1_alert1>;
2341 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2342 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2343 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2344 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2345 };
2346 };
Amit Kucheria48847882018-06-12 15:26:54 +03002347 };
2348
2349 cpu2-thermal {
2350 polling-delay-passive = <250>;
2351 polling-delay = <1000>;
2352
2353 thermal-sensors = <&tsens0 3>;
2354
2355 trips {
Amit Kucheriac47fc192019-02-06 16:04:49 +05302356 cpu2_alert0: trip-point@0 {
2357 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03002358 hysteresis = <2000>;
2359 type = "passive";
2360 };
2361
Amit Kucheriac47fc192019-02-06 16:04:49 +05302362 cpu2_alert1: trip-point@1 {
2363 temperature = <95000>;
2364 hysteresis = <2000>;
2365 type = "passive";
2366 };
2367
2368 cpu2_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03002369 temperature = <110000>;
2370 hysteresis = <1000>;
2371 type = "critical";
2372 };
2373 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05302374
2375 cooling-maps {
2376 map0 {
2377 trip = <&cpu2_alert0>;
2378 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2379 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2380 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2381 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2382 };
2383 map1 {
2384 trip = <&cpu2_alert1>;
2385 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2386 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2387 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2388 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2389 };
2390 };
Amit Kucheria48847882018-06-12 15:26:54 +03002391 };
2392
2393 cpu3-thermal {
2394 polling-delay-passive = <250>;
2395 polling-delay = <1000>;
2396
2397 thermal-sensors = <&tsens0 4>;
2398
2399 trips {
Amit Kucheriac47fc192019-02-06 16:04:49 +05302400 cpu3_alert0: trip-point@0 {
2401 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03002402 hysteresis = <2000>;
2403 type = "passive";
2404 };
2405
Amit Kucheriac47fc192019-02-06 16:04:49 +05302406 cpu3_alert1: trip-point@1 {
2407 temperature = <95000>;
2408 hysteresis = <2000>;
2409 type = "passive";
2410 };
2411
2412 cpu3_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03002413 temperature = <110000>;
2414 hysteresis = <1000>;
2415 type = "critical";
2416 };
2417 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05302418
2419 cooling-maps {
2420 map0 {
2421 trip = <&cpu3_alert0>;
2422 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2423 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2424 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2425 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2426 };
2427 map1 {
2428 trip = <&cpu3_alert1>;
2429 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2430 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2431 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2432 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2433 };
2434 };
Amit Kucheria48847882018-06-12 15:26:54 +03002435 };
2436
2437 cpu4-thermal {
2438 polling-delay-passive = <250>;
2439 polling-delay = <1000>;
2440
2441 thermal-sensors = <&tsens0 7>;
2442
2443 trips {
Amit Kucheriac47fc192019-02-06 16:04:49 +05302444 cpu4_alert0: trip-point@0 {
2445 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03002446 hysteresis = <2000>;
2447 type = "passive";
2448 };
2449
Amit Kucheriac47fc192019-02-06 16:04:49 +05302450 cpu4_alert1: trip-point@1 {
2451 temperature = <95000>;
2452 hysteresis = <2000>;
2453 type = "passive";
2454 };
2455
2456 cpu4_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03002457 temperature = <110000>;
2458 hysteresis = <1000>;
2459 type = "critical";
2460 };
2461 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05302462
2463 cooling-maps {
2464 map0 {
2465 trip = <&cpu4_alert0>;
2466 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2467 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2468 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2469 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2470 };
2471 map1 {
2472 trip = <&cpu4_alert1>;
2473 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2474 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2475 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2476 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2477 };
2478 };
Amit Kucheria48847882018-06-12 15:26:54 +03002479 };
2480
2481 cpu5-thermal {
2482 polling-delay-passive = <250>;
2483 polling-delay = <1000>;
2484
2485 thermal-sensors = <&tsens0 8>;
2486
2487 trips {
Amit Kucheriac47fc192019-02-06 16:04:49 +05302488 cpu5_alert0: trip-point@0 {
2489 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03002490 hysteresis = <2000>;
2491 type = "passive";
2492 };
2493
Amit Kucheriac47fc192019-02-06 16:04:49 +05302494 cpu5_alert1: trip-point@1 {
2495 temperature = <95000>;
2496 hysteresis = <2000>;
2497 type = "passive";
2498 };
2499
2500 cpu5_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03002501 temperature = <110000>;
2502 hysteresis = <1000>;
2503 type = "critical";
2504 };
2505 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05302506
2507 cooling-maps {
2508 map0 {
2509 trip = <&cpu5_alert0>;
2510 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2511 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2512 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2513 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2514 };
2515 map1 {
2516 trip = <&cpu5_alert1>;
2517 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2518 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2519 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2520 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2521 };
2522 };
Amit Kucheria48847882018-06-12 15:26:54 +03002523 };
2524
2525 cpu6-thermal {
2526 polling-delay-passive = <250>;
2527 polling-delay = <1000>;
2528
2529 thermal-sensors = <&tsens0 9>;
2530
2531 trips {
Amit Kucheriac47fc192019-02-06 16:04:49 +05302532 cpu6_alert0: trip-point@0 {
2533 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03002534 hysteresis = <2000>;
2535 type = "passive";
2536 };
2537
Amit Kucheriac47fc192019-02-06 16:04:49 +05302538 cpu6_alert1: trip-point@1 {
2539 temperature = <95000>;
2540 hysteresis = <2000>;
2541 type = "passive";
2542 };
2543
2544 cpu6_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03002545 temperature = <110000>;
2546 hysteresis = <1000>;
2547 type = "critical";
2548 };
2549 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05302550
2551 cooling-maps {
2552 map0 {
2553 trip = <&cpu6_alert0>;
2554 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2555 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2556 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2557 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2558 };
2559 map1 {
2560 trip = <&cpu6_alert1>;
2561 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2562 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2563 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2564 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2565 };
2566 };
Amit Kucheria48847882018-06-12 15:26:54 +03002567 };
2568
2569 cpu7-thermal {
2570 polling-delay-passive = <250>;
2571 polling-delay = <1000>;
2572
2573 thermal-sensors = <&tsens0 10>;
2574
2575 trips {
Amit Kucheriac47fc192019-02-06 16:04:49 +05302576 cpu7_alert0: trip-point@0 {
2577 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03002578 hysteresis = <2000>;
2579 type = "passive";
2580 };
2581
Amit Kucheriac47fc192019-02-06 16:04:49 +05302582 cpu7_alert1: trip-point@1 {
2583 temperature = <95000>;
2584 hysteresis = <2000>;
2585 type = "passive";
2586 };
2587
2588 cpu7_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03002589 temperature = <110000>;
2590 hysteresis = <1000>;
2591 type = "critical";
2592 };
2593 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05302594
2595 cooling-maps {
2596 map0 {
2597 trip = <&cpu7_alert0>;
2598 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2599 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2600 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2601 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2602 };
2603 map1 {
2604 trip = <&cpu7_alert1>;
2605 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2606 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2607 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2608 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2609 };
2610 };
Amit Kucheria48847882018-06-12 15:26:54 +03002611 };
2612 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302613};