xref: /linux/include/dt-bindings/interrupt-controller/irqc-rzg2l.h (revision 8a922b7728a93d837954315c98b84f6b78de0c4f)
1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /*
3  * This header provides constants for Renesas RZ/G2L family IRQC bindings.
4  *
5  * Copyright (C) 2022 Renesas Electronics Corp.
6  *
7  */
8 
9 #ifndef __DT_BINDINGS_IRQC_RZG2L_H
10 #define __DT_BINDINGS_IRQC_RZG2L_H
11 
12 /* NMI maps to SPI0 */
13 #define RZG2L_NMI	0
14 
15 /* IRQ0-7 map to SPI1-8 */
16 #define RZG2L_IRQ0	1
17 #define RZG2L_IRQ1	2
18 #define RZG2L_IRQ2	3
19 #define RZG2L_IRQ3	4
20 #define RZG2L_IRQ4	5
21 #define RZG2L_IRQ5	6
22 #define RZG2L_IRQ6	7
23 #define RZG2L_IRQ7	8
24 
25 #endif /* __DT_BINDINGS_IRQC_RZG2L_H */
26