snps,archs-idu-intc.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. * ARC-HS Interrupt Distribution Unit
  2. This optional 2nd level interrupt controller can be used in SMP configurations for
  3. dynamic IRQ routing, load balancing of common/external IRQs towards core intc.
  4. Properties:
  5. - compatible: "snps,archs-idu-intc"
  6. - interrupt-controller: This is an interrupt controller.
  7. - #interrupt-cells: Must be <1>.
  8. Value of the cell specifies the "common" IRQ from peripheral to IDU. Number N
  9. of the particular interrupt line of IDU corresponds to the line N+24 of the
  10. core interrupt controller.
  11. intc accessed via the special ARC AUX register interface, hence "reg" property
  12. is not specified.
  13. Example:
  14. core_intc: core-interrupt-controller {
  15. compatible = "snps,archs-intc";
  16. interrupt-controller;
  17. #interrupt-cells = <1>;
  18. };
  19. idu_intc: idu-interrupt-controller {
  20. compatible = "snps,archs-idu-intc";
  21. interrupt-controller;
  22. interrupt-parent = <&core_intc>;
  23. #interrupt-cells = <1>;
  24. };
  25. some_device: serial@c0fc1000 {
  26. interrupt-parent = <&idu_intc>;
  27. interrupts = <0>; /* upstream idu IRQ #24 */
  28. };