1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2021, Martin Botka <martin.botka@somainline.org>
6 #include <dt-bindings/clock/qcom,gcc-sm6125.h>
7 #include <dt-bindings/clock/qcom,rpmcc.h>
8 #include <dt-bindings/dma/qcom-gpi.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/power/qcom-rpmpd.h>
14 interrupt-parent = <&intc>;
22 compatible = "fixed-clock";
24 clock-frequency = <19200000>;
25 clock-output-names = "xo_board";
28 sleep_clk: sleep-clk {
29 compatible = "fixed-clock";
31 clock-frequency = <32000>;
32 clock-output-names = "sleep_clk";
42 compatible = "qcom,kryo260";
44 enable-method = "psci";
45 capacity-dmips-mhz = <1024>;
46 next-level-cache = <&L2_0>;
56 compatible = "qcom,kryo260";
58 enable-method = "psci";
59 capacity-dmips-mhz = <1024>;
60 next-level-cache = <&L2_0>;
65 compatible = "qcom,kryo260";
67 enable-method = "psci";
68 capacity-dmips-mhz = <1024>;
69 next-level-cache = <&L2_0>;
74 compatible = "qcom,kryo260";
76 enable-method = "psci";
77 capacity-dmips-mhz = <1024>;
78 next-level-cache = <&L2_0>;
83 compatible = "qcom,kryo260";
85 enable-method = "psci";
86 capacity-dmips-mhz = <1638>;
87 next-level-cache = <&L2_1>;
97 compatible = "qcom,kryo260";
99 enable-method = "psci";
100 capacity-dmips-mhz = <1638>;
101 next-level-cache = <&L2_1>;
106 compatible = "qcom,kryo260";
108 enable-method = "psci";
109 capacity-dmips-mhz = <1638>;
110 next-level-cache = <&L2_1>;
115 compatible = "qcom,kryo260";
117 enable-method = "psci";
118 capacity-dmips-mhz = <1638>;
119 next-level-cache = <&L2_1>;
163 compatible = "qcom,scm-sm6125", "qcom,scm";
169 /* We expect the bootloader to fill in the size */
170 reg = <0x0 0x40000000 0x0 0x0>;
171 device_type = "memory";
175 compatible = "arm,armv8-pmuv3";
176 interrupts = <GIC_PPI 6 IRQ_TYPE_LEVEL_HIGH>;
180 compatible = "arm,psci-1.0";
184 reserved_memory: reserved-memory {
185 #address-cells = <2>;
189 hyp_mem: memory@45700000 {
190 reg = <0x0 0x45700000 0x0 0x600000>;
194 xbl_aop_mem: memory@45e00000 {
195 reg = <0x0 0x45e00000 0x0 0x140000>;
199 sec_apps_mem: memory@45fff000 {
200 reg = <0x0 0x45fff000 0x0 0x1000>;
204 smem_mem: memory@46000000 {
205 reg = <0x0 0x46000000 0x0 0x200000>;
209 reserved_mem1: memory@46200000 {
210 reg = <0x0 0x46200000 0x0 0x2d00000>;
214 camera_mem: memory@4ab00000 {
215 reg = <0x0 0x4ab00000 0x0 0x500000>;
219 modem_mem: memory@4b000000 {
220 reg = <0x0 0x4b000000 0x0 0x7e00000>;
224 venus_mem: memory@52e00000 {
225 reg = <0x0 0x52e00000 0x0 0x500000>;
229 wlan_msa_mem: memory@53300000 {
230 reg = <0x0 0x53300000 0x0 0x200000>;
234 cdsp_mem: memory@53500000 {
235 reg = <0x0 0x53500000 0x0 0x1e00000>;
239 adsp_pil_mem: memory@55300000 {
240 reg = <0x0 0x55300000 0x0 0x1e00000>;
244 ipa_fw_mem: memory@57100000 {
245 reg = <0x0 0x57100000 0x0 0x10000>;
249 ipa_gsi_mem: memory@57110000 {
250 reg = <0x0 0x57110000 0x0 0x5000>;
254 gpu_mem: memory@57115000 {
255 reg = <0x0 0x57115000 0x0 0x2000>;
259 cont_splash_mem: memory@5c000000 {
260 reg = <0x0 0x5c000000 0x0 0x00f00000>;
264 dfps_data_mem: memory@5cf00000 {
265 reg = <0x0 0x5cf00000 0x0 0x0100000>;
269 cdsp_sec_mem: memory@5f800000 {
270 reg = <0x0 0x5f800000 0x0 0x1e00000>;
274 qseecom_mem: memory@5e400000 {
275 reg = <0x0 0x5e400000 0x0 0x1400000>;
279 sdsp_mem: memory@f3000000 {
280 reg = <0x0 0xf3000000 0x0 0x400000>;
284 adsp_mem: memory@f3400000 {
285 reg = <0x0 0xf3400000 0x0 0x800000>;
289 qseecom_ta_mem: memory@13fc00000 {
290 reg = <0x1 0x3fc00000 0x0 0x400000>;
296 compatible = "qcom,glink-rpm";
298 interrupts = <GIC_SPI 194 IRQ_TYPE_EDGE_RISING>;
299 qcom,rpm-msg-ram = <&rpm_msg_ram>;
300 mboxes = <&apcs_glb 0>;
302 rpm_requests: rpm-requests {
303 compatible = "qcom,rpm-sm6125";
304 qcom,glink-channels = "rpm_requests";
306 rpmcc: clock-controller {
307 compatible = "qcom,rpmcc-sm6125", "qcom,rpmcc";
311 rpmpd: power-controller {
312 compatible = "qcom,sm6125-rpmpd";
313 #power-domain-cells = <1>;
314 operating-points-v2 = <&rpmpd_opp_table>;
316 rpmpd_opp_table: opp-table {
317 compatible = "operating-points-v2";
319 rpmpd_opp_ret: opp1 {
320 opp-level = <RPM_SMD_LEVEL_RETENTION>;
323 rpmpd_opp_ret_plus: opp2 {
324 opp-level = <RPM_SMD_LEVEL_RETENTION_PLUS>;
327 rpmpd_opp_min_svs: opp3 {
328 opp-level = <RPM_SMD_LEVEL_MIN_SVS>;
331 rpmpd_opp_low_svs: opp4 {
332 opp-level = <RPM_SMD_LEVEL_LOW_SVS>;
335 rpmpd_opp_svs: opp5 {
336 opp-level = <RPM_SMD_LEVEL_SVS>;
339 rpmpd_opp_svs_plus: opp6 {
340 opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
343 rpmpd_opp_nom: opp7 {
344 opp-level = <RPM_SMD_LEVEL_NOM>;
347 rpmpd_opp_nom_plus: opp8 {
348 opp-level = <RPM_SMD_LEVEL_NOM_PLUS>;
351 rpmpd_opp_turbo: opp9 {
352 opp-level = <RPM_SMD_LEVEL_TURBO>;
355 rpmpd_opp_turbo_no_cpr: opp10 {
356 opp-level = <RPM_SMD_LEVEL_TURBO_NO_CPR>;
364 compatible = "qcom,smem";
365 memory-region = <&smem_mem>;
366 hwlocks = <&tcsr_mutex 3>;
370 #address-cells = <1>;
372 ranges = <0x00 0x00 0x00 0xffffffff>;
373 compatible = "simple-bus";
375 tcsr_mutex: hwlock@340000 {
376 compatible = "qcom,tcsr-mutex";
377 reg = <0x00340000 0x20000>;
381 tlmm: pinctrl@500000 {
382 compatible = "qcom,sm6125-tlmm";
383 reg = <0x00500000 0x400000>,
384 <0x00900000 0x400000>,
385 <0x00d00000 0x400000>;
386 reg-names = "west", "south", "east";
387 interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>;
389 gpio-ranges = <&tlmm 0 0 134>;
391 interrupt-controller;
392 #interrupt-cells = <2>;
394 sdc2_off_state: sdc2-off-state {
397 drive-strength = <2>;
403 drive-strength = <2>;
409 drive-strength = <2>;
414 sdc2_on_state: sdc2-on-state {
417 drive-strength = <16>;
423 drive-strength = <10>;
429 drive-strength = <10>;
434 qup_i2c0_default: qup-i2c0-default-state {
435 pins = "gpio0", "gpio1";
437 drive-strength = <2>;
441 qup_i2c0_sleep: qup-i2c0-sleep-state {
442 pins = "gpio0", "gpio1";
444 drive-strength = <2>;
448 qup_i2c1_default: qup-i2c1-default-state {
449 pins = "gpio4", "gpio5";
451 drive-strength = <2>;
455 qup_i2c1_sleep: qup-i2c1-sleep-state {
456 pins = "gpio4", "gpio5";
458 drive-strength = <2>;
462 qup_i2c2_default: qup-i2c2-default-state {
463 pins = "gpio6", "gpio7";
465 drive-strength = <2>;
469 qup_i2c2_sleep: qup-i2c2-sleep-state {
470 pins = "gpio6", "gpio7";
472 drive-strength = <2>;
476 qup_i2c3_default: qup-i2c3-default-state {
477 pins = "gpio14", "gpio15";
479 drive-strength = <2>;
483 qup_i2c3_sleep: qup-i2c3-sleep-state {
484 pins = "gpio14", "gpio15";
486 drive-strength = <2>;
490 qup_i2c4_default: qup-i2c4-default-state {
491 pins = "gpio16", "gpio17";
493 drive-strength = <2>;
497 qup_i2c4_sleep: qup-i2c4-sleep-state {
498 pins = "gpio16", "gpio17";
500 drive-strength = <2>;
504 qup_i2c5_default: qup-i2c5-default-state {
505 pins = "gpio22", "gpio23";
507 drive-strength = <2>;
511 qup_i2c5_sleep: qup-i2c5-sleep-state {
512 pins = "gpio22", "gpio23";
514 drive-strength = <2>;
518 qup_i2c6_default: qup-i2c6-default-state {
519 pins = "gpio30", "gpio31";
521 drive-strength = <2>;
525 qup_i2c6_sleep: qup-i2c6-sleep-state {
526 pins = "gpio30", "gpio31";
528 drive-strength = <2>;
532 qup_i2c7_default: qup-i2c7-default-state {
533 pins = "gpio28", "gpio29";
535 drive-strength = <2>;
539 qup_i2c7_sleep: qup-i2c7-sleep-state {
540 pins = "gpio28", "gpio29";
542 drive-strength = <2>;
546 qup_i2c8_default: qup-i2c8-default-state {
547 pins = "gpio18", "gpio19";
549 drive-strength = <2>;
553 qup_i2c8_sleep: qup-i2c8-sleep-state {
554 pins = "gpio18", "gpio19";
556 drive-strength = <2>;
560 qup_i2c9_default: qup-i2c9-default-state {
561 pins = "gpio10", "gpio11";
563 drive-strength = <2>;
567 qup_i2c9_sleep: qup-i2c9-sleep-state {
568 pins = "gpio10", "gpio11";
570 drive-strength = <2>;
574 qup_spi0_default: qup-spi0-default-state {
575 pins = "gpio0", "gpio1", "gpio2", "gpio3";
577 drive-strength = <6>;
581 qup_spi0_sleep: qup-spi0-sleep-state {
582 pins = "gpio0", "gpio1", "gpio2", "gpio3";
584 drive-strength = <6>;
588 qup_spi2_default: qup-spi2-default-state {
589 pins = "gpio6", "gpio7", "gpio8", "gpio9";
591 drive-strength = <6>;
595 qup_spi2_sleep: qup-spi2-sleep-state {
596 pins = "gpio6", "gpio7", "gpio8", "gpio9";
598 drive-strength = <6>;
602 qup_spi5_default: qup-spi5-default-state {
603 pins = "gpio22", "gpio23", "gpio24", "gpio25";
605 drive-strength = <6>;
609 qup_spi5_sleep: qup-spi5-sleep-state {
610 pins = "gpio22", "gpio23", "gpio24", "gpio25";
612 drive-strength = <6>;
616 qup_spi6_default: qup-spi6-default-state {
617 pins = "gpio30", "gpio31", "gpio32", "gpio33";
619 drive-strength = <6>;
623 qup_spi6_sleep: qup-spi6-sleep-state {
624 pins = "gpio30", "gpio31", "gpio32", "gpio33";
626 drive-strength = <6>;
630 qup_spi8_default: qup-spi8-default-state {
631 pins = "gpio18", "gpio19", "gpio20", "gpio21";
633 drive-strength = <6>;
637 qup_spi8_sleep: qup-spi8-sleep-state {
638 pins = "gpio18", "gpio19", "gpio20", "gpio21";
640 drive-strength = <6>;
644 qup_spi9_default: qup-spi9-default-state {
645 pins = "gpio10", "gpio11", "gpio12", "gpio13";
647 drive-strength = <6>;
651 qup_spi9_sleep: qup-spi9-sleep-state {
652 pins = "gpio10", "gpio11", "gpio12", "gpio13";
654 drive-strength = <6>;
659 gcc: clock-controller@1400000 {
660 compatible = "qcom,gcc-sm6125";
661 reg = <0x01400000 0x1f0000>;
664 #power-domain-cells = <1>;
665 clock-names = "bi_tcxo", "sleep_clk";
666 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
669 hsusb_phy1: phy@1613000 {
670 compatible = "qcom,msm8996-qusb2-phy";
671 reg = <0x01613000 0x180>;
674 clocks = <&gcc GCC_AHB2PHY_USB_CLK>,
675 <&rpmcc RPM_SMD_XO_CLK_SRC>;
676 clock-names = "cfg_ahb", "ref";
678 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
682 rpm_msg_ram: sram@45f0000 {
683 compatible = "qcom,rpm-msg-ram";
684 reg = <0x045f0000 0x7000>;
687 sdhc_1: mmc@4744000 {
688 compatible = "qcom,sm6125-sdhci", "qcom,sdhci-msm-v5";
689 reg = <0x04744000 0x1000>, <0x04745000 0x1000>;
690 reg-names = "hc", "cqhci";
692 interrupts = <GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH>,
693 <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
694 interrupt-names = "hc_irq", "pwr_irq";
696 clocks = <&gcc GCC_SDCC1_AHB_CLK>,
697 <&gcc GCC_SDCC1_APPS_CLK>,
699 clock-names = "iface", "core", "xo";
700 iommus = <&apps_smmu 0x160 0x0>;
702 power-domains = <&rpmpd SM6125_VDDCX>;
704 qcom,dll-config = <0x000f642c>;
705 qcom,ddr-config = <0x80040873>;
714 sdhc_2: mmc@4784000 {
715 compatible = "qcom,sm6125-sdhci", "qcom,sdhci-msm-v5";
716 reg = <0x04784000 0x1000>;
719 interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>,
720 <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
721 interrupt-names = "hc_irq", "pwr_irq";
723 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
724 <&gcc GCC_SDCC2_APPS_CLK>,
726 clock-names = "iface", "core", "xo";
727 iommus = <&apps_smmu 0x180 0x0>;
729 pinctrl-0 = <&sdc2_on_state>;
730 pinctrl-1 = <&sdc2_off_state>;
731 pinctrl-names = "default", "sleep";
733 power-domains = <&rpmpd SM6125_VDDCX>;
735 qcom,dll-config = <0x0007642c>;
736 qcom,ddr-config = <0x80040873>;
742 ufs_mem_hc: ufs@4804000 {
743 compatible = "qcom,sm6125-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
744 reg = <0x04804000 0x3000>, <0x04810000 0x8000>;
745 reg-names = "std", "ice";
746 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
748 clocks = <&gcc GCC_UFS_PHY_AXI_CLK>,
749 <&gcc GCC_SYS_NOC_UFS_PHY_AXI_CLK>,
750 <&gcc GCC_UFS_PHY_AHB_CLK>,
751 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
752 <&rpmcc RPM_SMD_XO_CLK_SRC>,
753 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
754 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
755 <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
756 clock-names = "core_clk",
764 freq-table-hz = <50000000 240000000>,
767 <37500000 150000000>,
771 <75000000 300000000>;
773 resets = <&gcc GCC_UFS_PHY_BCR>;
777 phys = <&ufs_mem_phy>;
778 phy-names = "ufsphy";
780 lanes-per-direction = <1>;
782 iommus = <&apps_smmu 0x200 0x0>;
787 ufs_mem_phy: phy@4807000 {
788 compatible = "qcom,sm6125-qmp-ufs-phy";
789 reg = <0x04807000 0xdb8>;
791 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
792 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
796 resets = <&ufs_mem_hc 0>;
797 reset-names = "ufsphy";
799 power-domains = <&gcc UFS_PHY_GDSC>;
806 gpi_dma0: dma-controller@4a00000 {
807 compatible = "qcom,sm6125-gpi-dma", "qcom,sdm845-gpi-dma";
808 reg = <0x04a00000 0x60000>;
809 interrupts = <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
810 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
811 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
812 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
813 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
814 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
815 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
816 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>;
818 dma-channel-mask = <0x1f>;
819 iommus = <&apps_smmu 0x136 0x0>;
824 qupv3_id_0: geniqup@4ac0000 {
825 compatible = "qcom,geni-se-qup";
826 reg = <0x04ac0000 0x2000>;
827 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
828 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
829 clock-names = "m-ahb", "s-ahb";
830 iommus = <&apps_smmu 0x123 0x0>;
831 #address-cells = <1>;
837 compatible = "qcom,geni-i2c";
838 reg = <0x04a80000 0x4000>;
839 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
841 interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
842 pinctrl-0 = <&qup_i2c0_default>;
843 pinctrl-1 = <&qup_i2c0_sleep>;
844 pinctrl-names = "default", "sleep";
845 dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
846 <&gpi_dma0 1 0 QCOM_GPI_I2C>;
847 dma-names = "tx", "rx";
848 #address-cells = <1>;
854 compatible = "qcom,geni-spi";
855 reg = <0x04a80000 0x4000>;
856 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
858 interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
859 pinctrl-0 = <&qup_spi0_default>;
860 pinctrl-1 = <&qup_spi0_sleep>;
861 pinctrl-names = "default", "sleep";
862 dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
863 <&gpi_dma0 1 0 QCOM_GPI_SPI>;
864 dma-names = "tx", "rx";
865 #address-cells = <1>;
871 compatible = "qcom,geni-i2c";
872 reg = <0x04a84000 0x4000>;
873 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
875 interrupts = <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>;
876 pinctrl-0 = <&qup_i2c1_default>;
877 pinctrl-1 = <&qup_i2c1_sleep>;
878 pinctrl-names = "default", "sleep";
879 dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
880 <&gpi_dma0 1 1 QCOM_GPI_I2C>;
881 dma-names = "tx", "rx";
882 #address-cells = <1>;
888 compatible = "qcom,geni-i2c";
889 reg = <0x04a88000 0x4000>;
890 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
892 interrupts = <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>;
893 pinctrl-0 = <&qup_i2c2_default>;
894 pinctrl-1 = <&qup_i2c2_sleep>;
895 pinctrl-names = "default", "sleep";
896 dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
897 <&gpi_dma0 1 2 QCOM_GPI_I2C>;
898 dma-names = "tx", "rx";
899 #address-cells = <1>;
905 compatible = "qcom,geni-spi";
906 reg = <0x04a88000 0x4000>;
907 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
909 interrupts = <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>;
910 pinctrl-0 = <&qup_spi2_default>;
911 pinctrl-1 = <&qup_spi2_sleep>;
912 pinctrl-names = "default", "sleep";
913 dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
914 <&gpi_dma0 1 2 QCOM_GPI_SPI>;
915 dma-names = "tx", "rx";
916 #address-cells = <1>;
922 compatible = "qcom,geni-i2c";
923 reg = <0x04a8c000 0x4000>;
924 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
926 interrupts = <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>;
927 pinctrl-0 = <&qup_i2c3_default>;
928 pinctrl-1 = <&qup_i2c3_sleep>;
929 pinctrl-names = "default", "sleep";
930 dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
931 <&gpi_dma0 1 3 QCOM_GPI_I2C>;
932 dma-names = "tx", "rx";
933 #address-cells = <1>;
939 compatible = "qcom,geni-i2c";
940 reg = <0x04a90000 0x4000>;
941 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
943 interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>;
944 pinctrl-0 = <&qup_i2c4_default>;
945 pinctrl-1 = <&qup_i2c4_sleep>;
946 pinctrl-names = "default", "sleep";
947 dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
948 <&gpi_dma0 1 4 QCOM_GPI_I2C>;
949 dma-names = "tx", "rx";
950 #address-cells = <1>;
956 gpi_dma1: dma-controller@4c00000 {
957 compatible = "qcom,sm6125-gpi-dma", "qcom,sdm845-gpi-dma";
958 reg = <0x04c00000 0x60000>;
959 interrupts = <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
960 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
961 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
962 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
963 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
964 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
965 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
966 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>;
968 dma-channel-mask = <0x0f>;
969 iommus = <&apps_smmu 0x156 0x0>;
974 qupv3_id_1: geniqup@4cc0000 {
975 compatible = "qcom,geni-se-qup";
976 reg = <0x04cc0000 0x2000>;
977 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
978 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
979 clock-names = "m-ahb", "s-ahb";
980 iommus = <&apps_smmu 0x143 0x0>;
981 #address-cells = <1>;
987 compatible = "qcom,geni-i2c";
988 reg = <0x04c80000 0x4000>;
989 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
991 interrupts = <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>;
992 pinctrl-0 = <&qup_i2c5_default>;
993 pinctrl-1 = <&qup_i2c5_sleep>;
994 pinctrl-names = "default", "sleep";
995 dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
996 <&gpi_dma1 1 0 QCOM_GPI_I2C>;
997 dma-names = "tx", "rx";
998 #address-cells = <1>;
1000 status = "disabled";
1004 compatible = "qcom,geni-spi";
1005 reg = <0x04c80000 0x4000>;
1006 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1008 interrupts = <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>;
1009 pinctrl-0 = <&qup_spi5_default>;
1010 pinctrl-1 = <&qup_spi5_sleep>;
1011 pinctrl-names = "default", "sleep";
1012 dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>,
1013 <&gpi_dma1 1 0 QCOM_GPI_SPI>;
1014 dma-names = "tx", "rx";
1015 #address-cells = <1>;
1017 status = "disabled";
1021 compatible = "qcom,geni-i2c";
1022 reg = <0x04c84000 0x4000>;
1023 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1025 interrupts = <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>;
1026 pinctrl-0 = <&qup_i2c6_default>;
1027 pinctrl-1 = <&qup_i2c6_sleep>;
1028 pinctrl-names = "default", "sleep";
1029 dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
1030 <&gpi_dma1 1 1 QCOM_GPI_I2C>;
1031 dma-names = "tx", "rx";
1032 #address-cells = <1>;
1034 status = "disabled";
1038 compatible = "qcom,geni-spi";
1039 reg = <0x04c84000 0x4000>;
1040 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1042 interrupts = <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>;
1043 pinctrl-0 = <&qup_spi6_default>;
1044 pinctrl-1 = <&qup_spi6_sleep>;
1045 pinctrl-names = "default", "sleep";
1046 dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>,
1047 <&gpi_dma1 1 1 QCOM_GPI_SPI>;
1048 dma-names = "tx", "rx";
1049 #address-cells = <1>;
1051 status = "disabled";
1055 compatible = "qcom,geni-i2c";
1056 reg = <0x04c88000 0x4000>;
1057 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1059 interrupts = <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>;
1060 pinctrl-0 = <&qup_i2c7_default>;
1061 pinctrl-1 = <&qup_i2c7_sleep>;
1062 pinctrl-names = "default", "sleep";
1063 dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
1064 <&gpi_dma1 1 2 QCOM_GPI_I2C>;
1065 dma-names = "tx", "rx";
1066 #address-cells = <1>;
1068 status = "disabled";
1072 compatible = "qcom,geni-i2c";
1073 reg = <0x04c8c000 0x4000>;
1074 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1076 interrupts = <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
1077 pinctrl-0 = <&qup_i2c8_default>;
1078 pinctrl-1 = <&qup_i2c8_sleep>;
1079 pinctrl-names = "default", "sleep";
1080 dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
1081 <&gpi_dma1 1 3 QCOM_GPI_I2C>;
1082 dma-names = "tx", "rx";
1083 #address-cells = <1>;
1085 status = "disabled";
1089 compatible = "qcom,geni-spi";
1090 reg = <0x04c8c000 0x4000>;
1091 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1093 interrupts = <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
1094 pinctrl-0 = <&qup_spi8_default>;
1095 pinctrl-1 = <&qup_spi8_sleep>;
1096 pinctrl-names = "default", "sleep";
1097 dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>,
1098 <&gpi_dma1 1 3 QCOM_GPI_SPI>;
1099 dma-names = "tx", "rx";
1100 #address-cells = <1>;
1102 status = "disabled";
1106 compatible = "qcom,geni-i2c";
1107 reg = <0x04c90000 0x4000>;
1108 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1110 interrupts = <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>;
1111 pinctrl-0 = <&qup_i2c9_default>;
1112 pinctrl-1 = <&qup_i2c9_sleep>;
1113 pinctrl-names = "default", "sleep";
1114 dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
1115 <&gpi_dma1 1 4 QCOM_GPI_I2C>;
1116 dma-names = "tx", "rx";
1117 #address-cells = <1>;
1119 status = "disabled";
1123 compatible = "qcom,geni-spi";
1124 reg = <0x04c90000 0x4000>;
1125 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1127 interrupts = <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>;
1128 pinctrl-0 = <&qup_spi9_default>;
1129 pinctrl-1 = <&qup_spi9_sleep>;
1130 pinctrl-names = "default", "sleep";
1131 dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>,
1132 <&gpi_dma1 1 4 QCOM_GPI_SPI>;
1133 dma-names = "tx", "rx";
1134 #address-cells = <1>;
1136 status = "disabled";
1141 compatible = "qcom,sm6125-dwc3", "qcom,dwc3";
1142 reg = <0x04ef8800 0x400>;
1143 #address-cells = <1>;
1147 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
1148 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
1149 <&gcc GCC_SYS_NOC_USB3_PRIM_AXI_CLK>,
1150 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
1151 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1152 <&gcc GCC_USB3_PRIM_CLKREF_CLK>;
1153 clock-names = "cfg_noc",
1160 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1161 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
1162 assigned-clock-rates = <19200000>, <66666667>;
1164 power-domains = <&gcc USB30_PRIM_GDSC>;
1165 qcom,select-utmi-as-pipe-clk;
1166 status = "disabled";
1168 usb3_dwc3: usb@4e00000 {
1169 compatible = "snps,dwc3";
1170 reg = <0x04e00000 0xcd00>;
1171 interrupts = <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>;
1172 iommus = <&apps_smmu 0x100 0x0>;
1173 phys = <&hsusb_phy1>;
1174 phy-names = "usb2-phy";
1175 snps,dis_u2_susphy_quirk;
1176 snps,dis_enblslpm_quirk;
1177 maximum-speed = "high-speed";
1178 dr_mode = "peripheral";
1183 compatible = "qcom,rpm-stats";
1184 reg = <0x04690000 0x10000>;
1187 spmi_bus: spmi@1c40000 {
1188 compatible = "qcom,spmi-pmic-arb";
1189 reg = <0x01c40000 0x1100>,
1190 <0x01e00000 0x2000000>,
1191 <0x03e00000 0x100000>,
1192 <0x03f00000 0xa0000>,
1193 <0x01c0a000 0x26000>;
1194 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1195 interrupt-names = "periph_irq";
1196 interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>;
1199 #address-cells = <2>;
1201 interrupt-controller;
1202 #interrupt-cells = <4>;
1205 apps_smmu: iommu@c600000 {
1206 compatible = "qcom,sm6125-smmu-500", "qcom,smmu-500", "arm,mmu-500";
1207 reg = <0xc600000 0x80000>;
1208 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>,
1209 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
1210 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
1211 <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
1212 <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
1213 <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
1214 <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
1215 <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
1216 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
1217 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
1218 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
1219 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
1220 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
1221 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
1222 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
1223 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
1224 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
1225 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
1226 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
1227 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
1228 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
1229 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
1230 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
1231 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
1232 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
1233 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
1234 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
1235 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
1236 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
1237 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1238 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1239 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1240 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
1241 <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1242 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
1243 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
1244 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
1245 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
1246 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
1247 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
1248 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
1249 <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
1250 <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
1251 <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
1252 <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
1253 <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
1254 <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
1255 <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
1256 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
1257 <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
1258 <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
1259 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
1260 <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>,
1261 <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
1262 <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
1263 <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
1264 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
1265 <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
1266 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
1267 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
1268 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
1269 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
1270 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
1271 <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
1272 <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
1274 #global-interrupts = <1>;
1278 apcs_glb: mailbox@f111000 {
1279 compatible = "qcom,sm6125-apcs-hmss-global",
1280 "qcom,msm8994-apcs-kpss-global";
1281 reg = <0x0f111000 0x1000>;
1287 compatible = "arm,armv7-timer-mem";
1288 #address-cells = <1>;
1291 reg = <0x0f120000 0x1000>;
1292 clock-frequency = <19200000>;
1296 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
1297 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
1298 reg = <0x0f121000 0x1000>,
1299 <0x0f122000 0x1000>;
1304 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
1305 reg = <0x0f123000 0x1000>;
1306 status = "disabled";
1311 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
1312 reg = <0x0f124000 0x1000>;
1313 status = "disabled";
1318 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
1319 reg = <0x0f125000 0x1000>;
1320 status = "disabled";
1325 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1326 reg = <0x0f126000 0x1000>;
1327 status = "disabled";
1332 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
1333 reg = <0x0f127000 0x1000>;
1334 status = "disabled";
1339 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1340 reg = <0x0f128000 0x1000>;
1341 status = "disabled";
1345 intc: interrupt-controller@f200000 {
1346 compatible = "arm,gic-v3";
1347 reg = <0x0f200000 0x20000>,
1348 <0x0f300000 0x100000>;
1349 #interrupt-cells = <3>;
1350 interrupt-controller;
1351 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
1356 compatible = "arm,armv8-timer";
1357 interrupts = <GIC_PPI 1 0xf08
1361 clock-frequency = <19200000>;