1 // SPDX-License-Identifier: BSD-3-Clause
3 * SC7180 SoC device tree source
5 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
8 #include <dt-bindings/clock/qcom,dispcc-sc7180.h>
9 #include <dt-bindings/clock/qcom,gcc-sc7180.h>
10 #include <dt-bindings/clock/qcom,gpucc-sc7180.h>
11 #include <dt-bindings/clock/qcom,rpmh.h>
12 #include <dt-bindings/clock/qcom,videocc-sc7180.h>
13 #include <dt-bindings/interrupt-controller/arm-gic.h>
14 #include <dt-bindings/phy/phy-qcom-qusb2.h>
15 #include <dt-bindings/power/qcom-aoss-qmp.h>
16 #include <dt-bindings/power/qcom-rpmpd.h>
17 #include <dt-bindings/reset/qcom,sdm845-aoss.h>
18 #include <dt-bindings/reset/qcom,sdm845-pdc.h>
19 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
20 #include <dt-bindings/thermal/thermal.h>
23 interrupt-parent = <&intc>;
55 compatible = "fixed-clock";
56 clock-frequency = <38400000>;
60 sleep_clk: sleep-clk {
61 compatible = "fixed-clock";
62 clock-frequency = <32764>;
67 reserved_memory: reserved-memory {
72 aop_cmd_db_mem: memory@80820000 {
73 reg = <0x0 0x80820000 0x0 0x20000>;
74 compatible = "qcom,cmd-db";
77 smem_mem: memory@80900000 {
78 reg = <0x0 0x80900000 0x0 0x200000>;
89 compatible = "arm,armv8";
91 enable-method = "psci";
92 capacity-dmips-mhz = <1024>;
93 dynamic-power-coefficient = <100>;
94 next-level-cache = <&L2_0>;
96 qcom,freq-domain = <&cpufreq_hw 0>;
99 next-level-cache = <&L3_0>;
101 compatible = "cache";
108 compatible = "arm,armv8";
110 enable-method = "psci";
111 capacity-dmips-mhz = <1024>;
112 dynamic-power-coefficient = <100>;
113 next-level-cache = <&L2_100>;
114 #cooling-cells = <2>;
115 qcom,freq-domain = <&cpufreq_hw 0>;
117 compatible = "cache";
118 next-level-cache = <&L3_0>;
124 compatible = "arm,armv8";
126 enable-method = "psci";
127 capacity-dmips-mhz = <1024>;
128 dynamic-power-coefficient = <100>;
129 next-level-cache = <&L2_200>;
130 #cooling-cells = <2>;
131 qcom,freq-domain = <&cpufreq_hw 0>;
133 compatible = "cache";
134 next-level-cache = <&L3_0>;
140 compatible = "arm,armv8";
142 enable-method = "psci";
143 capacity-dmips-mhz = <1024>;
144 dynamic-power-coefficient = <100>;
145 next-level-cache = <&L2_300>;
146 #cooling-cells = <2>;
147 qcom,freq-domain = <&cpufreq_hw 0>;
149 compatible = "cache";
150 next-level-cache = <&L3_0>;
156 compatible = "arm,armv8";
158 enable-method = "psci";
159 capacity-dmips-mhz = <1024>;
160 dynamic-power-coefficient = <100>;
161 next-level-cache = <&L2_400>;
162 #cooling-cells = <2>;
163 qcom,freq-domain = <&cpufreq_hw 0>;
165 compatible = "cache";
166 next-level-cache = <&L3_0>;
172 compatible = "arm,armv8";
174 enable-method = "psci";
175 capacity-dmips-mhz = <1024>;
176 dynamic-power-coefficient = <100>;
177 next-level-cache = <&L2_500>;
178 #cooling-cells = <2>;
179 qcom,freq-domain = <&cpufreq_hw 0>;
181 compatible = "cache";
182 next-level-cache = <&L3_0>;
188 compatible = "arm,armv8";
190 enable-method = "psci";
191 capacity-dmips-mhz = <1740>;
192 dynamic-power-coefficient = <405>;
193 next-level-cache = <&L2_600>;
194 #cooling-cells = <2>;
195 qcom,freq-domain = <&cpufreq_hw 1>;
197 compatible = "cache";
198 next-level-cache = <&L3_0>;
204 compatible = "arm,armv8";
206 enable-method = "psci";
207 capacity-dmips-mhz = <1740>;
208 dynamic-power-coefficient = <405>;
209 next-level-cache = <&L2_700>;
210 #cooling-cells = <2>;
211 qcom,freq-domain = <&cpufreq_hw 1>;
213 compatible = "cache";
214 next-level-cache = <&L3_0>;
256 device_type = "memory";
257 /* We expect the bootloader to fill in the size */
258 reg = <0 0x80000000 0 0>;
262 compatible = "arm,armv8-pmuv3";
263 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
268 compatible = "qcom,scm-sc7180", "qcom,scm";
273 compatible = "qcom,tcsr-mutex";
274 syscon = <&tcsr_mutex_regs 0 0x1000>;
279 compatible = "qcom,smem";
280 memory-region = <&smem_mem>;
281 hwlocks = <&tcsr_mutex 3>;
285 compatible = "qcom,smp2p";
286 qcom,smem = <94>, <432>;
288 interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
290 mboxes = <&apss_shared 6>;
292 qcom,local-pid = <0>;
293 qcom,remote-pid = <5>;
295 cdsp_smp2p_out: master-kernel {
296 qcom,entry-name = "master-kernel";
297 #qcom,smem-state-cells = <1>;
300 cdsp_smp2p_in: slave-kernel {
301 qcom,entry-name = "slave-kernel";
303 interrupt-controller;
304 #interrupt-cells = <2>;
309 compatible = "qcom,smp2p";
310 qcom,smem = <443>, <429>;
312 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
314 mboxes = <&apss_shared 10>;
316 qcom,local-pid = <0>;
317 qcom,remote-pid = <2>;
319 adsp_smp2p_out: master-kernel {
320 qcom,entry-name = "master-kernel";
321 #qcom,smem-state-cells = <1>;
324 adsp_smp2p_in: slave-kernel {
325 qcom,entry-name = "slave-kernel";
327 interrupt-controller;
328 #interrupt-cells = <2>;
333 compatible = "qcom,smp2p";
334 qcom,smem = <435>, <428>;
335 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
336 mboxes = <&apss_shared 14>;
337 qcom,local-pid = <0>;
338 qcom,remote-pid = <1>;
340 modem_smp2p_out: master-kernel {
341 qcom,entry-name = "master-kernel";
342 #qcom,smem-state-cells = <1>;
345 modem_smp2p_in: slave-kernel {
346 qcom,entry-name = "slave-kernel";
347 interrupt-controller;
348 #interrupt-cells = <2>;
353 compatible = "arm,psci-1.0";
358 #address-cells = <2>;
360 ranges = <0 0 0 0 0x10 0>;
361 dma-ranges = <0 0 0 0 0x10 0>;
362 compatible = "simple-bus";
364 gcc: clock-controller@100000 {
365 compatible = "qcom,gcc-sc7180";
366 reg = <0 0x00100000 0 0x1f0000>;
367 clocks = <&rpmhcc RPMH_CXO_CLK>,
368 <&rpmhcc RPMH_CXO_CLK_A>,
370 clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
373 #power-domain-cells = <1>;
377 compatible = "qcom,qfprom";
378 reg = <0 0x00784000 0 0x8ff>;
379 #address-cells = <1>;
382 qusb2p_hstx_trim: hstx-trim-primary@25b {
388 sdhc_1: sdhci@7c4000 {
389 compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
390 reg = <0 0x7c4000 0 0x1000>,
391 <0 0x07c5000 0 0x1000>;
392 reg-names = "hc_mem", "cqhci_mem";
394 iommus = <&apps_smmu 0x60 0x0>;
395 interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>,
396 <GIC_SPI 644 IRQ_TYPE_LEVEL_HIGH>;
397 interrupt-names = "hc_irq", "pwr_irq";
399 clocks = <&gcc GCC_SDCC1_APPS_CLK>,
400 <&gcc GCC_SDCC1_AHB_CLK>;
401 clock-names = "core", "iface";
410 mmc-hs400-enhanced-strobe;
415 qupv3_id_0: geniqup@8c0000 {
416 compatible = "qcom,geni-se-qup";
417 reg = <0 0x008c0000 0 0x6000>;
418 clock-names = "m-ahb", "s-ahb";
419 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
420 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
421 #address-cells = <2>;
424 iommus = <&apps_smmu 0x43 0x0>;
428 compatible = "qcom,geni-i2c";
429 reg = <0 0x00880000 0 0x4000>;
431 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
432 pinctrl-names = "default";
433 pinctrl-0 = <&qup_i2c0_default>;
434 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
435 #address-cells = <1>;
441 compatible = "qcom,geni-spi";
442 reg = <0 0x00880000 0 0x4000>;
444 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
445 pinctrl-names = "default";
446 pinctrl-0 = <&qup_spi0_default>;
447 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
448 #address-cells = <1>;
453 uart0: serial@880000 {
454 compatible = "qcom,geni-uart";
455 reg = <0 0x00880000 0 0x4000>;
457 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
458 pinctrl-names = "default";
459 pinctrl-0 = <&qup_uart0_default>;
460 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
465 compatible = "qcom,geni-i2c";
466 reg = <0 0x00884000 0 0x4000>;
468 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
469 pinctrl-names = "default";
470 pinctrl-0 = <&qup_i2c1_default>;
471 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
472 #address-cells = <1>;
478 compatible = "qcom,geni-spi";
479 reg = <0 0x00884000 0 0x4000>;
481 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
482 pinctrl-names = "default";
483 pinctrl-0 = <&qup_spi1_default>;
484 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
485 #address-cells = <1>;
490 uart1: serial@884000 {
491 compatible = "qcom,geni-uart";
492 reg = <0 0x00884000 0 0x4000>;
494 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
495 pinctrl-names = "default";
496 pinctrl-0 = <&qup_uart1_default>;
497 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
502 compatible = "qcom,geni-i2c";
503 reg = <0 0x00888000 0 0x4000>;
505 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
506 pinctrl-names = "default";
507 pinctrl-0 = <&qup_i2c2_default>;
508 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
509 #address-cells = <1>;
514 uart2: serial@888000 {
515 compatible = "qcom,geni-uart";
516 reg = <0 0x00888000 0 0x4000>;
518 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
519 pinctrl-names = "default";
520 pinctrl-0 = <&qup_uart2_default>;
521 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
526 compatible = "qcom,geni-i2c";
527 reg = <0 0x0088c000 0 0x4000>;
529 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
530 pinctrl-names = "default";
531 pinctrl-0 = <&qup_i2c3_default>;
532 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
533 #address-cells = <1>;
539 compatible = "qcom,geni-spi";
540 reg = <0 0x0088c000 0 0x4000>;
542 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
543 pinctrl-names = "default";
544 pinctrl-0 = <&qup_spi3_default>;
545 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
546 #address-cells = <1>;
551 uart3: serial@88c000 {
552 compatible = "qcom,geni-uart";
553 reg = <0 0x0088c000 0 0x4000>;
555 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
556 pinctrl-names = "default";
557 pinctrl-0 = <&qup_uart3_default>;
558 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
563 compatible = "qcom,geni-i2c";
564 reg = <0 0x00890000 0 0x4000>;
566 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
567 pinctrl-names = "default";
568 pinctrl-0 = <&qup_i2c4_default>;
569 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
570 #address-cells = <1>;
575 uart4: serial@890000 {
576 compatible = "qcom,geni-uart";
577 reg = <0 0x00890000 0 0x4000>;
579 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
580 pinctrl-names = "default";
581 pinctrl-0 = <&qup_uart4_default>;
582 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
587 compatible = "qcom,geni-i2c";
588 reg = <0 0x00894000 0 0x4000>;
590 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
591 pinctrl-names = "default";
592 pinctrl-0 = <&qup_i2c5_default>;
593 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
594 #address-cells = <1>;
600 compatible = "qcom,geni-spi";
601 reg = <0 0x00894000 0 0x4000>;
603 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
604 pinctrl-names = "default";
605 pinctrl-0 = <&qup_spi5_default>;
606 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
607 #address-cells = <1>;
612 uart5: serial@894000 {
613 compatible = "qcom,geni-uart";
614 reg = <0 0x00894000 0 0x4000>;
616 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
617 pinctrl-names = "default";
618 pinctrl-0 = <&qup_uart5_default>;
619 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
624 qupv3_id_1: geniqup@ac0000 {
625 compatible = "qcom,geni-se-qup";
626 reg = <0 0x00ac0000 0 0x6000>;
627 clock-names = "m-ahb", "s-ahb";
628 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
629 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
630 #address-cells = <2>;
633 iommus = <&apps_smmu 0x4c3 0x0>;
637 compatible = "qcom,geni-i2c";
638 reg = <0 0x00a80000 0 0x4000>;
640 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
641 pinctrl-names = "default";
642 pinctrl-0 = <&qup_i2c6_default>;
643 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
644 #address-cells = <1>;
650 compatible = "qcom,geni-spi";
651 reg = <0 0x00a80000 0 0x4000>;
653 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
654 pinctrl-names = "default";
655 pinctrl-0 = <&qup_spi6_default>;
656 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
657 #address-cells = <1>;
662 uart6: serial@a80000 {
663 compatible = "qcom,geni-uart";
664 reg = <0 0x00a80000 0 0x4000>;
666 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
667 pinctrl-names = "default";
668 pinctrl-0 = <&qup_uart6_default>;
669 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
674 compatible = "qcom,geni-i2c";
675 reg = <0 0x00a84000 0 0x4000>;
677 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
678 pinctrl-names = "default";
679 pinctrl-0 = <&qup_i2c7_default>;
680 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
681 #address-cells = <1>;
686 uart7: serial@a84000 {
687 compatible = "qcom,geni-uart";
688 reg = <0 0x00a84000 0 0x4000>;
690 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
691 pinctrl-names = "default";
692 pinctrl-0 = <&qup_uart7_default>;
693 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
698 compatible = "qcom,geni-i2c";
699 reg = <0 0x00a88000 0 0x4000>;
701 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
702 pinctrl-names = "default";
703 pinctrl-0 = <&qup_i2c8_default>;
704 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
705 #address-cells = <1>;
711 compatible = "qcom,geni-spi";
712 reg = <0 0x00a88000 0 0x4000>;
714 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
715 pinctrl-names = "default";
716 pinctrl-0 = <&qup_spi8_default>;
717 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
718 #address-cells = <1>;
723 uart8: serial@a88000 {
724 compatible = "qcom,geni-debug-uart";
725 reg = <0 0x00a88000 0 0x4000>;
727 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
728 pinctrl-names = "default";
729 pinctrl-0 = <&qup_uart8_default>;
730 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
735 compatible = "qcom,geni-i2c";
736 reg = <0 0x00a8c000 0 0x4000>;
738 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
739 pinctrl-names = "default";
740 pinctrl-0 = <&qup_i2c9_default>;
741 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
742 #address-cells = <1>;
747 uart9: serial@a8c000 {
748 compatible = "qcom,geni-uart";
749 reg = <0 0x00a8c000 0 0x4000>;
751 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
752 pinctrl-names = "default";
753 pinctrl-0 = <&qup_uart9_default>;
754 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
759 compatible = "qcom,geni-i2c";
760 reg = <0 0x00a90000 0 0x4000>;
762 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
763 pinctrl-names = "default";
764 pinctrl-0 = <&qup_i2c10_default>;
765 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
766 #address-cells = <1>;
772 compatible = "qcom,geni-spi";
773 reg = <0 0x00a90000 0 0x4000>;
775 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
776 pinctrl-names = "default";
777 pinctrl-0 = <&qup_spi10_default>;
778 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
779 #address-cells = <1>;
784 uart10: serial@a90000 {
785 compatible = "qcom,geni-uart";
786 reg = <0 0x00a90000 0 0x4000>;
788 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
789 pinctrl-names = "default";
790 pinctrl-0 = <&qup_uart10_default>;
791 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
796 compatible = "qcom,geni-i2c";
797 reg = <0 0x00a94000 0 0x4000>;
799 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
800 pinctrl-names = "default";
801 pinctrl-0 = <&qup_i2c11_default>;
802 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
803 #address-cells = <1>;
809 compatible = "qcom,geni-spi";
810 reg = <0 0x00a94000 0 0x4000>;
812 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
813 pinctrl-names = "default";
814 pinctrl-0 = <&qup_spi11_default>;
815 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
816 #address-cells = <1>;
821 uart11: serial@a94000 {
822 compatible = "qcom,geni-uart";
823 reg = <0 0x00a94000 0 0x4000>;
825 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
826 pinctrl-names = "default";
827 pinctrl-0 = <&qup_uart11_default>;
828 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
833 tcsr_mutex_regs: syscon@1f40000 {
834 compatible = "syscon";
835 reg = <0 0x01f40000 0 0x40000>;
838 tlmm: pinctrl@3500000 {
839 compatible = "qcom,sc7180-pinctrl";
840 reg = <0 0x03500000 0 0x300000>,
841 <0 0x03900000 0 0x300000>,
842 <0 0x03d00000 0 0x300000>;
843 reg-names = "west", "north", "south";
844 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
847 interrupt-controller;
848 #interrupt-cells = <2>;
849 gpio-ranges = <&tlmm 0 0 120>;
850 wakeup-parent = <&pdc>;
855 function = "qspi_clk";
862 function = "qspi_cs";
869 function = "qspi_cs";
873 qspi_data01: qspi-data01 {
875 pins = "gpio64", "gpio65";
876 function = "qspi_data";
880 qspi_data12: qspi-data12 {
882 pins = "gpio66", "gpio67";
883 function = "qspi_data";
887 qup_i2c0_default: qup-i2c0-default {
889 pins = "gpio34", "gpio35";
894 qup_i2c1_default: qup-i2c1-default {
896 pins = "gpio0", "gpio1";
901 qup_i2c2_default: qup-i2c2-default {
903 pins = "gpio15", "gpio16";
904 function = "qup02_i2c";
908 qup_i2c3_default: qup-i2c3-default {
910 pins = "gpio38", "gpio39";
915 qup_i2c4_default: qup-i2c4-default {
917 pins = "gpio115", "gpio116";
918 function = "qup04_i2c";
922 qup_i2c5_default: qup-i2c5-default {
924 pins = "gpio25", "gpio26";
929 qup_i2c6_default: qup-i2c6-default {
931 pins = "gpio59", "gpio60";
936 qup_i2c7_default: qup-i2c7-default {
938 pins = "gpio6", "gpio7";
939 function = "qup11_i2c";
943 qup_i2c8_default: qup-i2c8-default {
945 pins = "gpio42", "gpio43";
950 qup_i2c9_default: qup-i2c9-default {
952 pins = "gpio46", "gpio47";
953 function = "qup13_i2c";
957 qup_i2c10_default: qup-i2c10-default {
959 pins = "gpio86", "gpio87";
964 qup_i2c11_default: qup-i2c11-default {
966 pins = "gpio53", "gpio54";
971 qup_spi0_default: qup-spi0-default {
973 pins = "gpio34", "gpio35",
979 qup_spi1_default: qup-spi1-default {
981 pins = "gpio0", "gpio1",
987 qup_spi3_default: qup-spi3-default {
989 pins = "gpio38", "gpio39",
995 qup_spi5_default: qup-spi5-default {
997 pins = "gpio25", "gpio26",
1003 qup_spi6_default: qup-spi6-default {
1005 pins = "gpio59", "gpio60",
1011 qup_spi8_default: qup-spi8-default {
1013 pins = "gpio42", "gpio43",
1019 qup_spi10_default: qup-spi10-default {
1021 pins = "gpio86", "gpio87",
1027 qup_spi11_default: qup-spi11-default {
1029 pins = "gpio53", "gpio54",
1035 qup_uart0_default: qup-uart0-default {
1037 pins = "gpio34", "gpio35",
1043 qup_uart1_default: qup-uart1-default {
1045 pins = "gpio0", "gpio1",
1051 qup_uart2_default: qup-uart2-default {
1053 pins = "gpio15", "gpio16";
1054 function = "qup02_uart";
1058 qup_uart3_default: qup-uart3-default {
1060 pins = "gpio38", "gpio39",
1066 qup_uart4_default: qup-uart4-default {
1068 pins = "gpio115", "gpio116";
1069 function = "qup04_uart";
1073 qup_uart5_default: qup-uart5-default {
1075 pins = "gpio25", "gpio26",
1081 qup_uart6_default: qup-uart6-default {
1083 pins = "gpio59", "gpio60",
1089 qup_uart7_default: qup-uart7-default {
1091 pins = "gpio6", "gpio7";
1092 function = "qup11_uart";
1096 qup_uart8_default: qup-uart8-default {
1098 pins = "gpio44", "gpio45";
1103 qup_uart9_default: qup-uart9-default {
1105 pins = "gpio46", "gpio47";
1106 function = "qup13_uart";
1110 qup_uart10_default: qup-uart10-default {
1112 pins = "gpio86", "gpio87",
1118 qup_uart11_default: qup-uart11-default {
1120 pins = "gpio53", "gpio54",
1130 drive-strength = <16>;
1136 drive-strength = <10>;
1142 drive-strength = <10>;
1151 sdc1_off: sdc1-off {
1155 drive-strength = <2>;
1161 drive-strength = <2>;
1167 drive-strength = <2>;
1180 drive-strength = <16>;
1186 drive-strength = <10>;
1192 drive-strength = <10>;
1198 drive-strength = <2>;
1202 sdc2_off: sdc2-off {
1206 drive-strength = <2>;
1212 drive-strength = <2>;
1218 drive-strength = <2>;
1224 drive-strength = <2>;
1229 sdhc_2: sdhci@8804000 {
1230 compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
1231 reg = <0 0x08804000 0 0x1000>;
1232 reg-names = "hc_mem";
1234 iommus = <&apps_smmu 0x80 0>;
1235 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
1236 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
1237 interrupt-names = "hc_irq", "pwr_irq";
1239 clocks = <&gcc GCC_SDCC2_APPS_CLK>,
1240 <&gcc GCC_SDCC2_AHB_CLK>;
1241 clock-names = "core", "iface";
1245 status = "disabled";
1248 gpucc: clock-controller@5090000 {
1249 compatible = "qcom,sc7180-gpucc";
1250 reg = <0 0x05090000 0 0x9000>;
1251 clocks = <&rpmhcc RPMH_CXO_CLK>,
1252 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
1253 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
1254 clock-names = "bi_tcxo",
1255 "gcc_gpu_gpll0_clk_src",
1256 "gcc_gpu_gpll0_div_clk_src";
1259 #power-domain-cells = <1>;
1263 compatible = "qcom,qspi-v1";
1264 reg = <0 0x088dc000 0 0x600>;
1265 #address-cells = <1>;
1267 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
1268 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
1269 <&gcc GCC_QSPI_CORE_CLK>;
1270 clock-names = "iface", "core";
1271 status = "disabled";
1274 usb_1_hsphy: phy@88e3000 {
1275 compatible = "qcom,sc7180-qusb2-phy";
1276 reg = <0 0x088e3000 0 0x400>;
1277 status = "disabled";
1279 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1280 <&rpmhcc RPMH_CXO_CLK>;
1281 clock-names = "cfg_ahb", "ref";
1282 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1284 nvmem-cells = <&qusb2p_hstx_trim>;
1287 usb_1_qmpphy: phy-wrapper@88e9000 {
1288 compatible = "qcom,sc7180-qmp-usb3-phy";
1289 reg = <0 0x088e9000 0 0x18c>,
1290 <0 0x088e8000 0 0x38>;
1291 reg-names = "reg-base", "dp_com";
1292 status = "disabled";
1294 #address-cells = <2>;
1298 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
1299 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1300 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
1301 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
1302 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1304 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
1305 <&gcc GCC_USB3_PHY_PRIM_BCR>;
1306 reset-names = "phy", "common";
1308 usb_1_ssphy: phy@88e9200 {
1309 reg = <0 0x088e9200 0 0x128>,
1310 <0 0x088e9400 0 0x200>,
1311 <0 0x088e9c00 0 0x218>,
1312 <0 0x088e9600 0 0x128>,
1313 <0 0x088e9800 0 0x200>,
1314 <0 0x088e9a00 0 0x18>;
1317 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
1318 clock-names = "pipe0";
1319 clock-output-names = "usb3_phy_pipe_clk_src";
1323 system-cache-controller@9200000 {
1324 compatible = "qcom,sc7180-llcc";
1325 reg = <0 0x09200000 0 0x200000>, <0 0x09600000 0 0x50000>;
1326 reg-names = "llcc_base", "llcc_broadcast_base";
1327 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
1330 usb_1: usb@a6f8800 {
1331 compatible = "qcom,sc7180-dwc3", "qcom,dwc3";
1332 reg = <0 0x0a6f8800 0 0x400>;
1333 status = "disabled";
1334 #address-cells = <2>;
1339 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
1340 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
1341 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
1342 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1343 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
1344 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1347 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1348 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
1349 assigned-clock-rates = <19200000>, <150000000>;
1351 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
1352 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
1353 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
1354 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
1355 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1356 "dm_hs_phy_irq", "dp_hs_phy_irq";
1358 power-domains = <&gcc USB30_PRIM_GDSC>;
1360 resets = <&gcc GCC_USB30_PRIM_BCR>;
1362 usb_1_dwc3: dwc3@a600000 {
1363 compatible = "snps,dwc3";
1364 reg = <0 0x0a600000 0 0xe000>;
1365 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
1366 iommus = <&apps_smmu 0x540 0>;
1367 snps,dis_u2_susphy_quirk;
1368 snps,dis_enblslpm_quirk;
1369 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
1370 phy-names = "usb2-phy", "usb3-phy";
1374 videocc: clock-controller@ab00000 {
1375 compatible = "qcom,sc7180-videocc";
1376 reg = <0 0x0ab00000 0 0x10000>;
1377 clocks = <&rpmhcc RPMH_CXO_CLK>;
1378 clock-names = "bi_tcxo";
1381 #power-domain-cells = <1>;
1384 dispcc: clock-controller@af00000 {
1385 compatible = "qcom,sc7180-dispcc";
1386 reg = <0 0x0af00000 0 0x200000>;
1387 clocks = <&rpmhcc RPMH_CXO_CLK>,
1388 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
1393 clock-names = "bi_tcxo",
1394 "gcc_disp_gpll0_clk_src",
1395 "dsi0_phy_pll_out_byteclk",
1396 "dsi0_phy_pll_out_dsiclk",
1397 "dp_phy_pll_link_clk",
1398 "dp_phy_pll_vco_div_clk";
1401 #power-domain-cells = <1>;
1404 pdc: interrupt-controller@b220000 {
1405 compatible = "qcom,sc7180-pdc", "qcom,pdc";
1406 reg = <0 0x0b220000 0 0x30000>;
1407 qcom,pdc-ranges = <0 480 15>, <17 497 98>,
1408 <119 634 4>, <124 639 1>;
1409 #interrupt-cells = <2>;
1410 interrupt-parent = <&intc>;
1411 interrupt-controller;
1414 pdc_reset: reset-controller@b2e0000 {
1415 compatible = "qcom,sc7180-pdc-global", "qcom,sdm845-pdc-global";
1416 reg = <0 0x0b2e0000 0 0x20000>;
1420 tsens0: thermal-sensor@c263000 {
1421 compatible = "qcom,sc7180-tsens","qcom,tsens-v2";
1422 reg = <0 0x0c263000 0 0x1ff>, /* TM */
1423 <0 0x0c222000 0 0x1ff>; /* SROT */
1424 #qcom,sensors = <15>;
1425 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
1426 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
1427 interrupt-names = "uplow","critical";
1428 #thermal-sensor-cells = <1>;
1431 tsens1: thermal-sensor@c265000 {
1432 compatible = "qcom,sc7180-tsens","qcom,tsens-v2";
1433 reg = <0 0x0c265000 0 0x1ff>, /* TM */
1434 <0 0x0c223000 0 0x1ff>; /* SROT */
1435 #qcom,sensors = <10>;
1436 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
1437 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
1438 interrupt-names = "uplow","critical";
1439 #thermal-sensor-cells = <1>;
1442 aoss_reset: reset-controller@c2a0000 {
1443 compatible = "qcom,sc7180-aoss-cc", "qcom,sdm845-aoss-cc";
1444 reg = <0 0x0c2a0000 0 0x31000>;
1448 aoss_qmp: qmp@c300000 {
1449 compatible = "qcom,sc7180-aoss-qmp";
1450 reg = <0 0x0c300000 0 0x100000>;
1451 interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
1452 mboxes = <&apss_shared 0>;
1455 #power-domain-cells = <1>;
1458 spmi_bus: spmi@c440000 {
1459 compatible = "qcom,spmi-pmic-arb";
1460 reg = <0 0x0c440000 0 0x1100>,
1461 <0 0x0c600000 0 0x2000000>,
1462 <0 0x0e600000 0 0x100000>,
1463 <0 0x0e700000 0 0xa0000>,
1464 <0 0x0c40a000 0 0x26000>;
1465 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1466 interrupt-names = "periph_irq";
1467 interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
1470 #address-cells = <1>;
1472 interrupt-controller;
1473 #interrupt-cells = <4>;
1477 apps_smmu: iommu@15000000 {
1478 compatible = "qcom,sc7180-smmu-500", "arm,mmu-500";
1479 reg = <0 0x15000000 0 0x100000>;
1481 #global-interrupts = <1>;
1482 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
1483 <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
1484 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
1485 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
1486 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
1487 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
1488 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
1489 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
1490 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
1491 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
1492 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
1493 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
1494 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
1495 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
1496 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
1497 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
1498 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
1499 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
1500 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
1501 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
1502 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
1503 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
1504 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
1505 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1506 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1507 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1508 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
1509 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
1510 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
1511 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
1512 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
1513 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
1514 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
1515 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
1516 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
1517 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
1518 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
1519 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
1520 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
1521 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
1522 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
1523 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
1524 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
1525 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
1526 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
1527 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
1528 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
1529 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
1530 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
1531 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
1532 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
1533 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
1534 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
1535 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
1536 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
1537 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
1538 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
1539 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
1540 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
1541 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
1542 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
1543 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
1544 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
1545 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
1546 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
1547 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
1548 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
1549 <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
1550 <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
1551 <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
1552 <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
1553 <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
1554 <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
1555 <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
1556 <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
1557 <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
1558 <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
1559 <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
1560 <GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>,
1561 <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>,
1562 <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>;
1565 intc: interrupt-controller@17a00000 {
1566 compatible = "arm,gic-v3";
1567 #address-cells = <2>;
1570 #interrupt-cells = <3>;
1571 interrupt-controller;
1572 reg = <0 0x17a00000 0 0x10000>, /* GICD */
1573 <0 0x17a60000 0 0x100000>; /* GICR * 8 */
1574 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
1576 msi-controller@17a40000 {
1577 compatible = "arm,gic-v3-its";
1580 reg = <0 0x17a40000 0 0x20000>;
1581 status = "disabled";
1585 apss_shared: mailbox@17c00000 {
1586 compatible = "qcom,sc7180-apss-shared";
1587 reg = <0 0x17c00000 0 0x10000>;
1592 compatible = "qcom,apss-wdt-sc7180", "qcom,kpss-wdt";
1593 reg = <0 0x17c10000 0 0x1000>;
1594 clocks = <&sleep_clk>;
1598 #address-cells = <2>;
1601 compatible = "arm,armv7-timer-mem";
1602 reg = <0 0x17c20000 0 0x1000>;
1606 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
1607 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1608 reg = <0 0x17c21000 0 0x1000>,
1609 <0 0x17c22000 0 0x1000>;
1614 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
1615 reg = <0 0x17c23000 0 0x1000>;
1616 status = "disabled";
1621 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
1622 reg = <0 0x17c25000 0 0x1000>;
1623 status = "disabled";
1628 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
1629 reg = <0 0x17c27000 0 0x1000>;
1630 status = "disabled";
1635 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1636 reg = <0 0x17c29000 0 0x1000>;
1637 status = "disabled";
1642 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
1643 reg = <0 0x17c2b000 0 0x1000>;
1644 status = "disabled";
1649 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1650 reg = <0 0x17c2d000 0 0x1000>;
1651 status = "disabled";
1655 apps_rsc: rsc@18200000 {
1656 compatible = "qcom,rpmh-rsc";
1657 reg = <0 0x18200000 0 0x10000>,
1658 <0 0x18210000 0 0x10000>,
1659 <0 0x18220000 0 0x10000>;
1660 reg-names = "drv-0", "drv-1", "drv-2";
1661 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
1662 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
1663 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1664 qcom,tcs-offset = <0xd00>;
1666 qcom,tcs-config = <ACTIVE_TCS 2>,
1671 rpmhcc: clock-controller {
1672 compatible = "qcom,sc7180-rpmh-clk";
1673 clocks = <&xo_board>;
1678 rpmhpd: power-controller {
1679 compatible = "qcom,sc7180-rpmhpd";
1680 #power-domain-cells = <1>;
1681 operating-points-v2 = <&rpmhpd_opp_table>;
1683 rpmhpd_opp_table: opp-table {
1684 compatible = "operating-points-v2";
1686 rpmhpd_opp_ret: opp1 {
1687 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
1690 rpmhpd_opp_min_svs: opp2 {
1691 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
1694 rpmhpd_opp_low_svs: opp3 {
1695 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
1698 rpmhpd_opp_svs: opp4 {
1699 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
1702 rpmhpd_opp_svs_l1: opp5 {
1703 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
1706 rpmhpd_opp_svs_l2: opp6 {
1710 rpmhpd_opp_nom: opp7 {
1711 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
1714 rpmhpd_opp_nom_l1: opp8 {
1715 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
1718 rpmhpd_opp_nom_l2: opp9 {
1719 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
1722 rpmhpd_opp_turbo: opp10 {
1723 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
1726 rpmhpd_opp_turbo_l1: opp11 {
1727 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
1733 cpufreq_hw: cpufreq@18323000 {
1734 compatible = "qcom,cpufreq-hw";
1735 reg = <0 0x18323000 0 0x1400>, <0 0x18325800 0 0x1400>;
1736 reg-names = "freq-domain0", "freq-domain1";
1738 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
1739 clock-names = "xo", "alternate";
1741 #freq-domain-cells = <1>;
1747 polling-delay-passive = <250>;
1748 polling-delay = <1000>;
1750 thermal-sensors = <&tsens0 1>;
1753 cpu0_alert0: trip-point0 {
1754 temperature = <90000>;
1755 hysteresis = <2000>;
1759 cpu0_alert1: trip-point1 {
1760 temperature = <95000>;
1761 hysteresis = <2000>;
1765 cpu0_crit: cpu_crit {
1766 temperature = <110000>;
1767 hysteresis = <1000>;
1774 trip = <&cpu0_alert0>;
1775 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1776 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1777 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1778 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1779 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1780 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1783 trip = <&cpu0_alert1>;
1784 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1785 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1786 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1787 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1788 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1789 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1795 polling-delay-passive = <250>;
1796 polling-delay = <1000>;
1798 thermal-sensors = <&tsens0 2>;
1801 cpu1_alert0: trip-point0 {
1802 temperature = <90000>;
1803 hysteresis = <2000>;
1807 cpu1_alert1: trip-point1 {
1808 temperature = <95000>;
1809 hysteresis = <2000>;
1813 cpu1_crit: cpu_crit {
1814 temperature = <110000>;
1815 hysteresis = <1000>;
1822 trip = <&cpu1_alert0>;
1823 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1824 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1825 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1826 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1827 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1828 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1831 trip = <&cpu1_alert1>;
1832 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1833 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1834 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1835 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1836 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1837 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1843 polling-delay-passive = <250>;
1844 polling-delay = <1000>;
1846 thermal-sensors = <&tsens0 3>;
1849 cpu2_alert0: trip-point0 {
1850 temperature = <90000>;
1851 hysteresis = <2000>;
1855 cpu2_alert1: trip-point1 {
1856 temperature = <95000>;
1857 hysteresis = <2000>;
1861 cpu2_crit: cpu_crit {
1862 temperature = <110000>;
1863 hysteresis = <1000>;
1870 trip = <&cpu2_alert0>;
1871 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1872 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1873 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1874 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1875 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1876 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1879 trip = <&cpu2_alert1>;
1880 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1881 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1882 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1883 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1884 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1885 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1891 polling-delay-passive = <250>;
1892 polling-delay = <1000>;
1894 thermal-sensors = <&tsens0 4>;
1897 cpu3_alert0: trip-point0 {
1898 temperature = <90000>;
1899 hysteresis = <2000>;
1903 cpu3_alert1: trip-point1 {
1904 temperature = <95000>;
1905 hysteresis = <2000>;
1909 cpu3_crit: cpu_crit {
1910 temperature = <110000>;
1911 hysteresis = <1000>;
1918 trip = <&cpu3_alert0>;
1919 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1920 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1921 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1922 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1923 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1924 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1927 trip = <&cpu3_alert1>;
1928 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1929 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1930 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1931 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1932 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1933 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1939 polling-delay-passive = <250>;
1940 polling-delay = <1000>;
1942 thermal-sensors = <&tsens0 5>;
1945 cpu4_alert0: trip-point0 {
1946 temperature = <90000>;
1947 hysteresis = <2000>;
1951 cpu4_alert1: trip-point1 {
1952 temperature = <95000>;
1953 hysteresis = <2000>;
1957 cpu4_crit: cpu_crit {
1958 temperature = <110000>;
1959 hysteresis = <1000>;
1966 trip = <&cpu4_alert0>;
1967 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1968 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1969 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1970 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1971 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1972 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1975 trip = <&cpu4_alert1>;
1976 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1977 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1978 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1979 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1980 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1981 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1987 polling-delay-passive = <250>;
1988 polling-delay = <1000>;
1990 thermal-sensors = <&tsens0 6>;
1993 cpu5_alert0: trip-point0 {
1994 temperature = <90000>;
1995 hysteresis = <2000>;
1999 cpu5_alert1: trip-point1 {
2000 temperature = <95000>;
2001 hysteresis = <2000>;
2005 cpu5_crit: cpu_crit {
2006 temperature = <110000>;
2007 hysteresis = <1000>;
2014 trip = <&cpu5_alert0>;
2015 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2016 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2017 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2018 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2019 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2020 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2023 trip = <&cpu5_alert1>;
2024 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2025 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2026 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2027 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2028 <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2029 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2035 polling-delay-passive = <250>;
2036 polling-delay = <1000>;
2038 thermal-sensors = <&tsens0 9>;
2041 cpu6_alert0: trip-point0 {
2042 temperature = <90000>;
2043 hysteresis = <2000>;
2047 cpu6_alert1: trip-point1 {
2048 temperature = <95000>;
2049 hysteresis = <2000>;
2053 cpu6_crit: cpu_crit {
2054 temperature = <110000>;
2055 hysteresis = <1000>;
2062 trip = <&cpu6_alert0>;
2063 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2064 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2067 trip = <&cpu6_alert1>;
2068 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2069 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2075 polling-delay-passive = <250>;
2076 polling-delay = <1000>;
2078 thermal-sensors = <&tsens0 10>;
2081 cpu7_alert0: trip-point0 {
2082 temperature = <90000>;
2083 hysteresis = <2000>;
2087 cpu7_alert1: trip-point1 {
2088 temperature = <95000>;
2089 hysteresis = <2000>;
2093 cpu7_crit: cpu_crit {
2094 temperature = <110000>;
2095 hysteresis = <1000>;
2102 trip = <&cpu7_alert0>;
2103 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2104 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2107 trip = <&cpu7_alert1>;
2108 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2109 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2115 polling-delay-passive = <250>;
2116 polling-delay = <1000>;
2118 thermal-sensors = <&tsens0 11>;
2121 cpu8_alert0: trip-point0 {
2122 temperature = <90000>;
2123 hysteresis = <2000>;
2127 cpu8_alert1: trip-point1 {
2128 temperature = <95000>;
2129 hysteresis = <2000>;
2133 cpu8_crit: cpu_crit {
2134 temperature = <110000>;
2135 hysteresis = <1000>;
2142 trip = <&cpu8_alert0>;
2143 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2144 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2147 trip = <&cpu8_alert1>;
2148 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2149 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2155 polling-delay-passive = <250>;
2156 polling-delay = <1000>;
2158 thermal-sensors = <&tsens0 12>;
2161 cpu9_alert0: trip-point0 {
2162 temperature = <90000>;
2163 hysteresis = <2000>;
2167 cpu9_alert1: trip-point1 {
2168 temperature = <95000>;
2169 hysteresis = <2000>;
2173 cpu9_crit: cpu_crit {
2174 temperature = <110000>;
2175 hysteresis = <1000>;
2182 trip = <&cpu9_alert0>;
2183 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2184 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2187 trip = <&cpu9_alert1>;
2188 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2189 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2195 polling-delay-passive = <250>;
2196 polling-delay = <1000>;
2198 thermal-sensors = <&tsens0 0>;
2201 aoss0_alert0: trip-point0 {
2202 temperature = <90000>;
2203 hysteresis = <2000>;
2210 polling-delay-passive = <250>;
2211 polling-delay = <1000>;
2213 thermal-sensors = <&tsens0 7>;
2216 cpuss0_alert0: trip-point0 {
2217 temperature = <90000>;
2218 hysteresis = <2000>;
2221 cpuss0_crit: cluster0_crit {
2222 temperature = <110000>;
2223 hysteresis = <2000>;
2230 polling-delay-passive = <250>;
2231 polling-delay = <1000>;
2233 thermal-sensors = <&tsens0 8>;
2236 cpuss1_alert0: trip-point0 {
2237 temperature = <90000>;
2238 hysteresis = <2000>;
2241 cpuss1_crit: cluster0_crit {
2242 temperature = <110000>;
2243 hysteresis = <2000>;
2250 polling-delay-passive = <250>;
2251 polling-delay = <1000>;
2253 thermal-sensors = <&tsens0 13>;
2256 gpuss0_alert0: trip-point0 {
2257 temperature = <90000>;
2258 hysteresis = <2000>;
2265 polling-delay-passive = <250>;
2266 polling-delay = <1000>;
2268 thermal-sensors = <&tsens0 14>;
2271 gpuss1_alert0: trip-point0 {
2272 temperature = <90000>;
2273 hysteresis = <2000>;
2280 polling-delay-passive = <250>;
2281 polling-delay = <1000>;
2283 thermal-sensors = <&tsens1 0>;
2286 aoss1_alert0: trip-point0 {
2287 temperature = <90000>;
2288 hysteresis = <2000>;
2295 polling-delay-passive = <250>;
2296 polling-delay = <1000>;
2298 thermal-sensors = <&tsens1 1>;
2301 cwlan_alert0: trip-point0 {
2302 temperature = <90000>;
2303 hysteresis = <2000>;
2310 polling-delay-passive = <250>;
2311 polling-delay = <1000>;
2313 thermal-sensors = <&tsens1 2>;
2316 audio_alert0: trip-point0 {
2317 temperature = <90000>;
2318 hysteresis = <2000>;
2325 polling-delay-passive = <250>;
2326 polling-delay = <1000>;
2328 thermal-sensors = <&tsens1 3>;
2331 ddr_alert0: trip-point0 {
2332 temperature = <90000>;
2333 hysteresis = <2000>;
2340 polling-delay-passive = <250>;
2341 polling-delay = <1000>;
2343 thermal-sensors = <&tsens1 4>;
2346 q6_hvx_alert0: trip-point0 {
2347 temperature = <90000>;
2348 hysteresis = <2000>;
2355 polling-delay-passive = <250>;
2356 polling-delay = <1000>;
2358 thermal-sensors = <&tsens1 5>;
2361 camera_alert0: trip-point0 {
2362 temperature = <90000>;
2363 hysteresis = <2000>;
2370 polling-delay-passive = <250>;
2371 polling-delay = <1000>;
2373 thermal-sensors = <&tsens1 6>;
2376 mdm_alert0: trip-point0 {
2377 temperature = <90000>;
2378 hysteresis = <2000>;
2385 polling-delay-passive = <250>;
2386 polling-delay = <1000>;
2388 thermal-sensors = <&tsens1 7>;
2391 mdm_dsp_alert0: trip-point0 {
2392 temperature = <90000>;
2393 hysteresis = <2000>;
2400 polling-delay-passive = <250>;
2401 polling-delay = <1000>;
2403 thermal-sensors = <&tsens1 8>;
2406 npu_alert0: trip-point0 {
2407 temperature = <90000>;
2408 hysteresis = <2000>;
2415 polling-delay-passive = <250>;
2416 polling-delay = <1000>;
2418 thermal-sensors = <&tsens1 9>;
2421 video_alert0: trip-point0 {
2422 temperature = <90000>;
2423 hysteresis = <2000>;
2431 compatible = "arm,armv8-timer";
2432 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
2433 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
2434 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
2435 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;