Taniya Das | 43bcdd6 | 2011-12-02 17:33:27 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2012, Code Aurora Forum. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | #ifndef __ASM_ARCH_MSM_IRQS_8625_H |
| 14 | #define __ASM_ARCH_MSM_IRQS_8625_H |
| 15 | |
| 16 | #define GIC_PPI_START 16 |
| 17 | #define GIC_SPI_START 32 |
| 18 | |
Taniya Das | ea4263f9 | 2012-08-22 18:52:51 +0530 | [diff] [blame] | 19 | #ifdef CONFIG_MSM_FIQ |
| 20 | #define FIQ_START 0 |
| 21 | #endif |
| 22 | |
Taniya Das | 43bcdd6 | 2011-12-02 17:33:27 +0530 | [diff] [blame] | 23 | /* As per QGIC2 PPI 16 aka 0 is reserved */ |
| 24 | #define MSM8625_INT_A5_PMU_IRQ (GIC_PPI_START + 1) |
| 25 | #define MSM8625_INT_DEBUG_TIMER_EXP (GIC_PPI_START + 2) |
| 26 | #define MSM8625_INT_GP_TIMER_EXP (GIC_PPI_START + 3) |
| 27 | #define MSM8625_INT_COMMRX (GIC_PPI_START + 4) |
| 28 | #define MSM8625_INT_COMMTX (GIC_PPI_START + 5) |
| 29 | |
| 30 | /* rest of the PPI's not used |
| 31 | */ |
| 32 | |
| 33 | #define MSM8625_INT_A9_M2A_0 (GIC_SPI_START + 0) |
| 34 | #define MSM8625_INT_A9_M2A_1 (GIC_SPI_START + 1) |
| 35 | #define MSM8625_INT_A9_M2A_2 (GIC_SPI_START + 2) |
| 36 | #define MSM8625_INT_A9_M2A_3 (GIC_SPI_START + 3) |
| 37 | #define MSM8625_INT_A9_M2A_4 (GIC_SPI_START + 4) |
| 38 | #define MSM8625_INT_A9_M2A_5 (GIC_SPI_START + 5) |
| 39 | #define MSM8625_INT_A9_M2A_6 (GIC_SPI_START + 6) |
| 40 | #define MSM8625_INT_ACSR_MP_CORE_IPC0 (GIC_SPI_START + 7) |
| 41 | #define MSM8625_INT_ACSR_MP_CORE_IPC1 (GIC_SPI_START + 8) |
| 42 | #define MSM8625_INT_UART1 (GIC_SPI_START + 9) |
| 43 | #define MSM8625_INT_UART2 (GIC_SPI_START + 10) |
| 44 | #define MSM8625_INT_UART3 (GIC_SPI_START + 11) |
| 45 | #define MSM8625_INT_UART1_RX (GIC_SPI_START + 12) |
| 46 | #define MSM8625_INT_UART2_RX (GIC_SPI_START + 13) |
| 47 | #define MSM8625_INT_UART3_RX (GIC_SPI_START + 14) |
| 48 | #define MSM8625_INT_USB_OTG (GIC_SPI_START + 15) |
| 49 | #define MSM8625_INT_DSI_IRQ (GIC_SPI_START + 16) |
| 50 | #define MSM8625_INT_CSI_IRQ_1 (GIC_SPI_START + 17) |
| 51 | #define MSM8625_INT_CSI_IRQ_0 (GIC_SPI_START + 18) |
| 52 | #define MSM8625_INT_MDP (GIC_SPI_START + 19) |
| 53 | #define MSM8625_INT_GRAPHICS (GIC_SPI_START + 20) |
| 54 | #define MSM8625_INT_ADM_AARM (GIC_SPI_START + 21) |
| 55 | #define MSM8625_INT_ADSP_A11 (GIC_SPI_START + 22) |
| 56 | #define MSM8625_INT_ADSP_A9_A11 (GIC_SPI_START + 23) |
| 57 | #define MSM8625_INT_SDC1_0 (GIC_SPI_START + 24) |
| 58 | #define MSM8625_INT_SDC1_1 (GIC_SPI_START + 25) |
| 59 | #define MSM8625_INT_SDC2_0 (GIC_SPI_START + 26) |
| 60 | #define MSM8625_INT_SDC2_1 (GIC_SPI_START + 27) |
| 61 | #define MSM8625_INT_KEYSENSE (GIC_SPI_START + 28) |
| 62 | #define MSM8625_INT_TCHSCRN_SSBI (GIC_SPI_START + 29) |
| 63 | #define MSM8625_INT_TCHSCRN1 (GIC_SPI_START + 30) |
| 64 | #define MSM8625_INT_TCHSCRN2 (GIC_SPI_START + 31) |
| 65 | |
| 66 | #define MSM8625_INT_GPIO_GROUP1 (GIC_SPI_START + 32 + 0) |
| 67 | #define MSM8625_INT_GPIO_GROUP2 (GIC_SPI_START + 32 + 1) |
| 68 | #define MSM8625_INT_PWB_I2C (GIC_SPI_START + 32 + 2) |
| 69 | #define MSM8625_INT_SOFTRESET (GIC_SPI_START + 32 + 3) |
| 70 | #define MSM8625_INT_NAND_WR_ER_DONE (GIC_SPI_START + 32 + 4) |
| 71 | #define MSM8625_INT_NAND_OP_DONE (GIC_SPI_START + 32 + 5) |
| 72 | #define MSM8625_INT_PBUS_ARM11 (GIC_SPI_START + 32 + 6) |
| 73 | #define MSM8625_INT_AXI_MPU_SMI (GIC_SPI_START + 32 + 7) |
| 74 | #define MSM8625_INT_AXI_MPU_EBI1 (GIC_SPI_START + 32 + 8) |
| 75 | #define MSM8625_INT_AD_HSSD (GIC_SPI_START + 32 + 9) |
| 76 | #define MSM8625_INT_NOTUSED (GIC_SPI_START + 32 + 10) |
| 77 | #define MSM8625_INT_ARM11_DMA (GIC_SPI_START + 32 + 11) |
| 78 | #define MSM8625_INT_TSIF_IRQ (GIC_SPI_START + 32 + 12) |
| 79 | #define MSM8625_INT_UART1DM_IRQ (GIC_SPI_START + 32 + 13) |
| 80 | #define MSM8625_INT_UART1DM_RX (GIC_SPI_START + 32 + 14) |
| 81 | #define MSM8625_INT_USB_HS (GIC_SPI_START + 32 + 15) |
| 82 | #define MSM8625_INT_SDC3_0 (GIC_SPI_START + 32 + 16) |
| 83 | #define MSM8625_INT_SDC3_1 (GIC_SPI_START + 32 + 17) |
| 84 | #define MSM8625_INT_SDC4_0 (GIC_SPI_START + 32 + 18) |
| 85 | #define MSM8625_INT_SDC4_1 (GIC_SPI_START + 32 + 19) |
| 86 | #define MSM8625_INT_UART2DM_IRQ (GIC_SPI_START + 32 + 20) |
| 87 | #define MSM8625_INT_UART2DM_RX (GIC_SPI_START + 32 + 21) |
| 88 | #define MSM8625_INT_L2CC_EM (GIC_SPI_START + 32 + 22) |
| 89 | #define MSM8625_INT_L2CC_INTR (GIC_SPI_START + 32 + 23) |
| 90 | #define MSM8625_INT_CE_IRQ (GIC_SPI_START + 32 + 24) |
Kaushal Kumar | c0e5d67 | 2012-07-31 16:07:49 +0530 | [diff] [blame] | 91 | #define MSM8625_INT_CPR_IRQ0 (GIC_SPI_START + 32 + 25) |
| 92 | #define MSM8625_INT_CPR_IRQ1 (GIC_SPI_START + 32 + 26) |
| 93 | #define MSM8625_INT_CPR_IRQ2 (GIC_SPI_START + 32 + 27) |
tirupathireddy | 1c543eb | 2012-09-20 16:37:01 +0530 | [diff] [blame] | 94 | #define MSM8625_INT_ACSR_MP_CORE_IPC2 (GIC_SPI_START + 32 + 28) |
| 95 | #define MSM8625_INT_ACSR_MP_CORE_IPC3 (GIC_SPI_START + 32 + 29) |
Taniya Das | 43bcdd6 | 2011-12-02 17:33:27 +0530 | [diff] [blame] | 96 | |
| 97 | #define MSM8625_INT_ADSP_A11_SMSM MSM8625_INT_ADSP_A11 |
| 98 | #endif |