1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pci/brcm,stb-pcie.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Brcmstb PCIe Host Controller Device Tree Bindings
10 - Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
13 - $ref: /schemas/pci/pci-bus.yaml#
17 const: brcm,bcm2711-pcie # The Raspberry Pi 4
26 - description: PCIe host controller
27 - description: builtin MSI controller
50 description: Identifies the node as an MSI controller.
53 description: MSI controller the device is capable of using.
56 description: Indicates usage of spread-spectrum clocking.
69 unevaluatedProperties: false
73 #include <dt-bindings/interrupt-controller/irq.h>
74 #include <dt-bindings/interrupt-controller/arm-gic.h>
79 pcie0: pcie@7d500000 {
80 compatible = "brcm,bcm2711-pcie";
81 reg = <0x0 0x7d500000 0x9310>;
85 #interrupt-cells = <1>;
86 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
87 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
88 interrupt-names = "pcie", "msi";
89 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
90 interrupt-map = <0 0 0 1 &gicv2 GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
91 msi-parent = <&pcie0>;
93 ranges = <0x02000000 0x0 0xf8000000 0x6 0x00000000 0x0 0x04000000>;
94 dma-ranges = <0x02000000 0x0 0x00000000 0x0 0x00000000 0x0 0x80000000>;