1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0 */ 243b62393SGovindraj.R /* 343b62393SGovindraj.R * OMAP EHCI port support 443b62393SGovindraj.R * Based on LINUX KERNEL 543b62393SGovindraj.R * drivers/usb/host/ehci-omap.c and drivers/mfd/omap-usb-host.c 643b62393SGovindraj.R * 743b62393SGovindraj.R * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com 843b62393SGovindraj.R * Author: Govindraj R <govindraj.raja@ti.com> 943b62393SGovindraj.R */ 1043b62393SGovindraj.R 1143b62393SGovindraj.R #ifndef _OMAP4_EHCI_H_ 1243b62393SGovindraj.R #define _OMAP4_EHCI_H_ 1343b62393SGovindraj.R 1443b62393SGovindraj.R #define OMAP_EHCI_BASE (OMAP44XX_L4_CORE_BASE + 0x64C00) 1543b62393SGovindraj.R #define OMAP_UHH_BASE (OMAP44XX_L4_CORE_BASE + 0x64000) 1643b62393SGovindraj.R #define OMAP_USBTLL_BASE (OMAP44XX_L4_CORE_BASE + 0x62000) 1743b62393SGovindraj.R 1843b62393SGovindraj.R /* UHH, TLL and opt clocks */ 1943b62393SGovindraj.R #define CM_L3INIT_HSUSBHOST_CLKCTRL 0x4A009358UL 2043b62393SGovindraj.R 2143b62393SGovindraj.R #define HSUSBHOST_CLKCTRL_CLKSEL_UTMI_P1_MASK (1 << 24) 2243b62393SGovindraj.R 2343b62393SGovindraj.R /* TLL Register Set */ 2443b62393SGovindraj.R #define OMAP_USBTLL_SYSCONFIG_SIDLEMODE (1 << 3) 2543b62393SGovindraj.R #define OMAP_USBTLL_SYSCONFIG_ENAWAKEUP (1 << 2) 2643b62393SGovindraj.R #define OMAP_USBTLL_SYSCONFIG_SOFTRESET (1 << 1) 2743b62393SGovindraj.R #define OMAP_USBTLL_SYSCONFIG_CACTIVITY (1 << 8) 2843b62393SGovindraj.R #define OMAP_USBTLL_SYSSTATUS_RESETDONE 1 2943b62393SGovindraj.R 3043b62393SGovindraj.R #define OMAP_UHH_SYSCONFIG_SOFTRESET 1 3143b62393SGovindraj.R #define OMAP_UHH_SYSSTATUS_EHCI_RESETDONE (1 << 2) 3243b62393SGovindraj.R #define OMAP_UHH_SYSCONFIG_NOIDLE (1 << 2) 3343b62393SGovindraj.R #define OMAP_UHH_SYSCONFIG_NOSTDBY (1 << 4) 3443b62393SGovindraj.R 3543b62393SGovindraj.R #define OMAP_UHH_SYSCONFIG_VAL (OMAP_UHH_SYSCONFIG_NOIDLE | \ 3643b62393SGovindraj.R OMAP_UHH_SYSCONFIG_NOSTDBY) 3743b62393SGovindraj.R 3843b62393SGovindraj.R #endif /* _OMAP4_EHCI_H_ */ 39