1 From 8d0afa1a93be2da954c85392bbc7b2264c9d241c Mon Sep 17 00:00:00 2001
2 From: Ray Jui <rjui@broadcom.com>
3 Date: Tue, 15 Sep 2015 17:39:20 -0700
4 Subject: [PATCH 6/7] PCI: iproc: Update PCIe device tree bindings
6 Update the device tree bindings with added support for outbound mapping
9 Signed-off-by: Ray Jui <rjui@broadcom.com>
10 Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
12 .../devicetree/bindings/pci/brcm,iproc-pcie.txt | 20 ++++++++++++++++++++
13 1 file changed, 20 insertions(+)
15 --- a/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt
16 +++ b/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt
17 @@ -17,6 +17,21 @@ Optional properties:
18 - phys: phandle of the PCIe PHY device
19 - phy-names: must be "pcie-phy"
21 +- brcm,pcie-ob: Some iProc SoCs do not have the outbound address mapping done
22 +by the ASIC after power on reset. In this case, SW needs to configure it
24 +If the brcm,pcie-ob property is present, the following properties become
28 +- brcm,pcie-ob-axi-offset: The offset from the AXI address to the internal
29 +address used by the iProc PCIe core (not the PCIe address)
30 +- brcm,pcie-ob-window-size: The outbound address mapping window size (in MB)
33 +- brcm,pcie-ob-oarr-size: Some iProc SoCs need the OARR size bit to be set to
34 +increase the outbound window size
37 pcie0: pcie@18012000 {
38 compatible = "brcm,iproc-pcie";
39 @@ -38,6 +53,11 @@ Example:
42 phy-names = "pcie-phy";
45 + brcm,pcie-ob-oarr-size;
46 + brcm,pcie-ob-axi-offset = <0x00000000>;
47 + brcm,pcie-ob-window-size = <256>;
50 pcie1: pcie@18013000 {