Path: blob/master/arch/arm/mach-mxs/include/mach/irqs.h
10820 views
/*1* Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.2*/34/*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License version 2 as7* published by the Free Software Foundation.8*/910#ifndef __MACH_MXS_IRQS_H__11#define __MACH_MXS_IRQS_H__1213#define MXS_INTERNAL_IRQS 1281415#define MXS_GPIO_IRQ_START MXS_INTERNAL_IRQS1617/* the maximum for MXS-based */18#define MXS_GPIO_IRQS (32 * 5)1920/*21* The next 16 interrupts are for board specific purposes. Since22* the kernel can only run on one machine at a time, we can re-use23* these. If you need more, increase MXS_BOARD_IRQS, but keep it24* within sensible limits.25*/26#define MXS_BOARD_IRQ_START (MXS_GPIO_IRQ_START + MXS_GPIO_IRQS)27#define MXS_BOARD_IRQS 162829#define NR_IRQS (MXS_BOARD_IRQ_START + MXS_BOARD_IRQS)3031#endif /* __MACH_MXS_IRQS_H__ */323334