diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 19:00:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 19:00:54 -0500 |
commit | dca1d9f6d7ae428c193f32bd3e9a4ca13176648b (patch) | |
tree | 02de8c3503c1c811754423d2fa3f3b4978044f6e /arch/arm/mach-pxa/include/mach/irqs.h | |
parent | 9ff99339447de403a46be5e3f23d0c794d540b06 (diff) | |
parent | 91e013827c0bcbb187ecf02213c5446b6f62d445 (diff) |
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (370 commits)
ARM: S3C2443: Add set_rate and round_rate calls for armdiv clock
ARM: S3C2443: Remove #if 0 for clk_mpll
ARM: S3C2443: Update notes on MPLLREF clock
ARM: S3C2443: Further clksrc-clk conversions
ARM: S3C2443: Change to using plat-samsung clksrc-clk implementation
USB: Fix s3c-hsotg build following Samsung platform header moves
ARM: S3C64XX: Reintroduce unconditional build of audio device
ARM: 5961/1: ux500: fix CLKRST addresses
ARM: 5977/1: arm: Enable backtrace printing on oops when PC is corrupted
ASoC: Fix S3C64xx IIS driver for Samsung header reorg
ARM: S3C2440: Fix plat-s3c24xx move of s3c2440/s3c2442 support
[ARM] pxa: fix typo in mxm8x10.h
[ARM] pxa/raumfeld: set GPIO drive bits for LED pins
[ARM] pxa/zeus: Add support for mcp2515 CAN bus
[ARM] pxa/zeus: Add support for onboard max6369 watchdog
[ARM] pxa/zeus: Add Eurotech as the manufacturer
[ARM] pxa/zeus: Correct the USB host initialisation flags
[ARM] pxa/zeus: Allow usage of 8250-compatible UART in uncompress
[ARM] pxa: refactor uncompress.h for non-PXA uarts
[ARM] mmp2: fix incorrect calling of chip->mask_ack() for 2nd level cascaded IRQs
...
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/irqs.h')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/irqs.h | 153 |
1 files changed, 2 insertions, 151 deletions
diff --git a/arch/arm/mach-pxa/include/mach/irqs.h b/arch/arm/mach-pxa/include/mach/irqs.h index 3677a9af9c87..ffc8314520f2 100644 --- a/arch/arm/mach-pxa/include/mach/irqs.h +++ b/arch/arm/mach-pxa/include/mach/irqs.h | |||
@@ -135,82 +135,6 @@ | |||
135 | #define IRQ_BOARD_END (IRQ_BOARD_START + 16) | 135 | #define IRQ_BOARD_END (IRQ_BOARD_START + 16) |
136 | #endif | 136 | #endif |
137 | 137 | ||
138 | #define IRQ_SA1111_START (IRQ_BOARD_END) | ||
139 | #define IRQ_GPAIN0 (IRQ_BOARD_END + 0) | ||
140 | #define IRQ_GPAIN1 (IRQ_BOARD_END + 1) | ||
141 | #define IRQ_GPAIN2 (IRQ_BOARD_END + 2) | ||
142 | #define IRQ_GPAIN3 (IRQ_BOARD_END + 3) | ||
143 | #define IRQ_GPBIN0 (IRQ_BOARD_END + 4) | ||
144 | #define IRQ_GPBIN1 (IRQ_BOARD_END + 5) | ||
145 | #define IRQ_GPBIN2 (IRQ_BOARD_END + 6) | ||
146 | #define IRQ_GPBIN3 (IRQ_BOARD_END + 7) | ||
147 | #define IRQ_GPBIN4 (IRQ_BOARD_END + 8) | ||
148 | #define IRQ_GPBIN5 (IRQ_BOARD_END + 9) | ||
149 | #define IRQ_GPCIN0 (IRQ_BOARD_END + 10) | ||
150 | #define IRQ_GPCIN1 (IRQ_BOARD_END + 11) | ||
151 | #define IRQ_GPCIN2 (IRQ_BOARD_END + 12) | ||
152 | #define IRQ_GPCIN3 (IRQ_BOARD_END + 13) | ||
153 | #define IRQ_GPCIN4 (IRQ_BOARD_END + 14) | ||
154 | #define IRQ_GPCIN5 (IRQ_BOARD_END + 15) | ||
155 | #define IRQ_GPCIN6 (IRQ_BOARD_END + 16) | ||
156 | #define IRQ_GPCIN7 (IRQ_BOARD_END + 17) | ||
157 | #define IRQ_MSTXINT (IRQ_BOARD_END + 18) | ||
158 | #define IRQ_MSRXINT (IRQ_BOARD_END + 19) | ||
159 | #define IRQ_MSSTOPERRINT (IRQ_BOARD_END + 20) | ||
160 | #define IRQ_TPTXINT (IRQ_BOARD_END + 21) | ||
161 | #define IRQ_TPRXINT (IRQ_BOARD_END + 22) | ||
162 | #define IRQ_TPSTOPERRINT (IRQ_BOARD_END + 23) | ||
163 | #define SSPXMTINT (IRQ_BOARD_END + 24) | ||
164 | #define SSPRCVINT (IRQ_BOARD_END + 25) | ||
165 | #define SSPROR (IRQ_BOARD_END + 26) | ||
166 | #define AUDXMTDMADONEA (IRQ_BOARD_END + 32) | ||
167 | #define AUDRCVDMADONEA (IRQ_BOARD_END + 33) | ||
168 | #define AUDXMTDMADONEB (IRQ_BOARD_END + 34) | ||
169 | #define AUDRCVDMADONEB (IRQ_BOARD_END + 35) | ||
170 | #define AUDTFSR (IRQ_BOARD_END + 36) | ||
171 | #define AUDRFSR (IRQ_BOARD_END + 37) | ||
172 | #define AUDTUR (IRQ_BOARD_END + 38) | ||
173 | #define AUDROR (IRQ_BOARD_END + 39) | ||
174 | #define AUDDTS (IRQ_BOARD_END + 40) | ||
175 | #define AUDRDD (IRQ_BOARD_END + 41) | ||
176 | #define AUDSTO (IRQ_BOARD_END + 42) | ||
177 | #define IRQ_USBPWR (IRQ_BOARD_END + 43) | ||
178 | #define IRQ_HCIM (IRQ_BOARD_END + 44) | ||
179 | #define IRQ_HCIBUFFACC (IRQ_BOARD_END + 45) | ||
180 | #define IRQ_HCIRMTWKP (IRQ_BOARD_END + 46) | ||
181 | #define IRQ_NHCIMFCIR (IRQ_BOARD_END + 47) | ||
182 | #define IRQ_USB_PORT_RESUME (IRQ_BOARD_END + 48) | ||
183 | #define IRQ_S0_READY_NINT (IRQ_BOARD_END + 49) | ||
184 | #define IRQ_S1_READY_NINT (IRQ_BOARD_END + 50) | ||
185 | #define IRQ_S0_CD_VALID (IRQ_BOARD_END + 51) | ||
186 | #define IRQ_S1_CD_VALID (IRQ_BOARD_END + 52) | ||
187 | #define IRQ_S0_BVD1_STSCHG (IRQ_BOARD_END + 53) | ||
188 | #define IRQ_S1_BVD1_STSCHG (IRQ_BOARD_END + 54) | ||
189 | |||
190 | #define IRQ_LOCOMO_START (IRQ_BOARD_END) | ||
191 | #define IRQ_LOCOMO_KEY (IRQ_BOARD_END + 0) | ||
192 | #define IRQ_LOCOMO_GPIO0 (IRQ_BOARD_END + 1) | ||
193 | #define IRQ_LOCOMO_GPIO1 (IRQ_BOARD_END + 2) | ||
194 | #define IRQ_LOCOMO_GPIO2 (IRQ_BOARD_END + 3) | ||
195 | #define IRQ_LOCOMO_GPIO3 (IRQ_BOARD_END + 4) | ||
196 | #define IRQ_LOCOMO_GPIO4 (IRQ_BOARD_END + 5) | ||
197 | #define IRQ_LOCOMO_GPIO5 (IRQ_BOARD_END + 6) | ||
198 | #define IRQ_LOCOMO_GPIO6 (IRQ_BOARD_END + 7) | ||
199 | #define IRQ_LOCOMO_GPIO7 (IRQ_BOARD_END + 8) | ||
200 | #define IRQ_LOCOMO_GPIO8 (IRQ_BOARD_END + 9) | ||
201 | #define IRQ_LOCOMO_GPIO9 (IRQ_BOARD_END + 10) | ||
202 | #define IRQ_LOCOMO_GPIO10 (IRQ_BOARD_END + 11) | ||
203 | #define IRQ_LOCOMO_GPIO11 (IRQ_BOARD_END + 12) | ||
204 | #define IRQ_LOCOMO_GPIO12 (IRQ_BOARD_END + 13) | ||
205 | #define IRQ_LOCOMO_GPIO13 (IRQ_BOARD_END + 14) | ||
206 | #define IRQ_LOCOMO_GPIO14 (IRQ_BOARD_END + 15) | ||
207 | #define IRQ_LOCOMO_GPIO15 (IRQ_BOARD_END + 16) | ||
208 | #define IRQ_LOCOMO_LT (IRQ_BOARD_END + 17) | ||
209 | #define IRQ_LOCOMO_SPI_RFR (IRQ_BOARD_END + 18) | ||
210 | #define IRQ_LOCOMO_SPI_RFW (IRQ_BOARD_END + 19) | ||
211 | #define IRQ_LOCOMO_SPI_OVRN (IRQ_BOARD_END + 20) | ||
212 | #define IRQ_LOCOMO_SPI_TEND (IRQ_BOARD_END + 21) | ||
213 | |||
214 | /* | 138 | /* |
215 | * Figure out the MAX IRQ number. | 139 | * Figure out the MAX IRQ number. |
216 | * | 140 | * |
@@ -219,89 +143,16 @@ | |||
219 | * Otherwise, we have the standard IRQs only. | 143 | * Otherwise, we have the standard IRQs only. |
220 | */ | 144 | */ |
221 | #ifdef CONFIG_SA1111 | 145 | #ifdef CONFIG_SA1111 |
222 | #define NR_IRQS (IRQ_S1_BVD1_STSCHG + 1) | 146 | #define NR_IRQS (IRQ_BOARD_END + 55) |
223 | #elif defined(CONFIG_SHARP_LOCOMO) | ||
224 | #define NR_IRQS (IRQ_LOCOMO_SPI_TEND + 1) | ||
225 | #elif defined(CONFIG_PXA_HAVE_BOARD_IRQS) | 147 | #elif defined(CONFIG_PXA_HAVE_BOARD_IRQS) |
226 | #define NR_IRQS (IRQ_BOARD_END) | 148 | #define NR_IRQS (IRQ_BOARD_END) |
227 | #else | 149 | #else |
228 | #define NR_IRQS (IRQ_BOARD_START) | 150 | #define NR_IRQS (IRQ_BOARD_START) |
229 | #endif | 151 | #endif |
230 | 152 | ||
231 | /* | ||
232 | * Board specific IRQs. Define them here. | ||
233 | * Do not surround them with ifdefs. | ||
234 | */ | ||
235 | #define LUBBOCK_IRQ(x) (IRQ_BOARD_START + (x)) | ||
236 | #define LUBBOCK_SD_IRQ LUBBOCK_IRQ(0) | ||
237 | #define LUBBOCK_SA1111_IRQ LUBBOCK_IRQ(1) | ||
238 | #define LUBBOCK_USB_IRQ LUBBOCK_IRQ(2) /* usb connect */ | ||
239 | #define LUBBOCK_ETH_IRQ LUBBOCK_IRQ(3) | ||
240 | #define LUBBOCK_UCB1400_IRQ LUBBOCK_IRQ(4) | ||
241 | #define LUBBOCK_BB_IRQ LUBBOCK_IRQ(5) | ||
242 | #define LUBBOCK_USB_DISC_IRQ LUBBOCK_IRQ(6) /* usb disconnect */ | ||
243 | #define LUBBOCK_LAST_IRQ LUBBOCK_IRQ(6) | ||
244 | |||
245 | #define LPD270_IRQ(x) (IRQ_BOARD_START + (x)) | ||
246 | #define LPD270_USBC_IRQ LPD270_IRQ(2) | ||
247 | #define LPD270_ETHERNET_IRQ LPD270_IRQ(3) | ||
248 | #define LPD270_AC97_IRQ LPD270_IRQ(4) | ||
249 | |||
250 | #define MAINSTONE_IRQ(x) (IRQ_BOARD_START + (x)) | ||
251 | #define MAINSTONE_MMC_IRQ MAINSTONE_IRQ(0) | ||
252 | #define MAINSTONE_USIM_IRQ MAINSTONE_IRQ(1) | ||
253 | #define MAINSTONE_USBC_IRQ MAINSTONE_IRQ(2) | ||
254 | #define MAINSTONE_ETHERNET_IRQ MAINSTONE_IRQ(3) | ||
255 | #define MAINSTONE_AC97_IRQ MAINSTONE_IRQ(4) | ||
256 | #define MAINSTONE_PEN_IRQ MAINSTONE_IRQ(5) | ||
257 | #define MAINSTONE_MSINS_IRQ MAINSTONE_IRQ(6) | ||
258 | #define MAINSTONE_EXBRD_IRQ MAINSTONE_IRQ(7) | ||
259 | #define MAINSTONE_S0_CD_IRQ MAINSTONE_IRQ(9) | ||
260 | #define MAINSTONE_S0_STSCHG_IRQ MAINSTONE_IRQ(10) | ||
261 | #define MAINSTONE_S0_IRQ MAINSTONE_IRQ(11) | ||
262 | #define MAINSTONE_S1_CD_IRQ MAINSTONE_IRQ(13) | ||
263 | #define MAINSTONE_S1_STSCHG_IRQ MAINSTONE_IRQ(14) | ||
264 | #define MAINSTONE_S1_IRQ MAINSTONE_IRQ(15) | ||
265 | |||
266 | /* Balloon3 Interrupts */ | ||
267 | #define BALLOON3_IRQ(x) (IRQ_BOARD_START + (x)) | ||
268 | |||
269 | #define BALLOON3_BP_CF_NRDY_IRQ BALLOON3_IRQ(0) | ||
270 | #define BALLOON3_BP_NSTSCHG_IRQ BALLOON3_IRQ(1) | ||
271 | |||
272 | #define BALLOON3_AUX_NIRQ IRQ_GPIO(BALLOON3_GPIO_AUX_NIRQ) | ||
273 | #define BALLOON3_CODEC_IRQ IRQ_GPIO(BALLOON3_GPIO_CODEC_IRQ) | ||
274 | #define BALLOON3_S0_CD_IRQ IRQ_GPIO(BALLOON3_GPIO_S0_CD) | ||
275 | |||
276 | /* LoCoMo Interrupts (CONFIG_SHARP_LOCOMO) */ | ||
277 | #define IRQ_LOCOMO_KEY_BASE (IRQ_BOARD_START + 0) | ||
278 | #define IRQ_LOCOMO_GPIO_BASE (IRQ_BOARD_START + 1) | ||
279 | #define IRQ_LOCOMO_LT_BASE (IRQ_BOARD_START + 2) | ||
280 | #define IRQ_LOCOMO_SPI_BASE (IRQ_BOARD_START + 3) | ||
281 | |||
282 | /* phyCORE-PXA270 (PCM027) Interrupts */ | ||
283 | #define PCM027_IRQ(x) (IRQ_BOARD_START + (x)) | ||
284 | #define PCM027_BTDET_IRQ PCM027_IRQ(0) | ||
285 | #define PCM027_FF_RI_IRQ PCM027_IRQ(1) | ||
286 | #define PCM027_MMCDET_IRQ PCM027_IRQ(2) | ||
287 | #define PCM027_PM_5V_IRQ PCM027_IRQ(3) | ||
288 | |||
289 | /* ITE8152 irqs */ | ||
290 | /* add IT8152 IRQs beyond BOARD_END */ | 153 | /* add IT8152 IRQs beyond BOARD_END */ |
291 | #ifdef CONFIG_PCI_HOST_ITE8152 | 154 | #ifdef CONFIG_PCI_HOST_ITE8152 |
292 | #define IT8152_IRQ(x) (IRQ_BOARD_END + (x)) | 155 | #define IT8152_LAST_IRQ (IRQ_BOARD_END + 40) |
293 | |||
294 | /* IRQ-sources in 3 groups - local devices, LPC (serial), and external PCI */ | ||
295 | #define IT8152_LD_IRQ_COUNT 9 | ||
296 | #define IT8152_LP_IRQ_COUNT 16 | ||
297 | #define IT8152_PD_IRQ_COUNT 15 | ||
298 | |||
299 | /* Priorities: */ | ||
300 | #define IT8152_PD_IRQ(i) IT8152_IRQ(i) | ||
301 | #define IT8152_LP_IRQ(i) (IT8152_IRQ(i) + IT8152_PD_IRQ_COUNT) | ||
302 | #define IT8152_LD_IRQ(i) (IT8152_IRQ(i) + IT8152_PD_IRQ_COUNT + IT8152_LP_IRQ_COUNT) | ||
303 | |||
304 | #define IT8152_LAST_IRQ IT8152_LD_IRQ(IT8152_LD_IRQ_COUNT - 1) | ||
305 | 156 | ||
306 | #if NR_IRQS < (IT8152_LAST_IRQ+1) | 157 | #if NR_IRQS < (IT8152_LAST_IRQ+1) |
307 | #undef NR_IRQS | 158 | #undef NR_IRQS |