1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm/mach-w90x900/include/mach/regs-usb.h
5 * Copyright (c) 2008 Nuvoton technology corporation.
7 * Wan ZongShun <mcuos.com@gmail.com>
10 #ifndef __ASM_ARCH_REGS_USB_H
11 #define __ASM_ARCH_REGS_USB_H
13 /* usb Control Registers */
14 #define USBH_BA W90X900_VA_USBEHCIHOST
15 #define USBD_BA W90X900_VA_USBDEV
16 #define USBO_BA W90X900_VA_USBOHCIHOST
18 /* USB Host Control Registers */
19 #define REG_UPSCR0 (USBH_BA+0x064)
20 #define REG_UPSCR1 (USBH_BA+0x068)
21 #define REG_USBPCR0 (USBH_BA+0x0C4)
22 #define REG_USBPCR1 (USBH_BA+0x0C8)
24 /* USBH OHCI Control Registers */
25 #define REG_OpModEn (USBO_BA+0x204)
26 /*This bit controls the polarity of over
27 *current flag from external power IC.
31 #endif /* __ASM_ARCH_REGS_USB_H */