diff options
Diffstat (limited to 'Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt')
-rw-r--r-- | Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt new file mode 100644 index 000000000000..9455fd0ec830 --- /dev/null +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | |||
@@ -0,0 +1,38 @@ | |||
1 | * Freescale i.MX6 PCIe interface | ||
2 | |||
3 | This PCIe host controller is based on the Synopsis Designware PCIe IP | ||
4 | and thus inherits all the common properties defined in designware-pcie.txt. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible: "fsl,imx6q-pcie" | ||
8 | - reg: base addresse and length of the pcie controller | ||
9 | - interrupts: A list of interrupt outputs of the controller. Must contain an | ||
10 | entry for each entry in the interrupt-names property. | ||
11 | - interrupt-names: Must include the following entries: | ||
12 | - "msi": The interrupt that is asserted when an MSI is received | ||
13 | - clock-names: Must include the following additional entries: | ||
14 | - "pcie_phy" | ||
15 | |||
16 | Example: | ||
17 | |||
18 | pcie@0x01000000 { | ||
19 | compatible = "fsl,imx6q-pcie", "snps,dw-pcie"; | ||
20 | reg = <0x01ffc000 0x4000>; | ||
21 | #address-cells = <3>; | ||
22 | #size-cells = <2>; | ||
23 | device_type = "pci"; | ||
24 | ranges = <0x00000800 0 0x01f00000 0x01f00000 0 0x00080000 | ||
25 | 0x81000000 0 0 0x01f80000 0 0x00010000 | ||
26 | 0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; | ||
27 | num-lanes = <1>; | ||
28 | interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; | ||
29 | interrupt-names = "msi"; | ||
30 | #interrupt-cells = <1>; | ||
31 | interrupt-map-mask = <0 0 0 0x7>; | ||
32 | interrupt-map = <0 0 0 1 &intc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, | ||
33 | <0 0 0 2 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, | ||
34 | <0 0 0 3 &intc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, | ||
35 | <0 0 0 4 &intc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; | ||
36 | clocks = <&clks 144>, <&clks 206>, <&clks 189>; | ||
37 | clock-names = "pcie", "pcie_bus", "pcie_phy"; | ||
38 | }; | ||