diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2010-04-16 22:25:14 +0200 |
---|---|---|
committer | Marek Vasut <marek.vasut@gmail.com> | 2010-06-13 13:39:11 +0200 |
commit | 52dc45e5a3e60251329096400da5a9bb6a12ccbf (patch) | |
tree | 32639d02f69a6b4e8684e86cb06254499e8dbc85 /arch/arm/include/asm/arch-pxa | |
parent | 43c15d3dd570be97d44944cade99ab03e6d5491e (diff) | |
download | u-boot-imx-52dc45e5a3e60251329096400da5a9bb6a12ccbf.zip u-boot-imx-52dc45e5a3e60251329096400da5a9bb6a12ccbf.tar.gz u-boot-imx-52dc45e5a3e60251329096400da5a9bb6a12ccbf.tar.bz2 |
PXA: Add UP2OCR register bit definitions
This register is used on PXA to control the USB Port2 operation (USB Port2 is
the host port).
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-pxa')
-rw-r--r-- | arch/arm/include/asm/arch-pxa/pxa-regs.h | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/arch/arm/include/asm/arch-pxa/pxa-regs.h b/arch/arm/include/asm/arch-pxa/pxa-regs.h index a25d4c5..7cd7a14 100644 --- a/arch/arm/include/asm/arch-pxa/pxa-regs.h +++ b/arch/arm/include/asm/arch-pxa/pxa-regs.h @@ -992,10 +992,6 @@ typedef void (*ExcpHndlr) (void) ; #define UHCHIE __REG(0x4C000068) #define UHCHIT __REG(0x4C00006C) -#if defined(CONFIG_CPU_MONAHANS) -#define UP2OCR __REG(0x40600020) -#endif - #define UHCHR_FSBIR (1<<0) #define UHCHR_FHR (1<<1) #define UHCHR_CGR (1<<2) @@ -1015,6 +1011,24 @@ typedef void (*ExcpHndlr) (void) ; #define UHCHIE_HBAIE (1<<8) #define UHCHIE_RWIE (1<<7) +#if defined(CONFIG_CPU_MONAHANS) || defined(CONFIG_PXA27X) +#define UP2OCR __REG(0x40600020) +#endif + +#define UP2OCR_HXOE (1<<17) +#define UP2OCR_HXS (1<<16) +#define UP2OCR_IDON (1<<10) +#define UP2OCR_EXSUS (1<<9) +#define UP2OCR_EXSP (1<<8) +#define UP2OCR_DMSTATE (1<<7) +#define UP2OCR_VPM (1<<6) +#define UP2OCR_DPSTATE (1<<5) +#define UP2OCR_DPPUE (1<<4) +#define UP2OCR_DMPDE (1<<3) +#define UP2OCR_DPPDE (1<<2) +#define UP2OCR_CPVPE (1<<1) +#define UP2OCR_CPVEN (1<<0) + #endif /* |