v3-v360epc-pci.txt 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. V3 Semiconductor V360 EPC PCI bridge
  2. This bridge is found in the ARM Integrator/AP (Application Platform)
  3. Required properties:
  4. - compatible: should be one of:
  5. "v3,v360epc-pci"
  6. "arm,integrator-ap-pci", "v3,v360epc-pci"
  7. - reg: should contain two register areas:
  8. first the base address of the V3 host bridge controller, 64KB
  9. second the configuration area register space, 16MB
  10. - interrupts: should contain a reference to the V3 error interrupt
  11. as routed on the system.
  12. - bus-range: see pci.txt
  13. - ranges: this follows the standard PCI bindings in the IEEE Std
  14. 1275-1994 (see pci.txt) with the following restriction:
  15. - The non-prefetchable and prefetchable memory windows must
  16. each be exactly 256MB (0x10000000) in size.
  17. - The prefetchable memory window must be immediately adjacent
  18. to the non-prefetcable memory window
  19. - dma-ranges: three ranges for the inbound memory region. The ranges must
  20. be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB,
  21. 64MB, 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked
  22. as pre-fetchable. Two ranges are supported by the hardware.
  23. Integrator-specific required properties:
  24. - syscon: should contain a link to the syscon device node, since
  25. on the Integrator, some registers in the syscon are required to
  26. operate the V3 host bridge.
  27. Example:
  28. pci: pciv3@62000000 {
  29. compatible = "arm,integrator-ap-pci", "v3,v360epc-pci";
  30. #interrupt-cells = <1>;
  31. #size-cells = <2>;
  32. #address-cells = <3>;
  33. reg = <0x62000000 0x10000>, <0x61000000 0x01000000>;
  34. interrupt-parent = <&pic>;
  35. interrupts = <17>; /* Bus error IRQ */
  36. clocks = <&pciclk>;
  37. bus-range = <0x00 0xff>;
  38. ranges = 0x01000000 0 0x00000000 /* I/O space @00000000 */
  39. 0x60000000 0 0x01000000 /* 16 MiB @ LB 60000000 */
  40. 0x02000000 0 0x40000000 /* non-prefectable memory @40000000 */
  41. 0x40000000 0 0x10000000 /* 256 MiB @ LB 40000000 1:1 */
  42. 0x42000000 0 0x50000000 /* prefetchable memory @50000000 */
  43. 0x50000000 0 0x10000000>; /* 256 MiB @ LB 50000000 1:1 */
  44. dma-ranges = <0x02000000 0 0x20000000 /* EBI memory space */
  45. 0x20000000 0 0x20000000 /* 512 MB @ LB 20000000 1:1 */
  46. 0x02000000 0 0x80000000 /* Core module alias memory */
  47. 0x80000000 0 0x40000000>; /* 1GB @ LB 80000000 */
  48. interrupt-map-mask = <0xf800 0 0 0x7>;
  49. interrupt-map = <
  50. /* IDSEL 9 */
  51. 0x4800 0 0 1 &pic 13 /* INT A on slot 9 is irq 13 */
  52. 0x4800 0 0 2 &pic 14 /* INT B on slot 9 is irq 14 */
  53. 0x4800 0 0 3 &pic 15 /* INT C on slot 9 is irq 15 */
  54. 0x4800 0 0 4 &pic 16 /* INT D on slot 9 is irq 16 */
  55. /* IDSEL 10 */
  56. 0x5000 0 0 1 &pic 14 /* INT A on slot 10 is irq 14 */
  57. 0x5000 0 0 2 &pic 15 /* INT B on slot 10 is irq 15 */
  58. 0x5000 0 0 3 &pic 16 /* INT C on slot 10 is irq 16 */
  59. 0x5000 0 0 4 &pic 13 /* INT D on slot 10 is irq 13 */
  60. /* IDSEL 11 */
  61. 0x5800 0 0 1 &pic 15 /* INT A on slot 11 is irq 15 */
  62. 0x5800 0 0 2 &pic 16 /* INT B on slot 11 is irq 16 */
  63. 0x5800 0 0 3 &pic 13 /* INT C on slot 11 is irq 13 */
  64. 0x5800 0 0 4 &pic 14 /* INT D on slot 11 is irq 14 */
  65. /* IDSEL 12 */
  66. 0x6000 0 0 1 &pic 16 /* INT A on slot 12 is irq 16 */
  67. 0x6000 0 0 2 &pic 13 /* INT B on slot 12 is irq 13 */
  68. 0x6000 0 0 3 &pic 14 /* INT C on slot 12 is irq 14 */
  69. 0x6000 0 0 4 &pic 15 /* INT D on slot 12 is irq 15 */
  70. >;
  71. };