summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt
blob: 4a0475e2ba7ec1c86b2290323329b4dea86cacb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
* 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).
- phys: From PHY bindings: List of Generic PHY phandles. One per lane if more
  than one in the list.  If only one PHY listed it must manage all lanes. 
- phy-names:  List of names to identify the PHY.

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>;
	phys = <&ep_phy0 &ep_phy1>;
	phy-names = "pcie-lane0","pcie-lane1";
};