SiFive FU740 PCIe host controller
Schema identifier ($id): "http://devicetree.org/schemas/pci/sifive,fu740-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
SiFive FU740 PCIe host controller is based on the Synopsys DesignWare PCI core. It shares common features with the PCIe DesignWare core and inherits common properties defined in Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml.
Maintainers (maintainers): "Paul Walmsley <paul.walmsley@sifive.com>", "Greentime Hu <greentime.hu@sifive.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/snps,dw-pcie.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "sifive,fu740-pcie"
reg — not listed as required here #
Maximum number of items (maxItems): 3
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dbi"
Item 2
Exact value (
const):"config"
Item 3
Exact value (
const):"mgmt"
dma-coherent — required here #
true — No constraints added by this property rule.
num-lanes — required here #
Exact value (const): 8
msi-parent — not listed as required here #
true — No constraints added by this property rule.
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"msi"
Item 2
Exact value (
const):"inta"
Item 3
Exact value (
const):"intb"
Item 4
Exact value (
const):"intc"
Item 5
Exact value (
const):"intd"
resets — required here #
A phandle to the PCIe power up reset line.
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "pcie_aux"
pwren-gpios — required here #
Should specify the GPIO for controlling the PCI bus device power on.
Maximum number of items (maxItems): 1
reset-gpios — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "dma-coherent", "num-lanes", "interrupts", "interrupt-names", "interrupt-map-mask", "interrupt-map", "clocks", "clock-names", "resets", "pwren-gpios", "reset-gpios"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/sifive-fu740-prci.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie@e00000000 {
compatible = "sifive,fu740-pcie";
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
reg = <0xe 0x00000000 0x0 0x80000000>,
<0xd 0xf0000000 0x0 0x10000000>,
<0x0 0x100d0000 0x0 0x1000>;
reg-names = "dbi", "config", "mgmt";
device_type = "pci";
dma-coherent;
bus-range = <0x0 0xff>;
ranges = <0x81000000 0x0 0x60080000 0x0 0x60080000 0x0 0x10000>, /* I/O */
<0x82000000 0x0 0x60090000 0x0 0x60090000 0x0 0xff70000>, /* mem */
<0x82000000 0x0 0x70000000 0x0 0x70000000 0x0 0x1000000>, /* mem */
<0xc3000000 0x20 0x00000000 0x20 0x00000000 0x20 0x00000000>; /* mem prefetchable */
num-lanes = <0x8>;
interrupts = <56>, <57>, <58>, <59>, <60>, <61>, <62>, <63>, <64>;
interrupt-names = "msi", "inta", "intb", "intc", "intd";
interrupt-parent = <&plic0>;
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
interrupt-map = <0x0 0x0 0x0 0x1 &plic0 57>,
<0x0 0x0 0x0 0x2 &plic0 58>,
<0x0 0x0 0x0 0x3 &plic0 59>,
<0x0 0x0 0x0 0x4 &plic0 60>;
clock-names = "pcie_aux";
clocks = <&prci FU740_PRCI_CLK_PCIE_AUX>;
resets = <&prci 4>;
pwren-gpios = <&gpio 5 0>;
reset-gpios = <&gpio 8 0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)