Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /* IRQ definitions for Marvell Dove 88AP510 SoC */
0003 
0004 #ifndef __ASM_ARCH_IRQS_H
0005 #define __ASM_ARCH_IRQS_H
0006 
0007 /*
0008  * Dove Low Interrupt Controller
0009  */
0010 #define IRQ_DOVE_BRIDGE     (1 + 0)
0011 #define IRQ_DOVE_H2C        (1 + 1)
0012 #define IRQ_DOVE_C2H        (1 + 2)
0013 #define IRQ_DOVE_NAND       (1 + 3)
0014 #define IRQ_DOVE_PDMA       (1 + 4)
0015 #define IRQ_DOVE_SPI1       (1 + 5)
0016 #define IRQ_DOVE_SPI0       (1 + 6)
0017 #define IRQ_DOVE_UART_0     (1 + 7)
0018 #define IRQ_DOVE_UART_1     (1 + 8)
0019 #define IRQ_DOVE_UART_2     (1 + 9)
0020 #define IRQ_DOVE_UART_3     (1 + 10)
0021 #define IRQ_DOVE_I2C        (1 + 11)
0022 #define IRQ_DOVE_GPIO_0_7   (1 + 12)
0023 #define IRQ_DOVE_GPIO_8_15  (1 + 13)
0024 #define IRQ_DOVE_GPIO_16_23 (1 + 14)
0025 #define IRQ_DOVE_PCIE0_ERR  (1 + 15)
0026 #define IRQ_DOVE_PCIE0      (1 + 16)
0027 #define IRQ_DOVE_PCIE1_ERR  (1 + 17)
0028 #define IRQ_DOVE_PCIE1      (1 + 18)
0029 #define IRQ_DOVE_I2S0       (1 + 19)
0030 #define IRQ_DOVE_I2S0_ERR   (1 + 20)
0031 #define IRQ_DOVE_I2S1       (1 + 21)
0032 #define IRQ_DOVE_I2S1_ERR   (1 + 22)
0033 #define IRQ_DOVE_USB_ERR    (1 + 23)
0034 #define IRQ_DOVE_USB0       (1 + 24)
0035 #define IRQ_DOVE_USB1       (1 + 25)
0036 #define IRQ_DOVE_GE00_RX    (1 + 26)
0037 #define IRQ_DOVE_GE00_TX    (1 + 27)
0038 #define IRQ_DOVE_GE00_MISC  (1 + 28)
0039 #define IRQ_DOVE_GE00_SUM   (1 + 29)
0040 #define IRQ_DOVE_GE00_ERR   (1 + 30)
0041 #define IRQ_DOVE_CRYPTO     (1 + 31)
0042 
0043 /*
0044  * Dove High Interrupt Controller
0045  */
0046 #define IRQ_DOVE_AC97       (1 + 32)
0047 #define IRQ_DOVE_PMU        (1 + 33)
0048 #define IRQ_DOVE_CAM        (1 + 34)
0049 #define IRQ_DOVE_SDIO0      (1 + 35)
0050 #define IRQ_DOVE_SDIO1      (1 + 36)
0051 #define IRQ_DOVE_SDIO0_WAKEUP   (1 + 37)
0052 #define IRQ_DOVE_SDIO1_WAKEUP   (1 + 38)
0053 #define IRQ_DOVE_XOR_00     (1 + 39)
0054 #define IRQ_DOVE_XOR_01     (1 + 40)
0055 #define IRQ_DOVE_XOR0_ERR   (1 + 41)
0056 #define IRQ_DOVE_XOR_10     (1 + 42)
0057 #define IRQ_DOVE_XOR_11     (1 + 43)
0058 #define IRQ_DOVE_XOR1_ERR   (1 + 44)
0059 #define IRQ_DOVE_LCD_DCON   (1 + 45)
0060 #define IRQ_DOVE_LCD1       (1 + 46)
0061 #define IRQ_DOVE_LCD0       (1 + 47)
0062 #define IRQ_DOVE_GPU        (1 + 48)
0063 #define IRQ_DOVE_PERFORM_MNTR   (1 + 49)
0064 #define IRQ_DOVE_VPRO_DMA1  (1 + 51)
0065 #define IRQ_DOVE_SSP_TIMER  (1 + 54)
0066 #define IRQ_DOVE_SSP        (1 + 55)
0067 #define IRQ_DOVE_MC_L2_ERR  (1 + 56)
0068 #define IRQ_DOVE_CRYPTO_ERR (1 + 59)
0069 #define IRQ_DOVE_GPIO_24_31 (1 + 60)
0070 #define IRQ_DOVE_HIGH_GPIO  (1 + 61)
0071 #define IRQ_DOVE_SATA       (1 + 62)
0072 
0073 /*
0074  * DOVE General Purpose Pins
0075  */
0076 #define IRQ_DOVE_GPIO_START 65
0077 #define NR_GPIO_IRQS        64
0078 
0079 /*
0080  * PMU interrupts
0081  */
0082 #define IRQ_DOVE_PMU_START  (IRQ_DOVE_GPIO_START + NR_GPIO_IRQS)
0083 #define NR_PMU_IRQS     7
0084 #define IRQ_DOVE_RTC        (IRQ_DOVE_PMU_START + 5)
0085 
0086 #define DOVE_NR_IRQS        (IRQ_DOVE_PMU_START + NR_PMU_IRQS)
0087 
0088 
0089 #endif