diff options
author | Ray Jui <rjui@broadcom.com> | 2015-09-15 20:39:20 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-09-25 19:19:46 -0400 |
commit | 8d0afa1a93be2da954c85392bbc7b2264c9d241c (patch) | |
tree | 2c8b089b87965a74cddb9eeffc04a7b42fb3d9de | |
parent | aaf22ab4e916afa68a2e1aed4e913b76cbd58276 (diff) |
PCI: iproc: Update PCIe device tree bindings
Update the device tree bindings with added support for outbound mapping
configurations.
Signed-off-by: Ray Jui <rjui@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r-- | Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt b/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt index f7ce50e38ed4..45c2a8094a9f 100644 --- a/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt +++ b/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt | |||
@@ -17,6 +17,21 @@ Optional properties: | |||
17 | - phys: phandle of the PCIe PHY device | 17 | - phys: phandle of the PCIe PHY device |
18 | - phy-names: must be "pcie-phy" | 18 | - phy-names: must be "pcie-phy" |
19 | 19 | ||
20 | - brcm,pcie-ob: Some iProc SoCs do not have the outbound address mapping done | ||
21 | by the ASIC after power on reset. In this case, SW needs to configure it | ||
22 | |||
23 | If the brcm,pcie-ob property is present, the following properties become | ||
24 | effective: | ||
25 | |||
26 | Required: | ||
27 | - brcm,pcie-ob-axi-offset: The offset from the AXI address to the internal | ||
28 | address used by the iProc PCIe core (not the PCIe address) | ||
29 | - brcm,pcie-ob-window-size: The outbound address mapping window size (in MB) | ||
30 | |||
31 | Optional: | ||
32 | - brcm,pcie-ob-oarr-size: Some iProc SoCs need the OARR size bit to be set to | ||
33 | increase the outbound window size | ||
34 | |||
20 | Example: | 35 | Example: |
21 | pcie0: pcie@18012000 { | 36 | pcie0: pcie@18012000 { |
22 | compatible = "brcm,iproc-pcie"; | 37 | compatible = "brcm,iproc-pcie"; |
@@ -38,6 +53,11 @@ Example: | |||
38 | 53 | ||
39 | phys = <&phy 0 5>; | 54 | phys = <&phy 0 5>; |
40 | phy-names = "pcie-phy"; | 55 | phy-names = "pcie-phy"; |
56 | |||
57 | brcm,pcie-ob; | ||
58 | brcm,pcie-ob-oarr-size; | ||
59 | brcm,pcie-ob-axi-offset = <0x00000000>; | ||
60 | brcm,pcie-ob-window-size = <256>; | ||
41 | }; | 61 | }; |
42 | 62 | ||
43 | pcie1: pcie@18013000 { | 63 | pcie1: pcie@18013000 { |