1*ce78179eSArnd Bergmann /* 2*ce78179eSArnd Bergmann * IRQ definitions for Marvell Dove 88AP510 SoC 3*ce78179eSArnd Bergmann * 4*ce78179eSArnd Bergmann * This file is licensed under the terms of the GNU General Public 5*ce78179eSArnd Bergmann * License version 2. This program is licensed "as is" without any 6*ce78179eSArnd Bergmann * warranty of any kind, whether express or implied. 7*ce78179eSArnd Bergmann */ 8*ce78179eSArnd Bergmann 9*ce78179eSArnd Bergmann #ifndef __ASM_ARCH_IRQS_H 10*ce78179eSArnd Bergmann #define __ASM_ARCH_IRQS_H 11*ce78179eSArnd Bergmann 12*ce78179eSArnd Bergmann /* 13*ce78179eSArnd Bergmann * Dove Low Interrupt Controller 14*ce78179eSArnd Bergmann */ 15*ce78179eSArnd Bergmann #define IRQ_DOVE_BRIDGE (1 + 0) 16*ce78179eSArnd Bergmann #define IRQ_DOVE_H2C (1 + 1) 17*ce78179eSArnd Bergmann #define IRQ_DOVE_C2H (1 + 2) 18*ce78179eSArnd Bergmann #define IRQ_DOVE_NAND (1 + 3) 19*ce78179eSArnd Bergmann #define IRQ_DOVE_PDMA (1 + 4) 20*ce78179eSArnd Bergmann #define IRQ_DOVE_SPI1 (1 + 5) 21*ce78179eSArnd Bergmann #define IRQ_DOVE_SPI0 (1 + 6) 22*ce78179eSArnd Bergmann #define IRQ_DOVE_UART_0 (1 + 7) 23*ce78179eSArnd Bergmann #define IRQ_DOVE_UART_1 (1 + 8) 24*ce78179eSArnd Bergmann #define IRQ_DOVE_UART_2 (1 + 9) 25*ce78179eSArnd Bergmann #define IRQ_DOVE_UART_3 (1 + 10) 26*ce78179eSArnd Bergmann #define IRQ_DOVE_I2C (1 + 11) 27*ce78179eSArnd Bergmann #define IRQ_DOVE_GPIO_0_7 (1 + 12) 28*ce78179eSArnd Bergmann #define IRQ_DOVE_GPIO_8_15 (1 + 13) 29*ce78179eSArnd Bergmann #define IRQ_DOVE_GPIO_16_23 (1 + 14) 30*ce78179eSArnd Bergmann #define IRQ_DOVE_PCIE0_ERR (1 + 15) 31*ce78179eSArnd Bergmann #define IRQ_DOVE_PCIE0 (1 + 16) 32*ce78179eSArnd Bergmann #define IRQ_DOVE_PCIE1_ERR (1 + 17) 33*ce78179eSArnd Bergmann #define IRQ_DOVE_PCIE1 (1 + 18) 34*ce78179eSArnd Bergmann #define IRQ_DOVE_I2S0 (1 + 19) 35*ce78179eSArnd Bergmann #define IRQ_DOVE_I2S0_ERR (1 + 20) 36*ce78179eSArnd Bergmann #define IRQ_DOVE_I2S1 (1 + 21) 37*ce78179eSArnd Bergmann #define IRQ_DOVE_I2S1_ERR (1 + 22) 38*ce78179eSArnd Bergmann #define IRQ_DOVE_USB_ERR (1 + 23) 39*ce78179eSArnd Bergmann #define IRQ_DOVE_USB0 (1 + 24) 40*ce78179eSArnd Bergmann #define IRQ_DOVE_USB1 (1 + 25) 41*ce78179eSArnd Bergmann #define IRQ_DOVE_GE00_RX (1 + 26) 42*ce78179eSArnd Bergmann #define IRQ_DOVE_GE00_TX (1 + 27) 43*ce78179eSArnd Bergmann #define IRQ_DOVE_GE00_MISC (1 + 28) 44*ce78179eSArnd Bergmann #define IRQ_DOVE_GE00_SUM (1 + 29) 45*ce78179eSArnd Bergmann #define IRQ_DOVE_GE00_ERR (1 + 30) 46*ce78179eSArnd Bergmann #define IRQ_DOVE_CRYPTO (1 + 31) 47*ce78179eSArnd Bergmann 48*ce78179eSArnd Bergmann /* 49*ce78179eSArnd Bergmann * Dove High Interrupt Controller 50*ce78179eSArnd Bergmann */ 51*ce78179eSArnd Bergmann #define IRQ_DOVE_AC97 (1 + 32) 52*ce78179eSArnd Bergmann #define IRQ_DOVE_PMU (1 + 33) 53*ce78179eSArnd Bergmann #define IRQ_DOVE_CAM (1 + 34) 54*ce78179eSArnd Bergmann #define IRQ_DOVE_SDIO0 (1 + 35) 55*ce78179eSArnd Bergmann #define IRQ_DOVE_SDIO1 (1 + 36) 56*ce78179eSArnd Bergmann #define IRQ_DOVE_SDIO0_WAKEUP (1 + 37) 57*ce78179eSArnd Bergmann #define IRQ_DOVE_SDIO1_WAKEUP (1 + 38) 58*ce78179eSArnd Bergmann #define IRQ_DOVE_XOR_00 (1 + 39) 59*ce78179eSArnd Bergmann #define IRQ_DOVE_XOR_01 (1 + 40) 60*ce78179eSArnd Bergmann #define IRQ_DOVE_XOR0_ERR (1 + 41) 61*ce78179eSArnd Bergmann #define IRQ_DOVE_XOR_10 (1 + 42) 62*ce78179eSArnd Bergmann #define IRQ_DOVE_XOR_11 (1 + 43) 63*ce78179eSArnd Bergmann #define IRQ_DOVE_XOR1_ERR (1 + 44) 64*ce78179eSArnd Bergmann #define IRQ_DOVE_LCD_DCON (1 + 45) 65*ce78179eSArnd Bergmann #define IRQ_DOVE_LCD1 (1 + 46) 66*ce78179eSArnd Bergmann #define IRQ_DOVE_LCD0 (1 + 47) 67*ce78179eSArnd Bergmann #define IRQ_DOVE_GPU (1 + 48) 68*ce78179eSArnd Bergmann #define IRQ_DOVE_PERFORM_MNTR (1 + 49) 69*ce78179eSArnd Bergmann #define IRQ_DOVE_VPRO_DMA1 (1 + 51) 70*ce78179eSArnd Bergmann #define IRQ_DOVE_SSP_TIMER (1 + 54) 71*ce78179eSArnd Bergmann #define IRQ_DOVE_SSP (1 + 55) 72*ce78179eSArnd Bergmann #define IRQ_DOVE_MC_L2_ERR (1 + 56) 73*ce78179eSArnd Bergmann #define IRQ_DOVE_CRYPTO_ERR (1 + 59) 74*ce78179eSArnd Bergmann #define IRQ_DOVE_GPIO_24_31 (1 + 60) 75*ce78179eSArnd Bergmann #define IRQ_DOVE_HIGH_GPIO (1 + 61) 76*ce78179eSArnd Bergmann #define IRQ_DOVE_SATA (1 + 62) 77*ce78179eSArnd Bergmann 78*ce78179eSArnd Bergmann /* 79*ce78179eSArnd Bergmann * DOVE General Purpose Pins 80*ce78179eSArnd Bergmann */ 81*ce78179eSArnd Bergmann #define IRQ_DOVE_GPIO_START 65 82*ce78179eSArnd Bergmann #define NR_GPIO_IRQS 64 83*ce78179eSArnd Bergmann 84*ce78179eSArnd Bergmann /* 85*ce78179eSArnd Bergmann * PMU interrupts 86*ce78179eSArnd Bergmann */ 87*ce78179eSArnd Bergmann #define IRQ_DOVE_PMU_START (IRQ_DOVE_GPIO_START + NR_GPIO_IRQS) 88*ce78179eSArnd Bergmann #define NR_PMU_IRQS 7 89*ce78179eSArnd Bergmann #define IRQ_DOVE_RTC (IRQ_DOVE_PMU_START + 5) 90*ce78179eSArnd Bergmann 91*ce78179eSArnd Bergmann #define DOVE_NR_IRQS (IRQ_DOVE_PMU_START + NR_PMU_IRQS) 92*ce78179eSArnd Bergmann 93*ce78179eSArnd Bergmann 94*ce78179eSArnd Bergmann #endif 95