5 * H2200 interrupt definitions
7 * - Initial version based on h5400-ints.h by Joris Gorinsek - beton@ulyssis.org
10 #if defined(CONFIG_ARCH_H2200)
12 #define H2200_HAMCOP_IRQ_COUNT 26
13 #define H2200_HAMCOP_IRQ_START IRQ_BOARD_START
15 #define IRQ_H2200_ASIC_BUTTON_RST (H2200_HAMCOP_IRQ_START + 0)
16 #define IRQ_H2200_ASIC_BUTTON_1 (H2200_HAMCOP_IRQ_START + 1)
17 #define IRQ_H2200_ASIC_BUTTON_2 (H2200_HAMCOP_IRQ_START + 2)
18 #define IRQ_H2200_ASIC_BUTTON_3 (H2200_HAMCOP_IRQ_START + 3)
19 #define IRQ_H2200_ASIC_BUTTON_4 (H2200_HAMCOP_IRQ_START + 4)
20 #define IRQ_H2200_GPA5 (H2200_HAMCOP_IRQ_START + 5)
21 #define IRQ_H2200_GPA6 (H2200_HAMCOP_IRQ_START + 6)
22 #define IRQ_H2200_BATT_FLT (H2200_HAMCOP_IRQ_START + 7)
23 #define IRQ_H2200_GPB0 (H2200_HAMCOP_IRQ_START + 8)
24 #define IRQ_H2200_GPB1 (H2200_HAMCOP_IRQ_START + 9)
25 #define IRQ_H2200_GPB2 (H2200_HAMCOP_IRQ_START + 10)
26 #define IRQ_H2200_GPB3 (H2200_HAMCOP_IRQ_START + 11)
27 #define IRQ_H2200_GPB4 (H2200_HAMCOP_IRQ_START + 12)
28 #define IRQ_H2200_GPB5 (H2200_HAMCOP_IRQ_START + 13)
29 #define IRQ_H2200_GPB6 (H2200_HAMCOP_IRQ_START + 14)
30 #define IRQ_H2200_EAR_IN (H2200_HAMCOP_IRQ_START + 15)
31 #define IRQ_H2200_DMA0 (H2200_HAMCOP_IRQ_START + 16)
32 #define IRQ_H2200_TICK (H2200_HAMCOP_IRQ_START + 17)
33 #define IRQ_H2200_ALARM (H2200_HAMCOP_IRQ_START + 18)
34 #define IRQ_H2200_ONEWIRE (H2200_HAMCOP_IRQ_START + 19)
35 #define IRQ_H2200_SDHC (H2200_HAMCOP_IRQ_START + 20)
36 #define IRQ_H2200_ADCTS (H2200_HAMCOP_IRQ_START + 21)
37 #define IRQ_H2200_ADC (H2200_HAMCOP_IRQ_START + 22)
38 #define IRQ_H2200_WDT (H2200_HAMCOP_IRQ_START + 23)
39 #define IRQ_H2200_KEYPAD (H2200_HAMCOP_IRQ_START + 24)
40 #define IRQ_H2200_NFIF (H2200_HAMCOP_IRQ_START + 25)
42 #define H2200_MAX_IRQ (H2200_HAMCOP_IRQ_START + H2200_HAMCOP_IRQ_COUNT)
44 #if H2200_MAX_IRQ > NR_IRQS
45 #error need to increase number of board IRQs
48 #endif /* CONFIG_ARCH_H2200 */
50 #endif /* _IRQS_H2200_H_ */