diff options
author | Ramon Fried <ramon.fried@gmail.com> | 2019-04-27 11:15:22 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-11 10:05:15 -0400 |
commit | c2ccc9e5cb9ac5547e063bc2bf35f6340b8f9362 (patch) | |
tree | 6ce71088d3d1aeaa68c5051011bdf766b2969b45 /doc | |
parent | 914026d25848b856a669d629cb284c34843d707e (diff) | |
download | u-boot-c2ccc9e5cb9ac5547e063bc2bf35f6340b8f9362.zip u-boot-c2ccc9e5cb9ac5547e063bc2bf35f6340b8f9362.tar.gz u-boot-c2ccc9e5cb9ac5547e063bc2bf35f6340b8f9362.tar.bz2 |
pci_ep: add Cadence PCIe endpoint driver
Add Cadence PCIe endpoint driver supporting configuration
of header, bars and MSI for device.
Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/device-tree-bindings/pci_endpoint/cdns,cdns-pcie-ep.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/pci_endpoint/cdns,cdns-pcie-ep.txt b/doc/device-tree-bindings/pci_endpoint/cdns,cdns-pcie-ep.txt new file mode 100644 index 0000000..7705430 --- /dev/null +++ b/doc/device-tree-bindings/pci_endpoint/cdns,cdns-pcie-ep.txt @@ -0,0 +1,18 @@ +* 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. + +Optional properties: +- max-functions: Maximum number of functions that can be configured (default 1). +- cdns,max-outbound-regions: Set to maximum number of outbound regions (default 8) + +Example: + +pcie_ep@fc000000 { + compatible = "cdns,cdns-pcie-ep"; + reg = <0x0 0xfc000000 0x0 0x01000000>; + cdns,max-outbound-regions = <16>; + max-functions = /bits/ 8 <8>; +}; |