1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pci/sifive,fu740-pcie.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SiFive FU740 PCIe host controller
10 SiFive FU740 PCIe host controller is based on the Synopsys DesignWare
11 PCI core. It shares common features with the PCIe DesignWare core and
12 inherits common properties defined in
13 Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml.
16 - Paul Walmsley <paul.walmsley@sifive.com>
17 - Greentime Hu <greentime.hu@sifive.com>
20 - $ref: /schemas/pci/snps,dw-pcie.yaml#
24 const: sifive,fu740-pcie
51 description: A phandle to the PCIe power up reset line.
61 description: Should specify the GPIO for controlling the PCI bus device power on.
80 unevaluatedProperties: false
87 #include <dt-bindings/clock/sifive-fu740-prci.h>
90 compatible = "sifive,fu740-pcie";
93 #interrupt-cells = <1>;
94 reg = <0xe 0x00000000 0x0 0x80000000>,
95 <0xd 0xf0000000 0x0 0x10000000>,
96 <0x0 0x100d0000 0x0 0x1000>;
97 reg-names = "dbi", "config", "mgmt";
100 bus-range = <0x0 0xff>;
101 ranges = <0x81000000 0x0 0x60080000 0x0 0x60080000 0x0 0x10000>, /* I/O */
102 <0x82000000 0x0 0x60090000 0x0 0x60090000 0x0 0xff70000>, /* mem */
103 <0x82000000 0x0 0x70000000 0x0 0x70000000 0x0 0x1000000>, /* mem */
104 <0xc3000000 0x20 0x00000000 0x20 0x00000000 0x20 0x00000000>; /* mem prefetchable */
106 interrupts = <56>, <57>, <58>, <59>, <60>, <61>, <62>, <63>, <64>;
107 interrupt-names = "msi", "inta", "intb", "intc", "intd";
108 interrupt-parent = <&plic0>;
109 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
110 interrupt-map = <0x0 0x0 0x0 0x1 &plic0 57>,
111 <0x0 0x0 0x0 0x2 &plic0 58>,
112 <0x0 0x0 0x0 0x3 &plic0 59>,
113 <0x0 0x0 0x0 0x4 &plic0 60>;
114 clock-names = "pcie_aux";
115 clocks = <&prci FU740_PRCI_CLK_PCIE_AUX>;
117 pwren-gpios = <&gpio 5 0>;
118 reset-gpios = <&gpio 8 0>;