2 * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
11 #ifndef __MACH_MXS_IRQS_H__
12 #define __MACH_MXS_IRQS_H__
14 #define MXS_INTERNAL_IRQS 128
16 #define MXS_GPIO_IRQ_START MXS_INTERNAL_IRQS
18 /* the maximum for MXS-based */
19 #define MXS_GPIO_IRQS (32 * 5)
22 * The next 16 interrupts are for board specific purposes. Since
23 * the kernel can only run on one machine at a time, we can re-use
24 * these. If you need more, increase MXS_BOARD_IRQS, but keep it
25 * within sensible limits.
27 #define MXS_BOARD_IRQ_START (MXS_GPIO_IRQ_START + MXS_GPIO_IRQS)
28 #define MXS_BOARD_IRQS 16
30 #define NR_IRQS (MXS_BOARD_IRQ_START + MXS_BOARD_IRQS)
32 #endif /* __MACH_MXS_IRQS_H__ */