Eric Miao | 49cbe78 | 2009-01-20 14:15:18 +0800 | [diff] [blame^] | 1 | #ifndef __ASM_MACH_IRQS_H |
| 2 | #define __ASM_MACH_IRQS_H |
| 3 | |
| 4 | /* |
| 5 | * Interrupt numbers for PXA168 |
| 6 | */ |
| 7 | #define IRQ_PXA168_NONE (-1) |
| 8 | #define IRQ_PXA168_SSP3 0 |
| 9 | #define IRQ_PXA168_SSP2 1 |
| 10 | #define IRQ_PXA168_SSP1 2 |
| 11 | #define IRQ_PXA168_SSP0 3 |
| 12 | #define IRQ_PXA168_PMIC_INT 4 |
| 13 | #define IRQ_PXA168_RTC_INT 5 |
| 14 | #define IRQ_PXA168_RTC_ALARM 6 |
| 15 | #define IRQ_PXA168_TWSI0 7 |
| 16 | #define IRQ_PXA168_GPU 8 |
| 17 | #define IRQ_PXA168_KEYPAD 9 |
| 18 | #define IRQ_PXA168_ONEWIRE 12 |
| 19 | #define IRQ_PXA168_TIMER1 13 |
| 20 | #define IRQ_PXA168_TIMER2 14 |
| 21 | #define IRQ_PXA168_TIMER3 15 |
| 22 | #define IRQ_PXA168_CMU 16 |
| 23 | #define IRQ_PXA168_SSP4 17 |
| 24 | #define IRQ_PXA168_MSP_WAKEUP 19 |
| 25 | #define IRQ_PXA168_CF_WAKEUP 20 |
| 26 | #define IRQ_PXA168_XD_WAKEUP 21 |
| 27 | #define IRQ_PXA168_MFU 22 |
| 28 | #define IRQ_PXA168_MSP 23 |
| 29 | #define IRQ_PXA168_CF 24 |
| 30 | #define IRQ_PXA168_XD 25 |
| 31 | #define IRQ_PXA168_DDR_INT 26 |
| 32 | #define IRQ_PXA168_UART1 27 |
| 33 | #define IRQ_PXA168_UART2 28 |
| 34 | #define IRQ_PXA168_WDT 35 |
| 35 | #define IRQ_PXA168_FRQ_CHANGE 38 |
| 36 | #define IRQ_PXA168_SDH1 39 |
| 37 | #define IRQ_PXA168_SDH2 40 |
| 38 | #define IRQ_PXA168_LCD 41 |
| 39 | #define IRQ_PXA168_CI 42 |
| 40 | #define IRQ_PXA168_USB1 44 |
| 41 | #define IRQ_PXA168_NAND 45 |
| 42 | #define IRQ_PXA168_HIFI_DMA 46 |
| 43 | #define IRQ_PXA168_DMA_INT0 47 |
| 44 | #define IRQ_PXA168_DMA_INT1 48 |
| 45 | #define IRQ_PXA168_GPIOX 49 |
| 46 | #define IRQ_PXA168_USB2 51 |
| 47 | #define IRQ_PXA168_AC97 57 |
| 48 | #define IRQ_PXA168_TWSI1 58 |
| 49 | #define IRQ_PXA168_PMU 60 |
| 50 | #define IRQ_PXA168_SM_INT 63 |
| 51 | |
| 52 | #define IRQ_GPIO_START 64 |
| 53 | #define IRQ_GPIO_NUM 128 |
| 54 | #define IRQ_GPIO(x) (IRQ_GPIO_START + (x)) |
| 55 | |
| 56 | #define NR_IRQS (IRQ_GPIO_START + IRQ_GPIO_NUM) |
| 57 | |
| 58 | #endif /* __ASM_MACH_IRQS_H */ |