blob: 2298c772cc99e698d4df962e132563511d502c10 [file] [log] [blame]
Peng Fand4947e32015-07-11 11:38:47 +08001/*
2 * Copyright (C) 2015 Freescale Semiconductor, Inc.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
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/* image version */
12
13#define __ASSEMBLY__
14#include <config.h>
15
16IMAGE_VERSION 2
17
18/*
19 * Boot Device : one of spi, sd, eimnor, nand, sata:
20 * spinor: flash_offset: 0x0400
21 * nand: flash_offset: 0x0400
22 * sata: flash_offset: 0x0400
23 * sd/mmc: flash_offset: 0x0400
24 * eimnor: flash_offset: 0x1000
25 */
26BOOT_FROM sd
27
28/*
29 * Device Configuration Data (DCD)
30 *
31 * Each entry must have the format:
32 * Addr-type Address Value
33 *
34 * where:
35 * Addr-type register length (1,2 or 4 bytes)
36 * Address absolute address of the register
37 * value value to be stored in the register
38 */
39DATA 4 0x020e0798 0x000C0000
40DATA 4 0x020e0758 0x00000000
41DATA 4 0x020e0588 0x00000030
42DATA 4 0x020e0594 0x00000030
43DATA 4 0x020e056c 0x00000030
44DATA 4 0x020e0578 0x00000030
45DATA 4 0x020e074c 0x00000030
46DATA 4 0x020e057c 0x00000030
47DATA 4 0x020e058c 0x00000000
48DATA 4 0x020e059c 0x00000030
49DATA 4 0x020e05a0 0x00000030
50DATA 4 0x020e078c 0x00000030
51DATA 4 0x020e0750 0x00020000
52DATA 4 0x020e05a8 0x00000030
53DATA 4 0x020e05b0 0x00000030
54DATA 4 0x020e0524 0x00000030
55DATA 4 0x020e051c 0x00000030
56DATA 4 0x020e0518 0x00000030
57DATA 4 0x020e050c 0x00000030
58DATA 4 0x020e05b8 0x00000030
59DATA 4 0x020e05c0 0x00000030
60DATA 4 0x020e0774 0x00020000
61DATA 4 0x020e0784 0x00000030
62DATA 4 0x020e0788 0x00000030
63DATA 4 0x020e0794 0x00000030
64DATA 4 0x020e079c 0x00000030
65DATA 4 0x020e07a0 0x00000030
66DATA 4 0x020e07a4 0x00000030
67DATA 4 0x020e07a8 0x00000030
68DATA 4 0x020e0748 0x00000030
69DATA 4 0x020e05ac 0x00000030
70DATA 4 0x020e05b4 0x00000030
71DATA 4 0x020e0528 0x00000030
72DATA 4 0x020e0520 0x00000030
73DATA 4 0x020e0514 0x00000030
74DATA 4 0x020e0510 0x00000030
75DATA 4 0x020e05bc 0x00000030
76DATA 4 0x020e05c4 0x00000030
77DATA 4 0x021b0800 0xa1390003
78DATA 4 0x021b080c 0x001b001e
79DATA 4 0x021b0810 0x002e0029
80DATA 4 0x021b480c 0x001b002a
81DATA 4 0x021b4810 0x0019002c
82DATA 4 0x021b083c 0x43240334
83DATA 4 0x021b0840 0x0324031a
84DATA 4 0x021b483c 0x43340344
85DATA 4 0x021b4840 0x03280276
86DATA 4 0x021b0848 0x44383A3E
87DATA 4 0x021b4848 0x3C3C3846
88DATA 4 0x021b0850 0x2e303230
89DATA 4 0x021b4850 0x38283E34
90DATA 4 0x021b081c 0x33333333
91DATA 4 0x021b0820 0x33333333
92DATA 4 0x021b0824 0x33333333
93DATA 4 0x021b0828 0x33333333
94DATA 4 0x021b481c 0x33333333
95DATA 4 0x021b4820 0x33333333
96DATA 4 0x021b4824 0x33333333
97DATA 4 0x021b4828 0x33333333
98DATA 4 0x021b08c0 0x24912492
99DATA 4 0x021b48c0 0x24912492
100DATA 4 0x021b08b8 0x00000800
101DATA 4 0x021b48b8 0x00000800
102DATA 4 0x021b0004 0x00020036
103DATA 4 0x021b0008 0x09444040
104DATA 4 0x021b000c 0x898E7955
105DATA 4 0x021b0010 0xFF328F64
106DATA 4 0x021b0014 0x01FF00DB
107DATA 4 0x021b0018 0x00001740
108DATA 4 0x021b001c 0x00008000
109
110DATA 4 0x021b002c 0x000026d2
111DATA 4 0x021b0030 0x008E1023
112DATA 4 0x021b0040 0x00000047
113DATA 4 0x021b0400 0x14420000
114DATA 4 0x021b0000 0x841A0000
115DATA 4 0x00bb0008 0x00000004
116DATA 4 0x00bb000c 0x2891E41A
117DATA 4 0x00bb0038 0x00000564
118DATA 4 0x00bb0014 0x00000040
119DATA 4 0x00bb0028 0x00000020
120DATA 4 0x00bb002c 0x00000020
121DATA 4 0x021b001c 0x04088032
122DATA 4 0x021b001c 0x00008033
123DATA 4 0x021b001c 0x00048031
124DATA 4 0x021b001c 0x09408030
125DATA 4 0x021b001c 0x04008040
126DATA 4 0x021b0020 0x00005800
127DATA 4 0x021b0818 0x00011117
128DATA 4 0x021b4818 0x00011117
129DATA 4 0x021b0004 0x00025576
130DATA 4 0x021b0404 0x00011006
131DATA 4 0x021b001c 0x00000000
132/* set the default clock gate to save power */
133DATA 4, 0x020c4068, 0x00C03F3F
134DATA 4, 0x020c406c, 0x0030FC03
135DATA 4, 0x020c4070, 0x0FFFC000
136DATA 4, 0x020c4074, 0x3FF00000
137DATA 4, 0x020c4078, 0xFFFFF300
138DATA 4, 0x020c407c, 0x0F0000F3
139DATA 4, 0x020c4080, 0x00000FFF
140
141/* enable AXI cache for VDOA/VPU/IPU */
142DATA 4, 0x020e0010, 0xF00000CF
143/* set IPU AXI-id1 Qos=0x1 AXI-id0/2/3 Qos=0x7 */
144DATA 4, 0x020e0018, 0x77177717
145DATA 4, 0x020e001c, 0x77177717