1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2011 Freescale Semiconductor, Inc.
4 * Jason Liu <r64343@freescale.com>
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
12/* image version */
13IMAGE_VERSION 2
14
15/*
16 * Boot Device : one of
17 * spi, sd (the board has no nand neither onenand)
18 */
19BOOT_FROM      sd
20
21/*
22 * Device Configuration Data (DCD)
23 *
24 * Each entry must have the format:
25 * Addr-type           Address        Value
26 *
27 * where:
28 *      Addr-type register length (1,2 or 4 bytes)
29 *      Address   absolute address of the register
30 *      value     value to be stored in the register
31 */
32DATA 4 0x020e05a8 0x00000030
33DATA 4 0x020e05b0 0x00000030
34DATA 4 0x020e0524 0x00000030
35DATA 4 0x020e051c 0x00000030
36
37DATA 4 0x020e0518 0x00000030
38DATA 4 0x020e050c 0x00000030
39DATA 4 0x020e05b8 0x00000030
40DATA 4 0x020e05c0 0x00000030
41
42DATA 4 0x020e05ac 0x00020030
43DATA 4 0x020e05b4 0x00020030
44DATA 4 0x020e0528 0x00020030
45DATA 4 0x020e0520 0x00020030
46
47DATA 4 0x020e0514 0x00020030
48DATA 4 0x020e0510 0x00020030
49DATA 4 0x020e05bc 0x00020030
50DATA 4 0x020e05c4 0x00020030
51
52DATA 4 0x020e056c 0x00020030
53DATA 4 0x020e0578 0x00020030
54DATA 4 0x020e0588 0x00020030
55DATA 4 0x020e0594 0x00020030
56
57DATA 4 0x020e057c 0x00020030
58DATA 4 0x020e0590 0x00003000
59DATA 4 0x020e0598 0x00003000
60DATA 4 0x020e058c 0x00000000
61
62DATA 4 0x020e059c 0x00003030
63DATA 4 0x020e05a0 0x00003030
64DATA 4 0x020e0784 0x00000030
65DATA 4 0x020e0788 0x00000030
66
67DATA 4 0x020e0794 0x00000030
68DATA 4 0x020e079c 0x00000030
69DATA 4 0x020e07a0 0x00000030
70DATA 4 0x020e07a4 0x00000030
71
72DATA 4 0x020e07a8 0x00000030
73DATA 4 0x020e0748 0x00000030
74DATA 4 0x020e074c 0x00000030
75DATA 4 0x020e0750 0x00020000
76
77DATA 4 0x020e0758 0x00000000
78DATA 4 0x020e0774 0x00020000
79DATA 4 0x020e078c 0x00000030
80DATA 4 0x020e0798 0x000C0000
81
82DATA 4 0x021b081c 0x33333333
83DATA 4 0x021b0820 0x33333333
84DATA 4 0x021b0824 0x33333333
85DATA 4 0x021b0828 0x33333333
86
87DATA 4 0x021b481c 0x33333333
88DATA 4 0x021b4820 0x33333333
89DATA 4 0x021b4824 0x33333333
90DATA 4 0x021b4828 0x33333333
91
92DATA 4 0x021b0018 0x00081740
93
94DATA 4 0x021b001c 0x00008000
95DATA 4 0x021b000c 0x555A7974
96DATA 4 0x021b0010 0xDB538F64
97DATA 4 0x021b0014 0x01FF00DB
98DATA 4 0x021b002c 0x000026D2
99
100DATA 4 0x021b0030 0x005A1023
101DATA 4 0x021b0008 0x09444040
102DATA 4 0x021b0004 0x00025576
103DATA 4 0x021b0040 0x00000027
104DATA 4 0x021b0000 0x831A0000
105
106DATA 4 0x021b001c 0x04088032
107DATA 4 0x021b001c 0x0408803A
108DATA 4 0x021b001c 0x00008033
109DATA 4 0x021b001c 0x0000803B
110DATA 4 0x021b001c 0x00428031
111DATA 4 0x021b001c 0x00428039
112DATA 4 0x021b001c 0x19308030
113DATA 4 0x021b001c 0x19308038
114
115DATA 4 0x021b001c 0x04008040
116DATA 4 0x021b001c 0x04008048
117DATA 4 0x021b0800 0xA1380003
118DATA 4 0x021b4800 0xA1380003
119DATA 4 0x021b0020 0x00005800
120DATA 4 0x021b0818 0x00022227
121DATA 4 0x021b4818 0x00022227
122
123DATA 4 0x021b083c 0x434B0350
124DATA 4 0x021b0840 0x034C0359
125DATA 4 0x021b483c 0x434B0350
126DATA 4 0x021b4840 0x03650348
127DATA 4 0x021b0848 0x4436383B
128DATA 4 0x021b4848 0x39393341
129DATA 4 0x021b0850 0x35373933
130DATA 4 0x021b4850 0x48254A36
131
132DATA 4 0x021b080c 0x001F001F
133DATA 4 0x021b0810 0x001F001F
134
135DATA 4 0x021b480c 0x00440044
136DATA 4 0x021b4810 0x00440044
137
138DATA 4 0x021b08b8 0x00000800
139DATA 4 0x021b48b8 0x00000800
140
141DATA 4 0x021b001c 0x00000000
142DATA 4 0x021b0404 0x00011006
143
144
145/*
146 * Setup CCM_CCOSR register as follows:
147 *
148 * cko1_en  = 1	   --> CKO1 enabled
149 * cko1_div = 111  --> divide by 8
150 * cko1_sel = 1011 --> ahb_clk_root
151 *
152 * This sets CKO1 at ahb_clk_root/8 = 132/8 = 16.5 MHz
153 */
154DATA 4 0x020c4060 0x000000fb
155