1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pci/microchip,pcie-host.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip PCIe Root Port Bridge Controller Device Tree Bindings
10 - Daire McNamara <daire.mcnamara@microchip.com>
13 - $ref: /schemas/pci/pci-bus.yaml#
14 - $ref: /schemas/interrupt-controller/msi-controller.yaml#
18 const: microchip,pcie-host-1.0 # PolarFire
31 - description: PCIe host controller
32 - description: builtin MSI controller
44 description: Identifies the node as an MSI controller.
47 description: MSI controller the device is capable of using.
58 interrupt-controller: true
63 - interrupt-controller
65 additionalProperties: false
76 unevaluatedProperties: false
83 pcie0: pcie@2030000000 {
84 compatible = "microchip,pcie-host-1.0";
85 reg = <0x0 0x70000000 0x0 0x08000000>,
86 <0x0 0x43000000 0x0 0x00010000>;
87 reg-names = "cfg", "apb";
91 #interrupt-cells = <1>;
93 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
94 interrupt-map = <0 0 0 1 &pcie_intc0 0>,
95 <0 0 0 2 &pcie_intc0 1>,
96 <0 0 0 3 &pcie_intc0 2>,
97 <0 0 0 4 &pcie_intc0 3>;
98 interrupt-parent = <&plic0>;
99 msi-parent = <&pcie0>;
101 bus-range = <0x00 0x7f>;
102 ranges = <0x03000000 0x0 0x78000000 0x0 0x78000000 0x0 0x04000000>;
103 pcie_intc0: interrupt-controller {
104 #address-cells = <0>;
105 #interrupt-cells = <1>;
106 interrupt-controller;