First Support on Ginger and OMAP TI
[linux-ginger.git] / arch / arm / mach-l7200 / include / mach / irqs.h
blob7edffd713c5bc11c1b0dc7a088d861fa9d9c2f4d
1 /*
2 * arch/arm/mach-l7200/include/mach/irqs.h
4 * Copyright (C) 2000 Rob Scott (rscott@mtrob.fdns.net)
5 * Steve Hill (sjhill@cotw.com)
7 * Changelog:
8 * 01-02-2000 RS Create l7200 version
9 * 03-28-2000 SJH Removed unused interrupt
10 * 07-28-2000 SJH Added pseudo-keyboard interrupt
14 * NOTE: The second timer (Timer 2) is used as the keyboard
15 * interrupt when the keyboard driver is enabled.
18 #define NR_IRQS 32
20 #define IRQ_STWDOG 0 /* Watchdog timer */
21 #define IRQ_PROG 1 /* Programmable interrupt */
22 #define IRQ_DEBUG_RX 2 /* Comm Rx debug */
23 #define IRQ_DEBUG_TX 3 /* Comm Tx debug */
24 #define IRQ_GCTC1 4 /* Timer 1 */
25 #define IRQ_GCTC2 5 /* Timer 2 / Keyboard */
26 #define IRQ_DMA 6 /* DMA controller */
27 #define IRQ_CLCD 7 /* Color LCD controller */
28 #define IRQ_SM_RX 8 /* Smart card */
29 #define IRQ_SM_TX 9 /* Smart cart */
30 #define IRQ_SM_RST 10 /* Smart card */
31 #define IRQ_SIB 11 /* Serial Interface Bus */
32 #define IRQ_MMC 12 /* MultiMediaCard */
33 #define IRQ_SSP1 13 /* Synchronous Serial Port 1 */
34 #define IRQ_SSP2 14 /* Synchronous Serial Port 1 */
35 #define IRQ_SPI 15 /* SPI slave */
36 #define IRQ_UART_1 16 /* UART 1 */
37 #define IRQ_UART_2 17 /* UART 2 */
38 #define IRQ_IRDA 18 /* IRDA */
39 #define IRQ_RTC_TICK 19 /* Real Time Clock tick */
40 #define IRQ_RTC_ALARM 20 /* Real Time Clock alarm */
41 #define IRQ_GPIO 21 /* General Purpose IO */
42 #define IRQ_GPIO_DMA 22 /* General Purpose IO, DMA */
43 #define IRQ_M2M 23 /* Memory to memory DMA */
44 #define IRQ_RESERVED 24 /* RESERVED, don't use */
45 #define IRQ_INTF 25 /* External active low interrupt */
46 #define IRQ_INT0 26 /* External active low interrupt */
47 #define IRQ_INT1 27 /* External active low interrupt */
48 #define IRQ_INT2 28 /* External active low interrupt */
49 #define IRQ_UCB1200 29 /* Interrupt generated by UCB1200*/
50 #define IRQ_BAT_LO 30 /* Low batery or external power */
51 #define IRQ_MEDIA_CHG 31 /* Media change interrupt */
54 * This is the offset of the FIQ "IRQ" numbers
56 #define FIQ_START 64