omap3.h 949 B

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