pci-keystone.txt 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. TI Keystone PCIe interface
  2. Keystone PCI host Controller is based on Designware PCI h/w version 3.65.
  3. It shares common functions with PCIe Designware core driver and inherit
  4. common properties defined in
  5. Documentation/devicetree/bindings/pci/designware-pci.txt
  6. Please refer to Documentation/devicetree/bindings/pci/designware-pci.txt
  7. for the details of Designware DT bindings. Additional properties are
  8. described here as well as properties that are not applicable.
  9. Required Properties:-
  10. compatibility: "ti,keystone-pcie"
  11. reg: index 1 is the base address and length of DW application registers.
  12. index 2 is the base address and length of PCI device ID register.
  13. pcie_msi_intc : Interrupt controller device node for MSI IRQ chip
  14. interrupt-cells: should be set to 1
  15. interrupt-parent: Parent interrupt controller phandle
  16. interrupts: GIC interrupt lines connected to PCI MSI interrupt lines
  17. Example:
  18. pcie_msi_intc: msi-interrupt-controller {
  19. interrupt-controller;
  20. #interrupt-cells = <1>;
  21. interrupt-parent = <&gic>;
  22. interrupts = <GIC_SPI 30 IRQ_TYPE_EDGE_RISING>,
  23. <GIC_SPI 31 IRQ_TYPE_EDGE_RISING>,
  24. <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>,
  25. <GIC_SPI 33 IRQ_TYPE_EDGE_RISING>,
  26. <GIC_SPI 34 IRQ_TYPE_EDGE_RISING>,
  27. <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>,
  28. <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>,
  29. <GIC_SPI 37 IRQ_TYPE_EDGE_RISING>;
  30. };
  31. pcie_intc: Interrupt controller device node for Legacy IRQ chip
  32. interrupt-cells: should be set to 1
  33. interrupt-parent: Parent interrupt controller phandle
  34. interrupts: GIC interrupt lines connected to PCI Legacy interrupt lines
  35. Example:
  36. pcie_intc: legacy-interrupt-controller {
  37. interrupt-controller;
  38. #interrupt-cells = <1>;
  39. interrupt-parent = <&gic>;
  40. interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>,
  41. <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>,
  42. <GIC_SPI 28 IRQ_TYPE_EDGE_RISING>,
  43. <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
  44. };
  45. Optional properties:-
  46. phys: phandle to Generic Keystone SerDes phy for PCI
  47. phy-names: name of the Generic Keystine SerDes phy for PCI
  48. - If boot loader already does PCI link establishment, then phys and
  49. phy-names shouldn't be present.
  50. Designware DT Properties not applicable for Keystone PCI
  51. 1. pcie_bus clock-names not used. Instead, a phandle to phys is used.