blob: bb6c60b4c3cc902b8d3e2d2fa5909c768b6d3b68 [file] [log] [blame]
Christian Gmeiner5ad7c162014-10-02 13:33:46 +02001/*
2 * Copyright (C) 2011 Freescale Semiconductor, Inc.
3 * Jason Liu <r64343@freescale.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 *
7 * Refer doc/README.imximage for more details about how-to configure
8 * and create imximage boot image
9 *
10 * The syntax is taken as close as possible with the kwbimage
11 */
12
13/* image version */
14IMAGE_VERSION 2
15
16/*
17 * Boot Device : one of
18 * spi, sd (the board has no nand neither onenand)
19 */
20BOOT_FROM sd
21
22/*
23 * Device Configuration Data (DCD)
24 *
25 * Each entry must have the format:
26 * Addr-type Address Value
27 *
28 * where:
29 * Addr-type register length (1,2 or 4 bytes)
30 * Address absolute address of the register
31 * value value to be stored in the register
32 */
33DATA 4 0x020e05a8 0x00000030
34DATA 4 0x020e05b0 0x00000030
35DATA 4 0x020e0524 0x00000030
36DATA 4 0x020e051c 0x00000030
37
38DATA 4 0x020e0518 0x00000030
39DATA 4 0x020e050c 0x00000030
40DATA 4 0x020e05b8 0x00000030
41DATA 4 0x020e05c0 0x00000030
42
43DATA 4 0x020e05ac 0x00020030
44DATA 4 0x020e05b4 0x00020030
45DATA 4 0x020e0528 0x00020030
46DATA 4 0x020e0520 0x00020030
47
48DATA 4 0x020e0514 0x00020030
49DATA 4 0x020e0510 0x00020030
50DATA 4 0x020e05bc 0x00020030
51DATA 4 0x020e05c4 0x00020030
52
53DATA 4 0x020e056c 0x00020030
54DATA 4 0x020e0578 0x00020030
55DATA 4 0x020e0588 0x00020030
56DATA 4 0x020e0594 0x00020030
57
58DATA 4 0x020e057c 0x00020030
59DATA 4 0x020e0590 0x00003000
60DATA 4 0x020e0598 0x00003000
61DATA 4 0x020e058c 0x00000000
62
63DATA 4 0x020e059c 0x00003030
64DATA 4 0x020e05a0 0x00003030
65DATA 4 0x020e0784 0x00000030
66DATA 4 0x020e0788 0x00000030
67
68DATA 4 0x020e0794 0x00000030
69DATA 4 0x020e079c 0x00000030
70DATA 4 0x020e07a0 0x00000030
71DATA 4 0x020e07a4 0x00000030
72
73DATA 4 0x020e07a8 0x00000030
74DATA 4 0x020e0748 0x00000030
75DATA 4 0x020e074c 0x00000030
76DATA 4 0x020e0750 0x00020000
77
78DATA 4 0x020e0758 0x00000000
79DATA 4 0x020e0774 0x00020000
80DATA 4 0x020e078c 0x00000030
81DATA 4 0x020e0798 0x000C0000
82
83DATA 4 0x021b081c 0x33333333
84DATA 4 0x021b0820 0x33333333
85DATA 4 0x021b0824 0x33333333
86DATA 4 0x021b0828 0x33333333
87
88DATA 4 0x021b481c 0x33333333
89DATA 4 0x021b4820 0x33333333
90DATA 4 0x021b4824 0x33333333
91DATA 4 0x021b4828 0x33333333
92
93DATA 4 0x021b0018 0x00081740
94
95DATA 4 0x021b001c 0x00008000
96DATA 4 0x021b000c 0x555A7974
97DATA 4 0x021b0010 0xDB538F64
98DATA 4 0x021b0014 0x01FF00DB
99DATA 4 0x021b002c 0x000026D2
100
101DATA 4 0x021b0030 0x005A1023
102DATA 4 0x021b0008 0x09444040
103DATA 4 0x021b0004 0x00025576
104DATA 4 0x021b0040 0x00000027
105DATA 4 0x021b0000 0x831A0000
106
107DATA 4 0x021b001c 0x04088032
108DATA 4 0x021b001c 0x0408803A
109DATA 4 0x021b001c 0x00008033
110DATA 4 0x021b001c 0x0000803B
111DATA 4 0x021b001c 0x00428031
112DATA 4 0x021b001c 0x00428039
113DATA 4 0x021b001c 0x19308030
114DATA 4 0x021b001c 0x19308038
115
116DATA 4 0x021b001c 0x04008040
117DATA 4 0x021b001c 0x04008048
118DATA 4 0x021b0800 0xA1380003
119DATA 4 0x021b4800 0xA1380003
120DATA 4 0x021b0020 0x00005800
121DATA 4 0x021b0818 0x00022227
122DATA 4 0x021b4818 0x00022227
123
124DATA 4 0x021b083c 0x434B0350
125DATA 4 0x021b0840 0x034C0359
126DATA 4 0x021b483c 0x434B0350
127DATA 4 0x021b4840 0x03650348
128DATA 4 0x021b0848 0x4436383B
129DATA 4 0x021b4848 0x39393341
130DATA 4 0x021b0850 0x35373933
131DATA 4 0x021b4850 0x48254A36
132
133DATA 4 0x021b080c 0x001F001F
134DATA 4 0x021b0810 0x001F001F
135
136DATA 4 0x021b480c 0x00440044
137DATA 4 0x021b4810 0x00440044
138
139DATA 4 0x021b08b8 0x00000800
140DATA 4 0x021b48b8 0x00000800
141
142DATA 4 0x021b001c 0x00000000
143DATA 4 0x021b0404 0x00011006
144
145/* set the default clock gate to save power */
146DATA 4 0x020c4068 0x00C03F3F
147DATA 4 0x020c406c 0x0030FC03
148DATA 4 0x020c4070 0x0FFFC000
149DATA 4 0x020c4074 0x3FF00000
150DATA 4 0x020c4078 0x00FFF300
151DATA 4 0x020c407c 0x0F0000C3
152DATA 4 0x020c4080 0x000003FF
153
154/* enable AXI cache for VDOA/VPU/IPU */
155DATA 4 0x020e0010 0xF00000CF
156/* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */
157DATA 4 0x020e0018 0x007F007F
158DATA 4 0x020e001c 0x007F007F
159
160/*
161 * Setup CCM_CCOSR register as follows:
162 *
163 * cko1_en = 1 --> CKO1 enabled
164 * cko1_div = 111 --> divide by 8
165 * cko1_sel = 1011 --> ahb_clk_root
166 *
167 * This sets CKO1 at ahb_clk_root/8 = 132/8 = 16.5 MHz
168 */
169DATA 4 0x020c4060 0x000000fb