1*7e0a9e62SArnd Bergmann /* SPDX-License-Identifier: GPL-2.0-or-later */ 2*7e0a9e62SArnd Bergmann /* 3*7e0a9e62SArnd Bergmann * Copyright (C) Greg Lonnon 2001 4*7e0a9e62SArnd Bergmann * Updated for OMAP-1610 by Tony Lindgren <tony@atomide.com> 5*7e0a9e62SArnd Bergmann * 6*7e0a9e62SArnd Bergmann * Copyright (C) 2009 Texas Instruments 7*7e0a9e62SArnd Bergmann * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> 8*7e0a9e62SArnd Bergmann * 9*7e0a9e62SArnd Bergmann * NOTE: The interrupt vectors for the OMAP-1509, OMAP-1510, and OMAP-1610 10*7e0a9e62SArnd Bergmann * are different. 11*7e0a9e62SArnd Bergmann */ 12*7e0a9e62SArnd Bergmann 13*7e0a9e62SArnd Bergmann #ifndef __ASM_ARCH_OMAP15XX_IRQS_H 14*7e0a9e62SArnd Bergmann #define __ASM_ARCH_OMAP15XX_IRQS_H 15*7e0a9e62SArnd Bergmann 16*7e0a9e62SArnd Bergmann /* 17*7e0a9e62SArnd Bergmann * IRQ numbers for interrupt handler 1 18*7e0a9e62SArnd Bergmann * 19*7e0a9e62SArnd Bergmann * NOTE: See also the OMAP-1510 and 1610 specific IRQ numbers below 20*7e0a9e62SArnd Bergmann * 21*7e0a9e62SArnd Bergmann */ 22*7e0a9e62SArnd Bergmann #define INT_CAMERA (NR_IRQS_LEGACY + 1) 23*7e0a9e62SArnd Bergmann #define INT_FIQ (NR_IRQS_LEGACY + 3) 24*7e0a9e62SArnd Bergmann #define INT_RTDX (NR_IRQS_LEGACY + 6) 25*7e0a9e62SArnd Bergmann #define INT_DSP_MMU_ABORT (NR_IRQS_LEGACY + 7) 26*7e0a9e62SArnd Bergmann #define INT_HOST (NR_IRQS_LEGACY + 8) 27*7e0a9e62SArnd Bergmann #define INT_ABORT (NR_IRQS_LEGACY + 9) 28*7e0a9e62SArnd Bergmann #define INT_BRIDGE_PRIV (NR_IRQS_LEGACY + 13) 29*7e0a9e62SArnd Bergmann #define INT_GPIO_BANK1 (NR_IRQS_LEGACY + 14) 30*7e0a9e62SArnd Bergmann #define INT_UART3 (NR_IRQS_LEGACY + 15) 31*7e0a9e62SArnd Bergmann #define INT_TIMER3 (NR_IRQS_LEGACY + 16) 32*7e0a9e62SArnd Bergmann #define INT_DMA_CH0_6 (NR_IRQS_LEGACY + 19) 33*7e0a9e62SArnd Bergmann #define INT_DMA_CH1_7 (NR_IRQS_LEGACY + 20) 34*7e0a9e62SArnd Bergmann #define INT_DMA_CH2_8 (NR_IRQS_LEGACY + 21) 35*7e0a9e62SArnd Bergmann #define INT_DMA_CH3 (NR_IRQS_LEGACY + 22) 36*7e0a9e62SArnd Bergmann #define INT_DMA_CH4 (NR_IRQS_LEGACY + 23) 37*7e0a9e62SArnd Bergmann #define INT_DMA_CH5 (NR_IRQS_LEGACY + 24) 38*7e0a9e62SArnd Bergmann #define INT_TIMER1 (NR_IRQS_LEGACY + 26) 39*7e0a9e62SArnd Bergmann #define INT_WD_TIMER (NR_IRQS_LEGACY + 27) 40*7e0a9e62SArnd Bergmann #define INT_BRIDGE_PUB (NR_IRQS_LEGACY + 28) 41*7e0a9e62SArnd Bergmann #define INT_TIMER2 (NR_IRQS_LEGACY + 30) 42*7e0a9e62SArnd Bergmann #define INT_LCD_CTRL (NR_IRQS_LEGACY + 31) 43*7e0a9e62SArnd Bergmann 44*7e0a9e62SArnd Bergmann /* 45*7e0a9e62SArnd Bergmann * OMAP-1510 specific IRQ numbers for interrupt handler 1 46*7e0a9e62SArnd Bergmann */ 47*7e0a9e62SArnd Bergmann #define INT_1510_IH2_IRQ (NR_IRQS_LEGACY + 0) 48*7e0a9e62SArnd Bergmann #define INT_1510_RES2 (NR_IRQS_LEGACY + 2) 49*7e0a9e62SArnd Bergmann #define INT_1510_SPI_TX (NR_IRQS_LEGACY + 4) 50*7e0a9e62SArnd Bergmann #define INT_1510_SPI_RX (NR_IRQS_LEGACY + 5) 51*7e0a9e62SArnd Bergmann #define INT_1510_DSP_MAILBOX1 (NR_IRQS_LEGACY + 10) 52*7e0a9e62SArnd Bergmann #define INT_1510_DSP_MAILBOX2 (NR_IRQS_LEGACY + 11) 53*7e0a9e62SArnd Bergmann #define INT_1510_RES12 (NR_IRQS_LEGACY + 12) 54*7e0a9e62SArnd Bergmann #define INT_1510_LB_MMU (NR_IRQS_LEGACY + 17) 55*7e0a9e62SArnd Bergmann #define INT_1510_RES18 (NR_IRQS_LEGACY + 18) 56*7e0a9e62SArnd Bergmann #define INT_1510_LOCAL_BUS (NR_IRQS_LEGACY + 29) 57*7e0a9e62SArnd Bergmann 58*7e0a9e62SArnd Bergmann /* 59*7e0a9e62SArnd Bergmann * OMAP-1610 specific IRQ numbers for interrupt handler 1 60*7e0a9e62SArnd Bergmann */ 61*7e0a9e62SArnd Bergmann #define INT_1610_IH2_IRQ INT_1510_IH2_IRQ 62*7e0a9e62SArnd Bergmann #define INT_1610_IH2_FIQ (NR_IRQS_LEGACY + 2) 63*7e0a9e62SArnd Bergmann #define INT_1610_McBSP2_TX (NR_IRQS_LEGACY + 4) 64*7e0a9e62SArnd Bergmann #define INT_1610_McBSP2_RX (NR_IRQS_LEGACY + 5) 65*7e0a9e62SArnd Bergmann #define INT_1610_DSP_MAILBOX1 (NR_IRQS_LEGACY + 10) 66*7e0a9e62SArnd Bergmann #define INT_1610_DSP_MAILBOX2 (NR_IRQS_LEGACY + 11) 67*7e0a9e62SArnd Bergmann #define INT_1610_LCD_LINE (NR_IRQS_LEGACY + 12) 68*7e0a9e62SArnd Bergmann #define INT_1610_GPTIMER1 (NR_IRQS_LEGACY + 17) 69*7e0a9e62SArnd Bergmann #define INT_1610_GPTIMER2 (NR_IRQS_LEGACY + 18) 70*7e0a9e62SArnd Bergmann #define INT_1610_SSR_FIFO_0 (NR_IRQS_LEGACY + 29) 71*7e0a9e62SArnd Bergmann 72*7e0a9e62SArnd Bergmann /* 73*7e0a9e62SArnd Bergmann * OMAP-7xx specific IRQ numbers for interrupt handler 1 74*7e0a9e62SArnd Bergmann */ 75*7e0a9e62SArnd Bergmann #define INT_7XX_IH2_FIQ (NR_IRQS_LEGACY + 0) 76*7e0a9e62SArnd Bergmann #define INT_7XX_IH2_IRQ (NR_IRQS_LEGACY + 1) 77*7e0a9e62SArnd Bergmann #define INT_7XX_USB_NON_ISO (NR_IRQS_LEGACY + 2) 78*7e0a9e62SArnd Bergmann #define INT_7XX_USB_ISO (NR_IRQS_LEGACY + 3) 79*7e0a9e62SArnd Bergmann #define INT_7XX_ICR (NR_IRQS_LEGACY + 4) 80*7e0a9e62SArnd Bergmann #define INT_7XX_EAC (NR_IRQS_LEGACY + 5) 81*7e0a9e62SArnd Bergmann #define INT_7XX_GPIO_BANK1 (NR_IRQS_LEGACY + 6) 82*7e0a9e62SArnd Bergmann #define INT_7XX_GPIO_BANK2 (NR_IRQS_LEGACY + 7) 83*7e0a9e62SArnd Bergmann #define INT_7XX_GPIO_BANK3 (NR_IRQS_LEGACY + 8) 84*7e0a9e62SArnd Bergmann #define INT_7XX_McBSP2TX (NR_IRQS_LEGACY + 10) 85*7e0a9e62SArnd Bergmann #define INT_7XX_McBSP2RX (NR_IRQS_LEGACY + 11) 86*7e0a9e62SArnd Bergmann #define INT_7XX_McBSP2RX_OVF (NR_IRQS_LEGACY + 12) 87*7e0a9e62SArnd Bergmann #define INT_7XX_LCD_LINE (NR_IRQS_LEGACY + 14) 88*7e0a9e62SArnd Bergmann #define INT_7XX_GSM_PROTECT (NR_IRQS_LEGACY + 15) 89*7e0a9e62SArnd Bergmann #define INT_7XX_TIMER3 (NR_IRQS_LEGACY + 16) 90*7e0a9e62SArnd Bergmann #define INT_7XX_GPIO_BANK5 (NR_IRQS_LEGACY + 17) 91*7e0a9e62SArnd Bergmann #define INT_7XX_GPIO_BANK6 (NR_IRQS_LEGACY + 18) 92*7e0a9e62SArnd Bergmann #define INT_7XX_SPGIO_WR (NR_IRQS_LEGACY + 29) 93*7e0a9e62SArnd Bergmann 94*7e0a9e62SArnd Bergmann /* 95*7e0a9e62SArnd Bergmann * IRQ numbers for interrupt handler 2 96*7e0a9e62SArnd Bergmann * 97*7e0a9e62SArnd Bergmann * NOTE: See also the OMAP-1510 and 1610 specific IRQ numbers below 98*7e0a9e62SArnd Bergmann */ 99*7e0a9e62SArnd Bergmann #define IH2_BASE (NR_IRQS_LEGACY + 32) 100*7e0a9e62SArnd Bergmann 101*7e0a9e62SArnd Bergmann #define INT_KEYBOARD (1 + IH2_BASE) 102*7e0a9e62SArnd Bergmann #define INT_uWireTX (2 + IH2_BASE) 103*7e0a9e62SArnd Bergmann #define INT_uWireRX (3 + IH2_BASE) 104*7e0a9e62SArnd Bergmann #define INT_I2C (4 + IH2_BASE) 105*7e0a9e62SArnd Bergmann #define INT_MPUIO (5 + IH2_BASE) 106*7e0a9e62SArnd Bergmann #define INT_USB_HHC_1 (6 + IH2_BASE) 107*7e0a9e62SArnd Bergmann #define INT_McBSP3TX (10 + IH2_BASE) 108*7e0a9e62SArnd Bergmann #define INT_McBSP3RX (11 + IH2_BASE) 109*7e0a9e62SArnd Bergmann #define INT_McBSP1TX (12 + IH2_BASE) 110*7e0a9e62SArnd Bergmann #define INT_McBSP1RX (13 + IH2_BASE) 111*7e0a9e62SArnd Bergmann #define INT_UART1 (14 + IH2_BASE) 112*7e0a9e62SArnd Bergmann #define INT_UART2 (15 + IH2_BASE) 113*7e0a9e62SArnd Bergmann #define INT_BT_MCSI1TX (16 + IH2_BASE) 114*7e0a9e62SArnd Bergmann #define INT_BT_MCSI1RX (17 + IH2_BASE) 115*7e0a9e62SArnd Bergmann #define INT_SOSSI_MATCH (19 + IH2_BASE) 116*7e0a9e62SArnd Bergmann #define INT_USB_W2FC (20 + IH2_BASE) 117*7e0a9e62SArnd Bergmann #define INT_1WIRE (21 + IH2_BASE) 118*7e0a9e62SArnd Bergmann #define INT_OS_TIMER (22 + IH2_BASE) 119*7e0a9e62SArnd Bergmann #define INT_MMC (23 + IH2_BASE) 120*7e0a9e62SArnd Bergmann #define INT_GAUGE_32K (24 + IH2_BASE) 121*7e0a9e62SArnd Bergmann #define INT_RTC_TIMER (25 + IH2_BASE) 122*7e0a9e62SArnd Bergmann #define INT_RTC_ALARM (26 + IH2_BASE) 123*7e0a9e62SArnd Bergmann #define INT_MEM_STICK (27 + IH2_BASE) 124*7e0a9e62SArnd Bergmann 125*7e0a9e62SArnd Bergmann /* 126*7e0a9e62SArnd Bergmann * OMAP-1510 specific IRQ numbers for interrupt handler 2 127*7e0a9e62SArnd Bergmann */ 128*7e0a9e62SArnd Bergmann #define INT_1510_DSP_MMU (28 + IH2_BASE) 129*7e0a9e62SArnd Bergmann #define INT_1510_COM_SPI_RO (31 + IH2_BASE) 130*7e0a9e62SArnd Bergmann 131*7e0a9e62SArnd Bergmann /* 132*7e0a9e62SArnd Bergmann * OMAP-1610 specific IRQ numbers for interrupt handler 2 133*7e0a9e62SArnd Bergmann */ 134*7e0a9e62SArnd Bergmann #define INT_1610_FAC (0 + IH2_BASE) 135*7e0a9e62SArnd Bergmann #define INT_1610_USB_HHC_2 (7 + IH2_BASE) 136*7e0a9e62SArnd Bergmann #define INT_1610_USB_OTG (8 + IH2_BASE) 137*7e0a9e62SArnd Bergmann #define INT_1610_SoSSI (9 + IH2_BASE) 138*7e0a9e62SArnd Bergmann #define INT_1610_SoSSI_MATCH (19 + IH2_BASE) 139*7e0a9e62SArnd Bergmann #define INT_1610_DSP_MMU (28 + IH2_BASE) 140*7e0a9e62SArnd Bergmann #define INT_1610_McBSP2RX_OF (31 + IH2_BASE) 141*7e0a9e62SArnd Bergmann #define INT_1610_STI (32 + IH2_BASE) 142*7e0a9e62SArnd Bergmann #define INT_1610_STI_WAKEUP (33 + IH2_BASE) 143*7e0a9e62SArnd Bergmann #define INT_1610_GPTIMER3 (34 + IH2_BASE) 144*7e0a9e62SArnd Bergmann #define INT_1610_GPTIMER4 (35 + IH2_BASE) 145*7e0a9e62SArnd Bergmann #define INT_1610_GPTIMER5 (36 + IH2_BASE) 146*7e0a9e62SArnd Bergmann #define INT_1610_GPTIMER6 (37 + IH2_BASE) 147*7e0a9e62SArnd Bergmann #define INT_1610_GPTIMER7 (38 + IH2_BASE) 148*7e0a9e62SArnd Bergmann #define INT_1610_GPTIMER8 (39 + IH2_BASE) 149*7e0a9e62SArnd Bergmann #define INT_1610_GPIO_BANK2 (40 + IH2_BASE) 150*7e0a9e62SArnd Bergmann #define INT_1610_GPIO_BANK3 (41 + IH2_BASE) 151*7e0a9e62SArnd Bergmann #define INT_1610_MMC2 (42 + IH2_BASE) 152*7e0a9e62SArnd Bergmann #define INT_1610_CF (43 + IH2_BASE) 153*7e0a9e62SArnd Bergmann #define INT_1610_WAKE_UP_REQ (46 + IH2_BASE) 154*7e0a9e62SArnd Bergmann #define INT_1610_GPIO_BANK4 (48 + IH2_BASE) 155*7e0a9e62SArnd Bergmann #define INT_1610_SPI (49 + IH2_BASE) 156*7e0a9e62SArnd Bergmann #define INT_1610_DMA_CH6 (53 + IH2_BASE) 157*7e0a9e62SArnd Bergmann #define INT_1610_DMA_CH7 (54 + IH2_BASE) 158*7e0a9e62SArnd Bergmann #define INT_1610_DMA_CH8 (55 + IH2_BASE) 159*7e0a9e62SArnd Bergmann #define INT_1610_DMA_CH9 (56 + IH2_BASE) 160*7e0a9e62SArnd Bergmann #define INT_1610_DMA_CH10 (57 + IH2_BASE) 161*7e0a9e62SArnd Bergmann #define INT_1610_DMA_CH11 (58 + IH2_BASE) 162*7e0a9e62SArnd Bergmann #define INT_1610_DMA_CH12 (59 + IH2_BASE) 163*7e0a9e62SArnd Bergmann #define INT_1610_DMA_CH13 (60 + IH2_BASE) 164*7e0a9e62SArnd Bergmann #define INT_1610_DMA_CH14 (61 + IH2_BASE) 165*7e0a9e62SArnd Bergmann #define INT_1610_DMA_CH15 (62 + IH2_BASE) 166*7e0a9e62SArnd Bergmann #define INT_1610_NAND (63 + IH2_BASE) 167*7e0a9e62SArnd Bergmann #define INT_1610_SHA1MD5 (91 + IH2_BASE) 168*7e0a9e62SArnd Bergmann 169*7e0a9e62SArnd Bergmann /* 170*7e0a9e62SArnd Bergmann * OMAP-7xx specific IRQ numbers for interrupt handler 2 171*7e0a9e62SArnd Bergmann */ 172*7e0a9e62SArnd Bergmann #define INT_7XX_HW_ERRORS (0 + IH2_BASE) 173*7e0a9e62SArnd Bergmann #define INT_7XX_NFIQ_PWR_FAIL (1 + IH2_BASE) 174*7e0a9e62SArnd Bergmann #define INT_7XX_CFCD (2 + IH2_BASE) 175*7e0a9e62SArnd Bergmann #define INT_7XX_CFIREQ (3 + IH2_BASE) 176*7e0a9e62SArnd Bergmann #define INT_7XX_I2C (4 + IH2_BASE) 177*7e0a9e62SArnd Bergmann #define INT_7XX_PCC (5 + IH2_BASE) 178*7e0a9e62SArnd Bergmann #define INT_7XX_MPU_EXT_NIRQ (6 + IH2_BASE) 179*7e0a9e62SArnd Bergmann #define INT_7XX_SPI_100K_1 (7 + IH2_BASE) 180*7e0a9e62SArnd Bergmann #define INT_7XX_SYREN_SPI (8 + IH2_BASE) 181*7e0a9e62SArnd Bergmann #define INT_7XX_VLYNQ (9 + IH2_BASE) 182*7e0a9e62SArnd Bergmann #define INT_7XX_GPIO_BANK4 (10 + IH2_BASE) 183*7e0a9e62SArnd Bergmann #define INT_7XX_McBSP1TX (11 + IH2_BASE) 184*7e0a9e62SArnd Bergmann #define INT_7XX_McBSP1RX (12 + IH2_BASE) 185*7e0a9e62SArnd Bergmann #define INT_7XX_McBSP1RX_OF (13 + IH2_BASE) 186*7e0a9e62SArnd Bergmann #define INT_7XX_UART_MODEM_IRDA_2 (14 + IH2_BASE) 187*7e0a9e62SArnd Bergmann #define INT_7XX_UART_MODEM_1 (15 + IH2_BASE) 188*7e0a9e62SArnd Bergmann #define INT_7XX_MCSI (16 + IH2_BASE) 189*7e0a9e62SArnd Bergmann #define INT_7XX_uWireTX (17 + IH2_BASE) 190*7e0a9e62SArnd Bergmann #define INT_7XX_uWireRX (18 + IH2_BASE) 191*7e0a9e62SArnd Bergmann #define INT_7XX_SMC_CD (19 + IH2_BASE) 192*7e0a9e62SArnd Bergmann #define INT_7XX_SMC_IREQ (20 + IH2_BASE) 193*7e0a9e62SArnd Bergmann #define INT_7XX_HDQ_1WIRE (21 + IH2_BASE) 194*7e0a9e62SArnd Bergmann #define INT_7XX_TIMER32K (22 + IH2_BASE) 195*7e0a9e62SArnd Bergmann #define INT_7XX_MMC_SDIO (23 + IH2_BASE) 196*7e0a9e62SArnd Bergmann #define INT_7XX_UPLD (24 + IH2_BASE) 197*7e0a9e62SArnd Bergmann #define INT_7XX_USB_HHC_1 (27 + IH2_BASE) 198*7e0a9e62SArnd Bergmann #define INT_7XX_USB_HHC_2 (28 + IH2_BASE) 199*7e0a9e62SArnd Bergmann #define INT_7XX_USB_GENI (29 + IH2_BASE) 200*7e0a9e62SArnd Bergmann #define INT_7XX_USB_OTG (30 + IH2_BASE) 201*7e0a9e62SArnd Bergmann #define INT_7XX_CAMERA_IF (31 + IH2_BASE) 202*7e0a9e62SArnd Bergmann #define INT_7XX_RNG (32 + IH2_BASE) 203*7e0a9e62SArnd Bergmann #define INT_7XX_DUAL_MODE_TIMER (33 + IH2_BASE) 204*7e0a9e62SArnd Bergmann #define INT_7XX_DBB_RF_EN (34 + IH2_BASE) 205*7e0a9e62SArnd Bergmann #define INT_7XX_MPUIO_KEYPAD (35 + IH2_BASE) 206*7e0a9e62SArnd Bergmann #define INT_7XX_SHA1_MD5 (36 + IH2_BASE) 207*7e0a9e62SArnd Bergmann #define INT_7XX_SPI_100K_2 (37 + IH2_BASE) 208*7e0a9e62SArnd Bergmann #define INT_7XX_RNG_IDLE (38 + IH2_BASE) 209*7e0a9e62SArnd Bergmann #define INT_7XX_MPUIO (39 + IH2_BASE) 210*7e0a9e62SArnd Bergmann #define INT_7XX_LLPC_LCD_CTRL_CAN_BE_OFF (40 + IH2_BASE) 211*7e0a9e62SArnd Bergmann #define INT_7XX_LLPC_OE_FALLING (41 + IH2_BASE) 212*7e0a9e62SArnd Bergmann #define INT_7XX_LLPC_OE_RISING (42 + IH2_BASE) 213*7e0a9e62SArnd Bergmann #define INT_7XX_LLPC_VSYNC (43 + IH2_BASE) 214*7e0a9e62SArnd Bergmann #define INT_7XX_WAKE_UP_REQ (46 + IH2_BASE) 215*7e0a9e62SArnd Bergmann #define INT_7XX_DMA_CH6 (53 + IH2_BASE) 216*7e0a9e62SArnd Bergmann #define INT_7XX_DMA_CH7 (54 + IH2_BASE) 217*7e0a9e62SArnd Bergmann #define INT_7XX_DMA_CH8 (55 + IH2_BASE) 218*7e0a9e62SArnd Bergmann #define INT_7XX_DMA_CH9 (56 + IH2_BASE) 219*7e0a9e62SArnd Bergmann #define INT_7XX_DMA_CH10 (57 + IH2_BASE) 220*7e0a9e62SArnd Bergmann #define INT_7XX_DMA_CH11 (58 + IH2_BASE) 221*7e0a9e62SArnd Bergmann #define INT_7XX_DMA_CH12 (59 + IH2_BASE) 222*7e0a9e62SArnd Bergmann #define INT_7XX_DMA_CH13 (60 + IH2_BASE) 223*7e0a9e62SArnd Bergmann #define INT_7XX_DMA_CH14 (61 + IH2_BASE) 224*7e0a9e62SArnd Bergmann #define INT_7XX_DMA_CH15 (62 + IH2_BASE) 225*7e0a9e62SArnd Bergmann #define INT_7XX_NAND (63 + IH2_BASE) 226*7e0a9e62SArnd Bergmann 227*7e0a9e62SArnd Bergmann /* Max. 128 level 2 IRQs (OMAP1610), 192 GPIOs (OMAP730/850) and 228*7e0a9e62SArnd Bergmann * 16 MPUIO lines */ 229*7e0a9e62SArnd Bergmann #define OMAP_MAX_GPIO_LINES 192 230*7e0a9e62SArnd Bergmann #define IH_GPIO_BASE (128 + IH2_BASE) 231*7e0a9e62SArnd Bergmann #define IH_MPUIO_BASE (OMAP_MAX_GPIO_LINES + IH_GPIO_BASE) 232*7e0a9e62SArnd Bergmann #define OMAP_IRQ_END (IH_MPUIO_BASE + 16) 233*7e0a9e62SArnd Bergmann 234*7e0a9e62SArnd Bergmann #define OMAP_IRQ_BIT(irq) (1 << ((irq - NR_IRQS_LEGACY) % 32)) 235*7e0a9e62SArnd Bergmann 236*7e0a9e62SArnd Bergmann #ifdef CONFIG_FIQ 237*7e0a9e62SArnd Bergmann #define FIQ_START 1024 238*7e0a9e62SArnd Bergmann #endif 239*7e0a9e62SArnd Bergmann 240*7e0a9e62SArnd Bergmann #endif 241