2 * Copyright (C) 2001-2006 Storlink, Corp.
3 * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
11 #ifndef __MACH_IRQS_H__
12 #define __MACH_IRQS_H__
14 #define IRQ_SERIRQ1 31
15 #define IRQ_SERIRQ0 30
21 #define IRQ_GPIO(x) (22 + (x))
39 #define IRQ_WATCHDOG 3
44 #define NORMAL_IRQ_NUM 32
46 #define GPIO_IRQ_BASE NORMAL_IRQ_NUM
47 #define GPIO_IRQ_NUM (3 * 32)
49 #define ARCH_TIMER_IRQ IRQ_TIMER2
51 #define NR_IRQS (NORMAL_IRQ_NUM + GPIO_IRQ_NUM)
53 #endif /* __MACH_IRQS_H__ */