diff options
author | Ray Jui <rjui@broadcom.com> | 2015-04-08 14:21:34 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-04-08 15:19:19 -0400 |
commit | 1b55d62259187fe77ade87dccc33522d51f113ee (patch) | |
tree | c53737d1fd3d42f3548966672d1229263eaa4f64 | |
parent | e6b29deafad3ce020dcf873a27a95c0cb9966c5b (diff) |
PCI: iproc: Add DT docs for Broadcom iProc PCIe driver
Document the Broadcom iProc PCIe platform interface device tree binding.
Signed-off-by: Ray Jui <rjui@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt b/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt new file mode 100644 index 000000000000..f7ce50e38ed4 --- /dev/null +++ b/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt | |||
@@ -0,0 +1,63 @@ | |||
1 | * Broadcom iProc PCIe controller with the platform bus interface | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Must be "brcm,iproc-pcie" | ||
5 | - reg: base address and length of the PCIe controller I/O register space | ||
6 | - #interrupt-cells: set to <1> | ||
7 | - interrupt-map-mask and interrupt-map, standard PCI properties to define the | ||
8 | mapping of the PCIe interface to interrupt numbers | ||
9 | - linux,pci-domain: PCI domain ID. Should be unique for each host controller | ||
10 | - bus-range: PCI bus numbers covered | ||
11 | - #address-cells: set to <3> | ||
12 | - #size-cells: set to <2> | ||
13 | - device_type: set to "pci" | ||
14 | - ranges: ranges for the PCI memory and I/O regions | ||
15 | |||
16 | Optional properties: | ||
17 | - phys: phandle of the PCIe PHY device | ||
18 | - phy-names: must be "pcie-phy" | ||
19 | |||
20 | Example: | ||
21 | pcie0: pcie@18012000 { | ||
22 | compatible = "brcm,iproc-pcie"; | ||
23 | reg = <0x18012000 0x1000>; | ||
24 | |||
25 | #interrupt-cells = <1>; | ||
26 | interrupt-map-mask = <0 0 0 0>; | ||
27 | interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_NONE>; | ||
28 | |||
29 | linux,pci-domain = <0>; | ||
30 | |||
31 | bus-range = <0x00 0xff>; | ||
32 | |||
33 | #address-cells = <3>; | ||
34 | #size-cells = <2>; | ||
35 | device_type = "pci"; | ||
36 | ranges = <0x81000000 0 0 0x28000000 0 0x00010000 | ||
37 | 0x82000000 0 0x20000000 0x20000000 0 0x04000000>; | ||
38 | |||
39 | phys = <&phy 0 5>; | ||
40 | phy-names = "pcie-phy"; | ||
41 | }; | ||
42 | |||
43 | pcie1: pcie@18013000 { | ||
44 | compatible = "brcm,iproc-pcie"; | ||
45 | reg = <0x18013000 0x1000>; | ||
46 | |||
47 | #interrupt-cells = <1>; | ||
48 | interrupt-map-mask = <0 0 0 0>; | ||
49 | interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_NONE>; | ||
50 | |||
51 | linux,pci-domain = <1>; | ||
52 | |||
53 | bus-range = <0x00 0xff>; | ||
54 | |||
55 | #address-cells = <3>; | ||
56 | #size-cells = <2>; | ||
57 | device_type = "pci"; | ||
58 | ranges = <0x81000000 0 0 0x48000000 0 0x00010000 | ||
59 | 0x82000000 0 0x40000000 0x40000000 0 0x04000000>; | ||
60 | |||
61 | phys = <&phy 1 6>; | ||
62 | phy-names = "pcie-phy"; | ||
63 | }; | ||