1 // SPDX-License-Identifier: GPL-2.0
3 * SDM845 SoC device tree source
5 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
8 #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
9 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
10 #include <dt-bindings/clock/qcom,rpmh.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/phy/phy-qcom-qusb2.h>
13 #include <dt-bindings/reset/qcom,sdm845-aoss.h>
14 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
17 interrupt-parent = <&intc>;
60 device_type = "memory";
61 /* We expect the bootloader to fill in the size */
62 reg = <0 0x80000000 0 0>;
71 reg = <0 0x85fc0000 0 0x20000>;
76 compatible = "qcom,cmd-db";
77 reg = <0x0 0x85fe0000 0x0 0x20000>;
81 smem_mem: memory@86000000 {
82 reg = <0x0 0x86000000 0x0 0x200000>;
87 reg = <0 0x86200000 0 0x2d00000>;
98 compatible = "qcom,kryo385";
100 enable-method = "psci";
101 next-level-cache = <&L2_0>;
103 compatible = "cache";
104 next-level-cache = <&L3_0>;
106 compatible = "cache";
113 compatible = "qcom,kryo385";
115 enable-method = "psci";
116 next-level-cache = <&L2_100>;
118 compatible = "cache";
119 next-level-cache = <&L3_0>;
125 compatible = "qcom,kryo385";
127 enable-method = "psci";
128 next-level-cache = <&L2_200>;
130 compatible = "cache";
131 next-level-cache = <&L3_0>;
137 compatible = "qcom,kryo385";
139 enable-method = "psci";
140 next-level-cache = <&L2_300>;
142 compatible = "cache";
143 next-level-cache = <&L3_0>;
149 compatible = "qcom,kryo385";
151 enable-method = "psci";
152 next-level-cache = <&L2_400>;
154 compatible = "cache";
155 next-level-cache = <&L3_0>;
161 compatible = "qcom,kryo385";
163 enable-method = "psci";
164 next-level-cache = <&L2_500>;
166 compatible = "cache";
167 next-level-cache = <&L3_0>;
173 compatible = "qcom,kryo385";
175 enable-method = "psci";
176 next-level-cache = <&L2_600>;
178 compatible = "cache";
179 next-level-cache = <&L3_0>;
185 compatible = "qcom,kryo385";
187 enable-method = "psci";
188 next-level-cache = <&L2_700>;
190 compatible = "cache";
191 next-level-cache = <&L3_0>;
197 compatible = "arm,armv8-pmuv3";
198 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
202 compatible = "arm,armv8-timer";
203 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
204 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
205 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
206 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
211 compatible = "fixed-clock";
213 clock-frequency = <38400000>;
214 clock-output-names = "xo_board";
217 sleep_clk: sleep-clk {
218 compatible = "fixed-clock";
220 clock-frequency = <32764>;
225 compatible = "qcom,tcsr-mutex";
226 syscon = <&tcsr_mutex_regs 0 0x1000>;
231 compatible = "qcom,smem";
232 memory-region = <&smem_mem>;
233 hwlocks = <&tcsr_mutex 3>;
237 compatible = "qcom,smp2p";
238 qcom,smem = <94>, <432>;
240 interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
242 mboxes = <&apss_shared 6>;
244 qcom,local-pid = <0>;
245 qcom,remote-pid = <5>;
247 cdsp_smp2p_out: master-kernel {
248 qcom,entry-name = "master-kernel";
249 #qcom,smem-state-cells = <1>;
252 cdsp_smp2p_in: slave-kernel {
253 qcom,entry-name = "slave-kernel";
255 interrupt-controller;
256 #interrupt-cells = <2>;
261 compatible = "qcom,smp2p";
262 qcom,smem = <443>, <429>;
264 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
266 mboxes = <&apss_shared 10>;
268 qcom,local-pid = <0>;
269 qcom,remote-pid = <2>;
271 adsp_smp2p_out: master-kernel {
272 qcom,entry-name = "master-kernel";
273 #qcom,smem-state-cells = <1>;
276 adsp_smp2p_in: slave-kernel {
277 qcom,entry-name = "slave-kernel";
279 interrupt-controller;
280 #interrupt-cells = <2>;
285 compatible = "qcom,smp2p";
286 qcom,smem = <435>, <428>;
287 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
288 mboxes = <&apss_shared 14>;
289 qcom,local-pid = <0>;
290 qcom,remote-pid = <1>;
292 modem_smp2p_out: master-kernel {
293 qcom,entry-name = "master-kernel";
294 #qcom,smem-state-cells = <1>;
297 modem_smp2p_in: slave-kernel {
298 qcom,entry-name = "slave-kernel";
299 interrupt-controller;
300 #interrupt-cells = <2>;
305 compatible = "qcom,smp2p";
306 qcom,smem = <481>, <430>;
307 interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
308 mboxes = <&apss_shared 26>;
309 qcom,local-pid = <0>;
310 qcom,remote-pid = <3>;
312 slpi_smp2p_out: master-kernel {
313 qcom,entry-name = "master-kernel";
314 #qcom,smem-state-cells = <1>;
317 slpi_smp2p_in: slave-kernel {
318 qcom,entry-name = "slave-kernel";
319 interrupt-controller;
320 #interrupt-cells = <2>;
325 compatible = "arm,psci-1.0";
330 #address-cells = <1>;
332 ranges = <0 0 0 0xffffffff>;
333 compatible = "simple-bus";
335 gcc: clock-controller@100000 {
336 compatible = "qcom,gcc-sdm845";
337 reg = <0x100000 0x1f0000>;
340 #power-domain-cells = <1>;
344 compatible = "qcom,qfprom";
345 reg = <0x784000 0x8ff>;
346 #address-cells = <1>;
349 qusb2p_hstx_trim: hstx-trim-primary@1eb {
354 qusb2s_hstx_trim: hstx-trim-secondary@1eb {
360 qupv3_id_0: geniqup@8c0000 {
361 compatible = "qcom,geni-se-qup";
362 reg = <0x8c0000 0x6000>;
363 clock-names = "m-ahb", "s-ahb";
364 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
365 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
366 #address-cells = <1>;
372 compatible = "qcom,geni-i2c";
373 reg = <0x880000 0x4000>;
375 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
376 pinctrl-names = "default";
377 pinctrl-0 = <&qup_i2c0_default>;
378 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
379 #address-cells = <1>;
385 compatible = "qcom,geni-spi";
386 reg = <0x880000 0x4000>;
388 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
389 pinctrl-names = "default";
390 pinctrl-0 = <&qup_spi0_default>;
391 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
392 #address-cells = <1>;
398 compatible = "qcom,geni-i2c";
399 reg = <0x884000 0x4000>;
401 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
402 pinctrl-names = "default";
403 pinctrl-0 = <&qup_i2c1_default>;
404 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
405 #address-cells = <1>;
411 compatible = "qcom,geni-spi";
412 reg = <0x884000 0x4000>;
414 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
415 pinctrl-names = "default";
416 pinctrl-0 = <&qup_spi1_default>;
417 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
418 #address-cells = <1>;
424 compatible = "qcom,geni-i2c";
425 reg = <0x888000 0x4000>;
427 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
428 pinctrl-names = "default";
429 pinctrl-0 = <&qup_i2c2_default>;
430 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
431 #address-cells = <1>;
437 compatible = "qcom,geni-spi";
438 reg = <0x888000 0x4000>;
440 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
441 pinctrl-names = "default";
442 pinctrl-0 = <&qup_spi2_default>;
443 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
444 #address-cells = <1>;
450 compatible = "qcom,geni-i2c";
451 reg = <0x88c000 0x4000>;
453 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
454 pinctrl-names = "default";
455 pinctrl-0 = <&qup_i2c3_default>;
456 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
457 #address-cells = <1>;
463 compatible = "qcom,geni-spi";
464 reg = <0x88c000 0x4000>;
466 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
467 pinctrl-names = "default";
468 pinctrl-0 = <&qup_spi3_default>;
469 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
470 #address-cells = <1>;
476 compatible = "qcom,geni-i2c";
477 reg = <0x890000 0x4000>;
479 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
480 pinctrl-names = "default";
481 pinctrl-0 = <&qup_i2c4_default>;
482 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
483 #address-cells = <1>;
489 compatible = "qcom,geni-spi";
490 reg = <0x890000 0x4000>;
492 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
493 pinctrl-names = "default";
494 pinctrl-0 = <&qup_spi4_default>;
495 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
496 #address-cells = <1>;
502 compatible = "qcom,geni-i2c";
503 reg = <0x894000 0x4000>;
505 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
506 pinctrl-names = "default";
507 pinctrl-0 = <&qup_i2c5_default>;
508 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
509 #address-cells = <1>;
515 compatible = "qcom,geni-spi";
516 reg = <0x894000 0x4000>;
518 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
519 pinctrl-names = "default";
520 pinctrl-0 = <&qup_spi5_default>;
521 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
522 #address-cells = <1>;
528 compatible = "qcom,geni-i2c";
529 reg = <0x898000 0x4000>;
531 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
532 pinctrl-names = "default";
533 pinctrl-0 = <&qup_i2c6_default>;
534 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
535 #address-cells = <1>;
541 compatible = "qcom,geni-spi";
542 reg = <0x898000 0x4000>;
544 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
545 pinctrl-names = "default";
546 pinctrl-0 = <&qup_spi6_default>;
547 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
548 #address-cells = <1>;
554 compatible = "qcom,geni-i2c";
555 reg = <0x89c000 0x4000>;
557 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
558 pinctrl-names = "default";
559 pinctrl-0 = <&qup_i2c7_default>;
560 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
561 #address-cells = <1>;
567 compatible = "qcom,geni-spi";
568 reg = <0x89c000 0x4000>;
570 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
571 pinctrl-names = "default";
572 pinctrl-0 = <&qup_spi7_default>;
573 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
574 #address-cells = <1>;
580 qupv3_id_1: geniqup@ac0000 {
581 compatible = "qcom,geni-se-qup";
582 reg = <0xac0000 0x6000>;
583 clock-names = "m-ahb", "s-ahb";
584 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
585 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
586 #address-cells = <1>;
592 compatible = "qcom,geni-i2c";
593 reg = <0xa80000 0x4000>;
595 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
596 pinctrl-names = "default";
597 pinctrl-0 = <&qup_i2c8_default>;
598 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
599 #address-cells = <1>;
605 compatible = "qcom,geni-spi";
606 reg = <0xa80000 0x4000>;
608 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
609 pinctrl-names = "default";
610 pinctrl-0 = <&qup_spi8_default>;
611 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
612 #address-cells = <1>;
618 compatible = "qcom,geni-i2c";
619 reg = <0xa84000 0x4000>;
621 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
622 pinctrl-names = "default";
623 pinctrl-0 = <&qup_i2c9_default>;
624 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
625 #address-cells = <1>;
631 compatible = "qcom,geni-spi";
632 reg = <0xa84000 0x4000>;
634 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
635 pinctrl-names = "default";
636 pinctrl-0 = <&qup_spi9_default>;
637 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
638 #address-cells = <1>;
643 uart9: serial@a84000 {
644 compatible = "qcom,geni-debug-uart";
645 reg = <0xa84000 0x4000>;
647 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
648 pinctrl-names = "default";
649 pinctrl-0 = <&qup_uart9_default>;
650 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
655 compatible = "qcom,geni-i2c";
656 reg = <0xa88000 0x4000>;
658 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
659 pinctrl-names = "default";
660 pinctrl-0 = <&qup_i2c10_default>;
661 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
662 #address-cells = <1>;
668 compatible = "qcom,geni-spi";
669 reg = <0xa88000 0x4000>;
671 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
672 pinctrl-names = "default";
673 pinctrl-0 = <&qup_spi10_default>;
674 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
675 #address-cells = <1>;
681 compatible = "qcom,geni-i2c";
682 reg = <0xa8c000 0x4000>;
684 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
685 pinctrl-names = "default";
686 pinctrl-0 = <&qup_i2c11_default>;
687 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
688 #address-cells = <1>;
694 compatible = "qcom,geni-spi";
695 reg = <0xa8c000 0x4000>;
697 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
698 pinctrl-names = "default";
699 pinctrl-0 = <&qup_spi11_default>;
700 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
701 #address-cells = <1>;
707 compatible = "qcom,geni-i2c";
708 reg = <0xa90000 0x4000>;
710 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
711 pinctrl-names = "default";
712 pinctrl-0 = <&qup_i2c12_default>;
713 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
714 #address-cells = <1>;
720 compatible = "qcom,geni-spi";
721 reg = <0xa90000 0x4000>;
723 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
724 pinctrl-names = "default";
725 pinctrl-0 = <&qup_spi12_default>;
726 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
727 #address-cells = <1>;
733 compatible = "qcom,geni-i2c";
734 reg = <0xa94000 0x4000>;
736 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
737 pinctrl-names = "default";
738 pinctrl-0 = <&qup_i2c13_default>;
739 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
740 #address-cells = <1>;
746 compatible = "qcom,geni-spi";
747 reg = <0xa94000 0x4000>;
749 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
750 pinctrl-names = "default";
751 pinctrl-0 = <&qup_spi13_default>;
752 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
753 #address-cells = <1>;
759 compatible = "qcom,geni-i2c";
760 reg = <0xa98000 0x4000>;
762 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
763 pinctrl-names = "default";
764 pinctrl-0 = <&qup_i2c14_default>;
765 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
766 #address-cells = <1>;
772 compatible = "qcom,geni-spi";
773 reg = <0xa98000 0x4000>;
775 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
776 pinctrl-names = "default";
777 pinctrl-0 = <&qup_spi14_default>;
778 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
779 #address-cells = <1>;
785 compatible = "qcom,geni-i2c";
786 reg = <0xa9c000 0x4000>;
788 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
789 pinctrl-names = "default";
790 pinctrl-0 = <&qup_i2c15_default>;
791 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
792 #address-cells = <1>;
798 compatible = "qcom,geni-spi";
799 reg = <0xa9c000 0x4000>;
801 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
802 pinctrl-names = "default";
803 pinctrl-0 = <&qup_spi15_default>;
804 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
805 #address-cells = <1>;
811 tcsr_mutex_regs: syscon@1f40000 {
812 compatible = "syscon";
813 reg = <0x1f40000 0x40000>;
816 tlmm: pinctrl@3400000 {
817 compatible = "qcom,sdm845-pinctrl";
818 reg = <0x03400000 0xc00000>;
819 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
822 interrupt-controller;
823 #interrupt-cells = <2>;
825 qup_i2c0_default: qup-i2c0-default {
827 pins = "gpio0", "gpio1";
832 qup_i2c1_default: qup-i2c1-default {
834 pins = "gpio17", "gpio18";
839 qup_i2c2_default: qup-i2c2-default {
841 pins = "gpio27", "gpio28";
846 qup_i2c3_default: qup-i2c3-default {
848 pins = "gpio41", "gpio42";
853 qup_i2c4_default: qup-i2c4-default {
855 pins = "gpio89", "gpio90";
860 qup_i2c5_default: qup-i2c5-default {
862 pins = "gpio85", "gpio86";
867 qup_i2c6_default: qup-i2c6-default {
869 pins = "gpio45", "gpio46";
874 qup_i2c7_default: qup-i2c7-default {
876 pins = "gpio93", "gpio94";
881 qup_i2c8_default: qup-i2c8-default {
883 pins = "gpio65", "gpio66";
888 qup_i2c9_default: qup-i2c9-default {
890 pins = "gpio6", "gpio7";
895 qup_i2c10_default: qup-i2c10-default {
897 pins = "gpio55", "gpio56";
902 qup_i2c11_default: qup-i2c11-default {
904 pins = "gpio31", "gpio32";
909 qup_i2c12_default: qup-i2c12-default {
911 pins = "gpio49", "gpio50";
916 qup_i2c13_default: qup-i2c13-default {
918 pins = "gpio105", "gpio106";
923 qup_i2c14_default: qup-i2c14-default {
925 pins = "gpio33", "gpio34";
930 qup_i2c15_default: qup-i2c15-default {
932 pins = "gpio81", "gpio82";
937 qup_spi0_default: qup-spi0-default {
939 pins = "gpio0", "gpio1",
945 qup_spi1_default: qup-spi1-default {
947 pins = "gpio17", "gpio18",
953 qup_spi2_default: qup-spi2-default {
955 pins = "gpio27", "gpio28",
961 qup_spi3_default: qup-spi3-default {
963 pins = "gpio41", "gpio42",
969 qup_spi4_default: qup-spi4-default {
971 pins = "gpio89", "gpio90",
977 qup_spi5_default: qup-spi5-default {
979 pins = "gpio85", "gpio86",
985 qup_spi6_default: qup-spi6-default {
987 pins = "gpio45", "gpio46",
993 qup_spi7_default: qup-spi7-default {
995 pins = "gpio93", "gpio94",
1001 qup_spi8_default: qup-spi8-default {
1003 pins = "gpio65", "gpio66",
1009 qup_spi9_default: qup-spi9-default {
1011 pins = "gpio6", "gpio7",
1017 qup_spi10_default: qup-spi10-default {
1019 pins = "gpio55", "gpio56",
1025 qup_spi11_default: qup-spi11-default {
1027 pins = "gpio31", "gpio32",
1033 qup_spi12_default: qup-spi12-default {
1035 pins = "gpio49", "gpio50",
1041 qup_spi13_default: qup-spi13-default {
1043 pins = "gpio105", "gpio106",
1044 "gpio107", "gpio108";
1049 qup_spi14_default: qup-spi14-default {
1051 pins = "gpio33", "gpio34",
1057 qup_spi15_default: qup-spi15-default {
1059 pins = "gpio81", "gpio82",
1065 qup_uart9_default: qup-uart9-default {
1067 pins = "gpio4", "gpio5";
1073 usb_1_hsphy: phy@88e2000 {
1074 compatible = "qcom,sdm845-qusb2-phy";
1075 reg = <0x88e2000 0x400>;
1076 status = "disabled";
1079 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1080 <&rpmhcc RPMH_CXO_CLK>;
1081 clock-names = "cfg_ahb", "ref";
1083 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1085 nvmem-cells = <&qusb2p_hstx_trim>;
1088 usb_2_hsphy: phy@88e3000 {
1089 compatible = "qcom,sdm845-qusb2-phy";
1090 reg = <0x88e3000 0x400>;
1091 status = "disabled";
1094 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1095 <&rpmhcc RPMH_CXO_CLK>;
1096 clock-names = "cfg_ahb", "ref";
1098 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
1100 nvmem-cells = <&qusb2s_hstx_trim>;
1103 usb_1_qmpphy: phy@88e9000 {
1104 compatible = "qcom,sdm845-qmp-usb3-phy";
1105 reg = <0x88e9000 0x18c>,
1107 reg-names = "reg-base", "dp_com";
1108 status = "disabled";
1110 #address-cells = <1>;
1114 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
1115 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1116 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
1117 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
1118 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1120 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
1121 <&gcc GCC_USB3_PHY_PRIM_BCR>;
1122 reset-names = "phy", "common";
1124 usb_1_ssphy: lane@88e9200 {
1125 reg = <0x88e9200 0x128>,
1130 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
1131 clock-names = "pipe0";
1132 clock-output-names = "usb3_phy_pipe_clk_src";
1136 usb_2_qmpphy: phy@88eb000 {
1137 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
1138 reg = <0x88eb000 0x18c>;
1139 status = "disabled";
1141 #address-cells = <1>;
1145 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
1146 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1147 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
1148 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
1149 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1151 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
1152 <&gcc GCC_USB3_PHY_SEC_BCR>;
1153 reset-names = "phy", "common";
1155 usb_2_ssphy: lane@88eb200 {
1156 reg = <0x88eb200 0x128>,
1161 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
1162 clock-names = "pipe0";
1163 clock-output-names = "usb3_uni_phy_pipe_clk_src";
1167 usb_1: usb@a6f8800 {
1168 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
1169 reg = <0xa6f8800 0x400>;
1170 status = "disabled";
1171 #address-cells = <1>;
1175 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
1176 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
1177 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
1178 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1179 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
1180 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1183 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1184 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
1185 assigned-clock-rates = <19200000>, <150000000>;
1187 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
1188 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
1189 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
1190 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
1191 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1192 "dm_hs_phy_irq", "dp_hs_phy_irq";
1194 power-domains = <&gcc USB30_PRIM_GDSC>;
1196 resets = <&gcc GCC_USB30_PRIM_BCR>;
1198 usb_1_dwc3: dwc3@a600000 {
1199 compatible = "snps,dwc3";
1200 reg = <0xa600000 0xcd00>;
1201 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
1202 snps,dis_u2_susphy_quirk;
1203 snps,dis_enblslpm_quirk;
1204 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
1205 phy-names = "usb2-phy", "usb3-phy";
1209 usb_2: usb@a8f8800 {
1210 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
1211 reg = <0xa8f8800 0x400>;
1212 status = "disabled";
1213 #address-cells = <1>;
1217 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
1218 <&gcc GCC_USB30_SEC_MASTER_CLK>,
1219 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
1220 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1221 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
1222 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1225 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1226 <&gcc GCC_USB30_SEC_MASTER_CLK>;
1227 assigned-clock-rates = <19200000>, <150000000>;
1229 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
1230 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
1231 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
1232 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
1233 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1234 "dm_hs_phy_irq", "dp_hs_phy_irq";
1236 power-domains = <&gcc USB30_SEC_GDSC>;
1238 resets = <&gcc GCC_USB30_SEC_BCR>;
1240 usb_2_dwc3: dwc3@a800000 {
1241 compatible = "snps,dwc3";
1242 reg = <0xa800000 0xcd00>;
1243 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
1244 snps,dis_u2_susphy_quirk;
1245 snps,dis_enblslpm_quirk;
1246 phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
1247 phy-names = "usb2-phy", "usb3-phy";
1251 dispcc: clock-controller@af00000 {
1252 compatible = "qcom,sdm845-dispcc";
1253 reg = <0xaf00000 0x10000>;
1256 #power-domain-cells = <1>;
1259 tsens0: thermal-sensor@c263000 {
1260 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
1261 reg = <0xc263000 0x1ff>, /* TM */
1262 <0xc222000 0x1ff>; /* SROT */
1263 #qcom,sensors = <13>;
1264 #thermal-sensor-cells = <1>;
1267 tsens1: thermal-sensor@c265000 {
1268 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
1269 reg = <0xc265000 0x1ff>, /* TM */
1270 <0xc223000 0x1ff>; /* SROT */
1271 #qcom,sensors = <8>;
1272 #thermal-sensor-cells = <1>;
1275 aoss_reset: reset-controller@c2a0000 {
1276 compatible = "qcom,sdm845-aoss-cc";
1277 reg = <0xc2a0000 0x31000>;
1281 spmi_bus: spmi@c440000 {
1282 compatible = "qcom,spmi-pmic-arb";
1283 reg = <0xc440000 0x1100>,
1284 <0xc600000 0x2000000>,
1285 <0xe600000 0x100000>,
1286 <0xe700000 0xa0000>,
1287 <0xc40a000 0x26000>;
1288 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1289 interrupt-names = "periph_irq";
1290 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
1293 #address-cells = <2>;
1295 interrupt-controller;
1296 #interrupt-cells = <4>;
1300 apss_shared: mailbox@17990000 {
1301 compatible = "qcom,sdm845-apss-shared";
1302 reg = <0x17990000 0x1000>;
1306 apps_rsc: rsc@179c0000 {
1308 compatible = "qcom,rpmh-rsc";
1309 reg = <0x179c0000 0x10000>,
1310 <0x179d0000 0x10000>,
1311 <0x179e0000 0x10000>;
1312 reg-names = "drv-0", "drv-1", "drv-2";
1313 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
1314 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
1315 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1316 qcom,tcs-offset = <0xd00>;
1318 qcom,tcs-config = <ACTIVE_TCS 2>,
1323 rpmhcc: clock-controller {
1324 compatible = "qcom,sdm845-rpmh-clk";
1329 intc: interrupt-controller@17a00000 {
1330 compatible = "arm,gic-v3";
1331 #address-cells = <1>;
1334 #interrupt-cells = <3>;
1335 interrupt-controller;
1336 reg = <0x17a00000 0x10000>, /* GICD */
1337 <0x17a60000 0x100000>; /* GICR * 8 */
1338 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
1341 compatible = "arm,gic-v3-its";
1344 reg = <0x17a40000 0x20000>;
1345 status = "disabled";
1350 #address-cells = <1>;
1353 compatible = "arm,armv7-timer-mem";
1354 reg = <0x17c90000 0x1000>;
1358 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
1359 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1360 reg = <0x17ca0000 0x1000>,
1361 <0x17cb0000 0x1000>;
1366 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1367 reg = <0x17cc0000 0x1000>;
1368 status = "disabled";
1373 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
1374 reg = <0x17cd0000 0x1000>;
1375 status = "disabled";
1380 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
1381 reg = <0x17ce0000 0x1000>;
1382 status = "disabled";
1387 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
1388 reg = <0x17cf0000 0x1000>;
1389 status = "disabled";
1394 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1395 reg = <0x17d00000 0x1000>;
1396 status = "disabled";
1401 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
1402 reg = <0x17d10000 0x1000>;
1403 status = "disabled";