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
10 - Daire McNamara <daire.mcnamara@microchip.com>
13 - $ref: plda,xpressrich3-axi-common.yaml#
14 - $ref: /schemas/interrupt-controller/msi-controller.yaml#
18 const: microchip,pcie-host-1.0 # PolarFire
28 Fabric Interface Controllers, FICs, are the interface between the FPGA
29 fabric and the core complex on PolarFire SoC. The FICs require two clocks,
30 one from each side of the interface. The "FIC clocks" described by this
31 property are on the core complex side & communication through a FIC is not
32 possible unless it's corresponding clock is enabled. A clock must be
33 enabled for each of the interfaces the root port is connected through.
34 This could in theory be all 4 interfaces, one interface or any combination
38 - description: FIC0's clock
39 - description: FIC1's clock
40 - description: FIC2's clock
41 - description: FIC3's clock
45 As any FIC connection combination is possible, the names should match the
46 order in the clocks property and take the form "ficN" where N is a number
61 unevaluatedProperties: false
68 pcie0: pcie@2030000000 {
69 compatible = "microchip,pcie-host-1.0";
70 reg = <0x0 0x70000000 0x0 0x08000000>,
71 <0x0 0x43008000 0x0 0x00002000>,
72 <0x0 0x4300a000 0x0 0x00002000>;
73 reg-names = "cfg", "bridge", "ctrl";
77 #interrupt-cells = <1>;
79 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
80 interrupt-map = <0 0 0 1 &pcie_intc0 0>,
81 <0 0 0 2 &pcie_intc0 1>,
82 <0 0 0 3 &pcie_intc0 2>,
83 <0 0 0 4 &pcie_intc0 3>;
84 interrupt-parent = <&plic0>;
85 msi-parent = <&pcie0>;
87 bus-range = <0x00 0x7f>;
88 ranges = <0x03000000 0x0 0x78000000 0x0 0x78000000 0x0 0x04000000>;
89 pcie_intc0: interrupt-controller {
91 #interrupt-cells = <1>;