Debian Codegraph @

Documentation/devicetree/bindings/interrupt-controller/renesas,rzv2h-icu.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/renesas,rzv2h-icu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Renesas RZ/{G3E,V2H(P)} Interrupt Control Unit
8
9 maintainers:
10 - Fabrizio Castro <[email protected]>
11 - Geert Uytterhoeven <[email protected]>
12
13 allOf:
14 - $ref: /schemas/interrupt-controller.yaml#
15
16 description:
17 The Interrupt Control Unit (ICU) handles external interrupts (NMI, IRQ, and
18 TINT), error interrupts, DMAC requests, GPT interrupts, and internal
19 interrupts.
20
21 properties:
22 compatible:
23 enum:
24 - renesas,r9a09g047-icu # RZ/G3E
25 - renesas,r9a09g056-icu # RZ/V2N
26 - renesas,r9a09g057-icu # RZ/V2H(P)
27
28 '#interrupt-cells':
29 description: The first cell is the SPI number of the NMI or the
30 PORT_IRQ[0-15] interrupt, as per user manual. The second cell is used to
31 specify the flag.
32 const: 2
33
34 '#address-cells':
35 const: 0
36
37 interrupt-controller: true
38
39 reg:
40 maxItems: 1
41
42 interrupts:
43 minItems: 58
44 items:
45 - description: NMI interrupt
46 - description: PORT_IRQ0 interrupt
47 - description: PORT_IRQ1 interrupt
48 - description: PORT_IRQ2 interrupt
49 - description: PORT_IRQ3 interrupt
50 - description: PORT_IRQ4 interrupt
51 - description: PORT_IRQ5 interrupt
52 - description: PORT_IRQ6 interrupt
53 - description: PORT_IRQ7 interrupt
54 - description: PORT_IRQ8 interrupt
55 - description: PORT_IRQ9 interrupt
56 - description: PORT_IRQ10 interrupt
57 - description: PORT_IRQ11 interrupt
58 - description: PORT_IRQ12 interrupt
59 - description: PORT_IRQ13 interrupt
60 - description: PORT_IRQ14 interrupt
61 - description: PORT_IRQ15 interrupt
62 - description: GPIO interrupt, TINT0
63 - description: GPIO interrupt, TINT1
64 - description: GPIO interrupt, TINT2
65 - description: GPIO interrupt, TINT3
66 - description: GPIO interrupt, TINT4
67 - description: GPIO interrupt, TINT5
68 - description: GPIO interrupt, TINT6
69 - description: GPIO interrupt, TINT7
70 - description: GPIO interrupt, TINT8
71 - description: GPIO interrupt, TINT9
72 - description: GPIO interrupt, TINT10
73 - description: GPIO interrupt, TINT11
74 - description: GPIO interrupt, TINT12
75 - description: GPIO interrupt, TINT13
76 - description: GPIO interrupt, TINT14
77 - description: GPIO interrupt, TINT15
78 - description: GPIO interrupt, TINT16
79 - description: GPIO interrupt, TINT17
80 - description: GPIO interrupt, TINT18
81 - description: GPIO interrupt, TINT19
82 - description: GPIO interrupt, TINT20
83 - description: GPIO interrupt, TINT21
84 - description: GPIO interrupt, TINT22
85 - description: GPIO interrupt, TINT23
86 - description: GPIO interrupt, TINT24
87 - description: GPIO interrupt, TINT25
88 - description: GPIO interrupt, TINT26
89 - description: GPIO interrupt, TINT27
90 - description: GPIO interrupt, TINT28
91 - description: GPIO interrupt, TINT29
92 - description: GPIO interrupt, TINT30
93 - description: GPIO interrupt, TINT31
94 - description: Software interrupt, INTA55_0
95 - description: Software interrupt, INTA55_1
96 - description: Software interrupt, INTA55_2
97 - description: Software interrupt, INTA55_3
98 - description: Error interrupt to CA55
99 - description: GTCCRA compare match/input capture (U0)
100 - description: GTCCRB compare match/input capture (U0)
101 - description: GTCCRA compare match/input capture (U1)
102 - description: GTCCRB compare match/input capture (U1)
103
104 interrupt-names:
105 minItems: 58
106 items:
107 - const: nmi
108 - const: port_irq0
109 - const: port_irq1
110 - const: port_irq2
111 - const: port_irq3
112 - const: port_irq4
113 - const: port_irq5
114 - const: port_irq6
115 - const: port_irq7
116 - const: port_irq8
117 - const: port_irq9
118 - const: port_irq10
119 - const: port_irq11
120 - const: port_irq12
121 - const: port_irq13
122 - const: port_irq14
123 - const: port_irq15
124 - const: tint0
125 - const: tint1
126 - const: tint2
127 - const: tint3
128 - const: tint4
129 - const: tint5
130 - const: tint6
131 - const: tint7
132 - const: tint8
133 - const: tint9
134 - const: tint10
135 - const: tint11
136 - const: tint12
137 - const: tint13
138 - const: tint14
139 - const: tint15
140 - const: tint16
141 - const: tint17
142 - const: tint18
143 - const: tint19
144 - const: tint20
145 - const: tint21
146 - const: tint22
147 - const: tint23
148 - const: tint24
149 - const: tint25
150 - const: tint26
151 - const: tint27
152 - const: tint28
153 - const: tint29
154 - const: tint30
155 - const: tint31
156 - const: int-ca55-0
157 - const: int-ca55-1
158 - const: int-ca55-2
159 - const: int-ca55-3
160 - const: icu-error-ca55
161 - const: gpt-u0-gtciada
162 - const: gpt-u0-gtciadb
163 - const: gpt-u1-gtciada
164 - const: gpt-u1-gtciadb
165
166 clocks:
167 maxItems: 1
168
169 power-domains:
170 maxItems: 1
171
172 resets:
173 maxItems: 1
174
175 required:
176 - compatible
177 - reg
178 - '#interrupt-cells'
179 - '#address-cells'
180 - interrupt-controller
181 - interrupts
182 - interrupt-names
183 - clocks
184 - power-domains
185 - resets
186
187 unevaluatedProperties: false
188
189 examples:
190 - |
191 #include <dt-bindings/interrupt-controller/arm-gic.h>
192 #include <dt-bindings/clock/renesas-cpg-mssr.h>
193
194 icu: interrupt-controller@10400000 {
195 compatible = "renesas,r9a09g057-icu";
196 reg = <0x10400000 0x10000>;
197 #interrupt-cells = <2>;
198 #address-cells = <0>;
199 interrupt-controller;
200 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
201 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
202 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
203 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
204 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
205 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
206 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
207 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
208 <GIC_SPI 8 IRQ_TYPE_LEVEL_HI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439 IRQ_TYPE_LEVEL_HIGH>,
238 <GIC_SPI 440 IRQ_TYPE_LEVEL_HIGH>,
239 <GIC_SPI 441 IRQ_TYPE_LEVEL_HIGH>,
240 <GIC_SPI 442 IRQ_TYPE_LEVEL_HIGH>,
241 <GIC_SPI 443 IRQ_TYPE_LEVEL_HIGH>,
242 <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>,
243 <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>,
244 <GIC_SPI 446 IRQ_TYPE_LEVEL_HIGH>,
245 <GIC_SPI 447 IRQ_TYPE_LEVEL_HIGH>,
246 <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
247 <GIC_SPI 449 IRQ_TYPE_LEVEL_HIGH>,
248 <GIC_SPI 450 IRQ_TYPE_LEVEL_HIGH>,
249 <GIC_SPI 262 IRQ_TYPE_EDGE_RISING>,
250 <GIC_SPI 263 IRQ_TYPE_EDGE_RISING>,
251 <GIC_SPI 264 IRQ_TYPE_EDGE_RISING>,
252 <GIC_SPI 265 IRQ_TYPE_EDGE_RISING>,
253 <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
254 <GIC_SPI 451 IRQ_TYPE_LEVEL_HIGH>,
255 <GIC_SPI 452 IRQ_TYPE_LEVEL_HIGH>,
256 <GIC_SPI 453 IRQ_TYPE_LEVEL_HIGH>,
257 <GIC_SPI 454 IRQ_TYPE_LEVEL_HIGH>;
258 interrupt-names = "nmi",
259 "port_irq0", "port_irq1", "port_irq2",
260 "port_irq3", "port_irq4", "port_irq5",
261 "port_irq6", "port_irq7", "port_irq8",
262 "port_irq9", "port_irq10", "port_irq11",
263 "port_irq12", "port_irq13", "port_irq14",
264 "port_irq15",
265 "tint0", "tint1", "tint2", "tint3",
266 "tint4", "tint5", "tint6", "tint7",
267 "tint8", "tint9", "tint10", "tint11",
268 "tint12", "tint13", "tint14", "tint15",
269 "tint16", "tint17", "tint18", "tint19",
270 "tint20", "tint21", "tint22", "tint23",
271 "tint24", "tint25", "tint26", "tint27",
272 "tint28", "tint29", "tint30", "tint31",
273 "int-ca55-0", "int-ca55-1",
274 "int-ca55-2", "int-ca55-3",
275 "icu-error-ca55",
276 "gpt-u0-gtciada", "gpt-u0-gtciadb",
277 "gpt-u1-gtciada", "gpt-u1-gtciadb";
278 clocks = <&cpg CPG_MOD 0x5>;
279 power-domains = <&cpg>;
280 resets = <&cpg 0x36>;
281 };