1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2017, The Linux Foundation. All rights reserved.
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/qcom,gcc-ipq8074.h>
13 model = "Qualcomm Technologies, Inc. IPQ8074";
14 compatible = "qcom,ipq8074";
15 interrupt-parent = <&intc>;
18 sleep_clk: sleep_clk {
19 compatible = "fixed-clock";
20 clock-frequency = <32768>;
25 compatible = "fixed-clock";
26 clock-frequency = <19200000>;
37 compatible = "arm,cortex-a53";
39 next-level-cache = <&L2_0>;
40 enable-method = "psci";
45 compatible = "arm,cortex-a53";
46 enable-method = "psci";
48 next-level-cache = <&L2_0>;
53 compatible = "arm,cortex-a53";
54 enable-method = "psci";
56 next-level-cache = <&L2_0>;
61 compatible = "arm,cortex-a53";
62 enable-method = "psci";
64 next-level-cache = <&L2_0>;
75 compatible = "arm,cortex-a53-pmu";
76 interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
80 compatible = "arm,psci-1.0";
90 reg = <0x0 0x4a600000 0x0 0x400000>;
95 reg = <0x0 0x4aa00000 0x0 0x100000>;
100 compatible = "qcom,smem";
101 reg = <0x0 0x4ab00000 0x0 0x100000>;
104 hwlocks = <&tcsr_mutex 0>;
108 reg = <0x0 0x4ac00000 0x0 0x400000>;
115 compatible = "qcom,scm-ipq8074", "qcom,scm";
116 qcom,dload-mode = <&tcsr 0x6100>;
121 #address-cells = <1>;
123 ranges = <0 0 0 0xffffffff>;
124 compatible = "simple-bus";
127 compatible = "qcom,ipq8074-qmp-usb3-phy";
128 reg = <0x00058000 0x1c4>;
129 #address-cells = <1>;
133 clocks = <&gcc GCC_USB1_AUX_CLK>,
134 <&gcc GCC_USB1_PHY_CFG_AHB_CLK>,
136 clock-names = "aux", "cfg_ahb", "ref";
138 resets = <&gcc GCC_USB1_PHY_BCR>,
139 <&gcc GCC_USB3PHY_1_PHY_BCR>;
140 reset-names = "phy","common";
143 usb1_ssphy: phy@58200 {
144 reg = <0x00058200 0x130>, /* Tx */
145 <0x00058400 0x200>, /* Rx */
146 <0x00058800 0x1f8>, /* PCS */
147 <0x00058600 0x044>; /* PCS misc */
150 clocks = <&gcc GCC_USB1_PIPE_CLK>;
151 clock-names = "pipe0";
152 clock-output-names = "usb3phy_1_cc_pipe_clk";
156 qusb_phy_1: phy@59000 {
157 compatible = "qcom,ipq8074-qusb2-phy";
158 reg = <0x00059000 0x180>;
161 clocks = <&gcc GCC_USB1_PHY_CFG_AHB_CLK>,
163 clock-names = "cfg_ahb", "ref";
165 resets = <&gcc GCC_QUSB2_1_PHY_BCR>;
170 compatible = "qcom,ipq8074-qmp-usb3-phy";
171 reg = <0x00078000 0x1c4>;
172 #address-cells = <1>;
176 clocks = <&gcc GCC_USB0_AUX_CLK>,
177 <&gcc GCC_USB0_PHY_CFG_AHB_CLK>,
179 clock-names = "aux", "cfg_ahb", "ref";
181 resets = <&gcc GCC_USB0_PHY_BCR>,
182 <&gcc GCC_USB3PHY_0_PHY_BCR>;
183 reset-names = "phy","common";
186 usb0_ssphy: phy@78200 {
187 reg = <0x00078200 0x130>, /* Tx */
188 <0x00078400 0x200>, /* Rx */
189 <0x00078800 0x1f8>, /* PCS */
190 <0x00078600 0x044>; /* PCS misc */
193 clocks = <&gcc GCC_USB0_PIPE_CLK>;
194 clock-names = "pipe0";
195 clock-output-names = "usb3phy_0_cc_pipe_clk";
199 qusb_phy_0: phy@79000 {
200 compatible = "qcom,ipq8074-qusb2-phy";
201 reg = <0x00079000 0x180>;
204 clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>,
206 clock-names = "cfg_ahb", "ref";
208 resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
212 pcie_qmp0: phy@84000 {
213 compatible = "qcom,ipq8074-qmp-gen3-pcie-phy";
214 reg = <0x00084000 0x1bc>;
215 #address-cells = <1>;
219 clocks = <&gcc GCC_PCIE0_AUX_CLK>,
220 <&gcc GCC_PCIE0_AHB_CLK>;
221 clock-names = "aux", "cfg_ahb";
222 resets = <&gcc GCC_PCIE0_PHY_BCR>,
223 <&gcc GCC_PCIE0PHY_PHY_BCR>;
228 pcie_phy0: phy@84200 {
229 reg = <0x84200 0x16c>,
235 clocks = <&gcc GCC_PCIE0_PIPE_CLK>;
236 clock-names = "pipe0";
237 clock-output-names = "pcie20_phy0_pipe_clk";
241 pcie_qmp1: phy@8e000 {
242 compatible = "qcom,ipq8074-qmp-pcie-phy";
243 reg = <0x0008e000 0x1c4>;
244 #address-cells = <1>;
248 clocks = <&gcc GCC_PCIE1_AUX_CLK>,
249 <&gcc GCC_PCIE1_AHB_CLK>;
250 clock-names = "aux", "cfg_ahb";
251 resets = <&gcc GCC_PCIE1_PHY_BCR>,
252 <&gcc GCC_PCIE1PHY_PHY_BCR>;
257 pcie_phy1: phy@8e200 {
258 reg = <0x8e200 0x130>,
263 clocks = <&gcc GCC_PCIE1_PIPE_CLK>;
264 clock-names = "pipe0";
265 clock-output-names = "pcie20_phy1_pipe_clk";
270 compatible = "qcom,ipq8074-mdio", "qcom,ipq4019-mdio";
271 reg = <0x00090000 0x64>;
272 #address-cells = <1>;
275 clocks = <&gcc GCC_MDIO_AHB_CLK>;
276 clock-names = "gcc_mdio_ahb_clk";
281 qfprom: efuse@a4000 {
282 compatible = "qcom,ipq8074-qfprom", "qcom,qfprom";
283 reg = <0x000a4000 0x2000>;
284 #address-cells = <1>;
289 compatible = "qcom,prng-ee";
290 reg = <0x000e3000 0x1000>;
291 clocks = <&gcc GCC_PRNG_AHB_CLK>;
292 clock-names = "core";
296 tsens: thermal-sensor@4a9000 {
297 compatible = "qcom,ipq8074-tsens";
298 reg = <0x4a9000 0x1000>, /* TM */
299 <0x4a8000 0x1000>; /* SROT */
300 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
301 interrupt-names = "combined";
302 #qcom,sensors = <16>;
303 #thermal-sensor-cells = <1>;
306 cryptobam: dma-controller@704000 {
307 compatible = "qcom,bam-v1.7.0";
308 reg = <0x00704000 0x20000>;
309 interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>;
310 clocks = <&gcc GCC_CRYPTO_AHB_CLK>;
311 clock-names = "bam_clk";
314 qcom,controlled-remotely;
318 crypto: crypto@73a000 {
319 compatible = "qcom,crypto-v5.1";
320 reg = <0x0073a000 0x6000>;
321 clocks = <&gcc GCC_CRYPTO_AHB_CLK>,
322 <&gcc GCC_CRYPTO_AXI_CLK>,
323 <&gcc GCC_CRYPTO_CLK>;
324 clock-names = "iface", "bus", "core";
325 dmas = <&cryptobam 2>, <&cryptobam 3>;
326 dma-names = "rx", "tx";
330 tlmm: pinctrl@1000000 {
331 compatible = "qcom,ipq8074-pinctrl";
332 reg = <0x01000000 0x300000>;
333 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
335 gpio-ranges = <&tlmm 0 0 70>;
337 interrupt-controller;
338 #interrupt-cells = <2>;
340 serial_4_pins: serial4-state {
341 pins = "gpio23", "gpio24";
342 function = "blsp4_uart1";
343 drive-strength = <8>;
347 i2c_0_pins: i2c-0-state {
348 pins = "gpio42", "gpio43";
349 function = "blsp1_i2c";
350 drive-strength = <8>;
354 spi_0_pins: spi-0-state {
355 pins = "gpio38", "gpio39", "gpio40", "gpio41";
356 function = "blsp0_spi";
357 drive-strength = <8>;
361 hsuart_pins: hsuart-state {
362 pins = "gpio46", "gpio47", "gpio48", "gpio49";
363 function = "blsp2_uart";
364 drive-strength = <8>;
368 qpic_pins: qpic-state {
369 pins = "gpio1", "gpio3", "gpio4",
370 "gpio5", "gpio6", "gpio7",
371 "gpio8", "gpio10", "gpio11",
372 "gpio12", "gpio13", "gpio14",
373 "gpio15", "gpio16", "gpio17";
375 drive-strength = <8>;
381 compatible = "qcom,gcc-ipq8074";
382 reg = <0x01800000 0x80000>;
383 clocks = <&xo>, <&sleep_clk>;
384 clock-names = "xo", "sleep_clk";
386 #power-domain-cells = <1>;
390 tcsr_mutex: hwlock@1905000 {
391 compatible = "qcom,tcsr-mutex";
392 reg = <0x01905000 0x20000>;
396 tcsr: syscon@1937000 {
397 compatible = "qcom,tcsr-ipq8074", "syscon";
398 reg = <0x01937000 0x21000>;
401 spmi_bus: spmi@200f000 {
402 compatible = "qcom,spmi-pmic-arb";
403 reg = <0x0200f000 0x001000>,
404 <0x02400000 0x800000>,
405 <0x02c00000 0x800000>,
406 <0x03800000 0x200000>,
407 <0x0200a000 0x000700>;
408 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
409 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
410 interrupt-names = "periph_irq";
413 #address-cells = <2>;
415 interrupt-controller;
416 #interrupt-cells = <4>;
419 sdhc_1: mmc@7824900 {
420 compatible = "qcom,sdhci-msm-v4";
421 reg = <0x7824900 0x500>, <0x7824000 0x800>;
422 reg-names = "hc", "core";
424 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
425 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
426 interrupt-names = "hc_irq", "pwr_irq";
428 clocks = <&gcc GCC_SDCC1_AHB_CLK>,
429 <&gcc GCC_SDCC1_APPS_CLK>,
431 clock-names = "iface", "core", "xo";
432 resets = <&gcc GCC_SDCC1_BCR>;
433 max-frequency = <384000000>;
442 blsp_dma: dma-controller@7884000 {
443 compatible = "qcom,bam-v1.7.0";
444 reg = <0x07884000 0x2b000>;
445 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
446 clocks = <&gcc GCC_BLSP1_AHB_CLK>;
447 clock-names = "bam_clk";
452 blsp1_uart1: serial@78af000 {
453 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
454 reg = <0x078af000 0x200>;
455 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
456 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>,
457 <&gcc GCC_BLSP1_AHB_CLK>;
458 clock-names = "core", "iface";
462 blsp1_uart3: serial@78b1000 {
463 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
464 reg = <0x078b1000 0x200>;
465 interrupts = <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>;
466 clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>,
467 <&gcc GCC_BLSP1_AHB_CLK>;
468 clock-names = "core", "iface";
469 dmas = <&blsp_dma 4>,
471 dma-names = "tx", "rx";
472 pinctrl-0 = <&hsuart_pins>;
473 pinctrl-names = "default";
477 blsp1_uart5: serial@78b3000 {
478 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
479 reg = <0x078b3000 0x200>;
480 interrupts = <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>;
481 clocks = <&gcc GCC_BLSP1_UART5_APPS_CLK>,
482 <&gcc GCC_BLSP1_AHB_CLK>;
483 clock-names = "core", "iface";
484 pinctrl-0 = <&serial_4_pins>;
485 pinctrl-names = "default";
489 blsp1_spi1: spi@78b5000 {
490 compatible = "qcom,spi-qup-v2.2.1";
491 #address-cells = <1>;
493 reg = <0x078b5000 0x600>;
494 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
495 clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
496 <&gcc GCC_BLSP1_AHB_CLK>;
497 clock-names = "core", "iface";
498 dmas = <&blsp_dma 12>, <&blsp_dma 13>;
499 dma-names = "tx", "rx";
500 pinctrl-0 = <&spi_0_pins>;
501 pinctrl-names = "default";
505 blsp1_i2c2: i2c@78b6000 {
506 compatible = "qcom,i2c-qup-v2.2.1";
507 #address-cells = <1>;
509 reg = <0x078b6000 0x600>;
510 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
511 clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
512 <&gcc GCC_BLSP1_AHB_CLK>;
513 clock-names = "core", "iface";
514 clock-frequency = <400000>;
515 dmas = <&blsp_dma 14>, <&blsp_dma 15>;
516 dma-names = "tx", "rx";
517 pinctrl-0 = <&i2c_0_pins>;
518 pinctrl-names = "default";
522 blsp1_i2c3: i2c@78b7000 {
523 compatible = "qcom,i2c-qup-v2.2.1";
524 #address-cells = <1>;
526 reg = <0x078b7000 0x600>;
527 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
528 clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
529 <&gcc GCC_BLSP1_AHB_CLK>;
530 clock-names = "core", "iface";
531 clock-frequency = <100000>;
532 dmas = <&blsp_dma 16>, <&blsp_dma 17>;
533 dma-names = "tx", "rx";
537 blsp1_i2c5: i2c@78b9000 {
538 compatible = "qcom,i2c-qup-v2.2.1";
539 #address-cells = <1>;
541 reg = <0x78b9000 0x600>;
542 interrupts = <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
543 clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
544 <&gcc GCC_BLSP1_AHB_CLK>;
545 clock-names = "core", "iface";
546 clock-frequency = <400000>;
547 dmas = <&blsp_dma 20>, <&blsp_dma 21>;
548 dma-names = "tx", "rx";
552 blsp1_spi5: spi@78b9000 {
553 compatible = "qcom,spi-qup-v2.2.1";
554 #address-cells = <1>;
556 reg = <0x78b9000 0x600>;
557 interrupts = <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
558 clocks = <&gcc GCC_BLSP1_QUP5_SPI_APPS_CLK>,
559 <&gcc GCC_BLSP1_AHB_CLK>;
560 clock-names = "core", "iface";
561 dmas = <&blsp_dma 20>, <&blsp_dma 21>;
562 dma-names = "tx", "rx";
566 blsp1_i2c6: i2c@78ba000 {
567 compatible = "qcom,i2c-qup-v2.2.1";
568 #address-cells = <1>;
570 reg = <0x078ba000 0x600>;
571 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
572 clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
573 <&gcc GCC_BLSP1_AHB_CLK>;
574 clock-names = "core", "iface";
575 clock-frequency = <100000>;
576 dmas = <&blsp_dma 22>, <&blsp_dma 23>;
577 dma-names = "tx", "rx";
581 qpic_bam: dma-controller@7984000 {
582 compatible = "qcom,bam-v1.7.0";
583 reg = <0x07984000 0x1a000>;
584 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
585 clocks = <&gcc GCC_QPIC_AHB_CLK>;
586 clock-names = "bam_clk";
592 qpic_nand: nand-controller@79b0000 {
593 compatible = "qcom,ipq8074-nand";
594 reg = <0x079b0000 0x10000>;
595 #address-cells = <1>;
597 clocks = <&gcc GCC_QPIC_CLK>,
598 <&gcc GCC_QPIC_AHB_CLK>;
599 clock-names = "core", "aon";
601 dmas = <&qpic_bam 0>,
604 dma-names = "tx", "rx", "cmd";
605 pinctrl-0 = <&qpic_pins>;
606 pinctrl-names = "default";
611 compatible = "qcom,ipq8074-dwc3", "qcom,dwc3";
612 reg = <0x08af8800 0x400>;
613 #address-cells = <1>;
617 clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
618 <&gcc GCC_USB0_MASTER_CLK>,
619 <&gcc GCC_USB0_SLEEP_CLK>,
620 <&gcc GCC_USB0_MOCK_UTMI_CLK>;
621 clock-names = "cfg_noc",
626 assigned-clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
627 <&gcc GCC_USB0_MASTER_CLK>,
628 <&gcc GCC_USB0_MOCK_UTMI_CLK>;
629 assigned-clock-rates = <133330000>,
633 power-domains = <&gcc USB0_GDSC>;
635 resets = <&gcc GCC_USB0_BCR>;
639 compatible = "snps,dwc3";
640 reg = <0x8a00000 0xcd00>;
641 interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
642 phys = <&qusb_phy_0>, <&usb0_ssphy>;
643 phy-names = "usb2-phy", "usb3-phy";
644 snps,is-utmi-l1-suspend;
645 snps,hird-threshold = /bits/ 8 <0x0>;
646 snps,dis_u2_susphy_quirk;
647 snps,dis_u3_susphy_quirk;
653 compatible = "qcom,ipq8074-dwc3", "qcom,dwc3";
654 reg = <0x08cf8800 0x400>;
655 #address-cells = <1>;
659 clocks = <&gcc GCC_SYS_NOC_USB1_AXI_CLK>,
660 <&gcc GCC_USB1_MASTER_CLK>,
661 <&gcc GCC_USB1_SLEEP_CLK>,
662 <&gcc GCC_USB1_MOCK_UTMI_CLK>;
663 clock-names = "cfg_noc",
668 assigned-clocks = <&gcc GCC_SYS_NOC_USB1_AXI_CLK>,
669 <&gcc GCC_USB1_MASTER_CLK>,
670 <&gcc GCC_USB1_MOCK_UTMI_CLK>;
671 assigned-clock-rates = <133330000>,
675 power-domains = <&gcc USB1_GDSC>;
677 resets = <&gcc GCC_USB1_BCR>;
681 compatible = "snps,dwc3";
682 reg = <0x8c00000 0xcd00>;
683 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
684 phys = <&qusb_phy_1>, <&usb1_ssphy>;
685 phy-names = "usb2-phy", "usb3-phy";
686 snps,is-utmi-l1-suspend;
687 snps,hird-threshold = /bits/ 8 <0x0>;
688 snps,dis_u2_susphy_quirk;
689 snps,dis_u3_susphy_quirk;
694 intc: interrupt-controller@b000000 {
695 compatible = "qcom,msm-qgic2";
696 #address-cells = <1>;
698 interrupt-controller;
699 #interrupt-cells = <3>;
700 reg = <0x0b000000 0x1000>, <0x0b002000 0x1000>;
701 ranges = <0 0xb00a000 0xffd>;
704 compatible = "arm,gic-v2m-frame";
710 watchdog: watchdog@b017000 {
711 compatible = "qcom,kpss-wdt";
712 reg = <0xb017000 0x1000>;
713 interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
714 clocks = <&sleep_clk>;
718 apcs_glb: mailbox@b111000 {
719 compatible = "qcom,ipq8074-apcs-apps-global",
720 "qcom,ipq6018-apcs-apps-global";
721 reg = <0x0b111000 0x1000>;
722 clocks = <&a53pll>, <&xo>;
723 clock-names = "pll", "xo";
729 a53pll: clock@b116000 {
730 compatible = "qcom,ipq8074-a53pll";
731 reg = <0x0b116000 0x40>;
738 #address-cells = <1>;
741 compatible = "arm,armv7-timer-mem";
742 reg = <0x0b120000 0x1000>;
746 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
747 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
748 reg = <0x0b121000 0x1000>,
754 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
755 reg = <0x0b123000 0x1000>;
761 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
762 reg = <0x0b124000 0x1000>;
768 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
769 reg = <0x0b125000 0x1000>;
775 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
776 reg = <0x0b126000 0x1000>;
782 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
783 reg = <0x0b127000 0x1000>;
789 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
790 reg = <0x0b128000 0x1000>;
795 pcie1: pci@10000000 {
796 compatible = "qcom,pcie-ipq8074";
797 reg = <0x10000000 0xf1d>,
801 reg-names = "dbi", "elbi", "parf", "config";
803 linux,pci-domain = <1>;
804 bus-range = <0x00 0xff>;
806 max-link-speed = <2>;
807 #address-cells = <3>;
811 phy-names = "pciephy";
813 ranges = <0x81000000 0x0 0x00000000 0x10200000 0x0 0x10000>, /* I/O */
814 <0x82000000 0x0 0x10220000 0x10220000 0x0 0xfde0000>; /* MEM */
816 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
817 interrupt-names = "msi";
818 #interrupt-cells = <1>;
819 interrupt-map-mask = <0 0 0 0x7>;
820 interrupt-map = <0 0 0 1 &intc 0 142
821 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
823 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
825 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
827 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
829 clocks = <&gcc GCC_SYS_NOC_PCIE1_AXI_CLK>,
830 <&gcc GCC_PCIE1_AXI_M_CLK>,
831 <&gcc GCC_PCIE1_AXI_S_CLK>,
832 <&gcc GCC_PCIE1_AHB_CLK>,
833 <&gcc GCC_PCIE1_AUX_CLK>;
834 clock-names = "iface",
839 resets = <&gcc GCC_PCIE1_PIPE_ARES>,
840 <&gcc GCC_PCIE1_SLEEP_ARES>,
841 <&gcc GCC_PCIE1_CORE_STICKY_ARES>,
842 <&gcc GCC_PCIE1_AXI_MASTER_ARES>,
843 <&gcc GCC_PCIE1_AXI_SLAVE_ARES>,
844 <&gcc GCC_PCIE1_AHB_ARES>,
845 <&gcc GCC_PCIE1_AXI_MASTER_STICKY_ARES>;
846 reset-names = "pipe",
856 pcie0: pci@20000000 {
857 compatible = "qcom,pcie-ipq8074-gen3";
858 reg = <0x20000000 0xf1d>,
863 reg-names = "dbi", "elbi", "atu", "parf", "config";
865 linux,pci-domain = <0>;
866 bus-range = <0x00 0xff>;
868 max-link-speed = <3>;
869 #address-cells = <3>;
873 phy-names = "pciephy";
875 ranges = <0x81000000 0x0 0x00000000 0x20200000 0x0 0x10000>, /* I/O */
876 <0x82000000 0x0 0x20220000 0x20220000 0x0 0xfde0000>; /* MEM */
878 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
879 interrupt-names = "msi";
880 #interrupt-cells = <1>;
881 interrupt-map-mask = <0 0 0 0x7>;
882 interrupt-map = <0 0 0 1 &intc 0 75
883 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
885 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
887 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
889 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
891 clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>,
892 <&gcc GCC_PCIE0_AXI_M_CLK>,
893 <&gcc GCC_PCIE0_AXI_S_CLK>,
894 <&gcc GCC_PCIE0_AXI_S_BRIDGE_CLK>,
895 <&gcc GCC_PCIE0_RCHNG_CLK>;
896 clock-names = "iface",
902 resets = <&gcc GCC_PCIE0_PIPE_ARES>,
903 <&gcc GCC_PCIE0_SLEEP_ARES>,
904 <&gcc GCC_PCIE0_CORE_STICKY_ARES>,
905 <&gcc GCC_PCIE0_AXI_MASTER_ARES>,
906 <&gcc GCC_PCIE0_AXI_SLAVE_ARES>,
907 <&gcc GCC_PCIE0_AHB_ARES>,
908 <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>,
909 <&gcc GCC_PCIE0_AXI_SLAVE_STICKY_ARES>;
910 reset-names = "pipe",
923 compatible = "arm,armv8-timer";
924 interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
925 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
926 <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
927 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
932 polling-delay-passive = <250>;
933 polling-delay = <1000>;
935 thermal-sensors = <&tsens 4>;
939 temperature = <110000>;
947 polling-delay-passive = <250>;
948 polling-delay = <1000>;
950 thermal-sensors = <&tsens 5>;
954 temperature = <110000>;
962 polling-delay-passive = <250>;
963 polling-delay = <1000>;
965 thermal-sensors = <&tsens 6>;
969 temperature = <110000>;
977 polling-delay-passive = <250>;
978 polling-delay = <1000>;
980 thermal-sensors = <&tsens 7>;
984 temperature = <110000>;
992 polling-delay-passive = <250>;
993 polling-delay = <1000>;
995 thermal-sensors = <&tsens 8>;
999 temperature = <110000>;
1000 hysteresis = <1000>;
1006 cpu0_thermal: cpu0-thermal {
1007 polling-delay-passive = <250>;
1008 polling-delay = <1000>;
1010 thermal-sensors = <&tsens 9>;
1014 temperature = <110000>;
1015 hysteresis = <1000>;
1021 cpu1_thermal: cpu1-thermal {
1022 polling-delay-passive = <250>;
1023 polling-delay = <1000>;
1025 thermal-sensors = <&tsens 10>;
1029 temperature = <110000>;
1030 hysteresis = <1000>;
1036 cpu2_thermal: cpu2-thermal {
1037 polling-delay-passive = <250>;
1038 polling-delay = <1000>;
1040 thermal-sensors = <&tsens 11>;
1044 temperature = <110000>;
1045 hysteresis = <1000>;
1051 cpu3_thermal: cpu3-thermal {
1052 polling-delay-passive = <250>;
1053 polling-delay = <1000>;
1055 thermal-sensors = <&tsens 12>;
1059 temperature = <110000>;
1060 hysteresis = <1000>;
1066 cluster_thermal: cluster-thermal {
1067 polling-delay-passive = <250>;
1068 polling-delay = <1000>;
1070 thermal-sensors = <&tsens 13>;
1074 temperature = <110000>;
1075 hysteresis = <1000>;
1081 wcss-phyb0-thermal {
1082 polling-delay-passive = <250>;
1083 polling-delay = <1000>;
1085 thermal-sensors = <&tsens 14>;
1089 temperature = <110000>;
1090 hysteresis = <1000>;
1096 wcss-phyb1-thermal {
1097 polling-delay-passive = <250>;
1098 polling-delay = <1000>;
1100 thermal-sensors = <&tsens 15>;
1104 temperature = <110000>;
1105 hysteresis = <1000>;