mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
21dbe15f7d
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>
36 lines
955 B
C
36 lines
955 B
C
/*
|
|
* 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 */
|