imximage_mx.cfg 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. #
  2. # Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
  3. #
  4. # BASED ON: imx51evk
  5. #
  6. # (C) Copyright 2009
  7. # Stefano Babic DENX Software Engineering sbabic@denx.de.
  8. #
  9. # See file CREDITS for list of people who contributed to this
  10. # project.
  11. #
  12. # This program is free software; you can redistribute it and/or
  13. # modify it under the terms of the GNU General Public License as
  14. # published by the Free Software Foundation; either version 2 of
  15. # the License or (at your option) any later version.
  16. #
  17. # This program is distributed in the hope that it will be useful,
  18. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20. # GNU General Public License for more details.
  21. #
  22. # You should have received a copy of the GNU General Public License
  23. # along with this program; if not write to the Free Software
  24. # Foundation Inc. 51 Franklin Street Fifth Floor Boston,
  25. # MA 02110-1301 USA
  26. #
  27. # Refer docs/README.imxmage for more details about how-to configure
  28. # and create imximage boot image
  29. #
  30. # The syntax is taken as close as possible with the kwbimage
  31. # Boot Device : one of
  32. # spi, sd (the board has no nand neither onenand)
  33. BOOT_FROM spi
  34. # Device Configuration Data (DCD)
  35. #
  36. # Each entry must have the format:
  37. # Addr-type Address Value
  38. #
  39. # where:
  40. # Addr-type register length (1,2 or 4 bytes)
  41. # Address absolute address of the register
  42. # value value to be stored in the register
  43. # Setting IOMUXC
  44. DATA 4 0x73fa88a0 0x000
  45. DATA 4 0x73fa850c 0x20c5
  46. DATA 4 0x73fa8510 0x20c5
  47. DATA 4 0x73fa883c 0x5
  48. DATA 4 0x73fa8848 0x5
  49. DATA 4 0x73fa84b8 0xe7
  50. DATA 4 0x73fa84bc 0x45
  51. DATA 4 0x73fa84c0 0x45
  52. DATA 4 0x73fa84c4 0x45
  53. DATA 4 0x73fa84c8 0x45
  54. DATA 4 0x73fa8820 0x0
  55. DATA 4 0x73fa84a4 0x5
  56. DATA 4 0x73fa84a8 0x5
  57. DATA 4 0x73fa84ac 0xe5
  58. DATA 4 0x73fa84b0 0xe5
  59. DATA 4 0x73fa84b4 0xe5
  60. DATA 4 0x73fa84cc 0xe5
  61. DATA 4 0x73fa84d0 0xe4
  62. DATA 4 0x73fa882c 0x4
  63. DATA 4 0x73fa88a4 0x4
  64. DATA 4 0x73fa88ac 0x4
  65. DATA 4 0x73fa88b8 0x4
  66. # Setting DDR for micron
  67. # 13 Rows, 10 Cols, 32 bit, SREF=4 Micron Model
  68. # CAS=3 BL=4
  69. # ESDCTL_ESDCTL0
  70. DATA 4 0x83fd9000 0x82a20000
  71. # ESDCTL_ESDCTL1
  72. DATA 4 0x83fd9008 0x82a20000
  73. # ESDCTL_ESDMISC
  74. DATA 4 0x83fd9010 0xcaaaf6d0
  75. # ESDCTL_ESDCFG0
  76. DATA 4 0x83fd9004 0x3f3574aa
  77. # ESDCTL_ESDCFG1
  78. DATA 4 0x83fd900c 0x3f3574aa
  79. # Init DRAM on CS0
  80. # ESDCTL_ESDSCR
  81. DATA 4 0x83fd9014 0x04008008
  82. DATA 4 0x83fd9014 0x0000801a
  83. DATA 4 0x83fd9014 0x0000801b
  84. DATA 4 0x83fd9014 0x00448019
  85. DATA 4 0x83fd9014 0x07328018
  86. DATA 4 0x83fd9014 0x04008008
  87. DATA 4 0x83fd9014 0x00008010
  88. DATA 4 0x83fd9014 0x00008010
  89. DATA 4 0x83fd9014 0x06328018
  90. DATA 4 0x83fd9014 0x03808019
  91. DATA 4 0x83fd9014 0x00408019
  92. DATA 4 0x83fd9014 0x00008000
  93. # Init DRAM on CS1
  94. DATA 4 0x83fd9014 0x0400800c
  95. DATA 4 0x83fd9014 0x0000801e
  96. DATA 4 0x83fd9014 0x0000801f
  97. DATA 4 0x83fd9014 0x0000801d
  98. DATA 4 0x83fd9014 0x0732801c
  99. DATA 4 0x83fd9014 0x0400800c
  100. DATA 4 0x83fd9014 0x00008014
  101. DATA 4 0x83fd9014 0x00008014
  102. DATA 4 0x83fd9014 0x0632801c
  103. DATA 4 0x83fd9014 0x0380801d
  104. DATA 4 0x83fd9014 0x0040801d
  105. DATA 4 0x83fd9014 0x00008004
  106. # Write to CTL0
  107. DATA 4 0x83fd9000 0xb2a20000
  108. # Write to CTL1
  109. DATA 4 0x83fd9008 0xb2a20000
  110. # ESDMISC
  111. DATA 4 0x83fd9010 0x000ad6d0
  112. #ESDCTL_ESDCDLYGD
  113. DATA 4 0x83fd9034 0x90000000
  114. DATA 4 0x83fd9014 0x00000000