sdram-micron-mt46h32m32lf-6.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * SDRC register values for the Micron MT46H32M32LF-6
  3. *
  4. * Copyright (C) 2008 Texas Instruments, Inc.
  5. * Copyright (C) 2008-2009 Nokia Corporation
  6. *
  7. * Paul Walmsley
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. */
  13. #ifndef ARCH_ARM_MACH_OMAP2_SDRAM_MICRON_MT46H32M32LF
  14. #define ARCH_ARM_MACH_OMAP2_SDRAM_MICRON_MT46H32M32LF
  15. #include "sdrc.h"
  16. /* Micron MT46H32M32LF-6 */
  17. /* XXX Using ARE = 0x1 (no autorefresh burst) -- can this be changed? */
  18. static struct omap_sdrc_params mt46h32m32lf6_sdrc_params[] = {
  19. [0] = {
  20. .rate = 166000000,
  21. .actim_ctrla = 0x9a9db4c6,
  22. .actim_ctrlb = 0x00011217,
  23. .rfr_ctrl = 0x0004dc01,
  24. .mr = 0x00000032,
  25. },
  26. [1] = {
  27. .rate = 165941176,
  28. .actim_ctrla = 0x9a9db4c6,
  29. .actim_ctrlb = 0x00011217,
  30. .rfr_ctrl = 0x0004dc01,
  31. .mr = 0x00000032,
  32. },
  33. [2] = {
  34. .rate = 83000000,
  35. .actim_ctrla = 0x51512283,
  36. .actim_ctrlb = 0x0001120c,
  37. .rfr_ctrl = 0x00025501,
  38. .mr = 0x00000032,
  39. },
  40. [3] = {
  41. .rate = 82970588,
  42. .actim_ctrla = 0x51512283,
  43. .actim_ctrlb = 0x0001120c,
  44. .rfr_ctrl = 0x00025501,
  45. .mr = 0x00000032,
  46. },
  47. [4] = {
  48. .rate = 0
  49. },
  50. };
  51. #endif