]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt
PCI: layerscape: Add ls_pcie_msi_host_init()
[karo-tx-linux.git] / Documentation / devicetree / bindings / pci / brcm,iproc-pcie.txt
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         };