omap3.h 956 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. #include <asm/arch/cpu.h>
  20. #include "musb_core.h"
  21. /* Base address of MUSB registers */
  22. #define MENTOR_USB0_BASE MUSB_BASE
  23. /* Base address of OTG registers */
  24. #define OMAP3_OTG_BASE (MENTOR_USB0_BASE + 0x400)
  25. /* Timeout for USB module */
  26. #define OMAP3_USB_TIMEOUT 0x3FFFFFF
  27. int musb_platform_init(void);
  28. #ifdef CONFIG_TARGET_OMAP3_EVM
  29. extern u8 omap3_evm_need_extvbus(void);
  30. #endif
  31. #endif /* _MUSB_OMAP3_H */