diff options
author | wanzongshun <mcuos.com@gmail.com> | 2009-05-02 10:41:14 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-05-07 10:24:21 -0400 |
commit | 21dbe15f7dd0f0511bc0178d142213c3fadfcb99 (patch) | |
tree | 2bad62b81e45b9abb887de566a455a0cef7c2ce4 /arch/arm | |
parent | 4e3f48e590330a1fd880ab96e52bc095e94c25e3 (diff) |
[ARM] 5499/1: Add Usb register controller header file dfine
Add Usb register controller header file dfine.
w90p910 usb ip is standard,but some mutifunction
controll pin must be special define in w90p910
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-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 00000000000..ab74b0c2480 --- /dev/null +++ b/arch/arm/mach-w90x900/include/mach/regs-usb.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-w90x900/include/mach/regs-usb.h | ||
3 | * | ||
4 | * Copyright (c) 2008 Nuvoton technology corporation. | ||
5 | * | ||
6 | * Wan ZongShun <mcuos.com@gmail.com> | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation;version 2 of the License. | ||
11 | * | ||
12 | */ | ||
13 | |||
14 | #ifndef __ASM_ARCH_REGS_USB_H | ||
15 | #define __ASM_ARCH_REGS_USB_H | ||
16 | |||
17 | /* usb Control Registers */ | ||
18 | #define USBH_BA W90X900_VA_USBEHCIHOST | ||
19 | #define USBD_BA W90X900_VA_USBDEV | ||
20 | #define USBO_BA W90X900_VA_USBOHCIHOST | ||
21 | |||
22 | /* USB Host Control Registers */ | ||
23 | #define REG_UPSCR0 (USBH_BA+0x064) | ||
24 | #define REG_UPSCR1 (USBH_BA+0x068) | ||
25 | #define REG_USBPCR0 (USBH_BA+0x0C4) | ||
26 | #define REG_USBPCR1 (USBH_BA+0x0C8) | ||
27 | |||
28 | /* USBH OHCI Control Registers */ | ||
29 | #define REG_OpModEn (USBO_BA+0x204) | ||
30 | /*This bit controls the polarity of over | ||
31 | *current flag from external power IC. | ||
32 | */ | ||
33 | #define OCALow 0x08 | ||
34 | |||
35 | #endif /* __ASM_ARCH_REGS_USB_H */ | ||