mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
b886d83c5b
Based on 1 normalized pattern(s): 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 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 315 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Armijn Hemel <armijn@tjaldur.nl> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190531190115.503150771@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
32 lines
791 B
C
32 lines
791 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* arch/arm/mach-w90x900/include/mach/regs-usb.h
|
|
*
|
|
* Copyright (c) 2008 Nuvoton technology corporation.
|
|
*
|
|
* Wan ZongShun <mcuos.com@gmail.com>
|
|
*/
|
|
|
|
#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 */
|