Updating the USB subsystem init done in PciEmulation so we can use the standard EHCI...
[mirror_edk2.git] / Omap35xxPkg / Include / Omap3530 / Omap3530Usb.h
1 /** @file
2
3 Copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
4
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #ifndef __OMAP3530USB_H__
16 #define __OMAP3530USB_H__
17
18 #define USB_BASE (0x48060000)
19
20 #define UHH_SYSCONFIG (USB_BASE + 0x4010)
21 #define UHH_HOSTCONFIG (USB_BASE + 0x4040)
22 #define UHH_SYSSTATUS (USB_BASE + 0x4014)
23
24 #define USB_EHCI_HCCAPBASE (USB_BASE + 0x4800)
25
26 #define UHH_SYSCONFIG_MIDLEMODE_NO_STANDBY (1UL << 12)
27 #define UHH_SYSCONFIG_CLOCKACTIVITY_ON (1UL << 8)
28 #define UHH_SYSCONFIG_SIDLEMODE_NO_STANDBY (1UL << 3)
29 #define UHH_SYSCONFIG_ENAWAKEUP_ENABLE (1UL << 2)
30 #define UHH_SYSCONFIG_SOFTRESET (1UL << 1)
31 #define UHH_SYSCONFIG_AUTOIDLE_ALWAYS_RUN (0UL << 0)
32
33 #define UHH_HOSTCONFIG_ENA_INCR16_ENABLE (1UL << 4)
34 #define UHH_HOSTCONFIG_ENA_INCR8_ENABLE (1UL << 3)
35 #define UHH_HOSTCONFIG_ENA_INCR4_ENABLE (1UL << 2)
36
37 #define UHH_SYSSTATUS_RESETDONE (BIT0 | BIT1 | BIT2)
38
39
40 #endif // __OMAP3530USB_H__
41
42
43