2014-09-03 07:26:19 +08:00
|
|
|
TI Keystone PCIe interface
|
|
|
|
|
2017-09-02 05:35:50 +08:00
|
|
|
Keystone PCI host Controller is based on the Synopsys DesignWare PCI
|
|
|
|
hardware version 3.65. It shares common functions with the PCIe DesignWare
|
|
|
|
core driver and inherits common properties defined in
|
2018-06-14 23:30:30 +08:00
|
|
|
Documentation/devicetree/bindings/pci/designware-pcie.txt
|
2014-09-03 07:26:19 +08:00
|
|
|
|
2018-06-14 23:30:30 +08:00
|
|
|
Please refer to Documentation/devicetree/bindings/pci/designware-pcie.txt
|
2017-09-02 05:35:50 +08:00
|
|
|
for the details of DesignWare DT bindings. Additional properties are
|
2014-09-03 07:26:19 +08:00
|
|
|
described here as well as properties that are not applicable.
|
|
|
|
|
|
|
|
Required Properties:-
|
|
|
|
|
|
|
|
compatibility: "ti,keystone-pcie"
|
|
|
|
reg: index 1 is the base address and length of DW application registers.
|
2014-09-11 01:12:38 +08:00
|
|
|
index 2 is the base address and length of PCI device ID register.
|
2014-09-03 07:26:19 +08:00
|
|
|
|
|
|
|
pcie_msi_intc : Interrupt controller device node for MSI IRQ chip
|
|
|
|
interrupt-cells: should be set to 1
|
|
|
|
interrupts: GIC interrupt lines connected to PCI MSI interrupt lines
|
|
|
|
|
2018-10-17 15:41:02 +08:00
|
|
|
ti,syscon-pcie-id : phandle to the device control module required to set device
|
|
|
|
id and vendor id.
|
|
|
|
|
2014-09-03 07:26:19 +08:00
|
|
|
Example:
|
|
|
|
pcie_msi_intc: msi-interrupt-controller {
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
interrupts = <GIC_SPI 30 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 31 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 32 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 33 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 34 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 35 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 36 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 37 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcie_intc: Interrupt controller device node for Legacy IRQ chip
|
|
|
|
interrupt-cells: should be set to 1
|
|
|
|
|
|
|
|
Example:
|
|
|
|
pcie_intc: legacy-interrupt-controller {
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 27 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 28 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
};
|
|
|
|
|
|
|
|
Optional properties:-
|
2017-09-02 05:35:50 +08:00
|
|
|
phys: phandle to generic Keystone SerDes PHY for PCI
|
|
|
|
phy-names: name of the generic Keystone SerDes PHY for PCI
|
2014-09-03 07:26:19 +08:00
|
|
|
- If boot loader already does PCI link establishment, then phys and
|
|
|
|
phy-names shouldn't be present.
|
2016-04-11 22:50:30 +08:00
|
|
|
interrupts: platform interrupt for error interrupts.
|
2014-09-03 07:26:19 +08:00
|
|
|
|
2017-09-02 05:35:50 +08:00
|
|
|
DesignWare DT Properties not applicable for Keystone PCI
|
2014-09-03 07:26:19 +08:00
|
|
|
|
|
|
|
1. pcie_bus clock-names not used. Instead, a phandle to phys is used.
|