1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (c) 2017, The Linux Foundation. All rights reserved. 4 */ 5 6#include <dt-bindings/interrupt-controller/arm-gic.h> 7#include <dt-bindings/clock/qcom,gcc-ipq8074.h> 8 9/ { 10 model = "Qualcomm Technologies, Inc. IPQ8074"; 11 compatible = "qcom,ipq8074"; 12 13 clocks { 14 sleep_clk: sleep_clk { 15 compatible = "fixed-clock"; 16 clock-frequency = <32000>; 17 #clock-cells = <0>; 18 }; 19 20 xo: xo { 21 compatible = "fixed-clock"; 22 clock-frequency = <19200000>; 23 #clock-cells = <0>; 24 }; 25 }; 26 27 cpus { 28 #address-cells = <0x1>; 29 #size-cells = <0x0>; 30 31 CPU0: cpu@0 { 32 device_type = "cpu"; 33 compatible = "arm,cortex-a53"; 34 reg = <0x0>; 35 next-level-cache = <&L2_0>; 36 enable-method = "psci"; 37 }; 38 39 CPU1: cpu@1 { 40 device_type = "cpu"; 41 compatible = "arm,cortex-a53"; 42 enable-method = "psci"; 43 reg = <0x1>; 44 next-level-cache = <&L2_0>; 45 }; 46 47 CPU2: cpu@2 { 48 device_type = "cpu"; 49 compatible = "arm,cortex-a53"; 50 enable-method = "psci"; 51 reg = <0x2>; 52 next-level-cache = <&L2_0>; 53 }; 54 55 CPU3: cpu@3 { 56 device_type = "cpu"; 57 compatible = "arm,cortex-a53"; 58 enable-method = "psci"; 59 reg = <0x3>; 60 next-level-cache = <&L2_0>; 61 }; 62 63 L2_0: l2-cache { 64 compatible = "cache"; 65 cache-level = <0x2>; 66 }; 67 }; 68 69 pmu { 70 compatible = "arm,cortex-a53-pmu"; 71 interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 72 }; 73 74 psci { 75 compatible = "arm,psci-1.0"; 76 method = "smc"; 77 }; 78 79 soc: soc { 80 #address-cells = <0x1>; 81 #size-cells = <0x1>; 82 ranges = <0 0 0 0xffffffff>; 83 compatible = "simple-bus"; 84 85 ssphy_1: phy@58000 { 86 compatible = "qcom,ipq8074-qmp-usb3-phy"; 87 reg = <0x00058000 0x1c4>; 88 #clock-cells = <1>; 89 #address-cells = <1>; 90 #size-cells = <1>; 91 ranges; 92 93 clocks = <&gcc GCC_USB1_AUX_CLK>, 94 <&gcc GCC_USB1_PHY_CFG_AHB_CLK>, 95 <&xo>; 96 clock-names = "aux", "cfg_ahb", "ref"; 97 98 resets = <&gcc GCC_USB1_PHY_BCR>, 99 <&gcc GCC_USB3PHY_1_PHY_BCR>; 100 reset-names = "phy","common"; 101 status = "disabled"; 102 103 usb1_ssphy: lane@58200 { 104 reg = <0x00058200 0x130>, /* Tx */ 105 <0x00058400 0x200>, /* Rx */ 106 <0x00058800 0x1f8>, /* PCS */ 107 <0x00058600 0x044>; /* PCS misc*/ 108 #phy-cells = <0>; 109 clocks = <&gcc GCC_USB1_PIPE_CLK>; 110 clock-names = "pipe0"; 111 clock-output-names = "gcc_usb1_pipe_clk_src"; 112 }; 113 }; 114 115 qusb_phy_1: phy@59000 { 116 compatible = "qcom,ipq8074-qusb2-phy"; 117 reg = <0x00059000 0x180>; 118 #phy-cells = <0>; 119 120 clocks = <&gcc GCC_USB1_PHY_CFG_AHB_CLK>, 121 <&xo>; 122 clock-names = "cfg_ahb", "ref"; 123 124 resets = <&gcc GCC_QUSB2_1_PHY_BCR>; 125 status = "disabled"; 126 }; 127 128 ssphy_0: phy@78000 { 129 compatible = "qcom,ipq8074-qmp-usb3-phy"; 130 reg = <0x00078000 0x1c4>; 131 #clock-cells = <1>; 132 #address-cells = <1>; 133 #size-cells = <1>; 134 ranges; 135 136 clocks = <&gcc GCC_USB0_AUX_CLK>, 137 <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, 138 <&xo>; 139 clock-names = "aux", "cfg_ahb", "ref"; 140 141 resets = <&gcc GCC_USB0_PHY_BCR>, 142 <&gcc GCC_USB3PHY_0_PHY_BCR>; 143 reset-names = "phy","common"; 144 status = "disabled"; 145 146 usb0_ssphy: lane@78200 { 147 reg = <0x00078200 0x130>, /* Tx */ 148 <0x00078400 0x200>, /* Rx */ 149 <0x00078800 0x1f8>, /* PCS */ 150 <0x00078600 0x044>; /* PCS misc*/ 151 #phy-cells = <0>; 152 clocks = <&gcc GCC_USB0_PIPE_CLK>; 153 clock-names = "pipe0"; 154 clock-output-names = "gcc_usb0_pipe_clk_src"; 155 }; 156 }; 157 158 qusb_phy_0: phy@79000 { 159 compatible = "qcom,ipq8074-qusb2-phy"; 160 reg = <0x00079000 0x180>; 161 #phy-cells = <0>; 162 163 clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, 164 <&xo>; 165 clock-names = "cfg_ahb", "ref"; 166 167 resets = <&gcc GCC_QUSB2_0_PHY_BCR>; 168 status = "disabled"; 169 }; 170 171 pcie_phy0: phy@86000 { 172 compatible = "qcom,ipq8074-qmp-pcie-phy"; 173 reg = <0x00086000 0x1000>; 174 #phy-cells = <0>; 175 clocks = <&gcc GCC_PCIE0_PIPE_CLK>; 176 clock-names = "pipe_clk"; 177 clock-output-names = "pcie20_phy0_pipe_clk"; 178 179 resets = <&gcc GCC_PCIE0_PHY_BCR>, 180 <&gcc GCC_PCIE0PHY_PHY_BCR>; 181 reset-names = "phy", 182 "common"; 183 status = "disabled"; 184 }; 185 186 pcie_phy1: phy@8e000 { 187 compatible = "qcom,ipq8074-qmp-pcie-phy"; 188 reg = <0x0008e000 0x1000>; 189 #phy-cells = <0>; 190 clocks = <&gcc GCC_PCIE1_PIPE_CLK>; 191 clock-names = "pipe_clk"; 192 clock-output-names = "pcie20_phy1_pipe_clk"; 193 194 resets = <&gcc GCC_PCIE1_PHY_BCR>, 195 <&gcc GCC_PCIE1PHY_PHY_BCR>; 196 reset-names = "phy", 197 "common"; 198 status = "disabled"; 199 }; 200 201 tlmm: pinctrl@1000000 { 202 compatible = "qcom,ipq8074-pinctrl"; 203 reg = <0x01000000 0x300000>; 204 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 205 gpio-controller; 206 gpio-ranges = <&tlmm 0 0 70>; 207 #gpio-cells = <0x2>; 208 interrupt-controller; 209 #interrupt-cells = <0x2>; 210 211 serial_4_pins: serial4-pinmux { 212 pins = "gpio23", "gpio24"; 213 function = "blsp4_uart1"; 214 drive-strength = <8>; 215 bias-disable; 216 }; 217 218 i2c_0_pins: i2c-0-pinmux { 219 pins = "gpio42", "gpio43"; 220 function = "blsp1_i2c"; 221 drive-strength = <8>; 222 bias-disable; 223 }; 224 225 spi_0_pins: spi-0-pins { 226 pins = "gpio38", "gpio39", "gpio40", "gpio41"; 227 function = "blsp0_spi"; 228 drive-strength = <8>; 229 bias-disable; 230 }; 231 232 hsuart_pins: hsuart-pins { 233 pins = "gpio46", "gpio47", "gpio48", "gpio49"; 234 function = "blsp2_uart"; 235 drive-strength = <8>; 236 bias-disable; 237 }; 238 239 qpic_pins: qpic-pins { 240 pins = "gpio1", "gpio3", "gpio4", 241 "gpio5", "gpio6", "gpio7", 242 "gpio8", "gpio10", "gpio11", 243 "gpio12", "gpio13", "gpio14", 244 "gpio15", "gpio16", "gpio17"; 245 function = "qpic"; 246 drive-strength = <8>; 247 bias-disable; 248 }; 249 }; 250 251 gcc: gcc@1800000 { 252 compatible = "qcom,gcc-ipq8074"; 253 reg = <0x01800000 0x80000>; 254 #clock-cells = <0x1>; 255 #reset-cells = <0x1>; 256 }; 257 258 sdhc_1: sdhci@7824900 { 259 compatible = "qcom,sdhci-msm-v4"; 260 reg = <0x7824900 0x500>, <0x7824000 0x800>; 261 reg-names = "hc_mem", "core_mem"; 262 263 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 264 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 265 interrupt-names = "hc_irq", "pwr_irq"; 266 267 clocks = <&xo>, 268 <&gcc GCC_SDCC1_AHB_CLK>, 269 <&gcc GCC_SDCC1_APPS_CLK>; 270 clock-names = "xo", "iface", "core"; 271 max-frequency = <384000000>; 272 mmc-ddr-1_8v; 273 mmc-hs200-1_8v; 274 mmc-hs400-1_8v; 275 bus-width = <8>; 276 277 status = "disabled"; 278 }; 279 280 blsp_dma: dma-controller@7884000 { 281 compatible = "qcom,bam-v1.7.0"; 282 reg = <0x07884000 0x2b000>; 283 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; 284 clocks = <&gcc GCC_BLSP1_AHB_CLK>; 285 clock-names = "bam_clk"; 286 #dma-cells = <1>; 287 qcom,ee = <0>; 288 }; 289 290 blsp1_uart1: serial@78af000 { 291 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 292 reg = <0x078af000 0x200>; 293 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 294 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, 295 <&gcc GCC_BLSP1_AHB_CLK>; 296 clock-names = "core", "iface"; 297 status = "disabled"; 298 }; 299 300 blsp1_uart3: serial@78b1000 { 301 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 302 reg = <0x078b1000 0x200>; 303 interrupts = <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>; 304 clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>, 305 <&gcc GCC_BLSP1_AHB_CLK>; 306 clock-names = "core", "iface"; 307 dmas = <&blsp_dma 4>, 308 <&blsp_dma 5>; 309 dma-names = "tx", "rx"; 310 pinctrl-0 = <&hsuart_pins>; 311 pinctrl-names = "default"; 312 status = "disabled"; 313 }; 314 315 blsp1_uart5: serial@78b3000 { 316 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 317 reg = <0x078b3000 0x200>; 318 interrupts = <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>; 319 clocks = <&gcc GCC_BLSP1_UART5_APPS_CLK>, 320 <&gcc GCC_BLSP1_AHB_CLK>; 321 clock-names = "core", "iface"; 322 pinctrl-0 = <&serial_4_pins>; 323 pinctrl-names = "default"; 324 status = "disabled"; 325 }; 326 327 blsp1_spi1: spi@78b5000 { 328 compatible = "qcom,spi-qup-v2.2.1"; 329 #address-cells = <1>; 330 #size-cells = <0>; 331 reg = <0x078b5000 0x600>; 332 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 333 spi-max-frequency = <50000000>; 334 clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>, 335 <&gcc GCC_BLSP1_AHB_CLK>; 336 clock-names = "core", "iface"; 337 dmas = <&blsp_dma 12>, <&blsp_dma 13>; 338 dma-names = "tx", "rx"; 339 pinctrl-0 = <&spi_0_pins>; 340 pinctrl-names = "default"; 341 status = "disabled"; 342 }; 343 344 blsp1_i2c2: i2c@78b6000 { 345 compatible = "qcom,i2c-qup-v2.2.1"; 346 #address-cells = <1>; 347 #size-cells = <0>; 348 reg = <0x078b6000 0x600>; 349 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 350 clocks = <&gcc GCC_BLSP1_AHB_CLK>, 351 <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>; 352 clock-names = "iface", "core"; 353 clock-frequency = <400000>; 354 dmas = <&blsp_dma 15>, <&blsp_dma 14>; 355 dma-names = "rx", "tx"; 356 pinctrl-0 = <&i2c_0_pins>; 357 pinctrl-names = "default"; 358 status = "disabled"; 359 }; 360 361 blsp1_i2c3: i2c@78b7000 { 362 compatible = "qcom,i2c-qup-v2.2.1"; 363 #address-cells = <1>; 364 #size-cells = <0>; 365 reg = <0x078b7000 0x600>; 366 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 367 clocks = <&gcc GCC_BLSP1_AHB_CLK>, 368 <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>; 369 clock-names = "iface", "core"; 370 clock-frequency = <100000>; 371 dmas = <&blsp_dma 17>, <&blsp_dma 16>; 372 dma-names = "rx", "tx"; 373 status = "disabled"; 374 }; 375 376 blsp1_i2c6: i2c@78ba000 { 377 compatible = "qcom,i2c-qup-v2.2.1"; 378 #address-cells = <1>; 379 #size-cells = <0>; 380 reg = <0x078ba000 0x600>; 381 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; 382 clocks = <&gcc GCC_BLSP1_AHB_CLK>, 383 <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>; 384 clock-names = "iface", "core"; 385 clock-frequency = <100000>; 386 dmas = <&blsp_dma 23>, <&blsp_dma 22>; 387 dma-names = "rx", "tx"; 388 status = "disabled"; 389 }; 390 391 qpic_bam: dma-controller@7984000 { 392 compatible = "qcom,bam-v1.7.0"; 393 reg = <0x07984000 0x1a000>; 394 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; 395 clocks = <&gcc GCC_QPIC_AHB_CLK>; 396 clock-names = "bam_clk"; 397 #dma-cells = <1>; 398 qcom,ee = <0>; 399 status = "disabled"; 400 }; 401 402 qpic_nand: nand@79b0000 { 403 compatible = "qcom,ipq8074-nand"; 404 reg = <0x079b0000 0x10000>; 405 #address-cells = <1>; 406 #size-cells = <0>; 407 clocks = <&gcc GCC_QPIC_CLK>, 408 <&gcc GCC_QPIC_AHB_CLK>; 409 clock-names = "core", "aon"; 410 411 dmas = <&qpic_bam 0>, 412 <&qpic_bam 1>, 413 <&qpic_bam 2>; 414 dma-names = "tx", "rx", "cmd"; 415 pinctrl-0 = <&qpic_pins>; 416 pinctrl-names = "default"; 417 status = "disabled"; 418 }; 419 420 usb_0: usb@8af8800 { 421 compatible = "qcom,dwc3"; 422 reg = <0x08af8800 0x400>; 423 #address-cells = <1>; 424 #size-cells = <1>; 425 ranges; 426 427 clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>, 428 <&gcc GCC_USB0_MASTER_CLK>, 429 <&gcc GCC_USB0_SLEEP_CLK>, 430 <&gcc GCC_USB0_MOCK_UTMI_CLK>; 431 clock-names = "sys_noc_axi", 432 "master", 433 "sleep", 434 "mock_utmi"; 435 436 assigned-clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>, 437 <&gcc GCC_USB0_MASTER_CLK>, 438 <&gcc GCC_USB0_MOCK_UTMI_CLK>; 439 assigned-clock-rates = <133330000>, 440 <133330000>, 441 <19200000>; 442 443 resets = <&gcc GCC_USB0_BCR>; 444 status = "disabled"; 445 446 dwc_0: dwc3@8a00000 { 447 compatible = "snps,dwc3"; 448 reg = <0x8a00000 0xcd00>; 449 interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; 450 phys = <&qusb_phy_0>, <&usb0_ssphy>; 451 phy-names = "usb2-phy", "usb3-phy"; 452 tx-fifo-resize; 453 snps,is-utmi-l1-suspend; 454 snps,hird-threshold = /bits/ 8 <0x0>; 455 snps,dis_u2_susphy_quirk; 456 snps,dis_u3_susphy_quirk; 457 dr_mode = "host"; 458 }; 459 }; 460 461 usb_1: usb@8cf8800 { 462 compatible = "qcom,dwc3"; 463 reg = <0x08cf8800 0x400>; 464 #address-cells = <1>; 465 #size-cells = <1>; 466 ranges; 467 468 clocks = <&gcc GCC_SYS_NOC_USB1_AXI_CLK>, 469 <&gcc GCC_USB1_MASTER_CLK>, 470 <&gcc GCC_USB1_SLEEP_CLK>, 471 <&gcc GCC_USB1_MOCK_UTMI_CLK>; 472 clock-names = "sys_noc_axi", 473 "master", 474 "sleep", 475 "mock_utmi"; 476 477 assigned-clocks = <&gcc GCC_SYS_NOC_USB1_AXI_CLK>, 478 <&gcc GCC_USB1_MASTER_CLK>, 479 <&gcc GCC_USB1_MOCK_UTMI_CLK>; 480 assigned-clock-rates = <133330000>, 481 <133330000>, 482 <19200000>; 483 484 resets = <&gcc GCC_USB1_BCR>; 485 status = "disabled"; 486 487 dwc_1: dwc3@8c00000 { 488 compatible = "snps,dwc3"; 489 reg = <0x8c00000 0xcd00>; 490 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; 491 phys = <&qusb_phy_1>, <&usb1_ssphy>; 492 phy-names = "usb2-phy", "usb3-phy"; 493 tx-fifo-resize; 494 snps,is-utmi-l1-suspend; 495 snps,hird-threshold = /bits/ 8 <0x0>; 496 snps,dis_u2_susphy_quirk; 497 snps,dis_u3_susphy_quirk; 498 dr_mode = "host"; 499 }; 500 }; 501 502 intc: interrupt-controller@b000000 { 503 compatible = "qcom,msm-qgic2"; 504 interrupt-controller; 505 #interrupt-cells = <0x3>; 506 reg = <0x0b000000 0x1000>, <0x0b002000 0x1000>; 507 }; 508 509 timer { 510 compatible = "arm,armv8-timer"; 511 interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 512 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 513 <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 514 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 515 }; 516 517 watchdog: watchdog@b017000 { 518 compatible = "qcom,kpss-wdt"; 519 reg = <0xb017000 0x1000>; 520 interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>; 521 clocks = <&sleep_clk>; 522 timeout-sec = <30>; 523 }; 524 525 timer@b120000 { 526 #address-cells = <1>; 527 #size-cells = <1>; 528 ranges; 529 compatible = "arm,armv7-timer-mem"; 530 reg = <0x0b120000 0x1000>; 531 clock-frequency = <19200000>; 532 533 frame@b120000 { 534 frame-number = <0>; 535 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 536 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 537 reg = <0x0b121000 0x1000>, 538 <0x0b122000 0x1000>; 539 }; 540 541 frame@b123000 { 542 frame-number = <1>; 543 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 544 reg = <0x0b123000 0x1000>; 545 status = "disabled"; 546 }; 547 548 frame@b124000 { 549 frame-number = <2>; 550 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 551 reg = <0x0b124000 0x1000>; 552 status = "disabled"; 553 }; 554 555 frame@b125000 { 556 frame-number = <3>; 557 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 558 reg = <0x0b125000 0x1000>; 559 status = "disabled"; 560 }; 561 562 frame@b126000 { 563 frame-number = <4>; 564 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 565 reg = <0x0b126000 0x1000>; 566 status = "disabled"; 567 }; 568 569 frame@b127000 { 570 frame-number = <5>; 571 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 572 reg = <0x0b127000 0x1000>; 573 status = "disabled"; 574 }; 575 576 frame@b128000 { 577 frame-number = <6>; 578 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 579 reg = <0x0b128000 0x1000>; 580 status = "disabled"; 581 }; 582 }; 583 584 pcie1: pci@10000000 { 585 compatible = "qcom,pcie-ipq8074"; 586 reg = <0x10000000 0xf1d 587 0x10000f20 0xa8 588 0x00088000 0x2000 589 0x10100000 0x1000>; 590 reg-names = "dbi", "elbi", "parf", "config"; 591 device_type = "pci"; 592 linux,pci-domain = <1>; 593 bus-range = <0x00 0xff>; 594 num-lanes = <1>; 595 #address-cells = <3>; 596 #size-cells = <2>; 597 598 phys = <&pcie_phy1>; 599 phy-names = "pciephy"; 600 601 ranges = <0x81000000 0 0x10200000 0x10200000 602 0 0x100000 /* downstream I/O */ 603 0x82000000 0 0x10300000 0x10300000 604 0 0xd00000>; /* non-prefetchable memory */ 605 606 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; 607 interrupt-names = "msi"; 608 #interrupt-cells = <1>; 609 interrupt-map-mask = <0 0 0 0x7>; 610 interrupt-map = <0 0 0 1 &intc 0 142 611 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 612 <0 0 0 2 &intc 0 143 613 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 614 <0 0 0 3 &intc 0 144 615 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 616 <0 0 0 4 &intc 0 145 617 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 618 619 clocks = <&gcc GCC_SYS_NOC_PCIE1_AXI_CLK>, 620 <&gcc GCC_PCIE1_AXI_M_CLK>, 621 <&gcc GCC_PCIE1_AXI_S_CLK>, 622 <&gcc GCC_PCIE1_AHB_CLK>, 623 <&gcc GCC_PCIE1_AUX_CLK>; 624 clock-names = "iface", 625 "axi_m", 626 "axi_s", 627 "ahb", 628 "aux"; 629 resets = <&gcc GCC_PCIE1_PIPE_ARES>, 630 <&gcc GCC_PCIE1_SLEEP_ARES>, 631 <&gcc GCC_PCIE1_CORE_STICKY_ARES>, 632 <&gcc GCC_PCIE1_AXI_MASTER_ARES>, 633 <&gcc GCC_PCIE1_AXI_SLAVE_ARES>, 634 <&gcc GCC_PCIE1_AHB_ARES>, 635 <&gcc GCC_PCIE1_AXI_MASTER_STICKY_ARES>; 636 reset-names = "pipe", 637 "sleep", 638 "sticky", 639 "axi_m", 640 "axi_s", 641 "ahb", 642 "axi_m_sticky"; 643 status = "disabled"; 644 }; 645 646 pcie0: pci@20000000 { 647 compatible = "qcom,pcie-ipq8074"; 648 reg = <0x20000000 0xf1d 649 0x20000f20 0xa8 650 0x00080000 0x2000 651 0x20100000 0x1000>; 652 reg-names = "dbi", "elbi", "parf", "config"; 653 device_type = "pci"; 654 linux,pci-domain = <0>; 655 bus-range = <0x00 0xff>; 656 num-lanes = <1>; 657 #address-cells = <3>; 658 #size-cells = <2>; 659 660 phys = <&pcie_phy0>; 661 phy-names = "pciephy"; 662 663 ranges = <0x81000000 0 0x20200000 0x20200000 664 0 0x100000 /* downstream I/O */ 665 0x82000000 0 0x20300000 0x20300000 666 0 0xd00000>; /* non-prefetchable memory */ 667 668 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; 669 interrupt-names = "msi"; 670 #interrupt-cells = <1>; 671 interrupt-map-mask = <0 0 0 0x7>; 672 interrupt-map = <0 0 0 1 &intc 0 75 673 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 674 <0 0 0 2 &intc 0 78 675 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 676 <0 0 0 3 &intc 0 79 677 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 678 <0 0 0 4 &intc 0 83 679 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 680 681 clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>, 682 <&gcc GCC_PCIE0_AXI_M_CLK>, 683 <&gcc GCC_PCIE0_AXI_S_CLK>, 684 <&gcc GCC_PCIE0_AHB_CLK>, 685 <&gcc GCC_PCIE0_AUX_CLK>; 686 687 clock-names = "iface", 688 "axi_m", 689 "axi_s", 690 "ahb", 691 "aux"; 692 resets = <&gcc GCC_PCIE0_PIPE_ARES>, 693 <&gcc GCC_PCIE0_SLEEP_ARES>, 694 <&gcc GCC_PCIE0_CORE_STICKY_ARES>, 695 <&gcc GCC_PCIE0_AXI_MASTER_ARES>, 696 <&gcc GCC_PCIE0_AXI_SLAVE_ARES>, 697 <&gcc GCC_PCIE0_AHB_ARES>, 698 <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>; 699 reset-names = "pipe", 700 "sleep", 701 "sticky", 702 "axi_m", 703 "axi_s", 704 "ahb", 705 "axi_m_sticky"; 706 status = "disabled"; 707 }; 708 }; 709}; 710