blob: 68b3eb5c1c3fa1d13e5b8e055ad623fae872060c [file] [log] [blame]
Marek Vasut39cb4f32018-10-04 21:24:14 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * M53 DRAM init values
4 * Copyright (C) 2012-2013 Marek Vasut <marex@denx.de>
5 *
6 * Refer doc/README.imximage for more details about how-to configure
7 * and create imximage boot image
8 *
9 * The syntax is taken as close as possible with the kwbimage
10 */
11#include <asm/mach-imx/imximage.cfg>
12
13/* image version */
14IMAGE_VERSION 2
15
16
17/* Boot Offset 0x400, valid for both SD and NAND boot. */
18BOOT_OFFSET FLASH_OFFSET_STANDARD
19
20/*
21 * Device Configuration Data (DCD)
22 *
23 * Each entry must have the format:
24 * Addr-type Address Value
25 *
26 * where:
27 * Addr-type register length (1,2 or 4 bytes)
28 * Address absolute address of the register
29 * value value to be stored in the register
30 */
31DATA 4 0x53fa86f4 0x00000000 /* GRP_DDRMODE_CTL */
32DATA 4 0x53fa8714 0x00000000 /* GRP_DDRMODE */
33DATA 4 0x53fa86fc 0x00000000 /* GRP_DDRPKE */
34DATA 4 0x53fa8724 0x04000000 /* GRP_DDR_TYPE */
35
36DATA 4 0x53fa872c 0x00300000 /* GRP_B3DS */
37DATA 4 0x53fa8554 0x00300000 /* DRAM_DQM3 */
38DATA 4 0x53fa8558 0x00300040 /* DRAM_SDQS3 */
39
40DATA 4 0x53fa8728 0x00300000 /* GRP_B2DS */
41DATA 4 0x53fa8560 0x00300000 /* DRAM_DQM2 */
42DATA 4 0x53fa8568 0x00300040 /* DRAM_SDQS2 */
43
44DATA 4 0x53fa871c 0x00300000 /* GRP_B1DS */
45DATA 4 0x53fa8594 0x00300000 /* DRAM_DQM1 */
46DATA 4 0x53fa8590 0x00300040 /* DRAM_SDQS1 */
47
48DATA 4 0x53fa8718 0x00300000 /* GRP_B0DS */
49DATA 4 0x53fa8584 0x00300000 /* DRAM_DQM0 */
50DATA 4 0x53fa857c 0x00300040 /* DRAM_SDQS0 */
51
52DATA 4 0x53fa8578 0x00300000 /* DRAM_SDCLK_0 */
53DATA 4 0x53fa8570 0x00300000 /* DRAM_SDCLK_1 */
54
55DATA 4 0x53fa8574 0x00300000 /* DRAM_CAS */
56DATA 4 0x53fa8588 0x00300000 /* DRAM_RAS */
57DATA 4 0x53fa86f0 0x00300000 /* GRP_ADDDS */
58DATA 4 0x53fa8720 0x00300000 /* GRP_CTLDS */
59
60DATA 4 0x53fa8564 0x00300040 /* DRAM_SDODT1 */
61DATA 4 0x53fa8580 0x00300040 /* DRAM_SDODT0 */
62
63/* ESDCTL */
64DATA 4 0x63fd9088 0x32383535
65DATA 4 0x63fd9090 0x40383538
66DATA 4 0x63fd907c 0x0136014d
67DATA 4 0x63fd9080 0x01510141
68
69DATA 4 0x63fd9018 0x00011740
70DATA 4 0x63fd9000 0xc3190000
71DATA 4 0x63fd900c 0x555952e3
72DATA 4 0x63fd9010 0xb68e8b63
73DATA 4 0x63fd9014 0x01ff00db
74DATA 4 0x63fd902c 0x000026d2
75DATA 4 0x63fd9030 0x009f0e21
76DATA 4 0x63fd9008 0x12273030
77DATA 4 0x63fd9004 0x0002002d
78DATA 4 0x63fd901c 0x00008032
79DATA 4 0x63fd901c 0x00008033
80DATA 4 0x63fd901c 0x00028031
81DATA 4 0x63fd901c 0x092080b0
82DATA 4 0x63fd901c 0x04008040
83DATA 4 0x63fd901c 0x0000803a
84DATA 4 0x63fd901c 0x0000803b
85DATA 4 0x63fd901c 0x00028039
86DATA 4 0x63fd901c 0x09208138
87DATA 4 0x63fd901c 0x04008048
88DATA 4 0x63fd9020 0x00001800
89DATA 4 0x63fd9040 0x04b80003
90DATA 4 0x63fd9058 0x00022227
91DATA 4 0x63fd901c 0x00000000