diff options
author | Alexander Shiyan <shc@milas.spb.ru> | 2011-09-07 10:57:52 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-09-19 12:04:38 +0200 |
commit | 2afeae741fbf9de5b64e28b0dfb8003265e09142 (patch) | |
tree | 2a1eb9c98eed254deeed9b684c8d5b0760d34d91 /arch/arm/mach-imx/include/mach/imx51-regs.h | |
parent | 32a42f98a3d4ab3ad16dc355f49034fff3f28153 (diff) | |
download | barebox-2afeae741fbf9de5b64e28b0dfb8003265e09142.tar.gz barebox-2afeae741fbf9de5b64e28b0dfb8003265e09142.tar.xz |
Add WEIM registers for MX51
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/include/mach/imx51-regs.h')
-rw-r--r-- | arch/arm/mach-imx/include/mach/imx51-regs.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/include/mach/imx51-regs.h b/arch/arm/mach-imx/include/mach/imx51-regs.h index 2e6cacb5bf..c6d14cdc6b 100644 --- a/arch/arm/mach-imx/include/mach/imx51-regs.h +++ b/arch/arm/mach-imx/include/mach/imx51-regs.h @@ -12,6 +12,16 @@ #define GPT_TCN 0x24 #define GPT_TSTAT 0x08 +/* WEIM registers */ +#define WEIM_CSxGCR1(n) (((n) * 0x18) + 0x00) +#define WEIM_CSxGCR2(n) (((n) * 0x18) + 0x04) +#define WEIM_CSxRCR1(n) (((n) * 0x18) + 0x08) +#define WEIM_CSxRCR2(n) (((n) * 0x18) + 0x0c) +#define WEIM_CSxWCR1(n) (((n) * 0x18) + 0x10) +#define WEIM_WCR 0x90 +#define WEIM_WIAR 0x94 +#define WEIM_EAR 0x98 + /* Part 2: Bitfields */ #define TCTL_SWR (1<<15) /* Software reset */ #define TCTL_FRR (1<<9) /* Freerun / restart */ @@ -134,4 +144,3 @@ #define MX51_CHIP_REV_3_2 0x32 #endif /* __MACH_IMX51_REGS_H */ - |