diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-06-11 15:23:26 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-06-11 15:23:26 +0100 |
commit | 2631182bf93919577730e6a6c4345308db590057 (patch) | |
tree | 0cef28fdacc8b4d7cc42ec2f9f3049db726b8403 /arch/arm/mach-w90x900/include/mach/regs-usb.h | |
parent | 0aacfe1d239952a87c17e38e12df94c4ea979839 (diff) | |
parent | cc63262f27582369737edcb4e810265db2a98ab4 (diff) | |
download | kernel_goldelico_gta04-2631182bf93919577730e6a6c4345308db590057.zip kernel_goldelico_gta04-2631182bf93919577730e6a6c4345308db590057.tar.gz kernel_goldelico_gta04-2631182bf93919577730e6a6c4345308db590057.tar.bz2 |
Merge branch 'w90x900' into devel
Diffstat (limited to 'arch/arm/mach-w90x900/include/mach/regs-usb.h')
-rw-r--r-- | arch/arm/mach-w90x900/include/mach/regs-usb.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/mach-w90x900/include/mach/regs-usb.h b/arch/arm/mach-w90x900/include/mach/regs-usb.h new file mode 100644 index 0000000..ab74b0c --- /dev/null +++ b/arch/arm/mach-w90x900/include/mach/regs-usb.h @@ -0,0 +1,35 @@ +/* + * arch/arm/mach-w90x900/include/mach/regs-usb.h + * + * Copyright (c) 2008 Nuvoton technology corporation. + * + * Wan ZongShun <mcuos.com@gmail.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation;version 2 of the License. + * + */ + +#ifndef __ASM_ARCH_REGS_USB_H +#define __ASM_ARCH_REGS_USB_H + +/* usb Control Registers */ +#define USBH_BA W90X900_VA_USBEHCIHOST +#define USBD_BA W90X900_VA_USBDEV +#define USBO_BA W90X900_VA_USBOHCIHOST + +/* USB Host Control Registers */ +#define REG_UPSCR0 (USBH_BA+0x064) +#define REG_UPSCR1 (USBH_BA+0x068) +#define REG_USBPCR0 (USBH_BA+0x0C4) +#define REG_USBPCR1 (USBH_BA+0x0C8) + +/* USBH OHCI Control Registers */ +#define REG_OpModEn (USBO_BA+0x204) +/*This bit controls the polarity of over +*current flag from external power IC. +*/ +#define OCALow 0x08 + +#endif /* __ASM_ARCH_REGS_USB_H */ |