Skip to content

Commit

Permalink
dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe endpoint …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Cyrille Pitchen authored and Lorenzo Pieralisi committed Jan 31, 2018
1 parent fc41df2 commit 6618f4d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
* Cadence PCIe endpoint controller

Required properties:
- compatible: Should contain "cdns,cdns-pcie-ep" to identify the IP used.
- reg: Should contain the controller register base address and AXI interface
region base address respectively.
- reg-names: Must be "reg" and "mem" respectively.
- cdns,max-outbound-regions: Set to maximum number of outbound regions

Optional properties:
- max-functions: Maximum number of functions that can be configured (default 1).

Example:

pcie@fc000000 {
compatible = "cdns,cdns-pcie-ep";
reg = <0x0 0xfc000000 0x0 0x01000000>,
<0x0 0x80000000 0x0 0x40000000>;
reg-names = "reg", "mem";
cdns,max-outbound-regions = <16>;
max-functions = /bits/ 8 <8>;
};

0 comments on commit 6618f4d

Please sign in to comment.