diff options
author | Cyrille Pitchen <cyrille.pitchen@free-electrons.com> | 2018-01-30 15:56:58 -0500 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-01-31 06:10:55 -0500 |
commit | 6618f4d3f5d614d5cd4cbc4e81f0fef8e22a36c7 (patch) | |
tree | 32f567efb52f131296bd04997fa228e91fa0648b | |
parent | fc41df28f89e9d93deb4f0930cb0fb7eec26e5b4 (diff) |
dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe endpoint controller
This patch documents the DT bindings for the Cadence PCIe controller
when configured in endpoint mode.
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@free-electrons.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt new file mode 100644 index 000000000000..9a305237fa6e --- /dev/null +++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt | |||
@@ -0,0 +1,22 @@ | |||
1 | * Cadence PCIe endpoint controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should contain "cdns,cdns-pcie-ep" to identify the IP used. | ||
5 | - reg: Should contain the controller register base address and AXI interface | ||
6 | region base address respectively. | ||
7 | - reg-names: Must be "reg" and "mem" respectively. | ||
8 | - cdns,max-outbound-regions: Set to maximum number of outbound regions | ||
9 | |||
10 | Optional properties: | ||
11 | - max-functions: Maximum number of functions that can be configured (default 1). | ||
12 | |||
13 | Example: | ||
14 | |||
15 | pcie@fc000000 { | ||
16 | compatible = "cdns,cdns-pcie-ep"; | ||
17 | reg = <0x0 0xfc000000 0x0 0x01000000>, | ||
18 | <0x0 0x80000000 0x0 0x40000000>; | ||
19 | reg-names = "reg", "mem"; | ||
20 | cdns,max-outbound-regions = <16>; | ||
21 | max-functions = /bits/ 8 <8>; | ||
22 | }; | ||