mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
6618f4d3f5
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>
23 lines
707 B
Plaintext
23 lines
707 B
Plaintext
* 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>;
|
|
};
|