• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /** @file
2 
3   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
4 
5   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  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
31 #define UHH_SYSCONFIG_AUTOIDLE_ALWAYS_RUN   (0UL <<  0)
32 
33 #define UHH_HOSTCONFIG_P3_CONNECT_STATUS_DISCONNECT (0UL << 10)
34 #define UHH_HOSTCONFIG_P2_CONNECT_STATUS_DISCONNECT (0UL <<  9)
35 #define UHH_HOSTCONFIG_P1_CONNECT_STATUS_DISCONNECT (0UL <<  8)
36 #define UHH_HOSTCONFIG_ENA_INCR_ALIGN_DISABLE       (0UL <<  5)
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)
41 #define UHH_HOSTCONFIG_P1_ULPI_BYPASS_ULPI_MODE     (0UL <<  0)
42 
43 #define UHH_SYSSTATUS_RESETDONE                (BIT0 | BIT1 | BIT2)
44 
45 #endif // __OMAP3530USB_H__
46 
47 
48 
49