2009-10-31 17:37:41 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2009 Wind River Systems, Inc.
|
|
|
|
* Tom Rix <Tom.Rix@windriver.com>
|
|
|
|
*
|
|
|
|
* This file is based on the file drivers/usb/musb/davinci.h
|
|
|
|
*
|
|
|
|
* This is the unique part of its copyright:
|
|
|
|
*
|
|
|
|
* --------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* Copyright (c) 2008 Texas Instruments
|
|
|
|
* Author: Thomas Abraham t-abraham@ti.com, Texas Instruments
|
|
|
|
*
|
|
|
|
* --------------------------------------------------------------------
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2009-10-31 17:37:41 +00:00
|
|
|
*/
|
|
|
|
#ifndef _MUSB_OMAP3_H_
|
|
|
|
#define _MUSB_OMAP3_H_
|
|
|
|
|
2010-06-25 19:42:04 +00:00
|
|
|
#include <asm/arch/cpu.h>
|
2009-10-31 17:37:41 +00:00
|
|
|
#include "musb_core.h"
|
|
|
|
|
|
|
|
/* Base address of MUSB registers */
|
2010-06-25 19:42:04 +00:00
|
|
|
#define MENTOR_USB0_BASE MUSB_BASE
|
2009-10-31 17:37:41 +00:00
|
|
|
|
|
|
|
/* Base address of OTG registers */
|
|
|
|
#define OMAP3_OTG_BASE (MENTOR_USB0_BASE + 0x400)
|
|
|
|
|
|
|
|
/* Timeout for USB module */
|
|
|
|
#define OMAP3_USB_TIMEOUT 0x3FFFFFF
|
|
|
|
|
|
|
|
int musb_platform_init(void);
|
|
|
|
|
2017-05-13 02:33:18 +00:00
|
|
|
#ifdef CONFIG_TARGET_OMAP3_EVM
|
2010-07-15 20:11:01 +00:00
|
|
|
extern u8 omap3_evm_need_extvbus(void);
|
2010-06-10 05:50:50 +00:00
|
|
|
#endif
|
|
|
|
|
2009-10-31 17:37:41 +00:00
|
|
|
#endif /* _MUSB_OMAP3_H */
|