1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/qcom,gcc-msm8916.h>
8 #include <dt-bindings/reset/qcom,gcc-msm8916.h>
9 #include <dt-bindings/clock/qcom,rpmcc.h>
10 #include <dt-bindings/thermal/thermal.h>
13 interrupt-parent = <&intc>;
19 sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
20 sdhc2 = &sdhc_2; /* SDC2 SD card slot */
26 device_type = "memory";
27 /* We expect the bootloader to fill in the reg */
37 reg = <0x0 0x86000000 0x0 0x300000>;
41 smem_mem: smem_region@86300000 {
42 reg = <0x0 0x86300000 0x0 0x100000>;
47 reg = <0x0 0x86400000 0x0 0x100000>;
52 reg = <0x0 0x86500000 0x0 0x180000>;
57 reg = <0x0 0x86680000 0x0 0x80000>;
62 compatible = "qcom,rmtfs-mem";
63 reg = <0x0 0x86700000 0x0 0xe0000>;
70 reg = <0x0 0x867e0000 0x0 0x20000>;
74 mpss_mem: mpss@86800000 {
75 reg = <0x0 0x86800000 0x0 0x2b00000>;
79 wcnss_mem: wcnss@89300000 {
80 reg = <0x0 0x89300000 0x0 0x600000>;
84 venus_mem: venus@89900000 {
85 reg = <0x0 0x89900000 0x0 0x600000>;
89 mba_mem: mba@8ea00000 {
91 reg = <0 0x8ea00000 0 0x100000>;
101 compatible = "arm,cortex-a53";
103 next-level-cache = <&L2_0>;
104 enable-method = "psci";
105 cpu-idle-states = <&CPU_SLEEP_0>;
107 operating-points-v2 = <&cpu_opp_table>;
108 #cooling-cells = <2>;
113 compatible = "arm,cortex-a53";
115 next-level-cache = <&L2_0>;
116 enable-method = "psci";
117 cpu-idle-states = <&CPU_SLEEP_0>;
119 operating-points-v2 = <&cpu_opp_table>;
120 #cooling-cells = <2>;
125 compatible = "arm,cortex-a53";
127 next-level-cache = <&L2_0>;
128 enable-method = "psci";
129 cpu-idle-states = <&CPU_SLEEP_0>;
131 operating-points-v2 = <&cpu_opp_table>;
132 #cooling-cells = <2>;
137 compatible = "arm,cortex-a53";
139 next-level-cache = <&L2_0>;
140 enable-method = "psci";
141 cpu-idle-states = <&CPU_SLEEP_0>;
143 operating-points-v2 = <&cpu_opp_table>;
144 #cooling-cells = <2>;
148 compatible = "cache";
153 entry-method = "psci";
155 CPU_SLEEP_0: cpu-sleep-0 {
156 compatible = "arm,idle-state";
157 idle-state-name = "standalone-power-collapse";
158 arm,psci-suspend-param = <0x40000002>;
159 entry-latency-us = <130>;
160 exit-latency-us = <150>;
161 min-residency-us = <2000>;
168 compatible = "arm,psci-1.0";
173 compatible = "arm,cortex-a53-pmu";
174 interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4)| IRQ_TYPE_LEVEL_HIGH)>;
179 polling-delay-passive = <250>;
180 polling-delay = <1000>;
182 thermal-sensors = <&tsens 4>;
185 cpu0_1_alert0: trip-point@0 {
186 temperature = <75000>;
190 cpu0_1_crit: cpu_crit {
191 temperature = <110000>;
199 trip = <&cpu0_1_alert0>;
200 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
201 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
202 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
203 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
209 polling-delay-passive = <250>;
210 polling-delay = <1000>;
212 thermal-sensors = <&tsens 3>;
215 cpu2_3_alert0: trip-point@0 {
216 temperature = <75000>;
220 cpu2_3_crit: cpu_crit {
221 temperature = <110000>;
229 trip = <&cpu2_3_alert0>;
230 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
231 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
232 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
233 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
239 polling-delay-passive = <250>;
240 polling-delay = <1000>;
242 thermal-sensors = <&tsens 2>;
245 gpu_alert0: trip-point@0 {
246 temperature = <75000>;
251 temperature = <95000>;
259 polling-delay-passive = <250>;
260 polling-delay = <1000>;
262 thermal-sensors = <&tsens 1>;
265 cam_alert0: trip-point@0 {
266 temperature = <75000>;
274 polling-delay-passive = <250>;
275 polling-delay = <1000>;
277 thermal-sensors = <&tsens 0>;
280 modem_alert0: trip-point@0 {
281 temperature = <85000>;
290 cpu_opp_table: cpu_opp_table {
291 compatible = "operating-points-v2";
295 opp-hz = /bits/ 64 <200000000>;
298 opp-hz = /bits/ 64 <400000000>;
301 opp-hz = /bits/ 64 <800000000>;
304 opp-hz = /bits/ 64 <998400000>;
308 gpu_opp_table: opp_table {
309 compatible = "operating-points-v2";
312 opp-hz = /bits/ 64 <400000000>;
315 opp-hz = /bits/ 64 <19200000>;
320 compatible = "arm,armv8-timer";
321 interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
322 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
323 <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
324 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
329 compatible = "fixed-clock";
331 clock-frequency = <19200000>;
334 sleep_clk: sleep_clk {
335 compatible = "fixed-clock";
337 clock-frequency = <32768>;
342 compatible = "qcom,smem";
344 memory-region = <&smem_mem>;
345 qcom,rpm-msg-ram = <&rpm_msg_ram>;
347 hwlocks = <&tcsr_mutex 3>;
352 compatible = "qcom,scm";
353 clocks = <&gcc GCC_CRYPTO_CLK>, <&gcc GCC_CRYPTO_AXI_CLK>, <&gcc GCC_CRYPTO_AHB_CLK>;
354 clock-names = "core", "bus", "iface";
357 qcom,dload-mode = <&tcsr 0x6100>;
362 #address-cells = <1>;
364 ranges = <0 0 0 0xffffffff>;
365 compatible = "simple-bus";
368 compatible = "qcom,pshold";
369 reg = <0x4ab000 0x4>;
372 msmgpio: pinctrl@1000000 {
373 compatible = "qcom,msm8916-pinctrl";
374 reg = <0x1000000 0x300000>;
375 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
378 interrupt-controller;
379 #interrupt-cells = <2>;
382 gcc: clock-controller@1800000 {
383 compatible = "qcom,gcc-msm8916";
386 #power-domain-cells = <1>;
387 reg = <0x1800000 0x80000>;
390 tcsr_mutex_regs: syscon@1905000 {
391 compatible = "syscon";
392 reg = <0x1905000 0x20000>;
395 tcsr: syscon@1937000 {
396 compatible = "qcom,tcsr-msm8916", "syscon";
397 reg = <0x1937000 0x30000>;
401 compatible = "qcom,tcsr-mutex";
402 syscon = <&tcsr_mutex_regs 0 0x1000>;
406 rpm_msg_ram: memory@60000 {
407 compatible = "qcom,rpm-msg-ram";
408 reg = <0x60000 0x8000>;
411 blsp1_uart1: serial@78af000 {
412 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
413 reg = <0x78af000 0x200>;
414 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
415 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
416 clock-names = "core", "iface";
417 dmas = <&blsp_dma 1>, <&blsp_dma 0>;
418 dma-names = "rx", "tx";
422 a53pll: clock@b016000 {
423 compatible = "qcom,msm8916-a53pll";
424 reg = <0xb016000 0x40>;
428 apcs: mailbox@b011000 {
429 compatible = "qcom,msm8916-apcs-kpss-global", "syscon";
430 reg = <0xb011000 0x1000>;
436 blsp1_uart2: serial@78b0000 {
437 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
438 reg = <0x78b0000 0x200>;
439 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
440 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
441 clock-names = "core", "iface";
442 dmas = <&blsp_dma 3>, <&blsp_dma 2>;
443 dma-names = "rx", "tx";
447 blsp_dma: dma@7884000 {
448 compatible = "qcom,bam-v1.7.0";
449 reg = <0x07884000 0x23000>;
450 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
451 clocks = <&gcc GCC_BLSP1_AHB_CLK>;
452 clock-names = "bam_clk";
458 blsp_spi1: spi@78b5000 {
459 compatible = "qcom,spi-qup-v2.2.1";
460 reg = <0x078b5000 0x500>;
461 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
462 clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
463 <&gcc GCC_BLSP1_AHB_CLK>;
464 clock-names = "core", "iface";
465 dmas = <&blsp_dma 5>, <&blsp_dma 4>;
466 dma-names = "rx", "tx";
467 pinctrl-names = "default", "sleep";
468 pinctrl-0 = <&spi1_default>;
469 pinctrl-1 = <&spi1_sleep>;
470 #address-cells = <1>;
475 blsp_spi2: spi@78b6000 {
476 compatible = "qcom,spi-qup-v2.2.1";
477 reg = <0x078b6000 0x500>;
478 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
479 clocks = <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>,
480 <&gcc GCC_BLSP1_AHB_CLK>;
481 clock-names = "core", "iface";
482 dmas = <&blsp_dma 7>, <&blsp_dma 6>;
483 dma-names = "rx", "tx";
484 pinctrl-names = "default", "sleep";
485 pinctrl-0 = <&spi2_default>;
486 pinctrl-1 = <&spi2_sleep>;
487 #address-cells = <1>;
492 blsp_spi3: spi@78b7000 {
493 compatible = "qcom,spi-qup-v2.2.1";
494 reg = <0x078b7000 0x500>;
495 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
496 clocks = <&gcc GCC_BLSP1_QUP3_SPI_APPS_CLK>,
497 <&gcc GCC_BLSP1_AHB_CLK>;
498 clock-names = "core", "iface";
499 dmas = <&blsp_dma 9>, <&blsp_dma 8>;
500 dma-names = "rx", "tx";
501 pinctrl-names = "default", "sleep";
502 pinctrl-0 = <&spi3_default>;
503 pinctrl-1 = <&spi3_sleep>;
504 #address-cells = <1>;
509 blsp_spi4: spi@78b8000 {
510 compatible = "qcom,spi-qup-v2.2.1";
511 reg = <0x078b8000 0x500>;
512 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
513 clocks = <&gcc GCC_BLSP1_QUP4_SPI_APPS_CLK>,
514 <&gcc GCC_BLSP1_AHB_CLK>;
515 clock-names = "core", "iface";
516 dmas = <&blsp_dma 11>, <&blsp_dma 10>;
517 dma-names = "rx", "tx";
518 pinctrl-names = "default", "sleep";
519 pinctrl-0 = <&spi4_default>;
520 pinctrl-1 = <&spi4_sleep>;
521 #address-cells = <1>;
526 blsp_spi5: spi@78b9000 {
527 compatible = "qcom,spi-qup-v2.2.1";
528 reg = <0x078b9000 0x500>;
529 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
530 clocks = <&gcc GCC_BLSP1_QUP5_SPI_APPS_CLK>,
531 <&gcc GCC_BLSP1_AHB_CLK>;
532 clock-names = "core", "iface";
533 dmas = <&blsp_dma 13>, <&blsp_dma 12>;
534 dma-names = "rx", "tx";
535 pinctrl-names = "default", "sleep";
536 pinctrl-0 = <&spi5_default>;
537 pinctrl-1 = <&spi5_sleep>;
538 #address-cells = <1>;
543 blsp_spi6: spi@78ba000 {
544 compatible = "qcom,spi-qup-v2.2.1";
545 reg = <0x078ba000 0x500>;
546 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
547 clocks = <&gcc GCC_BLSP1_QUP6_SPI_APPS_CLK>,
548 <&gcc GCC_BLSP1_AHB_CLK>;
549 clock-names = "core", "iface";
550 dmas = <&blsp_dma 15>, <&blsp_dma 14>;
551 dma-names = "rx", "tx";
552 pinctrl-names = "default", "sleep";
553 pinctrl-0 = <&spi6_default>;
554 pinctrl-1 = <&spi6_sleep>;
555 #address-cells = <1>;
560 blsp_i2c2: i2c@78b6000 {
561 compatible = "qcom,i2c-qup-v2.2.1";
562 reg = <0x078b6000 0x500>;
563 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
564 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
565 <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>;
566 clock-names = "iface", "core";
567 pinctrl-names = "default", "sleep";
568 pinctrl-0 = <&i2c2_default>;
569 pinctrl-1 = <&i2c2_sleep>;
570 #address-cells = <1>;
575 blsp_i2c4: i2c@78b8000 {
576 compatible = "qcom,i2c-qup-v2.2.1";
577 reg = <0x078b8000 0x500>;
578 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
579 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
580 <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>;
581 clock-names = "iface", "core";
582 pinctrl-names = "default", "sleep";
583 pinctrl-0 = <&i2c4_default>;
584 pinctrl-1 = <&i2c4_sleep>;
585 #address-cells = <1>;
590 blsp_i2c6: i2c@78ba000 {
591 compatible = "qcom,i2c-qup-v2.2.1";
592 reg = <0x078ba000 0x500>;
593 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
594 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
595 <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>;
596 clock-names = "iface", "core";
597 pinctrl-names = "default", "sleep";
598 pinctrl-0 = <&i2c6_default>;
599 pinctrl-1 = <&i2c6_sleep>;
600 #address-cells = <1>;
605 lpass: lpass@7708000 {
607 compatible = "qcom,lpass-cpu-apq8016";
608 clocks = <&gcc GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK>,
609 <&gcc GCC_ULTAUDIO_PCNOC_MPORT_CLK>,
610 <&gcc GCC_ULTAUDIO_PCNOC_SWAY_CLK>,
611 <&gcc GCC_ULTAUDIO_LPAIF_PRI_I2S_CLK>,
612 <&gcc GCC_ULTAUDIO_LPAIF_SEC_I2S_CLK>,
613 <&gcc GCC_ULTAUDIO_LPAIF_SEC_I2S_CLK>,
614 <&gcc GCC_ULTAUDIO_LPAIF_AUX_I2S_CLK>;
616 clock-names = "ahbix-clk",
623 #sound-dai-cells = <1>;
625 interrupts = <0 160 IRQ_TYPE_LEVEL_HIGH>;
626 interrupt-names = "lpass-irq-lpaif";
627 reg = <0x07708000 0x10000>;
628 reg-names = "lpass-lpaif";
632 compatible = "qcom,msm8916-wcd-digital-codec";
633 reg = <0x0771c000 0x400>;
634 clocks = <&gcc GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK>,
635 <&gcc GCC_CODEC_DIGCODEC_CLK>;
636 clock-names = "ahbix-clk", "mclk";
637 #sound-dai-cells = <1>;
640 sdhc_1: sdhci@7824000 {
641 compatible = "qcom,sdhci-msm-v4";
642 reg = <0x07824900 0x11c>, <0x07824000 0x800>;
643 reg-names = "hc_mem", "core_mem";
645 interrupts = <0 123 IRQ_TYPE_LEVEL_HIGH>, <0 138 IRQ_TYPE_LEVEL_HIGH>;
646 interrupt-names = "hc_irq", "pwr_irq";
647 clocks = <&gcc GCC_SDCC1_APPS_CLK>,
648 <&gcc GCC_SDCC1_AHB_CLK>,
650 clock-names = "core", "iface", "xo";
657 sdhc_2: sdhci@7864000 {
658 compatible = "qcom,sdhci-msm-v4";
659 reg = <0x07864900 0x11c>, <0x07864000 0x800>;
660 reg-names = "hc_mem", "core_mem";
662 interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>, <0 221 IRQ_TYPE_LEVEL_HIGH>;
663 interrupt-names = "hc_irq", "pwr_irq";
664 clocks = <&gcc GCC_SDCC2_APPS_CLK>,
665 <&gcc GCC_SDCC2_AHB_CLK>,
667 clock-names = "core", "iface", "xo";
673 compatible = "qcom,ci-hdrc";
674 reg = <0x78d9000 0x200>,
676 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
677 <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
678 clocks = <&gcc GCC_USB_HS_AHB_CLK>,
679 <&gcc GCC_USB_HS_SYSTEM_CLK>;
680 clock-names = "iface", "core";
681 assigned-clocks = <&gcc GCC_USB_HS_SYSTEM_CLK>;
682 assigned-clock-rates = <80000000>;
683 resets = <&gcc GCC_USB_HS_BCR>;
684 reset-names = "core";
687 ahb-burst-config = <0>;
688 phy-names = "usb-phy";
689 phys = <&usb_hs_phy>;
695 compatible = "qcom,usb-hs-phy-msm8916",
698 clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
699 clock-names = "ref", "sleep";
700 resets = <&gcc GCC_USB2A_PHY_BCR>, <&otg 0>;
701 reset-names = "phy", "por";
702 qcom,init-seq = /bits/ 8 <0x0 0x44
703 0x1 0x6b 0x2 0x24 0x3 0x13>;
708 intc: interrupt-controller@b000000 {
709 compatible = "qcom,msm-qgic2";
710 interrupt-controller;
711 #interrupt-cells = <3>;
712 reg = <0x0b000000 0x1000>, <0x0b002000 0x1000>;
716 #address-cells = <1>;
719 compatible = "arm,armv7-timer-mem";
720 reg = <0xb020000 0x1000>;
721 clock-frequency = <19200000>;
725 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
726 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
727 reg = <0xb021000 0x1000>,
733 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
734 reg = <0xb023000 0x1000>;
740 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
741 reg = <0xb024000 0x1000>;
747 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
748 reg = <0xb025000 0x1000>;
754 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
755 reg = <0xb026000 0x1000>;
761 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
762 reg = <0xb027000 0x1000>;
768 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
769 reg = <0xb028000 0x1000>;
774 spmi_bus: spmi@200f000 {
775 compatible = "qcom,spmi-pmic-arb";
776 reg = <0x200f000 0x001000>,
777 <0x2400000 0x400000>,
778 <0x2c00000 0x400000>,
779 <0x3800000 0x200000>,
780 <0x200a000 0x002100>;
781 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
782 interrupt-names = "periph_irq";
783 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
786 #address-cells = <2>;
788 interrupt-controller;
789 #interrupt-cells = <4>;
793 compatible = "qcom,prng";
794 reg = <0x00022000 0x200>;
795 clocks = <&gcc GCC_PRNG_AHB_CLK>;
796 clock-names = "core";
799 qfprom: qfprom@5c000 {
800 compatible = "qcom,qfprom";
801 reg = <0x5c000 0x1000>;
802 #address-cells = <1>;
804 tsens_caldata: caldata@d0 {
807 tsens_calsel: calsel@ec {
812 tsens: thermal-sensor@4a9000 {
813 compatible = "qcom,msm8916-tsens";
814 reg = <0x4a9000 0x1000>, /* TM */
815 <0x4a8000 0x1000>; /* SROT */
816 nvmem-cells = <&tsens_caldata>, <&tsens_calsel>;
817 nvmem-cell-names = "calib", "calib_sel";
819 #thermal-sensor-cells = <1>;
822 apps_iommu: iommu@1ef0000 {
823 #address-cells = <1>;
826 compatible = "qcom,msm8916-iommu", "qcom,msm-iommu-v1";
827 ranges = <0 0x1e20000 0x40000>;
828 reg = <0x1ef0000 0x3000>;
829 clocks = <&gcc GCC_SMMU_CFG_CLK>,
830 <&gcc GCC_APSS_TCU_CLK>;
831 clock-names = "iface", "bus";
832 qcom,iommu-secure-id = <17>;
836 compatible = "qcom,msm-iommu-v1-sec";
837 reg = <0x3000 0x1000>;
838 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
843 compatible = "qcom,msm-iommu-v1-ns";
844 reg = <0x4000 0x1000>;
845 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
850 compatible = "qcom,msm-iommu-v1-sec";
851 reg = <0x5000 0x1000>;
852 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
856 gpu_iommu: iommu@1f08000 {
857 #address-cells = <1>;
860 compatible = "qcom,msm8916-iommu", "qcom,msm-iommu-v1";
861 ranges = <0 0x1f08000 0x10000>;
862 clocks = <&gcc GCC_SMMU_CFG_CLK>,
863 <&gcc GCC_GFX_TCU_CLK>;
864 clock-names = "iface", "bus";
865 qcom,iommu-secure-id = <18>;
869 compatible = "qcom,msm-iommu-v1-ns";
870 reg = <0x1000 0x1000>;
871 interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
876 compatible = "qcom,msm-iommu-v1-ns";
877 reg = <0x2000 0x1000>;
878 interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>;
883 compatible = "qcom,adreno-306.0", "qcom,adreno";
884 reg = <0x01c00000 0x20000>;
885 reg-names = "kgsl_3d0_reg_memory";
886 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
887 interrupt-names = "kgsl_3d0_irq";
896 <&gcc GCC_OXILI_GFX3D_CLK>,
897 <&gcc GCC_OXILI_AHB_CLK>,
898 <&gcc GCC_OXILI_GMEM_CLK>,
899 <&gcc GCC_BIMC_GFX_CLK>,
900 <&gcc GCC_BIMC_GPU_CLK>,
901 <&gcc GFX3D_CLK_SRC>;
902 power-domains = <&gcc OXILI_GDSC>;
903 operating-points-v2 = <&gpu_opp_table>;
904 iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
908 compatible = "qcom,mdss";
909 reg = <0x1a00000 0x1000>,
911 reg-names = "mdss_phys", "vbif_phys";
913 power-domains = <&gcc MDSS_GDSC>;
915 clocks = <&gcc GCC_MDSS_AHB_CLK>,
916 <&gcc GCC_MDSS_AXI_CLK>,
917 <&gcc GCC_MDSS_VSYNC_CLK>;
918 clock-names = "iface",
922 interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>;
924 interrupt-controller;
925 #interrupt-cells = <1>;
927 #address-cells = <1>;
932 compatible = "qcom,mdp5";
933 reg = <0x1a01000 0x89000>;
934 reg-names = "mdp_phys";
936 interrupt-parent = <&mdss>;
939 clocks = <&gcc GCC_MDSS_AHB_CLK>,
940 <&gcc GCC_MDSS_AXI_CLK>,
941 <&gcc GCC_MDSS_MDP_CLK>,
942 <&gcc GCC_MDSS_VSYNC_CLK>;
943 clock-names = "iface",
948 iommus = <&apps_iommu 4>;
951 #address-cells = <1>;
956 mdp5_intf1_out: endpoint {
957 remote-endpoint = <&dsi0_in>;
964 compatible = "qcom,mdss-dsi-ctrl";
965 reg = <0x1a98000 0x25c>;
966 reg-names = "dsi_ctrl";
968 interrupt-parent = <&mdss>;
971 assigned-clocks = <&gcc BYTE0_CLK_SRC>,
972 <&gcc PCLK0_CLK_SRC>;
973 assigned-clock-parents = <&dsi_phy0 0>,
976 clocks = <&gcc GCC_MDSS_MDP_CLK>,
977 <&gcc GCC_MDSS_AHB_CLK>,
978 <&gcc GCC_MDSS_AXI_CLK>,
979 <&gcc GCC_MDSS_BYTE0_CLK>,
980 <&gcc GCC_MDSS_PCLK0_CLK>,
981 <&gcc GCC_MDSS_ESC0_CLK>;
982 clock-names = "mdp_core",
989 phy-names = "dsi-phy";
992 #address-cells = <1>;
998 remote-endpoint = <&mdp5_intf1_out>;
1004 dsi0_out: endpoint {
1010 dsi_phy0: dsi-phy@1a98300 {
1011 compatible = "qcom,dsi-phy-28nm-lp";
1012 reg = <0x1a98300 0xd4>,
1015 reg-names = "dsi_pll",
1017 "dsi_phy_regulator";
1022 clocks = <&gcc GCC_MDSS_AHB_CLK>,
1024 clock-names = "iface", "ref";
1030 compatible = "qcom,q6v5-pil";
1031 reg = <0x04080000 0x100>,
1034 reg-names = "qdsp6", "rmb";
1036 interrupts-extended = <&intc 0 24 1>,
1037 <&hexagon_smp2p_in 0 0>,
1038 <&hexagon_smp2p_in 1 0>,
1039 <&hexagon_smp2p_in 2 0>,
1040 <&hexagon_smp2p_in 3 0>;
1041 interrupt-names = "wdog", "fatal", "ready",
1042 "handover", "stop-ack";
1044 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
1045 <&gcc GCC_MSS_Q6_BIMC_AXI_CLK>,
1046 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1048 clock-names = "iface", "bus", "mem", "xo";
1050 qcom,smem-states = <&hexagon_smp2p_out 0>;
1051 qcom,smem-state-names = "stop";
1054 reset-names = "mss_restart";
1056 cx-supply = <&pm8916_s1>;
1057 mx-supply = <&pm8916_l3>;
1058 pll-supply = <&pm8916_l7>;
1060 qcom,halt-regs = <&tcsr 0x18000 0x19000 0x1a000>;
1062 status = "disabled";
1065 memory-region = <&mba_mem>;
1069 memory-region = <&mpss_mem>;
1073 interrupts = <0 25 IRQ_TYPE_EDGE_RISING>;
1075 qcom,smd-edge = <0>;
1076 qcom,ipc = <&apcs 8 12>;
1077 qcom,remote-pid = <1>;
1083 pronto: wcnss@a21b000 {
1084 compatible = "qcom,pronto-v2-pil", "qcom,pronto";
1085 reg = <0x0a204000 0x2000>, <0x0a202000 0x1000>, <0x0a21b000 0x3000>;
1086 reg-names = "ccu", "dxe", "pmu";
1088 memory-region = <&wcnss_mem>;
1090 interrupts-extended = <&intc 0 149 IRQ_TYPE_EDGE_RISING>,
1091 <&wcnss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1092 <&wcnss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1093 <&wcnss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1094 <&wcnss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
1095 interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
1097 vddmx-supply = <&pm8916_l3>;
1098 vddpx-supply = <&pm8916_l7>;
1100 qcom,state = <&wcnss_smp2p_out 0>;
1101 qcom,state-names = "stop";
1103 pinctrl-names = "default";
1104 pinctrl-0 = <&wcnss_pin_a>;
1106 status = "disabled";
1109 compatible = "qcom,wcn3620";
1111 clocks = <&rpmcc RPM_SMD_RF_CLK2>;
1114 vddxo-supply = <&pm8916_l7>;
1115 vddrfa-supply = <&pm8916_s3>;
1116 vddpa-supply = <&pm8916_l9>;
1117 vdddig-supply = <&pm8916_l5>;
1121 interrupts = <0 142 1>;
1123 qcom,ipc = <&apcs 8 17>;
1124 qcom,smd-edge = <6>;
1125 qcom,remote-pid = <4>;
1130 compatible = "qcom,wcnss";
1131 qcom,smd-channels = "WCNSS_CTRL";
1133 qcom,mmio = <&pronto>;
1136 compatible = "qcom,wcnss-bt";
1140 compatible = "qcom,wcnss-wlan";
1142 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>,
1143 <0 146 IRQ_TYPE_LEVEL_HIGH>;
1144 interrupt-names = "tx", "rx";
1146 qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
1147 qcom,smem-state-names = "tx-enable", "tx-rings-empty";
1154 compatible = "arm,coresight-tpiu", "arm,primecell";
1155 reg = <0x820000 0x1000>;
1157 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
1158 clock-names = "apb_pclk", "atclk";
1163 remote-endpoint = <&replicator_out1>;
1170 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1171 reg = <0x821000 0x1000>;
1173 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
1174 clock-names = "apb_pclk", "atclk";
1177 #address-cells = <1>;
1181 * Not described input ports:
1182 * 0 - connected to Resource and Power Manger CPU ETM
1184 * 2 - connected to Modem CPU ETM
1187 * 6 - connected trought funnel to Wireless CPU ETM
1188 * 7 - connected to STM component
1193 funnel0_in4: endpoint {
1194 remote-endpoint = <&funnel1_out>;
1201 funnel0_out: endpoint {
1202 remote-endpoint = <&etf_in>;
1209 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
1210 reg = <0x824000 0x1000>;
1212 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
1213 clock-names = "apb_pclk", "atclk";
1216 #address-cells = <1>;
1221 replicator_out0: endpoint {
1222 remote-endpoint = <&etr_in>;
1227 replicator_out1: endpoint {
1228 remote-endpoint = <&tpiu_in>;
1235 replicator_in: endpoint {
1236 remote-endpoint = <&etf_out>;
1243 compatible = "arm,coresight-tmc", "arm,primecell";
1244 reg = <0x825000 0x1000>;
1246 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
1247 clock-names = "apb_pclk", "atclk";
1252 remote-endpoint = <&funnel0_out>;
1260 remote-endpoint = <&replicator_in>;
1267 compatible = "arm,coresight-tmc", "arm,primecell";
1268 reg = <0x826000 0x1000>;
1270 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
1271 clock-names = "apb_pclk", "atclk";
1276 remote-endpoint = <&replicator_out0>;
1282 funnel@841000 { /* APSS funnel only 4 inputs are used */
1283 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1284 reg = <0x841000 0x1000>;
1286 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
1287 clock-names = "apb_pclk", "atclk";
1290 #address-cells = <1>;
1295 funnel1_in0: endpoint {
1296 remote-endpoint = <&etm0_out>;
1301 funnel1_in1: endpoint {
1302 remote-endpoint = <&etm1_out>;
1307 funnel1_in2: endpoint {
1308 remote-endpoint = <&etm2_out>;
1313 funnel1_in3: endpoint {
1314 remote-endpoint = <&etm3_out>;
1321 funnel1_out: endpoint {
1322 remote-endpoint = <&funnel0_in4>;
1329 compatible = "arm,coresight-cpu-debug","arm,primecell";
1330 reg = <0x850000 0x1000>;
1331 clocks = <&rpmcc RPM_QDSS_CLK>;
1332 clock-names = "apb_pclk";
1337 compatible = "arm,coresight-cpu-debug","arm,primecell";
1338 reg = <0x852000 0x1000>;
1339 clocks = <&rpmcc RPM_QDSS_CLK>;
1340 clock-names = "apb_pclk";
1345 compatible = "arm,coresight-cpu-debug","arm,primecell";
1346 reg = <0x854000 0x1000>;
1347 clocks = <&rpmcc RPM_QDSS_CLK>;
1348 clock-names = "apb_pclk";
1353 compatible = "arm,coresight-cpu-debug","arm,primecell";
1354 reg = <0x856000 0x1000>;
1355 clocks = <&rpmcc RPM_QDSS_CLK>;
1356 clock-names = "apb_pclk";
1361 compatible = "arm,coresight-etm4x", "arm,primecell";
1362 reg = <0x85c000 0x1000>;
1364 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
1365 clock-names = "apb_pclk", "atclk";
1371 etm0_out: endpoint {
1372 remote-endpoint = <&funnel1_in0>;
1379 compatible = "arm,coresight-etm4x", "arm,primecell";
1380 reg = <0x85d000 0x1000>;
1382 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
1383 clock-names = "apb_pclk", "atclk";
1389 etm1_out: endpoint {
1390 remote-endpoint = <&funnel1_in1>;
1397 compatible = "arm,coresight-etm4x", "arm,primecell";
1398 reg = <0x85e000 0x1000>;
1400 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
1401 clock-names = "apb_pclk", "atclk";
1407 etm2_out: endpoint {
1408 remote-endpoint = <&funnel1_in2>;
1415 compatible = "arm,coresight-etm4x", "arm,primecell";
1416 reg = <0x85f000 0x1000>;
1418 clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
1419 clock-names = "apb_pclk", "atclk";
1425 etm3_out: endpoint {
1426 remote-endpoint = <&funnel1_in3>;
1432 venus: video-codec@1d00000 {
1433 compatible = "qcom,msm8916-venus";
1434 reg = <0x01d00000 0xff000>;
1435 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
1436 power-domains = <&gcc VENUS_GDSC>;
1437 clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>,
1438 <&gcc GCC_VENUS0_AHB_CLK>,
1439 <&gcc GCC_VENUS0_AXI_CLK>;
1440 clock-names = "core", "iface", "bus";
1441 iommus = <&apps_iommu 5>;
1442 memory-region = <&venus_mem>;
1446 compatible = "venus-decoder";
1450 compatible = "venus-encoder";
1454 camss: camss@1b00000 {
1455 compatible = "qcom,msm8916-camss";
1456 reg = <0x1b0ac00 0x200>,
1465 reg-names = "csiphy0",
1474 interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>,
1475 <GIC_SPI 79 IRQ_TYPE_EDGE_RISING>,
1476 <GIC_SPI 51 IRQ_TYPE_EDGE_RISING>,
1477 <GIC_SPI 52 IRQ_TYPE_EDGE_RISING>,
1478 <GIC_SPI 55 IRQ_TYPE_EDGE_RISING>,
1479 <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
1480 interrupt-names = "csiphy0",
1486 power-domains = <&gcc VFE_GDSC>;
1487 clocks = <&gcc GCC_CAMSS_TOP_AHB_CLK>,
1488 <&gcc GCC_CAMSS_ISPIF_AHB_CLK>,
1489 <&gcc GCC_CAMSS_CSI0PHYTIMER_CLK>,
1490 <&gcc GCC_CAMSS_CSI1PHYTIMER_CLK>,
1491 <&gcc GCC_CAMSS_CSI0_AHB_CLK>,
1492 <&gcc GCC_CAMSS_CSI0_CLK>,
1493 <&gcc GCC_CAMSS_CSI0PHY_CLK>,
1494 <&gcc GCC_CAMSS_CSI0PIX_CLK>,
1495 <&gcc GCC_CAMSS_CSI0RDI_CLK>,
1496 <&gcc GCC_CAMSS_CSI1_AHB_CLK>,
1497 <&gcc GCC_CAMSS_CSI1_CLK>,
1498 <&gcc GCC_CAMSS_CSI1PHY_CLK>,
1499 <&gcc GCC_CAMSS_CSI1PIX_CLK>,
1500 <&gcc GCC_CAMSS_CSI1RDI_CLK>,
1501 <&gcc GCC_CAMSS_AHB_CLK>,
1502 <&gcc GCC_CAMSS_VFE0_CLK>,
1503 <&gcc GCC_CAMSS_CSI_VFE0_CLK>,
1504 <&gcc GCC_CAMSS_VFE_AHB_CLK>,
1505 <&gcc GCC_CAMSS_VFE_AXI_CLK>;
1506 clock-names = "top_ahb",
1525 vdda-supply = <&pm8916_l2>;
1526 iommus = <&apps_iommu 3>;
1527 status = "disabled";
1529 #address-cells = <1>;
1536 compatible = "qcom,smd";
1539 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
1540 qcom,ipc = <&apcs 8 0>;
1541 qcom,smd-edge = <15>;
1544 compatible = "qcom,rpm-msm8916";
1545 qcom,smd-channels = "rpm_requests";
1548 compatible = "qcom,rpmcc-msm8916";
1552 smd_rpm_regulators: pm8916-regulators {
1553 compatible = "qcom,rpm-pm8916-regulators";
1583 compatible = "qcom,smp2p";
1584 qcom,smem = <435>, <428>;
1586 interrupts = <0 27 IRQ_TYPE_EDGE_RISING>;
1588 qcom,ipc = <&apcs 8 14>;
1590 qcom,local-pid = <0>;
1591 qcom,remote-pid = <1>;
1593 hexagon_smp2p_out: master-kernel {
1594 qcom,entry-name = "master-kernel";
1596 #qcom,smem-state-cells = <1>;
1599 hexagon_smp2p_in: slave-kernel {
1600 qcom,entry-name = "slave-kernel";
1602 interrupt-controller;
1603 #interrupt-cells = <2>;
1608 compatible = "qcom,smp2p";
1609 qcom,smem = <451>, <431>;
1611 interrupts = <0 143 IRQ_TYPE_EDGE_RISING>;
1613 qcom,ipc = <&apcs 8 18>;
1615 qcom,local-pid = <0>;
1616 qcom,remote-pid = <4>;
1618 wcnss_smp2p_out: master-kernel {
1619 qcom,entry-name = "master-kernel";
1621 #qcom,smem-state-cells = <1>;
1624 wcnss_smp2p_in: slave-kernel {
1625 qcom,entry-name = "slave-kernel";
1627 interrupt-controller;
1628 #interrupt-cells = <2>;
1633 compatible = "qcom,smsm";
1635 #address-cells = <1>;
1638 qcom,ipc-1 = <&apcs 8 13>;
1639 qcom,ipc-3 = <&apcs 8 19>;
1644 #qcom,smem-state-cells = <1>;
1647 hexagon_smsm: hexagon@1 {
1649 interrupts = <0 26 IRQ_TYPE_EDGE_RISING>;
1651 interrupt-controller;
1652 #interrupt-cells = <2>;
1655 wcnss_smsm: wcnss@6 {
1657 interrupts = <0 144 IRQ_TYPE_EDGE_RISING>;
1659 interrupt-controller;
1660 #interrupt-cells = <2>;
1665 #include "msm8916-pins.dtsi"