1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/interrupt-controller/renesas,rzg2l-irqc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas RZ/G2L (and alike SoC's) Interrupt Controller (IA55)
10 - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
11 - Geert Uytterhoeven <geert+renesas@glider.be>
14 IA55 performs various interrupt controls including synchronization for the external
15 interrupts of NMI, IRQ, and GPIOINT and the interrupts of the built-in peripheral
16 interrupts output by each IP. And it notifies the interrupt to the GIC
17 - IRQ sense select for 8 external interrupts, mapped to 8 GIC SPI interrupts
18 - GPIO pins used as external interrupt input pins, mapped to 32 GIC SPI interrupts
19 - NMI edge select (NMI is not treated as NMI exception and supports fall edge and
20 stand-up edge detection interrupts)
26 - renesas,r9a07g043u-irqc # RZ/G2UL
27 - renesas,r9a07g044-irqc # RZ/G2{L,LC}
28 - renesas,r9a07g054-irqc # RZ/V2L
29 - const: renesas,rzg2l-irqc
32 description: The first cell should contain a macro RZG2L_{NMI,IRQX} included in the
33 include/dt-bindings/interrupt-controller/irqc-rzg2l.h and the second
34 cell is used to specify the flag.
40 interrupt-controller: true
48 - description: NMI interrupt
49 - description: IRQ0 interrupt
50 - description: IRQ1 interrupt
51 - description: IRQ2 interrupt
52 - description: IRQ3 interrupt
53 - description: IRQ4 interrupt
54 - description: IRQ5 interrupt
55 - description: IRQ6 interrupt
56 - description: IRQ7 interrupt
57 - description: GPIO interrupt, TINT0
58 - description: GPIO interrupt, TINT1
59 - description: GPIO interrupt, TINT2
60 - description: GPIO interrupt, TINT3
61 - description: GPIO interrupt, TINT4
62 - description: GPIO interrupt, TINT5
63 - description: GPIO interrupt, TINT6
64 - description: GPIO interrupt, TINT7
65 - description: GPIO interrupt, TINT8
66 - description: GPIO interrupt, TINT9
67 - description: GPIO interrupt, TINT10
68 - description: GPIO interrupt, TINT11
69 - description: GPIO interrupt, TINT12
70 - description: GPIO interrupt, TINT13
71 - description: GPIO interrupt, TINT14
72 - description: GPIO interrupt, TINT15
73 - description: GPIO interrupt, TINT16
74 - description: GPIO interrupt, TINT17
75 - description: GPIO interrupt, TINT18
76 - description: GPIO interrupt, TINT19
77 - description: GPIO interrupt, TINT20
78 - description: GPIO interrupt, TINT21
79 - description: GPIO interrupt, TINT22
80 - description: GPIO interrupt, TINT23
81 - description: GPIO interrupt, TINT24
82 - description: GPIO interrupt, TINT25
83 - description: GPIO interrupt, TINT26
84 - description: GPIO interrupt, TINT27
85 - description: GPIO interrupt, TINT28
86 - description: GPIO interrupt, TINT29
87 - description: GPIO interrupt, TINT30
88 - description: GPIO interrupt, TINT31
89 - description: Bus error interrupt
155 - interrupt-controller
164 - $ref: /schemas/interrupt-controller.yaml#
170 const: renesas,r9a07g043u-irqc
180 unevaluatedProperties: false
184 #include <dt-bindings/interrupt-controller/arm-gic.h>
185 #include <dt-bindings/clock/r9a07g044-cpg.h>
187 irqc: interrupt-controller@110a0000 {
188 compatible = "renesas,r9a07g044-irqc", "renesas,rzg2l-irqc";
189 reg = <0x110a0000 0x10000>;
190 #interrupt-cells = <2>;
191 #address-cells = <0>;
192 interrupt-controller;
193 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
194 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
195 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
196 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
197 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
198 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
199 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
200 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
201 <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
202 <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>,
203 <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>,
204 <GIC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_LEVEL_HIGH>,
233 <GIC_SPI 475 IRQ_TYPE_LEVEL_HIGH>;
234 interrupt-names = "nmi",
235 "irq0", "irq1", "irq2", "irq3",
236 "irq4", "irq5", "irq6", "irq7",
237 "tint0", "tint1", "tint2", "tint3",
238 "tint4", "tint5", "tint6", "tint7",
239 "tint8", "tint9", "tint10", "tint11",
240 "tint12", "tint13", "tint14", "tint15",
241 "tint16", "tint17", "tint18", "tint19",
242 "tint20", "tint21", "tint22", "tint23",
243 "tint24", "tint25", "tint26", "tint27",
244 "tint28", "tint29", "tint30", "tint31";
245 clocks = <&cpg CPG_MOD R9A07G044_IA55_CLK>,
246 <&cpg CPG_MOD R9A07G044_IA55_PCLK>;
247 clock-names = "clk", "pclk";
248 power-domains = <&cpg>;
249 resets = <&cpg R9A07G044_IA55_RESETN>;