[lantiq] move files/ -> files-3.3/
[openwrt.git] / target / linux / lantiq / files-3.3 / arch / mips / include / asm / mach-lantiq / svip / svip_irq.h
1 /*
2  *   This program is free software; you can redistribute it and/or modify
3  *   it under the terms of the GNU General Public License as published by
4  *   the Free Software Foundation; either version 2 of the License, or
5  *   (at your option) any later version.
6  *
7  *   This program is distributed in the hope that it will be useful,
8  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
9  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  *   GNU General Public License for more details.
11  *
12  *   You should have received a copy of the GNU General Public License
13  *   along with this program; if not, write to the Free Software
14  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
15  *
16  *   Copyright (C) 2010 Lantiq
17  */
18 #ifndef __SVIP_IRQ_H
19 #define __SVIP_IRQ_H
20
21 #define IM_NUM                          6
22
23 #define INT_NUM_IRQ0                    8
24 #define INT_NUM_IM0_IRL0                (INT_NUM_IRQ0 + 0)
25 #define INT_NUM_IM1_IRL0                (INT_NUM_IM0_IRL0 + 32)
26 #define INT_NUM_IM2_IRL0                (INT_NUM_IM1_IRL0 + 32)
27 #define INT_NUM_IM3_IRL0                (INT_NUM_IM2_IRL0 + 32)
28 #define INT_NUM_IM4_IRL0                (INT_NUM_IM3_IRL0 + 32)
29 #define INT_NUM_EXTRA_START             (INT_NUM_IM4_IRL0 + 32)
30 #define INT_NUM_IM_OFFSET               (INT_NUM_IM1_IRL0 - INT_NUM_IM0_IRL0)
31
32 #define INT_NUM_IM5_IRL0                (INT_NUM_IRQ0 + 160)
33 #define MIPS_CPU_TIMER_IRQ              (INT_NUM_IM5_IRL0 + 2)
34
35 #endif