versatile-fpga-irq.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. * ARM Versatile FPGA interrupt controller
  2. One or more FPGA IRQ controllers can be synthesized in an ARM reference board
  3. such as the Integrator or Versatile family. The output of these different
  4. controllers are OR:ed together and fed to the CPU tile's IRQ input. Each
  5. instance can handle up to 32 interrupts.
  6. Required properties:
  7. - compatible: "arm,versatile-fpga-irq"
  8. - interrupt-controller: Identifies the node as an interrupt controller
  9. - #interrupt-cells: The number of cells to define the interrupts. Must be 1
  10. as the FPGA IRQ controller has no configuration options for interrupt
  11. sources. The cell is a u32 and defines the interrupt number.
  12. - reg: The register bank for the FPGA interrupt controller.
  13. - clear-mask: a u32 number representing the mask written to clear all IRQs
  14. on the controller at boot for example.
  15. - valid-mask: a u32 number representing a bit mask determining which of
  16. the interrupts are valid. Unconnected/unused lines are set to 0, and
  17. the system till not make it possible for devices to request these
  18. interrupts.
  19. Example:
  20. pic: pic@14000000 {
  21. compatible = "arm,versatile-fpga-irq";
  22. #interrupt-cells = <1>;
  23. interrupt-controller;
  24. reg = <0x14000000 0x100>;
  25. clear-mask = <0xffffffff>;
  26. valid-mask = <0x003fffff>;
  27. };
  28. Optional properties:
  29. - interrupts: if the FPGA IRQ controller is cascaded, i.e. if its IRQ
  30. output is simply connected to the input of another IRQ controller,
  31. then the parent IRQ shall be specified in this property.