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 {
78 * The memory region for the mpss firmware is generally
79 * relocatable and could be allocated dynamically.
80 * However, many firmware versions tend to fail when
81 * loaded to some special addresses, so it is hard to
82 * define reliable alloc-ranges.
84 * alignment = <0x0 0x400000>;
85 * alloc-ranges = <0x0 0x86800000 0x0 0x8000000>;
87 reg = <0x0 0x86800000 0x0 0>; /* size is device-specific */
93 size = <0x0 0x600000>;
94 alignment = <0x0 0x100000>;
95 alloc-ranges = <0x0 0x86800000 0x0 0x8000000>;
101 size = <0x0 0x500000>;
102 alignment = <0x0 0x100000>;
103 alloc-ranges = <0x0 0x86800000 0x0 0x8000000>;
109 size = <0x0 0x100000>;
110 alignment = <0x0 0x100000>;
111 alloc-ranges = <0x0 0x86800000 0x0 0x8000000>;
119 compatible = "fixed-clock";
121 clock-frequency = <19200000>;
124 sleep_clk: sleep-clk {
125 compatible = "fixed-clock";
127 clock-frequency = <32768>;
132 #address-cells = <1>;
137 compatible = "arm,cortex-a53";
139 next-level-cache = <&L2_0>;
140 enable-method = "psci";
142 operating-points-v2 = <&cpu_opp_table>;
143 #cooling-cells = <2>;
144 power-domains = <&CPU_PD0>;
145 power-domain-names = "psci";
146 qcom,acc = <&cpu0_acc>;
147 qcom,saw = <&cpu0_saw>;
152 compatible = "arm,cortex-a53";
154 next-level-cache = <&L2_0>;
155 enable-method = "psci";
157 operating-points-v2 = <&cpu_opp_table>;
158 #cooling-cells = <2>;
159 power-domains = <&CPU_PD1>;
160 power-domain-names = "psci";
161 qcom,acc = <&cpu1_acc>;
162 qcom,saw = <&cpu1_saw>;
167 compatible = "arm,cortex-a53";
169 next-level-cache = <&L2_0>;
170 enable-method = "psci";
172 operating-points-v2 = <&cpu_opp_table>;
173 #cooling-cells = <2>;
174 power-domains = <&CPU_PD2>;
175 power-domain-names = "psci";
176 qcom,acc = <&cpu2_acc>;
177 qcom,saw = <&cpu2_saw>;
182 compatible = "arm,cortex-a53";
184 next-level-cache = <&L2_0>;
185 enable-method = "psci";
187 operating-points-v2 = <&cpu_opp_table>;
188 #cooling-cells = <2>;
189 power-domains = <&CPU_PD3>;
190 power-domain-names = "psci";
191 qcom,acc = <&cpu3_acc>;
192 qcom,saw = <&cpu3_saw>;
196 compatible = "cache";
202 entry-method = "psci";
204 CPU_SLEEP_0: cpu-sleep-0 {
205 compatible = "arm,idle-state";
206 idle-state-name = "standalone-power-collapse";
207 arm,psci-suspend-param = <0x40000002>;
208 entry-latency-us = <130>;
209 exit-latency-us = <150>;
210 min-residency-us = <2000>;
217 CLUSTER_RET: cluster-retention {
218 compatible = "domain-idle-state";
219 arm,psci-suspend-param = <0x41000012>;
220 entry-latency-us = <500>;
221 exit-latency-us = <500>;
222 min-residency-us = <2000>;
225 CLUSTER_PWRDN: cluster-gdhs {
226 compatible = "domain-idle-state";
227 arm,psci-suspend-param = <0x41000032>;
228 entry-latency-us = <2000>;
229 exit-latency-us = <2000>;
230 min-residency-us = <6000>;
235 cpu_opp_table: opp-table-cpu {
236 compatible = "operating-points-v2";
240 opp-hz = /bits/ 64 <200000000>;
243 opp-hz = /bits/ 64 <400000000>;
246 opp-hz = /bits/ 64 <800000000>;
249 opp-hz = /bits/ 64 <998400000>;
255 compatible = "qcom,scm-msm8916", "qcom,scm";
256 clocks = <&gcc GCC_CRYPTO_CLK>,
257 <&gcc GCC_CRYPTO_AXI_CLK>,
258 <&gcc GCC_CRYPTO_AHB_CLK>;
259 clock-names = "core", "bus", "iface";
262 qcom,dload-mode = <&tcsr 0x6100>;
267 compatible = "arm,cortex-a53-pmu";
268 interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
272 compatible = "arm,psci-1.0";
275 CPU_PD0: power-domain-cpu0 {
276 #power-domain-cells = <0>;
277 power-domains = <&CLUSTER_PD>;
278 domain-idle-states = <&CPU_SLEEP_0>;
281 CPU_PD1: power-domain-cpu1 {
282 #power-domain-cells = <0>;
283 power-domains = <&CLUSTER_PD>;
284 domain-idle-states = <&CPU_SLEEP_0>;
287 CPU_PD2: power-domain-cpu2 {
288 #power-domain-cells = <0>;
289 power-domains = <&CLUSTER_PD>;
290 domain-idle-states = <&CPU_SLEEP_0>;
293 CPU_PD3: power-domain-cpu3 {
294 #power-domain-cells = <0>;
295 power-domains = <&CLUSTER_PD>;
296 domain-idle-states = <&CPU_SLEEP_0>;
299 CLUSTER_PD: power-domain-cluster {
300 #power-domain-cells = <0>;
301 domain-idle-states = <&CLUSTER_RET>, <&CLUSTER_PWRDN>;
306 compatible = "qcom,msm8916-rpm-proc", "qcom,rpm-proc";
309 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
310 qcom,ipc = <&apcs 8 0>;
311 qcom,smd-edge = <15>;
313 rpm_requests: rpm-requests {
314 compatible = "qcom,rpm-msm8916";
315 qcom,smd-channels = "rpm_requests";
317 rpmcc: clock-controller {
318 compatible = "qcom,rpmcc-msm8916", "qcom,rpmcc";
320 clocks = <&xo_board>;
324 rpmpd: power-controller {
325 compatible = "qcom,msm8916-rpmpd";
326 #power-domain-cells = <1>;
327 operating-points-v2 = <&rpmpd_opp_table>;
329 rpmpd_opp_table: opp-table {
330 compatible = "operating-points-v2";
332 rpmpd_opp_ret: opp1 {
335 rpmpd_opp_svs_krait: opp2 {
338 rpmpd_opp_svs_soc: opp3 {
341 rpmpd_opp_nom: opp4 {
344 rpmpd_opp_turbo: opp5 {
347 rpmpd_opp_super_turbo: opp6 {
357 compatible = "qcom,smp2p";
358 qcom,smem = <435>, <428>;
360 interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>;
362 qcom,ipc = <&apcs 8 14>;
364 qcom,local-pid = <0>;
365 qcom,remote-pid = <1>;
367 hexagon_smp2p_out: master-kernel {
368 qcom,entry-name = "master-kernel";
370 #qcom,smem-state-cells = <1>;
373 hexagon_smp2p_in: slave-kernel {
374 qcom,entry-name = "slave-kernel";
376 interrupt-controller;
377 #interrupt-cells = <2>;
382 compatible = "qcom,smp2p";
383 qcom,smem = <451>, <431>;
385 interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>;
387 qcom,ipc = <&apcs 8 18>;
389 qcom,local-pid = <0>;
390 qcom,remote-pid = <4>;
392 wcnss_smp2p_out: master-kernel {
393 qcom,entry-name = "master-kernel";
395 #qcom,smem-state-cells = <1>;
398 wcnss_smp2p_in: slave-kernel {
399 qcom,entry-name = "slave-kernel";
401 interrupt-controller;
402 #interrupt-cells = <2>;
407 compatible = "qcom,smsm";
409 #address-cells = <1>;
412 qcom,ipc-1 = <&apcs 8 13>;
413 qcom,ipc-3 = <&apcs 8 19>;
418 #qcom,smem-state-cells = <1>;
421 hexagon_smsm: hexagon@1 {
423 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
425 interrupt-controller;
426 #interrupt-cells = <2>;
429 wcnss_smsm: wcnss@6 {
431 interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
433 interrupt-controller;
434 #interrupt-cells = <2>;
439 #address-cells = <1>;
441 ranges = <0 0 0 0xffffffff>;
442 compatible = "simple-bus";
445 compatible = "qcom,prng";
446 reg = <0x00022000 0x200>;
447 clocks = <&gcc GCC_PRNG_AHB_CLK>;
448 clock-names = "core";
452 compatible = "qcom,pshold";
453 reg = <0x004ab000 0x4>;
456 qfprom: qfprom@5c000 {
457 compatible = "qcom,msm8916-qfprom", "qcom,qfprom";
458 reg = <0x0005c000 0x1000>;
459 #address-cells = <1>;
462 tsens_base1: base1@d0 {
467 tsens_s0_p1: s0-p1@d0 {
472 tsens_s0_p2: s0-p2@d1 {
477 tsens_s1_p1: s1-p1@d2 {
481 tsens_s1_p2: s1-p2@d2 {
485 tsens_s2_p1: s2-p1@d3 {
490 tsens_s2_p2: s2-p2@d4 {
495 // no tsens with hw_id 3
497 tsens_s4_p1: s4-p1@d4 {
502 tsens_s4_p2: s4-p2@d5 {
507 tsens_s5_p1: s5-p1@d5 {
512 tsens_s5_p2: s5-p2@d6 {
517 tsens_base2: base2@d7 {
522 tsens_mode: mode@ef {
528 rpm_msg_ram: sram@60000 {
529 compatible = "qcom,rpm-msg-ram";
530 reg = <0x00060000 0x8000>;
534 compatible = "qcom,msm8916-rpm-stats";
535 reg = <0x00290000 0x10000>;
538 bimc: interconnect@400000 {
539 compatible = "qcom,msm8916-bimc";
540 reg = <0x00400000 0x62000>;
541 #interconnect-cells = <1>;
544 tsens: thermal-sensor@4a9000 {
545 compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1";
546 reg = <0x004a9000 0x1000>, /* TM */
547 <0x004a8000 0x1000>; /* SROT */
550 nvmem-cells = <&tsens_mode>,
551 <&tsens_base1>, <&tsens_base2>,
552 <&tsens_s0_p1>, <&tsens_s0_p2>,
553 <&tsens_s1_p1>, <&tsens_s1_p2>,
554 <&tsens_s2_p1>, <&tsens_s2_p2>,
555 <&tsens_s4_p1>, <&tsens_s4_p2>,
556 <&tsens_s5_p1>, <&tsens_s5_p2>;
557 nvmem-cell-names = "mode",
565 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
566 interrupt-names = "uplow";
567 #thermal-sensor-cells = <1>;
570 pcnoc: interconnect@500000 {
571 compatible = "qcom,msm8916-pcnoc";
572 reg = <0x00500000 0x11000>;
573 #interconnect-cells = <1>;
576 snoc: interconnect@580000 {
577 compatible = "qcom,msm8916-snoc";
578 reg = <0x00580000 0x14000>;
579 #interconnect-cells = <1>;
583 compatible = "arm,coresight-stm", "arm,primecell";
584 reg = <0x00802000 0x1000>,
585 <0x09280000 0x180000>;
586 reg-names = "stm-base", "stm-stimulus-base";
588 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
589 clock-names = "apb_pclk", "atclk";
596 remote-endpoint = <&funnel0_in7>;
603 /* CTI 0 - TMC connections */
605 compatible = "arm,coresight-cti", "arm,primecell";
606 reg = <0x00810000 0x1000>;
608 clocks = <&rpmcc RPM_QDSS_CLK>;
609 clock-names = "apb_pclk";
614 /* CTI 1 - TPIU connections */
616 compatible = "arm,coresight-cti", "arm,primecell";
617 reg = <0x00811000 0x1000>;
619 clocks = <&rpmcc RPM_QDSS_CLK>;
620 clock-names = "apb_pclk";
625 /* CTIs 2-11 - no information - not instantiated */
628 compatible = "arm,coresight-tpiu", "arm,primecell";
629 reg = <0x00820000 0x1000>;
631 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
632 clock-names = "apb_pclk", "atclk";
639 remote-endpoint = <&replicator_out1>;
645 funnel0: funnel@821000 {
646 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
647 reg = <0x00821000 0x1000>;
649 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
650 clock-names = "apb_pclk", "atclk";
655 #address-cells = <1>;
659 * Not described input ports:
660 * 0 - connected to Resource and Power Manger CPU ETM
662 * 2 - connected to Modem CPU ETM
665 * 6 - connected trought funnel to Wireless CPU ETM
666 * 7 - connected to STM component
671 funnel0_in4: endpoint {
672 remote-endpoint = <&funnel1_out>;
678 funnel0_in7: endpoint {
679 remote-endpoint = <&stm_out>;
686 funnel0_out: endpoint {
687 remote-endpoint = <&etf_in>;
693 replicator: replicator@824000 {
694 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
695 reg = <0x00824000 0x1000>;
697 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
698 clock-names = "apb_pclk", "atclk";
703 #address-cells = <1>;
708 replicator_out0: endpoint {
709 remote-endpoint = <&etr_in>;
714 replicator_out1: endpoint {
715 remote-endpoint = <&tpiu_in>;
722 replicator_in: endpoint {
723 remote-endpoint = <&etf_out>;
730 compatible = "arm,coresight-tmc", "arm,primecell";
731 reg = <0x00825000 0x1000>;
733 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
734 clock-names = "apb_pclk", "atclk";
741 remote-endpoint = <&funnel0_out>;
749 remote-endpoint = <&replicator_in>;
756 compatible = "arm,coresight-tmc", "arm,primecell";
757 reg = <0x00826000 0x1000>;
759 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
760 clock-names = "apb_pclk", "atclk";
767 remote-endpoint = <&replicator_out0>;
773 funnel1: funnel@841000 { /* APSS funnel only 4 inputs are used */
774 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
775 reg = <0x00841000 0x1000>;
777 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
778 clock-names = "apb_pclk", "atclk";
783 #address-cells = <1>;
788 funnel1_in0: endpoint {
789 remote-endpoint = <&etm0_out>;
794 funnel1_in1: endpoint {
795 remote-endpoint = <&etm1_out>;
800 funnel1_in2: endpoint {
801 remote-endpoint = <&etm2_out>;
806 funnel1_in3: endpoint {
807 remote-endpoint = <&etm3_out>;
814 funnel1_out: endpoint {
815 remote-endpoint = <&funnel0_in4>;
821 debug0: debug@850000 {
822 compatible = "arm,coresight-cpu-debug", "arm,primecell";
823 reg = <0x00850000 0x1000>;
824 clocks = <&rpmcc RPM_QDSS_CLK>;
825 clock-names = "apb_pclk";
830 debug1: debug@852000 {
831 compatible = "arm,coresight-cpu-debug", "arm,primecell";
832 reg = <0x00852000 0x1000>;
833 clocks = <&rpmcc RPM_QDSS_CLK>;
834 clock-names = "apb_pclk";
839 debug2: debug@854000 {
840 compatible = "arm,coresight-cpu-debug", "arm,primecell";
841 reg = <0x00854000 0x1000>;
842 clocks = <&rpmcc RPM_QDSS_CLK>;
843 clock-names = "apb_pclk";
848 debug3: debug@856000 {
849 compatible = "arm,coresight-cpu-debug", "arm,primecell";
850 reg = <0x00856000 0x1000>;
851 clocks = <&rpmcc RPM_QDSS_CLK>;
852 clock-names = "apb_pclk";
857 /* Core CTIs; CTIs 12-15 */
860 compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
862 reg = <0x00858000 0x1000>;
864 clocks = <&rpmcc RPM_QDSS_CLK>;
865 clock-names = "apb_pclk";
868 arm,cs-dev-assoc = <&etm0>;
875 compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
877 reg = <0x00859000 0x1000>;
879 clocks = <&rpmcc RPM_QDSS_CLK>;
880 clock-names = "apb_pclk";
883 arm,cs-dev-assoc = <&etm1>;
890 compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
892 reg = <0x0085a000 0x1000>;
894 clocks = <&rpmcc RPM_QDSS_CLK>;
895 clock-names = "apb_pclk";
898 arm,cs-dev-assoc = <&etm2>;
905 compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
907 reg = <0x0085b000 0x1000>;
909 clocks = <&rpmcc RPM_QDSS_CLK>;
910 clock-names = "apb_pclk";
913 arm,cs-dev-assoc = <&etm3>;
919 compatible = "arm,coresight-etm4x", "arm,primecell";
920 reg = <0x0085c000 0x1000>;
922 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
923 clock-names = "apb_pclk", "atclk";
924 arm,coresight-loses-context-with-cpu;
933 remote-endpoint = <&funnel1_in0>;
940 compatible = "arm,coresight-etm4x", "arm,primecell";
941 reg = <0x0085d000 0x1000>;
943 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
944 clock-names = "apb_pclk", "atclk";
945 arm,coresight-loses-context-with-cpu;
954 remote-endpoint = <&funnel1_in1>;
961 compatible = "arm,coresight-etm4x", "arm,primecell";
962 reg = <0x0085e000 0x1000>;
964 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
965 clock-names = "apb_pclk", "atclk";
966 arm,coresight-loses-context-with-cpu;
975 remote-endpoint = <&funnel1_in2>;
982 compatible = "arm,coresight-etm4x", "arm,primecell";
983 reg = <0x0085f000 0x1000>;
985 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
986 clock-names = "apb_pclk", "atclk";
987 arm,coresight-loses-context-with-cpu;
996 remote-endpoint = <&funnel1_in3>;
1002 tlmm: pinctrl@1000000 {
1003 compatible = "qcom,msm8916-pinctrl";
1004 reg = <0x01000000 0x300000>;
1005 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1007 gpio-ranges = <&tlmm 0 0 122>;
1009 interrupt-controller;
1010 #interrupt-cells = <2>;
1012 blsp_i2c1_default: blsp-i2c1-default-state {
1013 pins = "gpio2", "gpio3";
1014 function = "blsp_i2c1";
1015 drive-strength = <2>;
1019 blsp_i2c1_sleep: blsp-i2c1-sleep-state {
1020 pins = "gpio2", "gpio3";
1022 drive-strength = <2>;
1026 blsp_i2c2_default: blsp-i2c2-default-state {
1027 pins = "gpio6", "gpio7";
1028 function = "blsp_i2c2";
1029 drive-strength = <2>;
1033 blsp_i2c2_sleep: blsp-i2c2-sleep-state {
1034 pins = "gpio6", "gpio7";
1036 drive-strength = <2>;
1040 blsp_i2c3_default: blsp-i2c3-default-state {
1041 pins = "gpio10", "gpio11";
1042 function = "blsp_i2c3";
1043 drive-strength = <2>;
1047 blsp_i2c3_sleep: blsp-i2c3-sleep-state {
1048 pins = "gpio10", "gpio11";
1050 drive-strength = <2>;
1054 blsp_i2c4_default: blsp-i2c4-default-state {
1055 pins = "gpio14", "gpio15";
1056 function = "blsp_i2c4";
1057 drive-strength = <2>;
1061 blsp_i2c4_sleep: blsp-i2c4-sleep-state {
1062 pins = "gpio14", "gpio15";
1064 drive-strength = <2>;
1068 blsp_i2c5_default: blsp-i2c5-default-state {
1069 pins = "gpio18", "gpio19";
1070 function = "blsp_i2c5";
1071 drive-strength = <2>;
1075 blsp_i2c5_sleep: blsp-i2c5-sleep-state {
1076 pins = "gpio18", "gpio19";
1078 drive-strength = <2>;
1082 blsp_i2c6_default: blsp-i2c6-default-state {
1083 pins = "gpio22", "gpio23";
1084 function = "blsp_i2c6";
1085 drive-strength = <2>;
1089 blsp_i2c6_sleep: blsp-i2c6-sleep-state {
1090 pins = "gpio22", "gpio23";
1092 drive-strength = <2>;
1096 blsp_spi1_default: blsp-spi1-default-state {
1098 pins = "gpio0", "gpio1", "gpio3";
1099 function = "blsp_spi1";
1100 drive-strength = <12>;
1106 drive-strength = <16>;
1112 blsp_spi1_sleep: blsp-spi1-sleep-state {
1113 pins = "gpio0", "gpio1", "gpio2", "gpio3";
1115 drive-strength = <2>;
1119 blsp_spi2_default: blsp-spi2-default-state {
1121 pins = "gpio4", "gpio5", "gpio7";
1122 function = "blsp_spi2";
1123 drive-strength = <12>;
1129 drive-strength = <16>;
1135 blsp_spi2_sleep: blsp-spi2-sleep-state {
1136 pins = "gpio4", "gpio5", "gpio6", "gpio7";
1138 drive-strength = <2>;
1142 blsp_spi3_default: blsp-spi3-default-state {
1144 pins = "gpio8", "gpio9", "gpio11";
1145 function = "blsp_spi3";
1146 drive-strength = <12>;
1152 drive-strength = <16>;
1158 blsp_spi3_sleep: blsp-spi3-sleep-state {
1159 pins = "gpio8", "gpio9", "gpio10", "gpio11";
1161 drive-strength = <2>;
1165 blsp_spi4_default: blsp-spi4-default-state {
1167 pins = "gpio12", "gpio13", "gpio15";
1168 function = "blsp_spi4";
1169 drive-strength = <12>;
1175 drive-strength = <16>;
1181 blsp_spi4_sleep: blsp-spi4-sleep-state {
1182 pins = "gpio12", "gpio13", "gpio14", "gpio15";
1184 drive-strength = <2>;
1188 blsp_spi5_default: blsp-spi5-default-state {
1190 pins = "gpio16", "gpio17", "gpio19";
1191 function = "blsp_spi5";
1192 drive-strength = <12>;
1198 drive-strength = <16>;
1204 blsp_spi5_sleep: blsp-spi5-sleep-state {
1205 pins = "gpio16", "gpio17", "gpio18", "gpio19";
1207 drive-strength = <2>;
1211 blsp_spi6_default: blsp-spi6-default-state {
1213 pins = "gpio20", "gpio21", "gpio23";
1214 function = "blsp_spi6";
1215 drive-strength = <12>;
1221 drive-strength = <16>;
1227 blsp_spi6_sleep: blsp-spi6-sleep-state {
1228 pins = "gpio20", "gpio21", "gpio22", "gpio23";
1230 drive-strength = <2>;
1234 blsp_uart1_default: blsp-uart1-default-state {
1235 /* TX, RX, CTS_N, RTS_N */
1236 pins = "gpio0", "gpio1", "gpio2", "gpio3";
1237 function = "blsp_uart1";
1238 drive-strength = <16>;
1242 blsp_uart1_sleep: blsp-uart1-sleep-state {
1243 pins = "gpio0", "gpio1", "gpio2", "gpio3";
1245 drive-strength = <2>;
1249 blsp_uart2_default: blsp-uart2-default-state {
1250 pins = "gpio4", "gpio5";
1251 function = "blsp_uart2";
1252 drive-strength = <16>;
1256 blsp_uart2_sleep: blsp-uart2-sleep-state {
1257 pins = "gpio4", "gpio5";
1259 drive-strength = <2>;
1263 camera_front_default: camera-front-default-state {
1267 drive-strength = <16>;
1273 drive-strength = <16>;
1278 function = "cam_mclk1";
1279 drive-strength = <16>;
1284 camera_rear_default: camera-rear-default-state {
1288 drive-strength = <16>;
1294 drive-strength = <16>;
1299 function = "cam_mclk0";
1300 drive-strength = <16>;
1305 cci0_default: cci0-default-state {
1306 pins = "gpio29", "gpio30";
1307 function = "cci_i2c";
1308 drive-strength = <16>;
1312 cdc_dmic_default: cdc-dmic-default-state {
1315 function = "dmic0_clk";
1316 drive-strength = <8>;
1320 function = "dmic0_data";
1321 drive-strength = <8>;
1325 cdc_dmic_sleep: cdc-dmic-sleep-state {
1328 function = "dmic0_clk";
1329 drive-strength = <2>;
1334 function = "dmic0_data";
1335 drive-strength = <2>;
1340 cdc_pdm_default: cdc-pdm-default-state {
1341 pins = "gpio63", "gpio64", "gpio65", "gpio66",
1343 function = "cdc_pdm0";
1344 drive-strength = <8>;
1348 cdc_pdm_sleep: cdc-pdm-sleep-state {
1349 pins = "gpio63", "gpio64", "gpio65", "gpio66",
1351 function = "cdc_pdm0";
1352 drive-strength = <2>;
1356 pri_mi2s_default: mi2s-pri-default-state {
1357 pins = "gpio113", "gpio114", "gpio115", "gpio116";
1358 function = "pri_mi2s";
1359 drive-strength = <8>;
1363 pri_mi2s_sleep: mi2s-pri-sleep-state {
1364 pins = "gpio113", "gpio114", "gpio115", "gpio116";
1365 function = "pri_mi2s";
1366 drive-strength = <2>;
1370 pri_mi2s_mclk_default: mi2s-pri-mclk-default-state {
1372 function = "pri_mi2s";
1373 drive-strength = <8>;
1377 pri_mi2s_mclk_sleep: mi2s-pri-mclk-sleep-state {
1379 function = "pri_mi2s";
1380 drive-strength = <2>;
1384 pri_mi2s_ws_default: mi2s-pri-ws-default-state {
1386 function = "pri_mi2s_ws";
1387 drive-strength = <8>;
1391 pri_mi2s_ws_sleep: mi2s-pri-ws-sleep-state {
1393 function = "pri_mi2s_ws";
1394 drive-strength = <2>;
1398 sec_mi2s_default: mi2s-sec-default-state {
1399 pins = "gpio112", "gpio117", "gpio118", "gpio119";
1400 function = "sec_mi2s";
1401 drive-strength = <8>;
1405 sec_mi2s_sleep: mi2s-sec-sleep-state {
1406 pins = "gpio112", "gpio117", "gpio118", "gpio119";
1407 function = "sec_mi2s";
1408 drive-strength = <2>;
1412 sdc1_default: sdc1-default-state {
1416 drive-strength = <16>;
1421 drive-strength = <10>;
1426 drive-strength = <10>;
1430 sdc1_sleep: sdc1-sleep-state {
1434 drive-strength = <2>;
1439 drive-strength = <2>;
1444 drive-strength = <2>;
1448 sdc2_default: sdc2-default-state {
1452 drive-strength = <16>;
1457 drive-strength = <10>;
1462 drive-strength = <10>;
1466 sdc2_sleep: sdc2-sleep-state {
1470 drive-strength = <2>;
1475 drive-strength = <2>;
1480 drive-strength = <2>;
1484 wcss_wlan_default: wcss-wlan-default-state {
1485 pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44";
1486 function = "wcss_wlan";
1487 drive-strength = <6>;
1492 gcc: clock-controller@1800000 {
1493 compatible = "qcom,gcc-msm8916";
1496 #power-domain-cells = <1>;
1497 reg = <0x01800000 0x80000>;
1498 clocks = <&xo_board>,
1514 tcsr_mutex: hwlock@1905000 {
1515 compatible = "qcom,tcsr-mutex";
1516 reg = <0x01905000 0x20000>;
1517 #hwlock-cells = <1>;
1520 tcsr: syscon@1937000 {
1521 compatible = "qcom,tcsr-msm8916", "syscon";
1522 reg = <0x01937000 0x30000>;
1525 mdss: display-subsystem@1a00000 {
1526 status = "disabled";
1527 compatible = "qcom,mdss";
1528 reg = <0x01a00000 0x1000>,
1529 <0x01ac8000 0x3000>;
1530 reg-names = "mdss_phys", "vbif_phys";
1532 power-domains = <&gcc MDSS_GDSC>;
1534 clocks = <&gcc GCC_MDSS_AHB_CLK>,
1535 <&gcc GCC_MDSS_AXI_CLK>,
1536 <&gcc GCC_MDSS_VSYNC_CLK>;
1537 clock-names = "iface",
1541 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
1543 interrupt-controller;
1544 #interrupt-cells = <1>;
1546 #address-cells = <1>;
1550 mdss_mdp: display-controller@1a01000 {
1551 compatible = "qcom,msm8916-mdp5", "qcom,mdp5";
1552 reg = <0x01a01000 0x89000>;
1553 reg-names = "mdp_phys";
1555 interrupt-parent = <&mdss>;
1558 clocks = <&gcc GCC_MDSS_AHB_CLK>,
1559 <&gcc GCC_MDSS_AXI_CLK>,
1560 <&gcc GCC_MDSS_MDP_CLK>,
1561 <&gcc GCC_MDSS_VSYNC_CLK>;
1562 clock-names = "iface",
1567 iommus = <&apps_iommu 4>;
1570 #address-cells = <1>;
1575 mdss_mdp_intf1_out: endpoint {
1576 remote-endpoint = <&mdss_dsi0_in>;
1582 mdss_dsi0: dsi@1a98000 {
1583 compatible = "qcom,msm8916-dsi-ctrl",
1584 "qcom,mdss-dsi-ctrl";
1585 reg = <0x01a98000 0x25c>;
1586 reg-names = "dsi_ctrl";
1588 interrupt-parent = <&mdss>;
1591 assigned-clocks = <&gcc BYTE0_CLK_SRC>,
1592 <&gcc PCLK0_CLK_SRC>;
1593 assigned-clock-parents = <&mdss_dsi0_phy 0>,
1596 clocks = <&gcc GCC_MDSS_MDP_CLK>,
1597 <&gcc GCC_MDSS_AHB_CLK>,
1598 <&gcc GCC_MDSS_AXI_CLK>,
1599 <&gcc GCC_MDSS_BYTE0_CLK>,
1600 <&gcc GCC_MDSS_PCLK0_CLK>,
1601 <&gcc GCC_MDSS_ESC0_CLK>;
1602 clock-names = "mdp_core",
1608 phys = <&mdss_dsi0_phy>;
1610 #address-cells = <1>;
1614 #address-cells = <1>;
1619 mdss_dsi0_in: endpoint {
1620 remote-endpoint = <&mdss_mdp_intf1_out>;
1626 mdss_dsi0_out: endpoint {
1632 mdss_dsi0_phy: phy@1a98300 {
1633 compatible = "qcom,dsi-phy-28nm-lp";
1634 reg = <0x01a98300 0xd4>,
1637 reg-names = "dsi_pll",
1639 "dsi_phy_regulator";
1644 clocks = <&gcc GCC_MDSS_AHB_CLK>,
1646 clock-names = "iface", "ref";
1650 camss: camss@1b0ac00 {
1651 compatible = "qcom,msm8916-camss";
1652 reg = <0x01b0ac00 0x200>,
1660 <0x01b10000 0x1000>;
1661 reg-names = "csiphy0",
1670 interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>,
1671 <GIC_SPI 79 IRQ_TYPE_EDGE_RISING>,
1672 <GIC_SPI 51 IRQ_TYPE_EDGE_RISING>,
1673 <GIC_SPI 52 IRQ_TYPE_EDGE_RISING>,
1674 <GIC_SPI 55 IRQ_TYPE_EDGE_RISING>,
1675 <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
1676 interrupt-names = "csiphy0",
1682 power-domains = <&gcc VFE_GDSC>;
1683 clocks = <&gcc GCC_CAMSS_TOP_AHB_CLK>,
1684 <&gcc GCC_CAMSS_ISPIF_AHB_CLK>,
1685 <&gcc GCC_CAMSS_CSI0PHYTIMER_CLK>,
1686 <&gcc GCC_CAMSS_CSI1PHYTIMER_CLK>,
1687 <&gcc GCC_CAMSS_CSI0_AHB_CLK>,
1688 <&gcc GCC_CAMSS_CSI0_CLK>,
1689 <&gcc GCC_CAMSS_CSI0PHY_CLK>,
1690 <&gcc GCC_CAMSS_CSI0PIX_CLK>,
1691 <&gcc GCC_CAMSS_CSI0RDI_CLK>,
1692 <&gcc GCC_CAMSS_CSI1_AHB_CLK>,
1693 <&gcc GCC_CAMSS_CSI1_CLK>,
1694 <&gcc GCC_CAMSS_CSI1PHY_CLK>,
1695 <&gcc GCC_CAMSS_CSI1PIX_CLK>,
1696 <&gcc GCC_CAMSS_CSI1RDI_CLK>,
1697 <&gcc GCC_CAMSS_AHB_CLK>,
1698 <&gcc GCC_CAMSS_VFE0_CLK>,
1699 <&gcc GCC_CAMSS_CSI_VFE0_CLK>,
1700 <&gcc GCC_CAMSS_VFE_AHB_CLK>,
1701 <&gcc GCC_CAMSS_VFE_AXI_CLK>;
1702 clock-names = "top_ahb",
1721 iommus = <&apps_iommu 3>;
1722 status = "disabled";
1724 #address-cells = <1>;
1738 compatible = "qcom,msm8916-cci", "qcom,msm8226-cci";
1739 #address-cells = <1>;
1741 reg = <0x01b0c000 0x1000>;
1742 interrupts = <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
1743 clocks = <&gcc GCC_CAMSS_TOP_AHB_CLK>,
1744 <&gcc GCC_CAMSS_CCI_AHB_CLK>,
1745 <&gcc GCC_CAMSS_CCI_CLK>,
1746 <&gcc GCC_CAMSS_AHB_CLK>;
1747 clock-names = "camss_top_ahb", "cci_ahb",
1749 assigned-clocks = <&gcc GCC_CAMSS_CCI_AHB_CLK>,
1750 <&gcc GCC_CAMSS_CCI_CLK>;
1751 assigned-clock-rates = <80000000>, <19200000>;
1752 pinctrl-names = "default";
1753 pinctrl-0 = <&cci0_default>;
1754 status = "disabled";
1756 cci_i2c0: i2c-bus@0 {
1758 clock-frequency = <400000>;
1759 #address-cells = <1>;
1765 compatible = "qcom,adreno-306.0", "qcom,adreno";
1766 reg = <0x01c00000 0x20000>;
1767 reg-names = "kgsl_3d0_reg_memory";
1768 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
1769 interrupt-names = "kgsl_3d0_irq";
1778 <&gcc GCC_OXILI_GFX3D_CLK>,
1779 <&gcc GCC_OXILI_AHB_CLK>,
1780 <&gcc GCC_OXILI_GMEM_CLK>,
1781 <&gcc GCC_BIMC_GFX_CLK>,
1782 <&gcc GCC_BIMC_GPU_CLK>,
1783 <&gcc GFX3D_CLK_SRC>;
1784 power-domains = <&gcc OXILI_GDSC>;
1785 operating-points-v2 = <&gpu_opp_table>;
1786 iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
1787 status = "disabled";
1789 gpu_opp_table: opp-table {
1790 compatible = "operating-points-v2";
1793 opp-hz = /bits/ 64 <400000000>;
1796 opp-hz = /bits/ 64 <19200000>;
1801 venus: video-codec@1d00000 {
1802 compatible = "qcom,msm8916-venus";
1803 reg = <0x01d00000 0xff000>;
1804 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
1805 power-domains = <&gcc VENUS_GDSC>;
1806 clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>,
1807 <&gcc GCC_VENUS0_AHB_CLK>,
1808 <&gcc GCC_VENUS0_AXI_CLK>;
1809 clock-names = "core", "iface", "bus";
1810 iommus = <&apps_iommu 5>;
1811 memory-region = <&venus_mem>;
1812 status = "disabled";
1815 compatible = "venus-decoder";
1819 compatible = "venus-encoder";
1823 apps_iommu: iommu@1ef0000 {
1824 #address-cells = <1>;
1827 compatible = "qcom,msm8916-iommu", "qcom,msm-iommu-v1";
1828 ranges = <0 0x01e20000 0x20000>;
1829 reg = <0x01ef0000 0x3000>;
1830 clocks = <&gcc GCC_SMMU_CFG_CLK>,
1831 <&gcc GCC_APSS_TCU_CLK>;
1832 clock-names = "iface", "bus";
1833 qcom,iommu-secure-id = <17>;
1837 compatible = "qcom,msm-iommu-v1-sec";
1838 reg = <0x3000 0x1000>;
1839 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1844 compatible = "qcom,msm-iommu-v1-ns";
1845 reg = <0x4000 0x1000>;
1846 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1851 compatible = "qcom,msm-iommu-v1-sec";
1852 reg = <0x5000 0x1000>;
1853 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1857 gpu_iommu: iommu@1f08000 {
1858 #address-cells = <1>;
1861 compatible = "qcom,msm8916-iommu", "qcom,msm-iommu-v1";
1862 ranges = <0 0x01f08000 0x10000>;
1863 clocks = <&gcc GCC_SMMU_CFG_CLK>,
1864 <&gcc GCC_GFX_TCU_CLK>;
1865 clock-names = "iface", "bus";
1866 qcom,iommu-secure-id = <18>;
1870 compatible = "qcom,msm-iommu-v1-ns";
1871 reg = <0x1000 0x1000>;
1872 interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
1877 compatible = "qcom,msm-iommu-v1-ns";
1878 reg = <0x2000 0x1000>;
1879 interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>;
1883 spmi_bus: spmi@200f000 {
1884 compatible = "qcom,spmi-pmic-arb";
1885 reg = <0x0200f000 0x001000>,
1886 <0x02400000 0x400000>,
1887 <0x02c00000 0x400000>,
1888 <0x03800000 0x200000>,
1889 <0x0200a000 0x002100>;
1890 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1891 interrupt-names = "periph_irq";
1892 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
1895 #address-cells = <2>;
1897 interrupt-controller;
1898 #interrupt-cells = <4>;
1901 bam_dmux_dma: dma-controller@4044000 {
1902 compatible = "qcom,bam-v1.7.0";
1903 reg = <0x04044000 0x19000>;
1904 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1910 qcom,powered-remotely;
1912 status = "disabled";
1915 mpss: remoteproc@4080000 {
1916 compatible = "qcom,msm8916-mss-pil";
1917 reg = <0x04080000 0x100>,
1920 reg-names = "qdsp6", "rmb";
1922 interrupts-extended = <&intc GIC_SPI 24 IRQ_TYPE_EDGE_RISING>,
1923 <&hexagon_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1924 <&hexagon_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1925 <&hexagon_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1926 <&hexagon_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
1927 interrupt-names = "wdog", "fatal", "ready",
1928 "handover", "stop-ack";
1930 power-domains = <&rpmpd MSM8916_VDDCX>,
1931 <&rpmpd MSM8916_VDDMX>;
1932 power-domain-names = "cx", "mx";
1934 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
1935 <&gcc GCC_MSS_Q6_BIMC_AXI_CLK>,
1936 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1938 clock-names = "iface", "bus", "mem", "xo";
1940 qcom,smem-states = <&hexagon_smp2p_out 0>;
1941 qcom,smem-state-names = "stop";
1944 reset-names = "mss_restart";
1946 qcom,halt-regs = <&tcsr 0x18000 0x19000 0x1a000>;
1948 status = "disabled";
1951 memory-region = <&mba_mem>;
1955 memory-region = <&mpss_mem>;
1958 bam_dmux: bam-dmux {
1959 compatible = "qcom,bam-dmux";
1961 interrupt-parent = <&hexagon_smsm>;
1962 interrupts = <1 IRQ_TYPE_EDGE_BOTH>, <11 IRQ_TYPE_EDGE_BOTH>;
1963 interrupt-names = "pc", "pc-ack";
1965 qcom,smem-states = <&apps_smsm 1>, <&apps_smsm 11>;
1966 qcom,smem-state-names = "pc", "pc-ack";
1968 dmas = <&bam_dmux_dma 4>, <&bam_dmux_dma 5>;
1969 dma-names = "tx", "rx";
1971 status = "disabled";
1975 interrupts = <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>;
1977 qcom,smd-edge = <0>;
1978 qcom,ipc = <&apcs 8 12>;
1979 qcom,remote-pid = <1>;
1984 compatible = "qcom,fastrpc";
1985 qcom,smd-channels = "fastrpcsmd-apps-dsp";
1987 qcom,non-secure-domain;
1989 #address-cells = <1>;
1993 compatible = "qcom,fastrpc-compute-cb";
2000 sound: sound@7702000 {
2001 status = "disabled";
2002 compatible = "qcom,apq8016-sbc-sndcard";
2003 reg = <0x07702000 0x4>, <0x07702004 0x4>;
2004 reg-names = "mic-iomux", "spkr-iomux";
2007 lpass: audio-controller@7708000 {
2008 status = "disabled";
2009 compatible = "qcom,apq8016-lpass-cpu";
2012 * Note: Unlike the name would suggest, the SEC_I2S_CLK
2013 * is actually only used by Tertiary MI2S while
2014 * Primary/Secondary MI2S both use the PRI_I2S_CLK.
2016 clocks = <&gcc GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK>,
2017 <&gcc GCC_ULTAUDIO_LPAIF_PRI_I2S_CLK>,
2018 <&gcc GCC_ULTAUDIO_LPAIF_PRI_I2S_CLK>,
2019 <&gcc GCC_ULTAUDIO_LPAIF_SEC_I2S_CLK>,
2020 <&gcc GCC_ULTAUDIO_LPAIF_AUX_I2S_CLK>,
2021 <&gcc GCC_ULTAUDIO_PCNOC_MPORT_CLK>,
2022 <&gcc GCC_ULTAUDIO_PCNOC_SWAY_CLK>;
2024 clock-names = "ahbix-clk",
2031 #sound-dai-cells = <1>;
2033 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>;
2034 interrupt-names = "lpass-irq-lpaif";
2035 reg = <0x07708000 0x10000>;
2036 reg-names = "lpass-lpaif";
2038 #address-cells = <1>;
2042 lpass_codec: audio-codec@771c000 {
2043 compatible = "qcom,msm8916-wcd-digital-codec";
2044 reg = <0x0771c000 0x400>;
2045 clocks = <&gcc GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK>,
2046 <&gcc GCC_CODEC_DIGCODEC_CLK>;
2047 clock-names = "ahbix-clk", "mclk";
2048 #sound-dai-cells = <1>;
2049 status = "disabled";
2052 sdhc_1: mmc@7824900 {
2053 compatible = "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4";
2054 reg = <0x07824900 0x11c>, <0x07824000 0x800>;
2055 reg-names = "hc", "core";
2057 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
2058 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
2059 interrupt-names = "hc_irq", "pwr_irq";
2060 clocks = <&gcc GCC_SDCC1_AHB_CLK>,
2061 <&gcc GCC_SDCC1_APPS_CLK>,
2063 clock-names = "iface", "core", "xo";
2064 pinctrl-0 = <&sdc1_default>;
2065 pinctrl-1 = <&sdc1_sleep>;
2066 pinctrl-names = "default", "sleep";
2070 status = "disabled";
2073 sdhc_2: mmc@7864900 {
2074 compatible = "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4";
2075 reg = <0x07864900 0x11c>, <0x07864000 0x800>;
2076 reg-names = "hc", "core";
2078 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
2079 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
2080 interrupt-names = "hc_irq", "pwr_irq";
2081 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
2082 <&gcc GCC_SDCC2_APPS_CLK>,
2084 clock-names = "iface", "core", "xo";
2085 pinctrl-0 = <&sdc2_default>;
2086 pinctrl-1 = <&sdc2_sleep>;
2087 pinctrl-names = "default", "sleep";
2089 status = "disabled";
2092 blsp_dma: dma-controller@7884000 {
2093 compatible = "qcom,bam-v1.7.0";
2094 reg = <0x07884000 0x23000>;
2095 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
2096 clocks = <&gcc GCC_BLSP1_AHB_CLK>;
2097 clock-names = "bam_clk";
2102 blsp_uart1: serial@78af000 {
2103 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2104 reg = <0x078af000 0x200>;
2105 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
2106 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
2107 clock-names = "core", "iface";
2108 dmas = <&blsp_dma 0>, <&blsp_dma 1>;
2109 dma-names = "tx", "rx";
2110 pinctrl-names = "default", "sleep";
2111 pinctrl-0 = <&blsp_uart1_default>;
2112 pinctrl-1 = <&blsp_uart1_sleep>;
2113 status = "disabled";
2116 blsp_uart2: serial@78b0000 {
2117 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2118 reg = <0x078b0000 0x200>;
2119 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
2120 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
2121 clock-names = "core", "iface";
2122 dmas = <&blsp_dma 2>, <&blsp_dma 3>;
2123 dma-names = "tx", "rx";
2124 pinctrl-names = "default", "sleep";
2125 pinctrl-0 = <&blsp_uart2_default>;
2126 pinctrl-1 = <&blsp_uart2_sleep>;
2127 status = "disabled";
2130 blsp_i2c1: i2c@78b5000 {
2131 compatible = "qcom,i2c-qup-v2.2.1";
2132 reg = <0x078b5000 0x500>;
2133 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
2134 clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
2135 <&gcc GCC_BLSP1_AHB_CLK>;
2136 clock-names = "core", "iface";
2137 dmas = <&blsp_dma 4>, <&blsp_dma 5>;
2138 dma-names = "tx", "rx";
2139 pinctrl-names = "default", "sleep";
2140 pinctrl-0 = <&blsp_i2c1_default>;
2141 pinctrl-1 = <&blsp_i2c1_sleep>;
2142 #address-cells = <1>;
2144 status = "disabled";
2147 blsp_spi1: spi@78b5000 {
2148 compatible = "qcom,spi-qup-v2.2.1";
2149 reg = <0x078b5000 0x500>;
2150 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
2151 clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
2152 <&gcc GCC_BLSP1_AHB_CLK>;
2153 clock-names = "core", "iface";
2154 dmas = <&blsp_dma 4>, <&blsp_dma 5>;
2155 dma-names = "tx", "rx";
2156 pinctrl-names = "default", "sleep";
2157 pinctrl-0 = <&blsp_spi1_default>;
2158 pinctrl-1 = <&blsp_spi1_sleep>;
2159 #address-cells = <1>;
2161 status = "disabled";
2164 blsp_i2c2: i2c@78b6000 {
2165 compatible = "qcom,i2c-qup-v2.2.1";
2166 reg = <0x078b6000 0x500>;
2167 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
2168 clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
2169 <&gcc GCC_BLSP1_AHB_CLK>;
2170 clock-names = "core", "iface";
2171 dmas = <&blsp_dma 6>, <&blsp_dma 7>;
2172 dma-names = "tx", "rx";
2173 pinctrl-names = "default", "sleep";
2174 pinctrl-0 = <&blsp_i2c2_default>;
2175 pinctrl-1 = <&blsp_i2c2_sleep>;
2176 #address-cells = <1>;
2178 status = "disabled";
2181 blsp_spi2: spi@78b6000 {
2182 compatible = "qcom,spi-qup-v2.2.1";
2183 reg = <0x078b6000 0x500>;
2184 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
2185 clocks = <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>,
2186 <&gcc GCC_BLSP1_AHB_CLK>;
2187 clock-names = "core", "iface";
2188 dmas = <&blsp_dma 6>, <&blsp_dma 7>;
2189 dma-names = "tx", "rx";
2190 pinctrl-names = "default", "sleep";
2191 pinctrl-0 = <&blsp_spi2_default>;
2192 pinctrl-1 = <&blsp_spi2_sleep>;
2193 #address-cells = <1>;
2195 status = "disabled";
2198 blsp_i2c3: i2c@78b7000 {
2199 compatible = "qcom,i2c-qup-v2.2.1";
2200 reg = <0x078b7000 0x500>;
2201 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
2202 clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
2203 <&gcc GCC_BLSP1_AHB_CLK>;
2204 clock-names = "core", "iface";
2205 dmas = <&blsp_dma 8>, <&blsp_dma 9>;
2206 dma-names = "tx", "rx";
2207 pinctrl-names = "default", "sleep";
2208 pinctrl-0 = <&blsp_i2c3_default>;
2209 pinctrl-1 = <&blsp_i2c3_sleep>;
2210 #address-cells = <1>;
2212 status = "disabled";
2215 blsp_spi3: spi@78b7000 {
2216 compatible = "qcom,spi-qup-v2.2.1";
2217 reg = <0x078b7000 0x500>;
2218 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
2219 clocks = <&gcc GCC_BLSP1_QUP3_SPI_APPS_CLK>,
2220 <&gcc GCC_BLSP1_AHB_CLK>;
2221 clock-names = "core", "iface";
2222 dmas = <&blsp_dma 8>, <&blsp_dma 9>;
2223 dma-names = "tx", "rx";
2224 pinctrl-names = "default", "sleep";
2225 pinctrl-0 = <&blsp_spi3_default>;
2226 pinctrl-1 = <&blsp_spi3_sleep>;
2227 #address-cells = <1>;
2229 status = "disabled";
2232 blsp_i2c4: i2c@78b8000 {
2233 compatible = "qcom,i2c-qup-v2.2.1";
2234 reg = <0x078b8000 0x500>;
2235 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
2236 clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
2237 <&gcc GCC_BLSP1_AHB_CLK>;
2238 clock-names = "core", "iface";
2239 dmas = <&blsp_dma 10>, <&blsp_dma 11>;
2240 dma-names = "tx", "rx";
2241 pinctrl-names = "default", "sleep";
2242 pinctrl-0 = <&blsp_i2c4_default>;
2243 pinctrl-1 = <&blsp_i2c4_sleep>;
2244 #address-cells = <1>;
2246 status = "disabled";
2249 blsp_spi4: spi@78b8000 {
2250 compatible = "qcom,spi-qup-v2.2.1";
2251 reg = <0x078b8000 0x500>;
2252 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
2253 clocks = <&gcc GCC_BLSP1_QUP4_SPI_APPS_CLK>,
2254 <&gcc GCC_BLSP1_AHB_CLK>;
2255 clock-names = "core", "iface";
2256 dmas = <&blsp_dma 10>, <&blsp_dma 11>;
2257 dma-names = "tx", "rx";
2258 pinctrl-names = "default", "sleep";
2259 pinctrl-0 = <&blsp_spi4_default>;
2260 pinctrl-1 = <&blsp_spi4_sleep>;
2261 #address-cells = <1>;
2263 status = "disabled";
2266 blsp_i2c5: i2c@78b9000 {
2267 compatible = "qcom,i2c-qup-v2.2.1";
2268 reg = <0x078b9000 0x500>;
2269 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
2270 clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
2271 <&gcc GCC_BLSP1_AHB_CLK>;
2272 clock-names = "core", "iface";
2273 dmas = <&blsp_dma 12>, <&blsp_dma 13>;
2274 dma-names = "tx", "rx";
2275 pinctrl-names = "default", "sleep";
2276 pinctrl-0 = <&blsp_i2c5_default>;
2277 pinctrl-1 = <&blsp_i2c5_sleep>;
2278 #address-cells = <1>;
2280 status = "disabled";
2283 blsp_spi5: spi@78b9000 {
2284 compatible = "qcom,spi-qup-v2.2.1";
2285 reg = <0x078b9000 0x500>;
2286 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
2287 clocks = <&gcc GCC_BLSP1_QUP5_SPI_APPS_CLK>,
2288 <&gcc GCC_BLSP1_AHB_CLK>;
2289 clock-names = "core", "iface";
2290 dmas = <&blsp_dma 12>, <&blsp_dma 13>;
2291 dma-names = "tx", "rx";
2292 pinctrl-names = "default", "sleep";
2293 pinctrl-0 = <&blsp_spi5_default>;
2294 pinctrl-1 = <&blsp_spi5_sleep>;
2295 #address-cells = <1>;
2297 status = "disabled";
2300 blsp_i2c6: i2c@78ba000 {
2301 compatible = "qcom,i2c-qup-v2.2.1";
2302 reg = <0x078ba000 0x500>;
2303 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
2304 clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
2305 <&gcc GCC_BLSP1_AHB_CLK>;
2306 clock-names = "core", "iface";
2307 dmas = <&blsp_dma 14>, <&blsp_dma 15>;
2308 dma-names = "tx", "rx";
2309 pinctrl-names = "default", "sleep";
2310 pinctrl-0 = <&blsp_i2c6_default>;
2311 pinctrl-1 = <&blsp_i2c6_sleep>;
2312 #address-cells = <1>;
2314 status = "disabled";
2317 blsp_spi6: spi@78ba000 {
2318 compatible = "qcom,spi-qup-v2.2.1";
2319 reg = <0x078ba000 0x500>;
2320 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
2321 clocks = <&gcc GCC_BLSP1_QUP6_SPI_APPS_CLK>,
2322 <&gcc GCC_BLSP1_AHB_CLK>;
2323 clock-names = "core", "iface";
2324 dmas = <&blsp_dma 14>, <&blsp_dma 15>;
2325 dma-names = "tx", "rx";
2326 pinctrl-names = "default", "sleep";
2327 pinctrl-0 = <&blsp_spi6_default>;
2328 pinctrl-1 = <&blsp_spi6_sleep>;
2329 #address-cells = <1>;
2331 status = "disabled";
2335 compatible = "qcom,ci-hdrc";
2336 reg = <0x078d9000 0x200>,
2338 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
2339 <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
2340 clocks = <&gcc GCC_USB_HS_AHB_CLK>,
2341 <&gcc GCC_USB_HS_SYSTEM_CLK>;
2342 clock-names = "iface", "core";
2343 assigned-clocks = <&gcc GCC_USB_HS_SYSTEM_CLK>;
2344 assigned-clock-rates = <80000000>;
2345 resets = <&gcc GCC_USB_HS_BCR>;
2346 reset-names = "core";
2352 ahb-burst-config = <0>;
2353 phy-names = "usb-phy";
2354 phys = <&usb_hs_phy>;
2355 status = "disabled";
2360 compatible = "qcom,usb-hs-phy-msm8916",
2363 clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
2364 clock-names = "ref", "sleep";
2365 resets = <&gcc GCC_USB2A_PHY_BCR>, <&usb 0>;
2366 reset-names = "phy", "por";
2367 qcom,init-seq = /bits/ 8 <0x0 0x44>,
2375 wcnss: remoteproc@a204000 {
2376 compatible = "qcom,pronto-v2-pil", "qcom,pronto";
2377 reg = <0x0a204000 0x2000>, <0x0a202000 0x1000>, <0x0a21b000 0x3000>;
2378 reg-names = "ccu", "dxe", "pmu";
2380 memory-region = <&wcnss_mem>;
2382 interrupts-extended = <&intc GIC_SPI 149 IRQ_TYPE_EDGE_RISING>,
2383 <&wcnss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2384 <&wcnss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2385 <&wcnss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2386 <&wcnss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
2387 interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
2389 power-domains = <&rpmpd MSM8916_VDDCX>,
2390 <&rpmpd MSM8916_VDDMX>;
2391 power-domain-names = "cx", "mx";
2393 qcom,smem-states = <&wcnss_smp2p_out 0>;
2394 qcom,smem-state-names = "stop";
2396 pinctrl-names = "default";
2397 pinctrl-0 = <&wcss_wlan_default>;
2399 status = "disabled";
2402 /* Separate chip, compatible is board-specific */
2403 clocks = <&rpmcc RPM_SMD_RF_CLK2>;
2408 interrupts = <GIC_SPI 142 IRQ_TYPE_EDGE_RISING>;
2410 qcom,ipc = <&apcs 8 17>;
2411 qcom,smd-edge = <6>;
2412 qcom,remote-pid = <4>;
2417 compatible = "qcom,wcnss";
2418 qcom,smd-channels = "WCNSS_CTRL";
2420 qcom,mmio = <&wcnss>;
2422 wcnss_bt: bluetooth {
2423 compatible = "qcom,wcnss-bt";
2427 compatible = "qcom,wcnss-wlan";
2429 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
2430 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
2431 interrupt-names = "tx", "rx";
2433 qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
2434 qcom,smem-state-names = "tx-enable", "tx-rings-empty";
2440 intc: interrupt-controller@b000000 {
2441 compatible = "qcom,msm-qgic2";
2442 interrupt-controller;
2443 #interrupt-cells = <3>;
2444 reg = <0x0b000000 0x1000>, <0x0b002000 0x2000>,
2445 <0x0b001000 0x1000>, <0x0b004000 0x2000>;
2446 interrupts = <GIC_PPI 0 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
2449 apcs: mailbox@b011000 {
2450 compatible = "qcom,msm8916-apcs-kpss-global", "syscon";
2451 reg = <0x0b011000 0x1000>;
2453 clocks = <&a53pll>, <&gcc GPLL0_VOTE>;
2454 clock-names = "pll", "aux";
2458 a53pll: clock@b016000 {
2459 compatible = "qcom,msm8916-a53pll";
2460 reg = <0x0b016000 0x40>;
2462 clocks = <&xo_board>;
2467 #address-cells = <1>;
2470 compatible = "arm,armv7-timer-mem";
2471 reg = <0x0b020000 0x1000>;
2472 clock-frequency = <19200000>;
2476 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
2477 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
2478 reg = <0x0b021000 0x1000>,
2479 <0x0b022000 0x1000>;
2484 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
2485 reg = <0x0b023000 0x1000>;
2486 status = "disabled";
2491 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
2492 reg = <0x0b024000 0x1000>;
2493 status = "disabled";
2498 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
2499 reg = <0x0b025000 0x1000>;
2500 status = "disabled";
2505 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
2506 reg = <0x0b026000 0x1000>;
2507 status = "disabled";
2512 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
2513 reg = <0x0b027000 0x1000>;
2514 status = "disabled";
2519 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
2520 reg = <0x0b028000 0x1000>;
2521 status = "disabled";
2525 cpu0_acc: power-manager@b088000 {
2526 compatible = "qcom,msm8916-acc";
2527 reg = <0x0b088000 0x1000>;
2528 status = "reserved"; /* Controlled by PSCI firmware */
2531 cpu0_saw: power-manager@b089000 {
2532 compatible = "qcom,msm8916-saw2-v3.0-cpu", "qcom,saw2";
2533 reg = <0x0b089000 0x1000>;
2534 status = "reserved"; /* Controlled by PSCI firmware */
2537 cpu1_acc: power-manager@b098000 {
2538 compatible = "qcom,msm8916-acc";
2539 reg = <0x0b098000 0x1000>;
2540 status = "reserved"; /* Controlled by PSCI firmware */
2543 cpu1_saw: power-manager@b099000 {
2544 compatible = "qcom,msm8916-saw2-v3.0-cpu", "qcom,saw2";
2545 reg = <0x0b099000 0x1000>;
2546 status = "reserved"; /* Controlled by PSCI firmware */
2549 cpu2_acc: power-manager@b0a8000 {
2550 compatible = "qcom,msm8916-acc";
2551 reg = <0x0b0a8000 0x1000>;
2552 status = "reserved"; /* Controlled by PSCI firmware */
2555 cpu2_saw: power-manager@b0a9000 {
2556 compatible = "qcom,msm8916-saw2-v3.0-cpu", "qcom,saw2";
2557 reg = <0x0b0a9000 0x1000>;
2558 status = "reserved"; /* Controlled by PSCI firmware */
2561 cpu3_acc: power-manager@b0b8000 {
2562 compatible = "qcom,msm8916-acc";
2563 reg = <0x0b0b8000 0x1000>;
2564 status = "reserved"; /* Controlled by PSCI firmware */
2567 cpu3_saw: power-manager@b0b9000 {
2568 compatible = "qcom,msm8916-saw2-v3.0-cpu", "qcom,saw2";
2569 reg = <0x0b0b9000 0x1000>;
2570 status = "reserved"; /* Controlled by PSCI firmware */
2576 polling-delay-passive = <250>;
2577 polling-delay = <1000>;
2579 thermal-sensors = <&tsens 5>;
2582 cpu0_1_alert0: trip-point0 {
2583 temperature = <75000>;
2584 hysteresis = <2000>;
2587 cpu0_1_crit: cpu-crit {
2588 temperature = <110000>;
2589 hysteresis = <2000>;
2596 trip = <&cpu0_1_alert0>;
2597 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2598 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2599 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2600 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2606 polling-delay-passive = <250>;
2607 polling-delay = <1000>;
2609 thermal-sensors = <&tsens 4>;
2612 cpu2_3_alert0: trip-point0 {
2613 temperature = <75000>;
2614 hysteresis = <2000>;
2617 cpu2_3_crit: cpu-crit {
2618 temperature = <110000>;
2619 hysteresis = <2000>;
2626 trip = <&cpu2_3_alert0>;
2627 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2628 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2629 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2630 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2636 polling-delay-passive = <250>;
2637 polling-delay = <1000>;
2639 thermal-sensors = <&tsens 2>;
2642 gpu_alert0: trip-point0 {
2643 temperature = <75000>;
2644 hysteresis = <2000>;
2647 gpu_crit: gpu-crit {
2648 temperature = <95000>;
2649 hysteresis = <2000>;
2656 polling-delay-passive = <250>;
2657 polling-delay = <1000>;
2659 thermal-sensors = <&tsens 1>;
2662 cam_alert0: trip-point0 {
2663 temperature = <75000>;
2664 hysteresis = <2000>;
2671 polling-delay-passive = <250>;
2672 polling-delay = <1000>;
2674 thermal-sensors = <&tsens 0>;
2677 modem_alert0: trip-point0 {
2678 temperature = <85000>;
2679 hysteresis = <2000>;
2687 compatible = "arm,armv8-timer";
2688 interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2689 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2690 <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2691 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;