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