diff options
author | Greg Ungerer <gerg@uclinux.org> | 2009-07-06 19:39:11 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2009-09-15 19:43:54 -0400 |
commit | 9075216d2c8761c91dc268125f6580af3ffc58b5 (patch) | |
tree | 95df9112cacda86d5fc7603b0e83bd88abdfde45 /arch/m68k | |
parent | da3601a5fa664c8d51383fe916d96bd4fbce84b8 (diff) |
m68knommu: create a speciailized ColdFire 5272 interrupt controller
The ColdFire 5272 CPU has a very different interrupt controller than
any of the other ColdFire parts. It needs its own controller code to
correctly setup and ack interrupts.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/include/asm/m5272sim.h | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/arch/m68k/include/asm/m5272sim.h b/arch/m68k/include/asm/m5272sim.h index 469686ffc4af..df3332c2317d 100644 --- a/arch/m68k/include/asm/m5272sim.h +++ b/arch/m68k/include/asm/m5272sim.h | |||
@@ -12,7 +12,6 @@ | |||
12 | #define m5272sim_h | 12 | #define m5272sim_h |
13 | /****************************************************************************/ | 13 | /****************************************************************************/ |
14 | 14 | ||
15 | |||
16 | /* | 15 | /* |
17 | * Define the 5272 SIM register set addresses. | 16 | * Define the 5272 SIM register set addresses. |
18 | */ | 17 | */ |
@@ -76,8 +75,40 @@ | |||
76 | /* | 75 | /* |
77 | * Define system peripheral IRQ usage. | 76 | * Define system peripheral IRQ usage. |
78 | */ | 77 | */ |
79 | #define MCF_IRQ_TIMER 69 /* Timer0, Level 6 */ | 78 | #define MCFINT_VECBASE 64 /* Base of interrupts */ |
80 | #define MCF_IRQ_PROFILER 70 /* Timer1, Level 7 */ | 79 | #define MCF_IRQ_SPURIOUS 64 /* User Spurious */ |
80 | #define MCF_IRQ_EINT1 65 /* External Interrupt 1 */ | ||
81 | #define MCF_IRQ_EINT2 66 /* External Interrupt 2 */ | ||
82 | #define MCF_IRQ_EINT3 67 /* External Interrupt 3 */ | ||
83 | #define MCF_IRQ_EINT4 68 /* External Interrupt 4 */ | ||
84 | #define MCF_IRQ_TIMER1 69 /* Timer 1 */ | ||
85 | #define MCF_IRQ_TIMER2 70 /* Timer 2 */ | ||
86 | #define MCF_IRQ_TIMER3 71 /* Timer 3 */ | ||
87 | #define MCF_IRQ_TIMER4 72 /* Timer 4 */ | ||
88 | #define MCF_IRQ_UART1 73 /* UART 1 */ | ||
89 | #define MCF_IRQ_UART2 74 /* UART 2 */ | ||
90 | #define MCF_IRQ_PLIP 75 /* PLIC 2Khz Periodic */ | ||
91 | #define MCF_IRQ_PLIA 76 /* PLIC Asynchronous */ | ||
92 | #define MCF_IRQ_USB0 77 /* USB Endpoint 0 */ | ||
93 | #define MCF_IRQ_USB1 78 /* USB Endpoint 1 */ | ||
94 | #define MCF_IRQ_USB2 79 /* USB Endpoint 2 */ | ||
95 | #define MCF_IRQ_USB3 80 /* USB Endpoint 3 */ | ||
96 | #define MCF_IRQ_USB4 81 /* USB Endpoint 4 */ | ||
97 | #define MCF_IRQ_USB5 82 /* USB Endpoint 5 */ | ||
98 | #define MCF_IRQ_USB6 83 /* USB Endpoint 6 */ | ||
99 | #define MCF_IRQ_USB7 84 /* USB Endpoint 7 */ | ||
100 | #define MCF_IRQ_DMA 85 /* DMA Controller */ | ||
101 | #define MCF_IRQ_ERX 86 /* Ethernet Receiver */ | ||
102 | #define MCF_IRQ_ETX 87 /* Ethernet Transmitter */ | ||
103 | #define MCF_IRQ_ENTC 88 /* Ethernet Non-Time Critical */ | ||
104 | #define MCF_IRQ_QSPI 89 /* Queued Serial Interface */ | ||
105 | #define MCF_IRQ_EINT5 90 /* External Interrupt 5 */ | ||
106 | #define MCF_IRQ_EINT6 91 /* External Interrupt 6 */ | ||
107 | #define MCF_IRQ_SWTO 92 /* Software Watchdog */ | ||
108 | #define MCFINT_VECMAX 95 /* Maxmum interrupt */ | ||
109 | |||
110 | #define MCF_IRQ_TIMER MCF_IRQ_TIMER1 | ||
111 | #define MCF_IRQ_PROFILER MCF_IRQ_TIMER2 | ||
81 | 112 | ||
82 | /* | 113 | /* |
83 | * Generic GPIO support | 114 | * Generic GPIO support |