3 * Alexander Holler <holler@ahsoftware.de>
5 * Based on "drivers/usb/host/ehci-omap.c" from Linux 2.6.37
7 * See there for additional Copyrights.
9 * See file CREDITS for list of people who contributed to this
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of
15 * the License, or (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
27 #ifndef _EHCI_OMAP3_H_
28 #define _EHCI_OMAP3_H_
30 /* USB/EHCI registers */
31 #define OMAP3_USBTLL_BASE 0x48062000UL
32 #define OMAP3_UHH_BASE 0x48064000UL
33 #define OMAP3_EHCI_BASE 0x48064800UL
35 /* TLL Register Set */
36 #define OMAP_USBTLL_SYSCONFIG (0x10)
37 #define OMAP_USBTLL_SYSCONFIG_SOFTRESET (1 << 1)
38 #define OMAP_USBTLL_SYSCONFIG_ENAWAKEUP (1 << 2)
39 #define OMAP_USBTLL_SYSCONFIG_SIDLEMODE (1 << 3)
40 #define OMAP_USBTLL_SYSCONFIG_CACTIVITY (1 << 8)
42 #define OMAP_USBTLL_SYSSTATUS (0x14)
43 #define OMAP_USBTLL_SYSSTATUS_RESETDONE (1 << 0)
45 /* UHH Register Set */
46 #define OMAP_UHH_SYSCONFIG (0x10)
47 #define OMAP_UHH_SYSCONFIG_SOFTRESET (1 << 1)
48 #define OMAP_UHH_SYSCONFIG_CACTIVITY (1 << 8)
49 #define OMAP_UHH_SYSCONFIG_SIDLEMODE (1 << 3)
50 #define OMAP_UHH_SYSCONFIG_ENAWAKEUP (1 << 2)
51 #define OMAP_UHH_SYSCONFIG_MIDLEMODE (1 << 12)
53 #define OMAP_UHH_HOSTCONFIG (0x40)
54 #define OMAP_UHH_HOSTCONFIG_INCR4_BURST_EN (1 << 2)
55 #define OMAP_UHH_HOSTCONFIG_INCR8_BURST_EN (1 << 3)
56 #define OMAP_UHH_HOSTCONFIG_INCR16_BURST_EN (1 << 4)
58 #endif /* _EHCI_OMAP3_H_ */