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