blob: 762ccd0ab3fbc2f6f4d006ccd763c3079c50d52e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Troy Kiskya18d7862013-01-18 16:14:24 +00002/*
3 * (C) Copyright 2009
4 * Stefano Babic DENX Software Engineering sbabic@denx.de.
5 *
Patrick Delaunay488b6ac2020-02-28 15:18:12 +01006 * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure
Troy Kiskya18d7862013-01-18 16:14:24 +00007 * and create imximage boot image
8 *
9 * The syntax is taken as close as possible with the kwbimage
10 */
Fabio Estevamadac83a2011-09-06 09:05:43 +000011
Troy Kiskya18d7862013-01-18 16:14:24 +000012/*
13 * Boot Device : one of
14 * spi, sd (the board has no nand neither onenand)
15 */
Fabio Estevamadac83a2011-09-06 09:05:43 +000016BOOT_FROM sd
17
Troy Kiskya18d7862013-01-18 16:14:24 +000018/*
19 * Device Configuration Data (DCD)
20 *
21 * Each entry must have the format:
22 * Addr-type Address Value
23 *
24 * where:
25 * Addr-type register length (1,2 or 4 bytes)
26 * Address absolute address of the register
27 * value value to be stored in the register
28 */
29/* EIM config-CS5 init -- CPLD */
Fabio Estevamadac83a2011-09-06 09:05:43 +000030DATA 4 0xB8002050 0x0000D843
31DATA 4 0xB8002054 0x22252521
32DATA 4 0xB8002058 0x22220A00
33
Troy Kiskya18d7862013-01-18 16:14:24 +000034/* DDR2 init */
Fabio Estevamadac83a2011-09-06 09:05:43 +000035DATA 4 0xB8001004 0x0076E83A
36DATA 4 0xB8001010 0x00000204
37DATA 4 0xB8001000 0x92210000
38DATA 4 0x80000f00 0x12344321
39DATA 4 0xB8001000 0xB2210000
40DATA 1 0x82000000 0xda
41DATA 1 0x83000000 0xda
42DATA 1 0x81000400 0xda
43DATA 1 0x80000333 0xda
44
45DATA 4 0xB8001000 0x92210000
46DATA 1 0x80000400 0x12345678
47
48DATA 4 0xB8001000 0xA2210000
49DATA 4 0x80000000 0x87654321
50DATA 4 0x80000000 0x87654321
51
52DATA 4 0xB8001000 0xB2210000
53DATA 1 0x80000233 0xda
54DATA 1 0x81000780 0xda
55DATA 1 0x81000400 0xda
56DATA 4 0xB8001000 0x82216080
57DATA 4 0x43FAC454 0x00001000
58
59DATA 4 0x53F80008 0x20034000
60
Troy Kiskya18d7862013-01-18 16:14:24 +000061/* Enable the clocks */
Fabio Estevamadac83a2011-09-06 09:05:43 +000062DATA 4 0x53f8000c 0x1fffffff
63DATA 4 0x53f80010 0xffffffff
64DATA 4 0x53f80014 0xfdfff