cdns,xtensa-pic.txt 969 B

12345678910111213141516171819202122232425
  1. * Xtensa built-in Programmable Interrupt Controller (PIC)
  2. Required properties:
  3. - compatible: Should be "cdns,xtensa-pic".
  4. - interrupt-controller: Identifies the node as an interrupt controller.
  5. - #interrupt-cells: The number of cells to define the interrupts.
  6. It may be either 1 or 2.
  7. When it's 1, the first cell is the internal IRQ number.
  8. When it's 2, the first cell is the IRQ number, and the second cell
  9. specifies whether it's internal (0) or external (1).
  10. Periferals are usually connected to a fixed external IRQ, but for different
  11. core variants it may be mapped to different internal IRQ.
  12. IRQ sensitivity and priority are fixed for each core variant and may not be
  13. changed at runtime.
  14. Examples:
  15. pic: pic {
  16. compatible = "cdns,xtensa-pic";
  17. /* one cell: internal irq number,
  18. * two cells: second cell == 0: internal irq number
  19. * second cell == 1: external irq number
  20. */
  21. #interrupt-cells = <2>;
  22. interrupt-controller;
  23. };