1/*
2 * Copyright (C) 2011-2014 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 */
33#ifdef CONFIG_MX6DQ_LPDDR2
34/* DCD */
35DATA 4 0x020C4018 0x60324
36
37DATA 4 0x020E05a8 0x00003038
38DATA 4 0x020E05b0 0x00003038
39DATA 4 0x020E0524 0x00003038
40DATA 4 0x020E051c 0x00003038
41
42DATA 4 0x020E0518 0x00003038
43DATA 4 0x020E050c 0x00003038
44DATA 4 0x020E05b8 0x00003038
45DATA 4 0x020E05c0 0x00003038
46
47DATA 4 0x020E05ac 0x00000038
48DATA 4 0x020E05b4 0x00000038
49DATA 4 0x020E0528 0x00000038
50DATA 4 0x020E0520 0x00000038
51
52DATA 4 0x020E0514 0x00000038
53DATA 4 0x020E0510 0x00000038
54DATA 4 0x020E05bc 0x00000038
55DATA 4 0x020E05c4 0x00000038
56
57DATA 4 0x020E056c 0x00000038
58DATA 4 0x020E0578 0x00000038
59DATA 4 0x020E0588 0x00000038
60DATA 4 0x020E0594 0x00000038
61
62DATA 4 0x020E057c 0x00000038
63DATA 4 0x020E0590 0x00000038
64DATA 4 0x020E0598 0x00000038
65DATA 4 0x020E058c 0x00000000
66
67DATA 4 0x020E059c 0x00000038
68DATA 4 0x020E05a0 0x00000038
69DATA 4 0x020E0784 0x00000038
70DATA 4 0x020E0788 0x00000038
71
72DATA 4 0x020E0794 0x00000038
73DATA 4 0x020E079c 0x00000038
74DATA 4 0x020E07a0 0x00000038
75DATA 4 0x020E07a4 0x00000038
76
77DATA 4 0x020E07a8 0x00000038
78DATA 4 0x020E0748 0x00000038
79DATA 4 0x020E074c 0x00000038
80DATA 4 0x020E0750 0x00020000
81
82DATA 4 0x020E0758 0x00000000
83DATA 4 0x020E0774 0x00020000
84DATA 4 0x020E078c 0x00000038
85DATA 4 0x020E0798 0x00080000
86
87DATA 4 0x021b001c 0x00008000
88DATA 4 0x021b401c 0x00008000
89
90DATA 4 0x021b085c 0x1b5f01ff
91DATA 4 0x021b485c 0x1b5f01ff
92
93DATA 4 0x021b0800 0xa1390000
94DATA 4 0x021b4800 0xa1390000
95
96DATA 4 0x021b0890 0x00400000
97DATA 4 0x021b4890 0x00400000
98
99DATA 4 0x021b48bc 0x00055555
100
101DATA 4 0x021b08b8 0x00000800
102DATA 4 0x021b48b8 0x00000800
103
104DATA 4 0x021b081c 0x33333333
105DATA 4 0x021b0820 0x33333333
106DATA 4 0x021b0824 0x33333333
107DATA 4 0x021b0828 0x33333333
108DATA 4 0x021b481c 0x33333333
109DATA 4 0x021b4820 0x33333333
110DATA 4 0x021b4824 0x33333333
111DATA 4 0x021b4828 0x33333333
112
113DATA 4 0x021b082c 0xf3333333
114DATA 4 0x021b0830 0xf3333333
115DATA 4 0x021b0834 0xf3333333
116DATA 4 0x021b0838 0xf3333333
117DATA 4 0x021b482c 0xf3333333
118DATA 4 0x021b4830 0xf3333333
119DATA 4 0x021b4834 0xf3333333
120DATA 4 0x021b4838 0xf3333333
121
122DATA 4 0x021b0848 0x49383b39
123DATA 4 0x021b0850 0x30364738
124DATA 4 0x021b4848 0x3e3c3846
125DATA 4 0x021b4850 0x4c294b35
126
127DATA 4 0x021b083c 0x20000000
128DATA 4 0x021b0840 0x0
129DATA 4 0x021b483c 0x20000000
130DATA 4 0x021b4840 0x0
131
132DATA 4 0x021b0858 0xf00
133DATA 4 0x021b4858 0xf00
134
135DATA 4 0x021b08b8 0x800
136DATA 4 0x021b48b8 0x800
137
138DATA 4 0x021b000c 0x555a61a5
139DATA 4 0x021b0004 0x20036
140DATA 4 0x021b0010 0x160e83
141DATA 4 0x021b0014 0xdd
142DATA 4 0x021b0018 0x8174c
143DATA 4 0x021b002c 0xf9f26d2
144DATA 4 0x021b0030 0x20e
145DATA 4 0x021b0038 0x200aac
146DATA 4 0x021b0008 0x0
147
148DATA 4 0x021b0040 0x5f
149
150DATA 4 0x021b0000 0xc3010000
151
152DATA 4 0x021b400c 0x555a61a5
153DATA 4 0x021b4004 0x20036
154DATA 4 0x021b4010 0x160e83
155DATA 4 0x021b4014 0xdd
156DATA 4 0x021b4018 0x8174c
157DATA 4 0x021b402c 0xf9f26d2
158DATA 4 0x021b4030 0x20e
159DATA 4 0x021b4038 0x200aac
160DATA 4 0x021b4008 0x0
161
162DATA 4 0x021b4040 0x3f
163DATA 4 0x021b4000 0xc3010000
164
165DATA 4 0x021b001c 0x3f8030
166DATA 4 0x021b001c 0xff0a8030
167DATA 4 0x021b001c 0xc2018030
168DATA 4 0x021b001c 0x6028030
169DATA 4 0x021b001c 0x2038030
170
171DATA 4 0x021b401c 0x3f8030
172DATA 4 0x021b401c 0xff0a8030
173DATA 4 0x021b401c 0xc2018030
174DATA 4 0x021b401c 0x6028030
175DATA 4 0x021b401c 0x2038030
176
177DATA 4 0x021b0800 0xa1390003
178DATA 4 0x021b4800 0xa1390003
179
180DATA 4 0x021b0020 0x7800
181DATA 4 0x021b4020 0x7800
182
183DATA 4 0x021b0818 0x0
184DATA 4 0x021b4818 0x0
185
186DATA 4 0x021b0800 0xa1390003
187DATA 4 0x021b4800 0xa1390003
188
189DATA 4 0x021b08b8 0x800
190DATA 4 0x021b48b8 0x800
191
192DATA 4 0x021b001c 0x0
193DATA 4 0x021b401c 0x0
194
195DATA 4 0x021b0404 0x00011006
196
197DATA 4 0x020c4068 0x00C03F3F
198DATA 4 0x020c406c 0x0030FC03
199DATA 4 0x020c4070 0x0FFFC000
200DATA 4 0x020c4074 0x3FF00000
201DATA 4 0x020c4078 0x00FFF300
202DATA 4 0x020c407c 0x0F0000C3
203DATA 4 0x020c4080 0x000003FF
204
205/* enable AXI cache for VDOA/VPU/IPU */
206DATA 4 0x020e0010 0xF00000CF
207/* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */
208DATA 4 0x020e0018 0x007F007F
209DATA 4 0x020e001c 0x007F007F
210
211#else
212DATA 4 0x020e05a8 0x00000030
213DATA 4 0x020e05b0 0x00000030
214DATA 4 0x020e0524 0x00000030
215DATA 4 0x020e051c 0x00000030
216
217DATA 4 0x020e0518 0x00000030
218DATA 4 0x020e050c 0x00000030
219DATA 4 0x020e05b8 0x00000030
220DATA 4 0x020e05c0 0x00000030
221
222DATA 4 0x020e05ac 0x00020030
223DATA 4 0x020e05b4 0x00020030
224DATA 4 0x020e0528 0x00020030
225DATA 4 0x020e0520 0x00020030
226
227DATA 4 0x020e0514 0x00020030
228DATA 4 0x020e0510 0x00020030
229DATA 4 0x020e05bc 0x00020030
230DATA 4 0x020e05c4 0x00020030
231
232DATA 4 0x020e056c 0x00020030
233DATA 4 0x020e0578 0x00020030
234DATA 4 0x020e0588 0x00020030
235DATA 4 0x020e0594 0x00020030
236
237DATA 4 0x020e057c 0x00020030
238DATA 4 0x020e0590 0x00003000
239DATA 4 0x020e0598 0x00003000
240DATA 4 0x020e058c 0x00000000
241
242DATA 4 0x020e059c 0x00003030
243DATA 4 0x020e05a0 0x00003030
244DATA 4 0x020e0784 0x00000030
245DATA 4 0x020e0788 0x00000030
246
247DATA 4 0x020e0794 0x00000030
248DATA 4 0x020e079c 0x00000030
249DATA 4 0x020e07a0 0x00000030
250DATA 4 0x020e07a4 0x00000030
251
252DATA 4 0x020e07a8 0x00000030
253DATA 4 0x020e0748 0x00000030
254DATA 4 0x020e074c 0x00000030
255DATA 4 0x020e0750 0x00020000
256
257DATA 4 0x020e0758 0x00000000
258DATA 4 0x020e0774 0x00020000
259DATA 4 0x020e078c 0x00000030
260DATA 4 0x020e0798 0x000C0000
261
262DATA 4 0x021b081c 0x33333333
263DATA 4 0x021b0820 0x33333333
264DATA 4 0x021b0824 0x33333333
265DATA 4 0x021b0828 0x33333333
266
267DATA 4 0x021b481c 0x33333333
268DATA 4 0x021b4820 0x33333333
269DATA 4 0x021b4824 0x33333333
270DATA 4 0x021b4828 0x33333333
271
272DATA 4 0x021b0018 0x00081740
273
274DATA 4 0x021b001c 0x00008000
275DATA 4 0x021b000c 0x555A7975
276DATA 4 0x021b0010 0xFF538E64
277DATA 4 0x021b0014 0x01FF00DB
278DATA 4 0x021b002c 0x000026D2
279
280DATA 4 0x021b0030 0x005B0E21
281DATA 4 0x021b0008 0x09444040
282DATA 4 0x021b0004 0x00025576
283DATA 4 0x021b0040 0x00000027
284DATA 4 0x021b0000 0xC31A0000
285
286DATA 4 0x021b001c 0x04088032
287DATA 4 0x021b001c 0x0408803A
288DATA 4 0x021b001c 0x00008033
289DATA 4 0x021b001c 0x0000803B
290DATA 4 0x021b001c 0x00428031
291DATA 4 0x021b001c 0x00428039
292DATA 4 0x021b001c 0x09408030
293DATA 4 0x021b001c 0x09408038
294
295DATA 4 0x021b001c 0x04008040
296DATA 4 0x021b001c 0x04008048
297DATA 4 0x021b0800 0xA1380003
298DATA 4 0x021b4800 0xA1380003
299DATA 4 0x021b0020 0x00005800
300DATA 4 0x021b0818 0x00022227
301DATA 4 0x021b4818 0x00022227
302
303DATA 4 0x021b083c 0x434B0350
304DATA 4 0x021b0840 0x034C0359
305DATA 4 0x021b483c 0x434B0350
306DATA 4 0x021b4840 0x03650348
307DATA 4 0x021b0848 0x4436383B
308DATA 4 0x021b4848 0x39393341
309DATA 4 0x021b0850 0x35373933
310DATA 4 0x021b4850 0x48254A36
311
312DATA 4 0x021b080c 0x001F001F
313DATA 4 0x021b0810 0x001F001F
314
315DATA 4 0x021b480c 0x00440044
316DATA 4 0x021b4810 0x00440044
317
318DATA 4 0x021b08b8 0x00000800
319DATA 4 0x021b48b8 0x00000800
320
321DATA 4 0x021b001c 0x00000000
322DATA 4 0x021b0404 0x00011006
323
324DATA 4 0x020c4068 0x00C03F3F
325DATA 4 0x020c406c 0x0030FC03
326DATA 4 0x020c4070 0x0FFFC000
327DATA 4 0x020c4074 0x3FF00000
328DATA 4 0x020c4078 0x00FFF300
329DATA 4 0x020c407c 0x0F0000C3
330DATA 4 0x020c4080 0x000003FF
331
332/* enable AXI cache for VDOA/VPU/IPU */
333DATA 4 0x020e0010 0xF00000CF
334/* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */
335DATA 4 0x020e0018 0x007F007F
336DATA 4 0x020e001c 0x007F007F
337
338#endif /* CONFIG_MX6DQ_LPDDR2 */
339