Skip to content

Commit a55db88

Browse files
committed
boards: renesas: add interrupts properties for RA8x1 boards
Add interrupts properties for all enabled node on these boards: - ek_ra8m1 - ek_ra8d1 - mck_ra8t1 Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
1 parent b6652dc commit a55db88

File tree

3 files changed

+78
-7
lines changed

3 files changed

+78
-7
lines changed

boards/renesas/ek_ra8d1/ek_ra8d1.dts

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@
165165
&sci9 {
166166
pinctrl-0 = <&sci9_default>;
167167
pinctrl-names = "default";
168+
interrupts = <0 12>, <1 12>, <2 12>, <3 12>;
169+
interrupt-names = "rxi", "txi", "tei", "eri";
168170
status = "okay";
169171
uart9: uart {
170172
current-speed = <115200>;
@@ -179,6 +181,14 @@
179181
&spi1 {
180182
pinctrl-0 = <&spi1_default>;
181183
pinctrl-names = "default";
184+
interrupts = <4 12>, <5 12>, <6 12>, <7 12>;
185+
interrupt-names = "rxi", "txi", "tei", "eri";
186+
status = "okay";
187+
};
188+
189+
&flash {
190+
interrupts = <8 12>, <9 12>;
191+
interrupt-names = "frdyi", "fiferr";
182192
status = "okay";
183193
};
184194

@@ -197,17 +207,21 @@
197207

198208
&pwm7 {
199209
pinctrl-0 = <&pwm7_default>;
200-
interrupts = <40 1>, <41 1>;
210+
interrupts = <10 12>, <11 12>;
201211
interrupt-names = "gtioca", "overflow";
202212
pinctrl-names = "default";
203213
status = "okay";
204214
};
205215

206216
&canfd_global {
217+
interrupts = <12 12>, <13 12>;
218+
interrupt-names = "rxf", "glerr";
207219
status = "okay";
208220
canfd0 {
209221
pinctrl-0 = <&canfd0_default>;
210222
pinctrl-names = "default";
223+
interrupts = <14 12>, <15 12>, <16 12>;
224+
interrupt-names = "err", "tx", "rx";
211225
rx-max-filters = <16>;
212226
status = "okay";
213227
};
@@ -219,9 +233,12 @@
219233
clock-frequency = <DT_FREQ_M(1)>;
220234
pinctrl-0 = <&iic1_default>;
221235
pinctrl-names = "default";
236+
interrupts = <17 12>, <18 12>, <19 12>, <20 12>;
237+
interrupt-names = "rxi", "txi", "tei", "eri";
222238
};
223239

224240
&eth {
241+
interrupts = <21 0>;
225242
local-mac-address = [74 90 50 B0 5D E9];
226243
status = "okay";
227244
phy-handle = <&phy>;
@@ -242,6 +259,8 @@
242259
&usbhs {
243260
pinctrl-0 = <&usbhs_default>;
244261
pinctrl-names = "default";
262+
interrupts = <22 12>;
263+
interrupt-names = "usbhs-ir";
245264
maximum-speed = "high-speed";
246265
status = "okay";
247266
zephyr_udc0: udc {
@@ -257,6 +276,8 @@
257276
status = "okay";
258277
pinctrl-0 = <&adc0_default>;
259278
pinctrl-names = "default";
279+
interrupts = <23 12>;
280+
interrupt-names = "scanend";
260281
};
261282

262283
&dac0 {
@@ -266,12 +287,12 @@
266287
};
267288

268289
&port_irq12 {
269-
interrupts = <88 12>;
290+
interrupts = <24 12>;
270291
status = "okay";
271292
};
272293

273294
&port_irq13 {
274-
interrupts = <89 12>;
295+
interrupts = <25 12>;
275296
status = "okay";
276297
};
277298

boards/renesas/ek_ra8m1/ek_ra8m1.dts

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@
213213
&sci0 {
214214
pinctrl-0 = <&sci0_default>;
215215
pinctrl-names = "default";
216+
interrupts = <0 12>, <1 12>, <2 12>, <3 12>;
217+
interrupt-names = "rxi", "txi", "tei", "eri";
216218
status = "okay";
217219
uart0: uart {
218220
current-speed = <115200>;
@@ -223,6 +225,8 @@
223225
&sci2 {
224226
pinctrl-0 = <&sci2_default>;
225227
pinctrl-names = "default";
228+
interrupts = <4 12>, <5 12>, <6 12>, <7 12>;
229+
interrupt-names = "rxi", "txi", "tei", "eri";
226230
status = "okay";
227231
uart2: uart {
228232
current-speed = <115200>;
@@ -233,6 +237,8 @@
233237
&sci3 {
234238
pinctrl-0 = <&sci3_default>;
235239
pinctrl-names = "default";
240+
interrupts = <8 12>, <9 12>, <10 12>, <11 12>;
241+
interrupt-names = "rxi", "txi", "tei", "eri";
236242
status = "okay";
237243
uart3: uart {
238244
current-speed = <115200>;
@@ -243,6 +249,8 @@
243249
&sci9 {
244250
pinctrl-0 = <&sci9_default>;
245251
pinctrl-names = "default";
252+
interrupts = <12 12>, <13 12>, <14 12>, <15 12>;
253+
interrupt-names = "rxi", "txi", "tei", "eri";
246254
status = "okay";
247255
uart9: uart {
248256
current-speed = <115200>;
@@ -258,12 +266,16 @@ mikrobus_serial: &uart3 {};
258266
clock-frequency = <DT_FREQ_M(1)>;
259267
pinctrl-0 = <&iic1_default>;
260268
pinctrl-names = "default";
269+
interrupts = <16 12>, <17 12>, <18 1>, <19 12>;
270+
interrupt-names = "rxi", "txi", "tei", "eri";
261271
};
262272

263273
&adc0 {
264274
status = "okay";
265275
pinctrl-0 = <&adc0_default>;
266276
pinctrl-names = "default";
277+
interrupts = <20 12>;
278+
interrupt-names = "scanend";
267279
average-count = <4>;
268280
};
269281

@@ -280,17 +292,25 @@ mikrobus_serial: &uart3 {};
280292
&spi1 {
281293
pinctrl-0 = <&spi1_default>;
282294
pinctrl-names = "default";
295+
interrupts = <21 12>, <22 12>, <23 12>, <24 12>;
296+
interrupt-names = "rxi", "txi", "tei", "eri";
283297
status = "okay";
284298
};
285299

286300
&pwm7 {
287301
pinctrl-0 = <&pwm7_default>;
288-
interrupts = <40 1>, <41 1>;
302+
interrupts = <25 12>, <26 12>;
289303
interrupt-names = "gtioca", "overflow";
290304
pinctrl-names = "default";
291305
status = "okay";
292306
};
293307

308+
&flash {
309+
interrupts = <27 1>, <28 1>;
310+
interrupt-names = "frdyi", "fiferr";
311+
status = "okay";
312+
};
313+
294314
&flash1 {
295315
partitions {
296316
compatible = "fixed-partitions";
@@ -305,10 +325,14 @@ mikrobus_serial: &uart3 {};
305325
};
306326

307327
&canfd_global {
328+
interrupts = <29 1>, <30 1>;
329+
interrupt-names = "rxf", "glerr";
308330
status = "okay";
309331
canfd0 {
310332
pinctrl-0 = <&canfd0_default>;
311333
pinctrl-names = "default";
334+
interrupts = <31 12>, <32 12>, <33 12>;
335+
interrupt-names = "err", "tx", "rx";
312336
phys = <&transceiver0>;
313337
rx-max-filters = <16>;
314338
status = "okay";
@@ -322,6 +346,7 @@ pmod_serial: &pmod1_serial {};
322346
pmod_header: &pmod1_header {};
323347

324348
&eth {
349+
interrupts = <34 0>;
325350
local-mac-address = [74 90 50 B0 6D 5A];
326351
status = "okay";
327352
phy-handle = <&phy>;
@@ -342,6 +367,8 @@ pmod_header: &pmod1_header {};
342367
&usbhs {
343368
pinctrl-0 = <&usbhs_default>;
344369
pinctrl-names = "default";
370+
interrupts = <35 12>;
371+
interrupt-names = "usbhs-ir";
345372
maximum-speed = "high-speed";
346373
status = "okay";
347374
zephyr_udc0: udc {
@@ -354,12 +381,12 @@ pmod_header: &pmod1_header {};
354381
};
355382

356383
&port_irq12 {
357-
interrupts = <88 12>;
384+
interrupts = <36 12>;
358385
status = "okay";
359386
};
360387

361388
&port_irq13 {
362-
interrupts = <89 12>;
389+
interrupts = <37 12>;
363390
status = "okay";
364391
};
365392

boards/renesas/mck_ra8t1/mck_ra8t1.dts

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@
112112
&sci3 {
113113
pinctrl-0 = <&sci3_default>;
114114
pinctrl-names = "default";
115+
interrupts = <0 12>, <1 12>, <2 12>, <3 12>;
116+
interrupt-names = "rxi", "txi", "tei", "eri";
115117
status = "okay";
116118
uart3: uart {
117119
current-speed = <115200>;
@@ -126,6 +128,14 @@
126128
&spi0 {
127129
pinctrl-0 = <&spi0_default>;
128130
pinctrl-names = "default";
131+
interrupts = <4 12>, <5 12>, <6 12>, <7 12>;
132+
interrupt-names = "rxi", "txi", "tei", "eri";
133+
status = "okay";
134+
};
135+
136+
&flash {
137+
interrupts = <8 1>, <9 1>;
138+
interrupt-names = "frdyi", "fiferr";
129139
status = "okay";
130140
};
131141

@@ -144,17 +154,21 @@
144154

145155
&pwm2 {
146156
pinctrl-0 = <&pwm2_default>;
147-
interrupts = <40 1>, <41 1>;
157+
interrupts = <10 12>, <11 12>;
148158
interrupt-names = "gtioca", "overflow";
149159
pinctrl-names = "default";
150160
status = "okay";
151161
};
152162

153163
&canfd_global {
164+
interrupts = <12 12>, <13 12>;
165+
interrupt-names = "rxf", "glerr";
154166
status = "okay";
155167
canfd1 {
156168
pinctrl-0 = <&canfd1_default>;
157169
pinctrl-names = "default";
170+
interrupts = <14 12>, <15 12>, <16 12>;
171+
interrupt-names = "err", "tx", "rx";
158172
rx-max-filters = <16>;
159173
status = "okay";
160174
};
@@ -166,9 +180,12 @@
166180
clock-frequency = <DT_FREQ_M(1)>;
167181
pinctrl-0 = <&iic1_default>;
168182
pinctrl-names = "default";
183+
interrupts = <17 12>, <18 12>, <19 12>, <20 12>;
184+
interrupt-names = "rxi", "txi", "tei", "eri";
169185
};
170186

171187
&eth {
188+
interrupts = <21 0>;
172189
local-mac-address = [74 90 50 6D 81 75];
173190
status = "okay";
174191
phy-handle = <&phy>;
@@ -190,6 +207,8 @@
190207
status = "okay";
191208
pinctrl-0 = <&adc0_default>;
192209
pinctrl-names = "default";
210+
interrupts = <22 12>;
211+
interrupt-names = "scanend";
193212
average-count = <4>;
194213
};
195214

@@ -202,6 +221,8 @@
202221
&sdhc0 {
203222
compatible = "renesas,ra-sdhc";
204223
pinctrl-0 = <&sdhc0_default>;
224+
interrupt-names = "accs", "card", "dma-req";
225+
interrupts = <23 12>, <24 12>, <25 12>;
205226
enable-gpios = <&ioport3 11 GPIO_ACTIVE_HIGH>;
206227
pinctrl-names = "default";
207228
status = "okay";
@@ -215,6 +236,8 @@
215236
&usbfs {
216237
pinctrl-0 = <&usbfs_default>;
217238
pinctrl-names = "default";
239+
interrupts = <26 12>, <27 12>;
240+
interrupt-names = "usbfs-i", "usbfs-r";
218241
maximum-speed = "full-speed";
219242
status = "okay";
220243
zephyr_udc0: udc {

0 commit comments

Comments
 (0)