-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 149294 b: refs/heads/master c: 21dbe15 h: refs/heads/master v: v3
- Loading branch information
wanzongshun
authored and
Russell King
committed
May 7, 2009
1 parent
49c6573
commit ab32428
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 4e3f48e590330a1fd880ab96e52bc095e94c25e3 | ||
refs/heads/master: 21dbe15f7dd0f0511bc0178d142213c3fadfcb99 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 */ |