diff options
Diffstat (limited to 'arch/arm/plat-s3c64xx/include/plat/irqs.h')
-rw-r--r-- | arch/arm/plat-s3c64xx/include/plat/irqs.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/arch/arm/plat-s3c64xx/include/plat/irqs.h b/arch/arm/plat-s3c64xx/include/plat/irqs.h index 3564dfbec85a..8bdfb27425e6 100644 --- a/arch/arm/plat-s3c64xx/include/plat/irqs.h +++ b/arch/arm/plat-s3c64xx/include/plat/irqs.h | |||
@@ -89,12 +89,12 @@ | |||
89 | #define IRQ_ARM_DMA S3C64XX_IRQ_VIC0(20) | 89 | #define IRQ_ARM_DMA S3C64XX_IRQ_VIC0(20) |
90 | #define IRQ_ARM_DMAS S3C64XX_IRQ_VIC0(21) | 90 | #define IRQ_ARM_DMAS S3C64XX_IRQ_VIC0(21) |
91 | #define IRQ_KEYPAD S3C64XX_IRQ_VIC0(22) | 91 | #define IRQ_KEYPAD S3C64XX_IRQ_VIC0(22) |
92 | #define IRQ_TIMER0 S3C64XX_IRQ_VIC0(23) | 92 | #define IRQ_TIMER0_VIC S3C64XX_IRQ_VIC0(23) |
93 | #define IRQ_TIMER1 S3C64XX_IRQ_VIC0(24) | 93 | #define IRQ_TIMER1_VIC S3C64XX_IRQ_VIC0(24) |
94 | #define IRQ_TIMER2 S3C64XX_IRQ_VIC0(25) | 94 | #define IRQ_TIMER2_VIC S3C64XX_IRQ_VIC0(25) |
95 | #define IRQ_WDT S3C64XX_IRQ_VIC0(26) | 95 | #define IRQ_WDT S3C64XX_IRQ_VIC0(26) |
96 | #define IRQ_TIMER3 S3C64XX_IRQ_VIC0(27) | 96 | #define IRQ_TIMER3_VIC S3C64XX_IRQ_VIC0(27) |
97 | #define IRQ_TIMER4 S3C64XX_IRQ_VIC0(28) | 97 | #define IRQ_TIMER4_VIC S3C64XX_IRQ_VIC0(28) |
98 | #define IRQ_LCD_FIFO S3C64XX_IRQ_VIC0(29) | 98 | #define IRQ_LCD_FIFO S3C64XX_IRQ_VIC0(29) |
99 | #define IRQ_LCD_VSYNC S3C64XX_IRQ_VIC0(30) | 99 | #define IRQ_LCD_VSYNC S3C64XX_IRQ_VIC0(30) |
100 | #define IRQ_LCD_SYSTEM S3C64XX_IRQ_VIC0(31) | 100 | #define IRQ_LCD_SYSTEM S3C64XX_IRQ_VIC0(31) |
@@ -136,11 +136,19 @@ | |||
136 | #define IRQ_TC IRQ_PENDN | 136 | #define IRQ_TC IRQ_PENDN |
137 | #define IRQ_ADC S3C64XX_IRQ_VIC1(31) | 137 | #define IRQ_ADC S3C64XX_IRQ_VIC1(31) |
138 | 138 | ||
139 | #define S3C64XX_TIMER_IRQ(x) S3C_IRQ(64 + (x)) | ||
140 | |||
141 | #define IRQ_TIMER0 S3C64XX_TIMER_IRQ(0) | ||
142 | #define IRQ_TIMER1 S3C64XX_TIMER_IRQ(1) | ||
143 | #define IRQ_TIMER2 S3C64XX_TIMER_IRQ(2) | ||
144 | #define IRQ_TIMER3 S3C64XX_TIMER_IRQ(3) | ||
145 | #define IRQ_TIMER4 S3C64XX_TIMER_IRQ(4) | ||
146 | |||
139 | /* Since the IRQ_EINT(x) are a linear mapping on current s3c64xx series | 147 | /* Since the IRQ_EINT(x) are a linear mapping on current s3c64xx series |
140 | * we just defined them as an IRQ_EINT(x) macro from S3C_IRQ_EINT_BASE | 148 | * we just defined them as an IRQ_EINT(x) macro from S3C_IRQ_EINT_BASE |
141 | * which we place after the pair of VICs. */ | 149 | * which we place after the pair of VICs. */ |
142 | 150 | ||
143 | #define S3C_IRQ_EINT_BASE S3C_IRQ(64) | 151 | #define S3C_IRQ_EINT_BASE S3C_IRQ(64+5) |
144 | 152 | ||
145 | #define S3C_EINT(x) ((x) + S3C_IRQ_EINT_BASE) | 153 | #define S3C_EINT(x) ((x) + S3C_IRQ_EINT_BASE) |
146 | 154 | ||