diff options
Diffstat (limited to 'arch/arm/plat-s5p/include/plat/irqs.h')
-rw-r--r-- | arch/arm/plat-s5p/include/plat/irqs.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/plat-s5p/include/plat/irqs.h b/arch/arm/plat-s5p/include/plat/irqs.h index 5d7937dddad..42e757f2e40 100644 --- a/arch/arm/plat-s5p/include/plat/irqs.h +++ b/arch/arm/plat-s5p/include/plat/irqs.h | |||
@@ -28,9 +28,14 @@ | |||
28 | 28 | ||
29 | #define S5P_VIC0_BASE S5P_IRQ(0) | 29 | #define S5P_VIC0_BASE S5P_IRQ(0) |
30 | #define S5P_VIC1_BASE S5P_IRQ(32) | 30 | #define S5P_VIC1_BASE S5P_IRQ(32) |
31 | #define S5P_VIC2_BASE S5P_IRQ(64) | ||
32 | #define S5P_VIC3_BASE S5P_IRQ(96) | ||
33 | |||
34 | #define VIC_BASE(x) (S5P_VIC0_BASE + ((x)*32)) | ||
31 | 35 | ||
32 | #define IRQ_VIC0_BASE S5P_VIC0_BASE | 36 | #define IRQ_VIC0_BASE S5P_VIC0_BASE |
33 | #define IRQ_VIC1_BASE S5P_VIC1_BASE | 37 | #define IRQ_VIC1_BASE S5P_VIC1_BASE |
38 | #define IRQ_VIC2_BASE S5P_VIC2_BASE | ||
34 | 39 | ||
35 | /* UART interrupts, each UART has 4 intterupts per channel so | 40 | /* UART interrupts, each UART has 4 intterupts per channel so |
36 | * use the space between the ISA and S3C main interrupts. Note, these | 41 | * use the space between the ISA and S3C main interrupts. Note, these |
@@ -71,8 +76,10 @@ | |||
71 | 76 | ||
72 | #define S5P_IRQ_VIC0(x) (S5P_VIC0_BASE + (x)) | 77 | #define S5P_IRQ_VIC0(x) (S5P_VIC0_BASE + (x)) |
73 | #define S5P_IRQ_VIC1(x) (S5P_VIC1_BASE + (x)) | 78 | #define S5P_IRQ_VIC1(x) (S5P_VIC1_BASE + (x)) |
79 | #define S5P_IRQ_VIC2(x) (S5P_VIC2_BASE + (x)) | ||
80 | #define S5P_IRQ_VIC3(x) (S5P_VIC3_BASE + (x)) | ||
74 | 81 | ||
75 | #define S5P_TIMER_IRQ(x) S5P_IRQ(64 + (x)) | 82 | #define S5P_TIMER_IRQ(x) S5P_IRQ(11 + (x)) |
76 | 83 | ||
77 | #define IRQ_TIMER0 S5P_TIMER_IRQ(0) | 84 | #define IRQ_TIMER0 S5P_TIMER_IRQ(0) |
78 | #define IRQ_TIMER1 S5P_TIMER_IRQ(1) | 85 | #define IRQ_TIMER1 S5P_TIMER_IRQ(1) |