blob: c98b1937353b123558698a46d46ed1f37958a712 [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>
Taniya Das0cef5dd2018-12-05 13:30:36 +053010#include <dt-bindings/clock/qcom,lpass-sdm845.h>
Douglas Anderson9aa4a272018-11-28 10:57:43 -080011#include <dt-bindings/clock/qcom,gpucc-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>
Sibi Sankaread5eea2018-09-01 15:23:55 -070016#include <dt-bindings/reset/qcom,sdm845-aoss.h>
Sibi Sankar13393da2018-10-26 17:56:53 +053017#include <dt-bindings/reset/qcom,sdm845-pdc.h>
Douglas Andersonc83545d2018-06-18 14:50:50 -070018#include <dt-bindings/soc/qcom,rpmh-rsc.h>
Vinod Koul6e17f8142018-10-01 11:51:51 +053019#include <dt-bindings/clock/qcom,gcc-sdm845.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 };
95 };
96
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053097 cpus {
98 #address-cells = <2>;
99 #size-cells = <0>;
100
101 CPU0: cpu@0 {
102 device_type = "cpu";
103 compatible = "qcom,kryo385";
104 reg = <0x0 0x0>;
105 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530106 qcom,freq-domain = <&cpufreq_hw 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530107 next-level-cache = <&L2_0>;
108 L2_0: l2-cache {
109 compatible = "cache";
110 next-level-cache = <&L3_0>;
111 L3_0: l3-cache {
112 compatible = "cache";
113 };
114 };
115 };
116
117 CPU1: cpu@100 {
118 device_type = "cpu";
119 compatible = "qcom,kryo385";
120 reg = <0x0 0x100>;
121 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530122 qcom,freq-domain = <&cpufreq_hw 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530123 next-level-cache = <&L2_100>;
124 L2_100: l2-cache {
125 compatible = "cache";
126 next-level-cache = <&L3_0>;
127 };
128 };
129
130 CPU2: cpu@200 {
131 device_type = "cpu";
132 compatible = "qcom,kryo385";
133 reg = <0x0 0x200>;
134 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530135 qcom,freq-domain = <&cpufreq_hw 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530136 next-level-cache = <&L2_200>;
137 L2_200: l2-cache {
138 compatible = "cache";
139 next-level-cache = <&L3_0>;
140 };
141 };
142
143 CPU3: cpu@300 {
144 device_type = "cpu";
145 compatible = "qcom,kryo385";
146 reg = <0x0 0x300>;
147 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530148 qcom,freq-domain = <&cpufreq_hw 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530149 next-level-cache = <&L2_300>;
150 L2_300: l2-cache {
151 compatible = "cache";
152 next-level-cache = <&L3_0>;
153 };
154 };
155
156 CPU4: cpu@400 {
157 device_type = "cpu";
158 compatible = "qcom,kryo385";
159 reg = <0x0 0x400>;
160 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530161 qcom,freq-domain = <&cpufreq_hw 1>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530162 next-level-cache = <&L2_400>;
163 L2_400: l2-cache {
164 compatible = "cache";
165 next-level-cache = <&L3_0>;
166 };
167 };
168
169 CPU5: cpu@500 {
170 device_type = "cpu";
171 compatible = "qcom,kryo385";
172 reg = <0x0 0x500>;
173 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530174 qcom,freq-domain = <&cpufreq_hw 1>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530175 next-level-cache = <&L2_500>;
176 L2_500: l2-cache {
177 compatible = "cache";
178 next-level-cache = <&L3_0>;
179 };
180 };
181
182 CPU6: cpu@600 {
183 device_type = "cpu";
184 compatible = "qcom,kryo385";
185 reg = <0x0 0x600>;
186 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530187 qcom,freq-domain = <&cpufreq_hw 1>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530188 next-level-cache = <&L2_600>;
189 L2_600: l2-cache {
190 compatible = "cache";
191 next-level-cache = <&L3_0>;
192 };
193 };
194
195 CPU7: cpu@700 {
196 device_type = "cpu";
197 compatible = "qcom,kryo385";
198 reg = <0x0 0x700>;
199 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530200 qcom,freq-domain = <&cpufreq_hw 1>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530201 next-level-cache = <&L2_700>;
202 L2_700: l2-cache {
203 compatible = "cache";
204 next-level-cache = <&L3_0>;
205 };
206 };
207 };
208
Stephen Boyd000c4662018-05-21 23:23:52 -0700209 pmu {
210 compatible = "arm,armv8-pmuv3";
211 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
212 };
213
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530214 timer {
215 compatible = "arm,armv8-timer";
216 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
217 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
218 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
219 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
220 };
221
222 clocks {
223 xo_board: xo-board {
224 compatible = "fixed-clock";
225 #clock-cells = <0>;
Douglas Anderson5ea39392018-05-09 13:05:28 -0700226 clock-frequency = <38400000>;
227 clock-output-names = "xo_board";
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530228 };
229
230 sleep_clk: sleep-clk {
231 compatible = "fixed-clock";
232 #clock-cells = <0>;
233 clock-frequency = <32764>;
234 };
235 };
236
Sibi Sankar77bb7f92018-10-26 17:55:42 +0530237 firmware {
238 scm {
239 compatible = "qcom,scm-sdm845", "qcom,scm";
240 };
241 };
242
Sibi S71c84282018-04-30 20:14:28 +0530243 tcsr_mutex: hwlock {
244 compatible = "qcom,tcsr-mutex";
245 syscon = <&tcsr_mutex_regs 0 0x1000>;
246 #hwlock-cells = <1>;
247 };
248
249 smem {
250 compatible = "qcom,smem";
251 memory-region = <&smem_mem>;
252 hwlocks = <&tcsr_mutex 3>;
253 };
254
Bjorn Andersson3debb1f2018-09-01 15:27:21 -0700255 smp2p-cdsp {
256 compatible = "qcom,smp2p";
257 qcom,smem = <94>, <432>;
258
259 interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
260
261 mboxes = <&apss_shared 6>;
262
263 qcom,local-pid = <0>;
264 qcom,remote-pid = <5>;
265
266 cdsp_smp2p_out: master-kernel {
267 qcom,entry-name = "master-kernel";
268 #qcom,smem-state-cells = <1>;
269 };
270
271 cdsp_smp2p_in: slave-kernel {
272 qcom,entry-name = "slave-kernel";
273
274 interrupt-controller;
275 #interrupt-cells = <2>;
276 };
277 };
278
279 smp2p-lpass {
280 compatible = "qcom,smp2p";
281 qcom,smem = <443>, <429>;
282
283 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
284
285 mboxes = <&apss_shared 10>;
286
287 qcom,local-pid = <0>;
288 qcom,remote-pid = <2>;
289
290 adsp_smp2p_out: master-kernel {
291 qcom,entry-name = "master-kernel";
292 #qcom,smem-state-cells = <1>;
293 };
294
295 adsp_smp2p_in: slave-kernel {
296 qcom,entry-name = "slave-kernel";
297
298 interrupt-controller;
299 #interrupt-cells = <2>;
300 };
301 };
302
303 smp2p-mpss {
304 compatible = "qcom,smp2p";
305 qcom,smem = <435>, <428>;
306 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
307 mboxes = <&apss_shared 14>;
308 qcom,local-pid = <0>;
309 qcom,remote-pid = <1>;
310
311 modem_smp2p_out: master-kernel {
312 qcom,entry-name = "master-kernel";
313 #qcom,smem-state-cells = <1>;
314 };
315
316 modem_smp2p_in: slave-kernel {
317 qcom,entry-name = "slave-kernel";
318 interrupt-controller;
319 #interrupt-cells = <2>;
320 };
321 };
322
323 smp2p-slpi {
324 compatible = "qcom,smp2p";
325 qcom,smem = <481>, <430>;
326 interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
327 mboxes = <&apss_shared 26>;
328 qcom,local-pid = <0>;
329 qcom,remote-pid = <3>;
330
331 slpi_smp2p_out: master-kernel {
332 qcom,entry-name = "master-kernel";
333 #qcom,smem-state-cells = <1>;
334 };
335
336 slpi_smp2p_in: slave-kernel {
337 qcom,entry-name = "slave-kernel";
338 interrupt-controller;
339 #interrupt-cells = <2>;
340 };
341 };
342
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530343 psci {
344 compatible = "arm,psci-1.0";
345 method = "smc";
346 };
347
348 soc: soc {
349 #address-cells = <1>;
350 #size-cells = <1>;
351 ranges = <0 0 0 0xffffffff>;
352 compatible = "simple-bus";
353
Douglas Anderson54d7a202018-05-14 20:59:22 -0700354 gcc: clock-controller@100000 {
355 compatible = "qcom,gcc-sdm845";
356 reg = <0x100000 0x1f0000>;
357 #clock-cells = <1>;
358 #reset-cells = <1>;
359 #power-domain-cells = <1>;
360 };
361
Manu Gautamca4db2b2018-08-22 10:36:27 -0700362 qfprom@784000 {
363 compatible = "qcom,qfprom";
364 reg = <0x784000 0x8ff>;
365 #address-cells = <1>;
366 #size-cells = <1>;
367
368 qusb2p_hstx_trim: hstx-trim-primary@1eb {
369 reg = <0x1eb 0x1>;
370 bits = <1 4>;
371 };
372
373 qusb2s_hstx_trim: hstx-trim-secondary@1eb {
374 reg = <0x1eb 0x2>;
375 bits = <6 4>;
376 };
377 };
378
Vinod Koul6e17f8142018-10-01 11:51:51 +0530379 rng: rng@793000 {
380 compatible = "qcom,prng-ee";
381 reg = <0x00793000 0x1000>;
382 clocks = <&gcc GCC_PRNG_AHB_CLK>;
383 clock-names = "core";
384 };
385
Douglas Anderson897cf342018-06-13 09:53:51 -0700386 qupv3_id_0: geniqup@8c0000 {
387 compatible = "qcom,geni-se-qup";
388 reg = <0x8c0000 0x6000>;
389 clock-names = "m-ahb", "s-ahb";
390 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
391 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
392 #address-cells = <1>;
393 #size-cells = <1>;
394 ranges;
Douglas Anderson499ff112018-06-29 11:45:27 -0700395 status = "disabled";
Douglas Anderson897cf342018-06-13 09:53:51 -0700396
397 i2c0: i2c@880000 {
398 compatible = "qcom,geni-i2c";
399 reg = <0x880000 0x4000>;
400 clock-names = "se";
401 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
402 pinctrl-names = "default";
403 pinctrl-0 = <&qup_i2c0_default>;
404 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
405 #address-cells = <1>;
406 #size-cells = <0>;
407 status = "disabled";
408 };
409
410 spi0: spi@880000 {
411 compatible = "qcom,geni-spi";
412 reg = <0x880000 0x4000>;
413 clock-names = "se";
414 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
415 pinctrl-names = "default";
416 pinctrl-0 = <&qup_spi0_default>;
417 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
418 #address-cells = <1>;
419 #size-cells = <0>;
420 status = "disabled";
421 };
422
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700423 uart0: serial@880000 {
424 compatible = "qcom,geni-uart";
425 reg = <0x880000 0x4000>;
426 clock-names = "se";
427 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
428 pinctrl-names = "default";
429 pinctrl-0 = <&qup_uart0_default>;
430 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
431 status = "disabled";
432 };
433
Douglas Anderson897cf342018-06-13 09:53:51 -0700434 i2c1: i2c@884000 {
435 compatible = "qcom,geni-i2c";
436 reg = <0x884000 0x4000>;
437 clock-names = "se";
438 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
439 pinctrl-names = "default";
440 pinctrl-0 = <&qup_i2c1_default>;
441 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
442 #address-cells = <1>;
443 #size-cells = <0>;
444 status = "disabled";
445 };
446
447 spi1: spi@884000 {
448 compatible = "qcom,geni-spi";
449 reg = <0x884000 0x4000>;
450 clock-names = "se";
451 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
452 pinctrl-names = "default";
453 pinctrl-0 = <&qup_spi1_default>;
454 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
455 #address-cells = <1>;
456 #size-cells = <0>;
457 status = "disabled";
458 };
459
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700460 uart1: serial@884000 {
461 compatible = "qcom,geni-uart";
462 reg = <0x884000 0x4000>;
463 clock-names = "se";
464 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
465 pinctrl-names = "default";
466 pinctrl-0 = <&qup_uart1_default>;
467 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
468 status = "disabled";
469 };
470
Douglas Anderson897cf342018-06-13 09:53:51 -0700471 i2c2: i2c@888000 {
472 compatible = "qcom,geni-i2c";
473 reg = <0x888000 0x4000>;
474 clock-names = "se";
475 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
476 pinctrl-names = "default";
477 pinctrl-0 = <&qup_i2c2_default>;
478 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
479 #address-cells = <1>;
480 #size-cells = <0>;
481 status = "disabled";
482 };
483
484 spi2: spi@888000 {
485 compatible = "qcom,geni-spi";
486 reg = <0x888000 0x4000>;
487 clock-names = "se";
488 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
489 pinctrl-names = "default";
490 pinctrl-0 = <&qup_spi2_default>;
491 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
492 #address-cells = <1>;
493 #size-cells = <0>;
494 status = "disabled";
495 };
496
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700497 uart2: serial@888000 {
498 compatible = "qcom,geni-uart";
499 reg = <0x888000 0x4000>;
500 clock-names = "se";
501 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
502 pinctrl-names = "default";
503 pinctrl-0 = <&qup_uart2_default>;
504 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
505 status = "disabled";
506 };
507
Douglas Anderson897cf342018-06-13 09:53:51 -0700508 i2c3: i2c@88c000 {
509 compatible = "qcom,geni-i2c";
510 reg = <0x88c000 0x4000>;
511 clock-names = "se";
512 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
513 pinctrl-names = "default";
514 pinctrl-0 = <&qup_i2c3_default>;
515 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
516 #address-cells = <1>;
517 #size-cells = <0>;
518 status = "disabled";
519 };
520
521 spi3: spi@88c000 {
522 compatible = "qcom,geni-spi";
523 reg = <0x88c000 0x4000>;
524 clock-names = "se";
525 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
526 pinctrl-names = "default";
527 pinctrl-0 = <&qup_spi3_default>;
528 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
529 #address-cells = <1>;
530 #size-cells = <0>;
531 status = "disabled";
532 };
533
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700534 uart3: serial@88c000 {
535 compatible = "qcom,geni-uart";
536 reg = <0x88c000 0x4000>;
537 clock-names = "se";
538 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
539 pinctrl-names = "default";
540 pinctrl-0 = <&qup_uart3_default>;
541 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
542 status = "disabled";
543 };
544
Douglas Anderson897cf342018-06-13 09:53:51 -0700545 i2c4: i2c@890000 {
546 compatible = "qcom,geni-i2c";
547 reg = <0x890000 0x4000>;
548 clock-names = "se";
549 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
550 pinctrl-names = "default";
551 pinctrl-0 = <&qup_i2c4_default>;
552 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
553 #address-cells = <1>;
554 #size-cells = <0>;
555 status = "disabled";
556 };
557
558 spi4: spi@890000 {
559 compatible = "qcom,geni-spi";
560 reg = <0x890000 0x4000>;
561 clock-names = "se";
562 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
563 pinctrl-names = "default";
564 pinctrl-0 = <&qup_spi4_default>;
565 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
566 #address-cells = <1>;
567 #size-cells = <0>;
568 status = "disabled";
569 };
570
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700571 uart4: serial@890000 {
572 compatible = "qcom,geni-uart";
573 reg = <0x890000 0x4000>;
574 clock-names = "se";
575 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
576 pinctrl-names = "default";
577 pinctrl-0 = <&qup_uart4_default>;
578 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
579 status = "disabled";
580 };
581
Douglas Anderson897cf342018-06-13 09:53:51 -0700582 i2c5: i2c@894000 {
583 compatible = "qcom,geni-i2c";
584 reg = <0x894000 0x4000>;
585 clock-names = "se";
586 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
587 pinctrl-names = "default";
588 pinctrl-0 = <&qup_i2c5_default>;
589 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
590 #address-cells = <1>;
591 #size-cells = <0>;
592 status = "disabled";
593 };
594
595 spi5: spi@894000 {
596 compatible = "qcom,geni-spi";
597 reg = <0x894000 0x4000>;
598 clock-names = "se";
599 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
600 pinctrl-names = "default";
601 pinctrl-0 = <&qup_spi5_default>;
602 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
603 #address-cells = <1>;
604 #size-cells = <0>;
605 status = "disabled";
606 };
607
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700608 uart5: serial@894000 {
609 compatible = "qcom,geni-uart";
610 reg = <0x894000 0x4000>;
611 clock-names = "se";
612 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
613 pinctrl-names = "default";
614 pinctrl-0 = <&qup_uart5_default>;
615 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
616 status = "disabled";
617 };
618
Douglas Anderson897cf342018-06-13 09:53:51 -0700619 i2c6: i2c@898000 {
620 compatible = "qcom,geni-i2c";
621 reg = <0x898000 0x4000>;
622 clock-names = "se";
623 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
624 pinctrl-names = "default";
625 pinctrl-0 = <&qup_i2c6_default>;
626 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
627 #address-cells = <1>;
628 #size-cells = <0>;
629 status = "disabled";
630 };
631
632 spi6: spi@898000 {
633 compatible = "qcom,geni-spi";
634 reg = <0x898000 0x4000>;
635 clock-names = "se";
636 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
637 pinctrl-names = "default";
638 pinctrl-0 = <&qup_spi6_default>;
639 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
640 #address-cells = <1>;
641 #size-cells = <0>;
642 status = "disabled";
643 };
644
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700645 uart6: serial@898000 {
646 compatible = "qcom,geni-uart";
647 reg = <0x898000 0x4000>;
648 clock-names = "se";
649 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
650 pinctrl-names = "default";
651 pinctrl-0 = <&qup_uart6_default>;
652 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
653 status = "disabled";
654 };
655
Douglas Anderson897cf342018-06-13 09:53:51 -0700656 i2c7: i2c@89c000 {
657 compatible = "qcom,geni-i2c";
658 reg = <0x89c000 0x4000>;
659 clock-names = "se";
660 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
661 pinctrl-names = "default";
662 pinctrl-0 = <&qup_i2c7_default>;
663 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
664 #address-cells = <1>;
665 #size-cells = <0>;
666 status = "disabled";
667 };
668
669 spi7: spi@89c000 {
670 compatible = "qcom,geni-spi";
671 reg = <0x89c000 0x4000>;
672 clock-names = "se";
673 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
674 pinctrl-names = "default";
675 pinctrl-0 = <&qup_spi7_default>;
676 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
677 #address-cells = <1>;
678 #size-cells = <0>;
679 status = "disabled";
680 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700681
682 uart7: serial@89c000 {
683 compatible = "qcom,geni-uart";
684 reg = <0x89c000 0x4000>;
685 clock-names = "se";
686 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
687 pinctrl-names = "default";
688 pinctrl-0 = <&qup_uart7_default>;
689 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
690 status = "disabled";
691 };
Douglas Anderson897cf342018-06-13 09:53:51 -0700692 };
693
694 qupv3_id_1: geniqup@ac0000 {
695 compatible = "qcom,geni-se-qup";
696 reg = <0xac0000 0x6000>;
697 clock-names = "m-ahb", "s-ahb";
698 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
699 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
700 #address-cells = <1>;
701 #size-cells = <1>;
702 ranges;
703 status = "disabled";
704
705 i2c8: i2c@a80000 {
706 compatible = "qcom,geni-i2c";
707 reg = <0xa80000 0x4000>;
708 clock-names = "se";
709 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
710 pinctrl-names = "default";
711 pinctrl-0 = <&qup_i2c8_default>;
712 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
713 #address-cells = <1>;
714 #size-cells = <0>;
715 status = "disabled";
716 };
717
718 spi8: spi@a80000 {
719 compatible = "qcom,geni-spi";
720 reg = <0xa80000 0x4000>;
721 clock-names = "se";
722 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
723 pinctrl-names = "default";
724 pinctrl-0 = <&qup_spi8_default>;
725 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
726 #address-cells = <1>;
727 #size-cells = <0>;
728 status = "disabled";
729 };
730
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700731 uart8: serial@a80000 {
732 compatible = "qcom,geni-uart";
733 reg = <0xa80000 0x4000>;
734 clock-names = "se";
735 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
736 pinctrl-names = "default";
737 pinctrl-0 = <&qup_uart8_default>;
738 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
739 status = "disabled";
740 };
741
Douglas Anderson897cf342018-06-13 09:53:51 -0700742 i2c9: i2c@a84000 {
743 compatible = "qcom,geni-i2c";
744 reg = <0xa84000 0x4000>;
745 clock-names = "se";
746 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
747 pinctrl-names = "default";
748 pinctrl-0 = <&qup_i2c9_default>;
749 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
750 #address-cells = <1>;
751 #size-cells = <0>;
752 status = "disabled";
753 };
754
755 spi9: spi@a84000 {
756 compatible = "qcom,geni-spi";
757 reg = <0xa84000 0x4000>;
758 clock-names = "se";
759 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
760 pinctrl-names = "default";
761 pinctrl-0 = <&qup_spi9_default>;
762 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
763 #address-cells = <1>;
764 #size-cells = <0>;
765 status = "disabled";
766 };
767
768 uart9: serial@a84000 {
769 compatible = "qcom,geni-debug-uart";
770 reg = <0xa84000 0x4000>;
771 clock-names = "se";
772 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
773 pinctrl-names = "default";
774 pinctrl-0 = <&qup_uart9_default>;
775 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
776 status = "disabled";
777 };
778
779 i2c10: i2c@a88000 {
780 compatible = "qcom,geni-i2c";
781 reg = <0xa88000 0x4000>;
782 clock-names = "se";
783 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
784 pinctrl-names = "default";
785 pinctrl-0 = <&qup_i2c10_default>;
786 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
787 #address-cells = <1>;
788 #size-cells = <0>;
789 status = "disabled";
790 };
791
792 spi10: spi@a88000 {
793 compatible = "qcom,geni-spi";
794 reg = <0xa88000 0x4000>;
795 clock-names = "se";
796 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
797 pinctrl-names = "default";
798 pinctrl-0 = <&qup_spi10_default>;
799 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
800 #address-cells = <1>;
801 #size-cells = <0>;
802 status = "disabled";
803 };
804
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700805 uart10: serial@a88000 {
806 compatible = "qcom,geni-uart";
807 reg = <0xa88000 0x4000>;
808 clock-names = "se";
809 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
810 pinctrl-names = "default";
811 pinctrl-0 = <&qup_uart10_default>;
812 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
813 status = "disabled";
814 };
815
Douglas Anderson897cf342018-06-13 09:53:51 -0700816 i2c11: i2c@a8c000 {
817 compatible = "qcom,geni-i2c";
818 reg = <0xa8c000 0x4000>;
819 clock-names = "se";
820 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
821 pinctrl-names = "default";
822 pinctrl-0 = <&qup_i2c11_default>;
823 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
824 #address-cells = <1>;
825 #size-cells = <0>;
826 status = "disabled";
827 };
828
829 spi11: spi@a8c000 {
830 compatible = "qcom,geni-spi";
831 reg = <0xa8c000 0x4000>;
832 clock-names = "se";
833 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
834 pinctrl-names = "default";
835 pinctrl-0 = <&qup_spi11_default>;
836 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
837 #address-cells = <1>;
838 #size-cells = <0>;
839 status = "disabled";
840 };
841
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700842 uart11: serial@a8c000 {
843 compatible = "qcom,geni-uart";
844 reg = <0xa8c000 0x4000>;
845 clock-names = "se";
846 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
847 pinctrl-names = "default";
848 pinctrl-0 = <&qup_uart11_default>;
849 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
850 status = "disabled";
851 };
852
Douglas Anderson897cf342018-06-13 09:53:51 -0700853 i2c12: i2c@a90000 {
854 compatible = "qcom,geni-i2c";
855 reg = <0xa90000 0x4000>;
856 clock-names = "se";
857 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
858 pinctrl-names = "default";
859 pinctrl-0 = <&qup_i2c12_default>;
860 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
861 #address-cells = <1>;
862 #size-cells = <0>;
863 status = "disabled";
864 };
865
866 spi12: spi@a90000 {
867 compatible = "qcom,geni-spi";
868 reg = <0xa90000 0x4000>;
869 clock-names = "se";
870 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
871 pinctrl-names = "default";
872 pinctrl-0 = <&qup_spi12_default>;
873 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
874 #address-cells = <1>;
875 #size-cells = <0>;
876 status = "disabled";
877 };
878
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700879 uart12: serial@a90000 {
880 compatible = "qcom,geni-uart";
881 reg = <0xa90000 0x4000>;
882 clock-names = "se";
883 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
884 pinctrl-names = "default";
885 pinctrl-0 = <&qup_uart12_default>;
886 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
887 status = "disabled";
888 };
889
Douglas Anderson897cf342018-06-13 09:53:51 -0700890 i2c13: i2c@a94000 {
891 compatible = "qcom,geni-i2c";
892 reg = <0xa94000 0x4000>;
893 clock-names = "se";
894 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
895 pinctrl-names = "default";
896 pinctrl-0 = <&qup_i2c13_default>;
897 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
898 #address-cells = <1>;
899 #size-cells = <0>;
900 status = "disabled";
901 };
902
903 spi13: spi@a94000 {
904 compatible = "qcom,geni-spi";
905 reg = <0xa94000 0x4000>;
906 clock-names = "se";
907 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
908 pinctrl-names = "default";
909 pinctrl-0 = <&qup_spi13_default>;
910 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
911 #address-cells = <1>;
912 #size-cells = <0>;
913 status = "disabled";
914 };
915
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700916 uart13: serial@a94000 {
917 compatible = "qcom,geni-uart";
918 reg = <0xa94000 0x4000>;
919 clock-names = "se";
920 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
921 pinctrl-names = "default";
922 pinctrl-0 = <&qup_uart13_default>;
923 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
924 status = "disabled";
925 };
926
Douglas Anderson897cf342018-06-13 09:53:51 -0700927 i2c14: i2c@a98000 {
928 compatible = "qcom,geni-i2c";
929 reg = <0xa98000 0x4000>;
930 clock-names = "se";
931 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
932 pinctrl-names = "default";
933 pinctrl-0 = <&qup_i2c14_default>;
934 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
935 #address-cells = <1>;
936 #size-cells = <0>;
937 status = "disabled";
938 };
939
940 spi14: spi@a98000 {
941 compatible = "qcom,geni-spi";
942 reg = <0xa98000 0x4000>;
943 clock-names = "se";
944 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
945 pinctrl-names = "default";
946 pinctrl-0 = <&qup_spi14_default>;
947 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
948 #address-cells = <1>;
949 #size-cells = <0>;
950 status = "disabled";
951 };
952
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700953 uart14: serial@a98000 {
954 compatible = "qcom,geni-uart";
955 reg = <0xa98000 0x4000>;
956 clock-names = "se";
957 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
958 pinctrl-names = "default";
959 pinctrl-0 = <&qup_uart14_default>;
960 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
961 status = "disabled";
962 };
963
Douglas Anderson897cf342018-06-13 09:53:51 -0700964 i2c15: i2c@a9c000 {
965 compatible = "qcom,geni-i2c";
966 reg = <0xa9c000 0x4000>;
967 clock-names = "se";
968 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
969 pinctrl-names = "default";
970 pinctrl-0 = <&qup_i2c15_default>;
971 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
972 #address-cells = <1>;
973 #size-cells = <0>;
974 status = "disabled";
975 };
976
977 spi15: spi@a9c000 {
978 compatible = "qcom,geni-spi";
979 reg = <0xa9c000 0x4000>;
980 clock-names = "se";
981 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
982 pinctrl-names = "default";
983 pinctrl-0 = <&qup_spi15_default>;
984 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
985 #address-cells = <1>;
986 #size-cells = <0>;
987 status = "disabled";
988 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700989
990 uart15: serial@a9c000 {
991 compatible = "qcom,geni-uart";
992 reg = <0xa9c000 0x4000>;
993 clock-names = "se";
994 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
995 pinctrl-names = "default";
996 pinctrl-0 = <&qup_uart15_default>;
997 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
998 status = "disabled";
999 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001000 };
1001
Evan Greencc166872018-12-10 11:28:24 -08001002 ufs_mem_hc: ufshc@1d84000 {
1003 compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
1004 "jedec,ufs-2.0";
1005 reg = <0x1d84000 0x2500>;
1006 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1007 phys = <&ufs_mem_phy_lanes>;
1008 phy-names = "ufsphy";
1009 lanes-per-direction = <2>;
1010 power-domains = <&gcc UFS_PHY_GDSC>;
1011
1012 iommus = <&apps_smmu 0x100 0xf>;
1013
1014 clock-names =
1015 "core_clk",
1016 "bus_aggr_clk",
1017 "iface_clk",
1018 "core_clk_unipro",
1019 "ref_clk",
1020 "tx_lane0_sync_clk",
1021 "rx_lane0_sync_clk",
1022 "rx_lane1_sync_clk";
1023 clocks =
1024 <&gcc GCC_UFS_PHY_AXI_CLK>,
1025 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1026 <&gcc GCC_UFS_PHY_AHB_CLK>,
1027 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1028 <&rpmhcc RPMH_CXO_CLK>,
1029 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1030 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1031 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1032 freq-table-hz =
1033 <50000000 200000000>,
1034 <0 0>,
1035 <0 0>,
1036 <37500000 150000000>,
1037 <0 0>,
1038 <0 0>,
1039 <0 0>,
1040 <0 0>;
1041
1042 status = "disabled";
1043 };
1044
1045 ufs_mem_phy: phy@1d87000 {
1046 compatible = "qcom,sdm845-qmp-ufs-phy";
1047 reg = <0x1d87000 0x18c>;
1048 #address-cells = <1>;
1049 #size-cells = <1>;
1050 ranges;
1051 clock-names = "ref",
1052 "ref_aux";
1053 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
1054 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1055
1056 status = "disabled";
1057
1058 ufs_mem_phy_lanes: lanes@1d87400 {
1059 reg = <0x1d87400 0x108>,
1060 <0x1d87600 0x1e0>,
1061 <0x1d87c00 0x1dc>,
1062 <0x1d87800 0x108>,
1063 <0x1d87a00 0x1e0>;
1064 #phy-cells = <0>;
1065 };
1066 };
1067
Douglas Anderson54d7a202018-05-14 20:59:22 -07001068 tcsr_mutex_regs: syscon@1f40000 {
1069 compatible = "syscon";
1070 reg = <0x1f40000 0x40000>;
1071 };
1072
1073 tlmm: pinctrl@3400000 {
1074 compatible = "qcom,sdm845-pinctrl";
1075 reg = <0x03400000 0xc00000>;
1076 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1077 gpio-controller;
1078 #gpio-cells = <2>;
1079 interrupt-controller;
1080 #interrupt-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001081
Douglas Andersone1ce8532018-10-08 13:17:11 -07001082 qspi_clk: qspi-clk {
1083 pinmux {
1084 pins = "gpio95";
1085 function = "qspi_clk";
1086 };
1087 };
1088
1089 qspi_cs0: qspi-cs0 {
1090 pinmux {
1091 pins = "gpio90";
1092 function = "qspi_cs";
1093 };
1094 };
1095
1096 qspi_cs1: qspi-cs1 {
1097 pinmux {
1098 pins = "gpio89";
1099 function = "qspi_cs";
1100 };
1101 };
1102
1103 qspi_data01: qspi-data01 {
1104 pinmux-data {
1105 pins = "gpio91", "gpio92";
1106 function = "qspi_data";
1107 };
1108 };
1109
1110 qspi_data12: qspi-data12 {
1111 pinmux-data {
1112 pins = "gpio93", "gpio94";
1113 function = "qspi_data";
1114 };
1115 };
1116
Douglas Anderson897cf342018-06-13 09:53:51 -07001117 qup_i2c0_default: qup-i2c0-default {
1118 pinmux {
1119 pins = "gpio0", "gpio1";
1120 function = "qup0";
1121 };
1122 };
1123
1124 qup_i2c1_default: qup-i2c1-default {
1125 pinmux {
1126 pins = "gpio17", "gpio18";
1127 function = "qup1";
1128 };
1129 };
1130
1131 qup_i2c2_default: qup-i2c2-default {
1132 pinmux {
1133 pins = "gpio27", "gpio28";
1134 function = "qup2";
1135 };
1136 };
1137
1138 qup_i2c3_default: qup-i2c3-default {
1139 pinmux {
1140 pins = "gpio41", "gpio42";
1141 function = "qup3";
1142 };
1143 };
1144
1145 qup_i2c4_default: qup-i2c4-default {
1146 pinmux {
1147 pins = "gpio89", "gpio90";
1148 function = "qup4";
1149 };
1150 };
1151
1152 qup_i2c5_default: qup-i2c5-default {
1153 pinmux {
1154 pins = "gpio85", "gpio86";
1155 function = "qup5";
1156 };
1157 };
1158
1159 qup_i2c6_default: qup-i2c6-default {
1160 pinmux {
1161 pins = "gpio45", "gpio46";
1162 function = "qup6";
1163 };
1164 };
1165
1166 qup_i2c7_default: qup-i2c7-default {
1167 pinmux {
1168 pins = "gpio93", "gpio94";
1169 function = "qup7";
1170 };
1171 };
1172
1173 qup_i2c8_default: qup-i2c8-default {
1174 pinmux {
1175 pins = "gpio65", "gpio66";
1176 function = "qup8";
1177 };
1178 };
1179
1180 qup_i2c9_default: qup-i2c9-default {
1181 pinmux {
1182 pins = "gpio6", "gpio7";
1183 function = "qup9";
1184 };
1185 };
1186
1187 qup_i2c10_default: qup-i2c10-default {
1188 pinmux {
1189 pins = "gpio55", "gpio56";
1190 function = "qup10";
1191 };
1192 };
1193
1194 qup_i2c11_default: qup-i2c11-default {
1195 pinmux {
1196 pins = "gpio31", "gpio32";
1197 function = "qup11";
1198 };
1199 };
1200
1201 qup_i2c12_default: qup-i2c12-default {
1202 pinmux {
1203 pins = "gpio49", "gpio50";
1204 function = "qup12";
1205 };
1206 };
1207
1208 qup_i2c13_default: qup-i2c13-default {
1209 pinmux {
1210 pins = "gpio105", "gpio106";
1211 function = "qup13";
1212 };
1213 };
1214
1215 qup_i2c14_default: qup-i2c14-default {
1216 pinmux {
1217 pins = "gpio33", "gpio34";
1218 function = "qup14";
1219 };
1220 };
1221
1222 qup_i2c15_default: qup-i2c15-default {
1223 pinmux {
1224 pins = "gpio81", "gpio82";
1225 function = "qup15";
1226 };
1227 };
1228
1229 qup_spi0_default: qup-spi0-default {
1230 pinmux {
1231 pins = "gpio0", "gpio1",
1232 "gpio2", "gpio3";
1233 function = "qup0";
1234 };
1235 };
1236
1237 qup_spi1_default: qup-spi1-default {
1238 pinmux {
1239 pins = "gpio17", "gpio18",
1240 "gpio19", "gpio20";
1241 function = "qup1";
1242 };
1243 };
1244
1245 qup_spi2_default: qup-spi2-default {
1246 pinmux {
1247 pins = "gpio27", "gpio28",
1248 "gpio29", "gpio30";
1249 function = "qup2";
1250 };
1251 };
1252
1253 qup_spi3_default: qup-spi3-default {
1254 pinmux {
1255 pins = "gpio41", "gpio42",
1256 "gpio43", "gpio44";
1257 function = "qup3";
1258 };
1259 };
1260
1261 qup_spi4_default: qup-spi4-default {
1262 pinmux {
1263 pins = "gpio89", "gpio90",
1264 "gpio91", "gpio92";
1265 function = "qup4";
1266 };
1267 };
1268
1269 qup_spi5_default: qup-spi5-default {
1270 pinmux {
1271 pins = "gpio85", "gpio86",
1272 "gpio87", "gpio88";
1273 function = "qup5";
1274 };
1275 };
1276
1277 qup_spi6_default: qup-spi6-default {
1278 pinmux {
1279 pins = "gpio45", "gpio46",
1280 "gpio47", "gpio48";
1281 function = "qup6";
1282 };
1283 };
1284
1285 qup_spi7_default: qup-spi7-default {
1286 pinmux {
1287 pins = "gpio93", "gpio94",
1288 "gpio95", "gpio96";
1289 function = "qup7";
1290 };
1291 };
1292
1293 qup_spi8_default: qup-spi8-default {
1294 pinmux {
1295 pins = "gpio65", "gpio66",
1296 "gpio67", "gpio68";
1297 function = "qup8";
1298 };
1299 };
1300
1301 qup_spi9_default: qup-spi9-default {
1302 pinmux {
1303 pins = "gpio6", "gpio7",
1304 "gpio4", "gpio5";
1305 function = "qup9";
1306 };
1307 };
1308
1309 qup_spi10_default: qup-spi10-default {
1310 pinmux {
1311 pins = "gpio55", "gpio56",
1312 "gpio53", "gpio54";
1313 function = "qup10";
1314 };
1315 };
1316
1317 qup_spi11_default: qup-spi11-default {
1318 pinmux {
1319 pins = "gpio31", "gpio32",
1320 "gpio33", "gpio34";
1321 function = "qup11";
1322 };
1323 };
1324
1325 qup_spi12_default: qup-spi12-default {
1326 pinmux {
1327 pins = "gpio49", "gpio50",
1328 "gpio51", "gpio52";
1329 function = "qup12";
1330 };
1331 };
1332
1333 qup_spi13_default: qup-spi13-default {
1334 pinmux {
1335 pins = "gpio105", "gpio106",
1336 "gpio107", "gpio108";
1337 function = "qup13";
1338 };
1339 };
1340
1341 qup_spi14_default: qup-spi14-default {
1342 pinmux {
1343 pins = "gpio33", "gpio34",
1344 "gpio31", "gpio32";
1345 function = "qup14";
1346 };
1347 };
1348
1349 qup_spi15_default: qup-spi15-default {
1350 pinmux {
1351 pins = "gpio81", "gpio82",
1352 "gpio83", "gpio84";
1353 function = "qup15";
1354 };
1355 };
1356
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001357 qup_uart0_default: qup-uart0-default {
1358 pinmux {
1359 pins = "gpio2", "gpio3";
1360 function = "qup0";
1361 };
1362 };
1363
1364 qup_uart1_default: qup-uart1-default {
1365 pinmux {
1366 pins = "gpio19", "gpio20";
1367 function = "qup1";
1368 };
1369 };
1370
1371 qup_uart2_default: qup-uart2-default {
1372 pinmux {
1373 pins = "gpio29", "gpio30";
1374 function = "qup2";
1375 };
1376 };
1377
1378 qup_uart3_default: qup-uart3-default {
1379 pinmux {
1380 pins = "gpio43", "gpio44";
1381 function = "qup3";
1382 };
1383 };
1384
1385 qup_uart4_default: qup-uart4-default {
1386 pinmux {
1387 pins = "gpio91", "gpio92";
1388 function = "qup4";
1389 };
1390 };
1391
1392 qup_uart5_default: qup-uart5-default {
1393 pinmux {
1394 pins = "gpio87", "gpio88";
1395 function = "qup5";
1396 };
1397 };
1398
1399 qup_uart6_default: qup-uart6-default {
1400 pinmux {
1401 pins = "gpio47", "gpio48";
1402 function = "qup6";
1403 };
1404 };
1405
1406 qup_uart7_default: qup-uart7-default {
1407 pinmux {
1408 pins = "gpio95", "gpio96";
1409 function = "qup7";
1410 };
1411 };
1412
1413 qup_uart8_default: qup-uart8-default {
1414 pinmux {
1415 pins = "gpio67", "gpio68";
1416 function = "qup8";
1417 };
1418 };
1419
Douglas Anderson897cf342018-06-13 09:53:51 -07001420 qup_uart9_default: qup-uart9-default {
1421 pinmux {
1422 pins = "gpio4", "gpio5";
1423 function = "qup9";
1424 };
1425 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001426
1427 qup_uart10_default: qup-uart10-default {
1428 pinmux {
1429 pins = "gpio53", "gpio54";
1430 function = "qup10";
1431 };
1432 };
1433
1434 qup_uart11_default: qup-uart11-default {
1435 pinmux {
1436 pins = "gpio33", "gpio34";
1437 function = "qup11";
1438 };
1439 };
1440
1441 qup_uart12_default: qup-uart12-default {
1442 pinmux {
1443 pins = "gpio51", "gpio52";
1444 function = "qup12";
1445 };
1446 };
1447
1448 qup_uart13_default: qup-uart13-default {
1449 pinmux {
1450 pins = "gpio107", "gpio108";
1451 function = "qup13";
1452 };
1453 };
1454
1455 qup_uart14_default: qup-uart14-default {
1456 pinmux {
1457 pins = "gpio31", "gpio32";
1458 function = "qup14";
1459 };
1460 };
1461
1462 qup_uart15_default: qup-uart15-default {
1463 pinmux {
1464 pins = "gpio83", "gpio84";
1465 function = "qup15";
1466 };
1467 };
Douglas Anderson54d7a202018-05-14 20:59:22 -07001468 };
1469
Douglas Anderson9aa4a272018-11-28 10:57:43 -08001470 gpucc: clock-controller@5090000 {
1471 compatible = "qcom,sdm845-gpucc";
1472 reg = <0x05090000 0x9000>;
1473 #clock-cells = <1>;
1474 #reset-cells = <1>;
1475 #power-domain-cells = <1>;
1476 clocks = <&rpmhcc RPMH_CXO_CLK>;
1477 clock-names = "xo";
1478 };
1479
Evan Green67d62e52018-12-06 10:45:21 -08001480 sdhc_2: sdhci@8804000 {
1481 compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
1482 reg = <0x8804000 0x1000>;
1483
1484 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
1485 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
1486 interrupt-names = "hc_irq", "pwr_irq";
1487
1488 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
1489 <&gcc GCC_SDCC2_APPS_CLK>;
1490 clock-names = "iface", "core";
1491
1492 status = "disabled";
1493 };
1494
Douglas Andersone1ce8532018-10-08 13:17:11 -07001495 qspi: spi@88df000 {
1496 compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
1497 reg = <0x88df000 0x600>;
1498 #address-cells = <1>;
1499 #size-cells = <0>;
1500 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1501 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
1502 <&gcc GCC_QSPI_CORE_CLK>;
1503 clock-names = "iface", "core";
1504 status = "disabled";
1505 };
1506
Manu Gautamca4db2b2018-08-22 10:36:27 -07001507 usb_1_hsphy: phy@88e2000 {
1508 compatible = "qcom,sdm845-qusb2-phy";
1509 reg = <0x88e2000 0x400>;
1510 status = "disabled";
1511 #phy-cells = <0>;
1512
1513 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1514 <&rpmhcc RPMH_CXO_CLK>;
1515 clock-names = "cfg_ahb", "ref";
1516
1517 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1518
1519 nvmem-cells = <&qusb2p_hstx_trim>;
1520 };
1521
1522 usb_2_hsphy: phy@88e3000 {
1523 compatible = "qcom,sdm845-qusb2-phy";
1524 reg = <0x88e3000 0x400>;
1525 status = "disabled";
1526 #phy-cells = <0>;
1527
1528 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1529 <&rpmhcc RPMH_CXO_CLK>;
1530 clock-names = "cfg_ahb", "ref";
1531
1532 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
1533
1534 nvmem-cells = <&qusb2s_hstx_trim>;
1535 };
1536
1537 usb_1_qmpphy: phy@88e9000 {
1538 compatible = "qcom,sdm845-qmp-usb3-phy";
1539 reg = <0x88e9000 0x18c>,
1540 <0x88e8000 0x10>;
1541 reg-names = "reg-base", "dp_com";
1542 status = "disabled";
1543 #clock-cells = <1>;
1544 #address-cells = <1>;
1545 #size-cells = <1>;
1546 ranges;
1547
1548 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
1549 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1550 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
1551 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
1552 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1553
1554 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
1555 <&gcc GCC_USB3_PHY_PRIM_BCR>;
1556 reset-names = "phy", "common";
1557
Evan Green9ebfcba2018-12-10 11:28:26 -08001558 usb_1_ssphy: lanes@88e9200 {
Manu Gautamca4db2b2018-08-22 10:36:27 -07001559 reg = <0x88e9200 0x128>,
1560 <0x88e9400 0x200>,
1561 <0x88e9c00 0x218>,
Evan Green9ebfcba2018-12-10 11:28:26 -08001562 <0x88e9600 0x128>,
1563 <0x88e9800 0x200>,
Manu Gautamca4db2b2018-08-22 10:36:27 -07001564 <0x88e9a00 0x100>;
1565 #phy-cells = <0>;
1566 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
1567 clock-names = "pipe0";
1568 clock-output-names = "usb3_phy_pipe_clk_src";
1569 };
1570 };
1571
1572 usb_2_qmpphy: phy@88eb000 {
1573 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
1574 reg = <0x88eb000 0x18c>;
1575 status = "disabled";
1576 #clock-cells = <1>;
1577 #address-cells = <1>;
1578 #size-cells = <1>;
1579 ranges;
1580
1581 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
1582 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1583 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
1584 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
1585 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1586
1587 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
1588 <&gcc GCC_USB3_PHY_SEC_BCR>;
1589 reset-names = "phy", "common";
1590
1591 usb_2_ssphy: lane@88eb200 {
1592 reg = <0x88eb200 0x128>,
1593 <0x88eb400 0x1fc>,
1594 <0x88eb800 0x218>,
Manu Gautam539e7a62018-10-25 22:53:17 +05301595 <0x88eb600 0x70>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001596 #phy-cells = <0>;
1597 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
1598 clock-names = "pipe0";
1599 clock-output-names = "usb3_uni_phy_pipe_clk_src";
1600 };
1601 };
1602
1603 usb_1: usb@a6f8800 {
1604 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
1605 reg = <0xa6f8800 0x400>;
1606 status = "disabled";
1607 #address-cells = <1>;
1608 #size-cells = <1>;
1609 ranges;
1610
1611 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
1612 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
1613 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
1614 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1615 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
1616 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1617 "sleep";
1618
1619 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1620 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
1621 assigned-clock-rates = <19200000>, <150000000>;
1622
1623 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
1624 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
1625 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
1626 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
1627 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1628 "dm_hs_phy_irq", "dp_hs_phy_irq";
1629
1630 power-domains = <&gcc USB30_PRIM_GDSC>;
1631
1632 resets = <&gcc GCC_USB30_PRIM_BCR>;
1633
1634 usb_1_dwc3: dwc3@a600000 {
1635 compatible = "snps,dwc3";
1636 reg = <0xa600000 0xcd00>;
1637 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
1638 snps,dis_u2_susphy_quirk;
1639 snps,dis_enblslpm_quirk;
1640 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
1641 phy-names = "usb2-phy", "usb3-phy";
1642 };
1643 };
1644
1645 usb_2: usb@a8f8800 {
1646 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
1647 reg = <0xa8f8800 0x400>;
1648 status = "disabled";
1649 #address-cells = <1>;
1650 #size-cells = <1>;
1651 ranges;
1652
1653 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
1654 <&gcc GCC_USB30_SEC_MASTER_CLK>,
1655 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
1656 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1657 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
1658 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1659 "sleep";
1660
1661 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1662 <&gcc GCC_USB30_SEC_MASTER_CLK>;
1663 assigned-clock-rates = <19200000>, <150000000>;
1664
1665 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
1666 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
1667 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
1668 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
1669 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1670 "dm_hs_phy_irq", "dp_hs_phy_irq";
1671
1672 power-domains = <&gcc USB30_SEC_GDSC>;
1673
1674 resets = <&gcc GCC_USB30_SEC_BCR>;
1675
1676 usb_2_dwc3: dwc3@a800000 {
1677 compatible = "snps,dwc3";
1678 reg = <0xa800000 0xcd00>;
1679 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
1680 snps,dis_u2_susphy_quirk;
1681 snps,dis_enblslpm_quirk;
1682 phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
1683 phy-names = "usb2-phy", "usb3-phy";
1684 };
1685 };
1686
Taniya Das05556682018-12-03 11:36:29 -08001687 videocc: clock-controller@ab00000 {
1688 compatible = "qcom,sdm845-videocc";
1689 reg = <0x0ab00000 0x10000>;
1690 #clock-cells = <1>;
1691 #power-domain-cells = <1>;
1692 #reset-cells = <1>;
1693 };
1694
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001695 mdss: mdss@ae00000 {
1696 compatible = "qcom,sdm845-mdss";
1697 reg = <0x0ae00000 0x1000>;
1698 reg-names = "mdss";
1699
1700 power-domains = <&dispcc MDSS_GDSC>;
1701
1702 clocks = <&gcc GCC_DISP_AHB_CLK>,
1703 <&gcc GCC_DISP_AXI_CLK>,
1704 <&dispcc DISP_CC_MDSS_MDP_CLK>;
1705 clock-names = "iface", "bus", "core";
1706
1707 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>;
1708 assigned-clock-rates = <300000000>;
1709
1710 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
1711 interrupt-controller;
1712 #interrupt-cells = <1>;
1713
1714 iommus = <&apps_smmu 0x880 0x8>,
1715 <&apps_smmu 0xc80 0x8>;
1716
1717 status = "disabled";
1718
1719 #address-cells = <1>;
1720 #size-cells = <1>;
1721 ranges;
1722
1723 mdss_mdp: mdp@ae01000 {
1724 compatible = "qcom,sdm845-dpu";
1725 reg = <0x0ae01000 0x8f000>,
1726 <0x0aeb0000 0x2008>;
1727 reg-names = "mdp", "vbif";
1728
1729 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
1730 <&dispcc DISP_CC_MDSS_AXI_CLK>,
1731 <&dispcc DISP_CC_MDSS_MDP_CLK>,
1732 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
1733 clock-names = "iface", "bus", "core", "vsync";
1734
1735 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
1736 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
1737 assigned-clock-rates = <300000000>,
1738 <19200000>;
1739
1740 interrupt-parent = <&mdss>;
1741 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
1742
1743 status = "disabled";
1744
1745 ports {
1746 #address-cells = <1>;
1747 #size-cells = <0>;
1748
1749 port@0 {
1750 reg = <0>;
1751 dpu_intf1_out: endpoint {
1752 remote-endpoint = <&dsi0_in>;
1753 };
1754 };
1755
1756 port@1 {
1757 reg = <1>;
1758 dpu_intf2_out: endpoint {
1759 remote-endpoint = <&dsi1_in>;
1760 };
1761 };
1762 };
1763 };
1764
1765 dsi0: dsi@ae94000 {
1766 compatible = "qcom,mdss-dsi-ctrl";
1767 reg = <0xae94000 0x400>;
1768 reg-names = "dsi_ctrl";
1769
1770 interrupt-parent = <&mdss>;
1771 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
1772
1773 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
1774 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
1775 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
1776 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
1777 <&dispcc DISP_CC_MDSS_AHB_CLK>,
1778 <&dispcc DISP_CC_MDSS_AXI_CLK>;
1779 clock-names = "byte",
1780 "byte_intf",
1781 "pixel",
1782 "core",
1783 "iface",
1784 "bus";
1785
1786 phys = <&dsi0_phy>;
1787 phy-names = "dsi";
1788
1789 status = "disabled";
1790
1791 #address-cells = <1>;
1792 #size-cells = <0>;
1793
1794 ports {
1795 #address-cells = <1>;
1796 #size-cells = <0>;
1797
1798 port@0 {
1799 reg = <0>;
1800 dsi0_in: endpoint {
1801 remote-endpoint = <&dpu_intf1_out>;
1802 };
1803 };
1804
1805 port@1 {
1806 reg = <1>;
1807 dsi0_out: endpoint {
1808 };
1809 };
1810 };
1811 };
1812
1813 dsi0_phy: dsi-phy@ae94400 {
1814 compatible = "qcom,dsi-phy-10nm";
1815 reg = <0xae94400 0x200>,
1816 <0xae94600 0x280>,
1817 <0xae94a00 0x1e0>;
1818 reg-names = "dsi_phy",
1819 "dsi_phy_lane",
1820 "dsi_pll";
1821
1822 #clock-cells = <1>;
1823 #phy-cells = <0>;
1824
1825 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>;
1826 clock-names = "iface";
1827
1828 status = "disabled";
1829 };
1830
1831 dsi1: dsi@ae96000 {
1832 compatible = "qcom,mdss-dsi-ctrl";
1833 reg = <0xae96000 0x400>;
1834 reg-names = "dsi_ctrl";
1835
1836 interrupt-parent = <&mdss>;
1837 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
1838
1839 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
1840 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
1841 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
1842 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
1843 <&dispcc DISP_CC_MDSS_AHB_CLK>,
1844 <&dispcc DISP_CC_MDSS_AXI_CLK>;
1845 clock-names = "byte",
1846 "byte_intf",
1847 "pixel",
1848 "core",
1849 "iface",
1850 "bus";
1851
1852 phys = <&dsi1_phy>;
1853 phy-names = "dsi";
1854
1855 status = "disabled";
1856
1857 #address-cells = <1>;
1858 #size-cells = <0>;
1859
1860 ports {
1861 #address-cells = <1>;
1862 #size-cells = <0>;
1863
1864 port@0 {
1865 reg = <0>;
1866 dsi1_in: endpoint {
1867 remote-endpoint = <&dpu_intf2_out>;
1868 };
1869 };
1870
1871 port@1 {
1872 reg = <1>;
1873 dsi1_out: endpoint {
1874 };
1875 };
1876 };
1877 };
1878
1879 dsi1_phy: dsi-phy@ae96400 {
1880 compatible = "qcom,dsi-phy-10nm";
1881 reg = <0xae96400 0x200>,
1882 <0xae96600 0x280>,
1883 <0xae96a00 0x10e>;
1884 reg-names = "dsi_phy",
1885 "dsi_phy_lane",
1886 "dsi_pll";
1887
1888 #clock-cells = <1>;
1889 #phy-cells = <0>;
1890
1891 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>;
1892 clock-names = "iface";
1893
1894 status = "disabled";
1895 };
1896 };
1897
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07001898 dispcc: clock-controller@af00000 {
1899 compatible = "qcom,sdm845-dispcc";
1900 reg = <0xaf00000 0x10000>;
1901 #clock-cells = <1>;
1902 #reset-cells = <1>;
1903 #power-domain-cells = <1>;
1904 };
1905
Sibi Sankar13393da2018-10-26 17:56:53 +05301906 pdc_reset: reset-controller@b2e0000 {
1907 compatible = "qcom,sdm845-pdc-global";
1908 reg = <0x0b2e0000 0x20000>;
1909 #reset-cells = <1>;
1910 };
1911
Amit Kucheriacda676b2018-07-18 12:13:13 +05301912 tsens0: thermal-sensor@c263000 {
1913 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
1914 reg = <0xc263000 0x1ff>, /* TM */
1915 <0xc222000 0x1ff>; /* SROT */
1916 #qcom,sensors = <13>;
1917 #thermal-sensor-cells = <1>;
1918 };
1919
1920 tsens1: thermal-sensor@c265000 {
1921 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
1922 reg = <0xc265000 0x1ff>, /* TM */
1923 <0xc223000 0x1ff>; /* SROT */
1924 #qcom,sensors = <8>;
1925 #thermal-sensor-cells = <1>;
1926 };
1927
Sibi Sankaread5eea2018-09-01 15:23:55 -07001928 aoss_reset: reset-controller@c2a0000 {
1929 compatible = "qcom,sdm845-aoss-cc";
1930 reg = <0xc2a0000 0x31000>;
1931 #reset-cells = <1>;
1932 };
1933
Douglas Anderson54d7a202018-05-14 20:59:22 -07001934 spmi_bus: spmi@c440000 {
1935 compatible = "qcom,spmi-pmic-arb";
1936 reg = <0xc440000 0x1100>,
1937 <0xc600000 0x2000000>,
1938 <0xe600000 0x100000>,
1939 <0xe700000 0xa0000>,
1940 <0xc40a000 0x26000>;
1941 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1942 interrupt-names = "periph_irq";
1943 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
1944 qcom,ee = <0>;
1945 qcom,channel = <0>;
1946 #address-cells = <2>;
1947 #size-cells = <0>;
1948 interrupt-controller;
1949 #interrupt-cells = <4>;
1950 cell-index = <0>;
1951 };
1952
Vivek Gautam4429e572018-10-11 15:19:30 +05301953 apps_smmu: iommu@15000000 {
1954 compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
1955 reg = <0x15000000 0x80000>;
1956 #iommu-cells = <2>;
1957 #global-interrupts = <1>;
1958 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
1959 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
1960 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
1961 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
1962 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
1963 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
1964 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
1965 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
1966 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
1967 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
1968 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
1969 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
1970 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
1971 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
1972 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
1973 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
1974 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
1975 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
1976 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
1977 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
1978 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
1979 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1980 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1981 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1982 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
1983 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
1984 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
1985 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
1986 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
1987 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
1988 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
1989 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
1990 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
1991 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
1992 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
1993 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
1994 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
1995 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
1996 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
1997 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
1998 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
1999 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
2000 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
2001 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
2002 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
2003 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
2004 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
2005 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
2006 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
2007 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
2008 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
2009 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
2010 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
2011 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
2012 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
2013 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
2014 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
2015 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
2016 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
2017 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
2018 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
2019 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
2020 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
2021 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
2022 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
2023 };
2024
Taniya Das0cef5dd2018-12-05 13:30:36 +05302025 lpasscc: clock-controller@17014000 {
2026 compatible = "qcom,sdm845-lpasscc";
2027 reg = <0x17014000 0x1f004>, <0x17300000 0x200>;
2028 reg-names = "cc", "qdsp6ss";
2029 #clock-cells = <1>;
2030 status = "disabled";
2031 };
2032
Douglas Anderson54d7a202018-05-14 20:59:22 -07002033 apss_shared: mailbox@17990000 {
2034 compatible = "qcom,sdm845-apss-shared";
2035 reg = <0x17990000 0x1000>;
2036 #mbox-cells = <1>;
2037 };
2038
Douglas Andersonc83545d2018-06-18 14:50:50 -07002039 apps_rsc: rsc@179c0000 {
2040 label = "apps_rsc";
2041 compatible = "qcom,rpmh-rsc";
2042 reg = <0x179c0000 0x10000>,
2043 <0x179d0000 0x10000>,
2044 <0x179e0000 0x10000>;
2045 reg-names = "drv-0", "drv-1", "drv-2";
2046 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
2047 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
2048 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
2049 qcom,tcs-offset = <0xd00>;
2050 qcom,drv-id = <2>;
2051 qcom,tcs-config = <ACTIVE_TCS 2>,
2052 <SLEEP_TCS 3>,
2053 <WAKE_TCS 3>,
2054 <CONTROL_TCS 1>;
Douglas Anderson717f2012018-06-18 14:50:51 -07002055
2056 rpmhcc: clock-controller {
2057 compatible = "qcom,sdm845-rpmh-clk";
2058 #clock-cells = <1>;
2059 };
Douglas Andersonc83545d2018-06-18 14:50:50 -07002060 };
2061
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302062 intc: interrupt-controller@17a00000 {
2063 compatible = "arm,gic-v3";
2064 #address-cells = <1>;
2065 #size-cells = <1>;
2066 ranges;
2067 #interrupt-cells = <3>;
2068 interrupt-controller;
2069 reg = <0x17a00000 0x10000>, /* GICD */
2070 <0x17a60000 0x100000>; /* GICR * 8 */
2071 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
2072
2073 gic-its@17a40000 {
2074 compatible = "arm,gic-v3-its";
2075 msi-controller;
2076 #msi-cells = <1>;
2077 reg = <0x17a40000 0x20000>;
2078 status = "disabled";
2079 };
2080 };
2081
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302082 timer@17c90000 {
2083 #address-cells = <1>;
2084 #size-cells = <1>;
2085 ranges;
2086 compatible = "arm,armv7-timer-mem";
2087 reg = <0x17c90000 0x1000>;
2088
2089 frame@17ca0000 {
2090 frame-number = <0>;
2091 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
2092 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
2093 reg = <0x17ca0000 0x1000>,
2094 <0x17cb0000 0x1000>;
2095 };
2096
2097 frame@17cc0000 {
2098 frame-number = <1>;
2099 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
2100 reg = <0x17cc0000 0x1000>;
2101 status = "disabled";
2102 };
2103
2104 frame@17cd0000 {
2105 frame-number = <2>;
2106 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
2107 reg = <0x17cd0000 0x1000>;
2108 status = "disabled";
2109 };
2110
2111 frame@17ce0000 {
2112 frame-number = <3>;
2113 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
2114 reg = <0x17ce0000 0x1000>;
2115 status = "disabled";
2116 };
2117
2118 frame@17cf0000 {
2119 frame-number = <4>;
2120 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
2121 reg = <0x17cf0000 0x1000>;
2122 status = "disabled";
2123 };
2124
2125 frame@17d00000 {
2126 frame-number = <5>;
2127 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
2128 reg = <0x17d00000 0x1000>;
2129 status = "disabled";
2130 };
2131
2132 frame@17d10000 {
2133 frame-number = <6>;
2134 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
2135 reg = <0x17d10000 0x1000>;
2136 status = "disabled";
2137 };
2138 };
Taniya Dasc604b82a2018-12-21 23:44:23 +05302139
2140 cpufreq_hw: cpufreq@17d43000 {
2141 compatible = "qcom,cpufreq-hw";
2142 reg = <0x17d43000 0x1400>, <0x17d45800 0x1400>;
2143 reg-names = "freq-domain0", "freq-domain1";
2144
2145 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
2146 clock-names = "xo", "alternate";
2147
2148 #freq-domain-cells = <1>;
2149 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302150 };
Amit Kucheria48847882018-06-12 15:26:54 +03002151
2152 thermal-zones {
2153 cpu0-thermal {
2154 polling-delay-passive = <250>;
2155 polling-delay = <1000>;
2156
2157 thermal-sensors = <&tsens0 1>;
2158
2159 trips {
2160 cpu_alert0: trip0 {
2161 temperature = <75000>;
2162 hysteresis = <2000>;
2163 type = "passive";
2164 };
2165
2166 cpu_crit0: trip1 {
2167 temperature = <110000>;
2168 hysteresis = <1000>;
2169 type = "critical";
2170 };
2171 };
2172 };
2173
2174 cpu1-thermal {
2175 polling-delay-passive = <250>;
2176 polling-delay = <1000>;
2177
2178 thermal-sensors = <&tsens0 2>;
2179
2180 trips {
2181 cpu_alert1: trip0 {
2182 temperature = <75000>;
2183 hysteresis = <2000>;
2184 type = "passive";
2185 };
2186
2187 cpu_crit1: trip1 {
2188 temperature = <110000>;
2189 hysteresis = <1000>;
2190 type = "critical";
2191 };
2192 };
2193 };
2194
2195 cpu2-thermal {
2196 polling-delay-passive = <250>;
2197 polling-delay = <1000>;
2198
2199 thermal-sensors = <&tsens0 3>;
2200
2201 trips {
2202 cpu_alert2: trip0 {
2203 temperature = <75000>;
2204 hysteresis = <2000>;
2205 type = "passive";
2206 };
2207
2208 cpu_crit2: trip1 {
2209 temperature = <110000>;
2210 hysteresis = <1000>;
2211 type = "critical";
2212 };
2213 };
2214 };
2215
2216 cpu3-thermal {
2217 polling-delay-passive = <250>;
2218 polling-delay = <1000>;
2219
2220 thermal-sensors = <&tsens0 4>;
2221
2222 trips {
2223 cpu_alert3: trip0 {
2224 temperature = <75000>;
2225 hysteresis = <2000>;
2226 type = "passive";
2227 };
2228
2229 cpu_crit3: trip1 {
2230 temperature = <110000>;
2231 hysteresis = <1000>;
2232 type = "critical";
2233 };
2234 };
2235 };
2236
2237 cpu4-thermal {
2238 polling-delay-passive = <250>;
2239 polling-delay = <1000>;
2240
2241 thermal-sensors = <&tsens0 7>;
2242
2243 trips {
2244 cpu_alert4: trip0 {
2245 temperature = <75000>;
2246 hysteresis = <2000>;
2247 type = "passive";
2248 };
2249
2250 cpu_crit4: trip1 {
2251 temperature = <110000>;
2252 hysteresis = <1000>;
2253 type = "critical";
2254 };
2255 };
2256 };
2257
2258 cpu5-thermal {
2259 polling-delay-passive = <250>;
2260 polling-delay = <1000>;
2261
2262 thermal-sensors = <&tsens0 8>;
2263
2264 trips {
2265 cpu_alert5: trip0 {
2266 temperature = <75000>;
2267 hysteresis = <2000>;
2268 type = "passive";
2269 };
2270
2271 cpu_crit5: trip1 {
2272 temperature = <110000>;
2273 hysteresis = <1000>;
2274 type = "critical";
2275 };
2276 };
2277 };
2278
2279 cpu6-thermal {
2280 polling-delay-passive = <250>;
2281 polling-delay = <1000>;
2282
2283 thermal-sensors = <&tsens0 9>;
2284
2285 trips {
2286 cpu_alert6: trip0 {
2287 temperature = <75000>;
2288 hysteresis = <2000>;
2289 type = "passive";
2290 };
2291
2292 cpu_crit6: trip1 {
2293 temperature = <110000>;
2294 hysteresis = <1000>;
2295 type = "critical";
2296 };
2297 };
2298 };
2299
2300 cpu7-thermal {
2301 polling-delay-passive = <250>;
2302 polling-delay = <1000>;
2303
2304 thermal-sensors = <&tsens0 10>;
2305
2306 trips {
2307 cpu_alert7: trip0 {
2308 temperature = <75000>;
2309 hysteresis = <2000>;
2310 type = "passive";
2311 };
2312
2313 cpu_crit7: trip1 {
2314 temperature = <110000>;
2315 hysteresis = <1000>;
2316 type = "critical";
2317 };
2318 };
2319 };
2320 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302321};