Path: blob/master/arch/arm/mach-msm/include/mach/irqs-8960.h
17687 views
/* Copyright (c) 2011 Code Aurora Forum. All rights reserved.1*2* This program is free software; you can redistribute it and/or modify3* it under the terms of the GNU General Public License version 2 and4* only version 2 as published by the Free Software Foundation.5*6* This program is distributed in the hope that it will be useful,7* but WITHOUT ANY WARRANTY; without even the implied warranty of8* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the9* GNU General Public License for more details.10*/1112#ifndef __ASM_ARCH_MSM_IRQS_8960_H13#define __ASM_ARCH_MSM_IRQS_8960_H1415/* MSM ACPU Interrupt Numbers */1617/* 0-15: STI/SGI (software triggered/generated interrupts)1816-31: PPI (private peripheral interrupts)1932+: SPI (shared peripheral interrupts) */2021#define GIC_PPI_START 1622#define GIC_SPI_START 322324#define INT_VGIC (GIC_PPI_START + 0)25#define INT_DEBUG_TIMER_EXP (GIC_PPI_START + 1)26#define INT_GP_TIMER_EXP (GIC_PPI_START + 2)27#define INT_GP_TIMER2_EXP (GIC_PPI_START + 3)28#define WDT0_ACCSCSSNBARK_INT (GIC_PPI_START + 4)29#define WDT1_ACCSCSSNBARK_INT (GIC_PPI_START + 5)30#define AVS_SVICINT (GIC_PPI_START + 6)31#define AVS_SVICINTSWDONE (GIC_PPI_START + 7)32#define CPU_DBGCPUXCOMMRXFULL (GIC_PPI_START + 8)33#define CPU_DBGCPUXCOMMTXEMPTY (GIC_PPI_START + 9)34#define CPU_SICCPUXPERFMONIRPTREQ (GIC_PPI_START + 10)35#define SC_AVSCPUXDOWN (GIC_PPI_START + 11)36#define SC_AVSCPUXUP (GIC_PPI_START + 12)37#define SC_SICCPUXACGIRPTREQ (GIC_PPI_START + 13)38#define SC_SICCPUXEXTFAULTIRPTREQ (GIC_PPI_START + 14)39/* PPI 15 is unused */4041#define SC_SICMPUIRPTREQ (GIC_SPI_START + 0)42#define SC_SICL2IRPTREQ (GIC_SPI_START + 1)43#define SC_SICL2PERFMONIRPTREQ (GIC_SPI_START + 2)44#define SC_SICAGCIRPTREQ (GIC_SPI_START + 3)45#define TLMM_APCC_DIR_CONN_IRQ_0 (GIC_SPI_START + 4)46#define TLMM_APCC_DIR_CONN_IRQ_1 (GIC_SPI_START + 5)47#define TLMM_APCC_DIR_CONN_IRQ_2 (GIC_SPI_START + 6)48#define TLMM_APCC_DIR_CONN_IRQ_3 (GIC_SPI_START + 7)49#define TLMM_APCC_DIR_CONN_IRQ_4 (GIC_SPI_START + 8)50#define TLMM_APCC_DIR_CONN_IRQ_5 (GIC_SPI_START + 9)51#define TLMM_APCC_DIR_CONN_IRQ_6 (GIC_SPI_START + 10)52#define TLMM_APCC_DIR_CONN_IRQ_7 (GIC_SPI_START + 11)53#define TLMM_APCC_DIR_CONN_IRQ_8 (GIC_SPI_START + 12)54#define TLMM_APCC_DIR_CONN_IRQ_9 (GIC_SPI_START + 13)55#define PM8921_SEC_IRQ_103 (GIC_SPI_START + 14)56#define PM8018_SEC_IRQ_106 (GIC_SPI_START + 15)57#define TLMM_APCC_SUMMARY_IRQ (GIC_SPI_START + 16)58#define SPDM_RT_1_IRQ (GIC_SPI_START + 17)59#define SPDM_DIAG_IRQ (GIC_SPI_START + 18)60#define RPM_APCC_CPU0_GP_HIGH_IRQ (GIC_SPI_START + 19)61#define RPM_APCC_CPU0_GP_MEDIUM_IRQ (GIC_SPI_START + 20)62#define RPM_APCC_CPU0_GP_LOW_IRQ (GIC_SPI_START + 21)63#define RPM_APCC_CPU0_WAKE_UP_IRQ (GIC_SPI_START + 22)64#define RPM_APCC_CPU1_GP_HIGH_IRQ (GIC_SPI_START + 23)65#define RPM_APCC_CPU1_GP_MEDIUM_IRQ (GIC_SPI_START + 24)66#define RPM_APCC_CPU1_GP_LOW_IRQ (GIC_SPI_START + 25)67#define RPM_APCC_CPU1_WAKE_UP_IRQ (GIC_SPI_START + 26)68#define SSBI2_2_SC_CPU0_SECURE_IRQ (GIC_SPI_START + 27)69#define SSBI2_2_SC_CPU0_NON_SECURE_IRQ (GIC_SPI_START + 28)70#define SSBI2_1_SC_CPU0_SECURE_IRQ (GIC_SPI_START + 29)71#define SSBI2_1_SC_CPU0_NON_SECURE_IRQ (GIC_SPI_START + 30)72#define MSMC_SC_SEC_CE_IRQ (GIC_SPI_START + 31)73#define MSMC_SC_PRI_CE_IRQ (GIC_SPI_START + 32)74#define SLIMBUS0_CORE_EE1_IRQ (GIC_SPI_START + 33)75#define SLIMBUS0_BAM_EE1_IRQ (GIC_SPI_START + 34)76#define Q6FW_WDOG_EXPIRED_IRQ (GIC_SPI_START + 35)77#define Q6SW_WDOG_EXPIRED_IRQ (GIC_SPI_START + 36)78#define MSS_TO_APPS_IRQ_0 (GIC_SPI_START + 37)79#define MSS_TO_APPS_IRQ_1 (GIC_SPI_START + 38)80#define MSS_TO_APPS_IRQ_2 (GIC_SPI_START + 39)81#define MSS_TO_APPS_IRQ_3 (GIC_SPI_START + 40)82#define MSS_TO_APPS_IRQ_4 (GIC_SPI_START + 41)83#define MSS_TO_APPS_IRQ_5 (GIC_SPI_START + 42)84#define MSS_TO_APPS_IRQ_6 (GIC_SPI_START + 43)85#define MSS_TO_APPS_IRQ_7 (GIC_SPI_START + 44)86#define MSS_TO_APPS_IRQ_8 (GIC_SPI_START + 45)87#define MSS_TO_APPS_IRQ_9 (GIC_SPI_START + 46)88#define VPE_IRQ (GIC_SPI_START + 47)89#define VFE_IRQ (GIC_SPI_START + 48)90#define VCODEC_IRQ (GIC_SPI_START + 49)91#define TV_ENC_IRQ (GIC_SPI_START + 50)92#define SMMU_VPE_CB_SC_SECURE_IRQ (GIC_SPI_START + 51)93#define SMMU_VPE_CB_SC_NON_SECURE_IRQ (GIC_SPI_START + 52)94#define SMMU_VFE_CB_SC_SECURE_IRQ (GIC_SPI_START + 53)95#define SMMU_VFE_CB_SC_NON_SECURE_IRQ (GIC_SPI_START + 54)96#define SMMU_VCODEC_B_CB_SC_SECURE_IRQ (GIC_SPI_START + 55)97#define SMMU_VCODEC_B_CB_SC_NON_SECURE_IRQ (GIC_SPI_START + 56)98#define SMMU_VCODEC_A_CB_SC_SECURE_IRQ (GIC_SPI_START + 57)99#define SMMU_VCODEC_A_CB_SC_NON_SECURE_IRQ (GIC_SPI_START + 58)100#define SMMU_ROT_CB_SC_SECURE_IRQ (GIC_SPI_START + 59)101#define SMMU_ROT_CB_SC_NON_SECURE_IRQ (GIC_SPI_START + 60)102#define SMMU_MDP1_CB_SC_SECURE_IRQ (GIC_SPI_START + 61)103#define SMMU_MDP1_CB_SC_NON_SECURE_IRQ (GIC_SPI_START + 62)104#define SMMU_MDP0_CB_SC_SECURE_IRQ (GIC_SPI_START + 63)105#define SMMU_MDP0_CB_SC_NON_SECURE_IRQ (GIC_SPI_START + 64)106#define SMMU_JPEGD_CB_SC_SECURE_IRQ (GIC_SPI_START + 65)107#define SMMU_JPEGD_CB_SC_NON_SECURE_IRQ (GIC_SPI_START + 66)108#define SMMU_IJPEG_CB_SC_SECURE_IRQ (GIC_SPI_START + 67)109#define SMMU_IJPEG_CB_SC_NON_SECURE_IRQ (GIC_SPI_START + 68)110#define SMMU_GFX3D_CB_SC_SECURE_IRQ (GIC_SPI_START + 69)111#define SMMU_GFX3D_CB_SC_NON_SECURE_IRQ (GIC_SPI_START + 70)112#define SMMU_GFX2D0_CB_SC_SECURE_IRQ (GIC_SPI_START + 71)113#define SMMU_GFX2D0_CB_SC_NON_SECURE_IRQ (GIC_SPI_START + 72)114#define ROT_IRQ (GIC_SPI_START + 73)115#define MMSS_FABRIC_IRQ (GIC_SPI_START + 74)116#define MDP_IRQ (GIC_SPI_START + 75)117#define JPEGD_IRQ (GIC_SPI_START + 76)118#define JPEG_IRQ (GIC_SPI_START + 77)119#define MMSS_IMEM_IRQ (GIC_SPI_START + 78)120#define HDMI_IRQ (GIC_SPI_START + 79)121#define GFX3D_IRQ (GIC_SPI_START + 80)122#define GFX2D0_IRQ (GIC_SPI_START + 81)123#define DSI1_IRQ (GIC_SPI_START + 82)124#define CSI_1_IRQ (GIC_SPI_START + 83)125#define CSI_0_IRQ (GIC_SPI_START + 84)126#define LPASS_SCSS_AUDIO_IF_OUT0_IRQ (GIC_SPI_START + 85)127#define LPASS_SCSS_MIDI_IRQ (GIC_SPI_START + 86)128#define LPASS_Q6SS_WDOG_EXPIRED (GIC_SPI_START + 87)129#define LPASS_SCSS_GP_LOW_IRQ (GIC_SPI_START + 88)130#define LPASS_SCSS_GP_MEDIUM_IRQ (GIC_SPI_START + 89)131#define LPASS_SCSS_GP_HIGH_IRQ (GIC_SPI_START + 90)132#define TOP_IMEM_IRQ (GIC_SPI_START + 91)133#define FABRIC_SYS_IRQ (GIC_SPI_START + 92)134#define FABRIC_APPS_IRQ (GIC_SPI_START + 93)135#define USB1_HS_BAM_IRQ (GIC_SPI_START + 94)136#define SDC4_BAM_IRQ (GIC_SPI_START + 95)137#define SDC3_BAM_IRQ (GIC_SPI_START + 96)138#define SDC2_BAM_IRQ (GIC_SPI_START + 97)139#define SDC1_BAM_IRQ (GIC_SPI_START + 98)140#define FABRIC_SPS_IRQ (GIC_SPI_START + 99)141#define USB1_HS_IRQ (GIC_SPI_START + 100)142#define SDC4_IRQ_0 (GIC_SPI_START + 101)143#define SDC3_IRQ_0 (GIC_SPI_START + 102)144#define SDC2_IRQ_0 (GIC_SPI_START + 103)145#define SDC1_IRQ_0 (GIC_SPI_START + 104)146#define SPS_BAM_DMA_IRQ (GIC_SPI_START + 105)147#define SPS_SEC_VIOL_IRQ (GIC_SPI_START + 106)148#define SPS_MTI_0 (GIC_SPI_START + 107)149#define SPS_MTI_1 (GIC_SPI_START + 108)150#define SPS_MTI_2 (GIC_SPI_START + 109)151#define SPS_MTI_3 (GIC_SPI_START + 110)152#define SPS_MTI_4 (GIC_SPI_START + 111)153#define SPS_MTI_5 (GIC_SPI_START + 112)154#define SPS_MTI_6 (GIC_SPI_START + 113)155#define SPS_MTI_7 (GIC_SPI_START + 114)156#define SPS_MTI_8 (GIC_SPI_START + 115)157#define SPS_MTI_9 (GIC_SPI_START + 116)158#define SPS_MTI_10 (GIC_SPI_START + 117)159#define SPS_MTI_11 (GIC_SPI_START + 118)160#define SPS_MTI_12 (GIC_SPI_START + 119)161#define SPS_MTI_13 (GIC_SPI_START + 120)162#define SPS_MTI_14 (GIC_SPI_START + 121)163#define SPS_MTI_15 (GIC_SPI_START + 122)164#define SPS_MTI_16 (GIC_SPI_START + 123)165#define SPS_MTI_17 (GIC_SPI_START + 124)166#define SPS_MTI_18 (GIC_SPI_START + 125)167#define SPS_MTI_19 (GIC_SPI_START + 126)168#define SPS_MTI_20 (GIC_SPI_START + 127)169#define SPS_MTI_21 (GIC_SPI_START + 128)170#define SPS_MTI_22 (GIC_SPI_START + 129)171#define SPS_MTI_23 (GIC_SPI_START + 130)172#define SPS_MTI_24 (GIC_SPI_START + 131)173#define SPS_MTI_25 (GIC_SPI_START + 132)174#define SPS_MTI_26 (GIC_SPI_START + 133)175#define SPS_MTI_27 (GIC_SPI_START + 134)176#define SPS_MTI_28 (GIC_SPI_START + 135)177#define SPS_MTI_29 (GIC_SPI_START + 136)178#define SPS_MTI_30 (GIC_SPI_START + 137)179#define SPS_MTI_31 (GIC_SPI_START + 138)180#define CSIPHY_4LN_IRQ (GIC_SPI_START + 139)181#define CSIPHY_2LN_IRQ (GIC_SPI_START + 140)182#define USB2_IRQ (GIC_SPI_START + 141)183#define USB1_IRQ (GIC_SPI_START + 142)184#define TSSC_SSBI_IRQ (GIC_SPI_START + 143)185#define TSSC_SAMPLE_IRQ (GIC_SPI_START + 144)186#define TSSC_PENUP_IRQ (GIC_SPI_START + 145)187#define GSBI1_UARTDM_IRQ (GIC_SPI_START + 146)188#define GSBI1_QUP_IRQ (GIC_SPI_START + 147)189#define GSBI2_UARTDM_IRQ (GIC_SPI_START + 148)190#define GSBI2_QUP_IRQ (GIC_SPI_START + 149)191#define GSBI3_UARTDM_IRQ (GIC_SPI_START + 150)192#define GSBI3_QUP_IRQ (GIC_SPI_START + 151)193#define GSBI4_UARTDM_IRQ (GIC_SPI_START + 152)194#define GSBI4_QUP_IRQ (GIC_SPI_START + 153)195#define GSBI5_UARTDM_IRQ (GIC_SPI_START + 154)196#define GSBI5_QUP_IRQ (GIC_SPI_START + 155)197#define GSBI6_UARTDM_IRQ (GIC_SPI_START + 156)198#define GSBI6_QUP_IRQ (GIC_SPI_START + 157)199#define GSBI7_UARTDM_IRQ (GIC_SPI_START + 158)200#define GSBI7_QUP_IRQ (GIC_SPI_START + 159)201#define GSBI8_UARTDM_IRQ (GIC_SPI_START + 160)202#define GSBI8_QUP_IRQ (GIC_SPI_START + 161)203#define TSIF_TSPP_IRQ (GIC_SPI_START + 162)204#define TSIF_BAM_IRQ (GIC_SPI_START + 163)205#define TSIF2_IRQ (GIC_SPI_START + 164)206#define TSIF1_IRQ (GIC_SPI_START + 165)207#define DSI2_IRQ (GIC_SPI_START + 166)208#define ISPIF_IRQ (GIC_SPI_START + 167)209#define MSMC_SC_SEC_TMR_IRQ (GIC_SPI_START + 168)210#define MSMC_SC_SEC_WDOG_BARK_IRQ (GIC_SPI_START + 169)211#define INT_ADM0_SCSS_0_IRQ (GIC_SPI_START + 170)212#define INT_ADM0_SCSS_1_IRQ (GIC_SPI_START + 171)213#define INT_ADM0_SCSS_2_IRQ (GIC_SPI_START + 172)214#define INT_ADM0_SCSS_3_IRQ (GIC_SPI_START + 173)215#define CC_SCSS_WDT1CPU1BITEEXPIRED (GIC_SPI_START + 174)216#define CC_SCSS_WDT1CPU0BITEEXPIRED (GIC_SPI_START + 175)217#define CC_SCSS_WDT0CPU1BITEEXPIRED (GIC_SPI_START + 176)218#define CC_SCSS_WDT0CPU0BITEEXPIRED (GIC_SPI_START + 177)219#define TSENS_UPPER_LOWER_INT (GIC_SPI_START + 178)220#define SSBI2_2_SC_CPU1_SECURE_INT (GIC_SPI_START + 179)221#define SSBI2_2_SC_CPU1_NON_SECURE_INT (GIC_SPI_START + 180)222#define SSBI2_1_SC_CPU1_SECURE_INT (GIC_SPI_START + 181)223#define SSBI2_1_SC_CPU1_NON_SECURE_INT (GIC_SPI_START + 182)224#define XPU_SUMMARY_IRQ (GIC_SPI_START + 183)225#define BUS_EXCEPTION_SUMMARY_IRQ (GIC_SPI_START + 184)226#define HSDDRX_EBI1CH0_IRQ (GIC_SPI_START + 185)227#define HSDDRX_EBI1CH1_IRQ (GIC_SPI_START + 186)228#define SDC5_BAM_IRQ (GIC_SPI_START + 187)229#define SDC5_IRQ_0 (GIC_SPI_START + 188)230#define GSBI9_UARTDM_IRQ (GIC_SPI_START + 189)231#define GSBI9_QUP_IRQ (GIC_SPI_START + 190)232#define GSBI10_UARTDM_IRQ (GIC_SPI_START + 191)233#define GSBI10_QUP_IRQ (GIC_SPI_START + 192)234#define GSBI11_UARTDM_IRQ (GIC_SPI_START + 193)235#define GSBI11_QUP_IRQ (GIC_SPI_START + 194)236#define GSBI12_UARTDM_IRQ (GIC_SPI_START + 195)237#define GSBI12_QUP_IRQ (GIC_SPI_START + 196)238#define RIVA_APSS_LTECOEX_IRQ (GIC_SPI_START + 197)239#define RIVA_APSS_SPARE_IRQ (GIC_SPI_START + 198)240#define RIVA_APSS_WDOG_BITE_RESET_RDY_IRQ (GIC_SPI_START + 199)241#define RIVA_ASS_RESET_DONE_IRQ (GIC_SPI_START + 200)242#define RIVA_APSS_ASIC_IRQ (GIC_SPI_START + 201)243#define RIVA_APPS_WLAN_RX_DATA_AVAIL_IRQ (GIC_SPI_START + 202)244#define RIVA_APPS_WLAN_DATA_XFER_DONE_IRQ (GIC_SPI_START + 203)245#define RIVA_APPS_WLAM_SMSM_IRQ (GIC_SPI_START + 204)246#define RIVA_APPS_LOG_CTRL_IRQ (GIC_SPI_START + 205)247#define RIVA_APPS_FM_CTRL_IRQ (GIC_SPI_START + 206)248#define RIVA_APPS_HCI_IRQ (GIC_SPI_START + 207)249#define RIVA_APPS_WLAN_CTRL_IRQ (GIC_SPI_START + 208)250#define A2_BAM_IRQ (GIC_SPI_START + 209)251#define SMMU_GFX2D1_CB_SC_SECURE_IRQ (GIC_SPI_START + 210)252#define SMMU_GFX2D1_CB_SC_NON_SECURE_IRQ (GIC_SPI_START + 211)253#define GFX2D1_IRQ (GIC_SPI_START + 212)254#define PPSS_WDOG_TIMER_IRQ (GIC_SPI_START + 213)255#define SPS_SLIMBUS_CORE_EE0_IRQ (GIC_SPI_START + 214)256#define SPS_SLIMBUS_BAM_EE0_IRQ (GIC_SPI_START + 215)257#define QDSS_ETB_IRQ (GIC_SPI_START + 216)258#define QDSS_CTI2KPSS_CPU1_IRQ (GIC_SPI_START + 217)259#define QDSS_CTI2KPSS_CPU0_IRQ (GIC_SPI_START + 218)260#define TLMM_APCC_DIR_CONN_IRQ_16 (GIC_SPI_START + 219)261#define TLMM_APCC_DIR_CONN_IRQ_17 (GIC_SPI_START + 220)262#define TLMM_APCC_DIR_CONN_IRQ_18 (GIC_SPI_START + 221)263#define TLMM_APCC_DIR_CONN_IRQ_19 (GIC_SPI_START + 222)264#define TLMM_APCC_DIR_CONN_IRQ_20 (GIC_SPI_START + 223)265#define TLMM_APCC_DIR_CONN_IRQ_21 (GIC_SPI_START + 224)266#define PM8921_SEC_IRQ_104 (GIC_SPI_START + 225)267#define PM8018_SEC_IRQ_107 (GIC_SPI_START + 226)268269/* For now, use the maximum number of interrupts until a pending GIC issue270* is sorted out */271#define NR_MSM_IRQS 1020272#define NR_BOARD_IRQS 0273#define NR_GPIO_IRQS 0274275#endif276277278279