blob: ae5054c27c996564b9675fac7d245bd6af28b0bc [file] [log] [blame]
Geert Uytterhoeven41a33222014-08-28 09:59:59 +02001DT bindings for the R-Mobile/R-Car interrupt controller
2
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)
Geert Uytterhoeven41a33222014-08-28 09:59:59 +02008 - "renesas,irqc-r8a7790" (R-Car H2)
Geert Uytterhoeven46eedb92014-08-28 10:00:00 +02009 - "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)
Magnus Damme7dbe2d2015-09-28 18:42:28 +090013 - "renesas,intc-ex-r8a7795" (R-Car H3)
Geert Uytterhoeven41a33222014-08-28 09:59:59 +020014- #interrupt-cells: has to be <2>: an interrupt index and flags, as defined in
15 interrupts.txt in this directory
Geert Uytterhoeven5593ce62015-03-18 19:55:57 +010016- clocks: Must contain a reference to the functional clock.
Geert Uytterhoeven41a33222014-08-28 09:59:59 +020017
18Optional properties:
19
20- any properties, listed in interrupts.txt, and any standard resource allocation
21 properties
22
23Example:
24
25 irqc0: interrupt-controller@e61c0000 {
26 compatible = "renesas,irqc-r8a7790", "renesas,irqc";
27 #interrupt-cells = <2>;
28 interrupt-controller;
29 reg = <0 0xe61c0000 0 0x200>;
30 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
31 <0 1 IRQ_TYPE_LEVEL_HIGH>,
32 <0 2 IRQ_TYPE_LEVEL_HIGH>,
33 <0 3 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven5593ce62015-03-18 19:55:57 +010034 clocks = <&mstp4_clks R8A7790_CLK_IRQC>;
Geert Uytterhoeven41a33222014-08-28 09:59:59 +020035 };