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,armv8-pmuv3"; 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 }; 169 170 pcie_phy0: phy@86000 { 171 compatible = "qcom,ipq8074-qmp-pcie-phy"; 172 reg = <0x00086000 0x1000>; 173 #phy-cells = <0>; 174 clocks = <&gcc GCC_PCIE0_PIPE_CLK>; 175 clock-names = "pipe_clk"; 176 clock-output-names = "pcie20_phy0_pipe_clk"; 177 178 resets = <&gcc GCC_PCIE0_PHY_BCR>, 179 <&gcc GCC_PCIE0PHY_PHY_BCR>; 180 reset-names = "phy", 181 "common"; 182 status = "disabled"; 183 }; 184 185 pcie_phy1: phy@8e000 { 186 compatible = "qcom,ipq8074-qmp-pcie-phy"; 187 reg = <0x0008e000 0x1000>; 188 #phy-cells = <0>; 189 clocks = <&gcc GCC_PCIE1_PIPE_CLK>; 190 clock-names = "pipe_clk"; 191 clock-output-names = "pcie20_phy1_pipe_clk"; 192 193 resets = <&gcc GCC_PCIE1_PHY_BCR>, 194 <&gcc GCC_PCIE1PHY_PHY_BCR>; 195 reset-names = "phy", 196 "common"; 197 status = "disabled"; 198 }; 199 200 tlmm: pinctrl@1000000 { 201 compatible = "qcom,ipq8074-pinctrl"; 202 reg = <0x01000000 0x300000>; 203 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 204 gpio-controller; 205 gpio-ranges = <&tlmm 0 0 70>; 206 #gpio-cells = <0x2>; 207 interrupt-controller; 208 #interrupt-cells = <0x2>; 209 210 serial_4_pins: serial4-pinmux { 211 pins = "gpio23", "gpio24"; 212 function = "blsp4_uart1"; 213 drive-strength = <8>; 214 bias-disable; 215 }; 216 217 i2c_0_pins: i2c-0-pinmux { 218 pins = "gpio42", "gpio43"; 219 function = "blsp1_i2c"; 220 drive-strength = <8>; 221 bias-disable; 222 }; 223 224 spi_0_pins: spi-0-pins { 225 pins = "gpio38", "gpio39", "gpio40", "gpio41"; 226 function = "blsp0_spi"; 227 drive-strength = <8>; 228 bias-disable; 229 }; 230 231 hsuart_pins: hsuart-pins { 232 pins = "gpio46", "gpio47", "gpio48", "gpio49"; 233 function = "blsp2_uart"; 234 drive-strength = <8>; 235 bias-disable; 236 }; 237 238 qpic_pins: qpic-pins { 239 pins = "gpio1", "gpio3", "gpio4", 240 "gpio5", "gpio6", "gpio7", 241 "gpio8", "gpio10", "gpio11", 242 "gpio12", "gpio13", "gpio14", 243 "gpio15", "gpio16", "gpio17"; 244 function = "qpic"; 245 drive-strength = <8>; 246 bias-disable; 247 }; 248 }; 249 250 gcc: gcc@1800000 { 251 compatible = "qcom,gcc-ipq8074"; 252 reg = <0x01800000 0x80000>; 253 #clock-cells = <0x1>; 254 #reset-cells = <0x1>; 255 }; 256 257 sdhc_1: sdhci@7824900 { 258 compatible = "qcom,sdhci-msm-v4"; 259 reg = <0x7824900 0x500>, <0x7824000 0x800>; 260 reg-names = "hc_mem", "core_mem"; 261 262 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 263 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 264 interrupt-names = "hc_irq", "pwr_irq"; 265 266 clocks = <&xo>, 267 <&gcc GCC_SDCC1_AHB_CLK>, 268 <&gcc GCC_SDCC1_APPS_CLK>; 269 clock-names = "xo", "iface", "core"; 270 max-frequency = <384000000>; 271 mmc-ddr-1_8v; 272 mmc-hs200-1_8v; 273 mmc-hs400-1_8v; 274 bus-width = <8>; 275 276 status = "disabled"; 277 }; 278 279 blsp_dma: dma@7884000 { 280 compatible = "qcom,bam-v1.7.0"; 281 reg = <0x07884000 0x2b000>; 282 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; 283 clocks = <&gcc GCC_BLSP1_AHB_CLK>; 284 clock-names = "bam_clk"; 285 #dma-cells = <1>; 286 qcom,ee = <0>; 287 }; 288 289 blsp1_uart1: serial@78af000 { 290 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 291 reg = <0x078af000 0x200>; 292 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 293 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, 294 <&gcc GCC_BLSP1_AHB_CLK>; 295 clock-names = "core", "iface"; 296 status = "disabled"; 297 }; 298 299 blsp1_uart3: serial@78b1000 { 300 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 301 reg = <0x078b1000 0x200>; 302 interrupts = <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>; 303 clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>, 304 <&gcc GCC_BLSP1_AHB_CLK>; 305 clock-names = "core", "iface"; 306 dmas = <&blsp_dma 4>, 307 <&blsp_dma 5>; 308 dma-names = "tx", "rx"; 309 pinctrl-0 = <&hsuart_pins>; 310 pinctrl-names = "default"; 311 status = "disabled"; 312 }; 313 314 blsp1_uart5: serial@78b3000 { 315 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 316 reg = <0x078b3000 0x200>; 317 interrupts = <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>; 318 clocks = <&gcc GCC_BLSP1_UART5_APPS_CLK>, 319 <&gcc GCC_BLSP1_AHB_CLK>; 320 clock-names = "core", "iface"; 321 pinctrl-0 = <&serial_4_pins>; 322 pinctrl-names = "default"; 323 status = "disabled"; 324 }; 325 326 blsp1_spi1: spi@78b5000 { 327 compatible = "qcom,spi-qup-v2.2.1"; 328 #address-cells = <1>; 329 #size-cells = <0>; 330 reg = <0x078b5000 0x600>; 331 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 332 spi-max-frequency = <50000000>; 333 clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>, 334 <&gcc GCC_BLSP1_AHB_CLK>; 335 clock-names = "core", "iface"; 336 dmas = <&blsp_dma 12>, <&blsp_dma 13>; 337 dma-names = "tx", "rx"; 338 pinctrl-0 = <&spi_0_pins>; 339 pinctrl-names = "default"; 340 status = "disabled"; 341 }; 342 343 blsp1_i2c2: i2c@78b6000 { 344 compatible = "qcom,i2c-qup-v2.2.1"; 345 #address-cells = <1>; 346 #size-cells = <0>; 347 reg = <0x078b6000 0x600>; 348 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 349 clocks = <&gcc GCC_BLSP1_AHB_CLK>, 350 <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>; 351 clock-names = "iface", "core"; 352 clock-frequency = <400000>; 353 dmas = <&blsp_dma 15>, <&blsp_dma 14>; 354 dma-names = "rx", "tx"; 355 pinctrl-0 = <&i2c_0_pins>; 356 pinctrl-names = "default"; 357 status = "disabled"; 358 }; 359 360 blsp1_i2c3: i2c@78b7000 { 361 compatible = "qcom,i2c-qup-v2.2.1"; 362 #address-cells = <1>; 363 #size-cells = <0>; 364 reg = <0x078b7000 0x600>; 365 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 366 clocks = <&gcc GCC_BLSP1_AHB_CLK>, 367 <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>; 368 clock-names = "iface", "core"; 369 clock-frequency = <100000>; 370 dmas = <&blsp_dma 17>, <&blsp_dma 16>; 371 dma-names = "rx", "tx"; 372 status = "disabled"; 373 }; 374 375 qpic_bam: dma@7984000 { 376 compatible = "qcom,bam-v1.7.0"; 377 reg = <0x07984000 0x1a000>; 378 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; 379 clocks = <&gcc GCC_QPIC_AHB_CLK>; 380 clock-names = "bam_clk"; 381 #dma-cells = <1>; 382 qcom,ee = <0>; 383 status = "disabled"; 384 }; 385 386 qpic_nand: nand@79b0000 { 387 compatible = "qcom,ipq8074-nand"; 388 reg = <0x079b0000 0x10000>; 389 #address-cells = <1>; 390 #size-cells = <0>; 391 clocks = <&gcc GCC_QPIC_CLK>, 392 <&gcc GCC_QPIC_AHB_CLK>; 393 clock-names = "core", "aon"; 394 395 dmas = <&qpic_bam 0>, 396 <&qpic_bam 1>, 397 <&qpic_bam 2>; 398 dma-names = "tx", "rx", "cmd"; 399 pinctrl-0 = <&qpic_pins>; 400 pinctrl-names = "default"; 401 status = "disabled"; 402 }; 403 404 usb_0: usb@8af8800 { 405 compatible = "qcom,dwc3"; 406 reg = <0x08af8800 0x400>; 407 #address-cells = <1>; 408 #size-cells = <1>; 409 ranges; 410 411 clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>, 412 <&gcc GCC_USB0_MASTER_CLK>, 413 <&gcc GCC_USB0_SLEEP_CLK>, 414 <&gcc GCC_USB0_MOCK_UTMI_CLK>; 415 clock-names = "sys_noc_axi", 416 "master", 417 "sleep", 418 "mock_utmi"; 419 420 assigned-clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>, 421 <&gcc GCC_USB0_MASTER_CLK>, 422 <&gcc GCC_USB0_MOCK_UTMI_CLK>; 423 assigned-clock-rates = <133330000>, 424 <133330000>, 425 <19200000>; 426 427 resets = <&gcc GCC_USB0_BCR>; 428 status = "disabled"; 429 430 dwc_0: dwc3@8a00000 { 431 compatible = "snps,dwc3"; 432 reg = <0x8a00000 0xcd00>; 433 interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; 434 phys = <&qusb_phy_0>, <&usb0_ssphy>; 435 phy-names = "usb2-phy", "usb3-phy"; 436 tx-fifo-resize; 437 snps,is-utmi-l1-suspend; 438 snps,hird-threshold = /bits/ 8 <0x0>; 439 snps,dis_u2_susphy_quirk; 440 snps,dis_u3_susphy_quirk; 441 dr_mode = "host"; 442 }; 443 }; 444 445 usb_1: usb@8cf8800 { 446 compatible = "qcom,dwc3"; 447 reg = <0x08cf8800 0x400>; 448 #address-cells = <1>; 449 #size-cells = <1>; 450 ranges; 451 452 clocks = <&gcc GCC_SYS_NOC_USB1_AXI_CLK>, 453 <&gcc GCC_USB1_MASTER_CLK>, 454 <&gcc GCC_USB1_SLEEP_CLK>, 455 <&gcc GCC_USB1_MOCK_UTMI_CLK>; 456 clock-names = "sys_noc_axi", 457 "master", 458 "sleep", 459 "mock_utmi"; 460 461 assigned-clocks = <&gcc GCC_SYS_NOC_USB1_AXI_CLK>, 462 <&gcc GCC_USB1_MASTER_CLK>, 463 <&gcc GCC_USB1_MOCK_UTMI_CLK>; 464 assigned-clock-rates = <133330000>, 465 <133330000>, 466 <19200000>; 467 468 resets = <&gcc GCC_USB1_BCR>; 469 status = "disabled"; 470 471 dwc_1: dwc3@8c00000 { 472 compatible = "snps,dwc3"; 473 reg = <0x8c00000 0xcd00>; 474 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; 475 phys = <&qusb_phy_1>, <&usb1_ssphy>; 476 phy-names = "usb2-phy", "usb3-phy"; 477 tx-fifo-resize; 478 snps,is-utmi-l1-suspend; 479 snps,hird-threshold = /bits/ 8 <0x0>; 480 snps,dis_u2_susphy_quirk; 481 snps,dis_u3_susphy_quirk; 482 dr_mode = "host"; 483 }; 484 }; 485 486 intc: interrupt-controller@b000000 { 487 compatible = "qcom,msm-qgic2"; 488 interrupt-controller; 489 #interrupt-cells = <0x3>; 490 reg = <0x0b000000 0x1000>, <0x0b002000 0x1000>; 491 }; 492 493 timer { 494 compatible = "arm,armv8-timer"; 495 interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 496 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 497 <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 498 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 499 }; 500 501 timer@b120000 { 502 #address-cells = <1>; 503 #size-cells = <1>; 504 ranges; 505 compatible = "arm,armv7-timer-mem"; 506 reg = <0x0b120000 0x1000>; 507 clock-frequency = <19200000>; 508 509 frame@b120000 { 510 frame-number = <0>; 511 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 512 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 513 reg = <0x0b121000 0x1000>, 514 <0x0b122000 0x1000>; 515 }; 516 517 frame@b123000 { 518 frame-number = <1>; 519 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 520 reg = <0x0b123000 0x1000>; 521 status = "disabled"; 522 }; 523 524 frame@b124000 { 525 frame-number = <2>; 526 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 527 reg = <0x0b124000 0x1000>; 528 status = "disabled"; 529 }; 530 531 frame@b125000 { 532 frame-number = <3>; 533 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 534 reg = <0x0b125000 0x1000>; 535 status = "disabled"; 536 }; 537 538 frame@b126000 { 539 frame-number = <4>; 540 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 541 reg = <0x0b126000 0x1000>; 542 status = "disabled"; 543 }; 544 545 frame@b127000 { 546 frame-number = <5>; 547 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 548 reg = <0x0b127000 0x1000>; 549 status = "disabled"; 550 }; 551 552 frame@b128000 { 553 frame-number = <6>; 554 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 555 reg = <0x0b128000 0x1000>; 556 status = "disabled"; 557 }; 558 }; 559 560 pcie1: pci@10000000 { 561 compatible = "qcom,pcie-ipq8074"; 562 reg = <0x10000000 0xf1d 563 0x10000f20 0xa8 564 0x00088000 0x2000 565 0x10100000 0x1000>; 566 reg-names = "dbi", "elbi", "parf", "config"; 567 device_type = "pci"; 568 linux,pci-domain = <1>; 569 bus-range = <0x00 0xff>; 570 num-lanes = <1>; 571 #address-cells = <3>; 572 #size-cells = <2>; 573 574 phys = <&pcie_phy1>; 575 phy-names = "pciephy"; 576 577 ranges = <0x81000000 0 0x10200000 0x10200000 578 0 0x100000 /* downstream I/O */ 579 0x82000000 0 0x10300000 0x10300000 580 0 0xd00000>; /* non-prefetchable memory */ 581 582 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; 583 interrupt-names = "msi"; 584 #interrupt-cells = <1>; 585 interrupt-map-mask = <0 0 0 0x7>; 586 interrupt-map = <0 0 0 1 &intc 0 142 587 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 588 <0 0 0 2 &intc 0 143 589 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 590 <0 0 0 3 &intc 0 144 591 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 592 <0 0 0 4 &intc 0 145 593 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 594 595 clocks = <&gcc GCC_SYS_NOC_PCIE1_AXI_CLK>, 596 <&gcc GCC_PCIE1_AXI_M_CLK>, 597 <&gcc GCC_PCIE1_AXI_S_CLK>, 598 <&gcc GCC_PCIE1_AHB_CLK>, 599 <&gcc GCC_PCIE1_AUX_CLK>; 600 clock-names = "iface", 601 "axi_m", 602 "axi_s", 603 "ahb", 604 "aux"; 605 resets = <&gcc GCC_PCIE1_PIPE_ARES>, 606 <&gcc GCC_PCIE1_SLEEP_ARES>, 607 <&gcc GCC_PCIE1_CORE_STICKY_ARES>, 608 <&gcc GCC_PCIE1_AXI_MASTER_ARES>, 609 <&gcc GCC_PCIE1_AXI_SLAVE_ARES>, 610 <&gcc GCC_PCIE1_AHB_ARES>, 611 <&gcc GCC_PCIE1_AXI_MASTER_STICKY_ARES>; 612 reset-names = "pipe", 613 "sleep", 614 "sticky", 615 "axi_m", 616 "axi_s", 617 "ahb", 618 "axi_m_sticky"; 619 status = "disabled"; 620 }; 621 622 pcie0: pci@20000000 { 623 compatible = "qcom,pcie-ipq8074"; 624 reg = <0x20000000 0xf1d 625 0x20000f20 0xa8 626 0x00080000 0x2000 627 0x20100000 0x1000>; 628 reg-names = "dbi", "elbi", "parf", "config"; 629 device_type = "pci"; 630 linux,pci-domain = <0>; 631 bus-range = <0x00 0xff>; 632 num-lanes = <1>; 633 #address-cells = <3>; 634 #size-cells = <2>; 635 636 phys = <&pcie_phy0>; 637 phy-names = "pciephy"; 638 639 ranges = <0x81000000 0 0x20200000 0x20200000 640 0 0x100000 /* downstream I/O */ 641 0x82000000 0 0x20300000 0x20300000 642 0 0xd00000>; /* non-prefetchable memory */ 643 644 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; 645 interrupt-names = "msi"; 646 #interrupt-cells = <1>; 647 interrupt-map-mask = <0 0 0 0x7>; 648 interrupt-map = <0 0 0 1 &intc 0 75 649 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 650 <0 0 0 2 &intc 0 78 651 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 652 <0 0 0 3 &intc 0 79 653 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 654 <0 0 0 4 &intc 0 83 655 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 656 657 clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>, 658 <&gcc GCC_PCIE0_AXI_M_CLK>, 659 <&gcc GCC_PCIE0_AXI_S_CLK>, 660 <&gcc GCC_PCIE0_AHB_CLK>, 661 <&gcc GCC_PCIE0_AUX_CLK>; 662 663 clock-names = "iface", 664 "axi_m", 665 "axi_s", 666 "ahb", 667 "aux"; 668 resets = <&gcc GCC_PCIE0_PIPE_ARES>, 669 <&gcc GCC_PCIE0_SLEEP_ARES>, 670 <&gcc GCC_PCIE0_CORE_STICKY_ARES>, 671 <&gcc GCC_PCIE0_AXI_MASTER_ARES>, 672 <&gcc GCC_PCIE0_AXI_SLAVE_ARES>, 673 <&gcc GCC_PCIE0_AHB_ARES>, 674 <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>; 675 reset-names = "pipe", 676 "sleep", 677 "sticky", 678 "axi_m", 679 "axi_s", 680 "ahb", 681 "axi_m_sticky"; 682 status = "disabled"; 683 }; 684 }; 685}; 686