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