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. - "renesas,intc-ex-r8a7795" (R-Car H3)
  12. - #interrupt-cells: has to be <2>: an interrupt index and flags, as defined in
  13. interrupts.txt in this directory
  14. - clocks: Must contain a reference to the functional clock.
  15. Optional properties:
  16. - any properties, listed in interrupts.txt, and any standard resource allocation
  17. properties
  18. Example:
  19. irqc0: interrupt-controller@e61c0000 {
  20. compatible = "renesas,irqc-r8a7790", "renesas,irqc";
  21. #interrupt-cells = <2>;
  22. interrupt-controller;
  23. reg = <0 0xe61c0000 0 0x200>;
  24. interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
  25. <0 1 IRQ_TYPE_LEVEL_HIGH>,
  26. <0 2 IRQ_TYPE_LEVEL_HIGH>,
  27. <0 3 IRQ_TYPE_LEVEL_HIGH>;
  28. clocks = <&mstp4_clks R8A7790_CLK_IRQC>;
  29. };