| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 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 | - phys: From PHY bindings: List of Generic PHY phandles. One per lane if more |
| 13 | than one in the list. If only one PHY listed it must manage all lanes. |
| 14 | - phy-names: List of names to identify the PHY. |
| 15 | |
| 16 | Example: |
| 17 | |
| 18 | pcie@fc000000 { |
| 19 | compatible = "cdns,cdns-pcie-ep"; |
| 20 | reg = <0x0 0xfc000000 0x0 0x01000000>, |
| 21 | <0x0 0x80000000 0x0 0x40000000>; |
| 22 | reg-names = "reg", "mem"; |
| 23 | cdns,max-outbound-regions = <16>; |
| 24 | max-functions = /bits/ 8 <8>; |
| 25 | phys = <&ep_phy0 &ep_phy1>; |
| 26 | phy-names = "pcie-lane0","pcie-lane1"; |
| 27 | }; |