axis,artpec6-pcie.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. * Axis ARTPEC-6 PCIe interface
  2. This PCIe host controller is based on the Synopsys DesignWare PCIe IP
  3. and thus inherits all the common properties defined in designware-pcie.txt.
  4. Required properties:
  5. - compatible: "axis,artpec6-pcie", "snps,dw-pcie"
  6. - reg: base addresses and lengths of the PCIe controller (DBI),
  7. the phy controller, and configuration address space.
  8. - reg-names: Must include the following entries:
  9. - "dbi"
  10. - "phy"
  11. - "config"
  12. - interrupts: A list of interrupt outputs of the controller. Must contain an
  13. entry for each entry in the interrupt-names property.
  14. - interrupt-names: Must include the following entries:
  15. - "msi": The interrupt that is asserted when an MSI is received
  16. - axis,syscon-pcie: A phandle pointing to the ARTPEC-6 system controller,
  17. used to enable and control the Synopsys IP.
  18. Example:
  19. pcie@f8050000 {
  20. compatible = "axis,artpec6-pcie", "snps,dw-pcie";
  21. reg = <0xf8050000 0x2000
  22. 0xf8040000 0x1000
  23. 0xc0000000 0x2000>;
  24. reg-names = "dbi", "phy", "config";
  25. #address-cells = <3>;
  26. #size-cells = <2>;
  27. device_type = "pci";
  28. /* downstream I/O */
  29. ranges = <0x81000000 0 0 0xc0002000 0 0x00010000
  30. /* non-prefetchable memory */
  31. 0x82000000 0 0xc0012000 0xc0012000 0 0x1ffee000>;
  32. num-lanes = <2>;
  33. bus-range = <0x00 0xff>;
  34. interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
  35. interrupt-names = "msi";
  36. #interrupt-cells = <1>;
  37. interrupt-map-mask = <0 0 0 0x7>;
  38. interrupt-map = <0 0 0 1 &intc GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
  39. <0 0 0 2 &intc GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
  40. <0 0 0 3 &intc GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
  41. <0 0 0 4 &intc GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
  42. axis,syscon-pcie = <&syscon>;
  43. };