Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1DT 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:
7 - "renesas,irqc-r8a73a4" (R-Mobile APE6)
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- #interrupt-cells: has to be <2>: an interrupt index and flags, as defined in
14 interrupts.txt in this directory
15- clocks: Must contain a reference to the functional clock.
16
17Optional properties:
18
19- any properties, listed in interrupts.txt, and any standard resource allocation
20 properties
21
22Example:
23
24 irqc0: interrupt-controller@e61c0000 {
25 compatible = "renesas,irqc-r8a7790", "renesas,irqc";
26 #interrupt-cells = <2>;
27 interrupt-controller;
28 reg = <0 0xe61c0000 0 0x200>;
29 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
30 <0 1 IRQ_TYPE_LEVEL_HIGH>,
31 <0 2 IRQ_TYPE_LEVEL_HIGH>,
32 <0 3 IRQ_TYPE_LEVEL_HIGH>;
33 clocks = <&mstp4_clks R8A7790_CLK_IRQC>;
34 };