1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2018, Linaro Limited
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/clock/qcom,gcc-qcs404.h>
6 #include <dt-bindings/clock/qcom,turingcc-qcs404.h>
7 #include <dt-bindings/clock/qcom,rpmcc.h>
8 #include <dt-bindings/power/qcom-rpmpd.h>
9 #include <dt-bindings/thermal/thermal.h>
12 interrupt-parent = <&intc>;
21 compatible = "fixed-clock";
23 clock-frequency = <19200000>;
26 sleep_clk: sleep-clk {
27 compatible = "fixed-clock";
29 clock-frequency = <32768>;
39 compatible = "arm,cortex-a53";
41 enable-method = "psci";
42 cpu-idle-states = <&CPU_SLEEP_0>;
43 next-level-cache = <&L2_0>;
49 compatible = "arm,cortex-a53";
51 enable-method = "psci";
52 cpu-idle-states = <&CPU_SLEEP_0>;
53 next-level-cache = <&L2_0>;
59 compatible = "arm,cortex-a53";
61 enable-method = "psci";
62 cpu-idle-states = <&CPU_SLEEP_0>;
63 next-level-cache = <&L2_0>;
69 compatible = "arm,cortex-a53";
71 enable-method = "psci";
72 cpu-idle-states = <&CPU_SLEEP_0>;
73 next-level-cache = <&L2_0>;
83 entry-method = "psci";
85 CPU_SLEEP_0: cpu-sleep-0 {
86 compatible = "arm,idle-state";
87 idle-state-name = "standalone-power-collapse";
88 arm,psci-suspend-param = <0x40000003>;
89 entry-latency-us = <125>;
90 exit-latency-us = <180>;
91 min-residency-us = <595>;
99 compatible = "qcom,scm-qcs404", "qcom,scm";
105 device_type = "memory";
106 /* We expect the bootloader to fill in the size */
107 reg = <0 0x80000000 0 0>;
111 compatible = "arm,psci-1.0";
116 #address-cells = <2>;
120 tz_apps_mem: memory@85900000 {
121 reg = <0 0x85900000 0 0x500000>;
125 xbl_mem: memory@85e00000 {
126 reg = <0 0x85e00000 0 0x100000>;
130 smem_region: memory@85f00000 {
131 reg = <0 0x85f00000 0 0x200000>;
135 tz_mem: memory@86100000 {
136 reg = <0 0x86100000 0 0x300000>;
140 wlan_fw_mem: memory@86400000 {
141 reg = <0 0x86400000 0 0x1100000>;
145 adsp_fw_mem: memory@87500000 {
146 reg = <0 0x87500000 0 0x1a00000>;
150 cdsp_fw_mem: memory@88f00000 {
151 reg = <0 0x88f00000 0 0x600000>;
155 wlan_msa_mem: memory@89500000 {
156 reg = <0 0x89500000 0 0x100000>;
160 uefi_mem: memory@9f800000 {
161 reg = <0 0x9f800000 0 0x800000>;
167 compatible = "qcom,glink-rpm";
169 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
170 qcom,rpm-msg-ram = <&rpm_msg_ram>;
171 mboxes = <&apcs_glb 0>;
173 rpm_requests: glink-channel {
174 compatible = "qcom,rpm-qcs404";
175 qcom,glink-channels = "rpm_requests";
177 rpmcc: clock-controller {
178 compatible = "qcom,rpmcc-qcs404";
182 rpmpd: power-controller {
183 compatible = "qcom,qcs404-rpmpd";
184 #power-domain-cells = <1>;
185 operating-points-v2 = <&rpmpd_opp_table>;
187 rpmpd_opp_table: opp-table {
188 compatible = "operating-points-v2";
190 rpmpd_opp_ret: opp1 {
194 rpmpd_opp_ret_plus: opp2 {
198 rpmpd_opp_min_svs: opp3 {
202 rpmpd_opp_low_svs: opp4 {
206 rpmpd_opp_svs: opp5 {
210 rpmpd_opp_svs_plus: opp6 {
214 rpmpd_opp_nom: opp7 {
218 rpmpd_opp_nom_plus: opp8 {
222 rpmpd_opp_turbo: opp9 {
226 rpmpd_opp_turbo_no_cpr: opp10 {
230 rpmpd_opp_turbo_plus: opp11 {
239 compatible = "qcom,smem";
241 memory-region = <&smem_region>;
242 qcom,rpm-msg-ram = <&rpm_msg_ram>;
244 hwlocks = <&tcsr_mutex 3>;
248 compatible = "qcom,tcsr-mutex";
249 syscon = <&tcsr_mutex_regs 0 0x1000>;
254 #address-cells = <1>;
256 ranges = <0 0 0 0xffffffff>;
257 compatible = "simple-bus";
259 turingcc: clock-controller@800000 {
260 compatible = "qcom,qcs404-turingcc";
261 reg = <0x00800000 0x30000>;
262 clocks = <&gcc GCC_CDSP_CFG_AHB_CLK>;
270 rpm_msg_ram: memory@60000 {
271 compatible = "qcom,rpm-msg-ram";
272 reg = <0x00060000 0x6000>;
275 qfprom: qfprom@a4000 {
276 compatible = "qcom,qfprom";
277 reg = <0x000a4000 0x1000>;
278 #address-cells = <1>;
280 tsens_caldata: caldata@d0 {
286 compatible = "qcom,prng-ee";
287 reg = <0x000e3000 0x1000>;
288 clocks = <&gcc GCC_PRNG_AHB_CLK>;
289 clock-names = "core";
292 bimc: interconnect@400000 {
293 reg = <0x00400000 0x80000>;
294 compatible = "qcom,qcs404-bimc";
295 #interconnect-cells = <1>;
296 clock-names = "bus", "bus_a";
297 clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
298 <&rpmcc RPM_SMD_BIMC_A_CLK>;
301 tsens: thermal-sensor@4a9000 {
302 compatible = "qcom,qcs404-tsens", "qcom,tsens-v1";
303 reg = <0x004a9000 0x1000>, /* TM */
304 <0x004a8000 0x1000>; /* SROT */
305 nvmem-cells = <&tsens_caldata>;
306 nvmem-cell-names = "calib";
307 #qcom,sensors = <10>;
308 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
309 interrupt-names = "uplow";
310 #thermal-sensor-cells = <1>;
313 pcnoc: interconnect@500000 {
314 reg = <0x00500000 0x15080>;
315 compatible = "qcom,qcs404-pcnoc";
316 #interconnect-cells = <1>;
317 clock-names = "bus", "bus_a";
318 clocks = <&rpmcc RPM_SMD_PNOC_CLK>,
319 <&rpmcc RPM_SMD_PNOC_A_CLK>;
322 snoc: interconnect@580000 {
323 reg = <0x00580000 0x23080>;
324 compatible = "qcom,qcs404-snoc";
325 #interconnect-cells = <1>;
326 clock-names = "bus", "bus_a";
327 clocks = <&rpmcc RPM_SMD_SNOC_CLK>,
328 <&rpmcc RPM_SMD_SNOC_A_CLK>;
331 remoteproc_cdsp: remoteproc@b00000 {
332 compatible = "qcom,qcs404-cdsp-pas";
333 reg = <0x00b00000 0x4040>;
335 interrupts-extended = <&intc GIC_SPI 229 IRQ_TYPE_EDGE_RISING>,
336 <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
337 <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
338 <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
339 <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
340 interrupt-names = "wdog", "fatal", "ready",
341 "handover", "stop-ack";
343 clocks = <&xo_board>,
344 <&gcc GCC_CDSP_CFG_AHB_CLK>,
345 <&gcc GCC_CDSP_TBU_CLK>,
346 <&gcc GCC_BIMC_CDSP_CLK>,
347 <&turingcc TURING_WRAPPER_AON_CLK>,
348 <&turingcc TURING_Q6SS_AHBS_AON_CLK>,
349 <&turingcc TURING_Q6SS_AHBM_AON_CLK>,
350 <&turingcc TURING_Q6SS_Q6_AXIM_CLK>;
360 resets = <&gcc GCC_CDSP_RESTART>;
361 reset-names = "restart";
363 qcom,halt-regs = <&tcsr 0x19004>;
365 memory-region = <&cdsp_fw_mem>;
367 qcom,smem-states = <&cdsp_smp2p_out 0>;
368 qcom,smem-state-names = "stop";
373 interrupts = <GIC_SPI 141 IRQ_TYPE_EDGE_RISING>;
375 qcom,remote-pid = <5>;
376 mboxes = <&apcs_glb 12>;
382 tlmm: pinctrl@1000000 {
383 compatible = "qcom,qcs404-pinctrl";
384 reg = <0x01000000 0x200000>,
385 <0x01300000 0x200000>,
386 <0x07b00000 0x200000>;
387 reg-names = "south", "north", "east";
388 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
389 gpio-ranges = <&tlmm 0 0 120>;
392 interrupt-controller;
393 #interrupt-cells = <2>;
395 blsp1_i2c0_default: blsp1-i2c0-default {
396 pins = "gpio32", "gpio33";
397 function = "blsp_i2c0";
400 blsp1_i2c1_default: blsp1-i2c1-default {
401 pins = "gpio24", "gpio25";
402 function = "blsp_i2c1";
405 blsp1_i2c2_default: blsp1-i2c2-default {
408 function = "blsp_i2c_sda_a2";
413 function = "blsp_i2c_scl_a2";
417 blsp1_i2c3_default: blsp1-i2c3-default {
418 pins = "gpio84", "gpio85";
419 function = "blsp_i2c3";
422 blsp1_i2c4_default: blsp1-i2c4-default {
423 pins = "gpio117", "gpio118";
424 function = "blsp_i2c4";
427 blsp1_uart0_default: blsp1-uart0-default {
428 pins = "gpio30", "gpio31", "gpio32", "gpio33";
429 function = "blsp_uart0";
432 blsp1_uart1_default: blsp1-uart1-default {
433 pins = "gpio22", "gpio23";
434 function = "blsp_uart1";
437 blsp1_uart2_default: blsp1-uart2-default {
440 function = "blsp_uart_rx_a2";
445 function = "blsp_uart_tx_a2";
449 blsp1_uart3_default: blsp1-uart3-default {
450 pins = "gpio82", "gpio83", "gpio84", "gpio85";
451 function = "blsp_uart3";
454 blsp2_i2c0_default: blsp2-i2c0-default {
455 pins = "gpio28", "gpio29";
456 function = "blsp_i2c5";
459 blsp1_spi0_default: blsp1-spi0-default {
460 pins = "gpio30", "gpio31", "gpio32", "gpio33";
461 function = "blsp_spi0";
464 blsp1_spi1_default: blsp1-spi1-default {
465 pins = "gpio22", "gpio23", "gpio24", "gpio25";
466 function = "blsp_spi1";
469 blsp1_spi2_default: blsp1-spi2-default {
470 pins = "gpio17", "gpio18", "gpio19", "gpio20";
471 function = "blsp_spi2";
474 blsp1_spi3_default: blsp1-spi3-default {
475 pins = "gpio82", "gpio83", "gpio84", "gpio85";
476 function = "blsp_spi3";
479 blsp1_spi4_default: blsp1-spi4-default {
480 pins = "gpio37", "gpio38", "gpio117", "gpio118";
481 function = "blsp_spi4";
484 blsp2_spi0_default: blsp2-spi0-default {
485 pins = "gpio26", "gpio27", "gpio28", "gpio29";
486 function = "blsp_spi5";
489 blsp2_uart0_default: blsp2-uart0-default {
490 pins = "gpio26", "gpio27", "gpio28", "gpio29";
491 function = "blsp_uart5";
495 gcc: clock-controller@1800000 {
496 compatible = "qcom,gcc-qcs404";
497 reg = <0x01800000 0x80000>;
501 assigned-clocks = <&gcc GCC_APSS_AHB_CLK_SRC>;
502 assigned-clock-rates = <19200000>;
505 tcsr_mutex_regs: syscon@1905000 {
506 compatible = "syscon";
507 reg = <0x01905000 0x20000>;
510 tcsr: syscon@1937000 {
511 compatible = "syscon";
512 reg = <0x01937000 0x25000>;
515 spmi_bus: spmi@200f000 {
516 compatible = "qcom,spmi-pmic-arb";
517 reg = <0x0200f000 0x001000>,
518 <0x02400000 0x800000>,
519 <0x02c00000 0x800000>,
520 <0x03800000 0x200000>,
521 <0x0200a000 0x002100>;
522 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
523 interrupt-names = "periph_irq";
524 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
527 #address-cells = <2>;
529 interrupt-controller;
530 #interrupt-cells = <4>;
533 remoteproc_wcss: remoteproc@7400000 {
534 compatible = "qcom,qcs404-wcss-pas";
535 reg = <0x07400000 0x4040>;
537 interrupts-extended = <&intc GIC_SPI 153 IRQ_TYPE_EDGE_RISING>,
538 <&wcss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
539 <&wcss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
540 <&wcss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
541 <&wcss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
542 interrupt-names = "wdog", "fatal", "ready",
543 "handover", "stop-ack";
545 clocks = <&xo_board>;
548 memory-region = <&wlan_fw_mem>;
550 qcom,smem-states = <&wcss_smp2p_out 0>;
551 qcom,smem-state-names = "stop";
556 interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
558 qcom,remote-pid = <1>;
559 mboxes = <&apcs_glb 16>;
565 pcie_phy: phy@7786000 {
566 compatible = "qcom,qcs404-pcie2-phy", "qcom,pcie2-phy";
567 reg = <0x07786000 0xb8>;
569 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
570 resets = <&gcc GCC_PCIEPHY_0_PHY_BCR>,
572 reset-names = "phy", "pipe";
574 clock-output-names = "pcie_0_pipe_clk";
580 sdcc1: sdcc@7804000 {
581 compatible = "qcom,sdhci-msm-v5";
582 reg = <0x07804000 0x1000>, <0x7805000 0x1000>;
583 reg-names = "hc_mem", "cmdq_mem";
585 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
586 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
587 interrupt-names = "hc_irq", "pwr_irq";
589 clocks = <&gcc GCC_SDCC1_APPS_CLK>,
590 <&gcc GCC_SDCC1_AHB_CLK>,
592 clock-names = "core", "iface", "xo";
597 blsp1_dma: dma@7884000 {
598 compatible = "qcom,bam-v1.7.0";
599 reg = <0x07884000 0x25000>;
600 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
601 clocks = <&gcc GCC_BLSP1_AHB_CLK>;
602 clock-names = "bam_clk";
608 blsp1_uart0: serial@78af000 {
609 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
610 reg = <0x078af000 0x200>;
611 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
612 clocks = <&gcc GCC_BLSP1_UART0_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
613 clock-names = "core", "iface";
614 dmas = <&blsp1_dma 1>, <&blsp1_dma 0>;
615 dma-names = "rx", "tx";
616 pinctrl-names = "default";
617 pinctrl-0 = <&blsp1_uart0_default>;
621 blsp1_uart1: serial@78b0000 {
622 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
623 reg = <0x078b0000 0x200>;
624 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
625 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
626 clock-names = "core", "iface";
627 dmas = <&blsp1_dma 3>, <&blsp1_dma 2>;
628 dma-names = "rx", "tx";
629 pinctrl-names = "default";
630 pinctrl-0 = <&blsp1_uart1_default>;
634 blsp1_uart2: serial@78b1000 {
635 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
636 reg = <0x078b1000 0x200>;
637 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
638 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
639 clock-names = "core", "iface";
640 dmas = <&blsp1_dma 5>, <&blsp1_dma 4>;
641 dma-names = "rx", "tx";
642 pinctrl-names = "default";
643 pinctrl-0 = <&blsp1_uart2_default>;
647 ethernet: ethernet@7a80000 {
648 compatible = "qcom,qcs404-ethqos";
649 reg = <0x07a80000 0x10000>,
651 reg-names = "stmmaceth", "rgmii";
652 clock-names = "stmmaceth", "pclk", "ptp_ref", "rgmii";
653 clocks = <&gcc GCC_ETH_AXI_CLK>,
654 <&gcc GCC_ETH_SLAVE_AHB_CLK>,
655 <&gcc GCC_ETH_PTP_CLK>,
656 <&gcc GCC_ETH_RGMII_CLK>;
657 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
658 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
659 interrupt-names = "macirq", "eth_lpi";
662 rx-fifo-depth = <4096>;
663 tx-fifo-depth = <4096>;
669 compatible = "qcom,wcn3990-wifi";
670 reg = <0xa000000 0x800000>;
671 reg-names = "membase";
672 memory-region = <&wlan_msa_mem>;
673 interrupts = <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>,
674 <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>,
675 <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
676 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
677 <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
678 <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
679 <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
680 <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
681 <GIC_SPI 285 IRQ_TYPE_LEVEL_HIGH>,
682 <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>,
683 <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>,
684 <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
688 blsp1_uart3: serial@78b2000 {
689 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
690 reg = <0x078b2000 0x200>;
691 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
692 clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
693 clock-names = "core", "iface";
694 dmas = <&blsp1_dma 7>, <&blsp1_dma 6>;
695 dma-names = "rx", "tx";
696 pinctrl-names = "default";
697 pinctrl-0 = <&blsp1_uart3_default>;
701 blsp1_i2c0: i2c@78b5000 {
702 compatible = "qcom,i2c-qup-v2.2.1";
703 reg = <0x078b5000 0x600>;
704 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
705 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
706 <&gcc GCC_BLSP1_QUP0_I2C_APPS_CLK>;
707 clock-names = "iface", "core";
708 pinctrl-names = "default";
709 pinctrl-0 = <&blsp1_i2c0_default>;
710 #address-cells = <1>;
715 blsp1_spi0: spi@78b5000 {
716 compatible = "qcom,spi-qup-v2.2.1";
717 reg = <0x078b5000 0x600>;
718 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
719 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
720 <&gcc GCC_BLSP1_QUP0_SPI_APPS_CLK>;
721 clock-names = "iface", "core";
722 pinctrl-names = "default";
723 pinctrl-0 = <&blsp1_spi0_default>;
724 #address-cells = <1>;
729 blsp1_i2c1: i2c@78b6000 {
730 compatible = "qcom,i2c-qup-v2.2.1";
731 reg = <0x078b6000 0x600>;
732 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
733 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
734 <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>;
735 clock-names = "iface", "core";
736 pinctrl-names = "default";
737 pinctrl-0 = <&blsp1_i2c1_default>;
738 #address-cells = <1>;
743 blsp1_spi1: spi@78b6000 {
744 compatible = "qcom,spi-qup-v2.2.1";
745 reg = <0x078b6000 0x600>;
746 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
747 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
748 <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>;
749 clock-names = "iface", "core";
750 pinctrl-names = "default";
751 pinctrl-0 = <&blsp1_spi1_default>;
752 #address-cells = <1>;
757 blsp1_i2c2: i2c@78b7000 {
758 compatible = "qcom,i2c-qup-v2.2.1";
759 reg = <0x078b7000 0x600>;
760 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
761 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
762 <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>;
763 clock-names = "iface", "core";
764 pinctrl-names = "default";
765 pinctrl-0 = <&blsp1_i2c2_default>;
766 #address-cells = <1>;
771 blsp1_spi2: spi@78b7000 {
772 compatible = "qcom,spi-qup-v2.2.1";
773 reg = <0x078b7000 0x600>;
774 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
775 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
776 <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>;
777 clock-names = "iface", "core";
778 pinctrl-names = "default";
779 pinctrl-0 = <&blsp1_spi2_default>;
780 #address-cells = <1>;
785 blsp1_i2c3: i2c@78b8000 {
786 compatible = "qcom,i2c-qup-v2.2.1";
787 reg = <0x078b8000 0x600>;
788 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
789 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
790 <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>;
791 clock-names = "iface", "core";
792 pinctrl-names = "default";
793 pinctrl-0 = <&blsp1_i2c3_default>;
794 #address-cells = <1>;
799 blsp1_spi3: spi@78b8000 {
800 compatible = "qcom,spi-qup-v2.2.1";
801 reg = <0x078b8000 0x600>;
802 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
803 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
804 <&gcc GCC_BLSP1_QUP3_SPI_APPS_CLK>;
805 clock-names = "iface", "core";
806 pinctrl-names = "default";
807 pinctrl-0 = <&blsp1_spi3_default>;
808 #address-cells = <1>;
813 blsp1_i2c4: i2c@78b9000 {
814 compatible = "qcom,i2c-qup-v2.2.1";
815 reg = <0x078b9000 0x600>;
816 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
817 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
818 <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>;
819 clock-names = "iface", "core";
820 pinctrl-names = "default";
821 pinctrl-0 = <&blsp1_i2c4_default>;
822 #address-cells = <1>;
827 blsp1_spi4: spi@78b9000 {
828 compatible = "qcom,spi-qup-v2.2.1";
829 reg = <0x078b9000 0x600>;
830 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
831 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
832 <&gcc GCC_BLSP1_QUP4_SPI_APPS_CLK>;
833 clock-names = "iface", "core";
834 pinctrl-names = "default";
835 pinctrl-0 = <&blsp1_spi4_default>;
836 #address-cells = <1>;
841 blsp2_dma: dma@7ac4000 {
842 compatible = "qcom,bam-v1.7.0";
843 reg = <0x07ac4000 0x17000>;
844 interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
845 clocks = <&gcc GCC_BLSP2_AHB_CLK>;
846 clock-names = "bam_clk";
852 blsp2_uart0: serial@7aef000 {
853 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
854 reg = <0x07aef000 0x200>;
855 interrupts = <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>;
856 clocks = <&gcc GCC_BLSP2_UART0_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
857 clock-names = "core", "iface";
858 dmas = <&blsp2_dma 1>, <&blsp2_dma 0>;
859 dma-names = "rx", "tx";
860 pinctrl-names = "default";
861 pinctrl-0 = <&blsp2_uart0_default>;
865 blsp2_i2c0: i2c@7af5000 {
866 compatible = "qcom,i2c-qup-v2.2.1";
867 reg = <0x07af5000 0x600>;
868 interrupts = <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
869 clocks = <&gcc GCC_BLSP2_AHB_CLK>,
870 <&gcc GCC_BLSP2_QUP0_I2C_APPS_CLK>;
871 clock-names = "iface", "core";
872 pinctrl-names = "default";
873 pinctrl-0 = <&blsp2_i2c0_default>;
874 #address-cells = <1>;
879 blsp2_spi0: spi@7af5000 {
880 compatible = "qcom,spi-qup-v2.2.1";
881 reg = <0x07af5000 0x600>;
882 interrupts = <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
883 clocks = <&gcc GCC_BLSP2_AHB_CLK>,
884 <&gcc GCC_BLSP2_QUP0_SPI_APPS_CLK>;
885 clock-names = "iface", "core";
886 pinctrl-names = "default";
887 pinctrl-0 = <&blsp2_spi0_default>;
888 #address-cells = <1>;
893 intc: interrupt-controller@b000000 {
894 compatible = "qcom,msm-qgic2";
895 interrupt-controller;
896 #interrupt-cells = <3>;
897 reg = <0x0b000000 0x1000>,
901 apcs_glb: mailbox@b011000 {
902 compatible = "qcom,qcs404-apcs-apps-global", "syscon";
903 reg = <0x0b011000 0x1000>;
908 compatible = "qcom,kpss-wdt";
909 reg = <0x0b017000 0x1000>;
910 clocks = <&sleep_clk>;
914 #address-cells = <1>;
917 compatible = "arm,armv7-timer-mem";
918 reg = <0x0b120000 0x1000>;
919 clock-frequency = <19200000>;
923 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
924 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
925 reg = <0x0b121000 0x1000>,
931 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
932 reg = <0x0b123000 0x1000>;
938 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
939 reg = <0x0b124000 0x1000>;
945 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
946 reg = <0x0b125000 0x1000>;
952 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
953 reg = <0x0b126000 0x1000>;
959 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
960 reg = <0xb127000 0x1000>;
966 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
967 reg = <0x0b128000 0x1000>;
972 remoteproc_adsp: remoteproc@c700000 {
973 compatible = "qcom,qcs404-adsp-pas";
974 reg = <0x0c700000 0x4040>;
976 interrupts-extended = <&intc GIC_SPI 293 IRQ_TYPE_EDGE_RISING>,
977 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
978 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
979 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
980 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
981 interrupt-names = "wdog", "fatal", "ready",
982 "handover", "stop-ack";
984 clocks = <&xo_board>;
987 memory-region = <&adsp_fw_mem>;
989 qcom,smem-states = <&adsp_smp2p_out 0>;
990 qcom,smem-state-names = "stop";
995 interrupts = <GIC_SPI 289 IRQ_TYPE_EDGE_RISING>;
997 qcom,remote-pid = <2>;
998 mboxes = <&apcs_glb 8>;
1004 pcie: pci@10000000 {
1005 compatible = "qcom,pcie-qcs404", "snps,dw-pcie";
1006 reg = <0x10000000 0xf1d>,
1008 <0x07780000 0x2000>,
1009 <0x10001000 0x2000>;
1010 reg-names = "dbi", "elbi", "parf", "config";
1011 device_type = "pci";
1012 linux,pci-domain = <0>;
1013 bus-range = <0x00 0xff>;
1015 #address-cells = <3>;
1018 ranges = <0x81000000 0 0 0x10003000 0 0x00010000>, /* I/O */
1019 <0x82000000 0 0x10013000 0x10013000 0 0x007ed000>; /* memory */
1021 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
1022 interrupt-names = "msi";
1023 #interrupt-cells = <1>;
1024 interrupt-map-mask = <0 0 0 0x7>;
1025 interrupt-map = <0 0 0 1 &intc GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1026 <0 0 0 2 &intc GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1027 <0 0 0 3 &intc GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1028 <0 0 0 4 &intc GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1029 clocks = <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1030 <&gcc GCC_PCIE_0_AUX_CLK>,
1031 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
1032 <&gcc GCC_PCIE_0_SLV_AXI_CLK>;
1033 clock-names = "iface", "aux", "master_bus", "slave_bus";
1039 <&gcc GCC_PCIE_0_BCR>,
1041 reset-names = "axi_m",
1049 phy-names = "pciephy";
1051 status = "disabled";
1056 compatible = "arm,armv8-timer";
1057 interrupts = <GIC_PPI 2 0xff08>,
1064 compatible = "qcom,smp2p";
1065 qcom,smem = <443>, <429>;
1066 interrupts = <GIC_SPI 291 IRQ_TYPE_EDGE_RISING>;
1067 mboxes = <&apcs_glb 10>;
1068 qcom,local-pid = <0>;
1069 qcom,remote-pid = <2>;
1071 adsp_smp2p_out: master-kernel {
1072 qcom,entry-name = "master-kernel";
1073 #qcom,smem-state-cells = <1>;
1076 adsp_smp2p_in: slave-kernel {
1077 qcom,entry-name = "slave-kernel";
1078 interrupt-controller;
1079 #interrupt-cells = <2>;
1084 compatible = "qcom,smp2p";
1085 qcom,smem = <94>, <432>;
1086 interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>;
1087 mboxes = <&apcs_glb 14>;
1088 qcom,local-pid = <0>;
1089 qcom,remote-pid = <5>;
1091 cdsp_smp2p_out: master-kernel {
1092 qcom,entry-name = "master-kernel";
1093 #qcom,smem-state-cells = <1>;
1096 cdsp_smp2p_in: slave-kernel {
1097 qcom,entry-name = "slave-kernel";
1098 interrupt-controller;
1099 #interrupt-cells = <2>;
1104 compatible = "qcom,smp2p";
1105 qcom,smem = <435>, <428>;
1106 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
1107 mboxes = <&apcs_glb 18>;
1108 qcom,local-pid = <0>;
1109 qcom,remote-pid = <1>;
1111 wcss_smp2p_out: master-kernel {
1112 qcom,entry-name = "master-kernel";
1113 #qcom,smem-state-cells = <1>;
1116 wcss_smp2p_in: slave-kernel {
1117 qcom,entry-name = "slave-kernel";
1118 interrupt-controller;
1119 #interrupt-cells = <2>;
1125 polling-delay-passive = <250>;
1126 polling-delay = <1000>;
1128 thermal-sensors = <&tsens 0>;
1131 aoss_alert0: trip-point0 {
1132 temperature = <105000>;
1133 hysteresis = <2000>;
1140 polling-delay-passive = <250>;
1141 polling-delay = <1000>;
1143 thermal-sensors = <&tsens 1>;
1146 q6_hvx_alert0: trip-point0 {
1147 temperature = <105000>;
1148 hysteresis = <2000>;
1155 polling-delay-passive = <250>;
1156 polling-delay = <1000>;
1158 thermal-sensors = <&tsens 2>;
1161 lpass_alert0: trip-point0 {
1162 temperature = <105000>;
1163 hysteresis = <2000>;
1170 polling-delay-passive = <250>;
1171 polling-delay = <1000>;
1173 thermal-sensors = <&tsens 3>;
1176 wlan_alert0: trip-point0 {
1177 temperature = <105000>;
1178 hysteresis = <2000>;
1185 polling-delay-passive = <250>;
1186 polling-delay = <1000>;
1188 thermal-sensors = <&tsens 4>;
1191 cluster_alert0: trip-point0 {
1192 temperature = <95000>;
1193 hysteresis = <2000>;
1196 cluster_alert1: trip-point1 {
1197 temperature = <105000>;
1198 hysteresis = <2000>;
1201 cluster_crit: cluster_crit {
1202 temperature = <120000>;
1203 hysteresis = <2000>;
1209 trip = <&cluster_alert1>;
1210 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1211 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1212 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1213 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1219 polling-delay-passive = <250>;
1220 polling-delay = <1000>;
1222 thermal-sensors = <&tsens 5>;
1225 cpu0_alert0: trip-point0 {
1226 temperature = <95000>;
1227 hysteresis = <2000>;
1230 cpu0_alert1: trip-point1 {
1231 temperature = <105000>;
1232 hysteresis = <2000>;
1235 cpu0_crit: cpu_crit {
1236 temperature = <120000>;
1237 hysteresis = <2000>;
1243 trip = <&cpu0_alert1>;
1244 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1245 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1246 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1247 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1253 polling-delay-passive = <250>;
1254 polling-delay = <1000>;
1256 thermal-sensors = <&tsens 6>;
1259 cpu1_alert0: trip-point0 {
1260 temperature = <95000>;
1261 hysteresis = <2000>;
1264 cpu1_alert1: trip-point1 {
1265 temperature = <105000>;
1266 hysteresis = <2000>;
1269 cpu1_crit: cpu_crit {
1270 temperature = <120000>;
1271 hysteresis = <2000>;
1277 trip = <&cpu1_alert1>;
1278 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1279 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1280 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1281 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1287 polling-delay-passive = <250>;
1288 polling-delay = <1000>;
1290 thermal-sensors = <&tsens 7>;
1293 cpu2_alert0: trip-point0 {
1294 temperature = <95000>;
1295 hysteresis = <2000>;
1298 cpu2_alert1: trip-point1 {
1299 temperature = <105000>;
1300 hysteresis = <2000>;
1303 cpu2_crit: cpu_crit {
1304 temperature = <120000>;
1305 hysteresis = <2000>;
1311 trip = <&cpu2_alert1>;
1312 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1313 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1314 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1315 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1321 polling-delay-passive = <250>;
1322 polling-delay = <1000>;
1324 thermal-sensors = <&tsens 8>;
1327 cpu3_alert0: trip-point0 {
1328 temperature = <95000>;
1329 hysteresis = <2000>;
1332 cpu3_alert1: trip-point1 {
1333 temperature = <105000>;
1334 hysteresis = <2000>;
1337 cpu3_crit: cpu_crit {
1338 temperature = <120000>;
1339 hysteresis = <2000>;
1345 trip = <&cpu3_alert1>;
1346 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1347 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1348 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1349 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1355 polling-delay-passive = <250>;
1356 polling-delay = <1000>;
1358 thermal-sensors = <&tsens 9>;
1361 gpu_alert0: trip-point0 {
1362 temperature = <95000>;
1363 hysteresis = <2000>;