Merge branch 'v6v7' into devel
[linux/fpc-iii.git] / arch / arm / mach-mxs / include / mach / irqs.h
blobf771039b814a9f5a12ac4e08c983adf7cdb7d171
1 /*
2 * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
3 */
5 /*
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.
9 */
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__ */