mmc_host_def.h 970 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * mmc_host_def.h
  3. *
  4. * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License as
  8. * published by the Free Software Foundation version 2.
  9. *
  10. * This program is distributed "as is" WITHOUT ANY WARRANTY of any
  11. * kind, whether express or implied; without even the implied warranty
  12. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. */
  15. #ifndef MMC_HOST_DEF_H
  16. #define MMC_HOST_DEF_H
  17. #include <asm/omap_mmc.h>
  18. /*
  19. * OMAP HSMMC register definitions
  20. */
  21. #define OMAP_HSMMC1_BASE 0x48060000
  22. #define OMAP_HSMMC2_BASE 0x481D8000
  23. #if defined(CONFIG_TI814X)
  24. #undef MMC_CLOCK_REFERENCE
  25. #define MMC_CLOCK_REFERENCE 192 /* MHz */
  26. #elif defined(CONFIG_TI816X)
  27. #undef MMC_CLOCK_REFERENCE
  28. #define MMC_CLOCK_REFERENCE 48 /* MHz */
  29. #endif
  30. #endif /* MMC_HOST_DEF_H */