blob: 2194794fe84d01f14a38e4e51dcf991d86795a2a [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>
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053020
21/ {
22 interrupt-parent = <&intc>;
23
24 #address-cells = <2>;
25 #size-cells = <2>;
26
Douglas Anderson897cf342018-06-13 09:53:51 -070027 aliases {
28 i2c0 = &i2c0;
29 i2c1 = &i2c1;
30 i2c2 = &i2c2;
31 i2c3 = &i2c3;
32 i2c4 = &i2c4;
33 i2c5 = &i2c5;
34 i2c6 = &i2c6;
35 i2c7 = &i2c7;
36 i2c8 = &i2c8;
37 i2c9 = &i2c9;
38 i2c10 = &i2c10;
39 i2c11 = &i2c11;
40 i2c12 = &i2c12;
41 i2c13 = &i2c13;
42 i2c14 = &i2c14;
43 i2c15 = &i2c15;
44 spi0 = &spi0;
45 spi1 = &spi1;
46 spi2 = &spi2;
47 spi3 = &spi3;
48 spi4 = &spi4;
49 spi5 = &spi5;
50 spi6 = &spi6;
51 spi7 = &spi7;
52 spi8 = &spi8;
53 spi9 = &spi9;
54 spi10 = &spi10;
55 spi11 = &spi11;
56 spi12 = &spi12;
57 spi13 = &spi13;
58 spi14 = &spi14;
59 spi15 = &spi15;
60 };
61
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053062 chosen { };
63
64 memory@80000000 {
65 device_type = "memory";
66 /* We expect the bootloader to fill in the size */
67 reg = <0 0x80000000 0 0>;
68 };
69
Sibi S71c84282018-04-30 20:14:28 +053070 reserved-memory {
71 #address-cells = <2>;
72 #size-cells = <2>;
73 ranges;
74
75 memory@85fc0000 {
76 reg = <0 0x85fc0000 0 0x20000>;
77 no-map;
78 };
79
Douglas Anderson2da52392018-05-14 21:43:06 -070080 memory@85fe0000 {
81 compatible = "qcom,cmd-db";
82 reg = <0x0 0x85fe0000 0x0 0x20000>;
83 no-map;
84 };
85
Sibi S71c84282018-04-30 20:14:28 +053086 smem_mem: memory@86000000 {
87 reg = <0x0 0x86000000 0x0 0x200000>;
88 no-map;
89 };
90
91 memory@86200000 {
92 reg = <0 0x86200000 0 0x2d00000>;
93 no-map;
94 };
Govind Singh022bccb2018-11-05 18:38:37 +053095
96 wlan_msa_mem: memory@96700000 {
97 reg = <0 0x96700000 0 0x100000>;
98 no-map;
99 };
Sibi Sankar8ed6d482018-10-31 11:39:21 +0530100
101 mpss_region: memory@8e000000 {
102 reg = <0 0x8e000000 0 0x7800000>;
103 no-map;
104 };
105
106 mba_region: memory@96500000 {
107 reg = <0 0x96500000 0 0x200000>;
108 no-map;
109 };
Sibi S71c84282018-04-30 20:14:28 +0530110 };
111
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530112 cpus {
113 #address-cells = <2>;
114 #size-cells = <0>;
115
116 CPU0: cpu@0 {
117 device_type = "cpu";
118 compatible = "qcom,kryo385";
119 reg = <0x0 0x0>;
120 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530121 qcom,freq-domain = <&cpufreq_hw 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530122 next-level-cache = <&L2_0>;
123 L2_0: l2-cache {
124 compatible = "cache";
125 next-level-cache = <&L3_0>;
126 L3_0: l3-cache {
127 compatible = "cache";
128 };
129 };
130 };
131
132 CPU1: cpu@100 {
133 device_type = "cpu";
134 compatible = "qcom,kryo385";
135 reg = <0x0 0x100>;
136 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530137 qcom,freq-domain = <&cpufreq_hw 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530138 next-level-cache = <&L2_100>;
139 L2_100: l2-cache {
140 compatible = "cache";
141 next-level-cache = <&L3_0>;
142 };
143 };
144
145 CPU2: cpu@200 {
146 device_type = "cpu";
147 compatible = "qcom,kryo385";
148 reg = <0x0 0x200>;
149 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530150 qcom,freq-domain = <&cpufreq_hw 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530151 next-level-cache = <&L2_200>;
152 L2_200: l2-cache {
153 compatible = "cache";
154 next-level-cache = <&L3_0>;
155 };
156 };
157
158 CPU3: cpu@300 {
159 device_type = "cpu";
160 compatible = "qcom,kryo385";
161 reg = <0x0 0x300>;
162 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530163 qcom,freq-domain = <&cpufreq_hw 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530164 next-level-cache = <&L2_300>;
165 L2_300: l2-cache {
166 compatible = "cache";
167 next-level-cache = <&L3_0>;
168 };
169 };
170
171 CPU4: cpu@400 {
172 device_type = "cpu";
173 compatible = "qcom,kryo385";
174 reg = <0x0 0x400>;
175 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530176 qcom,freq-domain = <&cpufreq_hw 1>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530177 next-level-cache = <&L2_400>;
178 L2_400: l2-cache {
179 compatible = "cache";
180 next-level-cache = <&L3_0>;
181 };
182 };
183
184 CPU5: cpu@500 {
185 device_type = "cpu";
186 compatible = "qcom,kryo385";
187 reg = <0x0 0x500>;
188 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530189 qcom,freq-domain = <&cpufreq_hw 1>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530190 next-level-cache = <&L2_500>;
191 L2_500: l2-cache {
192 compatible = "cache";
193 next-level-cache = <&L3_0>;
194 };
195 };
196
197 CPU6: cpu@600 {
198 device_type = "cpu";
199 compatible = "qcom,kryo385";
200 reg = <0x0 0x600>;
201 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530202 qcom,freq-domain = <&cpufreq_hw 1>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530203 next-level-cache = <&L2_600>;
204 L2_600: l2-cache {
205 compatible = "cache";
206 next-level-cache = <&L3_0>;
207 };
208 };
209
210 CPU7: cpu@700 {
211 device_type = "cpu";
212 compatible = "qcom,kryo385";
213 reg = <0x0 0x700>;
214 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530215 qcom,freq-domain = <&cpufreq_hw 1>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530216 next-level-cache = <&L2_700>;
217 L2_700: l2-cache {
218 compatible = "cache";
219 next-level-cache = <&L3_0>;
220 };
221 };
222 };
223
Stephen Boyd000c4662018-05-21 23:23:52 -0700224 pmu {
225 compatible = "arm,armv8-pmuv3";
226 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
227 };
228
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530229 timer {
230 compatible = "arm,armv8-timer";
231 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
232 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
233 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
234 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
235 };
236
237 clocks {
238 xo_board: xo-board {
239 compatible = "fixed-clock";
240 #clock-cells = <0>;
Douglas Anderson5ea39392018-05-09 13:05:28 -0700241 clock-frequency = <38400000>;
242 clock-output-names = "xo_board";
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530243 };
244
245 sleep_clk: sleep-clk {
246 compatible = "fixed-clock";
247 #clock-cells = <0>;
248 clock-frequency = <32764>;
249 };
250 };
251
Sibi Sankar77bb7f92018-10-26 17:55:42 +0530252 firmware {
253 scm {
254 compatible = "qcom,scm-sdm845", "qcom,scm";
255 };
256 };
257
Sibi S71c84282018-04-30 20:14:28 +0530258 tcsr_mutex: hwlock {
259 compatible = "qcom,tcsr-mutex";
260 syscon = <&tcsr_mutex_regs 0 0x1000>;
261 #hwlock-cells = <1>;
262 };
263
264 smem {
265 compatible = "qcom,smem";
266 memory-region = <&smem_mem>;
267 hwlocks = <&tcsr_mutex 3>;
268 };
269
Bjorn Andersson3debb1f2018-09-01 15:27:21 -0700270 smp2p-cdsp {
271 compatible = "qcom,smp2p";
272 qcom,smem = <94>, <432>;
273
274 interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
275
276 mboxes = <&apss_shared 6>;
277
278 qcom,local-pid = <0>;
279 qcom,remote-pid = <5>;
280
281 cdsp_smp2p_out: master-kernel {
282 qcom,entry-name = "master-kernel";
283 #qcom,smem-state-cells = <1>;
284 };
285
286 cdsp_smp2p_in: slave-kernel {
287 qcom,entry-name = "slave-kernel";
288
289 interrupt-controller;
290 #interrupt-cells = <2>;
291 };
292 };
293
294 smp2p-lpass {
295 compatible = "qcom,smp2p";
296 qcom,smem = <443>, <429>;
297
298 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
299
300 mboxes = <&apss_shared 10>;
301
302 qcom,local-pid = <0>;
303 qcom,remote-pid = <2>;
304
305 adsp_smp2p_out: master-kernel {
306 qcom,entry-name = "master-kernel";
307 #qcom,smem-state-cells = <1>;
308 };
309
310 adsp_smp2p_in: slave-kernel {
311 qcom,entry-name = "slave-kernel";
312
313 interrupt-controller;
314 #interrupt-cells = <2>;
315 };
316 };
317
318 smp2p-mpss {
319 compatible = "qcom,smp2p";
320 qcom,smem = <435>, <428>;
321 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
322 mboxes = <&apss_shared 14>;
323 qcom,local-pid = <0>;
324 qcom,remote-pid = <1>;
325
326 modem_smp2p_out: master-kernel {
327 qcom,entry-name = "master-kernel";
328 #qcom,smem-state-cells = <1>;
329 };
330
331 modem_smp2p_in: slave-kernel {
332 qcom,entry-name = "slave-kernel";
333 interrupt-controller;
334 #interrupt-cells = <2>;
335 };
336 };
337
338 smp2p-slpi {
339 compatible = "qcom,smp2p";
340 qcom,smem = <481>, <430>;
341 interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
342 mboxes = <&apss_shared 26>;
343 qcom,local-pid = <0>;
344 qcom,remote-pid = <3>;
345
346 slpi_smp2p_out: master-kernel {
347 qcom,entry-name = "master-kernel";
348 #qcom,smem-state-cells = <1>;
349 };
350
351 slpi_smp2p_in: slave-kernel {
352 qcom,entry-name = "slave-kernel";
353 interrupt-controller;
354 #interrupt-cells = <2>;
355 };
356 };
357
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530358 psci {
359 compatible = "arm,psci-1.0";
360 method = "smc";
361 };
362
363 soc: soc {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800364 #address-cells = <2>;
365 #size-cells = <2>;
Bjorn Andersson9feb6672019-01-16 20:29:40 -0800366 ranges = <0 0 0 0 0x10 0>;
367 dma-ranges = <0 0 0 0 0x10 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530368 compatible = "simple-bus";
369
Douglas Anderson54d7a202018-05-14 20:59:22 -0700370 gcc: clock-controller@100000 {
371 compatible = "qcom,gcc-sdm845";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800372 reg = <0 0x00100000 0 0x1f0000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -0700373 #clock-cells = <1>;
374 #reset-cells = <1>;
375 #power-domain-cells = <1>;
376 };
377
Manu Gautamca4db2b2018-08-22 10:36:27 -0700378 qfprom@784000 {
379 compatible = "qcom,qfprom";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800380 reg = <0 0x00784000 0 0x8ff>;
Manu Gautamca4db2b2018-08-22 10:36:27 -0700381 #address-cells = <1>;
382 #size-cells = <1>;
383
384 qusb2p_hstx_trim: hstx-trim-primary@1eb {
385 reg = <0x1eb 0x1>;
386 bits = <1 4>;
387 };
388
389 qusb2s_hstx_trim: hstx-trim-secondary@1eb {
390 reg = <0x1eb 0x2>;
391 bits = <6 4>;
392 };
393 };
394
Vinod Koul6e17f8142018-10-01 11:51:51 +0530395 rng: rng@793000 {
396 compatible = "qcom,prng-ee";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800397 reg = <0 0x00793000 0 0x1000>;
Vinod Koul6e17f8142018-10-01 11:51:51 +0530398 clocks = <&gcc GCC_PRNG_AHB_CLK>;
399 clock-names = "core";
400 };
401
Douglas Anderson897cf342018-06-13 09:53:51 -0700402 qupv3_id_0: geniqup@8c0000 {
403 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800404 reg = <0 0x008c0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700405 clock-names = "m-ahb", "s-ahb";
406 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
407 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800408 #address-cells = <2>;
409 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700410 ranges;
Douglas Anderson499ff112018-06-29 11:45:27 -0700411 status = "disabled";
Douglas Anderson897cf342018-06-13 09:53:51 -0700412
413 i2c0: i2c@880000 {
414 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800415 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700416 clock-names = "se";
417 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
418 pinctrl-names = "default";
419 pinctrl-0 = <&qup_i2c0_default>;
420 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
421 #address-cells = <1>;
422 #size-cells = <0>;
423 status = "disabled";
424 };
425
426 spi0: spi@880000 {
427 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800428 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700429 clock-names = "se";
430 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
431 pinctrl-names = "default";
432 pinctrl-0 = <&qup_spi0_default>;
433 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
434 #address-cells = <1>;
435 #size-cells = <0>;
436 status = "disabled";
437 };
438
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700439 uart0: serial@880000 {
440 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800441 reg = <0 0x00880000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700442 clock-names = "se";
443 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
444 pinctrl-names = "default";
445 pinctrl-0 = <&qup_uart0_default>;
446 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
447 status = "disabled";
448 };
449
Douglas Anderson897cf342018-06-13 09:53:51 -0700450 i2c1: i2c@884000 {
451 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800452 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700453 clock-names = "se";
454 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
455 pinctrl-names = "default";
456 pinctrl-0 = <&qup_i2c1_default>;
457 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
458 #address-cells = <1>;
459 #size-cells = <0>;
460 status = "disabled";
461 };
462
463 spi1: spi@884000 {
464 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800465 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700466 clock-names = "se";
467 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
468 pinctrl-names = "default";
469 pinctrl-0 = <&qup_spi1_default>;
470 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
471 #address-cells = <1>;
472 #size-cells = <0>;
473 status = "disabled";
474 };
475
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700476 uart1: serial@884000 {
477 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800478 reg = <0 0x00884000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700479 clock-names = "se";
480 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
481 pinctrl-names = "default";
482 pinctrl-0 = <&qup_uart1_default>;
483 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
484 status = "disabled";
485 };
486
Douglas Anderson897cf342018-06-13 09:53:51 -0700487 i2c2: i2c@888000 {
488 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800489 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700490 clock-names = "se";
491 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
492 pinctrl-names = "default";
493 pinctrl-0 = <&qup_i2c2_default>;
494 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
495 #address-cells = <1>;
496 #size-cells = <0>;
497 status = "disabled";
498 };
499
500 spi2: spi@888000 {
501 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800502 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700503 clock-names = "se";
504 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
505 pinctrl-names = "default";
506 pinctrl-0 = <&qup_spi2_default>;
507 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
508 #address-cells = <1>;
509 #size-cells = <0>;
510 status = "disabled";
511 };
512
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700513 uart2: serial@888000 {
514 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800515 reg = <0 0x00888000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700516 clock-names = "se";
517 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
518 pinctrl-names = "default";
519 pinctrl-0 = <&qup_uart2_default>;
520 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
521 status = "disabled";
522 };
523
Douglas Anderson897cf342018-06-13 09:53:51 -0700524 i2c3: i2c@88c000 {
525 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800526 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700527 clock-names = "se";
528 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
529 pinctrl-names = "default";
530 pinctrl-0 = <&qup_i2c3_default>;
531 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
532 #address-cells = <1>;
533 #size-cells = <0>;
534 status = "disabled";
535 };
536
537 spi3: spi@88c000 {
538 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800539 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700540 clock-names = "se";
541 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
542 pinctrl-names = "default";
543 pinctrl-0 = <&qup_spi3_default>;
544 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
545 #address-cells = <1>;
546 #size-cells = <0>;
547 status = "disabled";
548 };
549
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700550 uart3: serial@88c000 {
551 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800552 reg = <0 0x0088c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700553 clock-names = "se";
554 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
555 pinctrl-names = "default";
556 pinctrl-0 = <&qup_uart3_default>;
557 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
558 status = "disabled";
559 };
560
Douglas Anderson897cf342018-06-13 09:53:51 -0700561 i2c4: i2c@890000 {
562 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800563 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700564 clock-names = "se";
565 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
566 pinctrl-names = "default";
567 pinctrl-0 = <&qup_i2c4_default>;
568 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
569 #address-cells = <1>;
570 #size-cells = <0>;
571 status = "disabled";
572 };
573
574 spi4: spi@890000 {
575 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800576 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700577 clock-names = "se";
578 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
579 pinctrl-names = "default";
580 pinctrl-0 = <&qup_spi4_default>;
581 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
582 #address-cells = <1>;
583 #size-cells = <0>;
584 status = "disabled";
585 };
586
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700587 uart4: serial@890000 {
588 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800589 reg = <0 0x00890000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700590 clock-names = "se";
591 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
592 pinctrl-names = "default";
593 pinctrl-0 = <&qup_uart4_default>;
594 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
595 status = "disabled";
596 };
597
Douglas Anderson897cf342018-06-13 09:53:51 -0700598 i2c5: i2c@894000 {
599 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800600 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700601 clock-names = "se";
602 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
603 pinctrl-names = "default";
604 pinctrl-0 = <&qup_i2c5_default>;
605 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
606 #address-cells = <1>;
607 #size-cells = <0>;
608 status = "disabled";
609 };
610
611 spi5: spi@894000 {
612 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800613 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700614 clock-names = "se";
615 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
616 pinctrl-names = "default";
617 pinctrl-0 = <&qup_spi5_default>;
618 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
619 #address-cells = <1>;
620 #size-cells = <0>;
621 status = "disabled";
622 };
623
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700624 uart5: serial@894000 {
625 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800626 reg = <0 0x00894000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700627 clock-names = "se";
628 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
629 pinctrl-names = "default";
630 pinctrl-0 = <&qup_uart5_default>;
631 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
632 status = "disabled";
633 };
634
Douglas Anderson897cf342018-06-13 09:53:51 -0700635 i2c6: i2c@898000 {
636 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800637 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700638 clock-names = "se";
639 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
640 pinctrl-names = "default";
641 pinctrl-0 = <&qup_i2c6_default>;
642 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
643 #address-cells = <1>;
644 #size-cells = <0>;
645 status = "disabled";
646 };
647
648 spi6: spi@898000 {
649 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800650 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700651 clock-names = "se";
652 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
653 pinctrl-names = "default";
654 pinctrl-0 = <&qup_spi6_default>;
655 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
656 #address-cells = <1>;
657 #size-cells = <0>;
658 status = "disabled";
659 };
660
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700661 uart6: serial@898000 {
662 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800663 reg = <0 0x00898000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700664 clock-names = "se";
665 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
666 pinctrl-names = "default";
667 pinctrl-0 = <&qup_uart6_default>;
668 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
669 status = "disabled";
670 };
671
Douglas Anderson897cf342018-06-13 09:53:51 -0700672 i2c7: i2c@89c000 {
673 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800674 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700675 clock-names = "se";
676 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
677 pinctrl-names = "default";
678 pinctrl-0 = <&qup_i2c7_default>;
679 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
680 #address-cells = <1>;
681 #size-cells = <0>;
682 status = "disabled";
683 };
684
685 spi7: spi@89c000 {
686 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800687 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700688 clock-names = "se";
689 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
690 pinctrl-names = "default";
691 pinctrl-0 = <&qup_spi7_default>;
692 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
693 #address-cells = <1>;
694 #size-cells = <0>;
695 status = "disabled";
696 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700697
698 uart7: serial@89c000 {
699 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800700 reg = <0 0x0089c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700701 clock-names = "se";
702 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
703 pinctrl-names = "default";
704 pinctrl-0 = <&qup_uart7_default>;
705 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
706 status = "disabled";
707 };
Douglas Anderson897cf342018-06-13 09:53:51 -0700708 };
709
710 qupv3_id_1: geniqup@ac0000 {
711 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800712 reg = <0 0x00ac0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700713 clock-names = "m-ahb", "s-ahb";
714 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
715 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800716 #address-cells = <2>;
717 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700718 ranges;
719 status = "disabled";
720
721 i2c8: i2c@a80000 {
722 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800723 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700724 clock-names = "se";
725 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
726 pinctrl-names = "default";
727 pinctrl-0 = <&qup_i2c8_default>;
728 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
729 #address-cells = <1>;
730 #size-cells = <0>;
731 status = "disabled";
732 };
733
734 spi8: spi@a80000 {
735 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800736 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700737 clock-names = "se";
738 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
739 pinctrl-names = "default";
740 pinctrl-0 = <&qup_spi8_default>;
741 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
742 #address-cells = <1>;
743 #size-cells = <0>;
744 status = "disabled";
745 };
746
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700747 uart8: serial@a80000 {
748 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800749 reg = <0 0x00a80000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700750 clock-names = "se";
751 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
752 pinctrl-names = "default";
753 pinctrl-0 = <&qup_uart8_default>;
754 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
755 status = "disabled";
756 };
757
Douglas Anderson897cf342018-06-13 09:53:51 -0700758 i2c9: i2c@a84000 {
759 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800760 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700761 clock-names = "se";
762 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
763 pinctrl-names = "default";
764 pinctrl-0 = <&qup_i2c9_default>;
765 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
766 #address-cells = <1>;
767 #size-cells = <0>;
768 status = "disabled";
769 };
770
771 spi9: spi@a84000 {
772 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800773 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700774 clock-names = "se";
775 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
776 pinctrl-names = "default";
777 pinctrl-0 = <&qup_spi9_default>;
778 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
779 #address-cells = <1>;
780 #size-cells = <0>;
781 status = "disabled";
782 };
783
784 uart9: serial@a84000 {
785 compatible = "qcom,geni-debug-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800786 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700787 clock-names = "se";
788 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
789 pinctrl-names = "default";
790 pinctrl-0 = <&qup_uart9_default>;
791 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
792 status = "disabled";
793 };
794
795 i2c10: i2c@a88000 {
796 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800797 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700798 clock-names = "se";
799 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
800 pinctrl-names = "default";
801 pinctrl-0 = <&qup_i2c10_default>;
802 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
803 #address-cells = <1>;
804 #size-cells = <0>;
805 status = "disabled";
806 };
807
808 spi10: spi@a88000 {
809 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800810 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700811 clock-names = "se";
812 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
813 pinctrl-names = "default";
814 pinctrl-0 = <&qup_spi10_default>;
815 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
816 #address-cells = <1>;
817 #size-cells = <0>;
818 status = "disabled";
819 };
820
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700821 uart10: serial@a88000 {
822 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800823 reg = <0 0x00a88000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700824 clock-names = "se";
825 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
826 pinctrl-names = "default";
827 pinctrl-0 = <&qup_uart10_default>;
828 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
829 status = "disabled";
830 };
831
Douglas Anderson897cf342018-06-13 09:53:51 -0700832 i2c11: i2c@a8c000 {
833 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800834 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700835 clock-names = "se";
836 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
837 pinctrl-names = "default";
838 pinctrl-0 = <&qup_i2c11_default>;
839 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
840 #address-cells = <1>;
841 #size-cells = <0>;
842 status = "disabled";
843 };
844
845 spi11: spi@a8c000 {
846 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800847 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700848 clock-names = "se";
849 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
850 pinctrl-names = "default";
851 pinctrl-0 = <&qup_spi11_default>;
852 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
853 #address-cells = <1>;
854 #size-cells = <0>;
855 status = "disabled";
856 };
857
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700858 uart11: serial@a8c000 {
859 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800860 reg = <0 0x00a8c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700861 clock-names = "se";
862 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
863 pinctrl-names = "default";
864 pinctrl-0 = <&qup_uart11_default>;
865 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
866 status = "disabled";
867 };
868
Douglas Anderson897cf342018-06-13 09:53:51 -0700869 i2c12: i2c@a90000 {
870 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800871 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700872 clock-names = "se";
873 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
874 pinctrl-names = "default";
875 pinctrl-0 = <&qup_i2c12_default>;
876 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
877 #address-cells = <1>;
878 #size-cells = <0>;
879 status = "disabled";
880 };
881
882 spi12: spi@a90000 {
883 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800884 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700885 clock-names = "se";
886 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
887 pinctrl-names = "default";
888 pinctrl-0 = <&qup_spi12_default>;
889 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
890 #address-cells = <1>;
891 #size-cells = <0>;
892 status = "disabled";
893 };
894
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700895 uart12: serial@a90000 {
896 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800897 reg = <0 0x00a90000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700898 clock-names = "se";
899 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
900 pinctrl-names = "default";
901 pinctrl-0 = <&qup_uart12_default>;
902 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
903 status = "disabled";
904 };
905
Douglas Anderson897cf342018-06-13 09:53:51 -0700906 i2c13: i2c@a94000 {
907 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800908 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700909 clock-names = "se";
910 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
911 pinctrl-names = "default";
912 pinctrl-0 = <&qup_i2c13_default>;
913 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
914 #address-cells = <1>;
915 #size-cells = <0>;
916 status = "disabled";
917 };
918
919 spi13: spi@a94000 {
920 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800921 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700922 clock-names = "se";
923 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
924 pinctrl-names = "default";
925 pinctrl-0 = <&qup_spi13_default>;
926 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
927 #address-cells = <1>;
928 #size-cells = <0>;
929 status = "disabled";
930 };
931
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700932 uart13: serial@a94000 {
933 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800934 reg = <0 0x00a94000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700935 clock-names = "se";
936 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
937 pinctrl-names = "default";
938 pinctrl-0 = <&qup_uart13_default>;
939 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
940 status = "disabled";
941 };
942
Douglas Anderson897cf342018-06-13 09:53:51 -0700943 i2c14: i2c@a98000 {
944 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800945 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700946 clock-names = "se";
947 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
948 pinctrl-names = "default";
949 pinctrl-0 = <&qup_i2c14_default>;
950 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
951 #address-cells = <1>;
952 #size-cells = <0>;
953 status = "disabled";
954 };
955
956 spi14: spi@a98000 {
957 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800958 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700959 clock-names = "se";
960 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
961 pinctrl-names = "default";
962 pinctrl-0 = <&qup_spi14_default>;
963 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
964 #address-cells = <1>;
965 #size-cells = <0>;
966 status = "disabled";
967 };
968
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700969 uart14: serial@a98000 {
970 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800971 reg = <0 0x00a98000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700972 clock-names = "se";
973 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
974 pinctrl-names = "default";
975 pinctrl-0 = <&qup_uart14_default>;
976 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
977 status = "disabled";
978 };
979
Douglas Anderson897cf342018-06-13 09:53:51 -0700980 i2c15: i2c@a9c000 {
981 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800982 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700983 clock-names = "se";
984 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
985 pinctrl-names = "default";
986 pinctrl-0 = <&qup_i2c15_default>;
987 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
988 #address-cells = <1>;
989 #size-cells = <0>;
990 status = "disabled";
991 };
992
993 spi15: spi@a9c000 {
994 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800995 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700996 clock-names = "se";
997 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
998 pinctrl-names = "default";
999 pinctrl-0 = <&qup_spi15_default>;
1000 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1001 #address-cells = <1>;
1002 #size-cells = <0>;
1003 status = "disabled";
1004 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001005
1006 uart15: serial@a9c000 {
1007 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001008 reg = <0 0x00a9c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001009 clock-names = "se";
1010 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1011 pinctrl-names = "default";
1012 pinctrl-0 = <&qup_uart15_default>;
1013 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1014 status = "disabled";
1015 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001016 };
1017
Evan Greencc166872018-12-10 11:28:24 -08001018 ufs_mem_hc: ufshc@1d84000 {
1019 compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
1020 "jedec,ufs-2.0";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001021 reg = <0 0x01d84000 0 0x2500>;
Evan Greencc166872018-12-10 11:28:24 -08001022 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1023 phys = <&ufs_mem_phy_lanes>;
1024 phy-names = "ufsphy";
1025 lanes-per-direction = <2>;
1026 power-domains = <&gcc UFS_PHY_GDSC>;
1027
1028 iommus = <&apps_smmu 0x100 0xf>;
1029
1030 clock-names =
1031 "core_clk",
1032 "bus_aggr_clk",
1033 "iface_clk",
1034 "core_clk_unipro",
1035 "ref_clk",
1036 "tx_lane0_sync_clk",
1037 "rx_lane0_sync_clk",
1038 "rx_lane1_sync_clk";
1039 clocks =
1040 <&gcc GCC_UFS_PHY_AXI_CLK>,
1041 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1042 <&gcc GCC_UFS_PHY_AHB_CLK>,
1043 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1044 <&rpmhcc RPMH_CXO_CLK>,
1045 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1046 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1047 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1048 freq-table-hz =
1049 <50000000 200000000>,
1050 <0 0>,
1051 <0 0>,
1052 <37500000 150000000>,
1053 <0 0>,
1054 <0 0>,
1055 <0 0>,
1056 <0 0>;
1057
1058 status = "disabled";
1059 };
1060
1061 ufs_mem_phy: phy@1d87000 {
1062 compatible = "qcom,sdm845-qmp-ufs-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001063 reg = <0 0x01d87000 0 0x18c>;
1064 #address-cells = <2>;
1065 #size-cells = <2>;
Evan Greencc166872018-12-10 11:28:24 -08001066 ranges;
1067 clock-names = "ref",
1068 "ref_aux";
1069 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
1070 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1071
1072 status = "disabled";
1073
1074 ufs_mem_phy_lanes: lanes@1d87400 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001075 reg = <0 0x01d87400 0 0x108>,
1076 <0 0x01d87600 0 0x1e0>,
1077 <0 0x01d87c00 0 0x1dc>,
1078 <0 0x01d87800 0 0x108>,
1079 <0 0x01d87a00 0 0x1e0>;
Evan Greencc166872018-12-10 11:28:24 -08001080 #phy-cells = <0>;
1081 };
1082 };
1083
Douglas Anderson54d7a202018-05-14 20:59:22 -07001084 tcsr_mutex_regs: syscon@1f40000 {
1085 compatible = "syscon";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001086 reg = <0 0x01f40000 0 0x40000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001087 };
1088
1089 tlmm: pinctrl@3400000 {
1090 compatible = "qcom,sdm845-pinctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001091 reg = <0 0x03400000 0 0xc00000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001092 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1093 gpio-controller;
1094 #gpio-cells = <2>;
1095 interrupt-controller;
1096 #interrupt-cells = <2>;
Evan Greenbc2c8062018-11-09 15:52:12 -08001097 gpio-ranges = <&tlmm 0 0 150>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001098
Douglas Andersone1ce8532018-10-08 13:17:11 -07001099 qspi_clk: qspi-clk {
1100 pinmux {
1101 pins = "gpio95";
1102 function = "qspi_clk";
1103 };
1104 };
1105
1106 qspi_cs0: qspi-cs0 {
1107 pinmux {
1108 pins = "gpio90";
1109 function = "qspi_cs";
1110 };
1111 };
1112
1113 qspi_cs1: qspi-cs1 {
1114 pinmux {
1115 pins = "gpio89";
1116 function = "qspi_cs";
1117 };
1118 };
1119
1120 qspi_data01: qspi-data01 {
1121 pinmux-data {
1122 pins = "gpio91", "gpio92";
1123 function = "qspi_data";
1124 };
1125 };
1126
1127 qspi_data12: qspi-data12 {
1128 pinmux-data {
1129 pins = "gpio93", "gpio94";
1130 function = "qspi_data";
1131 };
1132 };
1133
Douglas Anderson897cf342018-06-13 09:53:51 -07001134 qup_i2c0_default: qup-i2c0-default {
1135 pinmux {
1136 pins = "gpio0", "gpio1";
1137 function = "qup0";
1138 };
1139 };
1140
1141 qup_i2c1_default: qup-i2c1-default {
1142 pinmux {
1143 pins = "gpio17", "gpio18";
1144 function = "qup1";
1145 };
1146 };
1147
1148 qup_i2c2_default: qup-i2c2-default {
1149 pinmux {
1150 pins = "gpio27", "gpio28";
1151 function = "qup2";
1152 };
1153 };
1154
1155 qup_i2c3_default: qup-i2c3-default {
1156 pinmux {
1157 pins = "gpio41", "gpio42";
1158 function = "qup3";
1159 };
1160 };
1161
1162 qup_i2c4_default: qup-i2c4-default {
1163 pinmux {
1164 pins = "gpio89", "gpio90";
1165 function = "qup4";
1166 };
1167 };
1168
1169 qup_i2c5_default: qup-i2c5-default {
1170 pinmux {
1171 pins = "gpio85", "gpio86";
1172 function = "qup5";
1173 };
1174 };
1175
1176 qup_i2c6_default: qup-i2c6-default {
1177 pinmux {
1178 pins = "gpio45", "gpio46";
1179 function = "qup6";
1180 };
1181 };
1182
1183 qup_i2c7_default: qup-i2c7-default {
1184 pinmux {
1185 pins = "gpio93", "gpio94";
1186 function = "qup7";
1187 };
1188 };
1189
1190 qup_i2c8_default: qup-i2c8-default {
1191 pinmux {
1192 pins = "gpio65", "gpio66";
1193 function = "qup8";
1194 };
1195 };
1196
1197 qup_i2c9_default: qup-i2c9-default {
1198 pinmux {
1199 pins = "gpio6", "gpio7";
1200 function = "qup9";
1201 };
1202 };
1203
1204 qup_i2c10_default: qup-i2c10-default {
1205 pinmux {
1206 pins = "gpio55", "gpio56";
1207 function = "qup10";
1208 };
1209 };
1210
1211 qup_i2c11_default: qup-i2c11-default {
1212 pinmux {
1213 pins = "gpio31", "gpio32";
1214 function = "qup11";
1215 };
1216 };
1217
1218 qup_i2c12_default: qup-i2c12-default {
1219 pinmux {
1220 pins = "gpio49", "gpio50";
1221 function = "qup12";
1222 };
1223 };
1224
1225 qup_i2c13_default: qup-i2c13-default {
1226 pinmux {
1227 pins = "gpio105", "gpio106";
1228 function = "qup13";
1229 };
1230 };
1231
1232 qup_i2c14_default: qup-i2c14-default {
1233 pinmux {
1234 pins = "gpio33", "gpio34";
1235 function = "qup14";
1236 };
1237 };
1238
1239 qup_i2c15_default: qup-i2c15-default {
1240 pinmux {
1241 pins = "gpio81", "gpio82";
1242 function = "qup15";
1243 };
1244 };
1245
1246 qup_spi0_default: qup-spi0-default {
1247 pinmux {
1248 pins = "gpio0", "gpio1",
1249 "gpio2", "gpio3";
1250 function = "qup0";
1251 };
1252 };
1253
1254 qup_spi1_default: qup-spi1-default {
1255 pinmux {
1256 pins = "gpio17", "gpio18",
1257 "gpio19", "gpio20";
1258 function = "qup1";
1259 };
1260 };
1261
1262 qup_spi2_default: qup-spi2-default {
1263 pinmux {
1264 pins = "gpio27", "gpio28",
1265 "gpio29", "gpio30";
1266 function = "qup2";
1267 };
1268 };
1269
1270 qup_spi3_default: qup-spi3-default {
1271 pinmux {
1272 pins = "gpio41", "gpio42",
1273 "gpio43", "gpio44";
1274 function = "qup3";
1275 };
1276 };
1277
1278 qup_spi4_default: qup-spi4-default {
1279 pinmux {
1280 pins = "gpio89", "gpio90",
1281 "gpio91", "gpio92";
1282 function = "qup4";
1283 };
1284 };
1285
1286 qup_spi5_default: qup-spi5-default {
1287 pinmux {
1288 pins = "gpio85", "gpio86",
1289 "gpio87", "gpio88";
1290 function = "qup5";
1291 };
1292 };
1293
1294 qup_spi6_default: qup-spi6-default {
1295 pinmux {
1296 pins = "gpio45", "gpio46",
1297 "gpio47", "gpio48";
1298 function = "qup6";
1299 };
1300 };
1301
1302 qup_spi7_default: qup-spi7-default {
1303 pinmux {
1304 pins = "gpio93", "gpio94",
1305 "gpio95", "gpio96";
1306 function = "qup7";
1307 };
1308 };
1309
1310 qup_spi8_default: qup-spi8-default {
1311 pinmux {
1312 pins = "gpio65", "gpio66",
1313 "gpio67", "gpio68";
1314 function = "qup8";
1315 };
1316 };
1317
1318 qup_spi9_default: qup-spi9-default {
1319 pinmux {
1320 pins = "gpio6", "gpio7",
1321 "gpio4", "gpio5";
1322 function = "qup9";
1323 };
1324 };
1325
1326 qup_spi10_default: qup-spi10-default {
1327 pinmux {
1328 pins = "gpio55", "gpio56",
1329 "gpio53", "gpio54";
1330 function = "qup10";
1331 };
1332 };
1333
1334 qup_spi11_default: qup-spi11-default {
1335 pinmux {
1336 pins = "gpio31", "gpio32",
1337 "gpio33", "gpio34";
1338 function = "qup11";
1339 };
1340 };
1341
1342 qup_spi12_default: qup-spi12-default {
1343 pinmux {
1344 pins = "gpio49", "gpio50",
1345 "gpio51", "gpio52";
1346 function = "qup12";
1347 };
1348 };
1349
1350 qup_spi13_default: qup-spi13-default {
1351 pinmux {
1352 pins = "gpio105", "gpio106",
1353 "gpio107", "gpio108";
1354 function = "qup13";
1355 };
1356 };
1357
1358 qup_spi14_default: qup-spi14-default {
1359 pinmux {
1360 pins = "gpio33", "gpio34",
1361 "gpio31", "gpio32";
1362 function = "qup14";
1363 };
1364 };
1365
1366 qup_spi15_default: qup-spi15-default {
1367 pinmux {
1368 pins = "gpio81", "gpio82",
1369 "gpio83", "gpio84";
1370 function = "qup15";
1371 };
1372 };
1373
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001374 qup_uart0_default: qup-uart0-default {
1375 pinmux {
1376 pins = "gpio2", "gpio3";
1377 function = "qup0";
1378 };
1379 };
1380
1381 qup_uart1_default: qup-uart1-default {
1382 pinmux {
1383 pins = "gpio19", "gpio20";
1384 function = "qup1";
1385 };
1386 };
1387
1388 qup_uart2_default: qup-uart2-default {
1389 pinmux {
1390 pins = "gpio29", "gpio30";
1391 function = "qup2";
1392 };
1393 };
1394
1395 qup_uart3_default: qup-uart3-default {
1396 pinmux {
1397 pins = "gpio43", "gpio44";
1398 function = "qup3";
1399 };
1400 };
1401
1402 qup_uart4_default: qup-uart4-default {
1403 pinmux {
1404 pins = "gpio91", "gpio92";
1405 function = "qup4";
1406 };
1407 };
1408
1409 qup_uart5_default: qup-uart5-default {
1410 pinmux {
1411 pins = "gpio87", "gpio88";
1412 function = "qup5";
1413 };
1414 };
1415
1416 qup_uart6_default: qup-uart6-default {
1417 pinmux {
1418 pins = "gpio47", "gpio48";
1419 function = "qup6";
1420 };
1421 };
1422
1423 qup_uart7_default: qup-uart7-default {
1424 pinmux {
1425 pins = "gpio95", "gpio96";
1426 function = "qup7";
1427 };
1428 };
1429
1430 qup_uart8_default: qup-uart8-default {
1431 pinmux {
1432 pins = "gpio67", "gpio68";
1433 function = "qup8";
1434 };
1435 };
1436
Douglas Anderson897cf342018-06-13 09:53:51 -07001437 qup_uart9_default: qup-uart9-default {
1438 pinmux {
1439 pins = "gpio4", "gpio5";
1440 function = "qup9";
1441 };
1442 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001443
1444 qup_uart10_default: qup-uart10-default {
1445 pinmux {
1446 pins = "gpio53", "gpio54";
1447 function = "qup10";
1448 };
1449 };
1450
1451 qup_uart11_default: qup-uart11-default {
1452 pinmux {
1453 pins = "gpio33", "gpio34";
1454 function = "qup11";
1455 };
1456 };
1457
1458 qup_uart12_default: qup-uart12-default {
1459 pinmux {
1460 pins = "gpio51", "gpio52";
1461 function = "qup12";
1462 };
1463 };
1464
1465 qup_uart13_default: qup-uart13-default {
1466 pinmux {
1467 pins = "gpio107", "gpio108";
1468 function = "qup13";
1469 };
1470 };
1471
1472 qup_uart14_default: qup-uart14-default {
1473 pinmux {
1474 pins = "gpio31", "gpio32";
1475 function = "qup14";
1476 };
1477 };
1478
1479 qup_uart15_default: qup-uart15-default {
1480 pinmux {
1481 pins = "gpio83", "gpio84";
1482 function = "qup15";
1483 };
1484 };
Douglas Anderson54d7a202018-05-14 20:59:22 -07001485 };
1486
Douglas Anderson9aa4a272018-11-28 10:57:43 -08001487 gpucc: clock-controller@5090000 {
1488 compatible = "qcom,sdm845-gpucc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001489 reg = <0 0x05090000 0 0x9000>;
Douglas Anderson9aa4a272018-11-28 10:57:43 -08001490 #clock-cells = <1>;
1491 #reset-cells = <1>;
1492 #power-domain-cells = <1>;
1493 clocks = <&rpmhcc RPMH_CXO_CLK>;
1494 clock-names = "xo";
1495 };
1496
Evan Green67d62e52018-12-06 10:45:21 -08001497 sdhc_2: sdhci@8804000 {
1498 compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001499 reg = <0 0x08804000 0 0x1000>;
Evan Green67d62e52018-12-06 10:45:21 -08001500
1501 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
1502 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
1503 interrupt-names = "hc_irq", "pwr_irq";
1504
1505 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
1506 <&gcc GCC_SDCC2_APPS_CLK>;
1507 clock-names = "iface", "core";
1508
1509 status = "disabled";
1510 };
1511
Douglas Andersone1ce8532018-10-08 13:17:11 -07001512 qspi: spi@88df000 {
1513 compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001514 reg = <0 0x088df000 0 0x600>;
Douglas Andersone1ce8532018-10-08 13:17:11 -07001515 #address-cells = <1>;
1516 #size-cells = <0>;
1517 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1518 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
1519 <&gcc GCC_QSPI_CORE_CLK>;
1520 clock-names = "iface", "core";
1521 status = "disabled";
1522 };
1523
Manu Gautamca4db2b2018-08-22 10:36:27 -07001524 usb_1_hsphy: phy@88e2000 {
1525 compatible = "qcom,sdm845-qusb2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001526 reg = <0 0x088e2000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001527 status = "disabled";
1528 #phy-cells = <0>;
1529
1530 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1531 <&rpmhcc RPMH_CXO_CLK>;
1532 clock-names = "cfg_ahb", "ref";
1533
1534 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1535
1536 nvmem-cells = <&qusb2p_hstx_trim>;
1537 };
1538
1539 usb_2_hsphy: phy@88e3000 {
1540 compatible = "qcom,sdm845-qusb2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001541 reg = <0 0x088e3000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001542 status = "disabled";
1543 #phy-cells = <0>;
1544
1545 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1546 <&rpmhcc RPMH_CXO_CLK>;
1547 clock-names = "cfg_ahb", "ref";
1548
1549 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
1550
1551 nvmem-cells = <&qusb2s_hstx_trim>;
1552 };
1553
1554 usb_1_qmpphy: phy@88e9000 {
1555 compatible = "qcom,sdm845-qmp-usb3-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001556 reg = <0 0x088e9000 0 0x18c>,
1557 <0 0x088e8000 0 0x10>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001558 reg-names = "reg-base", "dp_com";
1559 status = "disabled";
1560 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001561 #address-cells = <2>;
1562 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001563 ranges;
1564
1565 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
1566 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1567 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
1568 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
1569 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1570
1571 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
1572 <&gcc GCC_USB3_PHY_PRIM_BCR>;
1573 reset-names = "phy", "common";
1574
Evan Green9ebfcba2018-12-10 11:28:26 -08001575 usb_1_ssphy: lanes@88e9200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001576 reg = <0 0x088e9200 0 0x128>,
1577 <0 0x088e9400 0 0x200>,
1578 <0 0x088e9c00 0 0x218>,
1579 <0 0x088e9600 0 0x128>,
1580 <0 0x088e9800 0 0x200>,
1581 <0 0x088e9a00 0 0x100>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001582 #phy-cells = <0>;
1583 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
1584 clock-names = "pipe0";
1585 clock-output-names = "usb3_phy_pipe_clk_src";
1586 };
1587 };
1588
1589 usb_2_qmpphy: phy@88eb000 {
1590 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001591 reg = <0 0x088eb000 0 0x18c>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001592 status = "disabled";
1593 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001594 #address-cells = <2>;
1595 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001596 ranges;
1597
1598 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
1599 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1600 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
1601 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
1602 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1603
1604 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
1605 <&gcc GCC_USB3_PHY_SEC_BCR>;
1606 reset-names = "phy", "common";
1607
1608 usb_2_ssphy: lane@88eb200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001609 reg = <0 0x088eb200 0 0x128>,
1610 <0 0x088eb400 0 0x1fc>,
1611 <0 0x088eb800 0 0x218>,
1612 <0 0x088eb600 0 0x70>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001613 #phy-cells = <0>;
1614 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
1615 clock-names = "pipe0";
1616 clock-output-names = "usb3_uni_phy_pipe_clk_src";
1617 };
1618 };
1619
1620 usb_1: usb@a6f8800 {
1621 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001622 reg = <0 0x0a6f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001623 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001624 #address-cells = <2>;
1625 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001626 ranges;
1627
1628 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
1629 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
1630 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
1631 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1632 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
1633 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1634 "sleep";
1635
1636 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1637 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
1638 assigned-clock-rates = <19200000>, <150000000>;
1639
1640 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
1641 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
1642 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
1643 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
1644 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1645 "dm_hs_phy_irq", "dp_hs_phy_irq";
1646
1647 power-domains = <&gcc USB30_PRIM_GDSC>;
1648
1649 resets = <&gcc GCC_USB30_PRIM_BCR>;
1650
1651 usb_1_dwc3: dwc3@a600000 {
1652 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001653 reg = <0 0x0a600000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001654 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
1655 snps,dis_u2_susphy_quirk;
1656 snps,dis_enblslpm_quirk;
1657 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
1658 phy-names = "usb2-phy", "usb3-phy";
1659 };
1660 };
1661
1662 usb_2: usb@a8f8800 {
1663 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001664 reg = <0 0x0a8f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001665 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001666 #address-cells = <2>;
1667 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001668 ranges;
1669
1670 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
1671 <&gcc GCC_USB30_SEC_MASTER_CLK>,
1672 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
1673 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1674 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
1675 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1676 "sleep";
1677
1678 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1679 <&gcc GCC_USB30_SEC_MASTER_CLK>;
1680 assigned-clock-rates = <19200000>, <150000000>;
1681
1682 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
1683 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
1684 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
1685 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
1686 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1687 "dm_hs_phy_irq", "dp_hs_phy_irq";
1688
1689 power-domains = <&gcc USB30_SEC_GDSC>;
1690
1691 resets = <&gcc GCC_USB30_SEC_BCR>;
1692
1693 usb_2_dwc3: dwc3@a800000 {
1694 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001695 reg = <0 0x0a800000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001696 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
1697 snps,dis_u2_susphy_quirk;
1698 snps,dis_enblslpm_quirk;
1699 phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
1700 phy-names = "usb2-phy", "usb3-phy";
1701 };
1702 };
1703
Taniya Das05556682018-12-03 11:36:29 -08001704 videocc: clock-controller@ab00000 {
1705 compatible = "qcom,sdm845-videocc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001706 reg = <0 0x0ab00000 0 0x10000>;
Taniya Das05556682018-12-03 11:36:29 -08001707 #clock-cells = <1>;
1708 #power-domain-cells = <1>;
1709 #reset-cells = <1>;
1710 };
1711
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001712 mdss: mdss@ae00000 {
1713 compatible = "qcom,sdm845-mdss";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001714 reg = <0 0x0ae00000 0 0x1000>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001715 reg-names = "mdss";
1716
1717 power-domains = <&dispcc MDSS_GDSC>;
1718
1719 clocks = <&gcc GCC_DISP_AHB_CLK>,
1720 <&gcc GCC_DISP_AXI_CLK>,
1721 <&dispcc DISP_CC_MDSS_MDP_CLK>;
1722 clock-names = "iface", "bus", "core";
1723
1724 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>;
1725 assigned-clock-rates = <300000000>;
1726
1727 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
1728 interrupt-controller;
1729 #interrupt-cells = <1>;
1730
1731 iommus = <&apps_smmu 0x880 0x8>,
1732 <&apps_smmu 0xc80 0x8>;
1733
1734 status = "disabled";
1735
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001736 #address-cells = <2>;
1737 #size-cells = <2>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001738 ranges;
1739
1740 mdss_mdp: mdp@ae01000 {
1741 compatible = "qcom,sdm845-dpu";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001742 reg = <0 0x0ae01000 0 0x8f000>,
1743 <0 0x0aeb0000 0 0x2008>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001744 reg-names = "mdp", "vbif";
1745
1746 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
1747 <&dispcc DISP_CC_MDSS_AXI_CLK>,
1748 <&dispcc DISP_CC_MDSS_MDP_CLK>,
1749 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
1750 clock-names = "iface", "bus", "core", "vsync";
1751
1752 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
1753 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
1754 assigned-clock-rates = <300000000>,
1755 <19200000>;
1756
1757 interrupt-parent = <&mdss>;
1758 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
1759
1760 status = "disabled";
1761
1762 ports {
1763 #address-cells = <1>;
1764 #size-cells = <0>;
1765
1766 port@0 {
1767 reg = <0>;
1768 dpu_intf1_out: endpoint {
1769 remote-endpoint = <&dsi0_in>;
1770 };
1771 };
1772
1773 port@1 {
1774 reg = <1>;
1775 dpu_intf2_out: endpoint {
1776 remote-endpoint = <&dsi1_in>;
1777 };
1778 };
1779 };
1780 };
1781
1782 dsi0: dsi@ae94000 {
1783 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001784 reg = <0 0x0ae94000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001785 reg-names = "dsi_ctrl";
1786
1787 interrupt-parent = <&mdss>;
1788 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
1789
1790 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
1791 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
1792 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
1793 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
1794 <&dispcc DISP_CC_MDSS_AHB_CLK>,
1795 <&dispcc DISP_CC_MDSS_AXI_CLK>;
1796 clock-names = "byte",
1797 "byte_intf",
1798 "pixel",
1799 "core",
1800 "iface",
1801 "bus";
1802
1803 phys = <&dsi0_phy>;
1804 phy-names = "dsi";
1805
1806 status = "disabled";
1807
1808 #address-cells = <1>;
1809 #size-cells = <0>;
1810
1811 ports {
1812 #address-cells = <1>;
1813 #size-cells = <0>;
1814
1815 port@0 {
1816 reg = <0>;
1817 dsi0_in: endpoint {
1818 remote-endpoint = <&dpu_intf1_out>;
1819 };
1820 };
1821
1822 port@1 {
1823 reg = <1>;
1824 dsi0_out: endpoint {
1825 };
1826 };
1827 };
1828 };
1829
1830 dsi0_phy: dsi-phy@ae94400 {
1831 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001832 reg = <0 0x0ae94400 0 0x200>,
1833 <0 0x0ae94600 0 0x280>,
1834 <0 0x0ae94a00 0 0x1e0>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001835 reg-names = "dsi_phy",
1836 "dsi_phy_lane",
1837 "dsi_pll";
1838
1839 #clock-cells = <1>;
1840 #phy-cells = <0>;
1841
1842 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>;
1843 clock-names = "iface";
1844
1845 status = "disabled";
1846 };
1847
1848 dsi1: dsi@ae96000 {
1849 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001850 reg = <0 0x0ae96000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001851 reg-names = "dsi_ctrl";
1852
1853 interrupt-parent = <&mdss>;
1854 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
1855
1856 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
1857 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
1858 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
1859 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
1860 <&dispcc DISP_CC_MDSS_AHB_CLK>,
1861 <&dispcc DISP_CC_MDSS_AXI_CLK>;
1862 clock-names = "byte",
1863 "byte_intf",
1864 "pixel",
1865 "core",
1866 "iface",
1867 "bus";
1868
1869 phys = <&dsi1_phy>;
1870 phy-names = "dsi";
1871
1872 status = "disabled";
1873
1874 #address-cells = <1>;
1875 #size-cells = <0>;
1876
1877 ports {
1878 #address-cells = <1>;
1879 #size-cells = <0>;
1880
1881 port@0 {
1882 reg = <0>;
1883 dsi1_in: endpoint {
1884 remote-endpoint = <&dpu_intf2_out>;
1885 };
1886 };
1887
1888 port@1 {
1889 reg = <1>;
1890 dsi1_out: endpoint {
1891 };
1892 };
1893 };
1894 };
1895
1896 dsi1_phy: dsi-phy@ae96400 {
1897 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001898 reg = <0 0x0ae96400 0 0x200>,
1899 <0 0x0ae96600 0 0x280>,
1900 <0 0x0ae96a00 0 0x10e>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001901 reg-names = "dsi_phy",
1902 "dsi_phy_lane",
1903 "dsi_pll";
1904
1905 #clock-cells = <1>;
1906 #phy-cells = <0>;
1907
1908 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>;
1909 clock-names = "iface";
1910
1911 status = "disabled";
1912 };
1913 };
1914
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07001915 dispcc: clock-controller@af00000 {
1916 compatible = "qcom,sdm845-dispcc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001917 reg = <0 0x0af00000 0 0x10000>;
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07001918 #clock-cells = <1>;
1919 #reset-cells = <1>;
1920 #power-domain-cells = <1>;
1921 };
1922
Sibi Sankar13393da2018-10-26 17:56:53 +05301923 pdc_reset: reset-controller@b2e0000 {
1924 compatible = "qcom,sdm845-pdc-global";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001925 reg = <0 0x0b2e0000 0 0x20000>;
Sibi Sankar13393da2018-10-26 17:56:53 +05301926 #reset-cells = <1>;
1927 };
1928
Amit Kucheriacda676b2018-07-18 12:13:13 +05301929 tsens0: thermal-sensor@c263000 {
1930 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001931 reg = <0 0x0c263000 0 0x1ff>, /* TM */
1932 <0 0x0c222000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05301933 #qcom,sensors = <13>;
1934 #thermal-sensor-cells = <1>;
1935 };
1936
1937 tsens1: thermal-sensor@c265000 {
1938 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001939 reg = <0 0x0c265000 0 0x1ff>, /* TM */
1940 <0 0x0c223000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05301941 #qcom,sensors = <8>;
1942 #thermal-sensor-cells = <1>;
1943 };
1944
Sibi Sankaread5eea2018-09-01 15:23:55 -07001945 aoss_reset: reset-controller@c2a0000 {
1946 compatible = "qcom,sdm845-aoss-cc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001947 reg = <0 0x0c2a0000 0 0x31000>;
Sibi Sankaread5eea2018-09-01 15:23:55 -07001948 #reset-cells = <1>;
1949 };
1950
Douglas Anderson54d7a202018-05-14 20:59:22 -07001951 spmi_bus: spmi@c440000 {
1952 compatible = "qcom,spmi-pmic-arb";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001953 reg = <0 0x0c440000 0 0x1100>,
1954 <0 0x0c600000 0 0x2000000>,
1955 <0 0x0e600000 0 0x100000>,
1956 <0 0x0e700000 0 0xa0000>,
1957 <0 0x0c40a000 0 0x26000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001958 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1959 interrupt-names = "periph_irq";
1960 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
1961 qcom,ee = <0>;
1962 qcom,channel = <0>;
1963 #address-cells = <2>;
1964 #size-cells = <0>;
1965 interrupt-controller;
1966 #interrupt-cells = <4>;
1967 cell-index = <0>;
1968 };
1969
Vivek Gautam4429e572018-10-11 15:19:30 +05301970 apps_smmu: iommu@15000000 {
1971 compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001972 reg = <0 0x15000000 0 0x80000>;
Vivek Gautam4429e572018-10-11 15:19:30 +05301973 #iommu-cells = <2>;
1974 #global-interrupts = <1>;
1975 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
1976 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
1977 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
1978 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
1979 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
1980 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
1981 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
1982 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
1983 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
1984 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
1985 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
1986 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
1987 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
1988 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
1989 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
1990 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
1991 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
1992 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
1993 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
1994 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
1995 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
1996 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1997 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1998 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1999 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
2000 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
2001 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
2002 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
2003 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
2004 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
2005 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
2006 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
2007 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
2008 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
2009 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
2010 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
2011 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
2012 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
2013 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
2014 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
2015 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
2016 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
2017 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
2018 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
2019 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
2020 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
2021 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
2022 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
2023 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
2024 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
2025 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
2026 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
2027 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
2028 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
2029 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
2030 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
2031 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
2032 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
2033 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
2034 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
2035 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
2036 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
2037 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
2038 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
2039 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
2040 };
2041
Taniya Das0cef5dd2018-12-05 13:30:36 +05302042 lpasscc: clock-controller@17014000 {
2043 compatible = "qcom,sdm845-lpasscc";
Bjorn Andersson1d918e92019-01-17 11:29:55 -08002044 reg = <0 0x17014000 0 0x1f004>, <0 0x17300000 0 0x200>;
Taniya Das0cef5dd2018-12-05 13:30:36 +05302045 reg-names = "cc", "qdsp6ss";
2046 #clock-cells = <1>;
2047 status = "disabled";
2048 };
2049
Douglas Anderson54d7a202018-05-14 20:59:22 -07002050 apss_shared: mailbox@17990000 {
2051 compatible = "qcom,sdm845-apss-shared";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002052 reg = <0 0x17990000 0 0x1000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07002053 #mbox-cells = <1>;
2054 };
2055
Douglas Andersonc83545d2018-06-18 14:50:50 -07002056 apps_rsc: rsc@179c0000 {
2057 label = "apps_rsc";
2058 compatible = "qcom,rpmh-rsc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002059 reg = <0 0x179c0000 0 0x10000>,
2060 <0 0x179d0000 0 0x10000>,
2061 <0 0x179e0000 0 0x10000>;
Douglas Andersonc83545d2018-06-18 14:50:50 -07002062 reg-names = "drv-0", "drv-1", "drv-2";
2063 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
2064 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
2065 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
2066 qcom,tcs-offset = <0xd00>;
2067 qcom,drv-id = <2>;
2068 qcom,tcs-config = <ACTIVE_TCS 2>,
2069 <SLEEP_TCS 3>,
2070 <WAKE_TCS 3>,
2071 <CONTROL_TCS 1>;
Douglas Anderson717f2012018-06-18 14:50:51 -07002072
2073 rpmhcc: clock-controller {
2074 compatible = "qcom,sdm845-rpmh-clk";
2075 #clock-cells = <1>;
2076 };
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05302077
2078 rpmhpd: power-controller {
2079 compatible = "qcom,sdm845-rpmhpd";
2080 #power-domain-cells = <1>;
2081 operating-points-v2 = <&rpmhpd_opp_table>;
2082
2083 rpmhpd_opp_table: opp-table {
2084 compatible = "operating-points-v2";
2085
2086 rpmhpd_opp_ret: opp1 {
2087 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
2088 };
2089
2090 rpmhpd_opp_min_svs: opp2 {
2091 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2092 };
2093
2094 rpmhpd_opp_low_svs: opp3 {
2095 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2096 };
2097
2098 rpmhpd_opp_svs: opp4 {
2099 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2100 };
2101
2102 rpmhpd_opp_svs_l1: opp5 {
2103 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2104 };
2105
2106 rpmhpd_opp_nom: opp6 {
2107 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2108 };
2109
2110 rpmhpd_opp_nom_l1: opp7 {
2111 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
2112 };
2113
2114 rpmhpd_opp_nom_l2: opp8 {
2115 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
2116 };
2117
2118 rpmhpd_opp_turbo: opp9 {
2119 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
2120 };
2121
2122 rpmhpd_opp_turbo_l1: opp10 {
2123 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
2124 };
2125 };
2126 };
David Dai5e820482019-01-16 18:11:01 +02002127
2128 rsc_hlos: interconnect {
2129 compatible = "qcom,sdm845-rsc-hlos";
2130 #interconnect-cells = <1>;
2131 };
Douglas Andersonc83545d2018-06-18 14:50:50 -07002132 };
2133
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302134 intc: interrupt-controller@17a00000 {
2135 compatible = "arm,gic-v3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002136 #address-cells = <2>;
2137 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302138 ranges;
2139 #interrupt-cells = <3>;
2140 interrupt-controller;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002141 reg = <0 0x17a00000 0 0x10000>, /* GICD */
2142 <0 0x17a60000 0 0x100000>; /* GICR * 8 */
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302143 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
2144
2145 gic-its@17a40000 {
2146 compatible = "arm,gic-v3-its";
2147 msi-controller;
2148 #msi-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002149 reg = <0 0x17a40000 0 0x20000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302150 status = "disabled";
2151 };
2152 };
2153
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302154 timer@17c90000 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002155 #address-cells = <2>;
2156 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302157 ranges;
2158 compatible = "arm,armv7-timer-mem";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002159 reg = <0 0x17c90000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302160
2161 frame@17ca0000 {
2162 frame-number = <0>;
2163 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
2164 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002165 reg = <0 0x17ca0000 0 0x1000>,
2166 <0 0x17cb0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302167 };
2168
2169 frame@17cc0000 {
2170 frame-number = <1>;
2171 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002172 reg = <0 0x17cc0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302173 status = "disabled";
2174 };
2175
2176 frame@17cd0000 {
2177 frame-number = <2>;
2178 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002179 reg = <0 0x17cd0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302180 status = "disabled";
2181 };
2182
2183 frame@17ce0000 {
2184 frame-number = <3>;
2185 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002186 reg = <0 0x17ce0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302187 status = "disabled";
2188 };
2189
2190 frame@17cf0000 {
2191 frame-number = <4>;
2192 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002193 reg = <0 0x17cf0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302194 status = "disabled";
2195 };
2196
2197 frame@17d00000 {
2198 frame-number = <5>;
2199 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002200 reg = <0 0x17d00000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302201 status = "disabled";
2202 };
2203
2204 frame@17d10000 {
2205 frame-number = <6>;
2206 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002207 reg = <0 0x17d10000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302208 status = "disabled";
2209 };
2210 };
Taniya Dasc604b82a2018-12-21 23:44:23 +05302211
2212 cpufreq_hw: cpufreq@17d43000 {
2213 compatible = "qcom,cpufreq-hw";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002214 reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
Taniya Dasc604b82a2018-12-21 23:44:23 +05302215 reg-names = "freq-domain0", "freq-domain1";
2216
2217 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
2218 clock-names = "xo", "alternate";
2219
2220 #freq-domain-cells = <1>;
2221 };
Govind Singh022bccb2018-11-05 18:38:37 +05302222
2223 wifi: wifi@18800000 {
2224 compatible = "qcom,wcn3990-wifi";
2225 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002226 reg = <0 0x18800000 0 0x800000>;
Govind Singh022bccb2018-11-05 18:38:37 +05302227 reg-names = "membase";
2228 memory-region = <&wlan_msa_mem>;
2229 interrupts =
2230 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
2231 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
2232 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
2233 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
2234 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
2235 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
2236 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
2237 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
2238 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
2239 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
2240 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
2241 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
2242 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302243 };
Amit Kucheria48847882018-06-12 15:26:54 +03002244
2245 thermal-zones {
2246 cpu0-thermal {
2247 polling-delay-passive = <250>;
2248 polling-delay = <1000>;
2249
2250 thermal-sensors = <&tsens0 1>;
2251
2252 trips {
2253 cpu_alert0: trip0 {
2254 temperature = <75000>;
2255 hysteresis = <2000>;
2256 type = "passive";
2257 };
2258
2259 cpu_crit0: trip1 {
2260 temperature = <110000>;
2261 hysteresis = <1000>;
2262 type = "critical";
2263 };
2264 };
2265 };
2266
2267 cpu1-thermal {
2268 polling-delay-passive = <250>;
2269 polling-delay = <1000>;
2270
2271 thermal-sensors = <&tsens0 2>;
2272
2273 trips {
2274 cpu_alert1: trip0 {
2275 temperature = <75000>;
2276 hysteresis = <2000>;
2277 type = "passive";
2278 };
2279
2280 cpu_crit1: trip1 {
2281 temperature = <110000>;
2282 hysteresis = <1000>;
2283 type = "critical";
2284 };
2285 };
2286 };
2287
2288 cpu2-thermal {
2289 polling-delay-passive = <250>;
2290 polling-delay = <1000>;
2291
2292 thermal-sensors = <&tsens0 3>;
2293
2294 trips {
2295 cpu_alert2: trip0 {
2296 temperature = <75000>;
2297 hysteresis = <2000>;
2298 type = "passive";
2299 };
2300
2301 cpu_crit2: trip1 {
2302 temperature = <110000>;
2303 hysteresis = <1000>;
2304 type = "critical";
2305 };
2306 };
2307 };
2308
2309 cpu3-thermal {
2310 polling-delay-passive = <250>;
2311 polling-delay = <1000>;
2312
2313 thermal-sensors = <&tsens0 4>;
2314
2315 trips {
2316 cpu_alert3: trip0 {
2317 temperature = <75000>;
2318 hysteresis = <2000>;
2319 type = "passive";
2320 };
2321
2322 cpu_crit3: trip1 {
2323 temperature = <110000>;
2324 hysteresis = <1000>;
2325 type = "critical";
2326 };
2327 };
2328 };
2329
2330 cpu4-thermal {
2331 polling-delay-passive = <250>;
2332 polling-delay = <1000>;
2333
2334 thermal-sensors = <&tsens0 7>;
2335
2336 trips {
2337 cpu_alert4: trip0 {
2338 temperature = <75000>;
2339 hysteresis = <2000>;
2340 type = "passive";
2341 };
2342
2343 cpu_crit4: trip1 {
2344 temperature = <110000>;
2345 hysteresis = <1000>;
2346 type = "critical";
2347 };
2348 };
2349 };
2350
2351 cpu5-thermal {
2352 polling-delay-passive = <250>;
2353 polling-delay = <1000>;
2354
2355 thermal-sensors = <&tsens0 8>;
2356
2357 trips {
2358 cpu_alert5: trip0 {
2359 temperature = <75000>;
2360 hysteresis = <2000>;
2361 type = "passive";
2362 };
2363
2364 cpu_crit5: trip1 {
2365 temperature = <110000>;
2366 hysteresis = <1000>;
2367 type = "critical";
2368 };
2369 };
2370 };
2371
2372 cpu6-thermal {
2373 polling-delay-passive = <250>;
2374 polling-delay = <1000>;
2375
2376 thermal-sensors = <&tsens0 9>;
2377
2378 trips {
2379 cpu_alert6: trip0 {
2380 temperature = <75000>;
2381 hysteresis = <2000>;
2382 type = "passive";
2383 };
2384
2385 cpu_crit6: trip1 {
2386 temperature = <110000>;
2387 hysteresis = <1000>;
2388 type = "critical";
2389 };
2390 };
2391 };
2392
2393 cpu7-thermal {
2394 polling-delay-passive = <250>;
2395 polling-delay = <1000>;
2396
2397 thermal-sensors = <&tsens0 10>;
2398
2399 trips {
2400 cpu_alert7: trip0 {
2401 temperature = <75000>;
2402 hysteresis = <2000>;
2403 type = "passive";
2404 };
2405
2406 cpu_crit7: trip1 {
2407 temperature = <110000>;
2408 hysteresis = <1000>;
2409 type = "critical";
2410 };
2411 };
2412 };
2413 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302414};