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,gpucc-sdm845.h>
11 #include <dt-bindings/clock/qcom,lpass-sdm845.h>
12 #include <dt-bindings/clock/qcom,rpmh.h>
13 #include <dt-bindings/clock/qcom,videocc-sdm845.h>
14 #include <dt-bindings/interconnect/qcom,sdm845.h>
15 #include <dt-bindings/interrupt-controller/arm-gic.h>
16 #include <dt-bindings/phy/phy-qcom-qusb2.h>
17 #include <dt-bindings/power/qcom-rpmpd.h>
18 #include <dt-bindings/reset/qcom,sdm845-aoss.h>
19 #include <dt-bindings/reset/qcom,sdm845-pdc.h>
20 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
21 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
22 #include <dt-bindings/thermal/thermal.h>
25 interrupt-parent = <&intc>;
68 device_type = "memory";
69 /* We expect the bootloader to fill in the size */
70 reg = <0 0x80000000 0 0>;
78 hyp_mem: memory@85700000 {
79 reg = <0 0x85700000 0 0x600000>;
83 xbl_mem: memory@85e00000 {
84 reg = <0 0x85e00000 0 0x100000>;
88 aop_mem: memory@85fc0000 {
89 reg = <0 0x85fc0000 0 0x20000>;
93 aop_cmd_db_mem: memory@85fe0000 {
94 compatible = "qcom,cmd-db";
95 reg = <0x0 0x85fe0000 0 0x20000>;
99 smem_mem: memory@86000000 {
100 reg = <0x0 0x86000000 0 0x200000>;
104 tz_mem: memory@86200000 {
105 reg = <0 0x86200000 0 0x2d00000>;
109 rmtfs_mem: memory@88f00000 {
110 compatible = "qcom,rmtfs-mem";
111 reg = <0 0x88f00000 0 0x200000>;
114 qcom,client-id = <1>;
118 qseecom_mem: memory@8ab00000 {
119 reg = <0 0x8ab00000 0 0x1400000>;
123 camera_mem: memory@8bf00000 {
124 reg = <0 0x8bf00000 0 0x500000>;
128 ipa_fw_mem: memory@8c400000 {
129 reg = <0 0x8c400000 0 0x10000>;
133 ipa_gsi_mem: memory@8c410000 {
134 reg = <0 0x8c410000 0 0x5000>;
138 gpu_mem: memory@8c415000 {
139 reg = <0 0x8c415000 0 0x2000>;
143 adsp_mem: memory@8c500000 {
144 reg = <0 0x8c500000 0 0x1a00000>;
148 wlan_msa_mem: memory@8df00000 {
149 reg = <0 0x8df00000 0 0x100000>;
153 mpss_region: memory@8e000000 {
154 reg = <0 0x8e000000 0 0x7800000>;
158 venus_mem: memory@95800000 {
159 reg = <0 0x95800000 0 0x500000>;
163 cdsp_mem: memory@95d00000 {
164 reg = <0 0x95d00000 0 0x800000>;
168 mba_region: memory@96500000 {
169 reg = <0 0x96500000 0 0x200000>;
173 slpi_mem: memory@96700000 {
174 reg = <0 0x96700000 0 0x1400000>;
178 spss_mem: memory@97b00000 {
179 reg = <0 0x97b00000 0 0x100000>;
185 #address-cells = <2>;
190 compatible = "qcom,kryo385";
192 enable-method = "psci";
193 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
196 capacity-dmips-mhz = <607>;
197 qcom,freq-domain = <&cpufreq_hw 0>;
198 #cooling-cells = <2>;
199 next-level-cache = <&L2_0>;
201 compatible = "cache";
202 next-level-cache = <&L3_0>;
204 compatible = "cache";
211 compatible = "qcom,kryo385";
213 enable-method = "psci";
214 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
217 capacity-dmips-mhz = <607>;
218 qcom,freq-domain = <&cpufreq_hw 0>;
219 #cooling-cells = <2>;
220 next-level-cache = <&L2_100>;
222 compatible = "cache";
223 next-level-cache = <&L3_0>;
229 compatible = "qcom,kryo385";
231 enable-method = "psci";
232 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
235 capacity-dmips-mhz = <607>;
236 qcom,freq-domain = <&cpufreq_hw 0>;
237 #cooling-cells = <2>;
238 next-level-cache = <&L2_200>;
240 compatible = "cache";
241 next-level-cache = <&L3_0>;
247 compatible = "qcom,kryo385";
249 enable-method = "psci";
250 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
253 capacity-dmips-mhz = <607>;
254 qcom,freq-domain = <&cpufreq_hw 0>;
255 #cooling-cells = <2>;
256 next-level-cache = <&L2_300>;
258 compatible = "cache";
259 next-level-cache = <&L3_0>;
265 compatible = "qcom,kryo385";
267 enable-method = "psci";
268 capacity-dmips-mhz = <1024>;
269 cpu-idle-states = <&BIG_CPU_SLEEP_0
272 qcom,freq-domain = <&cpufreq_hw 1>;
273 #cooling-cells = <2>;
274 next-level-cache = <&L2_400>;
276 compatible = "cache";
277 next-level-cache = <&L3_0>;
283 compatible = "qcom,kryo385";
285 enable-method = "psci";
286 capacity-dmips-mhz = <1024>;
287 cpu-idle-states = <&BIG_CPU_SLEEP_0
290 qcom,freq-domain = <&cpufreq_hw 1>;
291 #cooling-cells = <2>;
292 next-level-cache = <&L2_500>;
294 compatible = "cache";
295 next-level-cache = <&L3_0>;
301 compatible = "qcom,kryo385";
303 enable-method = "psci";
304 capacity-dmips-mhz = <1024>;
305 cpu-idle-states = <&BIG_CPU_SLEEP_0
308 qcom,freq-domain = <&cpufreq_hw 1>;
309 #cooling-cells = <2>;
310 next-level-cache = <&L2_600>;
312 compatible = "cache";
313 next-level-cache = <&L3_0>;
319 compatible = "qcom,kryo385";
321 enable-method = "psci";
322 capacity-dmips-mhz = <1024>;
323 cpu-idle-states = <&BIG_CPU_SLEEP_0
326 qcom,freq-domain = <&cpufreq_hw 1>;
327 #cooling-cells = <2>;
328 next-level-cache = <&L2_700>;
330 compatible = "cache";
331 next-level-cache = <&L3_0>;
372 entry-method = "psci";
374 LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
375 compatible = "arm,idle-state";
376 idle-state-name = "little-power-down";
377 arm,psci-suspend-param = <0x40000003>;
378 entry-latency-us = <350>;
379 exit-latency-us = <461>;
380 min-residency-us = <1890>;
384 LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 {
385 compatible = "arm,idle-state";
386 idle-state-name = "little-rail-power-down";
387 arm,psci-suspend-param = <0x40000004>;
388 entry-latency-us = <360>;
389 exit-latency-us = <531>;
390 min-residency-us = <3934>;
394 BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
395 compatible = "arm,idle-state";
396 idle-state-name = "big-power-down";
397 arm,psci-suspend-param = <0x40000003>;
398 entry-latency-us = <264>;
399 exit-latency-us = <621>;
400 min-residency-us = <952>;
404 BIG_CPU_SLEEP_1: cpu-sleep-1-1 {
405 compatible = "arm,idle-state";
406 idle-state-name = "big-rail-power-down";
407 arm,psci-suspend-param = <0x40000004>;
408 entry-latency-us = <702>;
409 exit-latency-us = <1061>;
410 min-residency-us = <4488>;
414 CLUSTER_SLEEP_0: cluster-sleep-0 {
415 compatible = "arm,idle-state";
416 idle-state-name = "cluster-power-down";
417 arm,psci-suspend-param = <0x400000F4>;
418 entry-latency-us = <3263>;
419 exit-latency-us = <6562>;
420 min-residency-us = <9987>;
427 compatible = "arm,armv8-pmuv3";
428 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
432 compatible = "arm,armv8-timer";
433 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
434 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
435 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
436 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
441 compatible = "fixed-clock";
443 clock-frequency = <38400000>;
444 clock-output-names = "xo_board";
447 sleep_clk: sleep-clk {
448 compatible = "fixed-clock";
450 clock-frequency = <32764>;
456 compatible = "qcom,scm-sdm845", "qcom,scm";
460 adsp_pas: remoteproc-adsp {
461 compatible = "qcom,sdm845-adsp-pas";
463 interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
464 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
465 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
466 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
467 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
468 interrupt-names = "wdog", "fatal", "ready",
469 "handover", "stop-ack";
471 clocks = <&rpmhcc RPMH_CXO_CLK>;
474 memory-region = <&adsp_mem>;
476 qcom,smem-states = <&adsp_smp2p_out 0>;
477 qcom,smem-state-names = "stop";
482 interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
484 qcom,remote-pid = <2>;
485 mboxes = <&apss_shared 8>;
489 cdsp_pas: remoteproc-cdsp {
490 compatible = "qcom,sdm845-cdsp-pas";
492 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
493 <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
494 <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
495 <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
496 <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
497 interrupt-names = "wdog", "fatal", "ready",
498 "handover", "stop-ack";
500 clocks = <&rpmhcc RPMH_CXO_CLK>;
503 memory-region = <&cdsp_mem>;
505 qcom,smem-states = <&cdsp_smp2p_out 0>;
506 qcom,smem-state-names = "stop";
511 interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>;
513 qcom,remote-pid = <5>;
514 mboxes = <&apss_shared 4>;
519 compatible = "qcom,tcsr-mutex";
520 syscon = <&tcsr_mutex_regs 0 0x1000>;
525 compatible = "qcom,smem";
526 memory-region = <&smem_mem>;
527 hwlocks = <&tcsr_mutex 3>;
531 compatible = "qcom,smp2p";
532 qcom,smem = <94>, <432>;
534 interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
536 mboxes = <&apss_shared 6>;
538 qcom,local-pid = <0>;
539 qcom,remote-pid = <5>;
541 cdsp_smp2p_out: master-kernel {
542 qcom,entry-name = "master-kernel";
543 #qcom,smem-state-cells = <1>;
546 cdsp_smp2p_in: slave-kernel {
547 qcom,entry-name = "slave-kernel";
549 interrupt-controller;
550 #interrupt-cells = <2>;
555 compatible = "qcom,smp2p";
556 qcom,smem = <443>, <429>;
558 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
560 mboxes = <&apss_shared 10>;
562 qcom,local-pid = <0>;
563 qcom,remote-pid = <2>;
565 adsp_smp2p_out: master-kernel {
566 qcom,entry-name = "master-kernel";
567 #qcom,smem-state-cells = <1>;
570 adsp_smp2p_in: slave-kernel {
571 qcom,entry-name = "slave-kernel";
573 interrupt-controller;
574 #interrupt-cells = <2>;
579 compatible = "qcom,smp2p";
580 qcom,smem = <435>, <428>;
581 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
582 mboxes = <&apss_shared 14>;
583 qcom,local-pid = <0>;
584 qcom,remote-pid = <1>;
586 modem_smp2p_out: master-kernel {
587 qcom,entry-name = "master-kernel";
588 #qcom,smem-state-cells = <1>;
591 modem_smp2p_in: slave-kernel {
592 qcom,entry-name = "slave-kernel";
593 interrupt-controller;
594 #interrupt-cells = <2>;
599 compatible = "qcom,smp2p";
600 qcom,smem = <481>, <430>;
601 interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
602 mboxes = <&apss_shared 26>;
603 qcom,local-pid = <0>;
604 qcom,remote-pid = <3>;
606 slpi_smp2p_out: master-kernel {
607 qcom,entry-name = "master-kernel";
608 #qcom,smem-state-cells = <1>;
611 slpi_smp2p_in: slave-kernel {
612 qcom,entry-name = "slave-kernel";
613 interrupt-controller;
614 #interrupt-cells = <2>;
619 compatible = "arm,psci-1.0";
624 #address-cells = <2>;
626 ranges = <0 0 0 0 0x10 0>;
627 dma-ranges = <0 0 0 0 0x10 0>;
628 compatible = "simple-bus";
630 gcc: clock-controller@100000 {
631 compatible = "qcom,gcc-sdm845";
632 reg = <0 0x00100000 0 0x1f0000>;
635 #power-domain-cells = <1>;
639 compatible = "qcom,qfprom";
640 reg = <0 0x00784000 0 0x8ff>;
641 #address-cells = <1>;
644 qusb2p_hstx_trim: hstx-trim-primary@1eb {
649 qusb2s_hstx_trim: hstx-trim-secondary@1eb {
656 compatible = "qcom,prng-ee";
657 reg = <0 0x00793000 0 0x1000>;
658 clocks = <&gcc GCC_PRNG_AHB_CLK>;
659 clock-names = "core";
662 qupv3_id_0: geniqup@8c0000 {
663 compatible = "qcom,geni-se-qup";
664 reg = <0 0x008c0000 0 0x6000>;
665 clock-names = "m-ahb", "s-ahb";
666 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
667 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
668 #address-cells = <2>;
674 compatible = "qcom,geni-i2c";
675 reg = <0 0x00880000 0 0x4000>;
677 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
678 pinctrl-names = "default";
679 pinctrl-0 = <&qup_i2c0_default>;
680 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
681 #address-cells = <1>;
687 compatible = "qcom,geni-spi";
688 reg = <0 0x00880000 0 0x4000>;
690 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
691 pinctrl-names = "default";
692 pinctrl-0 = <&qup_spi0_default>;
693 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
694 #address-cells = <1>;
699 uart0: serial@880000 {
700 compatible = "qcom,geni-uart";
701 reg = <0 0x00880000 0 0x4000>;
703 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
704 pinctrl-names = "default";
705 pinctrl-0 = <&qup_uart0_default>;
706 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
711 compatible = "qcom,geni-i2c";
712 reg = <0 0x00884000 0 0x4000>;
714 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
715 pinctrl-names = "default";
716 pinctrl-0 = <&qup_i2c1_default>;
717 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
718 #address-cells = <1>;
724 compatible = "qcom,geni-spi";
725 reg = <0 0x00884000 0 0x4000>;
727 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
728 pinctrl-names = "default";
729 pinctrl-0 = <&qup_spi1_default>;
730 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
731 #address-cells = <1>;
736 uart1: serial@884000 {
737 compatible = "qcom,geni-uart";
738 reg = <0 0x00884000 0 0x4000>;
740 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
741 pinctrl-names = "default";
742 pinctrl-0 = <&qup_uart1_default>;
743 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
748 compatible = "qcom,geni-i2c";
749 reg = <0 0x00888000 0 0x4000>;
751 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
752 pinctrl-names = "default";
753 pinctrl-0 = <&qup_i2c2_default>;
754 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
755 #address-cells = <1>;
761 compatible = "qcom,geni-spi";
762 reg = <0 0x00888000 0 0x4000>;
764 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
765 pinctrl-names = "default";
766 pinctrl-0 = <&qup_spi2_default>;
767 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
768 #address-cells = <1>;
773 uart2: serial@888000 {
774 compatible = "qcom,geni-uart";
775 reg = <0 0x00888000 0 0x4000>;
777 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
778 pinctrl-names = "default";
779 pinctrl-0 = <&qup_uart2_default>;
780 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
785 compatible = "qcom,geni-i2c";
786 reg = <0 0x0088c000 0 0x4000>;
788 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
789 pinctrl-names = "default";
790 pinctrl-0 = <&qup_i2c3_default>;
791 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
792 #address-cells = <1>;
798 compatible = "qcom,geni-spi";
799 reg = <0 0x0088c000 0 0x4000>;
801 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
802 pinctrl-names = "default";
803 pinctrl-0 = <&qup_spi3_default>;
804 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
805 #address-cells = <1>;
810 uart3: serial@88c000 {
811 compatible = "qcom,geni-uart";
812 reg = <0 0x0088c000 0 0x4000>;
814 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
815 pinctrl-names = "default";
816 pinctrl-0 = <&qup_uart3_default>;
817 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
822 compatible = "qcom,geni-i2c";
823 reg = <0 0x00890000 0 0x4000>;
825 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
826 pinctrl-names = "default";
827 pinctrl-0 = <&qup_i2c4_default>;
828 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
829 #address-cells = <1>;
835 compatible = "qcom,geni-spi";
836 reg = <0 0x00890000 0 0x4000>;
838 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
839 pinctrl-names = "default";
840 pinctrl-0 = <&qup_spi4_default>;
841 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
842 #address-cells = <1>;
847 uart4: serial@890000 {
848 compatible = "qcom,geni-uart";
849 reg = <0 0x00890000 0 0x4000>;
851 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
852 pinctrl-names = "default";
853 pinctrl-0 = <&qup_uart4_default>;
854 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
859 compatible = "qcom,geni-i2c";
860 reg = <0 0x00894000 0 0x4000>;
862 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
863 pinctrl-names = "default";
864 pinctrl-0 = <&qup_i2c5_default>;
865 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
866 #address-cells = <1>;
872 compatible = "qcom,geni-spi";
873 reg = <0 0x00894000 0 0x4000>;
875 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
876 pinctrl-names = "default";
877 pinctrl-0 = <&qup_spi5_default>;
878 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
879 #address-cells = <1>;
884 uart5: serial@894000 {
885 compatible = "qcom,geni-uart";
886 reg = <0 0x00894000 0 0x4000>;
888 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
889 pinctrl-names = "default";
890 pinctrl-0 = <&qup_uart5_default>;
891 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
896 compatible = "qcom,geni-i2c";
897 reg = <0 0x00898000 0 0x4000>;
899 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
900 pinctrl-names = "default";
901 pinctrl-0 = <&qup_i2c6_default>;
902 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
903 #address-cells = <1>;
909 compatible = "qcom,geni-spi";
910 reg = <0 0x00898000 0 0x4000>;
912 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
913 pinctrl-names = "default";
914 pinctrl-0 = <&qup_spi6_default>;
915 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
916 #address-cells = <1>;
921 uart6: serial@898000 {
922 compatible = "qcom,geni-uart";
923 reg = <0 0x00898000 0 0x4000>;
925 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
926 pinctrl-names = "default";
927 pinctrl-0 = <&qup_uart6_default>;
928 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
933 compatible = "qcom,geni-i2c";
934 reg = <0 0x0089c000 0 0x4000>;
936 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
937 pinctrl-names = "default";
938 pinctrl-0 = <&qup_i2c7_default>;
939 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
940 #address-cells = <1>;
946 compatible = "qcom,geni-spi";
947 reg = <0 0x0089c000 0 0x4000>;
949 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
950 pinctrl-names = "default";
951 pinctrl-0 = <&qup_spi7_default>;
952 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
953 #address-cells = <1>;
958 uart7: serial@89c000 {
959 compatible = "qcom,geni-uart";
960 reg = <0 0x0089c000 0 0x4000>;
962 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
963 pinctrl-names = "default";
964 pinctrl-0 = <&qup_uart7_default>;
965 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
970 qupv3_id_1: geniqup@ac0000 {
971 compatible = "qcom,geni-se-qup";
972 reg = <0 0x00ac0000 0 0x6000>;
973 clock-names = "m-ahb", "s-ahb";
974 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
975 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
976 #address-cells = <2>;
982 compatible = "qcom,geni-i2c";
983 reg = <0 0x00a80000 0 0x4000>;
985 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
986 pinctrl-names = "default";
987 pinctrl-0 = <&qup_i2c8_default>;
988 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
989 #address-cells = <1>;
995 compatible = "qcom,geni-spi";
996 reg = <0 0x00a80000 0 0x4000>;
998 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
999 pinctrl-names = "default";
1000 pinctrl-0 = <&qup_spi8_default>;
1001 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1002 #address-cells = <1>;
1004 status = "disabled";
1007 uart8: serial@a80000 {
1008 compatible = "qcom,geni-uart";
1009 reg = <0 0x00a80000 0 0x4000>;
1011 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1012 pinctrl-names = "default";
1013 pinctrl-0 = <&qup_uart8_default>;
1014 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1015 status = "disabled";
1019 compatible = "qcom,geni-i2c";
1020 reg = <0 0x00a84000 0 0x4000>;
1022 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1023 pinctrl-names = "default";
1024 pinctrl-0 = <&qup_i2c9_default>;
1025 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1026 #address-cells = <1>;
1028 status = "disabled";
1032 compatible = "qcom,geni-spi";
1033 reg = <0 0x00a84000 0 0x4000>;
1035 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1036 pinctrl-names = "default";
1037 pinctrl-0 = <&qup_spi9_default>;
1038 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1039 #address-cells = <1>;
1041 status = "disabled";
1044 uart9: serial@a84000 {
1045 compatible = "qcom,geni-debug-uart";
1046 reg = <0 0x00a84000 0 0x4000>;
1048 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1049 pinctrl-names = "default";
1050 pinctrl-0 = <&qup_uart9_default>;
1051 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1052 status = "disabled";
1056 compatible = "qcom,geni-i2c";
1057 reg = <0 0x00a88000 0 0x4000>;
1059 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1060 pinctrl-names = "default";
1061 pinctrl-0 = <&qup_i2c10_default>;
1062 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1063 #address-cells = <1>;
1065 status = "disabled";
1069 compatible = "qcom,geni-spi";
1070 reg = <0 0x00a88000 0 0x4000>;
1072 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1073 pinctrl-names = "default";
1074 pinctrl-0 = <&qup_spi10_default>;
1075 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1076 #address-cells = <1>;
1078 status = "disabled";
1081 uart10: serial@a88000 {
1082 compatible = "qcom,geni-uart";
1083 reg = <0 0x00a88000 0 0x4000>;
1085 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1086 pinctrl-names = "default";
1087 pinctrl-0 = <&qup_uart10_default>;
1088 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1089 status = "disabled";
1093 compatible = "qcom,geni-i2c";
1094 reg = <0 0x00a8c000 0 0x4000>;
1096 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1097 pinctrl-names = "default";
1098 pinctrl-0 = <&qup_i2c11_default>;
1099 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1100 #address-cells = <1>;
1102 status = "disabled";
1106 compatible = "qcom,geni-spi";
1107 reg = <0 0x00a8c000 0 0x4000>;
1109 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1110 pinctrl-names = "default";
1111 pinctrl-0 = <&qup_spi11_default>;
1112 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1113 #address-cells = <1>;
1115 status = "disabled";
1118 uart11: serial@a8c000 {
1119 compatible = "qcom,geni-uart";
1120 reg = <0 0x00a8c000 0 0x4000>;
1122 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1123 pinctrl-names = "default";
1124 pinctrl-0 = <&qup_uart11_default>;
1125 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1126 status = "disabled";
1130 compatible = "qcom,geni-i2c";
1131 reg = <0 0x00a90000 0 0x4000>;
1133 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1134 pinctrl-names = "default";
1135 pinctrl-0 = <&qup_i2c12_default>;
1136 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1137 #address-cells = <1>;
1139 status = "disabled";
1143 compatible = "qcom,geni-spi";
1144 reg = <0 0x00a90000 0 0x4000>;
1146 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1147 pinctrl-names = "default";
1148 pinctrl-0 = <&qup_spi12_default>;
1149 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1150 #address-cells = <1>;
1152 status = "disabled";
1155 uart12: serial@a90000 {
1156 compatible = "qcom,geni-uart";
1157 reg = <0 0x00a90000 0 0x4000>;
1159 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1160 pinctrl-names = "default";
1161 pinctrl-0 = <&qup_uart12_default>;
1162 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1163 status = "disabled";
1167 compatible = "qcom,geni-i2c";
1168 reg = <0 0x00a94000 0 0x4000>;
1170 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1171 pinctrl-names = "default";
1172 pinctrl-0 = <&qup_i2c13_default>;
1173 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1174 #address-cells = <1>;
1176 status = "disabled";
1180 compatible = "qcom,geni-spi";
1181 reg = <0 0x00a94000 0 0x4000>;
1183 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1184 pinctrl-names = "default";
1185 pinctrl-0 = <&qup_spi13_default>;
1186 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1187 #address-cells = <1>;
1189 status = "disabled";
1192 uart13: serial@a94000 {
1193 compatible = "qcom,geni-uart";
1194 reg = <0 0x00a94000 0 0x4000>;
1196 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1197 pinctrl-names = "default";
1198 pinctrl-0 = <&qup_uart13_default>;
1199 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1200 status = "disabled";
1204 compatible = "qcom,geni-i2c";
1205 reg = <0 0x00a98000 0 0x4000>;
1207 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1208 pinctrl-names = "default";
1209 pinctrl-0 = <&qup_i2c14_default>;
1210 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1211 #address-cells = <1>;
1213 status = "disabled";
1217 compatible = "qcom,geni-spi";
1218 reg = <0 0x00a98000 0 0x4000>;
1220 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1221 pinctrl-names = "default";
1222 pinctrl-0 = <&qup_spi14_default>;
1223 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1224 #address-cells = <1>;
1226 status = "disabled";
1229 uart14: serial@a98000 {
1230 compatible = "qcom,geni-uart";
1231 reg = <0 0x00a98000 0 0x4000>;
1233 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1234 pinctrl-names = "default";
1235 pinctrl-0 = <&qup_uart14_default>;
1236 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1237 status = "disabled";
1241 compatible = "qcom,geni-i2c";
1242 reg = <0 0x00a9c000 0 0x4000>;
1244 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1245 pinctrl-names = "default";
1246 pinctrl-0 = <&qup_i2c15_default>;
1247 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1248 #address-cells = <1>;
1250 status = "disabled";
1254 compatible = "qcom,geni-spi";
1255 reg = <0 0x00a9c000 0 0x4000>;
1257 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1258 pinctrl-names = "default";
1259 pinctrl-0 = <&qup_spi15_default>;
1260 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1261 #address-cells = <1>;
1263 status = "disabled";
1266 uart15: serial@a9c000 {
1267 compatible = "qcom,geni-uart";
1268 reg = <0 0x00a9c000 0 0x4000>;
1270 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1271 pinctrl-names = "default";
1272 pinctrl-0 = <&qup_uart15_default>;
1273 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1274 status = "disabled";
1278 ufs_mem_hc: ufshc@1d84000 {
1279 compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
1281 reg = <0 0x01d84000 0 0x2500>;
1282 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1283 phys = <&ufs_mem_phy_lanes>;
1284 phy-names = "ufsphy";
1285 lanes-per-direction = <2>;
1286 power-domains = <&gcc UFS_PHY_GDSC>;
1289 iommus = <&apps_smmu 0x100 0xf>;
1297 "tx_lane0_sync_clk",
1298 "rx_lane0_sync_clk",
1299 "rx_lane1_sync_clk";
1301 <&gcc GCC_UFS_PHY_AXI_CLK>,
1302 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1303 <&gcc GCC_UFS_PHY_AHB_CLK>,
1304 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1305 <&rpmhcc RPMH_CXO_CLK>,
1306 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1307 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1308 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1310 <50000000 200000000>,
1313 <37500000 150000000>,
1319 status = "disabled";
1322 ufs_mem_phy: phy@1d87000 {
1323 compatible = "qcom,sdm845-qmp-ufs-phy";
1324 reg = <0 0x01d87000 0 0x18c>;
1325 #address-cells = <2>;
1328 clock-names = "ref",
1330 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
1331 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1333 resets = <&ufs_mem_hc 0>;
1334 reset-names = "ufsphy";
1335 status = "disabled";
1337 ufs_mem_phy_lanes: lanes@1d87400 {
1338 reg = <0 0x01d87400 0 0x108>,
1339 <0 0x01d87600 0 0x1e0>,
1340 <0 0x01d87c00 0 0x1dc>,
1341 <0 0x01d87800 0 0x108>,
1342 <0 0x01d87a00 0 0x1e0>;
1347 tcsr_mutex_regs: syscon@1f40000 {
1348 compatible = "syscon";
1349 reg = <0 0x01f40000 0 0x40000>;
1352 tlmm: pinctrl@3400000 {
1353 compatible = "qcom,sdm845-pinctrl";
1354 reg = <0 0x03400000 0 0xc00000>;
1355 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1358 interrupt-controller;
1359 #interrupt-cells = <2>;
1360 gpio-ranges = <&tlmm 0 0 150>;
1362 qspi_clk: qspi-clk {
1365 function = "qspi_clk";
1369 qspi_cs0: qspi-cs0 {
1372 function = "qspi_cs";
1376 qspi_cs1: qspi-cs1 {
1379 function = "qspi_cs";
1383 qspi_data01: qspi-data01 {
1385 pins = "gpio91", "gpio92";
1386 function = "qspi_data";
1390 qspi_data12: qspi-data12 {
1392 pins = "gpio93", "gpio94";
1393 function = "qspi_data";
1397 qup_i2c0_default: qup-i2c0-default {
1399 pins = "gpio0", "gpio1";
1404 qup_i2c1_default: qup-i2c1-default {
1406 pins = "gpio17", "gpio18";
1411 qup_i2c2_default: qup-i2c2-default {
1413 pins = "gpio27", "gpio28";
1418 qup_i2c3_default: qup-i2c3-default {
1420 pins = "gpio41", "gpio42";
1425 qup_i2c4_default: qup-i2c4-default {
1427 pins = "gpio89", "gpio90";
1432 qup_i2c5_default: qup-i2c5-default {
1434 pins = "gpio85", "gpio86";
1439 qup_i2c6_default: qup-i2c6-default {
1441 pins = "gpio45", "gpio46";
1446 qup_i2c7_default: qup-i2c7-default {
1448 pins = "gpio93", "gpio94";
1453 qup_i2c8_default: qup-i2c8-default {
1455 pins = "gpio65", "gpio66";
1460 qup_i2c9_default: qup-i2c9-default {
1462 pins = "gpio6", "gpio7";
1467 qup_i2c10_default: qup-i2c10-default {
1469 pins = "gpio55", "gpio56";
1474 qup_i2c11_default: qup-i2c11-default {
1476 pins = "gpio31", "gpio32";
1481 qup_i2c12_default: qup-i2c12-default {
1483 pins = "gpio49", "gpio50";
1488 qup_i2c13_default: qup-i2c13-default {
1490 pins = "gpio105", "gpio106";
1495 qup_i2c14_default: qup-i2c14-default {
1497 pins = "gpio33", "gpio34";
1502 qup_i2c15_default: qup-i2c15-default {
1504 pins = "gpio81", "gpio82";
1509 qup_spi0_default: qup-spi0-default {
1511 pins = "gpio0", "gpio1",
1517 qup_spi1_default: qup-spi1-default {
1519 pins = "gpio17", "gpio18",
1525 qup_spi2_default: qup-spi2-default {
1527 pins = "gpio27", "gpio28",
1533 qup_spi3_default: qup-spi3-default {
1535 pins = "gpio41", "gpio42",
1541 qup_spi4_default: qup-spi4-default {
1543 pins = "gpio89", "gpio90",
1549 qup_spi5_default: qup-spi5-default {
1551 pins = "gpio85", "gpio86",
1557 qup_spi6_default: qup-spi6-default {
1559 pins = "gpio45", "gpio46",
1565 qup_spi7_default: qup-spi7-default {
1567 pins = "gpio93", "gpio94",
1573 qup_spi8_default: qup-spi8-default {
1575 pins = "gpio65", "gpio66",
1581 qup_spi9_default: qup-spi9-default {
1583 pins = "gpio6", "gpio7",
1589 qup_spi10_default: qup-spi10-default {
1591 pins = "gpio55", "gpio56",
1597 qup_spi11_default: qup-spi11-default {
1599 pins = "gpio31", "gpio32",
1605 qup_spi12_default: qup-spi12-default {
1607 pins = "gpio49", "gpio50",
1613 qup_spi13_default: qup-spi13-default {
1615 pins = "gpio105", "gpio106",
1616 "gpio107", "gpio108";
1621 qup_spi14_default: qup-spi14-default {
1623 pins = "gpio33", "gpio34",
1629 qup_spi15_default: qup-spi15-default {
1631 pins = "gpio81", "gpio82",
1637 qup_uart0_default: qup-uart0-default {
1639 pins = "gpio2", "gpio3";
1644 qup_uart1_default: qup-uart1-default {
1646 pins = "gpio19", "gpio20";
1651 qup_uart2_default: qup-uart2-default {
1653 pins = "gpio29", "gpio30";
1658 qup_uart3_default: qup-uart3-default {
1660 pins = "gpio43", "gpio44";
1665 qup_uart4_default: qup-uart4-default {
1667 pins = "gpio91", "gpio92";
1672 qup_uart5_default: qup-uart5-default {
1674 pins = "gpio87", "gpio88";
1679 qup_uart6_default: qup-uart6-default {
1681 pins = "gpio47", "gpio48";
1686 qup_uart7_default: qup-uart7-default {
1688 pins = "gpio95", "gpio96";
1693 qup_uart8_default: qup-uart8-default {
1695 pins = "gpio67", "gpio68";
1700 qup_uart9_default: qup-uart9-default {
1702 pins = "gpio4", "gpio5";
1707 qup_uart10_default: qup-uart10-default {
1709 pins = "gpio53", "gpio54";
1714 qup_uart11_default: qup-uart11-default {
1716 pins = "gpio33", "gpio34";
1721 qup_uart12_default: qup-uart12-default {
1723 pins = "gpio51", "gpio52";
1728 qup_uart13_default: qup-uart13-default {
1730 pins = "gpio107", "gpio108";
1735 qup_uart14_default: qup-uart14-default {
1737 pins = "gpio31", "gpio32";
1742 qup_uart15_default: qup-uart15-default {
1744 pins = "gpio83", "gpio84";
1750 mss_pil: remoteproc@4080000 {
1751 compatible = "qcom,sdm845-mss-pil";
1752 reg = <0 0x04080000 0 0x408>, <0 0x04180000 0 0x48>;
1753 reg-names = "qdsp6", "rmb";
1755 interrupts-extended =
1756 <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
1757 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1758 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1759 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1760 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
1761 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
1762 interrupt-names = "wdog", "fatal", "ready",
1763 "handover", "stop-ack",
1766 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
1767 <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
1768 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1769 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
1770 <&gcc GCC_MSS_SNOC_AXI_CLK>,
1771 <&gcc GCC_MSS_MFAB_AXIS_CLK>,
1772 <&gcc GCC_PRNG_AHB_CLK>,
1773 <&rpmhcc RPMH_CXO_CLK>;
1774 clock-names = "iface", "bus", "mem", "gpll0_mss",
1775 "snoc_axi", "mnoc_axi", "prng", "xo";
1777 qcom,smem-states = <&modem_smp2p_out 0>;
1778 qcom,smem-state-names = "stop";
1780 resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
1781 <&pdc_reset PDC_MODEM_SYNC_RESET>;
1782 reset-names = "mss_restart", "pdc_reset";
1784 qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>;
1786 power-domains = <&aoss_qmp 2>,
1787 <&rpmhpd SDM845_CX>,
1788 <&rpmhpd SDM845_MX>,
1789 <&rpmhpd SDM845_MSS>;
1790 power-domain-names = "load_state", "cx", "mx", "mss";
1793 memory-region = <&mba_region>;
1797 memory-region = <&mpss_region>;
1801 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
1803 qcom,remote-pid = <1>;
1804 mboxes = <&apss_shared 12>;
1808 gpucc: clock-controller@5090000 {
1809 compatible = "qcom,sdm845-gpucc";
1810 reg = <0 0x05090000 0 0x9000>;
1813 #power-domain-cells = <1>;
1814 clocks = <&rpmhcc RPMH_CXO_CLK>;
1818 sdhc_2: sdhci@8804000 {
1819 compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
1820 reg = <0 0x08804000 0 0x1000>;
1822 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
1823 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
1824 interrupt-names = "hc_irq", "pwr_irq";
1826 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
1827 <&gcc GCC_SDCC2_APPS_CLK>;
1828 clock-names = "iface", "core";
1829 iommus = <&apps_smmu 0xa0 0xf>;
1831 status = "disabled";
1835 compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
1836 reg = <0 0x088df000 0 0x600>;
1837 #address-cells = <1>;
1839 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1840 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
1841 <&gcc GCC_QSPI_CORE_CLK>;
1842 clock-names = "iface", "core";
1843 status = "disabled";
1846 usb_1_hsphy: phy@88e2000 {
1847 compatible = "qcom,sdm845-qusb2-phy";
1848 reg = <0 0x088e2000 0 0x400>;
1849 status = "disabled";
1852 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1853 <&rpmhcc RPMH_CXO_CLK>;
1854 clock-names = "cfg_ahb", "ref";
1856 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1858 nvmem-cells = <&qusb2p_hstx_trim>;
1861 usb_2_hsphy: phy@88e3000 {
1862 compatible = "qcom,sdm845-qusb2-phy";
1863 reg = <0 0x088e3000 0 0x400>;
1864 status = "disabled";
1867 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1868 <&rpmhcc RPMH_CXO_CLK>;
1869 clock-names = "cfg_ahb", "ref";
1871 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
1873 nvmem-cells = <&qusb2s_hstx_trim>;
1876 usb_1_qmpphy: phy@88e9000 {
1877 compatible = "qcom,sdm845-qmp-usb3-phy";
1878 reg = <0 0x088e9000 0 0x18c>,
1879 <0 0x088e8000 0 0x10>;
1880 reg-names = "reg-base", "dp_com";
1881 status = "disabled";
1883 #address-cells = <2>;
1887 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
1888 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1889 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
1890 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
1891 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1893 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
1894 <&gcc GCC_USB3_PHY_PRIM_BCR>;
1895 reset-names = "phy", "common";
1897 usb_1_ssphy: lanes@88e9200 {
1898 reg = <0 0x088e9200 0 0x128>,
1899 <0 0x088e9400 0 0x200>,
1900 <0 0x088e9c00 0 0x218>,
1901 <0 0x088e9600 0 0x128>,
1902 <0 0x088e9800 0 0x200>,
1903 <0 0x088e9a00 0 0x100>;
1905 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
1906 clock-names = "pipe0";
1907 clock-output-names = "usb3_phy_pipe_clk_src";
1911 usb_2_qmpphy: phy@88eb000 {
1912 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
1913 reg = <0 0x088eb000 0 0x18c>;
1914 status = "disabled";
1916 #address-cells = <2>;
1920 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
1921 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1922 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
1923 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
1924 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1926 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
1927 <&gcc GCC_USB3_PHY_SEC_BCR>;
1928 reset-names = "phy", "common";
1930 usb_2_ssphy: lane@88eb200 {
1931 reg = <0 0x088eb200 0 0x128>,
1932 <0 0x088eb400 0 0x1fc>,
1933 <0 0x088eb800 0 0x218>,
1934 <0 0x088eb600 0 0x70>;
1936 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
1937 clock-names = "pipe0";
1938 clock-output-names = "usb3_uni_phy_pipe_clk_src";
1942 usb_1: usb@a6f8800 {
1943 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
1944 reg = <0 0x0a6f8800 0 0x400>;
1945 status = "disabled";
1946 #address-cells = <2>;
1951 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
1952 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
1953 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
1954 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1955 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
1956 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1959 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1960 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
1961 assigned-clock-rates = <19200000>, <150000000>;
1963 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
1964 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
1965 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
1966 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
1967 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1968 "dm_hs_phy_irq", "dp_hs_phy_irq";
1970 power-domains = <&gcc USB30_PRIM_GDSC>;
1972 resets = <&gcc GCC_USB30_PRIM_BCR>;
1974 usb_1_dwc3: dwc3@a600000 {
1975 compatible = "snps,dwc3";
1976 reg = <0 0x0a600000 0 0xcd00>;
1977 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
1978 iommus = <&apps_smmu 0x740 0>;
1979 snps,dis_u2_susphy_quirk;
1980 snps,dis_enblslpm_quirk;
1981 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
1982 phy-names = "usb2-phy", "usb3-phy";
1986 usb_2: usb@a8f8800 {
1987 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
1988 reg = <0 0x0a8f8800 0 0x400>;
1989 status = "disabled";
1990 #address-cells = <2>;
1995 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
1996 <&gcc GCC_USB30_SEC_MASTER_CLK>,
1997 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
1998 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1999 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
2000 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
2003 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
2004 <&gcc GCC_USB30_SEC_MASTER_CLK>;
2005 assigned-clock-rates = <19200000>, <150000000>;
2007 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
2008 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
2009 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
2010 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
2011 interrupt-names = "hs_phy_irq", "ss_phy_irq",
2012 "dm_hs_phy_irq", "dp_hs_phy_irq";
2014 power-domains = <&gcc USB30_SEC_GDSC>;
2016 resets = <&gcc GCC_USB30_SEC_BCR>;
2018 usb_2_dwc3: dwc3@a800000 {
2019 compatible = "snps,dwc3";
2020 reg = <0 0x0a800000 0 0xcd00>;
2021 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
2022 iommus = <&apps_smmu 0x760 0>;
2023 snps,dis_u2_susphy_quirk;
2024 snps,dis_enblslpm_quirk;
2025 phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
2026 phy-names = "usb2-phy", "usb3-phy";
2030 videocc: clock-controller@ab00000 {
2031 compatible = "qcom,sdm845-videocc";
2032 reg = <0 0x0ab00000 0 0x10000>;
2034 #power-domain-cells = <1>;
2038 mdss: mdss@ae00000 {
2039 compatible = "qcom,sdm845-mdss";
2040 reg = <0 0x0ae00000 0 0x1000>;
2043 power-domains = <&dispcc MDSS_GDSC>;
2045 clocks = <&gcc GCC_DISP_AHB_CLK>,
2046 <&gcc GCC_DISP_AXI_CLK>,
2047 <&dispcc DISP_CC_MDSS_MDP_CLK>;
2048 clock-names = "iface", "bus", "core";
2050 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>;
2051 assigned-clock-rates = <300000000>;
2053 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
2054 interrupt-controller;
2055 #interrupt-cells = <1>;
2057 iommus = <&apps_smmu 0x880 0x8>,
2058 <&apps_smmu 0xc80 0x8>;
2060 status = "disabled";
2062 #address-cells = <2>;
2066 mdss_mdp: mdp@ae01000 {
2067 compatible = "qcom,sdm845-dpu";
2068 reg = <0 0x0ae01000 0 0x8f000>,
2069 <0 0x0aeb0000 0 0x2008>;
2070 reg-names = "mdp", "vbif";
2072 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
2073 <&dispcc DISP_CC_MDSS_AXI_CLK>,
2074 <&dispcc DISP_CC_MDSS_MDP_CLK>,
2075 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
2076 clock-names = "iface", "bus", "core", "vsync";
2078 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
2079 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
2080 assigned-clock-rates = <300000000>,
2083 interrupt-parent = <&mdss>;
2084 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
2086 status = "disabled";
2089 #address-cells = <1>;
2094 dpu_intf1_out: endpoint {
2095 remote-endpoint = <&dsi0_in>;
2101 dpu_intf2_out: endpoint {
2102 remote-endpoint = <&dsi1_in>;
2109 compatible = "qcom,mdss-dsi-ctrl";
2110 reg = <0 0x0ae94000 0 0x400>;
2111 reg-names = "dsi_ctrl";
2113 interrupt-parent = <&mdss>;
2114 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
2116 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
2117 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
2118 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
2119 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
2120 <&dispcc DISP_CC_MDSS_AHB_CLK>,
2121 <&dispcc DISP_CC_MDSS_AXI_CLK>;
2122 clock-names = "byte",
2132 status = "disabled";
2134 #address-cells = <1>;
2138 #address-cells = <1>;
2144 remote-endpoint = <&dpu_intf1_out>;
2150 dsi0_out: endpoint {
2156 dsi0_phy: dsi-phy@ae94400 {
2157 compatible = "qcom,dsi-phy-10nm";
2158 reg = <0 0x0ae94400 0 0x200>,
2159 <0 0x0ae94600 0 0x280>,
2160 <0 0x0ae94a00 0 0x1e0>;
2161 reg-names = "dsi_phy",
2168 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
2169 <&rpmhcc RPMH_CXO_CLK>;
2170 clock-names = "iface", "ref";
2172 status = "disabled";
2176 compatible = "qcom,mdss-dsi-ctrl";
2177 reg = <0 0x0ae96000 0 0x400>;
2178 reg-names = "dsi_ctrl";
2180 interrupt-parent = <&mdss>;
2181 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
2183 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
2184 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
2185 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
2186 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
2187 <&dispcc DISP_CC_MDSS_AHB_CLK>,
2188 <&dispcc DISP_CC_MDSS_AXI_CLK>;
2189 clock-names = "byte",
2199 status = "disabled";
2201 #address-cells = <1>;
2205 #address-cells = <1>;
2211 remote-endpoint = <&dpu_intf2_out>;
2217 dsi1_out: endpoint {
2223 dsi1_phy: dsi-phy@ae96400 {
2224 compatible = "qcom,dsi-phy-10nm";
2225 reg = <0 0x0ae96400 0 0x200>,
2226 <0 0x0ae96600 0 0x280>,
2227 <0 0x0ae96a00 0 0x10e>;
2228 reg-names = "dsi_phy",
2235 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
2236 <&rpmhcc RPMH_CXO_CLK>;
2237 clock-names = "iface", "ref";
2239 status = "disabled";
2244 compatible = "qcom,adreno-630.2", "qcom,adreno";
2245 #stream-id-cells = <16>;
2247 reg = <0 0x5000000 0 0x40000>, <0 0x509e000 0 0x10>;
2248 reg-names = "kgsl_3d0_reg_memory", "cx_mem";
2251 * Look ma, no clocks! The GPU clocks and power are
2252 * controlled entirely by the GMU
2255 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
2257 iommus = <&adreno_smmu 0>;
2259 operating-points-v2 = <&gpu_opp_table>;
2264 memory-region = <&gpu_mem>;
2267 gpu_opp_table: opp-table {
2268 compatible = "operating-points-v2";
2271 opp-hz = /bits/ 64 <710000000>;
2272 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
2276 opp-hz = /bits/ 64 <675000000>;
2277 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
2281 opp-hz = /bits/ 64 <596000000>;
2282 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
2286 opp-hz = /bits/ 64 <520000000>;
2287 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2291 opp-hz = /bits/ 64 <414000000>;
2292 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2296 opp-hz = /bits/ 64 <342000000>;
2297 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2301 opp-hz = /bits/ 64 <257000000>;
2302 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2307 adreno_smmu: iommu@5040000 {
2308 compatible = "qcom,sdm845-smmu-v2", "qcom,smmu-v2";
2309 reg = <0 0x5040000 0 0x10000>;
2311 #global-interrupts = <2>;
2312 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
2313 <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
2314 <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
2315 <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
2316 <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
2317 <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
2318 <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
2319 <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>,
2320 <GIC_SPI 370 IRQ_TYPE_EDGE_RISING>,
2321 <GIC_SPI 371 IRQ_TYPE_EDGE_RISING>;
2322 clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
2323 <&gcc GCC_GPU_CFG_AHB_CLK>;
2324 clock-names = "bus", "iface";
2326 power-domains = <&gpucc GPU_CX_GDSC>;
2330 compatible="qcom,adreno-gmu-630.2", "qcom,adreno-gmu";
2332 reg = <0 0x506a000 0 0x30000>,
2333 <0 0xb280000 0 0x10000>,
2334 <0 0xb480000 0 0x10000>;
2335 reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
2337 interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
2338 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
2339 interrupt-names = "hfi", "gmu";
2341 clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
2342 <&gpucc GPU_CC_CXO_CLK>,
2343 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
2344 <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
2345 clock-names = "gmu", "cxo", "axi", "memnoc";
2347 power-domains = <&gpucc GPU_CX_GDSC>,
2348 <&gpucc GPU_GX_GDSC>;
2349 power-domain-names = "cx", "gx";
2351 iommus = <&adreno_smmu 5>;
2353 operating-points-v2 = <&gmu_opp_table>;
2355 gmu_opp_table: opp-table {
2356 compatible = "operating-points-v2";
2359 opp-hz = /bits/ 64 <400000000>;
2360 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2364 opp-hz = /bits/ 64 <200000000>;
2365 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2370 dispcc: clock-controller@af00000 {
2371 compatible = "qcom,sdm845-dispcc";
2372 reg = <0 0x0af00000 0 0x10000>;
2375 #power-domain-cells = <1>;
2378 pdc_reset: reset-controller@b2e0000 {
2379 compatible = "qcom,sdm845-pdc-global";
2380 reg = <0 0x0b2e0000 0 0x20000>;
2384 tsens0: thermal-sensor@c263000 {
2385 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
2386 reg = <0 0x0c263000 0 0x1ff>, /* TM */
2387 <0 0x0c222000 0 0x1ff>; /* SROT */
2388 #qcom,sensors = <13>;
2389 #thermal-sensor-cells = <1>;
2392 tsens1: thermal-sensor@c265000 {
2393 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
2394 reg = <0 0x0c265000 0 0x1ff>, /* TM */
2395 <0 0x0c223000 0 0x1ff>; /* SROT */
2396 #qcom,sensors = <8>;
2397 #thermal-sensor-cells = <1>;
2400 aoss_reset: reset-controller@c2a0000 {
2401 compatible = "qcom,sdm845-aoss-cc";
2402 reg = <0 0x0c2a0000 0 0x31000>;
2406 aoss_qmp: qmp@c300000 {
2407 compatible = "qcom,sdm845-aoss-qmp";
2408 reg = <0 0x0c300000 0 0x100000>;
2409 interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
2410 mboxes = <&apss_shared 0>;
2413 #power-domain-cells = <1>;
2416 spmi_bus: spmi@c440000 {
2417 compatible = "qcom,spmi-pmic-arb";
2418 reg = <0 0x0c440000 0 0x1100>,
2419 <0 0x0c600000 0 0x2000000>,
2420 <0 0x0e600000 0 0x100000>,
2421 <0 0x0e700000 0 0xa0000>,
2422 <0 0x0c40a000 0 0x26000>;
2423 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
2424 interrupt-names = "periph_irq";
2425 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
2428 #address-cells = <2>;
2430 interrupt-controller;
2431 #interrupt-cells = <4>;
2435 apps_smmu: iommu@15000000 {
2436 compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
2437 reg = <0 0x15000000 0 0x80000>;
2439 #global-interrupts = <1>;
2440 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
2441 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
2442 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
2443 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
2444 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
2445 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
2446 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
2447 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
2448 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
2449 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
2450 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
2451 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
2452 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
2453 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
2454 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
2455 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
2456 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
2457 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
2458 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
2459 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
2460 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
2461 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
2462 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
2463 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
2464 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
2465 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
2466 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
2467 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
2468 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
2469 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
2470 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
2471 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
2472 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
2473 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
2474 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
2475 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
2476 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
2477 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
2478 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
2479 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
2480 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
2481 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
2482 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
2483 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
2484 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
2485 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
2486 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
2487 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
2488 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
2489 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
2490 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
2491 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
2492 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
2493 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
2494 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
2495 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
2496 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
2497 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
2498 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
2499 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
2500 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
2501 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
2502 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
2503 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
2504 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
2507 lpasscc: clock-controller@17014000 {
2508 compatible = "qcom,sdm845-lpasscc";
2509 reg = <0 0x17014000 0 0x1f004>, <0 0x17300000 0 0x200>;
2510 reg-names = "cc", "qdsp6ss";
2512 status = "disabled";
2515 apss_shared: mailbox@17990000 {
2516 compatible = "qcom,sdm845-apss-shared";
2517 reg = <0 0x17990000 0 0x1000>;
2521 apps_rsc: rsc@179c0000 {
2523 compatible = "qcom,rpmh-rsc";
2524 reg = <0 0x179c0000 0 0x10000>,
2525 <0 0x179d0000 0 0x10000>,
2526 <0 0x179e0000 0 0x10000>;
2527 reg-names = "drv-0", "drv-1", "drv-2";
2528 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
2529 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
2530 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
2531 qcom,tcs-offset = <0xd00>;
2533 qcom,tcs-config = <ACTIVE_TCS 2>,
2538 rpmhcc: clock-controller {
2539 compatible = "qcom,sdm845-rpmh-clk";
2543 rpmhpd: power-controller {
2544 compatible = "qcom,sdm845-rpmhpd";
2545 #power-domain-cells = <1>;
2546 operating-points-v2 = <&rpmhpd_opp_table>;
2548 rpmhpd_opp_table: opp-table {
2549 compatible = "operating-points-v2";
2551 rpmhpd_opp_ret: opp1 {
2552 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
2555 rpmhpd_opp_min_svs: opp2 {
2556 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2559 rpmhpd_opp_low_svs: opp3 {
2560 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2563 rpmhpd_opp_svs: opp4 {
2564 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2567 rpmhpd_opp_svs_l1: opp5 {
2568 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2571 rpmhpd_opp_nom: opp6 {
2572 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2575 rpmhpd_opp_nom_l1: opp7 {
2576 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
2579 rpmhpd_opp_nom_l2: opp8 {
2580 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
2583 rpmhpd_opp_turbo: opp9 {
2584 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
2587 rpmhpd_opp_turbo_l1: opp10 {
2588 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
2593 rsc_hlos: interconnect {
2594 compatible = "qcom,sdm845-rsc-hlos";
2595 #interconnect-cells = <1>;
2599 intc: interrupt-controller@17a00000 {
2600 compatible = "arm,gic-v3";
2601 #address-cells = <2>;
2604 #interrupt-cells = <3>;
2605 interrupt-controller;
2606 reg = <0 0x17a00000 0 0x10000>, /* GICD */
2607 <0 0x17a60000 0 0x100000>; /* GICR * 8 */
2608 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
2611 compatible = "arm,gic-v3-its";
2614 reg = <0 0x17a40000 0 0x20000>;
2615 status = "disabled";
2620 #address-cells = <2>;
2623 compatible = "arm,armv7-timer-mem";
2624 reg = <0 0x17c90000 0 0x1000>;
2628 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
2629 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
2630 reg = <0 0x17ca0000 0 0x1000>,
2631 <0 0x17cb0000 0 0x1000>;
2636 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
2637 reg = <0 0x17cc0000 0 0x1000>;
2638 status = "disabled";
2643 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
2644 reg = <0 0x17cd0000 0 0x1000>;
2645 status = "disabled";
2650 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
2651 reg = <0 0x17ce0000 0 0x1000>;
2652 status = "disabled";
2657 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
2658 reg = <0 0x17cf0000 0 0x1000>;
2659 status = "disabled";
2664 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
2665 reg = <0 0x17d00000 0 0x1000>;
2666 status = "disabled";
2671 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
2672 reg = <0 0x17d10000 0 0x1000>;
2673 status = "disabled";
2677 cpufreq_hw: cpufreq@17d43000 {
2678 compatible = "qcom,cpufreq-hw";
2679 reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
2680 reg-names = "freq-domain0", "freq-domain1";
2682 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
2683 clock-names = "xo", "alternate";
2685 #freq-domain-cells = <1>;
2688 wifi: wifi@18800000 {
2689 compatible = "qcom,wcn3990-wifi";
2690 status = "disabled";
2691 reg = <0 0x18800000 0 0x800000>;
2692 reg-names = "membase";
2693 memory-region = <&wlan_msa_mem>;
2694 clock-names = "cxo_ref_clk_pin";
2695 clocks = <&rpmhcc RPMH_RF_CLK2>;
2697 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
2698 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
2699 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
2700 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
2701 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
2702 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
2703 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
2704 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
2705 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
2706 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
2707 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
2708 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
2709 iommus = <&apps_smmu 0x0040 0x1>;
2715 polling-delay-passive = <250>;
2716 polling-delay = <1000>;
2718 thermal-sensors = <&tsens0 1>;
2721 cpu0_alert0: trip-point@0 {
2722 temperature = <90000>;
2723 hysteresis = <2000>;
2727 cpu0_alert1: trip-point@1 {
2728 temperature = <95000>;
2729 hysteresis = <2000>;
2733 cpu0_crit: cpu_crit {
2734 temperature = <110000>;
2735 hysteresis = <1000>;
2742 trip = <&cpu0_alert0>;
2743 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2744 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2745 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2746 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2749 trip = <&cpu0_alert1>;
2750 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2751 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2752 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2753 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2759 polling-delay-passive = <250>;
2760 polling-delay = <1000>;
2762 thermal-sensors = <&tsens0 2>;
2765 cpu1_alert0: trip-point@0 {
2766 temperature = <90000>;
2767 hysteresis = <2000>;
2771 cpu1_alert1: trip-point@1 {
2772 temperature = <95000>;
2773 hysteresis = <2000>;
2777 cpu1_crit: cpu_crit {
2778 temperature = <110000>;
2779 hysteresis = <1000>;
2786 trip = <&cpu1_alert0>;
2787 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2788 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2789 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2790 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2793 trip = <&cpu1_alert1>;
2794 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2795 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2796 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2797 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2803 polling-delay-passive = <250>;
2804 polling-delay = <1000>;
2806 thermal-sensors = <&tsens0 3>;
2809 cpu2_alert0: trip-point@0 {
2810 temperature = <90000>;
2811 hysteresis = <2000>;
2815 cpu2_alert1: trip-point@1 {
2816 temperature = <95000>;
2817 hysteresis = <2000>;
2821 cpu2_crit: cpu_crit {
2822 temperature = <110000>;
2823 hysteresis = <1000>;
2830 trip = <&cpu2_alert0>;
2831 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2832 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2833 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2834 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2837 trip = <&cpu2_alert1>;
2838 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2839 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2840 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2841 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2847 polling-delay-passive = <250>;
2848 polling-delay = <1000>;
2850 thermal-sensors = <&tsens0 4>;
2853 cpu3_alert0: trip-point@0 {
2854 temperature = <90000>;
2855 hysteresis = <2000>;
2859 cpu3_alert1: trip-point@1 {
2860 temperature = <95000>;
2861 hysteresis = <2000>;
2865 cpu3_crit: cpu_crit {
2866 temperature = <110000>;
2867 hysteresis = <1000>;
2874 trip = <&cpu3_alert0>;
2875 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2876 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2877 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2878 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2881 trip = <&cpu3_alert1>;
2882 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2883 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2884 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2885 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2891 polling-delay-passive = <250>;
2892 polling-delay = <1000>;
2894 thermal-sensors = <&tsens0 7>;
2897 cpu4_alert0: trip-point@0 {
2898 temperature = <90000>;
2899 hysteresis = <2000>;
2903 cpu4_alert1: trip-point@1 {
2904 temperature = <95000>;
2905 hysteresis = <2000>;
2909 cpu4_crit: cpu_crit {
2910 temperature = <110000>;
2911 hysteresis = <1000>;
2918 trip = <&cpu4_alert0>;
2919 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2920 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2921 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2922 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2925 trip = <&cpu4_alert1>;
2926 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2927 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2928 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2929 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2935 polling-delay-passive = <250>;
2936 polling-delay = <1000>;
2938 thermal-sensors = <&tsens0 8>;
2941 cpu5_alert0: trip-point@0 {
2942 temperature = <90000>;
2943 hysteresis = <2000>;
2947 cpu5_alert1: trip-point@1 {
2948 temperature = <95000>;
2949 hysteresis = <2000>;
2953 cpu5_crit: cpu_crit {
2954 temperature = <110000>;
2955 hysteresis = <1000>;
2962 trip = <&cpu5_alert0>;
2963 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2964 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2965 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2966 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2969 trip = <&cpu5_alert1>;
2970 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2971 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2972 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2973 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2979 polling-delay-passive = <250>;
2980 polling-delay = <1000>;
2982 thermal-sensors = <&tsens0 9>;
2985 cpu6_alert0: trip-point@0 {
2986 temperature = <90000>;
2987 hysteresis = <2000>;
2991 cpu6_alert1: trip-point@1 {
2992 temperature = <95000>;
2993 hysteresis = <2000>;
2997 cpu6_crit: cpu_crit {
2998 temperature = <110000>;
2999 hysteresis = <1000>;
3006 trip = <&cpu6_alert0>;
3007 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3008 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3009 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3010 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3013 trip = <&cpu6_alert1>;
3014 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3015 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3016 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3017 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3023 polling-delay-passive = <250>;
3024 polling-delay = <1000>;
3026 thermal-sensors = <&tsens0 10>;
3029 cpu7_alert0: trip-point@0 {
3030 temperature = <90000>;
3031 hysteresis = <2000>;
3035 cpu7_alert1: trip-point@1 {
3036 temperature = <95000>;
3037 hysteresis = <2000>;
3041 cpu7_crit: cpu_crit {
3042 temperature = <110000>;
3043 hysteresis = <1000>;
3050 trip = <&cpu7_alert0>;
3051 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3052 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3053 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3054 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3057 trip = <&cpu7_alert1>;
3058 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3059 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3060 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3061 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3067 polling-delay-passive = <250>;
3068 polling-delay = <1000>;
3070 thermal-sensors = <&tsens0 0>;
3073 aoss0_alert0: trip-point@0 {
3074 temperature = <90000>;
3075 hysteresis = <2000>;
3082 polling-delay-passive = <250>;
3083 polling-delay = <1000>;
3085 thermal-sensors = <&tsens0 5>;
3088 cluster0_alert0: trip-point@0 {
3089 temperature = <90000>;
3090 hysteresis = <2000>;
3093 cluster0_crit: cluster0_crit {
3094 temperature = <110000>;
3095 hysteresis = <2000>;
3102 polling-delay-passive = <250>;
3103 polling-delay = <1000>;
3105 thermal-sensors = <&tsens0 6>;
3108 cluster1_alert0: trip-point@0 {
3109 temperature = <90000>;
3110 hysteresis = <2000>;
3113 cluster1_crit: cluster1_crit {
3114 temperature = <110000>;
3115 hysteresis = <2000>;
3122 polling-delay-passive = <250>;
3123 polling-delay = <1000>;
3125 thermal-sensors = <&tsens0 11>;
3128 gpu1_alert0: trip-point@0 {
3129 temperature = <90000>;
3130 hysteresis = <2000>;
3136 gpu-thermal-bottom {
3137 polling-delay-passive = <250>;
3138 polling-delay = <1000>;
3140 thermal-sensors = <&tsens0 12>;
3143 gpu2_alert0: trip-point@0 {
3144 temperature = <90000>;
3145 hysteresis = <2000>;
3152 polling-delay-passive = <250>;
3153 polling-delay = <1000>;
3155 thermal-sensors = <&tsens1 0>;
3158 aoss1_alert0: trip-point@0 {
3159 temperature = <90000>;
3160 hysteresis = <2000>;
3167 polling-delay-passive = <250>;
3168 polling-delay = <1000>;
3170 thermal-sensors = <&tsens1 1>;
3173 q6_modem_alert0: trip-point@0 {
3174 temperature = <90000>;
3175 hysteresis = <2000>;
3182 polling-delay-passive = <250>;
3183 polling-delay = <1000>;
3185 thermal-sensors = <&tsens1 2>;
3188 mem_alert0: trip-point@0 {
3189 temperature = <90000>;
3190 hysteresis = <2000>;
3197 polling-delay-passive = <250>;
3198 polling-delay = <1000>;
3200 thermal-sensors = <&tsens1 3>;
3203 wlan_alert0: trip-point@0 {
3204 temperature = <90000>;
3205 hysteresis = <2000>;
3212 polling-delay-passive = <250>;
3213 polling-delay = <1000>;
3215 thermal-sensors = <&tsens1 4>;
3218 q6_hvx_alert0: trip-point@0 {
3219 temperature = <90000>;
3220 hysteresis = <2000>;
3227 polling-delay-passive = <250>;
3228 polling-delay = <1000>;
3230 thermal-sensors = <&tsens1 5>;
3233 camera_alert0: trip-point@0 {
3234 temperature = <90000>;
3235 hysteresis = <2000>;
3242 polling-delay-passive = <250>;
3243 polling-delay = <1000>;
3245 thermal-sensors = <&tsens1 6>;
3248 video_alert0: trip-point@0 {
3249 temperature = <90000>;
3250 hysteresis = <2000>;
3257 polling-delay-passive = <250>;
3258 polling-delay = <1000>;
3260 thermal-sensors = <&tsens1 7>;
3263 modem_alert0: trip-point@0 {
3264 temperature = <90000>;
3265 hysteresis = <2000>;