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