1f298e4b6STom Rix /* 2f298e4b6STom Rix * Copyright (c) 2009 Wind River Systems, Inc. 3f298e4b6STom Rix * Tom Rix <Tom.Rix@windriver.com> 4f298e4b6STom Rix * 5f298e4b6STom Rix * This file is based on the file drivers/usb/musb/davinci.h 6f298e4b6STom Rix * 7f298e4b6STom Rix * This is the unique part of its copyright: 8f298e4b6STom Rix * 9f298e4b6STom Rix * -------------------------------------------------------------------- 10f298e4b6STom Rix * 11f298e4b6STom Rix * Copyright (c) 2008 Texas Instruments 12f298e4b6STom Rix * Author: Thomas Abraham t-abraham@ti.com, Texas Instruments 13f298e4b6STom Rix * 14f298e4b6STom Rix * -------------------------------------------------------------------- 15f298e4b6STom Rix * 161a459660SWolfgang Denk * SPDX-License-Identifier: GPL-2.0+ 17f298e4b6STom Rix */ 18f298e4b6STom Rix #ifndef _MUSB_OMAP3_H_ 19f298e4b6STom Rix #define _MUSB_OMAP3_H_ 20f298e4b6STom Rix 219b167577SSteve Sakoman #include <asm/arch/cpu.h> 22f298e4b6STom Rix #include "musb_core.h" 23f298e4b6STom Rix 24f298e4b6STom Rix /* Base address of MUSB registers */ 259b167577SSteve Sakoman #define MENTOR_USB0_BASE MUSB_BASE 26f298e4b6STom Rix 27f298e4b6STom Rix /* Base address of OTG registers */ 28f298e4b6STom Rix #define OMAP3_OTG_BASE (MENTOR_USB0_BASE + 0x400) 29f298e4b6STom Rix 30f298e4b6STom Rix /* Timeout for USB module */ 31f298e4b6STom Rix #define OMAP3_USB_TIMEOUT 0x3FFFFFF 32f298e4b6STom Rix 33f298e4b6STom Rix int musb_platform_init(void); 34f298e4b6STom Rix 35*864896beSTom Rini #ifdef CONFIG_TARGET_OMAP3_EVM 36900c0c6bSAjay Kumar Gupta extern u8 omap3_evm_need_extvbus(void); 37944a4894SAjay Kumar Gupta #endif 38944a4894SAjay Kumar Gupta 39f298e4b6STom Rix #endif /* _MUSB_OMAP3_H */ 40