1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
6 #include <dt-bindings/arm/coresight-cti-dt.h>
7 #include <dt-bindings/clock/qcom,gcc-msm8916.h>
8 #include <dt-bindings/clock/qcom,rpmcc.h>
9 #include <dt-bindings/interconnect/qcom,msm8916.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/power/qcom-rpmpd.h>
12 #include <dt-bindings/reset/qcom,gcc-msm8916.h>
13 #include <dt-bindings/thermal/thermal.h>
16 interrupt-parent = <&intc>;
24 device_type = "memory";
25 /* We expect the bootloader to fill in the reg */
26 reg = <0 0x80000000 0 0>;
35 reg = <0x0 0x86000000 0x0 0x300000>;
40 compatible = "qcom,smem";
41 reg = <0x0 0x86300000 0x0 0x100000>;
44 hwlocks = <&tcsr_mutex 3>;
45 qcom,rpm-msg-ram = <&rpm_msg_ram>;
49 reg = <0x0 0x86400000 0x0 0x100000>;
54 reg = <0x0 0x86500000 0x0 0x180000>;
59 reg = <0x0 0x86680000 0x0 0x80000>;
64 compatible = "qcom,rmtfs-mem";
65 reg = <0x0 0x86700000 0x0 0xe0000>;
72 reg = <0x0 0x867e0000 0x0 0x20000>;
76 mpss_mem: mpss@86800000 {
77 reg = <0x0 0x86800000 0x0 0x2b00000>;
81 wcnss_mem: wcnss@89300000 {
82 reg = <0x0 0x89300000 0x0 0x600000>;
86 venus_mem: venus@89900000 {
87 reg = <0x0 0x89900000 0x0 0x600000>;
91 mba_mem: mba@8ea00000 {
93 reg = <0 0x8ea00000 0 0x100000>;
99 compatible = "fixed-clock";
101 clock-frequency = <19200000>;
104 sleep_clk: sleep-clk {
105 compatible = "fixed-clock";
107 clock-frequency = <32768>;
112 #address-cells = <1>;
117 compatible = "arm,cortex-a53";
119 next-level-cache = <&L2_0>;
120 enable-method = "psci";
122 operating-points-v2 = <&cpu_opp_table>;
123 #cooling-cells = <2>;
124 power-domains = <&CPU_PD0>;
125 power-domain-names = "psci";
126 qcom,acc = <&cpu0_acc>;
127 qcom,saw = <&cpu0_saw>;
132 compatible = "arm,cortex-a53";
134 next-level-cache = <&L2_0>;
135 enable-method = "psci";
137 operating-points-v2 = <&cpu_opp_table>;
138 #cooling-cells = <2>;
139 power-domains = <&CPU_PD1>;
140 power-domain-names = "psci";
141 qcom,acc = <&cpu1_acc>;
142 qcom,saw = <&cpu1_saw>;
147 compatible = "arm,cortex-a53";
149 next-level-cache = <&L2_0>;
150 enable-method = "psci";
152 operating-points-v2 = <&cpu_opp_table>;
153 #cooling-cells = <2>;
154 power-domains = <&CPU_PD2>;
155 power-domain-names = "psci";
156 qcom,acc = <&cpu2_acc>;
157 qcom,saw = <&cpu2_saw>;
162 compatible = "arm,cortex-a53";
164 next-level-cache = <&L2_0>;
165 enable-method = "psci";
167 operating-points-v2 = <&cpu_opp_table>;
168 #cooling-cells = <2>;
169 power-domains = <&CPU_PD3>;
170 power-domain-names = "psci";
171 qcom,acc = <&cpu3_acc>;
172 qcom,saw = <&cpu3_saw>;
176 compatible = "cache";
182 entry-method = "psci";
184 CPU_SLEEP_0: cpu-sleep-0 {
185 compatible = "arm,idle-state";
186 idle-state-name = "standalone-power-collapse";
187 arm,psci-suspend-param = <0x40000002>;
188 entry-latency-us = <130>;
189 exit-latency-us = <150>;
190 min-residency-us = <2000>;
197 CLUSTER_RET: cluster-retention {
198 compatible = "domain-idle-state";
199 arm,psci-suspend-param = <0x41000012>;
200 entry-latency-us = <500>;
201 exit-latency-us = <500>;
202 min-residency-us = <2000>;
205 CLUSTER_PWRDN: cluster-gdhs {
206 compatible = "domain-idle-state";
207 arm,psci-suspend-param = <0x41000032>;
208 entry-latency-us = <2000>;
209 exit-latency-us = <2000>;
210 min-residency-us = <6000>;
215 cpu_opp_table: opp-table-cpu {
216 compatible = "operating-points-v2";
220 opp-hz = /bits/ 64 <200000000>;
223 opp-hz = /bits/ 64 <400000000>;
226 opp-hz = /bits/ 64 <800000000>;
229 opp-hz = /bits/ 64 <998400000>;
235 compatible = "qcom,scm-msm8916", "qcom,scm";
236 clocks = <&gcc GCC_CRYPTO_CLK>,
237 <&gcc GCC_CRYPTO_AXI_CLK>,
238 <&gcc GCC_CRYPTO_AHB_CLK>;
239 clock-names = "core", "bus", "iface";
242 qcom,dload-mode = <&tcsr 0x6100>;
247 compatible = "arm,cortex-a53-pmu";
248 interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
252 compatible = "arm,psci-1.0";
255 CPU_PD0: power-domain-cpu0 {
256 #power-domain-cells = <0>;
257 power-domains = <&CLUSTER_PD>;
258 domain-idle-states = <&CPU_SLEEP_0>;
261 CPU_PD1: power-domain-cpu1 {
262 #power-domain-cells = <0>;
263 power-domains = <&CLUSTER_PD>;
264 domain-idle-states = <&CPU_SLEEP_0>;
267 CPU_PD2: power-domain-cpu2 {
268 #power-domain-cells = <0>;
269 power-domains = <&CLUSTER_PD>;
270 domain-idle-states = <&CPU_SLEEP_0>;
273 CPU_PD3: power-domain-cpu3 {
274 #power-domain-cells = <0>;
275 power-domains = <&CLUSTER_PD>;
276 domain-idle-states = <&CPU_SLEEP_0>;
279 CLUSTER_PD: power-domain-cluster {
280 #power-domain-cells = <0>;
281 domain-idle-states = <&CLUSTER_RET>, <&CLUSTER_PWRDN>;
286 compatible = "qcom,smd";
289 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
290 qcom,ipc = <&apcs 8 0>;
291 qcom,smd-edge = <15>;
293 rpm_requests: rpm-requests {
294 compatible = "qcom,rpm-msm8916";
295 qcom,smd-channels = "rpm_requests";
297 rpmcc: clock-controller {
298 compatible = "qcom,rpmcc-msm8916", "qcom,rpmcc";
300 clocks = <&xo_board>;
304 rpmpd: power-controller {
305 compatible = "qcom,msm8916-rpmpd";
306 #power-domain-cells = <1>;
307 operating-points-v2 = <&rpmpd_opp_table>;
309 rpmpd_opp_table: opp-table {
310 compatible = "operating-points-v2";
312 rpmpd_opp_ret: opp1 {
315 rpmpd_opp_svs_krait: opp2 {
318 rpmpd_opp_svs_soc: opp3 {
321 rpmpd_opp_nom: opp4 {
324 rpmpd_opp_turbo: opp5 {
327 rpmpd_opp_super_turbo: opp6 {
337 compatible = "qcom,smp2p";
338 qcom,smem = <435>, <428>;
340 interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>;
342 qcom,ipc = <&apcs 8 14>;
344 qcom,local-pid = <0>;
345 qcom,remote-pid = <1>;
347 hexagon_smp2p_out: master-kernel {
348 qcom,entry-name = "master-kernel";
350 #qcom,smem-state-cells = <1>;
353 hexagon_smp2p_in: slave-kernel {
354 qcom,entry-name = "slave-kernel";
356 interrupt-controller;
357 #interrupt-cells = <2>;
362 compatible = "qcom,smp2p";
363 qcom,smem = <451>, <431>;
365 interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>;
367 qcom,ipc = <&apcs 8 18>;
369 qcom,local-pid = <0>;
370 qcom,remote-pid = <4>;
372 wcnss_smp2p_out: master-kernel {
373 qcom,entry-name = "master-kernel";
375 #qcom,smem-state-cells = <1>;
378 wcnss_smp2p_in: slave-kernel {
379 qcom,entry-name = "slave-kernel";
381 interrupt-controller;
382 #interrupt-cells = <2>;
387 compatible = "qcom,smsm";
389 #address-cells = <1>;
392 qcom,ipc-1 = <&apcs 8 13>;
393 qcom,ipc-3 = <&apcs 8 19>;
398 #qcom,smem-state-cells = <1>;
401 hexagon_smsm: hexagon@1 {
403 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
405 interrupt-controller;
406 #interrupt-cells = <2>;
409 wcnss_smsm: wcnss@6 {
411 interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
413 interrupt-controller;
414 #interrupt-cells = <2>;
419 #address-cells = <1>;
421 ranges = <0 0 0 0xffffffff>;
422 compatible = "simple-bus";
425 compatible = "qcom,prng";
426 reg = <0x00022000 0x200>;
427 clocks = <&gcc GCC_PRNG_AHB_CLK>;
428 clock-names = "core";
432 compatible = "qcom,pshold";
433 reg = <0x004ab000 0x4>;
436 qfprom: qfprom@5c000 {
437 compatible = "qcom,msm8916-qfprom", "qcom,qfprom";
438 reg = <0x0005c000 0x1000>;
439 #address-cells = <1>;
442 tsens_base1: base1@d0 {
447 tsens_s0_p1: s0-p1@d0 {
452 tsens_s0_p2: s0-p2@d1 {
457 tsens_s1_p1: s1-p1@d2 {
461 tsens_s1_p2: s1-p2@d2 {
465 tsens_s2_p1: s2-p1@d3 {
470 tsens_s2_p2: s2-p2@d4 {
475 // no tsens with hw_id 3
477 tsens_s4_p1: s4-p1@d4 {
482 tsens_s4_p2: s4-p2@d5 {
487 tsens_s5_p1: s5-p1@d5 {
492 tsens_s5_p2: s5-p2@d6 {
497 tsens_base2: base2@d7 {
502 tsens_mode: mode@ef {
508 rpm_msg_ram: sram@60000 {
509 compatible = "qcom,rpm-msg-ram";
510 reg = <0x00060000 0x8000>;
514 compatible = "qcom,msm8916-rpm-stats";
515 reg = <0x00290000 0x10000>;
518 bimc: interconnect@400000 {
519 compatible = "qcom,msm8916-bimc";
520 reg = <0x00400000 0x62000>;
521 #interconnect-cells = <1>;
522 clock-names = "bus", "bus_a";
523 clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
524 <&rpmcc RPM_SMD_BIMC_A_CLK>;
527 tsens: thermal-sensor@4a9000 {
528 compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1";
529 reg = <0x004a9000 0x1000>, /* TM */
530 <0x004a8000 0x1000>; /* SROT */
533 nvmem-cells = <&tsens_mode>,
534 <&tsens_base1>, <&tsens_base2>,
535 <&tsens_s0_p1>, <&tsens_s0_p2>,
536 <&tsens_s1_p1>, <&tsens_s1_p2>,
537 <&tsens_s2_p1>, <&tsens_s2_p2>,
538 <&tsens_s4_p1>, <&tsens_s4_p2>,
539 <&tsens_s5_p1>, <&tsens_s5_p2>;
540 nvmem-cell-names = "mode",
548 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
549 interrupt-names = "uplow";
550 #thermal-sensor-cells = <1>;
553 pcnoc: interconnect@500000 {
554 compatible = "qcom,msm8916-pcnoc";
555 reg = <0x00500000 0x11000>;
556 #interconnect-cells = <1>;
557 clock-names = "bus", "bus_a";
558 clocks = <&rpmcc RPM_SMD_PCNOC_CLK>,
559 <&rpmcc RPM_SMD_PCNOC_A_CLK>;
562 snoc: interconnect@580000 {
563 compatible = "qcom,msm8916-snoc";
564 reg = <0x00580000 0x14000>;
565 #interconnect-cells = <1>;
566 clock-names = "bus", "bus_a";
567 clocks = <&rpmcc RPM_SMD_SNOC_CLK>,
568 <&rpmcc RPM_SMD_SNOC_A_CLK>;
572 compatible = "arm,coresight-stm", "arm,primecell";
573 reg = <0x00802000 0x1000>,
574 <0x09280000 0x180000>;
575 reg-names = "stm-base", "stm-stimulus-base";
577 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
578 clock-names = "apb_pclk", "atclk";
585 remote-endpoint = <&funnel0_in7>;
592 /* CTI 0 - TMC connections */
594 compatible = "arm,coresight-cti", "arm,primecell";
595 reg = <0x00810000 0x1000>;
597 clocks = <&rpmcc RPM_QDSS_CLK>;
598 clock-names = "apb_pclk";
603 /* CTI 1 - TPIU connections */
605 compatible = "arm,coresight-cti", "arm,primecell";
606 reg = <0x00811000 0x1000>;
608 clocks = <&rpmcc RPM_QDSS_CLK>;
609 clock-names = "apb_pclk";
614 /* CTIs 2-11 - no information - not instantiated */
617 compatible = "arm,coresight-tpiu", "arm,primecell";
618 reg = <0x00820000 0x1000>;
620 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
621 clock-names = "apb_pclk", "atclk";
628 remote-endpoint = <&replicator_out1>;
634 funnel0: funnel@821000 {
635 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
636 reg = <0x00821000 0x1000>;
638 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
639 clock-names = "apb_pclk", "atclk";
644 #address-cells = <1>;
648 * Not described input ports:
649 * 0 - connected to Resource and Power Manger CPU ETM
651 * 2 - connected to Modem CPU ETM
654 * 6 - connected trought funnel to Wireless CPU ETM
655 * 7 - connected to STM component
660 funnel0_in4: endpoint {
661 remote-endpoint = <&funnel1_out>;
667 funnel0_in7: endpoint {
668 remote-endpoint = <&stm_out>;
675 funnel0_out: endpoint {
676 remote-endpoint = <&etf_in>;
682 replicator: replicator@824000 {
683 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
684 reg = <0x00824000 0x1000>;
686 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
687 clock-names = "apb_pclk", "atclk";
692 #address-cells = <1>;
697 replicator_out0: endpoint {
698 remote-endpoint = <&etr_in>;
703 replicator_out1: endpoint {
704 remote-endpoint = <&tpiu_in>;
711 replicator_in: endpoint {
712 remote-endpoint = <&etf_out>;
719 compatible = "arm,coresight-tmc", "arm,primecell";
720 reg = <0x00825000 0x1000>;
722 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
723 clock-names = "apb_pclk", "atclk";
730 remote-endpoint = <&funnel0_out>;
738 remote-endpoint = <&replicator_in>;
745 compatible = "arm,coresight-tmc", "arm,primecell";
746 reg = <0x00826000 0x1000>;
748 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
749 clock-names = "apb_pclk", "atclk";
756 remote-endpoint = <&replicator_out0>;
762 funnel1: funnel@841000 { /* APSS funnel only 4 inputs are used */
763 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
764 reg = <0x00841000 0x1000>;
766 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
767 clock-names = "apb_pclk", "atclk";
772 #address-cells = <1>;
777 funnel1_in0: endpoint {
778 remote-endpoint = <&etm0_out>;
783 funnel1_in1: endpoint {
784 remote-endpoint = <&etm1_out>;
789 funnel1_in2: endpoint {
790 remote-endpoint = <&etm2_out>;
795 funnel1_in3: endpoint {
796 remote-endpoint = <&etm3_out>;
803 funnel1_out: endpoint {
804 remote-endpoint = <&funnel0_in4>;
810 debug0: debug@850000 {
811 compatible = "arm,coresight-cpu-debug", "arm,primecell";
812 reg = <0x00850000 0x1000>;
813 clocks = <&rpmcc RPM_QDSS_CLK>;
814 clock-names = "apb_pclk";
819 debug1: debug@852000 {
820 compatible = "arm,coresight-cpu-debug", "arm,primecell";
821 reg = <0x00852000 0x1000>;
822 clocks = <&rpmcc RPM_QDSS_CLK>;
823 clock-names = "apb_pclk";
828 debug2: debug@854000 {
829 compatible = "arm,coresight-cpu-debug", "arm,primecell";
830 reg = <0x00854000 0x1000>;
831 clocks = <&rpmcc RPM_QDSS_CLK>;
832 clock-names = "apb_pclk";
837 debug3: debug@856000 {
838 compatible = "arm,coresight-cpu-debug", "arm,primecell";
839 reg = <0x00856000 0x1000>;
840 clocks = <&rpmcc RPM_QDSS_CLK>;
841 clock-names = "apb_pclk";
846 /* Core CTIs; CTIs 12-15 */
849 compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
851 reg = <0x00858000 0x1000>;
853 clocks = <&rpmcc RPM_QDSS_CLK>;
854 clock-names = "apb_pclk";
857 arm,cs-dev-assoc = <&etm0>;
864 compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
866 reg = <0x00859000 0x1000>;
868 clocks = <&rpmcc RPM_QDSS_CLK>;
869 clock-names = "apb_pclk";
872 arm,cs-dev-assoc = <&etm1>;
879 compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
881 reg = <0x0085a000 0x1000>;
883 clocks = <&rpmcc RPM_QDSS_CLK>;
884 clock-names = "apb_pclk";
887 arm,cs-dev-assoc = <&etm2>;
894 compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
896 reg = <0x0085b000 0x1000>;
898 clocks = <&rpmcc RPM_QDSS_CLK>;
899 clock-names = "apb_pclk";
902 arm,cs-dev-assoc = <&etm3>;
908 compatible = "arm,coresight-etm4x", "arm,primecell";
909 reg = <0x0085c000 0x1000>;
911 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
912 clock-names = "apb_pclk", "atclk";
913 arm,coresight-loses-context-with-cpu;
922 remote-endpoint = <&funnel1_in0>;
929 compatible = "arm,coresight-etm4x", "arm,primecell";
930 reg = <0x0085d000 0x1000>;
932 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
933 clock-names = "apb_pclk", "atclk";
934 arm,coresight-loses-context-with-cpu;
943 remote-endpoint = <&funnel1_in1>;
950 compatible = "arm,coresight-etm4x", "arm,primecell";
951 reg = <0x0085e000 0x1000>;
953 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
954 clock-names = "apb_pclk", "atclk";
955 arm,coresight-loses-context-with-cpu;
964 remote-endpoint = <&funnel1_in2>;
971 compatible = "arm,coresight-etm4x", "arm,primecell";
972 reg = <0x0085f000 0x1000>;
974 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
975 clock-names = "apb_pclk", "atclk";
976 arm,coresight-loses-context-with-cpu;
985 remote-endpoint = <&funnel1_in3>;
991 tlmm: pinctrl@1000000 {
992 compatible = "qcom,msm8916-pinctrl";
993 reg = <0x01000000 0x300000>;
994 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
996 gpio-ranges = <&tlmm 0 0 122>;
998 interrupt-controller;
999 #interrupt-cells = <2>;
1001 blsp_i2c1_default: blsp-i2c1-default-state {
1002 pins = "gpio2", "gpio3";
1003 function = "blsp_i2c1";
1004 drive-strength = <2>;
1008 blsp_i2c1_sleep: blsp-i2c1-sleep-state {
1009 pins = "gpio2", "gpio3";
1011 drive-strength = <2>;
1015 blsp_i2c2_default: blsp-i2c2-default-state {
1016 pins = "gpio6", "gpio7";
1017 function = "blsp_i2c2";
1018 drive-strength = <2>;
1022 blsp_i2c2_sleep: blsp-i2c2-sleep-state {
1023 pins = "gpio6", "gpio7";
1025 drive-strength = <2>;
1029 blsp_i2c3_default: blsp-i2c3-default-state {
1030 pins = "gpio10", "gpio11";
1031 function = "blsp_i2c3";
1032 drive-strength = <2>;
1036 blsp_i2c3_sleep: blsp-i2c3-sleep-state {
1037 pins = "gpio10", "gpio11";
1039 drive-strength = <2>;
1043 blsp_i2c4_default: blsp-i2c4-default-state {
1044 pins = "gpio14", "gpio15";
1045 function = "blsp_i2c4";
1046 drive-strength = <2>;
1050 blsp_i2c4_sleep: blsp-i2c4-sleep-state {
1051 pins = "gpio14", "gpio15";
1053 drive-strength = <2>;
1057 blsp_i2c5_default: blsp-i2c5-default-state {
1058 pins = "gpio18", "gpio19";
1059 function = "blsp_i2c5";
1060 drive-strength = <2>;
1064 blsp_i2c5_sleep: blsp-i2c5-sleep-state {
1065 pins = "gpio18", "gpio19";
1067 drive-strength = <2>;
1071 blsp_i2c6_default: blsp-i2c6-default-state {
1072 pins = "gpio22", "gpio23";
1073 function = "blsp_i2c6";
1074 drive-strength = <2>;
1078 blsp_i2c6_sleep: blsp-i2c6-sleep-state {
1079 pins = "gpio22", "gpio23";
1081 drive-strength = <2>;
1085 blsp_spi1_default: blsp-spi1-default-state {
1087 pins = "gpio0", "gpio1", "gpio3";
1088 function = "blsp_spi1";
1089 drive-strength = <12>;
1095 drive-strength = <16>;
1101 blsp_spi1_sleep: blsp-spi1-sleep-state {
1102 pins = "gpio0", "gpio1", "gpio2", "gpio3";
1104 drive-strength = <2>;
1108 blsp_spi2_default: blsp-spi2-default-state {
1110 pins = "gpio4", "gpio5", "gpio7";
1111 function = "blsp_spi2";
1112 drive-strength = <12>;
1118 drive-strength = <16>;
1124 blsp_spi2_sleep: blsp-spi2-sleep-state {
1125 pins = "gpio4", "gpio5", "gpio6", "gpio7";
1127 drive-strength = <2>;
1131 blsp_spi3_default: blsp-spi3-default-state {
1133 pins = "gpio8", "gpio9", "gpio11";
1134 function = "blsp_spi3";
1135 drive-strength = <12>;
1141 drive-strength = <16>;
1147 blsp_spi3_sleep: blsp-spi3-sleep-state {
1148 pins = "gpio8", "gpio9", "gpio10", "gpio11";
1150 drive-strength = <2>;
1154 blsp_spi4_default: blsp-spi4-default-state {
1156 pins = "gpio12", "gpio13", "gpio15";
1157 function = "blsp_spi4";
1158 drive-strength = <12>;
1164 drive-strength = <16>;
1170 blsp_spi4_sleep: blsp-spi4-sleep-state {
1171 pins = "gpio12", "gpio13", "gpio14", "gpio15";
1173 drive-strength = <2>;
1177 blsp_spi5_default: blsp-spi5-default-state {
1179 pins = "gpio16", "gpio17", "gpio19";
1180 function = "blsp_spi5";
1181 drive-strength = <12>;
1187 drive-strength = <16>;
1193 blsp_spi5_sleep: blsp-spi5-sleep-state {
1194 pins = "gpio16", "gpio17", "gpio18", "gpio19";
1196 drive-strength = <2>;
1200 blsp_spi6_default: blsp-spi6-default-state {
1202 pins = "gpio20", "gpio21", "gpio23";
1203 function = "blsp_spi6";
1204 drive-strength = <12>;
1210 drive-strength = <16>;
1216 blsp_spi6_sleep: blsp-spi6-sleep-state {
1217 pins = "gpio20", "gpio21", "gpio22", "gpio23";
1219 drive-strength = <2>;
1223 blsp_uart1_default: blsp-uart1-default-state {
1224 /* TX, RX, CTS_N, RTS_N */
1225 pins = "gpio0", "gpio1", "gpio2", "gpio3";
1226 function = "blsp_uart1";
1227 drive-strength = <16>;
1231 blsp_uart1_sleep: blsp-uart1-sleep-state {
1232 pins = "gpio0", "gpio1", "gpio2", "gpio3";
1234 drive-strength = <2>;
1238 blsp_uart2_default: blsp-uart2-default-state {
1239 pins = "gpio4", "gpio5";
1240 function = "blsp_uart2";
1241 drive-strength = <16>;
1245 blsp_uart2_sleep: blsp-uart2-sleep-state {
1246 pins = "gpio4", "gpio5";
1248 drive-strength = <2>;
1252 camera_front_default: camera-front-default-state {
1256 drive-strength = <16>;
1262 drive-strength = <16>;
1267 function = "cam_mclk1";
1268 drive-strength = <16>;
1273 camera_rear_default: camera-rear-default-state {
1277 drive-strength = <16>;
1283 drive-strength = <16>;
1288 function = "cam_mclk0";
1289 drive-strength = <16>;
1294 cci0_default: cci0-default-state {
1295 pins = "gpio29", "gpio30";
1296 function = "cci_i2c";
1297 drive-strength = <16>;
1301 cdc_dmic_default: cdc-dmic-default-state {
1304 function = "dmic0_clk";
1305 drive-strength = <8>;
1309 function = "dmic0_data";
1310 drive-strength = <8>;
1314 cdc_dmic_sleep: cdc-dmic-sleep-state {
1317 function = "dmic0_clk";
1318 drive-strength = <2>;
1323 function = "dmic0_data";
1324 drive-strength = <2>;
1329 cdc_pdm_default: cdc-pdm-default-state {
1330 pins = "gpio63", "gpio64", "gpio65", "gpio66",
1332 function = "cdc_pdm0";
1333 drive-strength = <8>;
1337 cdc_pdm_sleep: cdc-pdm-sleep-state {
1338 pins = "gpio63", "gpio64", "gpio65", "gpio66",
1340 function = "cdc_pdm0";
1341 drive-strength = <2>;
1345 pri_mi2s_default: mi2s-pri-default-state {
1346 pins = "gpio113", "gpio114", "gpio115", "gpio116";
1347 function = "pri_mi2s";
1348 drive-strength = <8>;
1352 pri_mi2s_sleep: mi2s-pri-sleep-state {
1353 pins = "gpio113", "gpio114", "gpio115", "gpio116";
1354 function = "pri_mi2s";
1355 drive-strength = <2>;
1359 pri_mi2s_mclk_default: mi2s-pri-mclk-default-state {
1361 function = "pri_mi2s";
1362 drive-strength = <8>;
1366 pri_mi2s_mclk_sleep: mi2s-pri-mclk-sleep-state {
1368 function = "pri_mi2s";
1369 drive-strength = <2>;
1373 pri_mi2s_ws_default: mi2s-pri-ws-default-state {
1375 function = "pri_mi2s_ws";
1376 drive-strength = <8>;
1380 pri_mi2s_ws_sleep: mi2s-pri-ws-sleep-state {
1382 function = "pri_mi2s_ws";
1383 drive-strength = <2>;
1387 sec_mi2s_default: mi2s-sec-default-state {
1388 pins = "gpio112", "gpio117", "gpio118", "gpio119";
1389 function = "sec_mi2s";
1390 drive-strength = <8>;
1394 sec_mi2s_sleep: mi2s-sec-sleep-state {
1395 pins = "gpio112", "gpio117", "gpio118", "gpio119";
1396 function = "sec_mi2s";
1397 drive-strength = <2>;
1401 sdc1_default: sdc1-default-state {
1405 drive-strength = <16>;
1410 drive-strength = <10>;
1415 drive-strength = <10>;
1419 sdc1_sleep: sdc1-sleep-state {
1423 drive-strength = <2>;
1428 drive-strength = <2>;
1433 drive-strength = <2>;
1437 sdc2_default: sdc2-default-state {
1441 drive-strength = <16>;
1446 drive-strength = <10>;
1451 drive-strength = <10>;
1455 sdc2_sleep: sdc2-sleep-state {
1459 drive-strength = <2>;
1464 drive-strength = <2>;
1469 drive-strength = <2>;
1473 wcss_wlan_default: wcss-wlan-default-state {
1474 pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44";
1475 function = "wcss_wlan";
1476 drive-strength = <6>;
1481 gcc: clock-controller@1800000 {
1482 compatible = "qcom,gcc-msm8916";
1485 #power-domain-cells = <1>;
1486 reg = <0x01800000 0x80000>;
1487 clocks = <&xo_board>,
1503 tcsr_mutex: hwlock@1905000 {
1504 compatible = "qcom,tcsr-mutex";
1505 reg = <0x01905000 0x20000>;
1506 #hwlock-cells = <1>;
1509 tcsr: syscon@1937000 {
1510 compatible = "qcom,tcsr-msm8916", "syscon";
1511 reg = <0x01937000 0x30000>;
1514 mdss: display-subsystem@1a00000 {
1515 status = "disabled";
1516 compatible = "qcom,mdss";
1517 reg = <0x01a00000 0x1000>,
1518 <0x01ac8000 0x3000>;
1519 reg-names = "mdss_phys", "vbif_phys";
1521 power-domains = <&gcc MDSS_GDSC>;
1523 clocks = <&gcc GCC_MDSS_AHB_CLK>,
1524 <&gcc GCC_MDSS_AXI_CLK>,
1525 <&gcc GCC_MDSS_VSYNC_CLK>;
1526 clock-names = "iface",
1530 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
1532 interrupt-controller;
1533 #interrupt-cells = <1>;
1535 #address-cells = <1>;
1539 mdss_mdp: display-controller@1a01000 {
1540 compatible = "qcom,msm8916-mdp5", "qcom,mdp5";
1541 reg = <0x01a01000 0x89000>;
1542 reg-names = "mdp_phys";
1544 interrupt-parent = <&mdss>;
1547 clocks = <&gcc GCC_MDSS_AHB_CLK>,
1548 <&gcc GCC_MDSS_AXI_CLK>,
1549 <&gcc GCC_MDSS_MDP_CLK>,
1550 <&gcc GCC_MDSS_VSYNC_CLK>;
1551 clock-names = "iface",
1556 iommus = <&apps_iommu 4>;
1559 #address-cells = <1>;
1564 mdss_mdp_intf1_out: endpoint {
1565 remote-endpoint = <&mdss_dsi0_in>;
1571 mdss_dsi0: dsi@1a98000 {
1572 compatible = "qcom,msm8916-dsi-ctrl",
1573 "qcom,mdss-dsi-ctrl";
1574 reg = <0x01a98000 0x25c>;
1575 reg-names = "dsi_ctrl";
1577 interrupt-parent = <&mdss>;
1580 assigned-clocks = <&gcc BYTE0_CLK_SRC>,
1581 <&gcc PCLK0_CLK_SRC>;
1582 assigned-clock-parents = <&mdss_dsi0_phy 0>,
1585 clocks = <&gcc GCC_MDSS_MDP_CLK>,
1586 <&gcc GCC_MDSS_AHB_CLK>,
1587 <&gcc GCC_MDSS_AXI_CLK>,
1588 <&gcc GCC_MDSS_BYTE0_CLK>,
1589 <&gcc GCC_MDSS_PCLK0_CLK>,
1590 <&gcc GCC_MDSS_ESC0_CLK>;
1591 clock-names = "mdp_core",
1597 phys = <&mdss_dsi0_phy>;
1599 #address-cells = <1>;
1603 #address-cells = <1>;
1608 mdss_dsi0_in: endpoint {
1609 remote-endpoint = <&mdss_mdp_intf1_out>;
1615 mdss_dsi0_out: endpoint {
1621 mdss_dsi0_phy: phy@1a98300 {
1622 compatible = "qcom,dsi-phy-28nm-lp";
1623 reg = <0x01a98300 0xd4>,
1626 reg-names = "dsi_pll",
1628 "dsi_phy_regulator";
1633 clocks = <&gcc GCC_MDSS_AHB_CLK>,
1635 clock-names = "iface", "ref";
1639 camss: camss@1b0ac00 {
1640 compatible = "qcom,msm8916-camss";
1641 reg = <0x01b0ac00 0x200>,
1649 <0x01b10000 0x1000>;
1650 reg-names = "csiphy0",
1659 interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>,
1660 <GIC_SPI 79 IRQ_TYPE_EDGE_RISING>,
1661 <GIC_SPI 51 IRQ_TYPE_EDGE_RISING>,
1662 <GIC_SPI 52 IRQ_TYPE_EDGE_RISING>,
1663 <GIC_SPI 55 IRQ_TYPE_EDGE_RISING>,
1664 <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
1665 interrupt-names = "csiphy0",
1671 power-domains = <&gcc VFE_GDSC>;
1672 clocks = <&gcc GCC_CAMSS_TOP_AHB_CLK>,
1673 <&gcc GCC_CAMSS_ISPIF_AHB_CLK>,
1674 <&gcc GCC_CAMSS_CSI0PHYTIMER_CLK>,
1675 <&gcc GCC_CAMSS_CSI1PHYTIMER_CLK>,
1676 <&gcc GCC_CAMSS_CSI0_AHB_CLK>,
1677 <&gcc GCC_CAMSS_CSI0_CLK>,
1678 <&gcc GCC_CAMSS_CSI0PHY_CLK>,
1679 <&gcc GCC_CAMSS_CSI0PIX_CLK>,
1680 <&gcc GCC_CAMSS_CSI0RDI_CLK>,
1681 <&gcc GCC_CAMSS_CSI1_AHB_CLK>,
1682 <&gcc GCC_CAMSS_CSI1_CLK>,
1683 <&gcc GCC_CAMSS_CSI1PHY_CLK>,
1684 <&gcc GCC_CAMSS_CSI1PIX_CLK>,
1685 <&gcc GCC_CAMSS_CSI1RDI_CLK>,
1686 <&gcc GCC_CAMSS_AHB_CLK>,
1687 <&gcc GCC_CAMSS_VFE0_CLK>,
1688 <&gcc GCC_CAMSS_CSI_VFE0_CLK>,
1689 <&gcc GCC_CAMSS_VFE_AHB_CLK>,
1690 <&gcc GCC_CAMSS_VFE_AXI_CLK>;
1691 clock-names = "top_ahb",
1710 iommus = <&apps_iommu 3>;
1711 status = "disabled";
1713 #address-cells = <1>;
1719 compatible = "qcom,msm8916-cci", "qcom,msm8226-cci";
1720 #address-cells = <1>;
1722 reg = <0x01b0c000 0x1000>;
1723 interrupts = <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
1724 clocks = <&gcc GCC_CAMSS_TOP_AHB_CLK>,
1725 <&gcc GCC_CAMSS_CCI_AHB_CLK>,
1726 <&gcc GCC_CAMSS_CCI_CLK>,
1727 <&gcc GCC_CAMSS_AHB_CLK>;
1728 clock-names = "camss_top_ahb", "cci_ahb",
1730 assigned-clocks = <&gcc GCC_CAMSS_CCI_AHB_CLK>,
1731 <&gcc GCC_CAMSS_CCI_CLK>;
1732 assigned-clock-rates = <80000000>, <19200000>;
1733 pinctrl-names = "default";
1734 pinctrl-0 = <&cci0_default>;
1735 status = "disabled";
1737 cci_i2c0: i2c-bus@0 {
1739 clock-frequency = <400000>;
1740 #address-cells = <1>;
1746 compatible = "qcom,adreno-306.0", "qcom,adreno";
1747 reg = <0x01c00000 0x20000>;
1748 reg-names = "kgsl_3d0_reg_memory";
1749 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
1750 interrupt-names = "kgsl_3d0_irq";
1759 <&gcc GCC_OXILI_GFX3D_CLK>,
1760 <&gcc GCC_OXILI_AHB_CLK>,
1761 <&gcc GCC_OXILI_GMEM_CLK>,
1762 <&gcc GCC_BIMC_GFX_CLK>,
1763 <&gcc GCC_BIMC_GPU_CLK>,
1764 <&gcc GFX3D_CLK_SRC>;
1765 power-domains = <&gcc OXILI_GDSC>;
1766 operating-points-v2 = <&gpu_opp_table>;
1767 iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
1769 gpu_opp_table: opp-table {
1770 compatible = "operating-points-v2";
1773 opp-hz = /bits/ 64 <400000000>;
1776 opp-hz = /bits/ 64 <19200000>;
1781 venus: video-codec@1d00000 {
1782 compatible = "qcom,msm8916-venus";
1783 reg = <0x01d00000 0xff000>;
1784 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
1785 power-domains = <&gcc VENUS_GDSC>;
1786 clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>,
1787 <&gcc GCC_VENUS0_AHB_CLK>,
1788 <&gcc GCC_VENUS0_AXI_CLK>;
1789 clock-names = "core", "iface", "bus";
1790 iommus = <&apps_iommu 5>;
1791 memory-region = <&venus_mem>;
1795 compatible = "venus-decoder";
1799 compatible = "venus-encoder";
1803 apps_iommu: iommu@1ef0000 {
1804 #address-cells = <1>;
1807 compatible = "qcom,msm8916-iommu", "qcom,msm-iommu-v1";
1808 ranges = <0 0x01e20000 0x40000>;
1809 reg = <0x01ef0000 0x3000>;
1810 clocks = <&gcc GCC_SMMU_CFG_CLK>,
1811 <&gcc GCC_APSS_TCU_CLK>;
1812 clock-names = "iface", "bus";
1813 qcom,iommu-secure-id = <17>;
1817 compatible = "qcom,msm-iommu-v1-sec";
1818 reg = <0x3000 0x1000>;
1819 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1824 compatible = "qcom,msm-iommu-v1-ns";
1825 reg = <0x4000 0x1000>;
1826 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1831 compatible = "qcom,msm-iommu-v1-sec";
1832 reg = <0x5000 0x1000>;
1833 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1837 gpu_iommu: iommu@1f08000 {
1838 #address-cells = <1>;
1841 compatible = "qcom,msm8916-iommu", "qcom,msm-iommu-v1";
1842 ranges = <0 0x01f08000 0x10000>;
1843 clocks = <&gcc GCC_SMMU_CFG_CLK>,
1844 <&gcc GCC_GFX_TCU_CLK>;
1845 clock-names = "iface", "bus";
1846 qcom,iommu-secure-id = <18>;
1850 compatible = "qcom,msm-iommu-v1-ns";
1851 reg = <0x1000 0x1000>;
1852 interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
1857 compatible = "qcom,msm-iommu-v1-ns";
1858 reg = <0x2000 0x1000>;
1859 interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>;
1863 spmi_bus: spmi@200f000 {
1864 compatible = "qcom,spmi-pmic-arb";
1865 reg = <0x0200f000 0x001000>,
1866 <0x02400000 0x400000>,
1867 <0x02c00000 0x400000>,
1868 <0x03800000 0x200000>,
1869 <0x0200a000 0x002100>;
1870 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1871 interrupt-names = "periph_irq";
1872 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
1875 #address-cells = <2>;
1877 interrupt-controller;
1878 #interrupt-cells = <4>;
1881 bam_dmux_dma: dma-controller@4044000 {
1882 compatible = "qcom,bam-v1.7.0";
1883 reg = <0x04044000 0x19000>;
1884 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1890 qcom,powered-remotely;
1892 status = "disabled";
1895 mpss: remoteproc@4080000 {
1896 compatible = "qcom,msm8916-mss-pil";
1897 reg = <0x04080000 0x100>,
1900 reg-names = "qdsp6", "rmb";
1902 interrupts-extended = <&intc GIC_SPI 24 IRQ_TYPE_EDGE_RISING>,
1903 <&hexagon_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1904 <&hexagon_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1905 <&hexagon_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1906 <&hexagon_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
1907 interrupt-names = "wdog", "fatal", "ready",
1908 "handover", "stop-ack";
1910 power-domains = <&rpmpd MSM8916_VDDCX>,
1911 <&rpmpd MSM8916_VDDMX>;
1912 power-domain-names = "cx", "mx";
1914 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
1915 <&gcc GCC_MSS_Q6_BIMC_AXI_CLK>,
1916 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1918 clock-names = "iface", "bus", "mem", "xo";
1920 qcom,smem-states = <&hexagon_smp2p_out 0>;
1921 qcom,smem-state-names = "stop";
1924 reset-names = "mss_restart";
1926 qcom,halt-regs = <&tcsr 0x18000 0x19000 0x1a000>;
1928 status = "disabled";
1931 memory-region = <&mba_mem>;
1935 memory-region = <&mpss_mem>;
1938 bam_dmux: bam-dmux {
1939 compatible = "qcom,bam-dmux";
1941 interrupt-parent = <&hexagon_smsm>;
1942 interrupts = <1 IRQ_TYPE_EDGE_BOTH>, <11 IRQ_TYPE_EDGE_BOTH>;
1943 interrupt-names = "pc", "pc-ack";
1945 qcom,smem-states = <&apps_smsm 1>, <&apps_smsm 11>;
1946 qcom,smem-state-names = "pc", "pc-ack";
1948 dmas = <&bam_dmux_dma 4>, <&bam_dmux_dma 5>;
1949 dma-names = "tx", "rx";
1951 status = "disabled";
1955 interrupts = <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>;
1957 qcom,smd-edge = <0>;
1958 qcom,ipc = <&apcs 8 12>;
1959 qcom,remote-pid = <1>;
1964 compatible = "qcom,fastrpc";
1965 qcom,smd-channels = "fastrpcsmd-apps-dsp";
1967 qcom,non-secure-domain;
1969 #address-cells = <1>;
1973 compatible = "qcom,fastrpc-compute-cb";
1980 sound: sound@7702000 {
1981 status = "disabled";
1982 compatible = "qcom,apq8016-sbc-sndcard";
1983 reg = <0x07702000 0x4>, <0x07702004 0x4>;
1984 reg-names = "mic-iomux", "spkr-iomux";
1987 lpass: audio-controller@7708000 {
1988 status = "disabled";
1989 compatible = "qcom,apq8016-lpass-cpu";
1992 * Note: Unlike the name would suggest, the SEC_I2S_CLK
1993 * is actually only used by Tertiary MI2S while
1994 * Primary/Secondary MI2S both use the PRI_I2S_CLK.
1996 clocks = <&gcc GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK>,
1997 <&gcc GCC_ULTAUDIO_LPAIF_PRI_I2S_CLK>,
1998 <&gcc GCC_ULTAUDIO_LPAIF_PRI_I2S_CLK>,
1999 <&gcc GCC_ULTAUDIO_LPAIF_SEC_I2S_CLK>,
2000 <&gcc GCC_ULTAUDIO_LPAIF_AUX_I2S_CLK>,
2001 <&gcc GCC_ULTAUDIO_PCNOC_MPORT_CLK>,
2002 <&gcc GCC_ULTAUDIO_PCNOC_SWAY_CLK>;
2004 clock-names = "ahbix-clk",
2011 #sound-dai-cells = <1>;
2013 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>;
2014 interrupt-names = "lpass-irq-lpaif";
2015 reg = <0x07708000 0x10000>;
2016 reg-names = "lpass-lpaif";
2018 #address-cells = <1>;
2022 lpass_codec: audio-codec@771c000 {
2023 compatible = "qcom,msm8916-wcd-digital-codec";
2024 reg = <0x0771c000 0x400>;
2025 clocks = <&gcc GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK>,
2026 <&gcc GCC_CODEC_DIGCODEC_CLK>;
2027 clock-names = "ahbix-clk", "mclk";
2028 #sound-dai-cells = <1>;
2029 status = "disabled";
2032 sdhc_1: mmc@7824900 {
2033 compatible = "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4";
2034 reg = <0x07824900 0x11c>, <0x07824000 0x800>;
2035 reg-names = "hc", "core";
2037 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
2038 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
2039 interrupt-names = "hc_irq", "pwr_irq";
2040 clocks = <&gcc GCC_SDCC1_AHB_CLK>,
2041 <&gcc GCC_SDCC1_APPS_CLK>,
2043 clock-names = "iface", "core", "xo";
2044 pinctrl-0 = <&sdc1_default>;
2045 pinctrl-1 = <&sdc1_sleep>;
2046 pinctrl-names = "default", "sleep";
2050 status = "disabled";
2053 sdhc_2: mmc@7864900 {
2054 compatible = "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4";
2055 reg = <0x07864900 0x11c>, <0x07864000 0x800>;
2056 reg-names = "hc", "core";
2058 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
2059 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
2060 interrupt-names = "hc_irq", "pwr_irq";
2061 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
2062 <&gcc GCC_SDCC2_APPS_CLK>,
2064 clock-names = "iface", "core", "xo";
2065 pinctrl-0 = <&sdc2_default>;
2066 pinctrl-1 = <&sdc2_sleep>;
2067 pinctrl-names = "default", "sleep";
2069 status = "disabled";
2072 blsp_dma: dma-controller@7884000 {
2073 compatible = "qcom,bam-v1.7.0";
2074 reg = <0x07884000 0x23000>;
2075 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
2076 clocks = <&gcc GCC_BLSP1_AHB_CLK>;
2077 clock-names = "bam_clk";
2082 blsp_uart1: serial@78af000 {
2083 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2084 reg = <0x078af000 0x200>;
2085 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
2086 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
2087 clock-names = "core", "iface";
2088 dmas = <&blsp_dma 0>, <&blsp_dma 1>;
2089 dma-names = "tx", "rx";
2090 pinctrl-names = "default", "sleep";
2091 pinctrl-0 = <&blsp_uart1_default>;
2092 pinctrl-1 = <&blsp_uart1_sleep>;
2093 status = "disabled";
2096 blsp_uart2: serial@78b0000 {
2097 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2098 reg = <0x078b0000 0x200>;
2099 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
2100 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
2101 clock-names = "core", "iface";
2102 dmas = <&blsp_dma 2>, <&blsp_dma 3>;
2103 dma-names = "tx", "rx";
2104 pinctrl-names = "default", "sleep";
2105 pinctrl-0 = <&blsp_uart2_default>;
2106 pinctrl-1 = <&blsp_uart2_sleep>;
2107 status = "disabled";
2110 blsp_i2c1: i2c@78b5000 {
2111 compatible = "qcom,i2c-qup-v2.2.1";
2112 reg = <0x078b5000 0x500>;
2113 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
2114 clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
2115 <&gcc GCC_BLSP1_AHB_CLK>;
2116 clock-names = "core", "iface";
2117 dmas = <&blsp_dma 4>, <&blsp_dma 5>;
2118 dma-names = "tx", "rx";
2119 pinctrl-names = "default", "sleep";
2120 pinctrl-0 = <&blsp_i2c1_default>;
2121 pinctrl-1 = <&blsp_i2c1_sleep>;
2122 #address-cells = <1>;
2124 status = "disabled";
2127 blsp_spi1: spi@78b5000 {
2128 compatible = "qcom,spi-qup-v2.2.1";
2129 reg = <0x078b5000 0x500>;
2130 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
2131 clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
2132 <&gcc GCC_BLSP1_AHB_CLK>;
2133 clock-names = "core", "iface";
2134 dmas = <&blsp_dma 4>, <&blsp_dma 5>;
2135 dma-names = "tx", "rx";
2136 pinctrl-names = "default", "sleep";
2137 pinctrl-0 = <&blsp_spi1_default>;
2138 pinctrl-1 = <&blsp_spi1_sleep>;
2139 #address-cells = <1>;
2141 status = "disabled";
2144 blsp_i2c2: i2c@78b6000 {
2145 compatible = "qcom,i2c-qup-v2.2.1";
2146 reg = <0x078b6000 0x500>;
2147 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
2148 clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
2149 <&gcc GCC_BLSP1_AHB_CLK>;
2150 clock-names = "core", "iface";
2151 dmas = <&blsp_dma 6>, <&blsp_dma 7>;
2152 dma-names = "tx", "rx";
2153 pinctrl-names = "default", "sleep";
2154 pinctrl-0 = <&blsp_i2c2_default>;
2155 pinctrl-1 = <&blsp_i2c2_sleep>;
2156 #address-cells = <1>;
2158 status = "disabled";
2161 blsp_spi2: spi@78b6000 {
2162 compatible = "qcom,spi-qup-v2.2.1";
2163 reg = <0x078b6000 0x500>;
2164 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
2165 clocks = <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>,
2166 <&gcc GCC_BLSP1_AHB_CLK>;
2167 clock-names = "core", "iface";
2168 dmas = <&blsp_dma 6>, <&blsp_dma 7>;
2169 dma-names = "tx", "rx";
2170 pinctrl-names = "default", "sleep";
2171 pinctrl-0 = <&blsp_spi2_default>;
2172 pinctrl-1 = <&blsp_spi2_sleep>;
2173 #address-cells = <1>;
2175 status = "disabled";
2178 blsp_i2c3: i2c@78b7000 {
2179 compatible = "qcom,i2c-qup-v2.2.1";
2180 reg = <0x078b7000 0x500>;
2181 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
2182 clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
2183 <&gcc GCC_BLSP1_AHB_CLK>;
2184 clock-names = "core", "iface";
2185 dmas = <&blsp_dma 8>, <&blsp_dma 9>;
2186 dma-names = "tx", "rx";
2187 pinctrl-names = "default", "sleep";
2188 pinctrl-0 = <&blsp_i2c3_default>;
2189 pinctrl-1 = <&blsp_i2c3_sleep>;
2190 #address-cells = <1>;
2192 status = "disabled";
2195 blsp_spi3: spi@78b7000 {
2196 compatible = "qcom,spi-qup-v2.2.1";
2197 reg = <0x078b7000 0x500>;
2198 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
2199 clocks = <&gcc GCC_BLSP1_QUP3_SPI_APPS_CLK>,
2200 <&gcc GCC_BLSP1_AHB_CLK>;
2201 clock-names = "core", "iface";
2202 dmas = <&blsp_dma 8>, <&blsp_dma 9>;
2203 dma-names = "tx", "rx";
2204 pinctrl-names = "default", "sleep";
2205 pinctrl-0 = <&blsp_spi3_default>;
2206 pinctrl-1 = <&blsp_spi3_sleep>;
2207 #address-cells = <1>;
2209 status = "disabled";
2212 blsp_i2c4: i2c@78b8000 {
2213 compatible = "qcom,i2c-qup-v2.2.1";
2214 reg = <0x078b8000 0x500>;
2215 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
2216 clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
2217 <&gcc GCC_BLSP1_AHB_CLK>;
2218 clock-names = "core", "iface";
2219 dmas = <&blsp_dma 10>, <&blsp_dma 11>;
2220 dma-names = "tx", "rx";
2221 pinctrl-names = "default", "sleep";
2222 pinctrl-0 = <&blsp_i2c4_default>;
2223 pinctrl-1 = <&blsp_i2c4_sleep>;
2224 #address-cells = <1>;
2226 status = "disabled";
2229 blsp_spi4: spi@78b8000 {
2230 compatible = "qcom,spi-qup-v2.2.1";
2231 reg = <0x078b8000 0x500>;
2232 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
2233 clocks = <&gcc GCC_BLSP1_QUP4_SPI_APPS_CLK>,
2234 <&gcc GCC_BLSP1_AHB_CLK>;
2235 clock-names = "core", "iface";
2236 dmas = <&blsp_dma 10>, <&blsp_dma 11>;
2237 dma-names = "tx", "rx";
2238 pinctrl-names = "default", "sleep";
2239 pinctrl-0 = <&blsp_spi4_default>;
2240 pinctrl-1 = <&blsp_spi4_sleep>;
2241 #address-cells = <1>;
2243 status = "disabled";
2246 blsp_i2c5: i2c@78b9000 {
2247 compatible = "qcom,i2c-qup-v2.2.1";
2248 reg = <0x078b9000 0x500>;
2249 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
2250 clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
2251 <&gcc GCC_BLSP1_AHB_CLK>;
2252 clock-names = "core", "iface";
2253 dmas = <&blsp_dma 12>, <&blsp_dma 13>;
2254 dma-names = "tx", "rx";
2255 pinctrl-names = "default", "sleep";
2256 pinctrl-0 = <&blsp_i2c5_default>;
2257 pinctrl-1 = <&blsp_i2c5_sleep>;
2258 #address-cells = <1>;
2260 status = "disabled";
2263 blsp_spi5: spi@78b9000 {
2264 compatible = "qcom,spi-qup-v2.2.1";
2265 reg = <0x078b9000 0x500>;
2266 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
2267 clocks = <&gcc GCC_BLSP1_QUP5_SPI_APPS_CLK>,
2268 <&gcc GCC_BLSP1_AHB_CLK>;
2269 clock-names = "core", "iface";
2270 dmas = <&blsp_dma 12>, <&blsp_dma 13>;
2271 dma-names = "tx", "rx";
2272 pinctrl-names = "default", "sleep";
2273 pinctrl-0 = <&blsp_spi5_default>;
2274 pinctrl-1 = <&blsp_spi5_sleep>;
2275 #address-cells = <1>;
2277 status = "disabled";
2280 blsp_i2c6: i2c@78ba000 {
2281 compatible = "qcom,i2c-qup-v2.2.1";
2282 reg = <0x078ba000 0x500>;
2283 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
2284 clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
2285 <&gcc GCC_BLSP1_AHB_CLK>;
2286 clock-names = "core", "iface";
2287 dmas = <&blsp_dma 14>, <&blsp_dma 15>;
2288 dma-names = "tx", "rx";
2289 pinctrl-names = "default", "sleep";
2290 pinctrl-0 = <&blsp_i2c6_default>;
2291 pinctrl-1 = <&blsp_i2c6_sleep>;
2292 #address-cells = <1>;
2294 status = "disabled";
2297 blsp_spi6: spi@78ba000 {
2298 compatible = "qcom,spi-qup-v2.2.1";
2299 reg = <0x078ba000 0x500>;
2300 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
2301 clocks = <&gcc GCC_BLSP1_QUP6_SPI_APPS_CLK>,
2302 <&gcc GCC_BLSP1_AHB_CLK>;
2303 clock-names = "core", "iface";
2304 dmas = <&blsp_dma 14>, <&blsp_dma 15>;
2305 dma-names = "tx", "rx";
2306 pinctrl-names = "default", "sleep";
2307 pinctrl-0 = <&blsp_spi6_default>;
2308 pinctrl-1 = <&blsp_spi6_sleep>;
2309 #address-cells = <1>;
2311 status = "disabled";
2315 compatible = "qcom,ci-hdrc";
2316 reg = <0x078d9000 0x200>,
2318 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
2319 <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
2320 clocks = <&gcc GCC_USB_HS_AHB_CLK>,
2321 <&gcc GCC_USB_HS_SYSTEM_CLK>;
2322 clock-names = "iface", "core";
2323 assigned-clocks = <&gcc GCC_USB_HS_SYSTEM_CLK>;
2324 assigned-clock-rates = <80000000>;
2325 resets = <&gcc GCC_USB_HS_BCR>;
2326 reset-names = "core";
2332 ahb-burst-config = <0>;
2333 phy-names = "usb-phy";
2334 phys = <&usb_hs_phy>;
2335 status = "disabled";
2340 compatible = "qcom,usb-hs-phy-msm8916",
2343 clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
2344 clock-names = "ref", "sleep";
2345 resets = <&gcc GCC_USB2A_PHY_BCR>, <&usb 0>;
2346 reset-names = "phy", "por";
2347 qcom,init-seq = /bits/ 8 <0x0 0x44>,
2355 wcnss: remoteproc@a204000 {
2356 compatible = "qcom,pronto-v2-pil", "qcom,pronto";
2357 reg = <0x0a204000 0x2000>, <0x0a202000 0x1000>, <0x0a21b000 0x3000>;
2358 reg-names = "ccu", "dxe", "pmu";
2360 memory-region = <&wcnss_mem>;
2362 interrupts-extended = <&intc GIC_SPI 149 IRQ_TYPE_EDGE_RISING>,
2363 <&wcnss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2364 <&wcnss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2365 <&wcnss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2366 <&wcnss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
2367 interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
2369 power-domains = <&rpmpd MSM8916_VDDCX>,
2370 <&rpmpd MSM8916_VDDMX>;
2371 power-domain-names = "cx", "mx";
2373 qcom,smem-states = <&wcnss_smp2p_out 0>;
2374 qcom,smem-state-names = "stop";
2376 pinctrl-names = "default";
2377 pinctrl-0 = <&wcss_wlan_default>;
2379 status = "disabled";
2382 /* Separate chip, compatible is board-specific */
2383 clocks = <&rpmcc RPM_SMD_RF_CLK2>;
2388 interrupts = <GIC_SPI 142 IRQ_TYPE_EDGE_RISING>;
2390 qcom,ipc = <&apcs 8 17>;
2391 qcom,smd-edge = <6>;
2392 qcom,remote-pid = <4>;
2397 compatible = "qcom,wcnss";
2398 qcom,smd-channels = "WCNSS_CTRL";
2400 qcom,mmio = <&wcnss>;
2402 wcnss_bt: bluetooth {
2403 compatible = "qcom,wcnss-bt";
2407 compatible = "qcom,wcnss-wlan";
2409 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
2410 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
2411 interrupt-names = "tx", "rx";
2413 qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
2414 qcom,smem-state-names = "tx-enable", "tx-rings-empty";
2420 intc: interrupt-controller@b000000 {
2421 compatible = "qcom,msm-qgic2";
2422 interrupt-controller;
2423 #interrupt-cells = <3>;
2424 reg = <0x0b000000 0x1000>, <0x0b002000 0x2000>,
2425 <0x0b001000 0x1000>, <0x0b004000 0x2000>;
2426 interrupts = <GIC_PPI 0 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
2429 apcs: mailbox@b011000 {
2430 compatible = "qcom,msm8916-apcs-kpss-global", "syscon";
2431 reg = <0x0b011000 0x1000>;
2433 clocks = <&a53pll>, <&gcc GPLL0_VOTE>;
2434 clock-names = "pll", "aux";
2438 a53pll: clock@b016000 {
2439 compatible = "qcom,msm8916-a53pll";
2440 reg = <0x0b016000 0x40>;
2442 clocks = <&xo_board>;
2447 #address-cells = <1>;
2450 compatible = "arm,armv7-timer-mem";
2451 reg = <0x0b020000 0x1000>;
2452 clock-frequency = <19200000>;
2456 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
2457 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
2458 reg = <0x0b021000 0x1000>,
2459 <0x0b022000 0x1000>;
2464 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
2465 reg = <0x0b023000 0x1000>;
2466 status = "disabled";
2471 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
2472 reg = <0x0b024000 0x1000>;
2473 status = "disabled";
2478 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
2479 reg = <0x0b025000 0x1000>;
2480 status = "disabled";
2485 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
2486 reg = <0x0b026000 0x1000>;
2487 status = "disabled";
2492 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
2493 reg = <0x0b027000 0x1000>;
2494 status = "disabled";
2499 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
2500 reg = <0x0b028000 0x1000>;
2501 status = "disabled";
2505 cpu0_acc: power-manager@b088000 {
2506 compatible = "qcom,msm8916-acc";
2507 reg = <0x0b088000 0x1000>;
2508 status = "reserved"; /* Controlled by PSCI firmware */
2511 cpu0_saw: power-manager@b089000 {
2512 compatible = "qcom,msm8916-saw2-v3.0-cpu", "qcom,saw2";
2513 reg = <0x0b089000 0x1000>;
2514 status = "reserved"; /* Controlled by PSCI firmware */
2517 cpu1_acc: power-manager@b098000 {
2518 compatible = "qcom,msm8916-acc";
2519 reg = <0x0b098000 0x1000>;
2520 status = "reserved"; /* Controlled by PSCI firmware */
2523 cpu1_saw: power-manager@b099000 {
2524 compatible = "qcom,msm8916-saw2-v3.0-cpu", "qcom,saw2";
2525 reg = <0x0b099000 0x1000>;
2526 status = "reserved"; /* Controlled by PSCI firmware */
2529 cpu2_acc: power-manager@b0a8000 {
2530 compatible = "qcom,msm8916-acc";
2531 reg = <0x0b0a8000 0x1000>;
2532 status = "reserved"; /* Controlled by PSCI firmware */
2535 cpu2_saw: power-manager@b0a9000 {
2536 compatible = "qcom,msm8916-saw2-v3.0-cpu", "qcom,saw2";
2537 reg = <0x0b0a9000 0x1000>;
2538 status = "reserved"; /* Controlled by PSCI firmware */
2541 cpu3_acc: power-manager@b0b8000 {
2542 compatible = "qcom,msm8916-acc";
2543 reg = <0x0b0b8000 0x1000>;
2544 status = "reserved"; /* Controlled by PSCI firmware */
2547 cpu3_saw: power-manager@b0b9000 {
2548 compatible = "qcom,msm8916-saw2-v3.0-cpu", "qcom,saw2";
2549 reg = <0x0b0b9000 0x1000>;
2550 status = "reserved"; /* Controlled by PSCI firmware */
2556 polling-delay-passive = <250>;
2557 polling-delay = <1000>;
2559 thermal-sensors = <&tsens 5>;
2562 cpu0_1_alert0: trip-point0 {
2563 temperature = <75000>;
2564 hysteresis = <2000>;
2567 cpu0_1_crit: cpu-crit {
2568 temperature = <110000>;
2569 hysteresis = <2000>;
2576 trip = <&cpu0_1_alert0>;
2577 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2578 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2579 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2580 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2586 polling-delay-passive = <250>;
2587 polling-delay = <1000>;
2589 thermal-sensors = <&tsens 4>;
2592 cpu2_3_alert0: trip-point0 {
2593 temperature = <75000>;
2594 hysteresis = <2000>;
2597 cpu2_3_crit: cpu-crit {
2598 temperature = <110000>;
2599 hysteresis = <2000>;
2606 trip = <&cpu2_3_alert0>;
2607 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2608 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2609 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2610 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2616 polling-delay-passive = <250>;
2617 polling-delay = <1000>;
2619 thermal-sensors = <&tsens 2>;
2622 gpu_alert0: trip-point0 {
2623 temperature = <75000>;
2624 hysteresis = <2000>;
2627 gpu_crit: gpu-crit {
2628 temperature = <95000>;
2629 hysteresis = <2000>;
2636 polling-delay-passive = <250>;
2637 polling-delay = <1000>;
2639 thermal-sensors = <&tsens 1>;
2642 cam_alert0: trip-point0 {
2643 temperature = <75000>;
2644 hysteresis = <2000>;
2651 polling-delay-passive = <250>;
2652 polling-delay = <1000>;
2654 thermal-sensors = <&tsens 0>;
2657 modem_alert0: trip-point0 {
2658 temperature = <85000>;
2659 hysteresis = <2000>;
2667 compatible = "arm,armv8-timer";
2668 interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2669 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2670 <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2671 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;