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>
16 - brcm,bcm2711-pcie # The Raspberry Pi 4
18 - brcm,bcm7211-pcie # Broadcom STB version of RPi4
19 - brcm,bcm7278-pcie # Broadcom 7278 Arm
20 - brcm,bcm7216-pcie # Broadcom 7216 Arm
21 - brcm,bcm7445-pcie # Broadcom 7445 Arm
29 - description: PCIe host controller
30 - description: builtin MSI controller
54 description: Identifies the node as an MSI controller.
57 description: MSI controller the device is capable of using.
60 description: Indicates usage of spread-spectrum clocking.
66 description: u64 giving the 64bit PCIe memory
67 viewport size of a memory controller. There may be up to
68 three controllers, and each size must be a power of two
69 with a size greater or equal to the amount of memory the
70 controller supports. Note that each memory controller
71 may have two component regions -- base and extended -- so
72 this information cannot be deduced from the dma-ranges.
73 $ref: /schemas/types.yaml#/definitions/uint64-array
90 - $ref: /schemas/pci/pci-bus.yaml#
95 const: brcm,bcm4908-pcie
100 - description: reset controller handling the PERST# signal
113 const: brcm,bcm7216-pcie
118 - description: phandle pointing to the RESCAL reset controller
128 unevaluatedProperties: false
132 #include <dt-bindings/interrupt-controller/irq.h>
133 #include <dt-bindings/interrupt-controller/arm-gic.h>
136 #address-cells = <2>;
138 pcie0: pcie@7d500000 {
139 compatible = "brcm,bcm2711-pcie";
140 reg = <0x0 0x7d500000 0x9310>;
142 #address-cells = <3>;
144 #interrupt-cells = <1>;
145 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
146 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
147 interrupt-names = "pcie", "msi";
148 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
149 interrupt-map = <0 0 0 1 &gicv2 GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
150 msi-parent = <&pcie0>;
152 ranges = <0x02000000 0x0 0xf8000000 0x6 0x00000000 0x0 0x04000000>;
153 dma-ranges = <0x42000000 0x1 0x00000000 0x0 0x40000000 0x0 0x80000000>,
154 <0x42000000 0x1 0x80000000 0x3 0x00000000 0x0 0x80000000>;
156 brcm,scb-sizes = <0x0000000080000000 0x0000000080000000>;