1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2016, The Linux Foundation. All rights reserved. */
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/clock/qcom,gcc-msm8998.h>
6 #include <dt-bindings/clock/qcom,gpucc-msm8998.h>
7 #include <dt-bindings/clock/qcom,mmcc-msm8998.h>
8 #include <dt-bindings/clock/qcom,rpmcc.h>
9 #include <dt-bindings/power/qcom-rpmpd.h>
10 #include <dt-bindings/gpio/gpio.h>
13 interrupt-parent = <&intc>;
15 qcom,msm-id = <292 0x0>;
23 device_type = "memory";
24 /* We expect the bootloader to fill in the reg */
25 reg = <0x0 0x80000000 0x0 0x0>;
33 hyp_mem: memory@85800000 {
34 reg = <0x0 0x85800000 0x0 0x600000>;
38 xbl_mem: memory@85e00000 {
39 reg = <0x0 0x85e00000 0x0 0x100000>;
43 smem_mem: smem-mem@86000000 {
44 reg = <0x0 0x86000000 0x0 0x200000>;
48 tz_mem: memory@86200000 {
49 reg = <0x0 0x86200000 0x0 0x2d00000>;
53 rmtfs_mem: memory@88f00000 {
54 compatible = "qcom,rmtfs-mem";
55 reg = <0x0 0x88f00000 0x0 0x200000>;
62 spss_mem: memory@8ab00000 {
63 reg = <0x0 0x8ab00000 0x0 0x700000>;
67 adsp_mem: memory@8b200000 {
68 reg = <0x0 0x8b200000 0x0 0x1a00000>;
72 mpss_mem: memory@8cc00000 {
73 reg = <0x0 0x8cc00000 0x0 0x7000000>;
77 venus_mem: memory@93c00000 {
78 reg = <0x0 0x93c00000 0x0 0x500000>;
82 mba_mem: memory@94100000 {
83 reg = <0x0 0x94100000 0x0 0x200000>;
87 slpi_mem: memory@94300000 {
88 reg = <0x0 0x94300000 0x0 0xf00000>;
92 ipa_fw_mem: memory@95200000 {
93 reg = <0x0 0x95200000 0x0 0x10000>;
97 ipa_gsi_mem: memory@95210000 {
98 reg = <0x0 0x95210000 0x0 0x5000>;
102 gpu_mem: memory@95600000 {
103 reg = <0x0 0x95600000 0x0 0x100000>;
107 wlan_msa_mem: memory@95700000 {
108 reg = <0x0 0x95700000 0x0 0x100000>;
115 compatible = "fixed-clock";
117 clock-frequency = <19200000>;
118 clock-output-names = "xo_board";
121 sleep_clk: sleep-clk {
122 compatible = "fixed-clock";
124 clock-frequency = <32764>;
129 #address-cells = <2>;
134 compatible = "qcom,kryo280";
136 enable-method = "psci";
137 capacity-dmips-mhz = <1024>;
138 cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
139 next-level-cache = <&L2_0>;
141 compatible = "cache";
148 compatible = "qcom,kryo280";
150 enable-method = "psci";
151 capacity-dmips-mhz = <1024>;
152 cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
153 next-level-cache = <&L2_0>;
158 compatible = "qcom,kryo280";
160 enable-method = "psci";
161 capacity-dmips-mhz = <1024>;
162 cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
163 next-level-cache = <&L2_0>;
168 compatible = "qcom,kryo280";
170 enable-method = "psci";
171 capacity-dmips-mhz = <1024>;
172 cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
173 next-level-cache = <&L2_0>;
178 compatible = "qcom,kryo280";
180 enable-method = "psci";
181 capacity-dmips-mhz = <1536>;
182 cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
183 next-level-cache = <&L2_1>;
185 compatible = "cache";
192 compatible = "qcom,kryo280";
194 enable-method = "psci";
195 capacity-dmips-mhz = <1536>;
196 cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
197 next-level-cache = <&L2_1>;
202 compatible = "qcom,kryo280";
204 enable-method = "psci";
205 capacity-dmips-mhz = <1536>;
206 cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
207 next-level-cache = <&L2_1>;
212 compatible = "qcom,kryo280";
214 enable-method = "psci";
215 capacity-dmips-mhz = <1536>;
216 cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
217 next-level-cache = <&L2_1>;
259 entry-method = "psci";
261 LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
262 compatible = "arm,idle-state";
263 idle-state-name = "little-retention";
264 /* CPU Retention (C2D), L2 Active */
265 arm,psci-suspend-param = <0x00000002>;
266 entry-latency-us = <81>;
267 exit-latency-us = <86>;
268 min-residency-us = <504>;
271 LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 {
272 compatible = "arm,idle-state";
273 idle-state-name = "little-power-collapse";
274 /* CPU + L2 Power Collapse (C3, D4) */
275 arm,psci-suspend-param = <0x40000003>;
276 entry-latency-us = <814>;
277 exit-latency-us = <4562>;
278 min-residency-us = <9183>;
282 BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
283 compatible = "arm,idle-state";
284 idle-state-name = "big-retention";
285 /* CPU Retention (C2D), L2 Active */
286 arm,psci-suspend-param = <0x00000002>;
287 entry-latency-us = <79>;
288 exit-latency-us = <82>;
289 min-residency-us = <1302>;
292 BIG_CPU_SLEEP_1: cpu-sleep-1-1 {
293 compatible = "arm,idle-state";
294 idle-state-name = "big-power-collapse";
295 /* CPU + L2 Power Collapse (C3, D4) */
296 arm,psci-suspend-param = <0x40000003>;
297 entry-latency-us = <724>;
298 exit-latency-us = <2027>;
299 min-residency-us = <9419>;
307 compatible = "qcom,scm-msm8998", "qcom,scm";
312 compatible = "qcom,tcsr-mutex";
313 syscon = <&tcsr_mutex_regs 0 0x1000>;
318 compatible = "arm,psci-1.0";
323 compatible = "qcom,glink-rpm";
325 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
326 qcom,rpm-msg-ram = <&rpm_msg_ram>;
327 mboxes = <&apcs_glb 0>;
329 rpm_requests: rpm-requests {
330 compatible = "qcom,rpm-msm8998";
331 qcom,glink-channels = "rpm_requests";
333 rpmcc: clock-controller {
334 compatible = "qcom,rpmcc-msm8998", "qcom,rpmcc";
338 rpmpd: power-controller {
339 compatible = "qcom,msm8998-rpmpd";
340 #power-domain-cells = <1>;
341 operating-points-v2 = <&rpmpd_opp_table>;
343 rpmpd_opp_table: opp-table {
344 compatible = "operating-points-v2";
346 rpmpd_opp_ret: opp1 {
347 opp-level = <RPM_SMD_LEVEL_RETENTION>;
350 rpmpd_opp_ret_plus: opp2 {
351 opp-level = <RPM_SMD_LEVEL_RETENTION_PLUS>;
354 rpmpd_opp_min_svs: opp3 {
355 opp-level = <RPM_SMD_LEVEL_MIN_SVS>;
358 rpmpd_opp_low_svs: opp4 {
359 opp-level = <RPM_SMD_LEVEL_LOW_SVS>;
362 rpmpd_opp_svs: opp5 {
363 opp-level = <RPM_SMD_LEVEL_SVS>;
366 rpmpd_opp_svs_plus: opp6 {
367 opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
370 rpmpd_opp_nom: opp7 {
371 opp-level = <RPM_SMD_LEVEL_NOM>;
374 rpmpd_opp_nom_plus: opp8 {
375 opp-level = <RPM_SMD_LEVEL_NOM_PLUS>;
378 rpmpd_opp_turbo: opp9 {
379 opp-level = <RPM_SMD_LEVEL_TURBO>;
382 rpmpd_opp_turbo_plus: opp10 {
383 opp-level = <RPM_SMD_LEVEL_BINNING>;
391 compatible = "qcom,smem";
392 memory-region = <&smem_mem>;
393 hwlocks = <&tcsr_mutex 3>;
397 compatible = "qcom,smp2p";
398 qcom,smem = <443>, <429>;
400 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
402 mboxes = <&apcs_glb 10>;
404 qcom,local-pid = <0>;
405 qcom,remote-pid = <2>;
407 adsp_smp2p_out: master-kernel {
408 qcom,entry-name = "master-kernel";
409 #qcom,smem-state-cells = <1>;
412 adsp_smp2p_in: slave-kernel {
413 qcom,entry-name = "slave-kernel";
415 interrupt-controller;
416 #interrupt-cells = <2>;
421 compatible = "qcom,smp2p";
422 qcom,smem = <435>, <428>;
423 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
424 mboxes = <&apcs_glb 14>;
425 qcom,local-pid = <0>;
426 qcom,remote-pid = <1>;
428 modem_smp2p_out: master-kernel {
429 qcom,entry-name = "master-kernel";
430 #qcom,smem-state-cells = <1>;
433 modem_smp2p_in: slave-kernel {
434 qcom,entry-name = "slave-kernel";
435 interrupt-controller;
436 #interrupt-cells = <2>;
441 compatible = "qcom,smp2p";
442 qcom,smem = <481>, <430>;
443 interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
444 mboxes = <&apcs_glb 26>;
445 qcom,local-pid = <0>;
446 qcom,remote-pid = <3>;
448 slpi_smp2p_out: master-kernel {
449 qcom,entry-name = "master-kernel";
450 #qcom,smem-state-cells = <1>;
453 slpi_smp2p_in: slave-kernel {
454 qcom,entry-name = "slave-kernel";
455 interrupt-controller;
456 #interrupt-cells = <2>;
462 polling-delay-passive = <250>;
463 polling-delay = <1000>;
465 thermal-sensors = <&tsens0 1>;
468 cpu0_alert0: trip-point0 {
469 temperature = <75000>;
474 cpu0_crit: cpu_crit {
475 temperature = <110000>;
483 polling-delay-passive = <250>;
484 polling-delay = <1000>;
486 thermal-sensors = <&tsens0 2>;
489 cpu1_alert0: trip-point0 {
490 temperature = <75000>;
495 cpu1_crit: cpu_crit {
496 temperature = <110000>;
504 polling-delay-passive = <250>;
505 polling-delay = <1000>;
507 thermal-sensors = <&tsens0 3>;
510 cpu2_alert0: trip-point0 {
511 temperature = <75000>;
516 cpu2_crit: cpu_crit {
517 temperature = <110000>;
525 polling-delay-passive = <250>;
526 polling-delay = <1000>;
528 thermal-sensors = <&tsens0 4>;
531 cpu3_alert0: trip-point0 {
532 temperature = <75000>;
537 cpu3_crit: cpu_crit {
538 temperature = <110000>;
546 polling-delay-passive = <250>;
547 polling-delay = <1000>;
549 thermal-sensors = <&tsens0 7>;
552 cpu4_alert0: trip-point0 {
553 temperature = <75000>;
558 cpu4_crit: cpu_crit {
559 temperature = <110000>;
567 polling-delay-passive = <250>;
568 polling-delay = <1000>;
570 thermal-sensors = <&tsens0 8>;
573 cpu5_alert0: trip-point0 {
574 temperature = <75000>;
579 cpu5_crit: cpu_crit {
580 temperature = <110000>;
588 polling-delay-passive = <250>;
589 polling-delay = <1000>;
591 thermal-sensors = <&tsens0 9>;
594 cpu6_alert0: trip-point0 {
595 temperature = <75000>;
600 cpu6_crit: cpu_crit {
601 temperature = <110000>;
609 polling-delay-passive = <250>;
610 polling-delay = <1000>;
612 thermal-sensors = <&tsens0 10>;
615 cpu7_alert0: trip-point0 {
616 temperature = <75000>;
621 cpu7_crit: cpu_crit {
622 temperature = <110000>;
630 polling-delay-passive = <250>;
631 polling-delay = <1000>;
633 thermal-sensors = <&tsens0 12>;
636 gpu1_alert0: trip-point0 {
637 temperature = <90000>;
645 polling-delay-passive = <250>;
646 polling-delay = <1000>;
648 thermal-sensors = <&tsens0 13>;
651 gpu2_alert0: trip-point0 {
652 temperature = <90000>;
660 polling-delay-passive = <250>;
661 polling-delay = <1000>;
663 thermal-sensors = <&tsens0 5>;
666 cluster0_mhm_alert0: trip-point0 {
667 temperature = <90000>;
675 polling-delay-passive = <250>;
676 polling-delay = <1000>;
678 thermal-sensors = <&tsens0 6>;
681 cluster1_mhm_alert0: trip-point0 {
682 temperature = <90000>;
689 cluster1-l2-thermal {
690 polling-delay-passive = <250>;
691 polling-delay = <1000>;
693 thermal-sensors = <&tsens0 11>;
696 cluster1_l2_alert0: trip-point0 {
697 temperature = <90000>;
705 polling-delay-passive = <250>;
706 polling-delay = <1000>;
708 thermal-sensors = <&tsens1 1>;
711 modem_alert0: trip-point0 {
712 temperature = <90000>;
720 polling-delay-passive = <250>;
721 polling-delay = <1000>;
723 thermal-sensors = <&tsens1 2>;
726 mem_alert0: trip-point0 {
727 temperature = <90000>;
735 polling-delay-passive = <250>;
736 polling-delay = <1000>;
738 thermal-sensors = <&tsens1 3>;
741 wlan_alert0: trip-point0 {
742 temperature = <90000>;
750 polling-delay-passive = <250>;
751 polling-delay = <1000>;
753 thermal-sensors = <&tsens1 4>;
756 q6_dsp_alert0: trip-point0 {
757 temperature = <90000>;
765 polling-delay-passive = <250>;
766 polling-delay = <1000>;
768 thermal-sensors = <&tsens1 5>;
771 camera_alert0: trip-point0 {
772 temperature = <90000>;
780 polling-delay-passive = <250>;
781 polling-delay = <1000>;
783 thermal-sensors = <&tsens1 6>;
786 multimedia_alert0: trip-point0 {
787 temperature = <90000>;
796 compatible = "arm,armv8-timer";
797 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
798 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
799 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
800 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
804 #address-cells = <1>;
806 ranges = <0 0 0 0xffffffff>;
807 compatible = "simple-bus";
809 gcc: clock-controller@100000 {
810 compatible = "qcom,gcc-msm8998";
813 #power-domain-cells = <1>;
814 reg = <0x00100000 0xb0000>;
816 clock-names = "xo", "sleep_clk";
817 clocks = <&xo>, <&sleep_clk>;
820 * The hypervisor typically configures the memory region where these clocks
821 * reside as read-only for the HLOS. If the HLOS tried to enable or disable
822 * these clocks on a device with such configuration (e.g. because they are
823 * enabled but unused during boot-up), the device will most likely decide
825 * In light of that, we are conservative here and we list all such clocks
826 * as protected. The board dts (or a user-supplied dts) can override the
827 * list of protected clocks if it differs from the norm, and it is in fact
828 * desired for the HLOS to manage these clocks
830 protected-clocks = <AGGRE2_SNOC_NORTH_AXI>,
835 rpm_msg_ram: sram@778000 {
836 compatible = "qcom,rpm-msg-ram";
837 reg = <0x00778000 0x7000>;
840 qfprom: qfprom@784000 {
841 compatible = "qcom,qfprom";
842 reg = <0x00784000 0x621c>;
843 #address-cells = <1>;
846 qusb2_hstx_trim: hstx-trim@23a {
852 tsens0: thermal@10ab000 {
853 compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
854 reg = <0x010ab000 0x1000>, /* TM */
855 <0x010aa000 0x1000>; /* SROT */
856 #qcom,sensors = <14>;
857 interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>,
858 <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>;
859 interrupt-names = "uplow", "critical";
860 #thermal-sensor-cells = <1>;
863 tsens1: thermal@10ae000 {
864 compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
865 reg = <0x010ae000 0x1000>, /* TM */
866 <0x010ad000 0x1000>; /* SROT */
868 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
869 <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>;
870 interrupt-names = "uplow", "critical";
871 #thermal-sensor-cells = <1>;
874 anoc1_smmu: iommu@1680000 {
875 compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
876 reg = <0x01680000 0x10000>;
879 #global-interrupts = <0>;
881 <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
882 <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
883 <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
884 <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
885 <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
886 <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>;
889 anoc2_smmu: iommu@16c0000 {
890 compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
891 reg = <0x016c0000 0x40000>;
894 #global-interrupts = <0>;
896 <GIC_SPI 373 IRQ_TYPE_EDGE_RISING>,
897 <GIC_SPI 374 IRQ_TYPE_EDGE_RISING>,
898 <GIC_SPI 375 IRQ_TYPE_EDGE_RISING>,
899 <GIC_SPI 376 IRQ_TYPE_EDGE_RISING>,
900 <GIC_SPI 377 IRQ_TYPE_EDGE_RISING>,
901 <GIC_SPI 378 IRQ_TYPE_EDGE_RISING>,
902 <GIC_SPI 462 IRQ_TYPE_EDGE_RISING>,
903 <GIC_SPI 463 IRQ_TYPE_EDGE_RISING>,
904 <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
905 <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>;
909 compatible = "qcom,pcie-msm8996";
910 reg = <0x01c00000 0x2000>,
913 <0x1b100000 0x100000>;
914 reg-names = "parf", "dbi", "elbi", "config";
916 linux,pci-domain = <0>;
917 bus-range = <0x00 0xff>;
918 #address-cells = <3>;
922 phy-names = "pciephy";
925 ranges = <0x01000000 0x0 0x1b200000 0x1b200000 0x0 0x100000>,
926 <0x02000000 0x0 0x1b300000 0x1b300000 0x0 0xd00000>;
928 #interrupt-cells = <1>;
929 interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
930 interrupt-names = "msi";
931 interrupt-map-mask = <0 0 0 0x7>;
932 interrupt-map = <0 0 0 1 &intc 0 0 135 IRQ_TYPE_LEVEL_HIGH>,
933 <0 0 0 2 &intc 0 0 136 IRQ_TYPE_LEVEL_HIGH>,
934 <0 0 0 3 &intc 0 0 138 IRQ_TYPE_LEVEL_HIGH>,
935 <0 0 0 4 &intc 0 0 139 IRQ_TYPE_LEVEL_HIGH>;
937 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
938 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
939 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
940 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
941 <&gcc GCC_PCIE_0_AUX_CLK>;
942 clock-names = "pipe", "bus_master", "bus_slave", "cfg", "aux";
944 power-domains = <&gcc PCIE_0_GDSC>;
945 iommu-map = <0x100 &anoc1_smmu 0x1480 1>;
946 perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
949 pcie_phy: phy@1c06000 {
950 compatible = "qcom,msm8998-qmp-pcie-phy";
951 reg = <0x01c06000 0x18c>;
952 #address-cells = <1>;
957 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
958 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
959 <&gcc GCC_PCIE_CLKREF_CLK>;
960 clock-names = "aux", "cfg_ahb", "ref";
962 resets = <&gcc GCC_PCIE_0_PHY_BCR>, <&gcc GCC_PCIE_PHY_BCR>;
963 reset-names = "phy", "common";
965 vdda-phy-supply = <&vreg_l1a_0p875>;
966 vdda-pll-supply = <&vreg_l2a_1p2>;
968 pciephy: phy@1c06800 {
969 reg = <0x01c06200 0x128>, <0x01c06400 0x1fc>, <0x01c06800 0x20c>;
972 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
973 clock-names = "pipe0";
974 clock-output-names = "pcie_0_pipe_clk_src";
979 ufshc: ufshc@1da4000 {
980 compatible = "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
981 reg = <0x01da4000 0x2500>;
982 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
983 phys = <&ufsphy_lanes>;
984 phy-names = "ufsphy";
985 lanes-per-direction = <2>;
986 power-domains = <&gcc UFS_GDSC>;
1000 <&gcc GCC_UFS_AXI_CLK>,
1001 <&gcc GCC_AGGRE1_UFS_AXI_CLK>,
1002 <&gcc GCC_UFS_AHB_CLK>,
1003 <&gcc GCC_UFS_UNIPRO_CORE_CLK>,
1004 <&rpmcc RPM_SMD_LN_BB_CLK1>,
1005 <&gcc GCC_UFS_TX_SYMBOL_0_CLK>,
1006 <&gcc GCC_UFS_RX_SYMBOL_0_CLK>,
1007 <&gcc GCC_UFS_RX_SYMBOL_1_CLK>;
1009 <50000000 200000000>,
1012 <37500000 150000000>,
1018 resets = <&gcc GCC_UFS_BCR>;
1019 reset-names = "rst";
1022 ufsphy: phy@1da7000 {
1023 compatible = "qcom,msm8998-qmp-ufs-phy";
1024 reg = <0x01da7000 0x18c>;
1025 #address-cells = <1>;
1027 status = "disabled";
1034 <&gcc GCC_UFS_CLKREF_CLK>,
1035 <&gcc GCC_UFS_PHY_AUX_CLK>;
1037 reset-names = "ufsphy";
1038 resets = <&ufshc 0>;
1040 ufsphy_lanes: phy@1da7400 {
1041 reg = <0x01da7400 0x128>,
1050 tcsr_mutex_regs: syscon@1f40000 {
1051 compatible = "syscon";
1052 reg = <0x01f40000 0x40000>;
1055 tlmm: pinctrl@3400000 {
1056 compatible = "qcom,msm8998-pinctrl";
1057 reg = <0x03400000 0xc00000>;
1058 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1060 #gpio-cells = <0x2>;
1061 interrupt-controller;
1062 #interrupt-cells = <0x2>;
1064 sdc2_clk_on: sdc2_clk_on {
1068 drive-strength = <16>;
1072 sdc2_clk_off: sdc2_clk_off {
1076 drive-strength = <2>;
1080 sdc2_cmd_on: sdc2_cmd_on {
1084 drive-strength = <10>;
1088 sdc2_cmd_off: sdc2_cmd_off {
1092 drive-strength = <2>;
1096 sdc2_data_on: sdc2_data_on {
1100 drive-strength = <10>;
1104 sdc2_data_off: sdc2_data_off {
1108 drive-strength = <2>;
1112 sdc2_cd_on: sdc2_cd_on {
1121 drive-strength = <2>;
1125 sdc2_cd_off: sdc2_cd_off {
1134 drive-strength = <2>;
1138 blsp1_uart3_on: blsp1_uart3_on {
1141 function = "blsp_uart3_a";
1142 drive-strength = <2>;
1148 function = "blsp_uart3_a";
1149 drive-strength = <2>;
1155 function = "blsp_uart3_a";
1156 drive-strength = <2>;
1162 function = "blsp_uart3_a";
1163 drive-strength = <2>;
1168 blsp1_i2c1_default: blsp1-i2c1-default {
1169 pins = "gpio2", "gpio3";
1170 function = "blsp_i2c1";
1171 drive-strength = <2>;
1175 blsp1_i2c1_sleep: blsp1-i2c1-sleep {
1176 pins = "gpio2", "gpio3";
1177 function = "blsp_i2c1";
1178 drive-strength = <2>;
1182 blsp1_i2c2_default: blsp1-i2c2-default {
1183 pins = "gpio32", "gpio33";
1184 function = "blsp_i2c2";
1185 drive-strength = <2>;
1189 blsp1_i2c2_sleep: blsp1-i2c2-sleep {
1190 pins = "gpio32", "gpio33";
1191 function = "blsp_i2c2";
1192 drive-strength = <2>;
1196 blsp1_i2c3_default: blsp1-i2c3-default {
1197 pins = "gpio47", "gpio48";
1198 function = "blsp_i2c3";
1199 drive-strength = <2>;
1203 blsp1_i2c3_sleep: blsp1-i2c3-sleep {
1204 pins = "gpio47", "gpio48";
1205 function = "blsp_i2c3";
1206 drive-strength = <2>;
1210 blsp1_i2c4_default: blsp1-i2c4-default {
1211 pins = "gpio10", "gpio11";
1212 function = "blsp_i2c4";
1213 drive-strength = <2>;
1217 blsp1_i2c4_sleep: blsp1-i2c4-sleep {
1218 pins = "gpio10", "gpio11";
1219 function = "blsp_i2c4";
1220 drive-strength = <2>;
1224 blsp1_i2c5_default: blsp1-i2c5-default {
1225 pins = "gpio87", "gpio88";
1226 function = "blsp_i2c5";
1227 drive-strength = <2>;
1231 blsp1_i2c5_sleep: blsp1-i2c5-sleep {
1232 pins = "gpio87", "gpio88";
1233 function = "blsp_i2c5";
1234 drive-strength = <2>;
1238 blsp1_i2c6_default: blsp1-i2c6-default {
1239 pins = "gpio43", "gpio44";
1240 function = "blsp_i2c6";
1241 drive-strength = <2>;
1245 blsp1_i2c6_sleep: blsp1-i2c6-sleep {
1246 pins = "gpio43", "gpio44";
1247 function = "blsp_i2c6";
1248 drive-strength = <2>;
1251 /* 6 interfaces per QUP, BLSP2 indexes are numbered (n)+6 */
1252 blsp2_i2c1_default: blsp2-i2c1-default {
1253 pins = "gpio55", "gpio56";
1254 function = "blsp_i2c7";
1255 drive-strength = <2>;
1259 blsp2_i2c1_sleep: blsp2-i2c1-sleep {
1260 pins = "gpio55", "gpio56";
1261 function = "blsp_i2c7";
1262 drive-strength = <2>;
1266 blsp2_i2c2_default: blsp2-i2c2-default {
1267 pins = "gpio6", "gpio7";
1268 function = "blsp_i2c8";
1269 drive-strength = <2>;
1273 blsp2_i2c2_sleep: blsp2-i2c2-sleep {
1274 pins = "gpio6", "gpio7";
1275 function = "blsp_i2c8";
1276 drive-strength = <2>;
1280 blsp2_i2c3_default: blsp2-i2c3-default {
1281 pins = "gpio51", "gpio52";
1282 function = "blsp_i2c9";
1283 drive-strength = <2>;
1287 blsp2_i2c3_sleep: blsp2-i2c3-sleep {
1288 pins = "gpio51", "gpio52";
1289 function = "blsp_i2c9";
1290 drive-strength = <2>;
1294 blsp2_i2c4_default: blsp2-i2c4-default {
1295 pins = "gpio67", "gpio68";
1296 function = "blsp_i2c10";
1297 drive-strength = <2>;
1301 blsp2_i2c4_sleep: blsp2-i2c4-sleep {
1302 pins = "gpio67", "gpio68";
1303 function = "blsp_i2c10";
1304 drive-strength = <2>;
1308 blsp2_i2c5_default: blsp2-i2c5-default {
1309 pins = "gpio60", "gpio61";
1310 function = "blsp_i2c11";
1311 drive-strength = <2>;
1315 blsp2_i2c5_sleep: blsp2-i2c5-sleep {
1316 pins = "gpio60", "gpio61";
1317 function = "blsp_i2c11";
1318 drive-strength = <2>;
1322 blsp2_i2c6_default: blsp2-i2c6-default {
1323 pins = "gpio83", "gpio84";
1324 function = "blsp_i2c12";
1325 drive-strength = <2>;
1329 blsp2_i2c6_sleep: blsp2-i2c6-sleep {
1330 pins = "gpio83", "gpio84";
1331 function = "blsp_i2c12";
1332 drive-strength = <2>;
1337 remoteproc_mss: remoteproc@4080000 {
1338 compatible = "qcom,msm8998-mss-pil";
1339 reg = <0x04080000 0x100>, <0x04180000 0x20>;
1340 reg-names = "qdsp6", "rmb";
1342 interrupts-extended =
1343 <&intc GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
1344 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1345 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1346 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1347 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
1348 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
1349 interrupt-names = "wdog", "fatal", "ready",
1350 "handover", "stop-ack",
1353 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
1354 <&gcc GCC_BIMC_MSS_Q6_AXI_CLK>,
1355 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1356 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
1357 <&gcc GCC_MSS_SNOC_AXI_CLK>,
1358 <&gcc GCC_MSS_MNOC_BIMC_AXI_CLK>,
1359 <&rpmcc RPM_SMD_QDSS_CLK>,
1360 <&rpmcc RPM_SMD_XO_CLK_SRC>;
1361 clock-names = "iface", "bus", "mem", "gpll0_mss",
1362 "snoc_axi", "mnoc_axi", "qdss", "xo";
1364 qcom,smem-states = <&modem_smp2p_out 0>;
1365 qcom,smem-state-names = "stop";
1367 resets = <&gcc GCC_MSS_RESTART>;
1368 reset-names = "mss_restart";
1370 qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>;
1372 power-domains = <&rpmpd MSM8998_VDDCX>,
1373 <&rpmpd MSM8998_VDDMX>;
1374 power-domain-names = "cx", "mx";
1376 status = "disabled";
1379 memory-region = <&mba_mem>;
1383 memory-region = <&mpss_mem>;
1387 interrupts = <GIC_SPI 452 IRQ_TYPE_EDGE_RISING>;
1389 qcom,remote-pid = <1>;
1390 mboxes = <&apcs_glb 15>;
1394 adreno_gpu: gpu@5000000 {
1395 compatible = "qcom,adreno-540.1", "qcom,adreno";
1396 reg = <0x05000000 0x40000>;
1397 reg-names = "kgsl_3d0_reg_memory";
1399 clocks = <&gcc GCC_GPU_CFG_AHB_CLK>,
1400 <&gpucc RBBMTIMER_CLK>,
1401 <&gcc GCC_BIMC_GFX_CLK>,
1402 <&gcc GCC_GPU_BIMC_GFX_CLK>,
1405 clock-names = "iface",
1412 interrupts = <0 300 IRQ_TYPE_LEVEL_HIGH>;
1413 iommus = <&adreno_smmu 0>;
1414 operating-points-v2 = <&gpu_opp_table>;
1415 power-domains = <&rpmpd MSM8998_VDDMX>;
1416 status = "disabled";
1418 gpu_opp_table: opp-table {
1419 compatible = "operating-points-v2";
1421 opp-hz = /bits/ 64 <710000097>;
1422 opp-level = <RPM_SMD_LEVEL_TURBO>;
1423 opp-supported-hw = <0xFF>;
1427 opp-hz = /bits/ 64 <670000048>;
1428 opp-level = <RPM_SMD_LEVEL_NOM_PLUS>;
1429 opp-supported-hw = <0xFF>;
1433 opp-hz = /bits/ 64 <596000097>;
1434 opp-level = <RPM_SMD_LEVEL_NOM>;
1435 opp-supported-hw = <0xFF>;
1439 opp-hz = /bits/ 64 <515000097>;
1440 opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
1441 opp-supported-hw = <0xFF>;
1445 opp-hz = /bits/ 64 <414000000>;
1446 opp-level = <RPM_SMD_LEVEL_SVS>;
1447 opp-supported-hw = <0xFF>;
1451 opp-hz = /bits/ 64 <342000000>;
1452 opp-level = <RPM_SMD_LEVEL_LOW_SVS>;
1453 opp-supported-hw = <0xFF>;
1457 opp-hz = /bits/ 64 <257000000>;
1458 opp-level = <RPM_SMD_LEVEL_MIN_SVS>;
1459 opp-supported-hw = <0xFF>;
1464 adreno_smmu: iommu@5040000 {
1465 compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
1466 reg = <0x05040000 0x10000>;
1467 clocks = <&gcc GCC_GPU_CFG_AHB_CLK>,
1468 <&gcc GCC_BIMC_GFX_CLK>,
1469 <&gcc GCC_GPU_BIMC_GFX_CLK>;
1470 clock-names = "iface", "mem", "mem_iface";
1472 #global-interrupts = <0>;
1475 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
1476 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
1477 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>;
1479 * GPU-GX GDSC's parent is GPU-CX. We need to bring up the
1480 * GPU-CX for SMMU but we need both of them up for Adreno.
1481 * Contemporarily, we also need to manage the VDDMX rpmpd
1482 * domain in the Adreno driver.
1483 * Enable GPU CX/GX GDSCs here so that we can manage the
1484 * SoC VDDMX RPM Power Domain in the Adreno driver.
1486 power-domains = <&gpucc GPU_GX_GDSC>;
1487 status = "disabled";
1490 gpucc: clock-controller@5065000 {
1491 compatible = "qcom,msm8998-gpucc";
1494 #power-domain-cells = <1>;
1495 reg = <0x05065000 0x9000>;
1497 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
1498 <&gcc GPLL0_OUT_MAIN>;
1503 remoteproc_slpi: remoteproc@5800000 {
1504 compatible = "qcom,msm8998-slpi-pas";
1505 reg = <0x05800000 0x4040>;
1507 interrupts-extended = <&intc GIC_SPI 390 IRQ_TYPE_EDGE_RISING>,
1508 <&slpi_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1509 <&slpi_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1510 <&slpi_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1511 <&slpi_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
1512 interrupt-names = "wdog", "fatal", "ready",
1513 "handover", "stop-ack";
1515 px-supply = <&vreg_lvs2a_1p8>;
1517 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
1518 <&rpmcc RPM_SMD_AGGR2_NOC_CLK>;
1519 clock-names = "xo", "aggre2";
1521 memory-region = <&slpi_mem>;
1523 qcom,smem-states = <&slpi_smp2p_out 0>;
1524 qcom,smem-state-names = "stop";
1526 power-domains = <&rpmpd MSM8998_SSCCX>;
1527 power-domain-names = "ssc_cx";
1529 status = "disabled";
1532 interrupts = <GIC_SPI 179 IRQ_TYPE_EDGE_RISING>;
1534 qcom,remote-pid = <3>;
1535 mboxes = <&apcs_glb 27>;
1540 compatible = "arm,coresight-stm", "arm,primecell";
1541 reg = <0x06002000 0x1000>,
1542 <0x16280000 0x180000>;
1543 reg-names = "stm-base", "stm-data-base";
1544 status = "disabled";
1546 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1547 clock-names = "apb_pclk", "atclk";
1552 remote-endpoint = <&funnel0_in7>;
1558 funnel1: funnel@6041000 {
1559 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1560 reg = <0x06041000 0x1000>;
1561 status = "disabled";
1563 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1564 clock-names = "apb_pclk", "atclk";
1568 funnel0_out: endpoint {
1570 <&merge_funnel_in0>;
1576 #address-cells = <1>;
1581 funnel0_in7: endpoint {
1582 remote-endpoint = <&stm_out>;
1588 funnel2: funnel@6042000 {
1589 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1590 reg = <0x06042000 0x1000>;
1591 status = "disabled";
1593 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1594 clock-names = "apb_pclk", "atclk";
1598 funnel1_out: endpoint {
1600 <&merge_funnel_in1>;
1606 #address-cells = <1>;
1611 funnel1_in6: endpoint {
1613 <&apss_merge_funnel_out>;
1619 funnel3: funnel@6045000 {
1620 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1621 reg = <0x06045000 0x1000>;
1622 status = "disabled";
1624 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1625 clock-names = "apb_pclk", "atclk";
1629 merge_funnel_out: endpoint {
1637 #address-cells = <1>;
1642 merge_funnel_in0: endpoint {
1650 merge_funnel_in1: endpoint {
1658 replicator1: replicator@6046000 {
1659 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
1660 reg = <0x06046000 0x1000>;
1661 status = "disabled";
1663 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1664 clock-names = "apb_pclk", "atclk";
1668 replicator_out: endpoint {
1669 remote-endpoint = <&etr_in>;
1676 replicator_in: endpoint {
1677 remote-endpoint = <&etf_out>;
1684 compatible = "arm,coresight-tmc", "arm,primecell";
1685 reg = <0x06047000 0x1000>;
1686 status = "disabled";
1688 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1689 clock-names = "apb_pclk", "atclk";
1704 <&merge_funnel_out>;
1711 compatible = "arm,coresight-tmc", "arm,primecell";
1712 reg = <0x06048000 0x1000>;
1713 status = "disabled";
1715 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1716 clock-names = "apb_pclk", "atclk";
1730 compatible = "arm,coresight-etm4x", "arm,primecell";
1731 reg = <0x07840000 0x1000>;
1732 status = "disabled";
1734 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1735 clock-names = "apb_pclk", "atclk";
1741 etm0_out: endpoint {
1750 compatible = "arm,coresight-etm4x", "arm,primecell";
1751 reg = <0x07940000 0x1000>;
1752 status = "disabled";
1754 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1755 clock-names = "apb_pclk", "atclk";
1761 etm1_out: endpoint {
1770 compatible = "arm,coresight-etm4x", "arm,primecell";
1771 reg = <0x07a40000 0x1000>;
1772 status = "disabled";
1774 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1775 clock-names = "apb_pclk", "atclk";
1781 etm2_out: endpoint {
1790 compatible = "arm,coresight-etm4x", "arm,primecell";
1791 reg = <0x07b40000 0x1000>;
1792 status = "disabled";
1794 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1795 clock-names = "apb_pclk", "atclk";
1801 etm3_out: endpoint {
1809 funnel4: funnel@7b60000 { /* APSS Funnel */
1810 compatible = "arm,coresight-etm4x", "arm,primecell";
1811 reg = <0x07b60000 0x1000>;
1812 status = "disabled";
1814 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1815 clock-names = "apb_pclk", "atclk";
1819 apss_funnel_out: endpoint {
1821 <&apss_merge_funnel_in>;
1827 #address-cells = <1>;
1832 apss_funnel_in0: endpoint {
1840 apss_funnel_in1: endpoint {
1848 apss_funnel_in2: endpoint {
1856 apss_funnel_in3: endpoint {
1864 apss_funnel_in4: endpoint {
1872 apss_funnel_in5: endpoint {
1880 apss_funnel_in6: endpoint {
1888 apss_funnel_in7: endpoint {
1896 funnel5: funnel@7b70000 {
1897 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1898 reg = <0x07b70000 0x1000>;
1899 status = "disabled";
1901 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1902 clock-names = "apb_pclk", "atclk";
1906 apss_merge_funnel_out: endpoint {
1915 apss_merge_funnel_in: endpoint {
1924 compatible = "arm,coresight-etm4x", "arm,primecell";
1925 reg = <0x07c40000 0x1000>;
1926 status = "disabled";
1928 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1929 clock-names = "apb_pclk", "atclk";
1934 etm4_out: endpoint {
1935 remote-endpoint = <&apss_funnel_in4>;
1941 compatible = "arm,coresight-etm4x", "arm,primecell";
1942 reg = <0x07d40000 0x1000>;
1943 status = "disabled";
1945 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1946 clock-names = "apb_pclk", "atclk";
1951 etm5_out: endpoint {
1952 remote-endpoint = <&apss_funnel_in5>;
1958 compatible = "arm,coresight-etm4x", "arm,primecell";
1959 reg = <0x07e40000 0x1000>;
1960 status = "disabled";
1962 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1963 clock-names = "apb_pclk", "atclk";
1968 etm6_out: endpoint {
1969 remote-endpoint = <&apss_funnel_in6>;
1975 compatible = "arm,coresight-etm4x", "arm,primecell";
1976 reg = <0x07f40000 0x1000>;
1977 status = "disabled";
1979 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1980 clock-names = "apb_pclk", "atclk";
1985 etm7_out: endpoint {
1986 remote-endpoint = <&apss_funnel_in7>;
1992 compatible = "qcom,rpm-stats";
1993 reg = <0x00290000 0x10000>;
1996 spmi_bus: spmi@800f000 {
1997 compatible = "qcom,spmi-pmic-arb";
1998 reg = <0x0800f000 0x1000>,
1999 <0x08400000 0x1000000>,
2000 <0x09400000 0x1000000>,
2001 <0x0a400000 0x220000>,
2002 <0x0800a000 0x3000>;
2003 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
2004 interrupt-names = "periph_irq";
2005 interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
2008 #address-cells = <2>;
2010 interrupt-controller;
2011 #interrupt-cells = <4>;
2016 compatible = "qcom,msm8998-dwc3", "qcom,dwc3";
2017 reg = <0x0a8f8800 0x400>;
2018 status = "disabled";
2019 #address-cells = <1>;
2023 clocks = <&gcc GCC_CFG_NOC_USB3_AXI_CLK>,
2024 <&gcc GCC_USB30_MASTER_CLK>,
2025 <&gcc GCC_AGGRE1_USB3_AXI_CLK>,
2026 <&gcc GCC_USB30_SLEEP_CLK>,
2027 <&gcc GCC_USB30_MOCK_UTMI_CLK>;
2028 clock-names = "cfg_noc",
2034 assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
2035 <&gcc GCC_USB30_MASTER_CLK>;
2036 assigned-clock-rates = <19200000>, <120000000>;
2038 interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
2039 <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
2040 interrupt-names = "hs_phy_irq", "ss_phy_irq";
2042 power-domains = <&gcc USB_30_GDSC>;
2044 resets = <&gcc GCC_USB_30_BCR>;
2046 usb3_dwc3: usb@a800000 {
2047 compatible = "snps,dwc3";
2048 reg = <0x0a800000 0xcd00>;
2049 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
2050 snps,dis_u2_susphy_quirk;
2051 snps,dis_enblslpm_quirk;
2052 phys = <&qusb2phy>, <&usb1_ssphy>;
2053 phy-names = "usb2-phy", "usb3-phy";
2054 snps,has-lpm-erratum;
2055 snps,hird-threshold = /bits/ 8 <0x10>;
2059 usb3phy: phy@c010000 {
2060 compatible = "qcom,msm8998-qmp-usb3-phy";
2061 reg = <0x0c010000 0x18c>;
2062 status = "disabled";
2063 #address-cells = <1>;
2067 clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
2068 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2069 <&gcc GCC_USB3_CLKREF_CLK>;
2070 clock-names = "aux", "cfg_ahb", "ref";
2072 resets = <&gcc GCC_USB3_PHY_BCR>,
2073 <&gcc GCC_USB3PHY_PHY_BCR>;
2074 reset-names = "phy", "common";
2076 usb1_ssphy: phy@c010200 {
2077 reg = <0xc010200 0x128>,
2084 clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>;
2085 clock-names = "pipe0";
2086 clock-output-names = "usb3_phy_pipe_clk_src";
2090 qusb2phy: phy@c012000 {
2091 compatible = "qcom,msm8998-qusb2-phy";
2092 reg = <0x0c012000 0x2a8>;
2093 status = "disabled";
2096 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2097 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
2098 clock-names = "cfg_ahb", "ref";
2100 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
2102 nvmem-cells = <&qusb2_hstx_trim>;
2105 sdhc2: sdhci@c0a4900 {
2106 compatible = "qcom,sdhci-msm-v4";
2107 reg = <0x0c0a4900 0x314>, <0x0c0a4000 0x800>;
2108 reg-names = "hc_mem", "core_mem";
2110 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
2111 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
2112 interrupt-names = "hc_irq", "pwr_irq";
2114 clock-names = "iface", "core", "xo";
2115 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
2116 <&gcc GCC_SDCC2_APPS_CLK>,
2119 status = "disabled";
2122 blsp1_dma: dma-controller@c144000 {
2123 compatible = "qcom,bam-v1.7.0";
2124 reg = <0x0c144000 0x25000>;
2125 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
2126 clocks = <&gcc GCC_BLSP1_AHB_CLK>;
2127 clock-names = "bam_clk";
2130 qcom,controlled-remotely;
2131 num-channels = <18>;
2135 blsp1_uart3: serial@c171000 {
2136 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2137 reg = <0x0c171000 0x1000>;
2138 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
2139 clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>,
2140 <&gcc GCC_BLSP1_AHB_CLK>;
2141 clock-names = "core", "iface";
2142 dmas = <&blsp1_dma 4>, <&blsp1_dma 5>;
2143 dma-names = "tx", "rx";
2144 pinctrl-names = "default";
2145 pinctrl-0 = <&blsp1_uart3_on>;
2146 status = "disabled";
2149 blsp1_i2c1: i2c@c175000 {
2150 compatible = "qcom,i2c-qup-v2.2.1";
2151 reg = <0x0c175000 0x600>;
2152 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
2154 clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
2155 <&gcc GCC_BLSP1_AHB_CLK>;
2156 clock-names = "core", "iface";
2157 dmas = <&blsp1_dma 6>, <&blsp1_dma 7>;
2158 dma-names = "tx", "rx";
2159 pinctrl-names = "default", "sleep";
2160 pinctrl-0 = <&blsp1_i2c1_default>;
2161 pinctrl-1 = <&blsp1_i2c1_sleep>;
2162 clock-frequency = <400000>;
2164 status = "disabled";
2165 #address-cells = <1>;
2169 blsp1_i2c2: i2c@c176000 {
2170 compatible = "qcom,i2c-qup-v2.2.1";
2171 reg = <0x0c176000 0x600>;
2172 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
2174 clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
2175 <&gcc GCC_BLSP1_AHB_CLK>;
2176 clock-names = "core", "iface";
2177 dmas = <&blsp1_dma 8>, <&blsp1_dma 9>;
2178 dma-names = "tx", "rx";
2179 pinctrl-names = "default", "sleep";
2180 pinctrl-0 = <&blsp1_i2c2_default>;
2181 pinctrl-1 = <&blsp1_i2c2_sleep>;
2182 clock-frequency = <400000>;
2184 status = "disabled";
2185 #address-cells = <1>;
2189 blsp1_i2c3: i2c@c177000 {
2190 compatible = "qcom,i2c-qup-v2.2.1";
2191 reg = <0x0c177000 0x600>;
2192 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
2194 clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
2195 <&gcc GCC_BLSP1_AHB_CLK>;
2196 clock-names = "core", "iface";
2197 dmas = <&blsp1_dma 10>, <&blsp1_dma 11>;
2198 dma-names = "tx", "rx";
2199 pinctrl-names = "default", "sleep";
2200 pinctrl-0 = <&blsp1_i2c3_default>;
2201 pinctrl-1 = <&blsp1_i2c3_sleep>;
2202 clock-frequency = <400000>;
2204 status = "disabled";
2205 #address-cells = <1>;
2209 blsp1_i2c4: i2c@c178000 {
2210 compatible = "qcom,i2c-qup-v2.2.1";
2211 reg = <0x0c178000 0x600>;
2212 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
2214 clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
2215 <&gcc GCC_BLSP1_AHB_CLK>;
2216 clock-names = "core", "iface";
2217 dmas = <&blsp1_dma 12>, <&blsp1_dma 13>;
2218 dma-names = "tx", "rx";
2219 pinctrl-names = "default", "sleep";
2220 pinctrl-0 = <&blsp1_i2c4_default>;
2221 pinctrl-1 = <&blsp1_i2c4_sleep>;
2222 clock-frequency = <400000>;
2224 status = "disabled";
2225 #address-cells = <1>;
2229 blsp1_i2c5: i2c@c179000 {
2230 compatible = "qcom,i2c-qup-v2.2.1";
2231 reg = <0x0c179000 0x600>;
2232 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
2234 clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
2235 <&gcc GCC_BLSP1_AHB_CLK>;
2236 clock-names = "core", "iface";
2237 dmas = <&blsp1_dma 14>, <&blsp1_dma 15>;
2238 dma-names = "tx", "rx";
2239 pinctrl-names = "default", "sleep";
2240 pinctrl-0 = <&blsp1_i2c5_default>;
2241 pinctrl-1 = <&blsp1_i2c5_sleep>;
2242 clock-frequency = <400000>;
2244 status = "disabled";
2245 #address-cells = <1>;
2249 blsp1_i2c6: i2c@c17a000 {
2250 compatible = "qcom,i2c-qup-v2.2.1";
2251 reg = <0x0c17a000 0x600>;
2252 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
2254 clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
2255 <&gcc GCC_BLSP1_AHB_CLK>;
2256 clock-names = "core", "iface";
2257 dmas = <&blsp1_dma 16>, <&blsp1_dma 17>;
2258 dma-names = "tx", "rx";
2259 pinctrl-names = "default", "sleep";
2260 pinctrl-0 = <&blsp1_i2c6_default>;
2261 pinctrl-1 = <&blsp1_i2c6_sleep>;
2262 clock-frequency = <400000>;
2264 status = "disabled";
2265 #address-cells = <1>;
2269 blsp2_dma: dma-controller@c184000 {
2270 compatible = "qcom,bam-v1.7.0";
2271 reg = <0x0c184000 0x25000>;
2272 interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
2273 clocks = <&gcc GCC_BLSP2_AHB_CLK>;
2274 clock-names = "bam_clk";
2277 qcom,controlled-remotely;
2278 num-channels = <18>;
2282 blsp2_uart1: serial@c1b0000 {
2283 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2284 reg = <0x0c1b0000 0x1000>;
2285 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
2286 clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
2287 <&gcc GCC_BLSP2_AHB_CLK>;
2288 clock-names = "core", "iface";
2289 status = "disabled";
2292 blsp2_i2c1: i2c@c1b5000 {
2293 compatible = "qcom,i2c-qup-v2.2.1";
2294 reg = <0x0c1b5000 0x600>;
2295 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
2297 clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>,
2298 <&gcc GCC_BLSP2_AHB_CLK>;
2299 clock-names = "core", "iface";
2300 dmas = <&blsp2_dma 6>, <&blsp2_dma 7>;
2301 dma-names = "tx", "rx";
2302 pinctrl-names = "default", "sleep";
2303 pinctrl-0 = <&blsp2_i2c1_default>;
2304 pinctrl-1 = <&blsp2_i2c1_sleep>;
2305 clock-frequency = <400000>;
2307 status = "disabled";
2308 #address-cells = <1>;
2312 blsp2_i2c2: i2c@c1b6000 {
2313 compatible = "qcom,i2c-qup-v2.2.1";
2314 reg = <0x0c1b6000 0x600>;
2315 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
2317 clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>,
2318 <&gcc GCC_BLSP2_AHB_CLK>;
2319 clock-names = "core", "iface";
2320 dmas = <&blsp2_dma 8>, <&blsp2_dma 9>;
2321 dma-names = "tx", "rx";
2322 pinctrl-names = "default", "sleep";
2323 pinctrl-0 = <&blsp2_i2c2_default>;
2324 pinctrl-1 = <&blsp2_i2c2_sleep>;
2325 clock-frequency = <400000>;
2327 status = "disabled";
2328 #address-cells = <1>;
2332 blsp2_i2c3: i2c@c1b7000 {
2333 compatible = "qcom,i2c-qup-v2.2.1";
2334 reg = <0x0c1b7000 0x600>;
2335 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
2337 clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>,
2338 <&gcc GCC_BLSP2_AHB_CLK>;
2339 clock-names = "core", "iface";
2340 dmas = <&blsp2_dma 10>, <&blsp2_dma 11>;
2341 dma-names = "tx", "rx";
2342 pinctrl-names = "default", "sleep";
2343 pinctrl-0 = <&blsp2_i2c3_default>;
2344 pinctrl-1 = <&blsp2_i2c3_sleep>;
2345 clock-frequency = <400000>;
2347 status = "disabled";
2348 #address-cells = <1>;
2352 blsp2_i2c4: i2c@c1b8000 {
2353 compatible = "qcom,i2c-qup-v2.2.1";
2354 reg = <0x0c1b8000 0x600>;
2355 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
2357 clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>,
2358 <&gcc GCC_BLSP2_AHB_CLK>;
2359 clock-names = "core", "iface";
2360 dmas = <&blsp2_dma 12>, <&blsp2_dma 13>;
2361 dma-names = "tx", "rx";
2362 pinctrl-names = "default", "sleep";
2363 pinctrl-0 = <&blsp2_i2c4_default>;
2364 pinctrl-1 = <&blsp2_i2c4_sleep>;
2365 clock-frequency = <400000>;
2367 status = "disabled";
2368 #address-cells = <1>;
2372 blsp2_i2c5: i2c@c1b9000 {
2373 compatible = "qcom,i2c-qup-v2.2.1";
2374 reg = <0x0c1b9000 0x600>;
2375 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
2377 clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>,
2378 <&gcc GCC_BLSP2_AHB_CLK>;
2379 clock-names = "core", "iface";
2380 dmas = <&blsp2_dma 14>, <&blsp2_dma 15>;
2381 dma-names = "tx", "rx";
2382 pinctrl-names = "default", "sleep";
2383 pinctrl-0 = <&blsp2_i2c5_default>;
2384 pinctrl-1 = <&blsp2_i2c5_sleep>;
2385 clock-frequency = <400000>;
2387 status = "disabled";
2388 #address-cells = <1>;
2392 blsp2_i2c6: i2c@c1ba000 {
2393 compatible = "qcom,i2c-qup-v2.2.1";
2394 reg = <0x0c1ba000 0x600>;
2395 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
2397 clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>,
2398 <&gcc GCC_BLSP2_AHB_CLK>;
2399 clock-names = "core", "iface";
2400 dmas = <&blsp2_dma 16>, <&blsp2_dma 17>;
2401 dma-names = "tx", "rx";
2402 pinctrl-names = "default", "sleep";
2403 pinctrl-0 = <&blsp2_i2c6_default>;
2404 pinctrl-1 = <&blsp2_i2c6_sleep>;
2405 clock-frequency = <400000>;
2407 status = "disabled";
2408 #address-cells = <1>;
2412 mmcc: clock-controller@c8c0000 {
2413 compatible = "qcom,mmcc-msm8998";
2416 #power-domain-cells = <1>;
2417 reg = <0xc8c0000 0x40000>;
2418 status = "disabled";
2429 "core_bi_pll_test_se";
2430 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
2431 <&gcc GCC_MMSS_GPLL0_CLK>,
2442 mmss_smmu: iommu@cd00000 {
2443 compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
2444 reg = <0x0cd00000 0x40000>;
2447 clocks = <&mmcc MNOC_AHB_CLK>,
2448 <&mmcc BIMC_SMMU_AHB_CLK>,
2449 <&rpmcc RPM_SMD_MMAXI_CLK>,
2450 <&mmcc BIMC_SMMU_AXI_CLK>;
2451 clock-names = "iface-mm", "iface-smmu",
2452 "bus-mm", "bus-smmu";
2453 status = "disabled";
2455 #global-interrupts = <0>;
2457 <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
2458 <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
2459 <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>,
2460 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
2461 <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
2462 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
2463 <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
2464 <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
2465 <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
2466 <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
2467 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
2468 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
2469 <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
2470 <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
2471 <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
2472 <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
2473 <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
2474 <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
2475 <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
2476 <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
2479 remoteproc_adsp: remoteproc@17300000 {
2480 compatible = "qcom,msm8998-adsp-pas";
2481 reg = <0x17300000 0x4040>;
2483 interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
2484 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2485 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2486 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2487 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
2488 interrupt-names = "wdog", "fatal", "ready",
2489 "handover", "stop-ack";
2491 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
2494 memory-region = <&adsp_mem>;
2496 qcom,smem-states = <&adsp_smp2p_out 0>;
2497 qcom,smem-state-names = "stop";
2499 power-domains = <&rpmpd MSM8998_VDDCX>;
2500 power-domain-names = "cx";
2502 status = "disabled";
2505 interrupts = <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>;
2507 qcom,remote-pid = <2>;
2508 mboxes = <&apcs_glb 9>;
2512 apcs_glb: mailbox@17911000 {
2513 compatible = "qcom,msm8998-apcs-hmss-global";
2514 reg = <0x17911000 0x1000>;
2520 #address-cells = <1>;
2523 compatible = "arm,armv7-timer-mem";
2524 reg = <0x17920000 0x1000>;
2528 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
2529 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
2530 reg = <0x17921000 0x1000>,
2531 <0x17922000 0x1000>;
2536 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
2537 reg = <0x17923000 0x1000>;
2538 status = "disabled";
2543 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
2544 reg = <0x17924000 0x1000>;
2545 status = "disabled";
2550 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
2551 reg = <0x17925000 0x1000>;
2552 status = "disabled";
2557 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
2558 reg = <0x17926000 0x1000>;
2559 status = "disabled";
2564 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
2565 reg = <0x17927000 0x1000>;
2566 status = "disabled";
2571 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
2572 reg = <0x17928000 0x1000>;
2573 status = "disabled";
2577 intc: interrupt-controller@17a00000 {
2578 compatible = "arm,gic-v3";
2579 reg = <0x17a00000 0x10000>, /* GICD */
2580 <0x17b00000 0x100000>; /* GICR * 8 */
2581 #interrupt-cells = <3>;
2582 #address-cells = <1>;
2585 interrupt-controller;
2586 #redistributor-regions = <1>;
2587 redistributor-stride = <0x0 0x20000>;
2588 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
2591 wifi: wifi@18800000 {
2592 compatible = "qcom,wcn3990-wifi";
2593 status = "disabled";
2594 reg = <0x18800000 0x800000>;
2595 reg-names = "membase";
2596 memory-region = <&wlan_msa_mem>;
2597 clocks = <&rpmcc RPM_SMD_RF_CLK2_PIN>;
2598 clock-names = "cxo_ref_clk_pin";
2600 <GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>,
2601 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
2602 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
2603 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
2604 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
2605 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
2606 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
2607 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
2608 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
2609 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
2610 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
2611 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
2612 iommus = <&anoc2_smmu 0x1900>,
2613 <&anoc2_smmu 0x1901>;
2614 qcom,snoc-host-cap-8bit-quirk;