renesas,irqc.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. DT bindings for the R-Mobile/R-Car interrupt controller
  2. Required properties:
  3. - compatible: has to be "renesas,irqc-<soctype>", "renesas,irqc" as fallback.
  4. Examples with soctypes are:
  5. - "renesas,irqc-r8a73a4" (R-Mobile APE6)
  6. - "renesas,irqc-r8a7790" (R-Car H2)
  7. - "renesas,irqc-r8a7791" (R-Car M2-W)
  8. - "renesas,irqc-r8a7792" (R-Car V2H)
  9. - "renesas,irqc-r8a7793" (R-Car M2-N)
  10. - "renesas,irqc-r8a7794" (R-Car E2)
  11. - #interrupt-cells: has to be <2>: an interrupt index and flags, as defined in
  12. interrupts.txt in this directory
  13. - clocks: Must contain a reference to the functional clock.
  14. Optional properties:
  15. - any properties, listed in interrupts.txt, and any standard resource allocation
  16. properties
  17. Example:
  18. irqc0: interrupt-controller@e61c0000 {
  19. compatible = "renesas,irqc-r8a7790", "renesas,irqc";
  20. #interrupt-cells = <2>;
  21. interrupt-controller;
  22. reg = <0 0xe61c0000 0 0x200>;
  23. interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
  24. <0 1 IRQ_TYPE_LEVEL_HIGH>,
  25. <0 2 IRQ_TYPE_LEVEL_HIGH>,
  26. <0 3 IRQ_TYPE_LEVEL_HIGH>;
  27. clocks = <&mstp4_clks R8A7790_CLK_IRQC>;
  28. };