xHCI: refine td allocation
[zen-stable.git] / arch / arm / mach-w90x900 / include / mach / regs-usb.h
blobab74b0c2480bae795bc34acc7a3aba73df62c1ad
1 /*
2 * arch/arm/mach-w90x900/include/mach/regs-usb.h
4 * Copyright (c) 2008 Nuvoton technology corporation.
6 * Wan ZongShun <mcuos.com@gmail.com>
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.
14 #ifndef __ASM_ARCH_REGS_USB_H
15 #define __ASM_ARCH_REGS_USB_H
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
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)
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.
33 #define OCALow 0x08
35 #endif /* __ASM_ARCH_REGS_USB_H */