renesas,irqc.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. DT bindings for the R-Mobile/R-Car/RZ/G 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-r8a7743" (RZ/G1M)
  7. - "renesas,irqc-r8a7745" (RZ/G1E)
  8. - "renesas,irqc-r8a7790" (R-Car H2)
  9. - "renesas,irqc-r8a7791" (R-Car M2-W)
  10. - "renesas,irqc-r8a7792" (R-Car V2H)
  11. - "renesas,irqc-r8a7793" (R-Car M2-N)
  12. - "renesas,irqc-r8a7794" (R-Car E2)
  13. - "renesas,intc-ex-r8a7795" (R-Car H3)
  14. - #interrupt-cells: has to be <2>: an interrupt index and flags, as defined in
  15. interrupts.txt in this directory
  16. - clocks: Must contain a reference to the functional clock.
  17. Optional properties:
  18. - any properties, listed in interrupts.txt, and any standard resource allocation
  19. properties
  20. Example:
  21. irqc0: interrupt-controller@e61c0000 {
  22. compatible = "renesas,irqc-r8a7790", "renesas,irqc";
  23. #interrupt-cells = <2>;
  24. interrupt-controller;
  25. reg = <0 0xe61c0000 0 0x200>;
  26. interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
  27. <0 1 IRQ_TYPE_LEVEL_HIGH>,
  28. <0 2 IRQ_TYPE_LEVEL_HIGH>,
  29. <0 3 IRQ_TYPE_LEVEL_HIGH>;
  30. clocks = <&mstp4_clks R8A7790_CLK_IRQC>;
  31. };