diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-ep93xx/ep93xx-regs.h | 10 | ||||
-rw-r--r-- | include/asm-arm/arch-ep93xx/irqs.h | 4 |
2 files changed, 13 insertions, 1 deletions
diff --git a/include/asm-arm/arch-ep93xx/ep93xx-regs.h b/include/asm-arm/arch-ep93xx/ep93xx-regs.h index c1efacc83b75..71cea0b5841b 100644 --- a/include/asm-arm/arch-ep93xx/ep93xx-regs.h +++ b/include/asm-arm/arch-ep93xx/ep93xx-regs.h | |||
@@ -72,6 +72,16 @@ | |||
72 | 72 | ||
73 | #define EP93XX_GPIO_BASE (EP93XX_APB_VIRT_BASE + 0x00040000) | 73 | #define EP93XX_GPIO_BASE (EP93XX_APB_VIRT_BASE + 0x00040000) |
74 | #define EP93XX_GPIO_REG(x) (EP93XX_GPIO_BASE + (x)) | 74 | #define EP93XX_GPIO_REG(x) (EP93XX_GPIO_BASE + (x)) |
75 | #define EP93XX_GPIO_A_INT_TYPE1 EP93XX_GPIO_REG(0x90) | ||
76 | #define EP93XX_GPIO_A_INT_TYPE2 EP93XX_GPIO_REG(0x94) | ||
77 | #define EP93XX_GPIO_A_INT_ACK EP93XX_GPIO_REG(0x98) | ||
78 | #define EP93XX_GPIO_A_INT_ENABLE EP93XX_GPIO_REG(0x9c) | ||
79 | #define EP93XX_GPIO_A_INT_STATUS EP93XX_GPIO_REG(0xa0) | ||
80 | #define EP93XX_GPIO_B_INT_TYPE1 EP93XX_GPIO_REG(0xac) | ||
81 | #define EP93XX_GPIO_B_INT_TYPE2 EP93XX_GPIO_REG(0xb0) | ||
82 | #define EP93XX_GPIO_B_INT_ACK EP93XX_GPIO_REG(0xb4) | ||
83 | #define EP93XX_GPIO_B_INT_ENABLE EP93XX_GPIO_REG(0xb8) | ||
84 | #define EP93XX_GPIO_B_INT_STATUS EP93XX_GPIO_REG(0xbc) | ||
75 | 85 | ||
76 | #define EP93XX_AAC_BASE (EP93XX_APB_VIRT_BASE + 0x00080000) | 86 | #define EP93XX_AAC_BASE (EP93XX_APB_VIRT_BASE + 0x00080000) |
77 | 87 | ||
diff --git a/include/asm-arm/arch-ep93xx/irqs.h b/include/asm-arm/arch-ep93xx/irqs.h index 8c10fb964faf..9a42f5de9e57 100644 --- a/include/asm-arm/arch-ep93xx/irqs.h +++ b/include/asm-arm/arch-ep93xx/irqs.h | |||
@@ -67,7 +67,9 @@ | |||
67 | #define IRQ_EP93XX_SAI 60 | 67 | #define IRQ_EP93XX_SAI 60 |
68 | #define EP93XX_VIC2_VALID_IRQ_MASK 0x1fffffff | 68 | #define EP93XX_VIC2_VALID_IRQ_MASK 0x1fffffff |
69 | 69 | ||
70 | #define NR_EP93XX_IRQS 64 | 70 | #define IRQ_EP93XX_GPIO(x) (64 + (x)) |
71 | |||
72 | #define NR_EP93XX_IRQS IRQ_EP93XX_GPIO(16) | ||
71 | 73 | ||
72 | #define EP93XX_BOARD_IRQ(x) (NR_EP93XX_IRQS + (x)) | 74 | #define EP93XX_BOARD_IRQ(x) (NR_EP93XX_IRQS + (x)) |
73 | #define EP93XX_BOARD_IRQS 32 | 75 | #define EP93XX_BOARD_IRQS 32 |