Adding support for MOXA ART SoC. Testing port of linux-2.6.32.60-moxart.
[linux-3.6.7-moxart.git] / arch / arm / mach-moxart / include / mach / irqs.h
blob67fa36c6dca6bb19c37f217f2e95c98ca783abbc
1 #ifndef __MACH_IRQS_H__
2 #define __MACH_IRQS_H__
4 #define IRQ_UART 31
5 #define IRQ_TIMER1 19
6 #define IRQ_TIMER2 14
7 #define IRQ_TIMER3 15
9 /*
10 #define IRQ_SERIRQ1 11
11 #define IRQ_SERIRQ0 10
12 #define IRQ_PWR 26
13 #define IRQ_CIR 25
14 #define IRQ_RTC 17
15 #define IRQ_FLASH 12
16 #define IRQ_DMA 9
17 #define IRQ_WATCHDOG 3
18 #define IRQ_GMAC1 2
19 #define IRQ_GMAC0 1
20 #define IRQ_IPI 0
23 #define MOXART_NR_IRQS 32
24 #define MOXART_NR_FIQS 32
25 #define NR_IRQS (MOXART_NR_IRQS + MOXART_NR_FIQS + 16)
27 #define LEVEL 0
28 #define EDGE 1
29 #define H_ACTIVE 0
30 #define L_ACTIVE 1
32 #define IRQ_SOURCE_REG 0
33 #define IRQ_MASK_REG 0x04
34 #define IRQ_CLEAR_REG 0x08
35 #define IRQ_MODE_REG 0x0c
36 #define IRQ_LEVEL_REG 0x10
37 #define IRQ_STATUS_REG 0x14
39 #define FIQ_SOURCE_REG 0x20
40 #define FIQ_MASK_REG 0x24
41 #define FIQ_CLEAR_REG 0x28
42 #define FIQ_MODE_REG 0x2c
43 #define FIQ_LEVEL_REG 0x30
44 #define FIQ_STATUS_REG 0x34
46 #endif /* __MACH_IRQS_H__ */