aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537/include/mach/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-bf537/include/mach/irq.h')
-rw-r--r--arch/blackfin/mach-bf537/include/mach/irq.h33
1 files changed, 26 insertions, 7 deletions
diff --git a/arch/blackfin/mach-bf537/include/mach/irq.h b/arch/blackfin/mach-bf537/include/mach/irq.h
index cc3132347414..b6ed8235bda4 100644
--- a/arch/blackfin/mach-bf537/include/mach/irq.h
+++ b/arch/blackfin/mach-bf537/include/mach/irq.h
@@ -28,8 +28,8 @@
28#define IRQ_UART1_TX BFIN_IRQ(14) /* DMA11 Interrupt (UART1 TX) */ 28#define IRQ_UART1_TX BFIN_IRQ(14) /* DMA11 Interrupt (UART1 TX) */
29#define IRQ_CAN_RX BFIN_IRQ(15) /* CAN Receive Interrupt */ 29#define IRQ_CAN_RX BFIN_IRQ(15) /* CAN Receive Interrupt */
30#define IRQ_CAN_TX BFIN_IRQ(16) /* CAN Transmit Interrupt */ 30#define IRQ_CAN_TX BFIN_IRQ(16) /* CAN Transmit Interrupt */
31#define IRQ_MAC_RX BFIN_IRQ(17) /* DMA1 (Ethernet RX) Interrupt */ 31#define IRQ_PH_INTA_MAC_RX BFIN_IRQ(17) /* Port H Interrupt A & DMA1 Interrupt (Ethernet RX) */
32#define IRQ_MAC_TX BFIN_IRQ(18) /* DMA2 (Ethernet TX) Interrupt */ 32#define IRQ_PH_INTB_MAC_TX BFIN_IRQ(18) /* Port H Interrupt B & DMA2 Interrupt (Ethernet TX) */
33#define IRQ_TIMER0 BFIN_IRQ(19) /* Timer 0 */ 33#define IRQ_TIMER0 BFIN_IRQ(19) /* Timer 0 */
34#define IRQ_TIMER1 BFIN_IRQ(20) /* Timer 1 */ 34#define IRQ_TIMER1 BFIN_IRQ(20) /* Timer 1 */
35#define IRQ_TIMER2 BFIN_IRQ(21) /* Timer 2 */ 35#define IRQ_TIMER2 BFIN_IRQ(21) /* Timer 2 */
@@ -38,12 +38,11 @@
38#define IRQ_TIMER5 BFIN_IRQ(24) /* Timer 5 */ 38#define IRQ_TIMER5 BFIN_IRQ(24) /* Timer 5 */
39#define IRQ_TIMER6 BFIN_IRQ(25) /* Timer 6 */ 39#define IRQ_TIMER6 BFIN_IRQ(25) /* Timer 6 */
40#define IRQ_TIMER7 BFIN_IRQ(26) /* Timer 7 */ 40#define IRQ_TIMER7 BFIN_IRQ(26) /* Timer 7 */
41#define IRQ_PROG_INTA BFIN_IRQ(27) /* PF Ports F&G (PF15:0) Interrupt A */ 41#define IRQ_PF_INTA_PG_INTA BFIN_IRQ(27) /* Ports F&G Interrupt A */
42#define IRQ_PORTG_INTB BFIN_IRQ(28) /* PF Port G (PF15:0) Interrupt B */ 42#define IRQ_PORTG_INTB BFIN_IRQ(28) /* Port G Interrupt B */
43#define IRQ_MEM_DMA0 BFIN_IRQ(29) /* (Memory DMA Stream 0) */ 43#define IRQ_MEM_DMA0 BFIN_IRQ(29) /* (Memory DMA Stream 0) */
44#define IRQ_MEM_DMA1 BFIN_IRQ(30) /* (Memory DMA Stream 1) */ 44#define IRQ_MEM_DMA1 BFIN_IRQ(30) /* (Memory DMA Stream 1) */
45#define IRQ_PROG_INTB BFIN_IRQ(31) /* PF Ports F (PF15:0) Interrupt B */ 45#define IRQ_PF_INTB_WATCH BFIN_IRQ(31) /* Watchdog & Port F Interrupt B */
46#define IRQ_WATCH BFIN_IRQ(32) /* Watch Dog Timer */
47 46
48#define SYS_IRQS 39 47#define SYS_IRQS 39
49 48
@@ -118,7 +117,27 @@
118#define IRQ_MAC_TXDMAERR 104 /* TX DMA Direction Error Interrupt */ 117#define IRQ_MAC_TXDMAERR 104 /* TX DMA Direction Error Interrupt */
119#define IRQ_MAC_STMDONE 105 /* Station Mgt. Transfer Done Interrupt */ 118#define IRQ_MAC_STMDONE 105 /* Station Mgt. Transfer Done Interrupt */
120 119
121#define NR_MACH_IRQS (IRQ_MAC_STMDONE + 1) 120#define IRQ_MAC_RX 106 /* DMA1 Interrupt (Ethernet RX) */
121#define IRQ_PORTH_INTA 107 /* Port H Interrupt A */
122
123#if 0 /* No Interrupt B support (yet) */
124#define IRQ_MAC_TX 108 /* DMA2 Interrupt (Ethernet TX) */
125#define IRQ_PORTH_INTB 109 /* Port H Interrupt B */
126#else
127#define IRQ_MAC_TX IRQ_PH_INTB_MAC_TX
128#endif
129
130#define IRQ_PORTF_INTA 110 /* Port F Interrupt A */
131#define IRQ_PORTG_INTA 111 /* Port G Interrupt A */
132
133#if 0 /* No Interrupt B support (yet) */
134#define IRQ_WATCH 112 /* Watchdog Timer */
135#define IRQ_PORTF_INTB 113 /* Port F Interrupt B */
136#else
137#define IRQ_WATCH IRQ_PF_INTB_WATCH
138#endif
139
140#define NR_MACH_IRQS (113 + 1)
122 141
123/* IAR0 BIT FIELDS */ 142/* IAR0 BIT FIELDS */
124#define IRQ_PLL_WAKEUP_POS 0 143#define IRQ_PLL_WAKEUP_POS 0