treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441
[linux-2.6-microblaze.git] / arch / arm / mach-w90x900 / regs-usb.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * arch/arm/mach-w90x900/include/mach/regs-usb.h
4  *
5  * Copyright (c) 2008 Nuvoton technology corporation.
6  *
7  * Wan ZongShun <mcuos.com@gmail.com>
8  */
9
10 #ifndef __ASM_ARCH_REGS_USB_H
11 #define __ASM_ARCH_REGS_USB_H
12
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
17
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)
23
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.
28 */
29 #define OCALow          0x08
30
31 #endif /*  __ASM_ARCH_REGS_USB_H */