blob: e3f052d8c11a24c34409b174b5117779b2ecdc5d [file] [log] [blame]
Sergei Shtylyov87e5fc92016-09-30 00:25:29 +03001DT bindings for the R-Mobile/R-Car/RZ/G interrupt controller
Geert Uytterhoeven41a33222014-08-28 09:59:59 +02002
3Required properties:
4
5- compatible: has to be "renesas,irqc-<soctype>", "renesas,irqc" as fallback.
6 Examples with soctypes are:
Geert Uytterhoeven5593ce62015-03-18 19:55:57 +01007 - "renesas,irqc-r8a73a4" (R-Mobile APE6)
Sergei Shtylyov87e5fc92016-09-30 00:25:29 +03008 - "renesas,irqc-r8a7743" (RZ/G1M)
9 - "renesas,irqc-r8a7745" (RZ/G1E)
Geert Uytterhoeven41a33222014-08-28 09:59:59 +020010 - "renesas,irqc-r8a7790" (R-Car H2)
Geert Uytterhoeven46eedb92014-08-28 10:00:00 +020011 - "renesas,irqc-r8a7791" (R-Car M2-W)
12 - "renesas,irqc-r8a7792" (R-Car V2H)
13 - "renesas,irqc-r8a7793" (R-Car M2-N)
14 - "renesas,irqc-r8a7794" (R-Car E2)
Magnus Damme7dbe2d2015-09-28 18:42:28 +090015 - "renesas,intc-ex-r8a7795" (R-Car H3)
Geert Uytterhoeven41a33222014-08-28 09:59:59 +020016- #interrupt-cells: has to be <2>: an interrupt index and flags, as defined in
17 interrupts.txt in this directory
Geert Uytterhoeven5593ce62015-03-18 19:55:57 +010018- clocks: Must contain a reference to the functional clock.
Geert Uytterhoeven41a33222014-08-28 09:59:59 +020019
20Optional properties:
21
22- any properties, listed in interrupts.txt, and any standard resource allocation
23 properties
24
25Example:
26
27 irqc0: interrupt-controller@e61c0000 {
28 compatible = "renesas,irqc-r8a7790", "renesas,irqc";
29 #interrupt-cells = <2>;
30 interrupt-controller;
31 reg = <0 0xe61c0000 0 0x200>;
32 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
33 <0 1 IRQ_TYPE_LEVEL_HIGH>,
34 <0 2 IRQ_TYPE_LEVEL_HIGH>,
35 <0 3 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven5593ce62015-03-18 19:55:57 +010036 clocks = <&mstp4_clks R8A7790_CLK_IRQC>;
Geert Uytterhoeven41a33222014-08-28 09:59:59 +020037 };