diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2010-01-27 23:27:36 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-03-01 18:40:57 -0500 |
commit | 0913b86ff7fe220a50c82baca4431e7d5a8da5c8 (patch) | |
tree | f0ec25b334e1a94397e0446aa5d50c07750e1ae8 | |
parent | 16144bfb83bb8319c07c18b57eac15368708d02c (diff) |
[ARM] mmp2: add missing ICU register definitions
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
-rw-r--r-- | arch/arm/mach-mmp/include/mach/regs-icu.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/include/mach/regs-icu.h b/arch/arm/mach-mmp/include/mach/regs-icu.h index 02b8bf83acb3..f882d91894be 100644 --- a/arch/arm/mach-mmp/include/mach/regs-icu.h +++ b/arch/arm/mach-mmp/include/mach/regs-icu.h | |||
@@ -40,6 +40,11 @@ | |||
40 | #define ICU_INT_ROUTE_PJ4_IRQ (1 << 5) | 40 | #define ICU_INT_ROUTE_PJ4_IRQ (1 << 5) |
41 | #define ICU_INT_ROUTE_PJ4_FIQ (1 << 6) | 41 | #define ICU_INT_ROUTE_PJ4_FIQ (1 << 6) |
42 | 42 | ||
43 | #define MMP2_ICU_PJ4_IRQ_STATUS0 ICU_REG(0x138) | ||
44 | #define MMP2_ICU_PJ4_IRQ_STATUS1 ICU_REG(0x13c) | ||
45 | #define MMP2_ICU_PJ4_FIQ_STATUS0 ICU_REG(0x140) | ||
46 | #define MMP2_ICU_PJ4_FIQ_STATUS1 ICU_REG(0x144) | ||
47 | |||
43 | #define MMP2_ICU_INT4_STATUS ICU_REG(0x150) | 48 | #define MMP2_ICU_INT4_STATUS ICU_REG(0x150) |
44 | #define MMP2_ICU_INT5_STATUS ICU_REG(0x154) | 49 | #define MMP2_ICU_INT5_STATUS ICU_REG(0x154) |
45 | #define MMP2_ICU_INT17_STATUS ICU_REG(0x158) | 50 | #define MMP2_ICU_INT17_STATUS ICU_REG(0x158) |
@@ -56,4 +61,11 @@ | |||
56 | #define MMP2_ICU_PJ4_IRQ_SEL ICU_REG(0x104) | 61 | #define MMP2_ICU_PJ4_IRQ_SEL ICU_REG(0x104) |
57 | #define MMP2_ICU_PJ4_FIQ_SEL ICU_REG(0x108) | 62 | #define MMP2_ICU_PJ4_FIQ_SEL ICU_REG(0x108) |
58 | 63 | ||
64 | #define MMP2_ICU_INVERT ICU_REG(0x164) | ||
65 | |||
66 | #define MMP2_ICU_INV_PMIC (1 << 0) | ||
67 | #define MMP2_ICU_INV_PERF (1 << 1) | ||
68 | #define MMP2_ICU_INV_COMMTX (1 << 2) | ||
69 | #define MMP2_ICU_INV_COMMRX (1 << 3) | ||
70 | |||
59 | #endif /* __ASM_MACH_ICU_H */ | 71 | #endif /* __ASM_MACH_ICU_H */ |