abilis,tb10x-ictl.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. TB10x Top Level Interrupt Controller
  2. ====================================
  3. The Abilis TB10x SOC contains a custom interrupt controller. It performs
  4. one-to-one mapping of external interrupt sources to CPU interrupts and
  5. provides support for reconfigurable trigger modes.
  6. Required properties
  7. -------------------
  8. - compatible: Should be "abilis,tb10x-ictl"
  9. - reg: specifies physical base address and size of register range.
  10. - interrupt-congroller: Identifies the node as an interrupt controller.
  11. - #interrupt cells: Specifies the number of cells used to encode an interrupt
  12. source connected to this controller. The value shall be 2.
  13. - interrupt-parent: Specifies the parent interrupt controller.
  14. - interrupts: Specifies the list of interrupt lines which are handled by
  15. the interrupt controller in the parent controller's notation. Interrupts
  16. are mapped one-to-one to parent interrupts.
  17. Example
  18. -------
  19. intc: interrupt-controller { /* Parent interrupt controller */
  20. interrupt-controller;
  21. #interrupt-cells = <1>; /* For example below */
  22. /* ... */
  23. };
  24. tb10x_ictl: pic@2000 { /* TB10x interrupt controller */
  25. compatible = "abilis,tb10x-ictl";
  26. reg = <0x2000 0x20>;
  27. interrupt-controller;
  28. #interrupt-cells = <2>;
  29. interrupt-parent = <&intc>;
  30. interrupts = <5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
  31. 20 21 22 23 24 25 26 27 28 29 30 31>;
  32. };