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
17 - brcm,bcm7211-pcie # Broadcom STB version of RPi4
18 - brcm,bcm7278-pcie # Broadcom 7278 Arm
19 - brcm,bcm7216-pcie # Broadcom 7216 Arm
20 - brcm,bcm7445-pcie # Broadcom 7445 Arm
29 - description: PCIe host controller
30 - description: builtin MSI controller
55 description: Identifies the node as an MSI controller.
58 description: MSI controller the device is capable of using.
61 description: Indicates usage of spread-spectrum clocking.
67 description: for "brcm,bcm7216-pcie", must be a valid reset
68 phandle pointing to the RESCAL reset controller provider node.
69 $ref: "/schemas/types.yaml#/definitions/phandle"
76 description: u64 giving the 64bit PCIe memory
77 viewport size of a memory controller. There may be up to
78 three controllers, and each size must be a power of two
79 with a size greater or equal to the amount of memory the
80 controller supports. Note that each memory controller
81 may have two component regions -- base and extended -- so
82 this information cannot be deduced from the dma-ranges.
83 $ref: /schemas/types.yaml#/definitions/uint64-array
100 - $ref: /schemas/pci/pci-bus.yaml#
105 const: brcm,bcm7216-pcie
111 unevaluatedProperties: false
115 #include <dt-bindings/interrupt-controller/irq.h>
116 #include <dt-bindings/interrupt-controller/arm-gic.h>
119 #address-cells = <2>;
121 pcie0: pcie@7d500000 {
122 compatible = "brcm,bcm2711-pcie";
123 reg = <0x0 0x7d500000 0x9310>;
125 #address-cells = <3>;
127 #interrupt-cells = <1>;
128 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
129 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
130 interrupt-names = "pcie", "msi";
131 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
132 interrupt-map = <0 0 0 1 &gicv2 GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
133 msi-parent = <&pcie0>;
135 ranges = <0x02000000 0x0 0xf8000000 0x6 0x00000000 0x0 0x04000000>;
136 dma-ranges = <0x42000000 0x1 0x00000000 0x0 0x40000000 0x0 0x80000000>,
137 <0x42000000 0x1 0x80000000 0x3 0x00000000 0x0 0x80000000>;
139 brcm,scb-sizes = <0x0000000080000000 0x0000000080000000>;