1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  *
4  *  Copyright (C) 2010 Thomas Langer <thomas.langer@lantiq.com>
5  */
6 
7 #ifndef _FALCON_IRQ__
8 #define _FALCON_IRQ__
9 
10 #define INT_NUM_IRQ0			8
11 #define INT_NUM_IM0_IRL0		(INT_NUM_IRQ0 + 0)
12 #define INT_NUM_IM1_IRL0		(INT_NUM_IM0_IRL0 + 32)
13 #define INT_NUM_IM2_IRL0		(INT_NUM_IM1_IRL0 + 32)
14 #define INT_NUM_IM3_IRL0		(INT_NUM_IM2_IRL0 + 32)
15 #define INT_NUM_IM4_IRL0		(INT_NUM_IM3_IRL0 + 32)
16 #define INT_NUM_EXTRA_START		(INT_NUM_IM4_IRL0 + 32)
17 #define INT_NUM_IM_OFFSET		(INT_NUM_IM1_IRL0 - INT_NUM_IM0_IRL0)
18 
19 #define MAX_IM			5
20 
21 #endif /* _FALCON_IRQ__ */
22