Go to the documentation of this file.
9 #ifndef __ASM_MACH_ATH79_IRQ_H
10 #define __ASM_MACH_ATH79_IRQ_H
12 #define MIPS_CPU_IRQ_BASE 0
15 #define ATH79_MISC_IRQ_BASE 8
16 #define ATH79_MISC_IRQ_COUNT 32
18 #define ATH79_PCI_IRQ_BASE (ATH79_MISC_IRQ_BASE + ATH79_MISC_IRQ_COUNT)
19 #define ATH79_PCI_IRQ_COUNT 6
20 #define ATH79_PCI_IRQ(_x) (ATH79_PCI_IRQ_BASE + (_x))
22 #define ATH79_IP2_IRQ_BASE (ATH79_PCI_IRQ_BASE + ATH79_PCI_IRQ_COUNT)
23 #define ATH79_IP2_IRQ_COUNT 2
24 #define ATH79_IP2_IRQ(_x) (ATH79_IP2_IRQ_BASE + (_x))
26 #define ATH79_CPU_IRQ_IP2 (MIPS_CPU_IRQ_BASE + 2)
27 #define ATH79_CPU_IRQ_USB (MIPS_CPU_IRQ_BASE + 3)
28 #define ATH79_CPU_IRQ_GE0 (MIPS_CPU_IRQ_BASE + 4)
29 #define ATH79_CPU_IRQ_GE1 (MIPS_CPU_IRQ_BASE + 5)
30 #define ATH79_CPU_IRQ_MISC (MIPS_CPU_IRQ_BASE + 6)
31 #define ATH79_CPU_IRQ_TIMER (MIPS_CPU_IRQ_BASE + 7)
33 #define ATH79_MISC_IRQ_TIMER (ATH79_MISC_IRQ_BASE + 0)
34 #define ATH79_MISC_IRQ_ERROR (ATH79_MISC_IRQ_BASE + 1)
35 #define ATH79_MISC_IRQ_GPIO (ATH79_MISC_IRQ_BASE + 2)
36 #define ATH79_MISC_IRQ_UART (ATH79_MISC_IRQ_BASE + 3)
37 #define ATH79_MISC_IRQ_WDOG (ATH79_MISC_IRQ_BASE + 4)
38 #define ATH79_MISC_IRQ_PERFC (ATH79_MISC_IRQ_BASE + 5)
39 #define ATH79_MISC_IRQ_OHCI (ATH79_MISC_IRQ_BASE + 6)
40 #define ATH79_MISC_IRQ_DMA (ATH79_MISC_IRQ_BASE + 7)
41 #define ATH79_MISC_IRQ_TIMER2 (ATH79_MISC_IRQ_BASE + 8)
42 #define ATH79_MISC_IRQ_TIMER3 (ATH79_MISC_IRQ_BASE + 9)
43 #define ATH79_MISC_IRQ_TIMER4 (ATH79_MISC_IRQ_BASE + 10)
44 #define ATH79_MISC_IRQ_ETHSW (ATH79_MISC_IRQ_BASE + 12)