1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/clock/qcom,gcc-msm8996.h>
7 #include <dt-bindings/clock/qcom,mmcc-msm8996.h>
8 #include <dt-bindings/clock/qcom,rpmcc.h>
9 #include <dt-bindings/power/qcom-rpmpd.h>
10 #include <dt-bindings/soc/qcom,apr.h>
11 #include <dt-bindings/thermal/thermal.h>
14 interrupt-parent = <&intc>;
23 compatible = "fixed-clock";
25 clock-frequency = <19200000>;
26 clock-output-names = "xo_board";
29 sleep_clk: sleep-clk {
30 compatible = "fixed-clock";
32 clock-frequency = <32764>;
33 clock-output-names = "sleep_clk";
43 compatible = "qcom,kryo";
45 enable-method = "psci";
46 cpu-idle-states = <&CPU_SLEEP_0>;
47 capacity-dmips-mhz = <1024>;
49 operating-points-v2 = <&cluster0_opp>;
51 next-level-cache = <&L2_0>;
60 compatible = "qcom,kryo";
62 enable-method = "psci";
63 cpu-idle-states = <&CPU_SLEEP_0>;
64 capacity-dmips-mhz = <1024>;
66 operating-points-v2 = <&cluster0_opp>;
68 next-level-cache = <&L2_0>;
73 compatible = "qcom,kryo";
75 enable-method = "psci";
76 cpu-idle-states = <&CPU_SLEEP_0>;
77 capacity-dmips-mhz = <1024>;
79 operating-points-v2 = <&cluster1_opp>;
81 next-level-cache = <&L2_1>;
90 compatible = "qcom,kryo";
92 enable-method = "psci";
93 cpu-idle-states = <&CPU_SLEEP_0>;
94 capacity-dmips-mhz = <1024>;
96 operating-points-v2 = <&cluster1_opp>;
98 next-level-cache = <&L2_1>;
124 entry-method = "psci";
126 CPU_SLEEP_0: cpu-sleep-0 {
127 compatible = "arm,idle-state";
128 idle-state-name = "standalone-power-collapse";
129 arm,psci-suspend-param = <0x00000004>;
130 entry-latency-us = <130>;
131 exit-latency-us = <80>;
132 min-residency-us = <300>;
137 cluster0_opp: opp-table-cluster0 {
138 compatible = "operating-points-v2-kryo-cpu";
139 nvmem-cells = <&speedbin_efuse>;
142 /* Nominal fmax for now */
144 opp-hz = /bits/ 64 <307200000>;
145 opp-supported-hw = <0x77>;
146 clock-latency-ns = <200000>;
149 opp-hz = /bits/ 64 <422400000>;
150 opp-supported-hw = <0x77>;
151 clock-latency-ns = <200000>;
154 opp-hz = /bits/ 64 <480000000>;
155 opp-supported-hw = <0x77>;
156 clock-latency-ns = <200000>;
159 opp-hz = /bits/ 64 <556800000>;
160 opp-supported-hw = <0x77>;
161 clock-latency-ns = <200000>;
164 opp-hz = /bits/ 64 <652800000>;
165 opp-supported-hw = <0x77>;
166 clock-latency-ns = <200000>;
169 opp-hz = /bits/ 64 <729600000>;
170 opp-supported-hw = <0x77>;
171 clock-latency-ns = <200000>;
174 opp-hz = /bits/ 64 <844800000>;
175 opp-supported-hw = <0x77>;
176 clock-latency-ns = <200000>;
179 opp-hz = /bits/ 64 <960000000>;
180 opp-supported-hw = <0x77>;
181 clock-latency-ns = <200000>;
184 opp-hz = /bits/ 64 <1036800000>;
185 opp-supported-hw = <0x77>;
186 clock-latency-ns = <200000>;
189 opp-hz = /bits/ 64 <1113600000>;
190 opp-supported-hw = <0x77>;
191 clock-latency-ns = <200000>;
194 opp-hz = /bits/ 64 <1190400000>;
195 opp-supported-hw = <0x77>;
196 clock-latency-ns = <200000>;
199 opp-hz = /bits/ 64 <1228800000>;
200 opp-supported-hw = <0x77>;
201 clock-latency-ns = <200000>;
204 opp-hz = /bits/ 64 <1324800000>;
205 opp-supported-hw = <0x77>;
206 clock-latency-ns = <200000>;
209 opp-hz = /bits/ 64 <1401600000>;
210 opp-supported-hw = <0x77>;
211 clock-latency-ns = <200000>;
214 opp-hz = /bits/ 64 <1478400000>;
215 opp-supported-hw = <0x77>;
216 clock-latency-ns = <200000>;
219 opp-hz = /bits/ 64 <1593600000>;
220 opp-supported-hw = <0x77>;
221 clock-latency-ns = <200000>;
225 cluster1_opp: opp-table-cluster1 {
226 compatible = "operating-points-v2-kryo-cpu";
227 nvmem-cells = <&speedbin_efuse>;
230 /* Nominal fmax for now */
232 opp-hz = /bits/ 64 <307200000>;
233 opp-supported-hw = <0x77>;
234 clock-latency-ns = <200000>;
237 opp-hz = /bits/ 64 <403200000>;
238 opp-supported-hw = <0x77>;
239 clock-latency-ns = <200000>;
242 opp-hz = /bits/ 64 <480000000>;
243 opp-supported-hw = <0x77>;
244 clock-latency-ns = <200000>;
247 opp-hz = /bits/ 64 <556800000>;
248 opp-supported-hw = <0x77>;
249 clock-latency-ns = <200000>;
252 opp-hz = /bits/ 64 <652800000>;
253 opp-supported-hw = <0x77>;
254 clock-latency-ns = <200000>;
257 opp-hz = /bits/ 64 <729600000>;
258 opp-supported-hw = <0x77>;
259 clock-latency-ns = <200000>;
262 opp-hz = /bits/ 64 <806400000>;
263 opp-supported-hw = <0x77>;
264 clock-latency-ns = <200000>;
267 opp-hz = /bits/ 64 <883200000>;
268 opp-supported-hw = <0x77>;
269 clock-latency-ns = <200000>;
272 opp-hz = /bits/ 64 <940800000>;
273 opp-supported-hw = <0x77>;
274 clock-latency-ns = <200000>;
277 opp-hz = /bits/ 64 <1036800000>;
278 opp-supported-hw = <0x77>;
279 clock-latency-ns = <200000>;
282 opp-hz = /bits/ 64 <1113600000>;
283 opp-supported-hw = <0x77>;
284 clock-latency-ns = <200000>;
287 opp-hz = /bits/ 64 <1190400000>;
288 opp-supported-hw = <0x77>;
289 clock-latency-ns = <200000>;
292 opp-hz = /bits/ 64 <1248000000>;
293 opp-supported-hw = <0x77>;
294 clock-latency-ns = <200000>;
297 opp-hz = /bits/ 64 <1324800000>;
298 opp-supported-hw = <0x77>;
299 clock-latency-ns = <200000>;
302 opp-hz = /bits/ 64 <1401600000>;
303 opp-supported-hw = <0x77>;
304 clock-latency-ns = <200000>;
307 opp-hz = /bits/ 64 <1478400000>;
308 opp-supported-hw = <0x77>;
309 clock-latency-ns = <200000>;
312 opp-hz = /bits/ 64 <1555200000>;
313 opp-supported-hw = <0x77>;
314 clock-latency-ns = <200000>;
317 opp-hz = /bits/ 64 <1632000000>;
318 opp-supported-hw = <0x77>;
319 clock-latency-ns = <200000>;
322 opp-hz = /bits/ 64 <1708800000>;
323 opp-supported-hw = <0x77>;
324 clock-latency-ns = <200000>;
327 opp-hz = /bits/ 64 <1785600000>;
328 opp-supported-hw = <0x77>;
329 clock-latency-ns = <200000>;
332 opp-hz = /bits/ 64 <1824000000>;
333 opp-supported-hw = <0x77>;
334 clock-latency-ns = <200000>;
337 opp-hz = /bits/ 64 <1920000000>;
338 opp-supported-hw = <0x77>;
339 clock-latency-ns = <200000>;
342 opp-hz = /bits/ 64 <1996800000>;
343 opp-supported-hw = <0x77>;
344 clock-latency-ns = <200000>;
347 opp-hz = /bits/ 64 <2073600000>;
348 opp-supported-hw = <0x77>;
349 clock-latency-ns = <200000>;
352 opp-hz = /bits/ 64 <2150400000>;
353 opp-supported-hw = <0x77>;
354 clock-latency-ns = <200000>;
360 compatible = "qcom,scm-msm8996";
361 qcom,dload-mode = <&tcsr 0x13000>;
366 compatible = "qcom,tcsr-mutex";
367 syscon = <&tcsr_mutex_regs 0 0x1000>;
372 device_type = "memory";
373 /* We expect the bootloader to fill in the reg */
374 reg = <0x0 0x80000000 0x0 0x0>;
378 compatible = "arm,psci-1.0";
383 #address-cells = <2>;
387 mba_region: mba@91500000 {
388 reg = <0x0 0x91500000 0x0 0x200000>;
392 slpi_region: slpi@90b00000 {
393 reg = <0x0 0x90b00000 0x0 0xa00000>;
397 venus_region: venus@90400000 {
398 reg = <0x0 0x90400000 0x0 0x700000>;
402 adsp_region: adsp@8ea00000 {
403 reg = <0x0 0x8ea00000 0x0 0x1a00000>;
407 mpss_region: mpss@88800000 {
408 reg = <0x0 0x88800000 0x0 0x6200000>;
412 smem_mem: smem-mem@86000000 {
413 reg = <0x0 0x86000000 0x0 0x200000>;
418 reg = <0x0 0x85800000 0x0 0x800000>;
423 reg = <0x0 0x86200000 0x0 0x2600000>;
428 compatible = "qcom,rmtfs-mem";
430 size = <0x0 0x200000>;
431 alloc-ranges = <0x0 0xa0000000 0x0 0x2000000>;
434 qcom,client-id = <1>;
438 zap_shader_region: gpu@8f200000 {
439 compatible = "shared-dma-pool";
440 reg = <0x0 0x90b00000 0x0 0xa00000>;
446 compatible = "qcom,glink-rpm";
448 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
450 qcom,rpm-msg-ram = <&rpm_msg_ram>;
452 mboxes = <&apcs_glb 0>;
454 rpm_requests: rpm-requests {
455 compatible = "qcom,rpm-msm8996";
456 qcom,glink-channels = "rpm_requests";
459 compatible = "qcom,rpmcc-msm8996";
463 rpmpd: power-controller {
464 compatible = "qcom,msm8996-rpmpd";
465 #power-domain-cells = <1>;
466 operating-points-v2 = <&rpmpd_opp_table>;
468 rpmpd_opp_table: opp-table {
469 compatible = "operating-points-v2";
500 compatible = "qcom,smem";
501 memory-region = <&smem_mem>;
502 hwlocks = <&tcsr_mutex 3>;
506 compatible = "qcom,smp2p";
507 qcom,smem = <443>, <429>;
509 interrupts = <0 158 IRQ_TYPE_EDGE_RISING>;
511 mboxes = <&apcs_glb 10>;
513 qcom,local-pid = <0>;
514 qcom,remote-pid = <2>;
516 smp2p_adsp_out: master-kernel {
517 qcom,entry-name = "master-kernel";
518 #qcom,smem-state-cells = <1>;
521 smp2p_adsp_in: slave-kernel {
522 qcom,entry-name = "slave-kernel";
524 interrupt-controller;
525 #interrupt-cells = <2>;
530 compatible = "qcom,smp2p";
531 qcom,smem = <435>, <428>;
533 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
535 mboxes = <&apcs_glb 14>;
537 qcom,local-pid = <0>;
538 qcom,remote-pid = <1>;
540 modem_smp2p_out: master-kernel {
541 qcom,entry-name = "master-kernel";
542 #qcom,smem-state-cells = <1>;
545 modem_smp2p_in: slave-kernel {
546 qcom,entry-name = "slave-kernel";
548 interrupt-controller;
549 #interrupt-cells = <2>;
554 compatible = "qcom,smp2p";
555 qcom,smem = <481>, <430>;
557 interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
559 mboxes = <&apcs_glb 26>;
561 qcom,local-pid = <0>;
562 qcom,remote-pid = <3>;
564 smp2p_slpi_in: slave-kernel {
565 qcom,entry-name = "slave-kernel";
566 interrupt-controller;
567 #interrupt-cells = <2>;
570 smp2p_slpi_out: master-kernel {
571 qcom,entry-name = "master-kernel";
572 #qcom,smem-state-cells = <1>;
577 #address-cells = <1>;
579 ranges = <0 0 0 0xffffffff>;
580 compatible = "simple-bus";
582 pcie_phy: phy@34000 {
583 compatible = "qcom,msm8996-qmp-pcie-phy";
584 reg = <0x00034000 0x488>;
585 #address-cells = <1>;
589 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
590 <&gcc GCC_PCIE_PHY_CFG_AHB_CLK>,
591 <&gcc GCC_PCIE_CLKREF_CLK>;
592 clock-names = "aux", "cfg_ahb", "ref";
594 resets = <&gcc GCC_PCIE_PHY_BCR>,
595 <&gcc GCC_PCIE_PHY_COM_BCR>,
596 <&gcc GCC_PCIE_PHY_COM_NOCSR_BCR>;
597 reset-names = "phy", "common", "cfg";
600 pciephy_0: phy@35000 {
601 reg = <0x00035000 0x130>,
607 clock-output-names = "pcie_0_pipe_clk_src";
608 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
609 clock-names = "pipe0";
610 resets = <&gcc GCC_PCIE_0_PHY_BCR>;
611 reset-names = "lane0";
614 pciephy_1: phy@36000 {
615 reg = <0x00036000 0x130>,
620 clock-output-names = "pcie_1_pipe_clk_src";
621 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
622 clock-names = "pipe1";
623 resets = <&gcc GCC_PCIE_1_PHY_BCR>;
624 reset-names = "lane1";
627 pciephy_2: phy@37000 {
628 reg = <0x00037000 0x130>,
633 clock-output-names = "pcie_2_pipe_clk_src";
634 clocks = <&gcc GCC_PCIE_2_PIPE_CLK>;
635 clock-names = "pipe2";
636 resets = <&gcc GCC_PCIE_2_PHY_BCR>;
637 reset-names = "lane2";
641 rpm_msg_ram: sram@68000 {
642 compatible = "qcom,rpm-msg-ram";
643 reg = <0x00068000 0x6000>;
647 compatible = "qcom,qfprom";
648 reg = <0x00074000 0x8ff>;
649 #address-cells = <1>;
652 qusb2p_hstx_trim: hstx_trim@24e {
657 qusb2s_hstx_trim: hstx_trim@24f {
662 speedbin_efuse: speedbin@133 {
669 compatible = "qcom,prng-ee";
670 reg = <0x00083000 0x1000>;
671 clocks = <&gcc GCC_PRNG_AHB_CLK>;
672 clock-names = "core";
675 gcc: clock-controller@300000 {
676 compatible = "qcom,gcc-msm8996";
679 #power-domain-cells = <1>;
680 reg = <0x00300000 0x90000>;
682 clocks = <&rpmcc RPM_SMD_BB_CLK1>,
683 <&rpmcc RPM_SMD_LN_BB_CLK>,
685 clock-names = "cxo", "cxo2", "sleep_clk";
688 tsens0: thermal-sensor@4a9000 {
689 compatible = "qcom,msm8996-tsens", "qcom,tsens-v2";
690 reg = <0x004a9000 0x1000>, /* TM */
691 <0x004a8000 0x1000>; /* SROT */
692 #qcom,sensors = <13>;
693 interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>,
694 <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>;
695 interrupt-names = "uplow", "critical";
696 #thermal-sensor-cells = <1>;
699 tsens1: thermal-sensor@4ad000 {
700 compatible = "qcom,msm8996-tsens", "qcom,tsens-v2";
701 reg = <0x004ad000 0x1000>, /* TM */
702 <0x004ac000 0x1000>; /* SROT */
704 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
705 <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>;
706 interrupt-names = "uplow", "critical";
707 #thermal-sensor-cells = <1>;
710 cryptobam: dma@644000 {
711 compatible = "qcom,bam-v1.7.0";
712 reg = <0x00644000 0x24000>;
713 interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>;
714 clocks = <&gcc GCC_CE1_CLK>;
715 clock-names = "bam_clk";
718 qcom,controlled-remotely;
721 crypto: crypto@67a000 {
722 compatible = "qcom,crypto-v5.4";
723 reg = <0x0067a000 0x6000>;
724 clocks = <&gcc GCC_CE1_AHB_CLK>,
725 <&gcc GCC_CE1_AXI_CLK>,
727 clock-names = "iface", "bus", "core";
728 dmas = <&cryptobam 6>, <&cryptobam 7>;
729 dma-names = "rx", "tx";
732 tcsr_mutex_regs: syscon@740000 {
733 compatible = "syscon";
734 reg = <0x00740000 0x40000>;
737 tcsr: syscon@7a0000 {
738 compatible = "qcom,tcsr-msm8996", "syscon";
739 reg = <0x007a0000 0x18000>;
742 mmcc: clock-controller@8c0000 {
743 compatible = "qcom,mmcc-msm8996";
746 #power-domain-cells = <1>;
747 reg = <0x008c0000 0x40000>;
748 assigned-clocks = <&mmcc MMPLL9_PLL>,
753 assigned-clock-rates = <624000000>,
761 compatible = "qcom,mdss";
763 reg = <0x00900000 0x1000>,
766 reg-names = "mdss_phys",
770 power-domains = <&mmcc MDSS_GDSC>;
771 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
773 interrupt-controller;
774 #interrupt-cells = <1>;
776 clocks = <&mmcc MDSS_AHB_CLK>;
777 clock-names = "iface";
779 #address-cells = <1>;
786 compatible = "qcom,mdp5";
787 reg = <0x00901000 0x90000>;
788 reg-names = "mdp_phys";
790 interrupt-parent = <&mdss>;
791 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
793 clocks = <&mmcc MDSS_AHB_CLK>,
794 <&mmcc MDSS_AXI_CLK>,
795 <&mmcc MDSS_MDP_CLK>,
796 <&mmcc SMMU_MDP_AXI_CLK>,
797 <&mmcc MDSS_VSYNC_CLK>;
798 clock-names = "iface",
804 iommus = <&mdp_smmu 0>;
806 assigned-clocks = <&mmcc MDSS_MDP_CLK>,
807 <&mmcc MDSS_VSYNC_CLK>;
808 assigned-clock-rates = <300000000>,
812 #address-cells = <1>;
817 mdp5_intf3_out: endpoint {
818 remote-endpoint = <&hdmi_in>;
824 mdp5_intf1_out: endpoint {
825 remote-endpoint = <&dsi0_in>;
832 compatible = "qcom,mdss-dsi-ctrl";
833 reg = <0x00994000 0x400>;
834 reg-names = "dsi_ctrl";
836 interrupt-parent = <&mdss>;
837 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
839 clocks = <&mmcc MDSS_MDP_CLK>,
840 <&mmcc MDSS_BYTE0_CLK>,
841 <&mmcc MDSS_AHB_CLK>,
842 <&mmcc MDSS_AXI_CLK>,
843 <&mmcc MMSS_MISC_AHB_CLK>,
844 <&mmcc MDSS_PCLK0_CLK>,
845 <&mmcc MDSS_ESC0_CLK>;
846 clock-names = "mdp_core",
858 #address-cells = <1>;
862 #address-cells = <1>;
868 remote-endpoint = <&mdp5_intf1_out>;
880 dsi0_phy: dsi-phy@994400 {
881 compatible = "qcom,dsi-phy-14nm";
882 reg = <0x00994400 0x100>,
885 reg-names = "dsi_phy",
892 clocks = <&mmcc MDSS_AHB_CLK>, <&rpmcc RPM_SMD_BB_CLK1>;
893 clock-names = "iface", "ref";
897 hdmi: hdmi-tx@9a0000 {
898 compatible = "qcom,hdmi-tx-8996";
899 reg = <0x009a0000 0x50c>,
902 reg-names = "core_physical",
906 interrupt-parent = <&mdss>;
907 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
909 clocks = <&mmcc MDSS_MDP_CLK>,
910 <&mmcc MDSS_AHB_CLK>,
911 <&mmcc MDSS_HDMI_CLK>,
912 <&mmcc MDSS_HDMI_AHB_CLK>,
913 <&mmcc MDSS_EXTPCLK_CLK>;
922 phy-names = "hdmi_phy";
923 #sound-dai-cells = <1>;
928 #address-cells = <1>;
934 remote-endpoint = <&mdp5_intf3_out>;
940 hdmi_phy: hdmi-phy@9a0600 {
942 compatible = "qcom,hdmi-phy-8996";
943 reg = <0x009a0600 0x1c4>,
949 reg-names = "hdmi_pll",
956 clocks = <&mmcc MDSS_AHB_CLK>,
957 <&gcc GCC_HDMI_CLKREF_CLK>;
958 clock-names = "iface",
966 compatible = "qcom,adreno-530.2", "qcom,adreno";
968 reg = <0x00b00000 0x3f000>;
969 reg-names = "kgsl_3d0_reg_memory";
971 interrupts = <0 300 IRQ_TYPE_LEVEL_HIGH>;
973 clocks = <&mmcc GPU_GX_GFX3D_CLK>,
975 <&mmcc GPU_GX_RBBMTIMER_CLK>,
976 <&gcc GCC_BIMC_GFX_CLK>,
977 <&gcc GCC_MMSS_BIMC_GFX_CLK>;
979 clock-names = "core",
985 power-domains = <&mmcc GPU_GX_GDSC>;
986 iommus = <&adreno_smmu 0>;
988 nvmem-cells = <&speedbin_efuse>;
989 nvmem-cell-names = "speed_bin";
991 operating-points-v2 = <&gpu_opp_table>;
995 #cooling-cells = <2>;
997 gpu_opp_table: opp-table {
998 compatible ="operating-points-v2";
1001 * 624Mhz and 560Mhz are only available on speed
1002 * bin (1 << 0). All the rest are available on
1003 * all bins of the hardware
1006 opp-hz = /bits/ 64 <624000000>;
1007 opp-supported-hw = <0x01>;
1010 opp-hz = /bits/ 64 <560000000>;
1011 opp-supported-hw = <0x01>;
1014 opp-hz = /bits/ 64 <510000000>;
1015 opp-supported-hw = <0xFF>;
1018 opp-hz = /bits/ 64 <401800000>;
1019 opp-supported-hw = <0xFF>;
1022 opp-hz = /bits/ 64 <315000000>;
1023 opp-supported-hw = <0xFF>;
1026 opp-hz = /bits/ 64 <214000000>;
1027 opp-supported-hw = <0xFF>;
1030 opp-hz = /bits/ 64 <133000000>;
1031 opp-supported-hw = <0xFF>;
1036 memory-region = <&zap_shader_region>;
1040 tlmm: pinctrl@1010000 {
1041 compatible = "qcom,msm8996-pinctrl";
1042 reg = <0x01010000 0x300000>;
1043 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1045 gpio-ranges = <&tlmm 0 0 150>;
1047 interrupt-controller;
1048 #interrupt-cells = <2>;
1050 blsp1_spi1_default: blsp1-spi1-default {
1052 pins = "gpio0", "gpio1", "gpio3";
1053 function = "blsp_spi1";
1054 drive-strength = <12>;
1061 drive-strength = <16>;
1067 blsp1_spi1_sleep: blsp1-spi1-sleep {
1068 pins = "gpio0", "gpio1", "gpio2", "gpio3";
1070 drive-strength = <2>;
1074 blsp2_uart2_2pins_default: blsp2-uart1-2pins {
1075 pins = "gpio4", "gpio5";
1076 function = "blsp_uart8";
1077 drive-strength = <16>;
1081 blsp2_uart2_2pins_sleep: blsp2-uart1-2pins-sleep {
1082 pins = "gpio4", "gpio5";
1084 drive-strength = <2>;
1088 blsp2_i2c2_default: blsp2-i2c2 {
1089 pins = "gpio6", "gpio7";
1090 function = "blsp_i2c8";
1091 drive-strength = <16>;
1095 blsp2_i2c2_sleep: blsp2-i2c2-sleep {
1096 pins = "gpio6", "gpio7";
1098 drive-strength = <2>;
1102 cci0_default: cci0-default {
1103 pins = "gpio17", "gpio18";
1104 function = "cci_i2c";
1105 drive-strength = <16>;
1110 camera_rear_default: camera-rear-default {
1111 camera0_mclk: mclk0 {
1113 function = "cam_mclk";
1114 drive-strength = <16>;
1121 drive-strength = <16>;
1125 camera0_pwdn: pwdn {
1128 drive-strength = <16>;
1133 cci1_default: cci1-default {
1134 pins = "gpio19", "gpio20";
1135 function = "cci_i2c";
1136 drive-strength = <16>;
1141 camera_board_default: camera-board-default {
1144 function = "cam_mclk";
1145 drive-strength = <16>;
1152 drive-strength = <16>;
1159 drive-strength = <16>;
1165 camera_front_default: camera-front-default {
1166 camera2_mclk: mclk2 {
1168 function = "cam_mclk";
1169 drive-strength = <16>;
1176 drive-strength = <16>;
1183 drive-strength = <16>;
1188 pcie0_state_on: pcie0-state-on {
1192 drive-strength = <2>;
1198 function = "pci_e0";
1199 drive-strength = <2>;
1206 drive-strength = <2>;
1211 pcie0_state_off: pcie0-state-off {
1215 drive-strength = <2>;
1222 drive-strength = <2>;
1229 drive-strength = <2>;
1234 blsp1_uart2_default: blsp1-uart2-default {
1235 pins = "gpio41", "gpio42", "gpio43", "gpio44";
1236 function = "blsp_uart2";
1237 drive-strength = <16>;
1241 blsp1_uart2_sleep: blsp1-uart2-sleep {
1242 pins = "gpio41", "gpio42", "gpio43", "gpio44";
1244 drive-strength = <2>;
1248 blsp1_i2c3_default: blsp1-i2c2-default {
1249 pins = "gpio47", "gpio48";
1250 function = "blsp_i2c3";
1251 drive-strength = <16>;
1255 blsp1_i2c3_sleep: blsp1-i2c2-sleep {
1256 pins = "gpio47", "gpio48";
1258 drive-strength = <2>;
1262 blsp2_uart3_4pins_default: blsp2-uart2-4pins {
1263 pins = "gpio49", "gpio50", "gpio51", "gpio52";
1264 function = "blsp_uart9";
1265 drive-strength = <16>;
1269 blsp2_uart3_4pins_sleep: blsp2-uart2-4pins-sleep {
1270 pins = "gpio49", "gpio50", "gpio51", "gpio52";
1271 function = "blsp_uart9";
1272 drive-strength = <2>;
1276 blsp2_i2c3_default: blsp2-i2c3 {
1277 pins = "gpio51", "gpio52";
1278 function = "blsp_i2c9";
1279 drive-strength = <16>;
1283 blsp2_i2c3_sleep: blsp2-i2c3-sleep {
1284 pins = "gpio51", "gpio52";
1286 drive-strength = <2>;
1290 wcd_intr_default: wcd-intr-default{
1293 drive-strength = <2>;
1298 blsp2_i2c1_default: blsp2-i2c1 {
1299 pins = "gpio55", "gpio56";
1300 function = "blsp_i2c7";
1301 drive-strength = <16>;
1305 blsp2_i2c1_sleep: blsp2-i2c0-sleep {
1306 pins = "gpio55", "gpio56";
1308 drive-strength = <2>;
1312 blsp2_i2c5_default: blsp2-i2c5 {
1313 pins = "gpio60", "gpio61";
1314 function = "blsp_i2c11";
1315 drive-strength = <2>;
1319 /* Sleep state for BLSP2_I2C5 is missing.. */
1321 cdc_reset_active: cdc-reset-active {
1324 drive-strength = <16>;
1329 cdc_reset_sleep: cdc-reset-sleep {
1332 drive-strength = <16>;
1337 blsp2_spi6_default: blsp2-spi5-default {
1339 pins = "gpio85", "gpio86", "gpio88";
1340 function = "blsp_spi12";
1341 drive-strength = <12>;
1348 drive-strength = <16>;
1354 blsp2_spi6_sleep: blsp2-spi5-sleep {
1355 pins = "gpio85", "gpio86", "gpio87", "gpio88";
1357 drive-strength = <2>;
1361 blsp2_i2c6_default: blsp2-i2c6 {
1362 pins = "gpio87", "gpio88";
1363 function = "blsp_i2c12";
1364 drive-strength = <16>;
1368 blsp2_i2c6_sleep: blsp2-i2c6-sleep {
1369 pins = "gpio87", "gpio88";
1371 drive-strength = <2>;
1375 pcie1_state_on: pcie1-state-on {
1379 drive-strength = <2>;
1385 function = "pci_e1";
1386 drive-strength = <2>;
1393 drive-strength = <2>;
1398 pcie1_state_off: pcie1-state-off {
1399 /* Perst is missing? */
1403 drive-strength = <2>;
1410 drive-strength = <2>;
1415 pcie2_state_on: pcie2-state-on {
1419 drive-strength = <2>;
1425 function = "pci_e2";
1426 drive-strength = <2>;
1433 drive-strength = <2>;
1438 pcie2_state_off: pcie2-state-off {
1439 /* Perst is missing? */
1443 drive-strength = <2>;
1450 drive-strength = <2>;
1455 sdc1_state_on: sdc1-state-on {
1459 drive-strength = <16>;
1465 drive-strength = <10>;
1471 drive-strength = <10>;
1480 sdc1_state_off: sdc1-state-off {
1484 drive-strength = <2>;
1490 drive-strength = <2>;
1496 drive-strength = <2>;
1505 sdc2_state_on: sdc2-clk-on {
1509 drive-strength = <16>;
1515 drive-strength = <10>;
1521 drive-strength = <10>;
1525 sdc2_state_off: sdc2-clk-off {
1529 drive-strength = <2>;
1535 drive-strength = <2>;
1541 drive-strength = <2>;
1547 compatible = "qcom,rpm-stats";
1548 reg = <0x00290000 0x10000>;
1551 spmi_bus: spmi@400f000 {
1552 compatible = "qcom,spmi-pmic-arb";
1553 reg = <0x0400f000 0x1000>,
1554 <0x04400000 0x800000>,
1555 <0x04c00000 0x800000>,
1556 <0x05800000 0x200000>,
1557 <0x0400a000 0x002100>;
1558 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1559 interrupt-names = "periph_irq";
1560 interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
1563 #address-cells = <2>;
1565 interrupt-controller;
1566 #interrupt-cells = <4>;
1570 power-domains = <&gcc AGGRE0_NOC_GDSC>;
1571 compatible = "simple-pm-bus";
1572 #address-cells = <1>;
1576 pcie0: pcie@600000 {
1577 compatible = "qcom,pcie-msm8996", "snps,dw-pcie";
1578 status = "disabled";
1579 power-domains = <&gcc PCIE0_GDSC>;
1580 bus-range = <0x00 0xff>;
1583 reg = <0x00600000 0x2000>,
1586 <0x0c100000 0x100000>;
1587 reg-names = "parf", "dbi", "elbi","config";
1589 phys = <&pciephy_0>;
1590 phy-names = "pciephy";
1592 #address-cells = <3>;
1594 ranges = <0x01000000 0x0 0x0c200000 0x0c200000 0x0 0x100000>,
1595 <0x02000000 0x0 0x0c300000 0x0c300000 0x0 0xd00000>;
1597 device_type = "pci";
1599 interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
1600 interrupt-names = "msi";
1601 #interrupt-cells = <1>;
1602 interrupt-map-mask = <0 0 0 0x7>;
1603 interrupt-map = <0 0 0 1 &intc 0 244 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1604 <0 0 0 2 &intc 0 245 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1605 <0 0 0 3 &intc 0 247 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1606 <0 0 0 4 &intc 0 248 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1608 pinctrl-names = "default", "sleep";
1609 pinctrl-0 = <&pcie0_state_on>;
1610 pinctrl-1 = <&pcie0_state_off>;
1612 linux,pci-domain = <0>;
1614 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
1615 <&gcc GCC_PCIE_0_AUX_CLK>,
1616 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1617 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
1618 <&gcc GCC_PCIE_0_SLV_AXI_CLK>;
1620 clock-names = "pipe",
1628 pcie1: pcie@608000 {
1629 compatible = "qcom,pcie-msm8996", "snps,dw-pcie";
1630 power-domains = <&gcc PCIE1_GDSC>;
1631 bus-range = <0x00 0xff>;
1634 status = "disabled";
1636 reg = <0x00608000 0x2000>,
1639 <0x0d100000 0x100000>;
1641 reg-names = "parf", "dbi", "elbi","config";
1643 phys = <&pciephy_1>;
1644 phy-names = "pciephy";
1646 #address-cells = <3>;
1648 ranges = <0x01000000 0x0 0x0d200000 0x0d200000 0x0 0x100000>,
1649 <0x02000000 0x0 0x0d300000 0x0d300000 0x0 0xd00000>;
1651 device_type = "pci";
1653 interrupts = <GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>;
1654 interrupt-names = "msi";
1655 #interrupt-cells = <1>;
1656 interrupt-map-mask = <0 0 0 0x7>;
1657 interrupt-map = <0 0 0 1 &intc 0 272 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1658 <0 0 0 2 &intc 0 273 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1659 <0 0 0 3 &intc 0 274 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1660 <0 0 0 4 &intc 0 275 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1662 pinctrl-names = "default", "sleep";
1663 pinctrl-0 = <&pcie1_state_on>;
1664 pinctrl-1 = <&pcie1_state_off>;
1666 linux,pci-domain = <1>;
1668 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
1669 <&gcc GCC_PCIE_1_AUX_CLK>,
1670 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1671 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
1672 <&gcc GCC_PCIE_1_SLV_AXI_CLK>;
1674 clock-names = "pipe",
1681 pcie2: pcie@610000 {
1682 compatible = "qcom,pcie-msm8996", "snps,dw-pcie";
1683 power-domains = <&gcc PCIE2_GDSC>;
1684 bus-range = <0x00 0xff>;
1686 status = "disabled";
1687 reg = <0x00610000 0x2000>,
1690 <0x0e100000 0x100000>;
1692 reg-names = "parf", "dbi", "elbi","config";
1694 phys = <&pciephy_2>;
1695 phy-names = "pciephy";
1697 #address-cells = <3>;
1699 ranges = <0x01000000 0x0 0x0e200000 0x0e200000 0x0 0x100000>,
1700 <0x02000000 0x0 0x0e300000 0x0e300000 0x0 0x1d00000>;
1702 device_type = "pci";
1704 interrupts = <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>;
1705 interrupt-names = "msi";
1706 #interrupt-cells = <1>;
1707 interrupt-map-mask = <0 0 0 0x7>;
1708 interrupt-map = <0 0 0 1 &intc 0 142 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1709 <0 0 0 2 &intc 0 143 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1710 <0 0 0 3 &intc 0 144 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1711 <0 0 0 4 &intc 0 145 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1713 pinctrl-names = "default", "sleep";
1714 pinctrl-0 = <&pcie2_state_on>;
1715 pinctrl-1 = <&pcie2_state_off>;
1717 linux,pci-domain = <2>;
1718 clocks = <&gcc GCC_PCIE_2_PIPE_CLK>,
1719 <&gcc GCC_PCIE_2_AUX_CLK>,
1720 <&gcc GCC_PCIE_2_CFG_AHB_CLK>,
1721 <&gcc GCC_PCIE_2_MSTR_AXI_CLK>,
1722 <&gcc GCC_PCIE_2_SLV_AXI_CLK>;
1724 clock-names = "pipe",
1732 ufshc: ufshc@624000 {
1733 compatible = "qcom,msm8996-ufshc", "qcom,ufshc",
1735 reg = <0x00624000 0x2500>;
1736 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1738 phys = <&ufsphy_lane>;
1739 phy-names = "ufsphy";
1741 power-domains = <&gcc UFS_GDSC>;
1749 "core_clk_unipro_src",
1753 "tx_lane0_sync_clk",
1754 "rx_lane0_sync_clk";
1756 <&gcc UFS_AXI_CLK_SRC>,
1757 <&gcc GCC_UFS_AXI_CLK>,
1758 <&gcc GCC_SYS_NOC_UFS_AXI_CLK>,
1759 <&gcc GCC_AGGRE2_UFS_AXI_CLK>,
1760 <&gcc GCC_UFS_AHB_CLK>,
1761 <&gcc UFS_ICE_CORE_CLK_SRC>,
1762 <&gcc GCC_UFS_UNIPRO_CORE_CLK>,
1763 <&gcc GCC_UFS_ICE_CORE_CLK>,
1764 <&rpmcc RPM_SMD_LN_BB_CLK>,
1765 <&gcc GCC_UFS_TX_SYMBOL_0_CLK>,
1766 <&gcc GCC_UFS_RX_SYMBOL_0_CLK>;
1768 <100000000 200000000>,
1773 <150000000 300000000>,
1780 lanes-per-direction = <1>;
1782 status = "disabled";
1785 compatible = "qcom,ufs_variant";
1789 ufsphy: phy@627000 {
1790 compatible = "qcom,msm8996-qmp-ufs-phy";
1791 reg = <0x00627000 0x1c4>;
1792 #address-cells = <1>;
1796 clocks = <&gcc GCC_UFS_CLKREF_CLK>;
1797 clock-names = "ref";
1799 resets = <&ufshc 0>;
1800 reset-names = "ufsphy";
1801 status = "disabled";
1803 ufsphy_lane: phy@627400 {
1804 reg = <0x627400 0x12c>,
1811 camss: camss@a00000 {
1812 compatible = "qcom,msm8996-camss";
1813 reg = <0x00a34000 0x1000>,
1815 <0x00a35000 0x1000>,
1817 <0x00a36000 0x1000>,
1825 <0x00a10000 0x1000>,
1826 <0x00a14000 0x1000>;
1827 reg-names = "csiphy0",
1841 interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>,
1842 <GIC_SPI 79 IRQ_TYPE_EDGE_RISING>,
1843 <GIC_SPI 80 IRQ_TYPE_EDGE_RISING>,
1844 <GIC_SPI 296 IRQ_TYPE_EDGE_RISING>,
1845 <GIC_SPI 297 IRQ_TYPE_EDGE_RISING>,
1846 <GIC_SPI 298 IRQ_TYPE_EDGE_RISING>,
1847 <GIC_SPI 299 IRQ_TYPE_EDGE_RISING>,
1848 <GIC_SPI 309 IRQ_TYPE_EDGE_RISING>,
1849 <GIC_SPI 314 IRQ_TYPE_EDGE_RISING>,
1850 <GIC_SPI 315 IRQ_TYPE_EDGE_RISING>;
1851 interrupt-names = "csiphy0",
1861 power-domains = <&mmcc VFE0_GDSC>,
1863 clocks = <&mmcc CAMSS_TOP_AHB_CLK>,
1864 <&mmcc CAMSS_ISPIF_AHB_CLK>,
1865 <&mmcc CAMSS_CSI0PHYTIMER_CLK>,
1866 <&mmcc CAMSS_CSI1PHYTIMER_CLK>,
1867 <&mmcc CAMSS_CSI2PHYTIMER_CLK>,
1868 <&mmcc CAMSS_CSI0_AHB_CLK>,
1869 <&mmcc CAMSS_CSI0_CLK>,
1870 <&mmcc CAMSS_CSI0PHY_CLK>,
1871 <&mmcc CAMSS_CSI0PIX_CLK>,
1872 <&mmcc CAMSS_CSI0RDI_CLK>,
1873 <&mmcc CAMSS_CSI1_AHB_CLK>,
1874 <&mmcc CAMSS_CSI1_CLK>,
1875 <&mmcc CAMSS_CSI1PHY_CLK>,
1876 <&mmcc CAMSS_CSI1PIX_CLK>,
1877 <&mmcc CAMSS_CSI1RDI_CLK>,
1878 <&mmcc CAMSS_CSI2_AHB_CLK>,
1879 <&mmcc CAMSS_CSI2_CLK>,
1880 <&mmcc CAMSS_CSI2PHY_CLK>,
1881 <&mmcc CAMSS_CSI2PIX_CLK>,
1882 <&mmcc CAMSS_CSI2RDI_CLK>,
1883 <&mmcc CAMSS_CSI3_AHB_CLK>,
1884 <&mmcc CAMSS_CSI3_CLK>,
1885 <&mmcc CAMSS_CSI3PHY_CLK>,
1886 <&mmcc CAMSS_CSI3PIX_CLK>,
1887 <&mmcc CAMSS_CSI3RDI_CLK>,
1888 <&mmcc CAMSS_AHB_CLK>,
1889 <&mmcc CAMSS_VFE0_CLK>,
1890 <&mmcc CAMSS_CSI_VFE0_CLK>,
1891 <&mmcc CAMSS_VFE0_AHB_CLK>,
1892 <&mmcc CAMSS_VFE0_STREAM_CLK>,
1893 <&mmcc CAMSS_VFE1_CLK>,
1894 <&mmcc CAMSS_CSI_VFE1_CLK>,
1895 <&mmcc CAMSS_VFE1_AHB_CLK>,
1896 <&mmcc CAMSS_VFE1_STREAM_CLK>,
1897 <&mmcc CAMSS_VFE_AHB_CLK>,
1898 <&mmcc CAMSS_VFE_AXI_CLK>;
1899 clock-names = "top_ahb",
1935 iommus = <&vfe_smmu 0>,
1939 status = "disabled";
1941 #address-cells = <1>;
1947 compatible = "qcom,msm8996-cci";
1948 #address-cells = <1>;
1950 reg = <0xa0c000 0x1000>;
1951 interrupts = <GIC_SPI 295 IRQ_TYPE_EDGE_RISING>;
1952 power-domains = <&mmcc CAMSS_GDSC>;
1953 clocks = <&mmcc CAMSS_TOP_AHB_CLK>,
1954 <&mmcc CAMSS_CCI_AHB_CLK>,
1955 <&mmcc CAMSS_CCI_CLK>,
1956 <&mmcc CAMSS_AHB_CLK>;
1957 clock-names = "camss_top_ahb",
1961 assigned-clocks = <&mmcc CAMSS_CCI_AHB_CLK>,
1962 <&mmcc CAMSS_CCI_CLK>;
1963 assigned-clock-rates = <80000000>, <37500000>;
1964 pinctrl-names = "default";
1965 pinctrl-0 = <&cci0_default &cci1_default>;
1966 status = "disabled";
1968 cci_i2c0: i2c-bus@0 {
1970 clock-frequency = <400000>;
1971 #address-cells = <1>;
1975 cci_i2c1: i2c-bus@1 {
1977 clock-frequency = <400000>;
1978 #address-cells = <1>;
1983 adreno_smmu: iommu@b40000 {
1984 compatible = "qcom,msm8996-smmu-v2", "qcom,adreno-smmu", "qcom,smmu-v2";
1985 reg = <0x00b40000 0x10000>;
1987 #global-interrupts = <1>;
1988 interrupts = <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
1989 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
1990 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>;
1993 clocks = <&mmcc GPU_AHB_CLK>,
1994 <&gcc GCC_MMSS_BIMC_GFX_CLK>;
1995 clock-names = "iface", "bus";
1997 power-domains = <&mmcc GPU_GDSC>;
2000 venus: video-codec@c00000 {
2001 compatible = "qcom,msm8996-venus";
2002 reg = <0x00c00000 0xff000>;
2003 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
2004 power-domains = <&mmcc VENUS_GDSC>;
2005 clocks = <&mmcc VIDEO_CORE_CLK>,
2006 <&mmcc VIDEO_AHB_CLK>,
2007 <&mmcc VIDEO_AXI_CLK>,
2008 <&mmcc VIDEO_MAXI_CLK>;
2009 clock-names = "core", "iface", "bus", "mbus";
2010 iommus = <&venus_smmu 0x00>,
2030 memory-region = <&venus_region>;
2031 status = "disabled";
2034 compatible = "venus-decoder";
2035 clocks = <&mmcc VIDEO_SUBCORE0_CLK>;
2036 clock-names = "core";
2037 power-domains = <&mmcc VENUS_CORE0_GDSC>;
2041 compatible = "venus-encoder";
2042 clocks = <&mmcc VIDEO_SUBCORE1_CLK>;
2043 clock-names = "core";
2044 power-domains = <&mmcc VENUS_CORE1_GDSC>;
2048 mdp_smmu: iommu@d00000 {
2049 compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
2050 reg = <0x00d00000 0x10000>;
2052 #global-interrupts = <1>;
2053 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
2054 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
2055 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>;
2057 clocks = <&mmcc SMMU_MDP_AHB_CLK>,
2058 <&mmcc SMMU_MDP_AXI_CLK>;
2059 clock-names = "iface", "bus";
2061 power-domains = <&mmcc MDSS_GDSC>;
2064 venus_smmu: iommu@d40000 {
2065 compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
2066 reg = <0x00d40000 0x20000>;
2067 #global-interrupts = <1>;
2068 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>,
2069 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
2070 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
2071 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
2072 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
2073 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
2074 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
2075 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
2076 power-domains = <&mmcc MMAGIC_VIDEO_GDSC>;
2077 clocks = <&mmcc SMMU_VIDEO_AHB_CLK>,
2078 <&mmcc SMMU_VIDEO_AXI_CLK>;
2079 clock-names = "iface", "bus";
2084 vfe_smmu: iommu@da0000 {
2085 compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
2086 reg = <0x00da0000 0x10000>;
2088 #global-interrupts = <1>;
2089 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
2090 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
2091 <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>;
2092 power-domains = <&mmcc MMAGIC_CAMSS_GDSC>;
2093 clocks = <&mmcc SMMU_VFE_AHB_CLK>,
2094 <&mmcc SMMU_VFE_AXI_CLK>;
2095 clock-names = "iface",
2100 lpass_q6_smmu: iommu@1600000 {
2101 compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
2102 reg = <0x01600000 0x20000>;
2104 power-domains = <&gcc HLOS1_VOTE_LPASS_CORE_GDSC>;
2106 #global-interrupts = <1>;
2107 interrupts = <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
2108 <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>,
2109 <GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH>,
2110 <GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>,
2111 <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
2112 <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
2113 <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
2114 <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
2115 <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
2116 <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
2117 <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
2118 <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
2119 <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>;
2121 clocks = <&gcc GCC_HLOS1_VOTE_LPASS_CORE_SMMU_CLK>,
2122 <&gcc GCC_HLOS1_VOTE_LPASS_ADSP_SMMU_CLK>;
2123 clock-names = "iface", "bus";
2127 compatible = "arm,coresight-stm", "arm,primecell";
2128 reg = <0x3002000 0x1000>,
2129 <0x8280000 0x180000>;
2130 reg-names = "stm-base", "stm-stimulus-base";
2132 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2133 clock-names = "apb_pclk", "atclk";
2146 compatible = "arm,coresight-tpiu", "arm,primecell";
2147 reg = <0x3020000 0x1000>;
2149 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2150 clock-names = "apb_pclk", "atclk";
2163 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2164 reg = <0x3021000 0x1000>;
2166 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2167 clock-names = "apb_pclk", "atclk";
2170 #address-cells = <1>;
2175 funnel0_in: endpoint {
2184 funnel0_out: endpoint {
2186 <&merge_funnel_in0>;
2193 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2194 reg = <0x3022000 0x1000>;
2196 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2197 clock-names = "apb_pclk", "atclk";
2200 #address-cells = <1>;
2205 funnel1_in: endpoint {
2207 <&apss_merge_funnel_out>;
2214 funnel1_out: endpoint {
2216 <&merge_funnel_in1>;
2223 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2224 reg = <0x3023000 0x1000>;
2226 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2227 clock-names = "apb_pclk", "atclk";
2232 funnel2_out: endpoint {
2234 <&merge_funnel_in2>;
2241 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2242 reg = <0x3025000 0x1000>;
2244 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2245 clock-names = "apb_pclk", "atclk";
2248 #address-cells = <1>;
2253 merge_funnel_in0: endpoint {
2261 merge_funnel_in1: endpoint {
2269 merge_funnel_in2: endpoint {
2278 merge_funnel_out: endpoint {
2286 replicator@3026000 {
2287 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
2288 reg = <0x3026000 0x1000>;
2290 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2291 clock-names = "apb_pclk", "atclk";
2295 replicator_in: endpoint {
2303 #address-cells = <1>;
2308 replicator_out0: endpoint {
2316 replicator_out1: endpoint {
2325 compatible = "arm,coresight-tmc", "arm,primecell";
2326 reg = <0x3027000 0x1000>;
2328 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2329 clock-names = "apb_pclk", "atclk";
2335 <&merge_funnel_out>;
2351 compatible = "arm,coresight-tmc", "arm,primecell";
2352 reg = <0x3028000 0x1000>;
2354 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2355 clock-names = "apb_pclk", "atclk";
2369 compatible = "arm,coresight-cpu-debug", "arm,primecell";
2370 reg = <0x3810000 0x1000>;
2372 clocks = <&rpmcc RPM_QDSS_CLK>;
2373 clock-names = "apb_pclk";
2379 compatible = "arm,coresight-etm4x", "arm,primecell";
2380 reg = <0x3840000 0x1000>;
2382 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2383 clock-names = "apb_pclk", "atclk";
2389 etm0_out: endpoint {
2391 <&apss_funnel0_in0>;
2398 compatible = "arm,coresight-cpu-debug", "arm,primecell";
2399 reg = <0x3910000 0x1000>;
2401 clocks = <&rpmcc RPM_QDSS_CLK>;
2402 clock-names = "apb_pclk";
2408 compatible = "arm,coresight-etm4x", "arm,primecell";
2409 reg = <0x3940000 0x1000>;
2411 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2412 clock-names = "apb_pclk", "atclk";
2418 etm1_out: endpoint {
2420 <&apss_funnel0_in1>;
2426 funnel@39b0000 { /* APSS Funnel 0 */
2427 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2428 reg = <0x39b0000 0x1000>;
2430 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2431 clock-names = "apb_pclk", "atclk";
2434 #address-cells = <1>;
2439 apss_funnel0_in0: endpoint {
2440 remote-endpoint = <&etm0_out>;
2446 apss_funnel0_in1: endpoint {
2447 remote-endpoint = <&etm1_out>;
2454 apss_funnel0_out: endpoint {
2456 <&apss_merge_funnel_in0>;
2463 compatible = "arm,coresight-cpu-debug", "arm,primecell";
2464 reg = <0x3a10000 0x1000>;
2466 clocks = <&rpmcc RPM_QDSS_CLK>;
2467 clock-names = "apb_pclk";
2473 compatible = "arm,coresight-etm4x", "arm,primecell";
2474 reg = <0x3a40000 0x1000>;
2476 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2477 clock-names = "apb_pclk", "atclk";
2483 etm2_out: endpoint {
2485 <&apss_funnel1_in0>;
2492 compatible = "arm,coresight-cpu-debug", "arm,primecell";
2493 reg = <0x3b10000 0x1000>;
2495 clocks = <&rpmcc RPM_QDSS_CLK>;
2496 clock-names = "apb_pclk";
2502 compatible = "arm,coresight-etm4x", "arm,primecell";
2503 reg = <0x3b40000 0x1000>;
2505 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2506 clock-names = "apb_pclk", "atclk";
2512 etm3_out: endpoint {
2514 <&apss_funnel1_in1>;
2520 funnel@3bb0000 { /* APSS Funnel 1 */
2521 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2522 reg = <0x3bb0000 0x1000>;
2524 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2525 clock-names = "apb_pclk", "atclk";
2528 #address-cells = <1>;
2533 apss_funnel1_in0: endpoint {
2534 remote-endpoint = <&etm2_out>;
2540 apss_funnel1_in1: endpoint {
2541 remote-endpoint = <&etm3_out>;
2548 apss_funnel1_out: endpoint {
2550 <&apss_merge_funnel_in1>;
2557 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2558 reg = <0x3bc0000 0x1000>;
2560 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
2561 clock-names = "apb_pclk", "atclk";
2564 #address-cells = <1>;
2569 apss_merge_funnel_in0: endpoint {
2571 <&apss_funnel0_out>;
2577 apss_merge_funnel_in1: endpoint {
2579 <&apss_funnel1_out>;
2586 apss_merge_funnel_out: endpoint {
2594 kryocc: clock-controller@6400000 {
2595 compatible = "qcom,msm8996-apcc";
2596 reg = <0x06400000 0x90000>;
2599 clocks = <&rpmcc RPM_SMD_BB_CLK1>;
2605 compatible = "qcom,msm8996-dwc3", "qcom,dwc3";
2606 reg = <0x06af8800 0x400>;
2607 #address-cells = <1>;
2611 interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
2612 <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
2613 interrupt-names = "hs_phy_irq", "ss_phy_irq";
2615 clocks = <&gcc GCC_SYS_NOC_USB3_AXI_CLK>,
2616 <&gcc GCC_USB30_MASTER_CLK>,
2617 <&gcc GCC_AGGRE2_USB3_AXI_CLK>,
2618 <&gcc GCC_USB30_MOCK_UTMI_CLK>,
2619 <&gcc GCC_USB30_SLEEP_CLK>,
2620 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>;
2622 assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
2623 <&gcc GCC_USB30_MASTER_CLK>;
2624 assigned-clock-rates = <19200000>, <120000000>;
2626 power-domains = <&gcc USB30_GDSC>;
2627 status = "disabled";
2629 usb3_dwc3: dwc3@6a00000 {
2630 compatible = "snps,dwc3";
2631 reg = <0x06a00000 0xcc00>;
2632 interrupts = <0 131 IRQ_TYPE_LEVEL_HIGH>;
2633 phys = <&hsusb_phy1>, <&ssusb_phy_0>;
2634 phy-names = "usb2-phy", "usb3-phy";
2635 snps,dis_u2_susphy_quirk;
2636 snps,dis_enblslpm_quirk;
2640 usb3phy: phy@7410000 {
2641 compatible = "qcom,msm8996-qmp-usb3-phy";
2642 reg = <0x07410000 0x1c4>;
2643 #address-cells = <1>;
2647 clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
2648 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2649 <&gcc GCC_USB3_CLKREF_CLK>;
2650 clock-names = "aux", "cfg_ahb", "ref";
2652 resets = <&gcc GCC_USB3_PHY_BCR>,
2653 <&gcc GCC_USB3PHY_PHY_BCR>;
2654 reset-names = "phy", "common";
2655 status = "disabled";
2657 ssusb_phy_0: phy@7410200 {
2658 reg = <0x07410200 0x200>,
2664 clock-output-names = "usb3_phy_pipe_clk_src";
2665 clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>;
2666 clock-names = "pipe0";
2670 hsusb_phy1: phy@7411000 {
2671 compatible = "qcom,msm8996-qusb2-phy";
2672 reg = <0x07411000 0x180>;
2675 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2676 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
2677 clock-names = "cfg_ahb", "ref";
2679 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
2680 nvmem-cells = <&qusb2p_hstx_trim>;
2681 status = "disabled";
2684 hsusb_phy2: phy@7412000 {
2685 compatible = "qcom,msm8996-qusb2-phy";
2686 reg = <0x07412000 0x180>;
2689 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2690 <&gcc GCC_RX2_USB2_CLKREF_CLK>;
2691 clock-names = "cfg_ahb", "ref";
2693 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
2694 nvmem-cells = <&qusb2s_hstx_trim>;
2695 status = "disabled";
2698 sdhc1: sdhci@7464900 {
2699 compatible = "qcom,msm8996-sdhci", "qcom,sdhci-msm-v4";
2700 reg = <0x07464900 0x11c>, <0x07464000 0x800>;
2701 reg-names = "hc_mem", "core_mem";
2703 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
2704 <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
2705 interrupt-names = "hc_irq", "pwr_irq";
2707 clock-names = "iface", "core", "xo";
2708 clocks = <&gcc GCC_SDCC1_AHB_CLK>,
2709 <&gcc GCC_SDCC1_APPS_CLK>,
2710 <&rpmcc RPM_SMD_BB_CLK1>;
2712 pinctrl-names = "default", "sleep";
2713 pinctrl-0 = <&sdc1_state_on>;
2714 pinctrl-1 = <&sdc1_state_off>;
2718 status = "disabled";
2721 sdhc2: sdhci@74a4900 {
2722 compatible = "qcom,msm8996-sdhci", "qcom,sdhci-msm-v4";
2723 reg = <0x074a4900 0x314>, <0x074a4000 0x800>;
2724 reg-names = "hc_mem", "core_mem";
2726 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
2727 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
2728 interrupt-names = "hc_irq", "pwr_irq";
2730 clock-names = "iface", "core", "xo";
2731 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
2732 <&gcc GCC_SDCC2_APPS_CLK>,
2733 <&rpmcc RPM_SMD_BB_CLK1>;
2735 pinctrl-names = "default", "sleep";
2736 pinctrl-0 = <&sdc2_state_on>;
2737 pinctrl-1 = <&sdc2_state_off>;
2740 status = "disabled";
2743 blsp1_dma: dma-controller@7544000 {
2744 compatible = "qcom,bam-v1.7.0";
2745 reg = <0x07544000 0x2b000>;
2746 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
2747 clocks = <&gcc GCC_BLSP1_AHB_CLK>;
2748 clock-names = "bam_clk";
2749 qcom,controlled-remotely;
2754 blsp1_uart2: serial@7570000 {
2755 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2756 reg = <0x07570000 0x1000>;
2757 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
2758 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>,
2759 <&gcc GCC_BLSP1_AHB_CLK>;
2760 clock-names = "core", "iface";
2761 pinctrl-names = "default", "sleep";
2762 pinctrl-0 = <&blsp1_uart2_default>;
2763 pinctrl-1 = <&blsp1_uart2_sleep>;
2764 dmas = <&blsp1_dma 2>, <&blsp1_dma 3>;
2765 dma-names = "tx", "rx";
2766 status = "disabled";
2769 blsp1_spi1: spi@7575000 {
2770 compatible = "qcom,spi-qup-v2.2.1";
2771 reg = <0x07575000 0x600>;
2772 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
2773 clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
2774 <&gcc GCC_BLSP1_AHB_CLK>;
2775 clock-names = "core", "iface";
2776 pinctrl-names = "default", "sleep";
2777 pinctrl-0 = <&blsp1_spi1_default>;
2778 pinctrl-1 = <&blsp1_spi1_sleep>;
2779 dmas = <&blsp1_dma 12>, <&blsp1_dma 13>;
2780 dma-names = "tx", "rx";
2781 #address-cells = <1>;
2783 status = "disabled";
2786 blsp1_i2c3: i2c@7577000 {
2787 compatible = "qcom,i2c-qup-v2.2.1";
2788 reg = <0x07577000 0x1000>;
2789 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
2790 clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
2791 <&gcc GCC_BLSP1_AHB_CLK>;
2792 clock-names = "core", "iface";
2793 pinctrl-names = "default", "sleep";
2794 pinctrl-0 = <&blsp1_i2c3_default>;
2795 pinctrl-1 = <&blsp1_i2c3_sleep>;
2796 dmas = <&blsp1_dma 16>, <&blsp1_dma 17>;
2797 dma-names = "tx", "rx";
2798 #address-cells = <1>;
2800 status = "disabled";
2803 blsp2_dma: dma-controller@7584000 {
2804 compatible = "qcom,bam-v1.7.0";
2805 reg = <0x07584000 0x2b000>;
2806 interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
2807 clocks = <&gcc GCC_BLSP2_AHB_CLK>;
2808 clock-names = "bam_clk";
2809 qcom,controlled-remotely;
2814 blsp2_uart2: serial@75b0000 {
2815 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2816 reg = <0x075b0000 0x1000>;
2817 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
2818 clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
2819 <&gcc GCC_BLSP2_AHB_CLK>;
2820 clock-names = "core", "iface";
2821 status = "disabled";
2824 blsp2_uart3: serial@75b1000 {
2825 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2826 reg = <0x075b1000 0x1000>;
2827 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
2828 clocks = <&gcc GCC_BLSP2_UART3_APPS_CLK>,
2829 <&gcc GCC_BLSP2_AHB_CLK>;
2830 clock-names = "core", "iface";
2831 status = "disabled";
2834 blsp2_i2c1: i2c@75b5000 {
2835 compatible = "qcom,i2c-qup-v2.2.1";
2836 reg = <0x075b5000 0x1000>;
2837 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
2838 clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>,
2839 <&gcc GCC_BLSP2_AHB_CLK>;
2840 clock-names = "core", "iface";
2841 pinctrl-names = "default", "sleep";
2842 pinctrl-0 = <&blsp2_i2c1_default>;
2843 pinctrl-1 = <&blsp2_i2c1_sleep>;
2844 dmas = <&blsp2_dma 12>, <&blsp2_dma 13>;
2845 dma-names = "tx", "rx";
2846 #address-cells = <1>;
2848 status = "disabled";
2851 blsp2_i2c2: i2c@75b6000 {
2852 compatible = "qcom,i2c-qup-v2.2.1";
2853 reg = <0x075b6000 0x1000>;
2854 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
2855 clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>,
2856 <&gcc GCC_BLSP2_AHB_CLK>;
2857 clock-names = "core", "iface";
2858 pinctrl-names = "default", "sleep";
2859 pinctrl-0 = <&blsp2_i2c2_default>;
2860 pinctrl-1 = <&blsp2_i2c2_sleep>;
2861 dmas = <&blsp2_dma 14>, <&blsp2_dma 15>;
2862 dma-names = "tx", "rx";
2863 #address-cells = <1>;
2865 status = "disabled";
2868 blsp2_i2c3: i2c@75b7000 {
2869 compatible = "qcom,i2c-qup-v2.2.1";
2870 reg = <0x075b7000 0x1000>;
2871 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
2872 clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>,
2873 <&gcc GCC_BLSP2_AHB_CLK>;
2874 clock-names = "core", "iface";
2875 clock-frequency = <400000>;
2876 pinctrl-names = "default", "sleep";
2877 pinctrl-0 = <&blsp2_i2c3_default>;
2878 pinctrl-1 = <&blsp2_i2c3_sleep>;
2879 dmas = <&blsp2_dma 16>, <&blsp2_dma 17>;
2880 dma-names = "tx", "rx";
2881 #address-cells = <1>;
2883 status = "disabled";
2886 blsp2_i2c5: i2c@75b9000 {
2887 compatible = "qcom,i2c-qup-v2.2.1";
2888 reg = <0x75b9000 0x1000>;
2889 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
2890 clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>,
2891 <&gcc GCC_BLSP2_AHB_CLK>;
2892 clock-names = "core", "iface";
2893 pinctrl-names = "default";
2894 pinctrl-0 = <&blsp2_i2c5_default>;
2895 dmas = <&blsp2_dma 20>, <&blsp2_dma 21>;
2896 dma-names = "tx", "rx";
2897 #address-cells = <1>;
2899 status = "disabled";
2902 blsp2_i2c6: i2c@75ba000 {
2903 compatible = "qcom,i2c-qup-v2.2.1";
2904 reg = <0x75ba000 0x1000>;
2905 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
2906 clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>,
2907 <&gcc GCC_BLSP2_AHB_CLK>;
2908 clock-names = "core", "iface";
2909 pinctrl-names = "default", "sleep";
2910 pinctrl-0 = <&blsp2_i2c6_default>;
2911 pinctrl-1 = <&blsp2_i2c6_sleep>;
2912 dmas = <&blsp2_dma 22>, <&blsp2_dma 23>;
2913 dma-names = "tx", "rx";
2914 #address-cells = <1>;
2916 status = "disabled";
2919 blsp2_spi6: spi@75ba000{
2920 compatible = "qcom,spi-qup-v2.2.1";
2921 reg = <0x075ba000 0x600>;
2922 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
2923 clocks = <&gcc GCC_BLSP2_QUP6_SPI_APPS_CLK>,
2924 <&gcc GCC_BLSP2_AHB_CLK>;
2925 clock-names = "core", "iface";
2926 pinctrl-names = "default", "sleep";
2927 pinctrl-0 = <&blsp2_spi6_default>;
2928 pinctrl-1 = <&blsp2_spi6_sleep>;
2929 dmas = <&blsp2_dma 22>, <&blsp2_dma 23>;
2930 dma-names = "tx", "rx";
2931 #address-cells = <1>;
2933 status = "disabled";
2937 compatible = "qcom,msm8996-dwc3", "qcom,dwc3";
2938 reg = <0x076f8800 0x400>;
2939 #address-cells = <1>;
2943 clocks = <&gcc GCC_PERIPH_NOC_USB20_AHB_CLK>,
2944 <&gcc GCC_USB20_MASTER_CLK>,
2945 <&gcc GCC_USB20_MOCK_UTMI_CLK>,
2946 <&gcc GCC_USB20_SLEEP_CLK>,
2947 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>;
2949 assigned-clocks = <&gcc GCC_USB20_MOCK_UTMI_CLK>,
2950 <&gcc GCC_USB20_MASTER_CLK>;
2951 assigned-clock-rates = <19200000>, <60000000>;
2953 power-domains = <&gcc USB30_GDSC>;
2954 qcom,select-utmi-as-pipe-clk;
2955 status = "disabled";
2958 compatible = "snps,dwc3";
2959 reg = <0x07600000 0xcc00>;
2960 interrupts = <0 138 IRQ_TYPE_LEVEL_HIGH>;
2961 phys = <&hsusb_phy2>;
2962 phy-names = "usb2-phy";
2963 maximum-speed = "high-speed";
2964 snps,dis_u2_susphy_quirk;
2965 snps,dis_enblslpm_quirk;
2969 slimbam: dma-controller@9184000 {
2970 compatible = "qcom,bam-v1.7.0";
2971 qcom,controlled-remotely;
2972 reg = <0x09184000 0x32000>;
2973 num-channels = <31>;
2974 interrupts = <0 164 IRQ_TYPE_LEVEL_HIGH>;
2980 slim_msm: slim@91c0000 {
2981 compatible = "qcom,slim-ngd-v1.5.0";
2982 reg = <0x091c0000 0x2C000>;
2984 interrupts = <0 163 IRQ_TYPE_LEVEL_HIGH>;
2985 dmas = <&slimbam 3>, <&slimbam 4>,
2986 <&slimbam 5>, <&slimbam 6>;
2987 dma-names = "rx", "tx", "tx2", "rx2";
2988 #address-cells = <1>;
2992 #address-cells = <1>;
2995 tasha_ifd: tas-ifd {
2996 compatible = "slim217,1a0";
3001 pinctrl-0 = <&cdc_reset_active &wcd_intr_default>;
3002 pinctrl-names = "default";
3004 compatible = "slim217,1a0";
3007 interrupt-parent = <&tlmm>;
3008 interrupts = <54 IRQ_TYPE_LEVEL_HIGH>,
3009 <53 IRQ_TYPE_LEVEL_HIGH>;
3010 interrupt-names = "intr1", "intr2";
3011 interrupt-controller;
3012 #interrupt-cells = <1>;
3013 reset-gpios = <&tlmm 64 0>;
3015 slim-ifc-dev = <&tasha_ifd>;
3017 #sound-dai-cells = <1>;
3022 adsp_pil: remoteproc@9300000 {
3023 compatible = "qcom,msm8996-adsp-pil";
3024 reg = <0x09300000 0x80000>;
3026 interrupts-extended = <&intc 0 162 IRQ_TYPE_EDGE_RISING>,
3027 <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
3028 <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
3029 <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
3030 <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
3031 interrupt-names = "wdog", "fatal", "ready",
3032 "handover", "stop-ack";
3034 clocks = <&rpmcc RPM_SMD_BB_CLK1>;
3037 memory-region = <&adsp_region>;
3039 qcom,smem-states = <&smp2p_adsp_out 0>;
3040 qcom,smem-state-names = "stop";
3042 power-domains = <&rpmpd MSM8996_VDDCX>;
3043 power-domain-names = "cx";
3045 status = "disabled";
3048 interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
3051 mboxes = <&apcs_glb 8>;
3052 qcom,smd-edge = <1>;
3053 qcom,remote-pid = <2>;
3054 #address-cells = <1>;
3057 power-domains = <&gcc HLOS1_VOTE_LPASS_ADSP_GDSC>;
3058 compatible = "qcom,apr-v2";
3059 qcom,smd-channels = "apr_audio_svc";
3060 qcom,domain = <APR_DOMAIN_ADSP>;
3061 #address-cells = <1>;
3065 reg = <APR_SVC_ADSP_CORE>;
3066 compatible = "qcom,q6core";
3070 compatible = "qcom,q6afe";
3071 reg = <APR_SVC_AFE>;
3073 compatible = "qcom,q6afe-dais";
3074 #address-cells = <1>;
3076 #sound-dai-cells = <1>;
3084 compatible = "qcom,q6asm";
3085 reg = <APR_SVC_ASM>;
3087 compatible = "qcom,q6asm-dais";
3088 #address-cells = <1>;
3090 #sound-dai-cells = <1>;
3091 iommus = <&lpass_q6_smmu 1>;
3096 compatible = "qcom,q6adm";
3097 reg = <APR_SVC_ADM>;
3098 q6routing: routing {
3099 compatible = "qcom,q6adm-routing";
3100 #sound-dai-cells = <0>;
3108 apcs_glb: mailbox@9820000 {
3109 compatible = "qcom,msm8996-apcs-hmss-global";
3110 reg = <0x09820000 0x1000>;
3116 #address-cells = <1>;
3119 compatible = "arm,armv7-timer-mem";
3120 reg = <0x09840000 0x1000>;
3121 clock-frequency = <19200000>;
3125 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
3126 <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
3127 reg = <0x09850000 0x1000>,
3128 <0x09860000 0x1000>;
3133 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
3134 reg = <0x09870000 0x1000>;
3135 status = "disabled";
3140 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
3141 reg = <0x09880000 0x1000>;
3142 status = "disabled";
3147 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
3148 reg = <0x09890000 0x1000>;
3149 status = "disabled";
3154 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
3155 reg = <0x098a0000 0x1000>;
3156 status = "disabled";
3161 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
3162 reg = <0x098b0000 0x1000>;
3163 status = "disabled";
3168 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
3169 reg = <0x098c0000 0x1000>;
3170 status = "disabled";
3174 saw3: syscon@9a10000 {
3175 compatible = "syscon";
3176 reg = <0x09a10000 0x1000>;
3179 intc: interrupt-controller@9bc0000 {
3180 compatible = "qcom,msm8996-gic-v3", "arm,gic-v3";
3181 #interrupt-cells = <3>;
3182 interrupt-controller;
3183 #redistributor-regions = <1>;
3184 redistributor-stride = <0x0 0x40000>;
3185 reg = <0x09bc0000 0x10000>,
3186 <0x09c00000 0x100000>;
3187 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
3196 polling-delay-passive = <250>;
3197 polling-delay = <1000>;
3199 thermal-sensors = <&tsens0 3>;
3202 cpu0_alert0: trip-point0 {
3203 temperature = <75000>;
3204 hysteresis = <2000>;
3208 cpu0_crit: cpu_crit {
3209 temperature = <110000>;
3210 hysteresis = <2000>;
3217 polling-delay-passive = <250>;
3218 polling-delay = <1000>;
3220 thermal-sensors = <&tsens0 5>;
3223 cpu1_alert0: trip-point0 {
3224 temperature = <75000>;
3225 hysteresis = <2000>;
3229 cpu1_crit: cpu_crit {
3230 temperature = <110000>;
3231 hysteresis = <2000>;
3238 polling-delay-passive = <250>;
3239 polling-delay = <1000>;
3241 thermal-sensors = <&tsens0 8>;
3244 cpu2_alert0: trip-point0 {
3245 temperature = <75000>;
3246 hysteresis = <2000>;
3250 cpu2_crit: cpu_crit {
3251 temperature = <110000>;
3252 hysteresis = <2000>;
3259 polling-delay-passive = <250>;
3260 polling-delay = <1000>;
3262 thermal-sensors = <&tsens0 10>;
3265 cpu3_alert0: trip-point0 {
3266 temperature = <75000>;
3267 hysteresis = <2000>;
3271 cpu3_crit: cpu_crit {
3272 temperature = <110000>;
3273 hysteresis = <2000>;
3280 polling-delay-passive = <250>;
3281 polling-delay = <1000>;
3283 thermal-sensors = <&tsens1 6>;
3286 gpu1_alert0: trip-point0 {
3287 temperature = <90000>;
3288 hysteresis = <2000>;
3295 trip = <&gpu1_alert0>;
3296 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3301 gpu-bottom-thermal {
3302 polling-delay-passive = <250>;
3303 polling-delay = <1000>;
3305 thermal-sensors = <&tsens1 7>;
3308 gpu2_alert0: trip-point0 {
3309 temperature = <90000>;
3310 hysteresis = <2000>;
3317 trip = <&gpu2_alert0>;
3318 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3324 polling-delay-passive = <250>;
3325 polling-delay = <1000>;
3327 thermal-sensors = <&tsens0 1>;
3330 m4m_alert0: trip-point0 {
3331 temperature = <90000>;
3332 hysteresis = <2000>;
3338 l3-or-venus-thermal {
3339 polling-delay-passive = <250>;
3340 polling-delay = <1000>;
3342 thermal-sensors = <&tsens0 2>;
3345 l3_or_venus_alert0: trip-point0 {
3346 temperature = <90000>;
3347 hysteresis = <2000>;
3353 cluster0-l2-thermal {
3354 polling-delay-passive = <250>;
3355 polling-delay = <1000>;
3357 thermal-sensors = <&tsens0 7>;
3360 cluster0_l2_alert0: trip-point0 {
3361 temperature = <90000>;
3362 hysteresis = <2000>;
3368 cluster1-l2-thermal {
3369 polling-delay-passive = <250>;
3370 polling-delay = <1000>;
3372 thermal-sensors = <&tsens0 12>;
3375 cluster1_l2_alert0: trip-point0 {
3376 temperature = <90000>;
3377 hysteresis = <2000>;
3384 polling-delay-passive = <250>;
3385 polling-delay = <1000>;
3387 thermal-sensors = <&tsens1 1>;
3390 camera_alert0: trip-point0 {
3391 temperature = <90000>;
3392 hysteresis = <2000>;
3399 polling-delay-passive = <250>;
3400 polling-delay = <1000>;
3402 thermal-sensors = <&tsens1 2>;
3405 q6_dsp_alert0: trip-point0 {
3406 temperature = <90000>;
3407 hysteresis = <2000>;
3414 polling-delay-passive = <250>;
3415 polling-delay = <1000>;
3417 thermal-sensors = <&tsens1 3>;
3420 mem_alert0: trip-point0 {
3421 temperature = <90000>;
3422 hysteresis = <2000>;
3429 polling-delay-passive = <250>;
3430 polling-delay = <1000>;
3432 thermal-sensors = <&tsens1 4>;
3435 modemtx_alert0: trip-point0 {
3436 temperature = <90000>;
3437 hysteresis = <2000>;
3445 compatible = "arm,armv8-timer";
3446 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
3447 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
3448 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
3449 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;