diff options
author | Niklas Cassel <niklas.cassel@axis.com> | 2016-08-25 18:01:56 -0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2016-08-31 11:01:54 -0400 |
commit | 610e12837425e204d1a3bd0182bcdaff1d660e60 (patch) | |
tree | 0fded4c2c057472bb17c2351c802f2c80ace98bf | |
parent | 5839783247f416901ea4571882cb81f8354c9d2a (diff) |
bindings: PCI: artpec: correct pci binding example
- Increase config size. When using a PCIe switch,
the previous config size only had room for one device.
- Add bus range. Inherited optional property.
- Map downstream I/O to PCI address 0. We can map it to any
address, but let's be consistent with other drivers.
Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/pci/axis,artpec6-pcie.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/pci/axis,artpec6-pcie.txt b/Documentation/devicetree/bindings/pci/axis,artpec6-pcie.txt index 330a45b5f0b5..5ecaea1e6eee 100644 --- a/Documentation/devicetree/bindings/pci/axis,artpec6-pcie.txt +++ b/Documentation/devicetree/bindings/pci/axis,artpec6-pcie.txt | |||
@@ -24,16 +24,17 @@ Example: | |||
24 | compatible = "axis,artpec6-pcie", "snps,dw-pcie"; | 24 | compatible = "axis,artpec6-pcie", "snps,dw-pcie"; |
25 | reg = <0xf8050000 0x2000 | 25 | reg = <0xf8050000 0x2000 |
26 | 0xf8040000 0x1000 | 26 | 0xf8040000 0x1000 |
27 | 0xc0000000 0x1000>; | 27 | 0xc0000000 0x2000>; |
28 | reg-names = "dbi", "phy", "config"; | 28 | reg-names = "dbi", "phy", "config"; |
29 | #address-cells = <3>; | 29 | #address-cells = <3>; |
30 | #size-cells = <2>; | 30 | #size-cells = <2>; |
31 | device_type = "pci"; | 31 | device_type = "pci"; |
32 | /* downstream I/O */ | 32 | /* downstream I/O */ |
33 | ranges = <0x81000000 0 0x00010000 0xc0010000 0 0x00010000 | 33 | ranges = <0x81000000 0 0 0xc0002000 0 0x00010000 |
34 | /* non-prefetchable memory */ | 34 | /* non-prefetchable memory */ |
35 | 0x82000000 0 0xc0020000 0xc0020000 0 0x1ffe0000>; | 35 | 0x82000000 0 0xc0012000 0xc0012000 0 0x1ffee000>; |
36 | num-lanes = <2>; | 36 | num-lanes = <2>; |
37 | bus-range = <0x00 0xff>; | ||
37 | interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; | 38 | interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; |
38 | interrupt-names = "msi"; | 39 | interrupt-names = "msi"; |
39 | #interrupt-cells = <1>; | 40 | #interrupt-cells = <1>; |