blob: 27c593a5e0e6ac2ffd9a272642bf0859faf228cf [file] [log] [blame]
Marek Vasut0f83b362013-04-25 10:16:03 +00001/*
2 * DENX M53 DRAM init values
3 * Copyright (C) 2012-2013 Marek Vasut <marex@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#include <asm/imx-common/imximage.cfg>
29
30/* image version */
31IMAGE_VERSION 2
32
33
34/* Boot Offset 0x400, valid for both SD and NAND boot. */
35BOOT_OFFSET FLASH_OFFSET_STANDARD
36
37/*
38 * Device Configuration Data (DCD)
39 *
40 * Each entry must have the format:
41 * Addr-type Address Value
42 *
43 * where:
44 * Addr-type register length (1,2 or 4 bytes)
45 * Address absolute address of the register
46 * value value to be stored in the register
47 */
48DATA 4 0x53fa86f4 0x00000000 /* GRP_DDRMODE_CTL */
49DATA 4 0x53fa8714 0x00000000 /* GRP_DDRMODE */
50DATA 4 0x53fa86fc 0x00000000 /* GRP_DDRPKE */
51DATA 4 0x53fa8724 0x04000000 /* GRP_DDR_TYPE */
52
53DATA 4 0x53fa872c 0x00300000 /* GRP_B3DS */
54DATA 4 0x53fa8554 0x00300000 /* DRAM_DQM3 */
55DATA 4 0x53fa8558 0x00300040 /* DRAM_SDQS3 */
56
57DATA 4 0x53fa8728 0x00300000 /* GRP_B2DS */
58DATA 4 0x53fa8560 0x00300000 /* DRAM_DQM2 */
59DATA 4 0x53fa8568 0x00300040 /* DRAM_SDQS2 */
60
61DATA 4 0x53fa871c 0x00300000 /* GRP_B1DS */
62DATA 4 0x53fa8594 0x00300000 /* DRAM_DQM1 */
63DATA 4 0x53fa8590 0x00300040 /* DRAM_SDQS1 */
64
65DATA 4 0x53fa8718 0x00300000 /* GRP_B0DS */
66DATA 4 0x53fa8584 0x00300000 /* DRAM_DQM0 */
67DATA 4 0x53fa857c 0x00300040 /* DRAM_SDQS0 */
68
69DATA 4 0x53fa8578 0x00300000 /* DRAM_SDCLK_0 */
70DATA 4 0x53fa8570 0x00300000 /* DRAM_SDCLK_1 */
71
72DATA 4 0x53fa8574 0x00300000 /* DRAM_CAS */
73DATA 4 0x53fa8588 0x00300000 /* DRAM_RAS */
74DATA 4 0x53fa86f0 0x00300000 /* GRP_ADDDS */
75DATA 4 0x53fa8720 0x00300000 /* GRP_CTLDS */
76
77DATA 4 0x53fa8564 0x00300040 /* DRAM_SDODT1 */
78DATA 4 0x53fa8580 0x00300040 /* DRAM_SDODT0 */
79
80/* ESDCTL */
81DATA 4 0x63fd9088 0x32383535
82DATA 4 0x63fd9090 0x40383538
83DATA 4 0x63fd907c 0x0136014d
84DATA 4 0x63fd9080 0x01510141
85
86DATA 4 0x63fd9018 0x00011740
87DATA 4 0x63fd9000 0xc3190000
88DATA 4 0x63fd900c 0x555952e3
89DATA 4 0x63fd9010 0xb68e8b63
90DATA 4 0x63fd9014 0x01ff00db
91DATA 4 0x63fd902c 0x000026d2
92DATA 4 0x63fd9030 0x009f0e21
93DATA 4 0x63fd9008 0x12273030
94DATA 4 0x63fd9004 0x0002002d
95DATA 4 0x63fd901c 0x00008032
96DATA 4 0x63fd901c 0x00008033
97DATA 4 0x63fd901c 0x00028031
98DATA 4 0x63fd901c 0x092080b0
99DATA 4 0x63fd901c 0x04008040
100DATA 4 0x63fd901c 0x0000803a
101DATA 4 0x63fd901c 0x0000803b
102DATA 4 0x63fd901c 0x00028039
103DATA 4 0x63fd901c 0x09208138
104DATA 4 0x63fd901c 0x04008048
105DATA 4 0x63fd9020 0x00001800
106DATA 4 0x63fd9040 0x04b80003
107DATA 4 0x63fd9058 0x00022227
108DATA 4 0x63fd901c 0x00000000