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,rpmcc.h>
7 #include <dt-bindings/power/qcom-rpmpd.h>
8 #include <dt-bindings/gpio/gpio.h>
11 interrupt-parent = <&intc>;
13 qcom,msm-id = <292 0x0>;
21 device_type = "memory";
22 /* We expect the bootloader to fill in the reg */
32 reg = <0x0 0x85800000 0x0 0x800000>;
36 smem_mem: smem-mem@86000000 {
37 reg = <0x0 0x86000000 0x0 0x200000>;
42 reg = <0x0 0x86200000 0x0 0x2d00000>;
47 compatible = "qcom,rmtfs-mem";
49 size = <0x0 0x200000>;
50 alloc-ranges = <0x0 0xa0000000 0x0 0x2000000>;
60 compatible = "fixed-clock";
62 clock-frequency = <19200000>;
63 clock-output-names = "xo_board";
67 compatible = "fixed-clock";
69 clock-frequency = <32764>;
79 compatible = "arm,armv8";
81 enable-method = "psci";
82 cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
83 next-level-cache = <&L2_0>;
85 compatible = "arm,arch-cache";
89 compatible = "arm,arch-cache";
92 compatible = "arm,arch-cache";
98 compatible = "arm,armv8";
100 enable-method = "psci";
101 cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
102 next-level-cache = <&L2_0>;
104 compatible = "arm,arch-cache";
107 compatible = "arm,arch-cache";
113 compatible = "arm,armv8";
115 enable-method = "psci";
116 cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
117 next-level-cache = <&L2_0>;
119 compatible = "arm,arch-cache";
122 compatible = "arm,arch-cache";
128 compatible = "arm,armv8";
130 enable-method = "psci";
131 cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
132 next-level-cache = <&L2_0>;
134 compatible = "arm,arch-cache";
137 compatible = "arm,arch-cache";
143 compatible = "arm,armv8";
145 enable-method = "psci";
146 cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
147 next-level-cache = <&L2_1>;
149 compatible = "arm,arch-cache";
152 L1_I_100: l1-icache {
153 compatible = "arm,arch-cache";
155 L1_D_100: l1-dcache {
156 compatible = "arm,arch-cache";
162 compatible = "arm,armv8";
164 enable-method = "psci";
165 cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
166 next-level-cache = <&L2_1>;
167 L1_I_101: l1-icache {
168 compatible = "arm,arch-cache";
170 L1_D_101: l1-dcache {
171 compatible = "arm,arch-cache";
177 compatible = "arm,armv8";
179 enable-method = "psci";
180 cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
181 next-level-cache = <&L2_1>;
182 L1_I_102: l1-icache {
183 compatible = "arm,arch-cache";
185 L1_D_102: l1-dcache {
186 compatible = "arm,arch-cache";
192 compatible = "arm,armv8";
194 enable-method = "psci";
195 cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
196 next-level-cache = <&L2_1>;
197 L1_I_103: l1-icache {
198 compatible = "arm,arch-cache";
200 L1_D_103: l1-dcache {
201 compatible = "arm,arch-cache";
244 entry-method = "psci";
246 LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
247 compatible = "arm,idle-state";
248 idle-state-name = "little-retention";
249 arm,psci-suspend-param = <0x00000002>;
250 entry-latency-us = <81>;
251 exit-latency-us = <86>;
252 min-residency-us = <200>;
255 LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 {
256 compatible = "arm,idle-state";
257 idle-state-name = "little-power-collapse";
258 arm,psci-suspend-param = <0x40000003>;
259 entry-latency-us = <273>;
260 exit-latency-us = <612>;
261 min-residency-us = <1000>;
265 BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
266 compatible = "arm,idle-state";
267 idle-state-name = "big-retention";
268 arm,psci-suspend-param = <0x00000002>;
269 entry-latency-us = <79>;
270 exit-latency-us = <82>;
271 min-residency-us = <200>;
274 BIG_CPU_SLEEP_1: cpu-sleep-1-1 {
275 compatible = "arm,idle-state";
276 idle-state-name = "big-power-collapse";
277 arm,psci-suspend-param = <0x40000003>;
278 entry-latency-us = <336>;
279 exit-latency-us = <525>;
280 min-residency-us = <1000>;
288 compatible = "qcom,scm-msm8998", "qcom,scm";
293 compatible = "qcom,tcsr-mutex";
294 syscon = <&tcsr_mutex_regs 0 0x1000>;
299 compatible = "arm,psci-1.0";
304 compatible = "qcom,glink-rpm";
306 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
307 qcom,rpm-msg-ram = <&rpm_msg_ram>;
308 mboxes = <&apcs_glb 0>;
310 rpm_requests: rpm-requests {
311 compatible = "qcom,rpm-msm8998";
312 qcom,glink-channels = "rpm_requests";
314 rpmcc: clock-controller {
315 compatible = "qcom,rpmcc-msm8998", "qcom,rpmcc";
319 rpmpd: power-controller {
320 compatible = "qcom,msm8998-rpmpd";
321 #power-domain-cells = <1>;
322 operating-points-v2 = <&rpmpd_opp_table>;
324 rpmpd_opp_table: opp-table {
325 compatible = "operating-points-v2";
327 rpmpd_opp_ret: opp1 {
331 rpmpd_opp_ret_plus: opp2 {
335 rpmpd_opp_min_svs: opp3 {
339 rpmpd_opp_low_svs: opp4 {
343 rpmpd_opp_svs: opp5 {
347 rpmpd_opp_svs_plus: opp6 {
351 rpmpd_opp_nom: opp7 {
355 rpmpd_opp_nom_plus: opp8 {
359 rpmpd_opp_turbo: opp9 {
363 rpmpd_opp_turbo_plus: opp10 {
372 compatible = "qcom,smem";
373 memory-region = <&smem_mem>;
374 hwlocks = <&tcsr_mutex 3>;
378 compatible = "qcom,smp2p";
379 qcom,smem = <443>, <429>;
381 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
383 mboxes = <&apcs_glb 10>;
385 qcom,local-pid = <0>;
386 qcom,remote-pid = <2>;
388 adsp_smp2p_out: master-kernel {
389 qcom,entry-name = "master-kernel";
390 #qcom,smem-state-cells = <1>;
393 adsp_smp2p_in: slave-kernel {
394 qcom,entry-name = "slave-kernel";
396 interrupt-controller;
397 #interrupt-cells = <2>;
402 compatible = "qcom,smp2p";
403 qcom,smem = <435>, <428>;
404 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
405 mboxes = <&apcs_glb 14>;
406 qcom,local-pid = <0>;
407 qcom,remote-pid = <1>;
409 modem_smp2p_out: master-kernel {
410 qcom,entry-name = "master-kernel";
411 #qcom,smem-state-cells = <1>;
414 modem_smp2p_in: slave-kernel {
415 qcom,entry-name = "slave-kernel";
416 interrupt-controller;
417 #interrupt-cells = <2>;
422 compatible = "qcom,smp2p";
423 qcom,smem = <481>, <430>;
424 interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
425 mboxes = <&apcs_glb 26>;
426 qcom,local-pid = <0>;
427 qcom,remote-pid = <3>;
429 slpi_smp2p_out: master-kernel {
430 qcom,entry-name = "master-kernel";
431 #qcom,smem-state-cells = <1>;
434 slpi_smp2p_in: slave-kernel {
435 qcom,entry-name = "slave-kernel";
436 interrupt-controller;
437 #interrupt-cells = <2>;
443 polling-delay-passive = <250>;
444 polling-delay = <1000>;
446 thermal-sensors = <&tsens0 1>;
449 cpu0_alert0: trip-point@0 {
450 temperature = <75000>;
455 cpu0_crit: cpu_crit {
456 temperature = <110000>;
464 polling-delay-passive = <250>;
465 polling-delay = <1000>;
467 thermal-sensors = <&tsens0 2>;
470 cpu1_alert0: trip-point@0 {
471 temperature = <75000>;
476 cpu1_crit: cpu_crit {
477 temperature = <110000>;
485 polling-delay-passive = <250>;
486 polling-delay = <1000>;
488 thermal-sensors = <&tsens0 3>;
491 cpu2_alert0: trip-point@0 {
492 temperature = <75000>;
497 cpu2_crit: cpu_crit {
498 temperature = <110000>;
506 polling-delay-passive = <250>;
507 polling-delay = <1000>;
509 thermal-sensors = <&tsens0 4>;
512 cpu3_alert0: trip-point@0 {
513 temperature = <75000>;
518 cpu3_crit: cpu_crit {
519 temperature = <110000>;
527 polling-delay-passive = <250>;
528 polling-delay = <1000>;
530 thermal-sensors = <&tsens0 7>;
533 cpu4_alert0: trip-point@0 {
534 temperature = <75000>;
539 cpu4_crit: cpu_crit {
540 temperature = <110000>;
548 polling-delay-passive = <250>;
549 polling-delay = <1000>;
551 thermal-sensors = <&tsens0 8>;
554 cpu5_alert0: trip-point@0 {
555 temperature = <75000>;
560 cpu5_crit: cpu_crit {
561 temperature = <110000>;
569 polling-delay-passive = <250>;
570 polling-delay = <1000>;
572 thermal-sensors = <&tsens0 9>;
575 cpu6_alert0: trip-point@0 {
576 temperature = <75000>;
581 cpu6_crit: cpu_crit {
582 temperature = <110000>;
590 polling-delay-passive = <250>;
591 polling-delay = <1000>;
593 thermal-sensors = <&tsens0 10>;
596 cpu7_alert0: trip-point@0 {
597 temperature = <75000>;
602 cpu7_crit: cpu_crit {
603 temperature = <110000>;
611 polling-delay-passive = <250>;
612 polling-delay = <1000>;
614 thermal-sensors = <&tsens0 12>;
617 gpu1_alert0: trip-point@0 {
618 temperature = <90000>;
626 polling-delay-passive = <250>;
627 polling-delay = <1000>;
629 thermal-sensors = <&tsens0 13>;
632 gpu2_alert0: trip-point@0 {
633 temperature = <90000>;
641 polling-delay-passive = <250>;
642 polling-delay = <1000>;
644 thermal-sensors = <&tsens0 5>;
647 cluster0_mhm_alert0: trip-point@0 {
648 temperature = <90000>;
656 polling-delay-passive = <250>;
657 polling-delay = <1000>;
659 thermal-sensors = <&tsens0 6>;
662 cluster1_mhm_alert0: trip-point@0 {
663 temperature = <90000>;
670 cluster1-l2-thermal {
671 polling-delay-passive = <250>;
672 polling-delay = <1000>;
674 thermal-sensors = <&tsens0 11>;
677 cluster1_l2_alert0: trip-point@0 {
678 temperature = <90000>;
686 polling-delay-passive = <250>;
687 polling-delay = <1000>;
689 thermal-sensors = <&tsens1 1>;
692 modem_alert0: trip-point@0 {
693 temperature = <90000>;
701 polling-delay-passive = <250>;
702 polling-delay = <1000>;
704 thermal-sensors = <&tsens1 2>;
707 mem_alert0: trip-point@0 {
708 temperature = <90000>;
716 polling-delay-passive = <250>;
717 polling-delay = <1000>;
719 thermal-sensors = <&tsens1 3>;
722 wlan_alert0: trip-point@0 {
723 temperature = <90000>;
731 polling-delay-passive = <250>;
732 polling-delay = <1000>;
734 thermal-sensors = <&tsens1 4>;
737 q6_dsp_alert0: trip-point@0 {
738 temperature = <90000>;
746 polling-delay-passive = <250>;
747 polling-delay = <1000>;
749 thermal-sensors = <&tsens1 5>;
752 camera_alert0: trip-point@0 {
753 temperature = <90000>;
761 polling-delay-passive = <250>;
762 polling-delay = <1000>;
764 thermal-sensors = <&tsens1 6>;
767 multimedia_alert0: trip-point@0 {
768 temperature = <90000>;
777 compatible = "arm,armv8-timer";
778 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
779 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
780 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
781 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
785 #address-cells = <1>;
787 ranges = <0 0 0 0xffffffff>;
788 compatible = "simple-bus";
790 rpm_msg_ram: memory@68000 {
791 compatible = "qcom,rpm-msg-ram";
792 reg = <0x778000 0x7000>;
795 qfprom: qfprom@780000 {
796 compatible = "qcom,qfprom";
797 reg = <0x780000 0x621c>;
798 #address-cells = <1>;
801 qusb2_hstx_trim: hstx-trim@423a {
807 gcc: clock-controller@100000 {
808 compatible = "qcom,gcc-msm8998";
811 #power-domain-cells = <1>;
812 reg = <0x100000 0xb0000>;
815 tlmm: pinctrl@3400000 {
816 compatible = "qcom,msm8998-pinctrl";
817 reg = <0x3400000 0xc00000>;
818 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
821 interrupt-controller;
822 #interrupt-cells = <0x2>;
825 spmi_bus: spmi@800f000 {
826 compatible = "qcom,spmi-pmic-arb";
827 reg = <0x800f000 0x1000>,
828 <0x8400000 0x1000000>,
829 <0x9400000 0x1000000>,
830 <0xa400000 0x220000>,
832 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
833 interrupt-names = "periph_irq";
834 interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
837 #address-cells = <2>;
839 interrupt-controller;
840 #interrupt-cells = <4>;
844 tsens0: thermal@10ab000 {
845 compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
846 reg = <0x10ab000 0x1000>, /* TM */
847 <0x10aa000 0x1000>; /* SROT */
849 #qcom,sensors = <14>;
850 #thermal-sensor-cells = <1>;
853 tsens1: thermal@10ae000 {
854 compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
855 reg = <0x10ae000 0x1000>, /* TM */
856 <0x10ad000 0x1000>; /* SROT */
859 #thermal-sensor-cells = <1>;
862 anoc1_smmu: iommu@1680000 {
863 compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
864 reg = <0x01680000 0x10000>;
867 #global-interrupts = <0>;
869 <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
870 <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
871 <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
872 <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
873 <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
874 <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>;
878 compatible = "qcom,pcie-msm8996";
879 reg = <0x01c00000 0x2000>,
882 <0x1b100000 0x100000>;
883 reg-names = "parf", "dbi", "elbi", "config";
885 linux,pci-domain = <0>;
886 bus-range = <0x00 0xff>;
887 #address-cells = <3>;
891 phy-names = "pciephy";
893 ranges = <0x01000000 0x0 0x1b200000 0x1b200000 0x0 0x100000>,
894 <0x02000000 0x0 0x1b300000 0x1b300000 0x0 0xd00000>;
896 #interrupt-cells = <1>;
897 interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
898 interrupt-names = "msi";
899 interrupt-map-mask = <0 0 0 0x7>;
900 interrupt-map = <0 0 0 1 &intc 0 135 IRQ_TYPE_LEVEL_HIGH>,
901 <0 0 0 2 &intc 0 136 IRQ_TYPE_LEVEL_HIGH>,
902 <0 0 0 3 &intc 0 138 IRQ_TYPE_LEVEL_HIGH>,
903 <0 0 0 4 &intc 0 139 IRQ_TYPE_LEVEL_HIGH>;
905 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
906 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
907 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
908 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
909 <&gcc GCC_PCIE_0_AUX_CLK>;
910 clock-names = "pipe", "bus_master", "bus_slave", "cfg", "aux";
912 power-domains = <&gcc PCIE_0_GDSC>;
913 iommu-map = <0x100 &anoc1_smmu 0x1480 1>;
914 perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
918 compatible = "qcom,msm8998-qmp-pcie-phy";
919 reg = <0x01c06000 0x18c>;
920 #address-cells = <1>;
924 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
925 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
926 <&gcc GCC_PCIE_CLKREF_CLK>;
927 clock-names = "aux", "cfg_ahb", "ref";
929 resets = <&gcc GCC_PCIE_0_PHY_BCR>, <&gcc GCC_PCIE_PHY_BCR>;
930 reset-names = "phy", "common";
932 vdda-phy-supply = <&vreg_l1a_0p875>;
933 vdda-pll-supply = <&vreg_l2a_1p2>;
935 pciephy: lane@1c06800 {
936 reg = <0x01c06200 0x128>, <0x01c06400 0x1fc>, <0x01c06800 0x20c>;
939 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
940 clock-names = "pipe0";
941 clock-output-names = "pcie_0_pipe_clk_src";
946 tcsr_mutex_regs: syscon@1f40000 {
947 compatible = "syscon";
948 reg = <0x1f40000 0x20000>;
951 apcs_glb: mailbox@9820000 {
952 compatible = "qcom,msm8998-apcs-hmss-global";
953 reg = <0x17911000 0x1000>;
959 compatible = "qcom,msm8998-dwc3", "qcom,dwc3";
960 reg = <0x0a8f8800 0x400>;
962 #address-cells = <1>;
966 clocks = <&gcc GCC_CFG_NOC_USB3_AXI_CLK>,
967 <&gcc GCC_USB30_MASTER_CLK>,
968 <&gcc GCC_AGGRE1_USB3_AXI_CLK>,
969 <&gcc GCC_USB30_MOCK_UTMI_CLK>,
970 <&gcc GCC_USB30_SLEEP_CLK>;
971 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
974 assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
975 <&gcc GCC_USB30_MASTER_CLK>;
976 assigned-clock-rates = <19200000>, <120000000>;
978 interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
979 <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
980 interrupt-names = "hs_phy_irq", "ss_phy_irq";
982 power-domains = <&gcc USB_30_GDSC>;
984 resets = <&gcc GCC_USB_30_BCR>;
986 usb3_dwc3: dwc3@a800000 {
987 compatible = "snps,dwc3";
988 reg = <0x0a800000 0xcd00>;
989 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
990 snps,dis_u2_susphy_quirk;
991 snps,dis_enblslpm_quirk;
992 phys = <&qusb2phy>, <&usb1_ssphy>;
993 phy-names = "usb2-phy", "usb3-phy";
994 snps,has-lpm-erratum;
995 snps,hird-threshold = /bits/ 8 <0x10>;
999 usb3phy: phy@c010000 {
1000 compatible = "qcom,msm8998-qmp-usb3-phy";
1001 reg = <0x0c010000 0x18c>;
1002 status = "disabled";
1004 #address-cells = <1>;
1008 clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
1009 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1010 <&gcc GCC_USB3_CLKREF_CLK>;
1011 clock-names = "aux", "cfg_ahb", "ref";
1013 resets = <&gcc GCC_USB3_PHY_BCR>,
1014 <&gcc GCC_USB3PHY_PHY_BCR>;
1015 reset-names = "phy", "common";
1017 usb1_ssphy: lane@c010200 {
1018 reg = <0xc010200 0x128>,
1024 clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>;
1025 clock-names = "pipe0";
1026 clock-output-names = "usb3_phy_pipe_clk_src";
1030 qusb2phy: phy@c012000 {
1031 compatible = "qcom,msm8998-qusb2-phy";
1032 reg = <0x0c012000 0x2a8>;
1033 status = "disabled";
1036 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1037 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
1038 clock-names = "cfg_ahb", "ref";
1040 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1042 nvmem-cells = <&qusb2_hstx_trim>;
1045 sdhc2: sdhci@c0a4900 {
1046 compatible = "qcom,sdhci-msm-v4";
1047 reg = <0xc0a4900 0x314>, <0xc0a4000 0x800>;
1048 reg-names = "hc_mem", "core_mem";
1050 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
1051 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
1052 interrupt-names = "hc_irq", "pwr_irq";
1054 clock-names = "iface", "core", "xo";
1055 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
1056 <&gcc GCC_SDCC2_APPS_CLK>,
1059 status = "disabled";
1062 blsp1_i2c1: i2c@c175000 {
1063 compatible = "qcom,i2c-qup-v2.2.1";
1064 reg = <0x0c175000 0x600>;
1065 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
1067 clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
1068 <&gcc GCC_BLSP1_AHB_CLK>;
1069 clock-names = "core", "iface";
1070 clock-frequency = <400000>;
1072 status = "disabled";
1073 #address-cells = <1>;
1077 blsp1_i2c2: i2c@c176000 {
1078 compatible = "qcom,i2c-qup-v2.2.1";
1079 reg = <0x0c176000 0x600>;
1080 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1082 clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
1083 <&gcc GCC_BLSP1_AHB_CLK>;
1084 clock-names = "core", "iface";
1085 clock-frequency = <400000>;
1087 status = "disabled";
1088 #address-cells = <1>;
1092 blsp1_i2c3: i2c@c177000 {
1093 compatible = "qcom,i2c-qup-v2.2.1";
1094 reg = <0x0c177000 0x600>;
1095 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
1097 clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
1098 <&gcc GCC_BLSP1_AHB_CLK>;
1099 clock-names = "core", "iface";
1100 clock-frequency = <400000>;
1102 status = "disabled";
1103 #address-cells = <1>;
1107 blsp1_i2c4: i2c@c178000 {
1108 compatible = "qcom,i2c-qup-v2.2.1";
1109 reg = <0x0c178000 0x600>;
1110 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
1112 clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
1113 <&gcc GCC_BLSP1_AHB_CLK>;
1114 clock-names = "core", "iface";
1115 clock-frequency = <400000>;
1117 status = "disabled";
1118 #address-cells = <1>;
1122 blsp1_i2c5: i2c@c179000 {
1123 compatible = "qcom,i2c-qup-v2.2.1";
1124 reg = <0x0c179000 0x600>;
1125 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
1127 clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
1128 <&gcc GCC_BLSP1_AHB_CLK>;
1129 clock-names = "core", "iface";
1130 clock-frequency = <400000>;
1132 status = "disabled";
1133 #address-cells = <1>;
1137 blsp1_i2c6: i2c@c17a000 {
1138 compatible = "qcom,i2c-qup-v2.2.1";
1139 reg = <0x0c17a000 0x600>;
1140 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
1142 clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
1143 <&gcc GCC_BLSP1_AHB_CLK>;
1144 clock-names = "core", "iface";
1145 clock-frequency = <400000>;
1147 status = "disabled";
1148 #address-cells = <1>;
1152 blsp2_i2c0: i2c@c1b5000 {
1153 compatible = "qcom,i2c-qup-v2.2.1";
1154 reg = <0x0c1b5000 0x600>;
1155 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1157 clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>,
1158 <&gcc GCC_BLSP2_AHB_CLK>;
1159 clock-names = "core", "iface";
1160 clock-frequency = <400000>;
1162 status = "disabled";
1163 #address-cells = <1>;
1167 blsp2_i2c1: i2c@c1b6000 {
1168 compatible = "qcom,i2c-qup-v2.2.1";
1169 reg = <0x0c1b6000 0x600>;
1170 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1172 clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>,
1173 <&gcc GCC_BLSP2_AHB_CLK>;
1174 clock-names = "core", "iface";
1175 clock-frequency = <400000>;
1177 status = "disabled";
1178 #address-cells = <1>;
1182 blsp2_i2c2: i2c@c1b7000 {
1183 compatible = "qcom,i2c-qup-v2.2.1";
1184 reg = <0x0c1b7000 0x600>;
1185 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
1187 clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>,
1188 <&gcc GCC_BLSP2_AHB_CLK>;
1189 clock-names = "core", "iface";
1190 clock-frequency = <400000>;
1192 status = "disabled";
1193 #address-cells = <1>;
1197 blsp2_i2c3: i2c@c1b8000 {
1198 compatible = "qcom,i2c-qup-v2.2.1";
1199 reg = <0x0c1b8000 0x600>;
1200 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1202 clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>,
1203 <&gcc GCC_BLSP2_AHB_CLK>;
1204 clock-names = "core", "iface";
1205 clock-frequency = <400000>;
1207 status = "disabled";
1208 #address-cells = <1>;
1212 blsp2_i2c4: i2c@c1b9000 {
1213 compatible = "qcom,i2c-qup-v2.2.1";
1214 reg = <0x0c1b9000 0x600>;
1215 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
1217 clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>,
1218 <&gcc GCC_BLSP2_AHB_CLK>;
1219 clock-names = "core", "iface";
1220 clock-frequency = <400000>;
1222 status = "disabled";
1223 #address-cells = <1>;
1227 blsp2_i2c5: i2c@c1ba000 {
1228 compatible = "qcom,i2c-qup-v2.2.1";
1229 reg = <0x0c1ba000 0x600>;
1230 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
1232 clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>,
1233 <&gcc GCC_BLSP2_AHB_CLK>;
1234 clock-names = "core", "iface";
1235 clock-frequency = <400000>;
1237 status = "disabled";
1238 #address-cells = <1>;
1242 blsp2_uart1: serial@c1b0000 {
1243 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
1244 reg = <0xc1b0000 0x1000>;
1245 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
1246 clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
1247 <&gcc GCC_BLSP2_AHB_CLK>;
1248 clock-names = "core", "iface";
1249 status = "disabled";
1253 #address-cells = <1>;
1256 compatible = "arm,armv7-timer-mem";
1257 reg = <0x17920000 0x1000>;
1261 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
1262 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
1263 reg = <0x17921000 0x1000>,
1264 <0x17922000 0x1000>;
1269 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
1270 reg = <0x17923000 0x1000>;
1271 status = "disabled";
1276 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
1277 reg = <0x17924000 0x1000>;
1278 status = "disabled";
1283 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
1284 reg = <0x17925000 0x1000>;
1285 status = "disabled";
1290 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1291 reg = <0x17926000 0x1000>;
1292 status = "disabled";
1297 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
1298 reg = <0x17927000 0x1000>;
1299 status = "disabled";
1304 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1305 reg = <0x17928000 0x1000>;
1306 status = "disabled";
1310 intc: interrupt-controller@17a00000 {
1311 compatible = "arm,gic-v3";
1312 reg = <0x17a00000 0x10000>, /* GICD */
1313 <0x17b00000 0x100000>; /* GICR * 8 */
1314 #interrupt-cells = <3>;
1315 #address-cells = <1>;
1318 interrupt-controller;
1319 #redistributor-regions = <1>;
1320 redistributor-stride = <0x0 0x20000>;
1321 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
1324 ufshc: ufshc@1da4000 {
1325 compatible = "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
1326 reg = <0x01da4000 0x2500>;
1327 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1328 phys = <&ufsphy_lanes>;
1329 phy-names = "ufsphy";
1330 lanes-per-direction = <2>;
1331 power-domains = <&gcc UFS_GDSC>;
1340 "tx_lane0_sync_clk",
1341 "rx_lane0_sync_clk",
1342 "rx_lane1_sync_clk";
1344 <&gcc GCC_UFS_AXI_CLK>,
1345 <&gcc GCC_AGGRE1_UFS_AXI_CLK>,
1346 <&gcc GCC_UFS_AHB_CLK>,
1347 <&gcc GCC_UFS_UNIPRO_CORE_CLK>,
1348 <&rpmcc RPM_SMD_LN_BB_CLK1>,
1349 <&gcc GCC_UFS_TX_SYMBOL_0_CLK>,
1350 <&gcc GCC_UFS_RX_SYMBOL_0_CLK>,
1351 <&gcc GCC_UFS_RX_SYMBOL_1_CLK>;
1353 <50000000 200000000>,
1356 <37500000 150000000>,
1362 resets = <&gcc GCC_UFS_BCR>;
1363 reset-names = "rst";
1366 ufsphy: phy@1da7000 {
1367 compatible = "qcom,msm8998-qmp-ufs-phy";
1368 reg = <0x01da7000 0x18c>;
1369 #address-cells = <1>;
1377 <&gcc GCC_UFS_CLKREF_CLK>,
1378 <&gcc GCC_UFS_PHY_AUX_CLK>;
1380 reset-names = "ufsphy";
1381 resets = <&ufshc 0>;
1383 ufsphy_lanes: lanes@1da7400 {
1384 reg = <0x01da7400 0x128>,
1395 #include "msm8998-pins.dtsi"