imximage.cfg 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /*
  2. * (C) Copyright 2012
  3. * Stefano Babic DENX Software Engineering sbabic@denx.de.
  4. *
  5. * See file CREDITS for list of people who contributed to this
  6. * project.
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License as
  10. * published by the Free Software Foundation; either version 2 of
  11. * the License or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not write to the Free Software
  20. * Foundation Inc. 51 Franklin Street Fifth Floor Boston,
  21. * MA 02110-1301 USA
  22. *
  23. * Refer docs/README.imxmage for more details about how-to configure
  24. * and create imximage boot image
  25. *
  26. * The syntax is taken as close as possible with the kwbimage
  27. */
  28. /* image version */
  29. IMAGE_VERSION 2
  30. /*
  31. * Boot Device : one of
  32. * spi, sd (the board has no nand neither onenand)
  33. */
  34. BOOT_FROM nor
  35. /*
  36. * Device Configuration Data (DCD)
  37. *
  38. * Each entry must have the format:
  39. * Addr-type Address Value
  40. *
  41. * where:
  42. * Addr-type register length (1,2 or 4 bytes)
  43. * Address absolute address of the register
  44. * value value to be stored in the register
  45. */
  46. /* IOMUX for RAM only */
  47. DATA 4 0x53fa8554 0x300020
  48. DATA 4 0x53fa8560 0x300020
  49. DATA 4 0x53fa8594 0x300020
  50. DATA 4 0x53fa8584 0x300020
  51. DATA 4 0x53fa8558 0x300040
  52. DATA 4 0x53fa8568 0x300040
  53. DATA 4 0x53fa8590 0x300040
  54. DATA 4 0x53fa857c 0x300040
  55. DATA 4 0x53fa8564 0x300040
  56. DATA 4 0x53fa8580 0x300040
  57. DATA 4 0x53fa8570 0x300220
  58. DATA 4 0x53fa8578 0x300220
  59. DATA 4 0x53fa872c 0x300000
  60. DATA 4 0x53fa8728 0x300000
  61. DATA 4 0x53fa871c 0x300000
  62. DATA 4 0x53fa8718 0x300000
  63. DATA 4 0x53fa8574 0x300020
  64. DATA 4 0x53fa8588 0x300020
  65. DATA 4 0x53fa855c 0x0
  66. DATA 4 0x53fa858c 0x0
  67. DATA 4 0x53fa856c 0x300040
  68. DATA 4 0x53fa86f0 0x300000
  69. DATA 4 0x53fa8720 0x300000
  70. DATA 4 0x53fa86fc 0x0
  71. DATA 4 0x53fa86f4 0x0
  72. DATA 4 0x53fa8714 0x0
  73. DATA 4 0x53fa8724 0x4000000
  74. /* DDR RAM */
  75. DATA 4 0x63fd9088 0x40404040
  76. DATA 4 0x63fd9090 0x40404040
  77. DATA 4 0x63fd907C 0x01420143
  78. DATA 4 0x63fd9080 0x01450146
  79. DATA 4 0x63fd9018 0x00111740
  80. DATA 4 0x63fd9000 0x84190000
  81. /* esdcfgX */
  82. DATA 4 0x63fd900C 0x9f5152e3
  83. DATA 4 0x63fd9010 0xb68e8a63
  84. DATA 4 0x63fd9014 0x01ff00db
  85. /* Read/Write command delay */
  86. DATA 4 0x63fd902c 0x000026d2
  87. /* Out of reset delays */
  88. DATA 4 0x63fd9030 0x00ff0e21
  89. /* ESDCTL ODT timing control */
  90. DATA 4 0x63fd9008 0x12273030
  91. /* ESDCTL power down control */
  92. DATA 4 0x63fd9004 0x0002002d
  93. /* Set registers in DDR memory chips */
  94. DATA 4 0x63fd901c 0x00008032
  95. DATA 4 0x63fd901c 0x00008033
  96. DATA 4 0x63fd901c 0x00028031
  97. DATA 4 0x63fd901c 0x052080b0
  98. DATA 4 0x63fd901c 0x04008040
  99. /* ESDCTL refresh control */
  100. DATA 4 0x63fd9020 0x00005800
  101. /* PHY ZQ HW control */
  102. DATA 4 0x63fd9040 0x05380003
  103. /* PHY ODT control */
  104. DATA 4 0x63fd9058 0x00022222
  105. /* start DDR3 */
  106. DATA 4 0x63fd901c 0x00000000