]>
Commit | Line | Data |
---|---|---|
a3f98646 | 1 | /** @file |
2 | ||
3d70643b | 3 | Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> |
a3f98646 | 4 | |
3d70643b | 5 | This program and the accompanying materials |
a3f98646 | 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) | |
c0bd010b | 22 | #define UHH_SYSSTATUS (USB_BASE + 0x4014) |
a3f98646 | 23 | |
24 | #define USB_EHCI_HCCAPBASE (USB_BASE + 0x4800) | |
25 | ||
43263288 | 26 | #define UHH_SYSCONFIG_MIDLEMODE_NO_STANDBY BIT12 |
27 | #define UHH_SYSCONFIG_CLOCKACTIVITY_ON BIT8 | |
28 | #define UHH_SYSCONFIG_SIDLEMODE_NO_STANDBY BIT3 | |
29 | #define UHH_SYSCONFIG_ENAWAKEUP_ENABLE BIT2 | |
30 | #define UHH_SYSCONFIG_SOFTRESET BIT1 | |
a3f98646 | 31 | #define UHH_SYSCONFIG_AUTOIDLE_ALWAYS_RUN (0UL << 0) |
32 | ||
43263288 | 33 | #define UHH_HOSTCONFIG_P3_CONNECT_STATUS_DISCONNECT (0UL << 10)\r |
34 | #define UHH_HOSTCONFIG_P2_CONNECT_STATUS_DISCONNECT (0UL << 9)\r | |
35 | #define UHH_HOSTCONFIG_P1_CONNECT_STATUS_DISCONNECT (0UL << 8)\r | |
36 | #define UHH_HOSTCONFIG_ENA_INCR_ALIGN_DISABLE (0UL << 5)\r | |
37 | #define UHH_HOSTCONFIG_ENA_INCR16_ENABLE BIT4 | |
38 | #define UHH_HOSTCONFIG_ENA_INCR8_ENABLE BIT3 | |
39 | #define UHH_HOSTCONFIG_ENA_INCR4_ENABLE BIT2 | |
40 | #define UHH_HOSTCONFIG_AUTOPPD_ON_OVERCUR_EN_ON (0UL << 1)\r | |
41 | #define UHH_HOSTCONFIG_P1_ULPI_BYPASS_ULPI_MODE (0UL << 0) | |
c0bd010b | 42 | |
43 | #define UHH_SYSSTATUS_RESETDONE (BIT0 | BIT1 | BIT2) | |
44 | ||
a3f98646 | 45 | #endif // __OMAP3530USB_H__ |
46 | ||
c0bd010b | 47 | |
48 |