Skip to content

Commit 610e128

Browse files
Niklas Casselrobherring
authored andcommitted
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 <[email protected]> Signed-off-by: Rob Herring <[email protected]>
1 parent 5839783 commit 610e128

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Documentation/devicetree/bindings/pci/axis,artpec6-pcie.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,17 @@ Example:
2424
compatible = "axis,artpec6-pcie", "snps,dw-pcie";
2525
reg = <0xf8050000 0x2000
2626
0xf8040000 0x1000
27-
0xc0000000 0x1000>;
27+
0xc0000000 0x2000>;
2828
reg-names = "dbi", "phy", "config";
2929
#address-cells = <3>;
3030
#size-cells = <2>;
3131
device_type = "pci";
3232
/* downstream I/O */
33-
ranges = <0x81000000 0 0x00010000 0xc0010000 0 0x00010000
33+
ranges = <0x81000000 0 0 0xc0002000 0 0x00010000
3434
/* non-prefetchable memory */
35-
0x82000000 0 0xc0020000 0xc0020000 0 0x1ffe0000>;
35+
0x82000000 0 0xc0012000 0xc0012000 0 0x1ffee000>;
3636
num-lanes = <2>;
37+
bus-range = <0x00 0xff>;
3738
interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
3839
interrupt-names = "msi";
3940
#interrupt-cells = <1>;

0 commit comments

Comments
 (0)