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/soc/qcom,apr.h>
12 interrupt-parent = <&intc>;
20 device_type = "memory";
21 /* We expect the bootloader to fill in the reg */
30 mba_region: mba@91500000 {
31 reg = <0x0 0x91500000 0x0 0x200000>;
35 slpi_region: slpi@90b00000 {
36 reg = <0x0 0x90b00000 0x0 0xa00000>;
40 venus_region: venus@90400000 {
41 reg = <0x0 0x90400000 0x0 0x700000>;
45 adsp_region: adsp@8ea00000 {
46 reg = <0x0 0x8ea00000 0x0 0x1a00000>;
50 mpss_region: mpss@88800000 {
51 reg = <0x0 0x88800000 0x0 0x6200000>;
55 smem_mem: smem-mem@86000000 {
56 reg = <0x0 0x86000000 0x0 0x200000>;
61 reg = <0x0 0x85800000 0x0 0x800000>;
66 reg = <0x0 0x86200000 0x0 0x2600000>;
71 compatible = "qcom,rmtfs-mem";
73 size = <0x0 0x200000>;
74 alloc-ranges = <0x0 0xa0000000 0x0 0x2000000>;
81 zap_shader_region: gpu@8f200000 {
82 compatible = "shared-dma-pool";
83 reg = <0x0 0x90b00000 0x0 0xa00000>;
94 compatible = "qcom,kryo";
96 enable-method = "psci";
97 cpu-idle-states = <&CPU_SLEEP_0>;
98 capacity-dmips-mhz = <1024>;
99 next-level-cache = <&L2_0>;
101 compatible = "cache";
108 compatible = "qcom,kryo";
110 enable-method = "psci";
111 cpu-idle-states = <&CPU_SLEEP_0>;
112 capacity-dmips-mhz = <1024>;
113 next-level-cache = <&L2_0>;
118 compatible = "qcom,kryo";
120 enable-method = "psci";
121 cpu-idle-states = <&CPU_SLEEP_0>;
122 capacity-dmips-mhz = <1024>;
123 next-level-cache = <&L2_1>;
125 compatible = "cache";
132 compatible = "qcom,kryo";
134 enable-method = "psci";
135 cpu-idle-states = <&CPU_SLEEP_0>;
136 capacity-dmips-mhz = <1024>;
137 next-level-cache = <&L2_1>;
163 entry-method = "psci";
165 CPU_SLEEP_0: cpu-sleep-0 {
166 compatible = "arm,idle-state";
167 idle-state-name = "standalone-power-collapse";
168 arm,psci-suspend-param = <0x00000004>;
169 entry-latency-us = <130>;
170 exit-latency-us = <80>;
171 min-residency-us = <300>;
178 polling-delay-passive = <250>;
179 polling-delay = <1000>;
181 thermal-sensors = <&tsens0 3>;
184 cpu0_alert0: trip-point@0 {
185 temperature = <75000>;
190 cpu0_crit: cpu_crit {
191 temperature = <110000>;
199 polling-delay-passive = <250>;
200 polling-delay = <1000>;
202 thermal-sensors = <&tsens0 5>;
205 cpu1_alert0: trip-point@0 {
206 temperature = <75000>;
211 cpu1_crit: cpu_crit {
212 temperature = <110000>;
220 polling-delay-passive = <250>;
221 polling-delay = <1000>;
223 thermal-sensors = <&tsens0 8>;
226 cpu2_alert0: trip-point@0 {
227 temperature = <75000>;
232 cpu2_crit: cpu_crit {
233 temperature = <110000>;
241 polling-delay-passive = <250>;
242 polling-delay = <1000>;
244 thermal-sensors = <&tsens0 10>;
247 cpu3_alert0: trip-point@0 {
248 temperature = <75000>;
253 cpu3_crit: cpu_crit {
254 temperature = <110000>;
262 polling-delay-passive = <250>;
263 polling-delay = <1000>;
265 thermal-sensors = <&tsens1 6>;
268 gpu1_alert0: trip-point@0 {
269 temperature = <90000>;
277 polling-delay-passive = <250>;
278 polling-delay = <1000>;
280 thermal-sensors = <&tsens1 7>;
283 gpu2_alert0: trip-point@0 {
284 temperature = <90000>;
292 polling-delay-passive = <250>;
293 polling-delay = <1000>;
295 thermal-sensors = <&tsens0 1>;
298 m4m_alert0: trip-point@0 {
299 temperature = <90000>;
306 l3-or-venus-thermal {
307 polling-delay-passive = <250>;
308 polling-delay = <1000>;
310 thermal-sensors = <&tsens0 2>;
313 l3_or_venus_alert0: trip-point@0 {
314 temperature = <90000>;
321 cluster0-l2-thermal {
322 polling-delay-passive = <250>;
323 polling-delay = <1000>;
325 thermal-sensors = <&tsens0 7>;
328 cluster0_l2_alert0: trip-point@0 {
329 temperature = <90000>;
336 cluster1-l2-thermal {
337 polling-delay-passive = <250>;
338 polling-delay = <1000>;
340 thermal-sensors = <&tsens0 12>;
343 cluster1_l2_alert0: trip-point@0 {
344 temperature = <90000>;
352 polling-delay-passive = <250>;
353 polling-delay = <1000>;
355 thermal-sensors = <&tsens1 1>;
358 camera_alert0: trip-point@0 {
359 temperature = <90000>;
367 polling-delay-passive = <250>;
368 polling-delay = <1000>;
370 thermal-sensors = <&tsens1 2>;
373 q6_dsp_alert0: trip-point@0 {
374 temperature = <90000>;
382 polling-delay-passive = <250>;
383 polling-delay = <1000>;
385 thermal-sensors = <&tsens1 3>;
388 mem_alert0: trip-point@0 {
389 temperature = <90000>;
397 polling-delay-passive = <250>;
398 polling-delay = <1000>;
400 thermal-sensors = <&tsens1 4>;
403 modemtx_alert0: trip-point@0 {
404 temperature = <90000>;
413 compatible = "arm,armv8-timer";
414 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
415 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
416 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
417 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
422 compatible = "fixed-clock";
424 clock-frequency = <19200000>;
425 clock-output-names = "xo_board";
428 sleep_clk: sleep_clk {
429 compatible = "fixed-clock";
431 clock-frequency = <32764>;
432 clock-output-names = "sleep_clk";
437 compatible = "arm,psci-1.0";
443 compatible = "qcom,scm-msm8996";
445 qcom,dload-mode = <&tcsr 0x13000>;
450 compatible = "qcom,tcsr-mutex";
451 syscon = <&tcsr_mutex_regs 0 0x1000>;
456 compatible = "qcom,smem";
457 memory-region = <&smem_mem>;
458 hwlocks = <&tcsr_mutex 3>;
462 compatible = "qcom,glink-rpm";
464 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
466 qcom,rpm-msg-ram = <&rpm_msg_ram>;
468 mboxes = <&apcs_glb 0>;
471 compatible = "qcom,rpm-msm8996";
472 qcom,glink-channels = "rpm_requests";
475 compatible = "qcom,rpmcc-msm8996";
479 rpmpd: power-controller {
480 compatible = "qcom,msm8996-rpmpd";
481 #power-domain-cells = <1>;
482 operating-points-v2 = <&rpmpd_opp_table>;
484 rpmpd_opp_table: opp-table {
485 compatible = "operating-points-v2";
514 compatible = "qcom,rpm-pm8994-regulators";
567 #address-cells = <1>;
569 ranges = <0 0 0 0xffffffff>;
570 compatible = "simple-bus";
572 rpm_msg_ram: memory@68000 {
573 compatible = "qcom,rpm-msg-ram";
574 reg = <0x68000 0x6000>;
578 compatible = "qcom,prng-ee";
579 reg = <0x00083000 0x1000>;
580 clocks = <&gcc GCC_PRNG_AHB_CLK>;
581 clock-names = "core";
584 tcsr_mutex_regs: syscon@740000 {
585 compatible = "syscon";
586 reg = <0x740000 0x20000>;
589 tsens0: thermal-sensor@4a9000 {
590 compatible = "qcom,msm8996-tsens";
591 reg = <0x4a9000 0x1000>, /* TM */
592 <0x4a8000 0x1000>; /* SROT */
593 #qcom,sensors = <13>;
594 interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>;
595 interrupt-names = "uplow";
596 #thermal-sensor-cells = <1>;
599 tsens1: thermal-sensor@4ad000 {
600 compatible = "qcom,msm8996-tsens";
601 reg = <0x4ad000 0x1000>, /* TM */
602 <0x4ac000 0x1000>; /* SROT */
604 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
605 interrupt-names = "uplow";
606 #thermal-sensor-cells = <1>;
609 tcsr: syscon@7a0000 {
610 compatible = "qcom,tcsr-msm8996", "syscon";
611 reg = <0x7a0000 0x18000>;
614 intc: interrupt-controller@9bc0000 {
615 compatible = "qcom,msm8996-gic-v3", "arm,gic-v3";
616 #interrupt-cells = <3>;
617 interrupt-controller;
618 #redistributor-regions = <1>;
619 redistributor-stride = <0x0 0x40000>;
620 reg = <0x09bc0000 0x10000>,
621 <0x09c00000 0x100000>;
622 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
625 apcs_glb: mailbox@9820000 {
626 compatible = "qcom,msm8996-apcs-hmss-global";
627 reg = <0x9820000 0x1000>;
632 gcc: clock-controller@300000 {
633 compatible = "qcom,gcc-msm8996";
636 #power-domain-cells = <1>;
637 reg = <0x300000 0x90000>;
641 compatible = "arm,coresight-stm", "arm,primecell";
642 reg = <0x3002000 0x1000>,
643 <0x8280000 0x180000>;
644 reg-names = "stm-base", "stm-stimulus-base";
646 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
647 clock-names = "apb_pclk", "atclk";
660 compatible = "arm,coresight-tpiu", "arm,primecell";
661 reg = <0x3020000 0x1000>;
663 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
664 clock-names = "apb_pclk", "atclk";
677 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
678 reg = <0x3021000 0x1000>;
680 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
681 clock-names = "apb_pclk", "atclk";
684 #address-cells = <1>;
689 funnel0_in: endpoint {
698 funnel0_out: endpoint {
707 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
708 reg = <0x3022000 0x1000>;
710 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
711 clock-names = "apb_pclk", "atclk";
714 #address-cells = <1>;
719 funnel1_in: endpoint {
721 <&apss_merge_funnel_out>;
728 funnel1_out: endpoint {
737 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
738 reg = <0x3023000 0x1000>;
740 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
741 clock-names = "apb_pclk", "atclk";
746 funnel2_out: endpoint {
755 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
756 reg = <0x3025000 0x1000>;
758 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
759 clock-names = "apb_pclk", "atclk";
762 #address-cells = <1>;
767 merge_funnel_in0: endpoint {
775 merge_funnel_in1: endpoint {
783 merge_funnel_in2: endpoint {
792 merge_funnel_out: endpoint {
801 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
802 reg = <0x3026000 0x1000>;
804 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
805 clock-names = "apb_pclk", "atclk";
809 replicator_in: endpoint {
817 #address-cells = <1>;
822 replicator_out0: endpoint {
830 replicator_out1: endpoint {
839 compatible = "arm,coresight-tmc", "arm,primecell";
840 reg = <0x3027000 0x1000>;
842 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
843 clock-names = "apb_pclk", "atclk";
865 compatible = "arm,coresight-tmc", "arm,primecell";
866 reg = <0x3028000 0x1000>;
868 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
869 clock-names = "apb_pclk", "atclk";
883 compatible = "arm,coresight-cpu-debug", "arm,primecell";
884 reg = <0x3810000 0x1000>;
886 clocks = <&rpmcc RPM_QDSS_CLK>;
887 clock-names = "apb_pclk";
893 compatible = "arm,coresight-etm4x", "arm,primecell";
894 reg = <0x3840000 0x1000>;
896 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
897 clock-names = "apb_pclk", "atclk";
912 compatible = "arm,coresight-cpu-debug", "arm,primecell";
913 reg = <0x3910000 0x1000>;
915 clocks = <&rpmcc RPM_QDSS_CLK>;
916 clock-names = "apb_pclk";
922 compatible = "arm,coresight-etm4x", "arm,primecell";
923 reg = <0x3940000 0x1000>;
925 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
926 clock-names = "apb_pclk", "atclk";
940 funnel@39b0000 { /* APSS Funnel 0 */
941 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
942 reg = <0x39b0000 0x1000>;
944 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
945 clock-names = "apb_pclk", "atclk";
948 #address-cells = <1>;
953 apss_funnel0_in0: endpoint {
954 remote-endpoint = <&etm0_out>;
960 apss_funnel0_in1: endpoint {
961 remote-endpoint = <&etm1_out>;
968 apss_funnel0_out: endpoint {
970 <&apss_merge_funnel_in0>;
977 compatible = "arm,coresight-cpu-debug", "arm,primecell";
978 reg = <0x3a10000 0x1000>;
980 clocks = <&rpmcc RPM_QDSS_CLK>;
981 clock-names = "apb_pclk";
987 compatible = "arm,coresight-etm4x", "arm,primecell";
988 reg = <0x3a40000 0x1000>;
990 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
991 clock-names = "apb_pclk", "atclk";
1006 compatible = "arm,coresight-cpu-debug", "arm,primecell";
1007 reg = <0x3b10000 0x1000>;
1009 clocks = <&rpmcc RPM_QDSS_CLK>;
1010 clock-names = "apb_pclk";
1016 compatible = "arm,coresight-etm4x", "arm,primecell";
1017 reg = <0x3b40000 0x1000>;
1019 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
1020 clock-names = "apb_pclk", "atclk";
1026 etm3_out: endpoint {
1028 <&apss_funnel1_in1>;
1034 funnel@3bb0000 { /* APSS Funnel 1 */
1035 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1036 reg = <0x3bb0000 0x1000>;
1038 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
1039 clock-names = "apb_pclk", "atclk";
1042 #address-cells = <1>;
1047 apss_funnel1_in0: endpoint {
1048 remote-endpoint = <&etm2_out>;
1054 apss_funnel1_in1: endpoint {
1055 remote-endpoint = <&etm3_out>;
1062 apss_funnel1_out: endpoint {
1064 <&apss_merge_funnel_in1>;
1071 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1072 reg = <0x3bc0000 0x1000>;
1074 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
1075 clock-names = "apb_pclk", "atclk";
1078 #address-cells = <1>;
1083 apss_merge_funnel_in0: endpoint {
1085 <&apss_funnel0_out>;
1091 apss_merge_funnel_in1: endpoint {
1093 <&apss_funnel1_out>;
1100 apss_merge_funnel_out: endpoint {
1108 kryocc: clock-controller@6400000 {
1109 compatible = "qcom,apcc-msm8996";
1110 reg = <0x6400000 0x90000>;
1114 blsp1_uart1: serial@7570000 {
1115 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
1116 reg = <0x07570000 0x1000>;
1117 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1118 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>,
1119 <&gcc GCC_BLSP1_AHB_CLK>;
1120 clock-names = "core", "iface";
1121 status = "disabled";
1124 blsp1_spi0: spi@7575000 {
1125 compatible = "qcom,spi-qup-v2.2.1";
1126 reg = <0x07575000 0x600>;
1127 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
1128 clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
1129 <&gcc GCC_BLSP1_AHB_CLK>;
1130 clock-names = "core", "iface";
1131 pinctrl-names = "default", "sleep";
1132 pinctrl-0 = <&blsp1_spi0_default>;
1133 pinctrl-1 = <&blsp1_spi0_sleep>;
1134 #address-cells = <1>;
1136 status = "disabled";
1139 blsp2_i2c0: i2c@75b5000 {
1140 compatible = "qcom,i2c-qup-v2.2.1";
1141 reg = <0x075b5000 0x1000>;
1142 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1143 clocks = <&gcc GCC_BLSP2_AHB_CLK>,
1144 <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>;
1145 clock-names = "iface", "core";
1146 pinctrl-names = "default", "sleep";
1147 pinctrl-0 = <&blsp2_i2c0_default>;
1148 pinctrl-1 = <&blsp2_i2c0_sleep>;
1149 #address-cells = <1>;
1151 status = "disabled";
1154 blsp2_uart1: serial@75b0000 {
1155 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
1156 reg = <0x75b0000 0x1000>;
1157 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
1158 clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
1159 <&gcc GCC_BLSP2_AHB_CLK>;
1160 clock-names = "core", "iface";
1161 status = "disabled";
1164 blsp2_i2c1: i2c@75b6000 {
1165 compatible = "qcom,i2c-qup-v2.2.1";
1166 reg = <0x075b6000 0x1000>;
1167 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1168 clocks = <&gcc GCC_BLSP2_AHB_CLK>,
1169 <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>;
1170 clock-names = "iface", "core";
1171 pinctrl-names = "default", "sleep";
1172 pinctrl-0 = <&blsp2_i2c1_default>;
1173 pinctrl-1 = <&blsp2_i2c1_sleep>;
1174 #address-cells = <1>;
1176 status = "disabled";
1179 blsp2_uart2: serial@75b1000 {
1180 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
1181 reg = <0x075b1000 0x1000>;
1182 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
1183 clocks = <&gcc GCC_BLSP2_UART3_APPS_CLK>,
1184 <&gcc GCC_BLSP2_AHB_CLK>;
1185 clock-names = "core", "iface";
1186 status = "disabled";
1189 blsp1_i2c2: i2c@7577000 {
1190 compatible = "qcom,i2c-qup-v2.2.1";
1191 reg = <0x07577000 0x1000>;
1192 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
1193 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
1194 <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>;
1195 clock-names = "iface", "core";
1196 pinctrl-names = "default", "sleep";
1197 pinctrl-0 = <&blsp1_i2c2_default>;
1198 pinctrl-1 = <&blsp1_i2c2_sleep>;
1199 #address-cells = <1>;
1201 status = "disabled";
1204 blsp2_spi5: spi@75ba000{
1205 compatible = "qcom,spi-qup-v2.2.1";
1206 reg = <0x075ba000 0x600>;
1207 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
1208 clocks = <&gcc GCC_BLSP2_QUP6_SPI_APPS_CLK>,
1209 <&gcc GCC_BLSP2_AHB_CLK>;
1210 clock-names = "core", "iface";
1211 pinctrl-names = "default", "sleep";
1212 pinctrl-0 = <&blsp2_spi5_default>;
1213 pinctrl-1 = <&blsp2_spi5_sleep>;
1214 #address-cells = <1>;
1216 status = "disabled";
1219 sdhc2: sdhci@74a4900 {
1220 status = "disabled";
1221 compatible = "qcom,sdhci-msm-v4";
1222 reg = <0x74a4900 0x314>, <0x74a4000 0x800>;
1223 reg-names = "hc_mem", "core_mem";
1225 interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>,
1226 <0 221 IRQ_TYPE_LEVEL_HIGH>;
1227 interrupt-names = "hc_irq", "pwr_irq";
1229 clock-names = "iface", "core", "xo";
1230 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
1231 <&gcc GCC_SDCC2_APPS_CLK>,
1236 msmgpio: pinctrl@1010000 {
1237 compatible = "qcom,msm8996-pinctrl";
1238 reg = <0x01010000 0x300000>;
1239 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1242 interrupt-controller;
1243 #interrupt-cells = <2>;
1247 #address-cells = <1>;
1250 compatible = "arm,armv7-timer-mem";
1251 reg = <0x09840000 0x1000>;
1252 clock-frequency = <19200000>;
1256 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
1257 <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1258 reg = <0x09850000 0x1000>,
1259 <0x09860000 0x1000>;
1264 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
1265 reg = <0x09870000 0x1000>;
1266 status = "disabled";
1271 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
1272 reg = <0x09880000 0x1000>;
1273 status = "disabled";
1278 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
1279 reg = <0x09890000 0x1000>;
1280 status = "disabled";
1285 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1286 reg = <0x098a0000 0x1000>;
1287 status = "disabled";
1292 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1293 reg = <0x098b0000 0x1000>;
1294 status = "disabled";
1299 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
1300 reg = <0x098c0000 0x1000>;
1301 status = "disabled";
1305 spmi_bus: qcom,spmi@400f000 {
1306 compatible = "qcom,spmi-pmic-arb";
1307 reg = <0x400f000 0x1000>,
1308 <0x4400000 0x800000>,
1309 <0x4c00000 0x800000>,
1310 <0x5800000 0x200000>,
1311 <0x400a000 0x002100>;
1312 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1313 interrupt-names = "periph_irq";
1314 interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
1317 #address-cells = <2>;
1319 interrupt-controller;
1320 #interrupt-cells = <4>;
1323 ufsphy: phy@627000 {
1324 compatible = "qcom,msm8996-ufs-phy-qmp-14nm";
1325 reg = <0x627000 0xda8>;
1326 reg-names = "phy_mem";
1329 vdda-phy-supply = <&pm8994_l28>;
1330 vdda-pll-supply = <&pm8994_l12>;
1332 vdda-phy-max-microamp = <18380>;
1333 vdda-pll-max-microamp = <9440>;
1335 vddp-ref-clk-supply = <&pm8994_l25>;
1336 vddp-ref-clk-max-microamp = <100>;
1337 vddp-ref-clk-always-on;
1339 clock-names = "ref_clk_src", "ref_clk";
1340 clocks = <&rpmcc RPM_SMD_LN_BB_CLK>,
1341 <&gcc GCC_UFS_CLKREF_CLK>;
1342 resets = <&ufshc 0>;
1343 status = "disabled";
1346 ufshc: ufshc@624000 {
1347 compatible = "qcom,ufshc";
1348 reg = <0x624000 0x2500>;
1349 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1352 phy-names = "ufsphy";
1354 vcc-supply = <&pm8994_l20>;
1355 vccq-supply = <&pm8994_l25>;
1356 vccq2-supply = <&pm8994_s4>;
1358 vcc-max-microamp = <600000>;
1359 vccq-max-microamp = <450000>;
1360 vccq2-max-microamp = <450000>;
1362 power-domains = <&gcc UFS_GDSC>;
1370 "core_clk_unipro_src",
1374 "tx_lane0_sync_clk",
1375 "rx_lane0_sync_clk";
1377 <&gcc UFS_AXI_CLK_SRC>,
1378 <&gcc GCC_UFS_AXI_CLK>,
1379 <&gcc GCC_SYS_NOC_UFS_AXI_CLK>,
1380 <&gcc GCC_AGGRE2_UFS_AXI_CLK>,
1381 <&gcc GCC_UFS_AHB_CLK>,
1382 <&gcc UFS_ICE_CORE_CLK_SRC>,
1383 <&gcc GCC_UFS_UNIPRO_CORE_CLK>,
1384 <&gcc GCC_UFS_ICE_CORE_CLK>,
1385 <&rpmcc RPM_SMD_LN_BB_CLK>,
1386 <&gcc GCC_UFS_TX_SYMBOL_0_CLK>,
1387 <&gcc GCC_UFS_RX_SYMBOL_0_CLK>;
1389 <100000000 200000000>,
1394 <150000000 300000000>,
1401 lanes-per-direction = <1>;
1403 status = "disabled";
1406 compatible = "qcom,ufs_variant";
1410 mmcc: clock-controller@8c0000 {
1411 compatible = "qcom,mmcc-msm8996";
1414 #power-domain-cells = <1>;
1415 reg = <0x8c0000 0x40000>;
1416 assigned-clocks = <&mmcc MMPLL9_PLL>,
1421 assigned-clock-rates = <624000000>,
1429 compatible = "qcom,qfprom";
1430 reg = <0x74000 0x8ff>;
1431 #address-cells = <1>;
1434 qusb2p_hstx_trim: hstx_trim@24e {
1439 qusb2s_hstx_trim: hstx_trim@24f {
1444 gpu_speed_bin: gpu_speed_bin@133 {
1451 compatible = "qcom,msm8996-qmp-pcie-phy";
1452 reg = <0x34000 0x488>;
1454 #address-cells = <1>;
1458 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
1459 <&gcc GCC_PCIE_PHY_CFG_AHB_CLK>,
1460 <&gcc GCC_PCIE_CLKREF_CLK>;
1461 clock-names = "aux", "cfg_ahb", "ref";
1463 vdda-phy-supply = <&pm8994_l28>;
1464 vdda-pll-supply = <&pm8994_l12>;
1466 resets = <&gcc GCC_PCIE_PHY_BCR>,
1467 <&gcc GCC_PCIE_PHY_COM_BCR>,
1468 <&gcc GCC_PCIE_PHY_COM_NOCSR_BCR>;
1469 reset-names = "phy", "common", "cfg";
1470 status = "disabled";
1472 pciephy_0: lane@35000 {
1473 reg = <0x035000 0x130>,
1478 clock-output-names = "pcie_0_pipe_clk_src";
1479 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
1480 clock-names = "pipe0";
1481 resets = <&gcc GCC_PCIE_0_PHY_BCR>;
1482 reset-names = "lane0";
1485 pciephy_1: lane@36000 {
1486 reg = <0x036000 0x130>,
1491 clock-output-names = "pcie_1_pipe_clk_src";
1492 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
1493 clock-names = "pipe1";
1494 resets = <&gcc GCC_PCIE_1_PHY_BCR>;
1495 reset-names = "lane1";
1498 pciephy_2: lane@37000 {
1499 reg = <0x037000 0x130>,
1504 clock-output-names = "pcie_2_pipe_clk_src";
1505 clocks = <&gcc GCC_PCIE_2_PIPE_CLK>;
1506 clock-names = "pipe2";
1507 resets = <&gcc GCC_PCIE_2_PHY_BCR>;
1508 reset-names = "lane2";
1513 compatible = "qcom,msm8996-qmp-usb3-phy";
1514 reg = <0x7410000 0x1c4>;
1516 #address-cells = <1>;
1520 clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
1521 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1522 <&gcc GCC_USB3_CLKREF_CLK>;
1523 clock-names = "aux", "cfg_ahb", "ref";
1525 vdda-phy-supply = <&pm8994_l28>;
1526 vdda-pll-supply = <&pm8994_l12>;
1528 resets = <&gcc GCC_USB3_PHY_BCR>,
1529 <&gcc GCC_USB3PHY_PHY_BCR>;
1530 reset-names = "phy", "common";
1531 status = "disabled";
1533 ssusb_phy_0: lane@7410200 {
1534 reg = <0x7410200 0x200>,
1539 clock-output-names = "usb3_phy_pipe_clk_src";
1540 clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>;
1541 clock-names = "pipe0";
1545 hsusb_phy1: phy@7411000 {
1546 compatible = "qcom,msm8996-qusb2-phy";
1547 reg = <0x7411000 0x180>;
1550 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1551 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
1552 clock-names = "cfg_ahb", "ref";
1554 vdda-pll-supply = <&pm8994_l12>;
1555 vdda-phy-dpdm-supply = <&pm8994_l24>;
1557 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1558 nvmem-cells = <&qusb2p_hstx_trim>;
1559 status = "disabled";
1562 hsusb_phy2: phy@7412000 {
1563 compatible = "qcom,msm8996-qusb2-phy";
1564 reg = <0x7412000 0x180>;
1567 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1568 <&gcc GCC_RX2_USB2_CLKREF_CLK>;
1569 clock-names = "cfg_ahb", "ref";
1571 vdda-pll-supply = <&pm8994_l12>;
1572 vdda-phy-dpdm-supply = <&pm8994_l24>;
1574 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
1575 nvmem-cells = <&qusb2s_hstx_trim>;
1576 status = "disabled";
1580 compatible = "qcom,msm8996-dwc3", "qcom,dwc3";
1581 reg = <0x76f8800 0x400>;
1582 #address-cells = <1>;
1586 clocks = <&gcc GCC_PERIPH_NOC_USB20_AHB_CLK>,
1587 <&gcc GCC_USB20_MASTER_CLK>,
1588 <&gcc GCC_USB20_MOCK_UTMI_CLK>,
1589 <&gcc GCC_USB20_SLEEP_CLK>,
1590 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>;
1592 assigned-clocks = <&gcc GCC_USB20_MOCK_UTMI_CLK>,
1593 <&gcc GCC_USB20_MASTER_CLK>;
1594 assigned-clock-rates = <19200000>, <60000000>;
1596 power-domains = <&gcc USB30_GDSC>;
1597 status = "disabled";
1600 compatible = "snps,dwc3";
1601 reg = <0x7600000 0xcc00>;
1602 interrupts = <0 138 IRQ_TYPE_LEVEL_HIGH>;
1603 phys = <&hsusb_phy2>;
1604 phy-names = "usb2-phy";
1609 compatible = "qcom,msm8996-dwc3", "qcom,dwc3";
1610 reg = <0x6af8800 0x400>;
1611 #address-cells = <1>;
1615 clocks = <&gcc GCC_SYS_NOC_USB3_AXI_CLK>,
1616 <&gcc GCC_USB30_MASTER_CLK>,
1617 <&gcc GCC_AGGRE2_USB3_AXI_CLK>,
1618 <&gcc GCC_USB30_MOCK_UTMI_CLK>,
1619 <&gcc GCC_USB30_SLEEP_CLK>,
1620 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>;
1622 assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
1623 <&gcc GCC_USB30_MASTER_CLK>;
1624 assigned-clock-rates = <19200000>, <120000000>;
1626 power-domains = <&gcc USB30_GDSC>;
1627 status = "disabled";
1630 compatible = "snps,dwc3";
1631 reg = <0x6a00000 0xcc00>;
1632 interrupts = <0 131 IRQ_TYPE_LEVEL_HIGH>;
1633 phys = <&hsusb_phy1>, <&ssusb_phy_0>;
1634 phy-names = "usb2-phy", "usb3-phy";
1638 vfe_smmu: iommu@da0000 {
1639 compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
1640 reg = <0xda0000 0x10000>;
1642 #global-interrupts = <1>;
1643 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
1644 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
1645 <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>;
1646 power-domains = <&mmcc MMAGIC_CAMSS_GDSC>;
1647 clocks = <&mmcc SMMU_VFE_AHB_CLK>,
1648 <&mmcc SMMU_VFE_AXI_CLK>;
1649 clock-names = "iface",
1654 camss: camss@a00000 {
1655 compatible = "qcom,msm8996-camss";
1656 reg = <0xa34000 0x1000>,
1670 reg-names = "csiphy0",
1684 interrupts = <GIC_SPI 78 0>,
1694 interrupt-names = "csiphy0",
1704 power-domains = <&mmcc VFE0_GDSC>;
1705 clocks = <&mmcc CAMSS_TOP_AHB_CLK>,
1706 <&mmcc CAMSS_ISPIF_AHB_CLK>,
1707 <&mmcc CAMSS_CSI0PHYTIMER_CLK>,
1708 <&mmcc CAMSS_CSI1PHYTIMER_CLK>,
1709 <&mmcc CAMSS_CSI2PHYTIMER_CLK>,
1710 <&mmcc CAMSS_CSI0_AHB_CLK>,
1711 <&mmcc CAMSS_CSI0_CLK>,
1712 <&mmcc CAMSS_CSI0PHY_CLK>,
1713 <&mmcc CAMSS_CSI0PIX_CLK>,
1714 <&mmcc CAMSS_CSI0RDI_CLK>,
1715 <&mmcc CAMSS_CSI1_AHB_CLK>,
1716 <&mmcc CAMSS_CSI1_CLK>,
1717 <&mmcc CAMSS_CSI1PHY_CLK>,
1718 <&mmcc CAMSS_CSI1PIX_CLK>,
1719 <&mmcc CAMSS_CSI1RDI_CLK>,
1720 <&mmcc CAMSS_CSI2_AHB_CLK>,
1721 <&mmcc CAMSS_CSI2_CLK>,
1722 <&mmcc CAMSS_CSI2PHY_CLK>,
1723 <&mmcc CAMSS_CSI2PIX_CLK>,
1724 <&mmcc CAMSS_CSI2RDI_CLK>,
1725 <&mmcc CAMSS_CSI3_AHB_CLK>,
1726 <&mmcc CAMSS_CSI3_CLK>,
1727 <&mmcc CAMSS_CSI3PHY_CLK>,
1728 <&mmcc CAMSS_CSI3PIX_CLK>,
1729 <&mmcc CAMSS_CSI3RDI_CLK>,
1730 <&mmcc CAMSS_AHB_CLK>,
1731 <&mmcc CAMSS_VFE0_CLK>,
1732 <&mmcc CAMSS_CSI_VFE0_CLK>,
1733 <&mmcc CAMSS_VFE0_AHB_CLK>,
1734 <&mmcc CAMSS_VFE0_STREAM_CLK>,
1735 <&mmcc CAMSS_VFE1_CLK>,
1736 <&mmcc CAMSS_CSI_VFE1_CLK>,
1737 <&mmcc CAMSS_VFE1_AHB_CLK>,
1738 <&mmcc CAMSS_VFE1_STREAM_CLK>,
1739 <&mmcc CAMSS_VFE_AHB_CLK>,
1740 <&mmcc CAMSS_VFE_AXI_CLK>;
1741 clock-names = "top_ahb",
1777 vdda-supply = <&pm8994_l2>;
1778 iommus = <&vfe_smmu 0>,
1782 status = "disabled";
1784 #address-cells = <1>;
1789 adreno_smmu: iommu@b40000 {
1790 compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
1791 reg = <0xb40000 0x10000>;
1793 #global-interrupts = <1>;
1794 interrupts = <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
1795 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
1796 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>;
1799 clocks = <&mmcc GPU_AHB_CLK>,
1800 <&gcc GCC_MMSS_BIMC_GFX_CLK>;
1801 clock-names = "iface", "bus";
1803 power-domains = <&mmcc GPU_GDSC>;
1806 mdp_smmu: iommu@d00000 {
1807 compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
1808 reg = <0xd00000 0x10000>;
1810 #global-interrupts = <1>;
1811 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
1812 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
1813 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>;
1815 clocks = <&mmcc SMMU_MDP_AHB_CLK>,
1816 <&mmcc SMMU_MDP_AXI_CLK>;
1817 clock-names = "iface", "bus";
1819 power-domains = <&mmcc MDSS_GDSC>;
1822 lpass_q6_smmu: iommu@1600000 {
1823 compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
1824 reg = <0x1600000 0x20000>;
1826 power-domains = <&gcc HLOS1_VOTE_LPASS_CORE_GDSC>;
1828 #global-interrupts = <1>;
1829 interrupts = <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
1830 <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>,
1831 <GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH>,
1832 <GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>,
1833 <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
1834 <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
1835 <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
1836 <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
1837 <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
1838 <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
1839 <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
1840 <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
1841 <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>;
1843 clocks = <&gcc GCC_HLOS1_VOTE_LPASS_CORE_SMMU_CLK>,
1844 <&gcc GCC_HLOS1_VOTE_LPASS_ADSP_SMMU_CLK>;
1845 clock-names = "iface", "bus";
1849 power-domains = <&gcc AGGRE0_NOC_GDSC>;
1850 compatible = "simple-pm-bus";
1851 #address-cells = <1>;
1855 pcie0: pcie@600000 {
1856 compatible = "qcom,pcie-msm8996", "snps,dw-pcie";
1857 status = "disabled";
1858 power-domains = <&gcc PCIE0_GDSC>;
1859 bus-range = <0x00 0xff>;
1862 reg = <0x00600000 0x2000>,
1865 <0x0c100000 0x100000>;
1866 reg-names = "parf", "dbi", "elbi","config";
1868 phys = <&pciephy_0>;
1869 phy-names = "pciephy";
1871 #address-cells = <3>;
1873 ranges = <0x01000000 0x0 0x0c200000 0x0c200000 0x0 0x100000>,
1874 <0x02000000 0x0 0x0c300000 0x0c300000 0x0 0xd00000>;
1876 interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
1877 interrupt-names = "msi";
1878 #interrupt-cells = <1>;
1879 interrupt-map-mask = <0 0 0 0x7>;
1880 interrupt-map = <0 0 0 1 &intc 0 244 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1881 <0 0 0 2 &intc 0 245 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1882 <0 0 0 3 &intc 0 247 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1883 <0 0 0 4 &intc 0 248 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1885 pinctrl-names = "default", "sleep";
1886 pinctrl-0 = <&pcie0_clkreq_default &pcie0_perst_default &pcie0_wake_default>;
1887 pinctrl-1 = <&pcie0_clkreq_sleep &pcie0_perst_default &pcie0_wake_sleep>;
1890 vdda-supply = <&pm8994_l28>;
1892 linux,pci-domain = <0>;
1894 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
1895 <&gcc GCC_PCIE_0_AUX_CLK>,
1896 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1897 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
1898 <&gcc GCC_PCIE_0_SLV_AXI_CLK>;
1900 clock-names = "pipe",
1908 pcie1: pcie@608000 {
1909 compatible = "qcom,pcie-msm8996", "snps,dw-pcie";
1910 power-domains = <&gcc PCIE1_GDSC>;
1911 bus-range = <0x00 0xff>;
1914 status = "disabled";
1916 reg = <0x00608000 0x2000>,
1919 <0x0d100000 0x100000>;
1921 reg-names = "parf", "dbi", "elbi","config";
1923 phys = <&pciephy_1>;
1924 phy-names = "pciephy";
1926 #address-cells = <3>;
1928 ranges = <0x01000000 0x0 0x0d200000 0x0d200000 0x0 0x100000>,
1929 <0x02000000 0x0 0x0d300000 0x0d300000 0x0 0xd00000>;
1931 interrupts = <GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>;
1932 interrupt-names = "msi";
1933 #interrupt-cells = <1>;
1934 interrupt-map-mask = <0 0 0 0x7>;
1935 interrupt-map = <0 0 0 1 &intc 0 272 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1936 <0 0 0 2 &intc 0 273 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1937 <0 0 0 3 &intc 0 274 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1938 <0 0 0 4 &intc 0 275 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1940 pinctrl-names = "default", "sleep";
1941 pinctrl-0 = <&pcie1_clkreq_default &pcie1_perst_default &pcie1_wake_default>;
1942 pinctrl-1 = <&pcie1_clkreq_sleep &pcie1_perst_default &pcie1_wake_sleep>;
1945 vdda-supply = <&pm8994_l28>;
1946 linux,pci-domain = <1>;
1948 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
1949 <&gcc GCC_PCIE_1_AUX_CLK>,
1950 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1951 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
1952 <&gcc GCC_PCIE_1_SLV_AXI_CLK>;
1954 clock-names = "pipe",
1961 pcie2: pcie@610000 {
1962 compatible = "qcom,pcie-msm8996", "snps,dw-pcie";
1963 power-domains = <&gcc PCIE2_GDSC>;
1964 bus-range = <0x00 0xff>;
1966 status = "disabled";
1967 reg = <0x00610000 0x2000>,
1970 <0x0e100000 0x100000>;
1972 reg-names = "parf", "dbi", "elbi","config";
1974 phys = <&pciephy_2>;
1975 phy-names = "pciephy";
1977 #address-cells = <3>;
1979 ranges = <0x01000000 0x0 0x0e200000 0x0e200000 0x0 0x100000>,
1980 <0x02000000 0x0 0x0e300000 0x0e300000 0x0 0x1d00000>;
1982 device_type = "pci";
1984 interrupts = <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>;
1985 interrupt-names = "msi";
1986 #interrupt-cells = <1>;
1987 interrupt-map-mask = <0 0 0 0x7>;
1988 interrupt-map = <0 0 0 1 &intc 0 142 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1989 <0 0 0 2 &intc 0 143 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1990 <0 0 0 3 &intc 0 144 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1991 <0 0 0 4 &intc 0 145 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1993 pinctrl-names = "default", "sleep";
1994 pinctrl-0 = <&pcie2_clkreq_default &pcie2_perst_default &pcie2_wake_default>;
1995 pinctrl-1 = <&pcie2_clkreq_sleep &pcie2_perst_default &pcie2_wake_sleep >;
1997 vdda-supply = <&pm8994_l28>;
1999 linux,pci-domain = <2>;
2000 clocks = <&gcc GCC_PCIE_2_PIPE_CLK>,
2001 <&gcc GCC_PCIE_2_AUX_CLK>,
2002 <&gcc GCC_PCIE_2_CFG_AHB_CLK>,
2003 <&gcc GCC_PCIE_2_MSTR_AXI_CLK>,
2004 <&gcc GCC_PCIE_2_SLV_AXI_CLK>;
2006 clock-names = "pipe",
2016 compatible = "qcom,bam-v1.7.0";
2017 qcom,controlled-remotely;
2018 reg = <0x9184000 0x32000>;
2019 num-channels = <31>;
2020 interrupts = <0 164 IRQ_TYPE_LEVEL_HIGH>;
2026 slim_msm: slim@91c0000 {
2027 compatible = "qcom,slim-ngd-v1.5.0";
2028 reg = <0x91c0000 0x2C000>;
2030 interrupts = <0 163 IRQ_TYPE_LEVEL_HIGH>;
2031 dmas = <&slimbam 3>, <&slimbam 4>,
2032 <&slimbam 5>, <&slimbam 6>;
2033 dma-names = "rx", "tx", "tx2", "rx2";
2034 #address-cells = <1>;
2038 #address-cells = <1>;
2041 tasha_ifd: tas-ifd {
2042 compatible = "slim217,1a0";
2047 pinctrl-0 = <&cdc_reset_active &wcd_intr_default>;
2048 pinctrl-names = "default";
2050 compatible = "slim217,1a0";
2053 interrupt-parent = <&msmgpio>;
2054 interrupts = <54 IRQ_TYPE_LEVEL_HIGH>,
2055 <53 IRQ_TYPE_LEVEL_HIGH>;
2056 interrupt-names = "intr1", "intr2";
2057 interrupt-controller;
2058 #interrupt-cells = <1>;
2059 reset-gpios = <&msmgpio 64 0>;
2061 slim-ifc-dev = <&tasha_ifd>;
2063 vdd-buck-supply = <&pm8994_s4>;
2064 vdd-buck-sido-supply = <&pm8994_s4>;
2065 vdd-tx-supply = <&pm8994_s4>;
2066 vdd-rx-supply = <&pm8994_s4>;
2067 vdd-io-supply = <&pm8994_s4>;
2069 #sound-dai-cells = <1>;
2075 compatible = "qcom,adreno-530.2", "qcom,adreno";
2076 #stream-id-cells = <16>;
2078 reg = <0xb00000 0x3f000>;
2079 reg-names = "kgsl_3d0_reg_memory";
2081 interrupts = <0 300 IRQ_TYPE_LEVEL_HIGH>;
2083 clocks = <&mmcc GPU_GX_GFX3D_CLK>,
2084 <&mmcc GPU_AHB_CLK>,
2085 <&mmcc GPU_GX_RBBMTIMER_CLK>,
2086 <&gcc GCC_BIMC_GFX_CLK>,
2087 <&gcc GCC_MMSS_BIMC_GFX_CLK>;
2089 clock-names = "core",
2095 power-domains = <&mmcc GPU_GDSC>;
2096 iommus = <&adreno_smmu 0>;
2098 nvmem-cells = <&gpu_speed_bin>;
2099 nvmem-cell-names = "speed_bin";
2101 qcom,gpu-quirk-two-pass-use-wfi;
2102 qcom,gpu-quirk-fault-detect-mask;
2104 operating-points-v2 = <&gpu_opp_table>;
2106 gpu_opp_table: opp-table {
2107 compatible ="operating-points-v2";
2110 * 624Mhz and 560Mhz are only available on speed
2111 * bin (1 << 0). All the rest are available on
2112 * all bins of the hardware
2115 opp-hz = /bits/ 64 <624000000>;
2116 opp-supported-hw = <0x01>;
2119 opp-hz = /bits/ 64 <560000000>;
2120 opp-supported-hw = <0x01>;
2123 opp-hz = /bits/ 64 <510000000>;
2124 opp-supported-hw = <0xFF>;
2127 opp-hz = /bits/ 64 <401800000>;
2128 opp-supported-hw = <0xFF>;
2131 opp-hz = /bits/ 64 <315000000>;
2132 opp-supported-hw = <0xFF>;
2135 opp-hz = /bits/ 64 <214000000>;
2136 opp-supported-hw = <0xFF>;
2139 opp-hz = /bits/ 64 <133000000>;
2140 opp-supported-hw = <0xFF>;
2145 memory-region = <&zap_shader_region>;
2150 compatible = "qcom,mdss";
2152 reg = <0x900000 0x1000>,
2155 reg-names = "mdss_phys",
2159 power-domains = <&mmcc MDSS_GDSC>;
2160 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
2162 interrupt-controller;
2163 #interrupt-cells = <1>;
2165 clocks = <&mmcc MDSS_AHB_CLK>;
2166 clock-names = "iface";
2168 #address-cells = <1>;
2173 compatible = "qcom,mdp5";
2174 reg = <0x901000 0x90000>;
2175 reg-names = "mdp_phys";
2177 interrupt-parent = <&mdss>;
2178 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
2180 clocks = <&mmcc MDSS_AHB_CLK>,
2181 <&mmcc MDSS_AXI_CLK>,
2182 <&mmcc MDSS_MDP_CLK>,
2183 <&mmcc SMMU_MDP_AXI_CLK>,
2184 <&mmcc MDSS_VSYNC_CLK>;
2185 clock-names = "iface",
2191 iommus = <&mdp_smmu 0>;
2194 #address-cells = <1>;
2199 mdp5_intf3_out: endpoint {
2200 remote-endpoint = <&hdmi_in>;
2206 hdmi: hdmi-tx@9a0000 {
2207 compatible = "qcom,hdmi-tx-8996";
2208 reg = <0x009a0000 0x50c>,
2209 <0x00070000 0x6158>,
2211 reg-names = "core_physical",
2215 interrupt-parent = <&mdss>;
2216 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
2218 clocks = <&mmcc MDSS_MDP_CLK>,
2219 <&mmcc MDSS_AHB_CLK>,
2220 <&mmcc MDSS_HDMI_CLK>,
2221 <&mmcc MDSS_HDMI_AHB_CLK>,
2222 <&mmcc MDSS_EXTPCLK_CLK>;
2231 phy-names = "hdmi_phy";
2232 #sound-dai-cells = <1>;
2235 #address-cells = <1>;
2241 remote-endpoint = <&mdp5_intf3_out>;
2247 hdmi_phy: hdmi-phy@9a0600 {
2249 compatible = "qcom,hdmi-phy-8996";
2250 reg = <0x9a0600 0x1c4>,
2256 reg-names = "hdmi_pll",
2263 clocks = <&mmcc MDSS_AHB_CLK>,
2264 <&gcc GCC_HDMI_CLKREF_CLK>;
2265 clock-names = "iface",
2270 venus_smmu: arm,smmu-venus@d40000 {
2271 compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
2272 reg = <0xd40000 0x20000>;
2273 #global-interrupts = <1>;
2274 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>,
2275 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
2276 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
2277 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
2278 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
2279 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
2280 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
2281 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
2282 power-domains = <&mmcc MMAGIC_VIDEO_GDSC>;
2283 clocks = <&mmcc SMMU_VIDEO_AHB_CLK>,
2284 <&mmcc SMMU_VIDEO_AXI_CLK>;
2285 clock-names = "iface", "bus";
2290 video-codec@c00000 {
2291 compatible = "qcom,msm8996-venus";
2292 reg = <0x00c00000 0xff000>;
2293 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
2294 power-domains = <&mmcc VENUS_GDSC>;
2295 clocks = <&mmcc VIDEO_CORE_CLK>,
2296 <&mmcc VIDEO_AHB_CLK>,
2297 <&mmcc VIDEO_AXI_CLK>,
2298 <&mmcc VIDEO_MAXI_CLK>;
2299 clock-names = "core", "iface", "bus", "mbus";
2300 iommus = <&venus_smmu 0x00>,
2320 memory-region = <&venus_region>;
2324 compatible = "venus-decoder";
2325 clocks = <&mmcc VIDEO_SUBCORE0_CLK>;
2326 clock-names = "core";
2327 power-domains = <&mmcc VENUS_CORE0_GDSC>;
2331 compatible = "venus-encoder";
2332 clocks = <&mmcc VIDEO_SUBCORE1_CLK>;
2333 clock-names = "core";
2334 power-domains = <&mmcc VENUS_CORE1_GDSC>;
2343 compatible = "qcom,msm8996-adsp-pil";
2345 interrupts-extended = <&intc 0 162 IRQ_TYPE_EDGE_RISING>,
2346 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2347 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2348 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2349 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
2350 interrupt-names = "wdog", "fatal", "ready",
2351 "handover", "stop-ack";
2353 clocks = <&xo_board>;
2356 memory-region = <&adsp_region>;
2358 qcom,smem-states = <&adsp_smp2p_out 0>;
2359 qcom,smem-state-names = "stop";
2362 interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
2365 mboxes = <&apcs_glb 8>;
2366 qcom,smd-edge = <1>;
2367 qcom,remote-pid = <2>;
2368 #address-cells = <1>;
2371 power-domains = <&gcc HLOS1_VOTE_LPASS_ADSP_GDSC>;
2372 compatible = "qcom,apr-v2";
2373 qcom,smd-channels = "apr_audio_svc";
2374 qcom,apr-domain = <APR_DOMAIN_ADSP>;
2375 #address-cells = <1>;
2379 reg = <APR_SVC_ADSP_CORE>;
2380 compatible = "qcom,q6core";
2384 compatible = "qcom,q6afe";
2385 reg = <APR_SVC_AFE>;
2387 compatible = "qcom,q6afe-dais";
2388 #address-cells = <1>;
2390 #sound-dai-cells = <1>;
2398 compatible = "qcom,q6asm";
2399 reg = <APR_SVC_ASM>;
2401 compatible = "qcom,q6asm-dais";
2402 #sound-dai-cells = <1>;
2403 iommus = <&lpass_q6_smmu 1>;
2408 compatible = "qcom,q6adm";
2409 reg = <APR_SVC_ADM>;
2410 q6routing: routing {
2411 compatible = "qcom,q6adm-routing";
2412 #sound-dai-cells = <0>;
2421 compatible = "qcom,smp2p";
2422 qcom,smem = <443>, <429>;
2424 interrupts = <0 158 IRQ_TYPE_EDGE_RISING>;
2426 mboxes = <&apcs_glb 10>;
2428 qcom,local-pid = <0>;
2429 qcom,remote-pid = <2>;
2431 adsp_smp2p_out: master-kernel {
2432 qcom,entry-name = "master-kernel";
2433 #qcom,smem-state-cells = <1>;
2436 adsp_smp2p_in: slave-kernel {
2437 qcom,entry-name = "slave-kernel";
2439 interrupt-controller;
2440 #interrupt-cells = <2>;
2445 compatible = "qcom,smp2p";
2446 qcom,smem = <435>, <428>;
2448 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
2450 mboxes = <&apcs_glb 14>;
2452 qcom,local-pid = <0>;
2453 qcom,remote-pid = <1>;
2455 modem_smp2p_out: master-kernel {
2456 qcom,entry-name = "master-kernel";
2457 #qcom,smem-state-cells = <1>;
2460 modem_smp2p_in: slave-kernel {
2461 qcom,entry-name = "slave-kernel";
2463 interrupt-controller;
2464 #interrupt-cells = <2>;
2469 compatible = "qcom,smp2p";
2470 qcom,smem = <481>, <430>;
2472 interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
2474 mboxes = <&apcs_glb 26>;
2476 qcom,local-pid = <0>;
2477 qcom,remote-pid = <3>;
2479 slpi_smp2p_in: slave-kernel {
2480 qcom,entry-name = "slave-kernel";
2481 interrupt-controller;
2482 #interrupt-cells = <2>;
2485 slpi_smp2p_out: master-kernel {
2486 qcom,entry-name = "master-kernel";
2487 #qcom,smem-state-cells = <1>;
2492 #include "msm8996-pins.dtsi"