blob: 16bf47316493ceea99aa7d21a73fc6c77659e3fb [file] [log] [blame]
Troy Kisky71a988a2013-01-18 16:14:24 +00001/*
2 * Copyright (C) 2012 Freescale Semiconductor, Inc.
3 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Troy Kisky71a988a2013-01-18 16:14:24 +00005 *
Anatolij Gustschinb1e6c4c2013-04-30 11:15:33 +00006 * Refer doc/README.imximage for more details about how-to configure
Troy Kisky71a988a2013-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 */
11/* image version */
Fabio Estevam7dd65452012-09-24 08:09:33 +000012
13IMAGE_VERSION 2
14
Troy Kisky71a988a2013-01-18 16:14:24 +000015/*
16 * Boot Device : one of
17 * spi, sd (the board has no nand neither onenand)
18 */
Fabio Estevam7dd65452012-09-24 08:09:33 +000019BOOT_FROM sd
20
Troy Kisky71a988a2013-01-18 16:14:24 +000021/*
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 */
Fabio Estevam4702c622014-01-27 14:05:47 -020032DATA 4 0x020e0798 0x000C0000
33DATA 4 0x020e0758 0x00000000
34DATA 4 0x020e0588 0x00000030
35DATA 4 0x020e0594 0x00000030
36DATA 4 0x020e056c 0x00000030
37DATA 4 0x020e0578 0x00000030
38DATA 4 0x020e074c 0x00000030
39DATA 4 0x020e057c 0x00000030
40DATA 4 0x020e058c 0x00000000
41DATA 4 0x020e059c 0x00000030
42DATA 4 0x020e05a0 0x00000030
43DATA 4 0x020e078c 0x00000030
44DATA 4 0x020e0750 0x00020000
Fabio Estevam7dd65452012-09-24 08:09:33 +000045DATA 4 0x020e05a8 0x00000028
46DATA 4 0x020e05b0 0x00000028
47DATA 4 0x020e0524 0x00000028
48DATA 4 0x020e051c 0x00000028
Fabio Estevam7dd65452012-09-24 08:09:33 +000049DATA 4 0x020e0518 0x00000028
50DATA 4 0x020e050c 0x00000028
51DATA 4 0x020e05b8 0x00000028
52DATA 4 0x020e05c0 0x00000028
Fabio Estevam4702c622014-01-27 14:05:47 -020053DATA 4 0x020e0774 0x00020000
Fabio Estevam7dd65452012-09-24 08:09:33 +000054DATA 4 0x020e0784 0x00000028
55DATA 4 0x020e0788 0x00000028
Fabio Estevam7dd65452012-09-24 08:09:33 +000056DATA 4 0x020e0794 0x00000028
57DATA 4 0x020e079c 0x00000028
58DATA 4 0x020e07a0 0x00000028
59DATA 4 0x020e07a4 0x00000028
Fabio Estevam7dd65452012-09-24 08:09:33 +000060DATA 4 0x020e07a8 0x00000028
61DATA 4 0x020e0748 0x00000028
Fabio Estevam4702c622014-01-27 14:05:47 -020062DATA 4 0x020e05ac 0x00000028
63DATA 4 0x020e05b4 0x00000028
64DATA 4 0x020e0528 0x00000028
65DATA 4 0x020e0520 0x00000028
66DATA 4 0x020e0514 0x00000028
67DATA 4 0x020e0510 0x00000028
68DATA 4 0x020e05bc 0x00000028
69DATA 4 0x020e05c4 0x00000028
70DATA 4 0x021b0800 0xa1390003
71DATA 4 0x021b080c 0x001F001F
72DATA 4 0x021b0810 0x001F001F
73DATA 4 0x021b480c 0x001F001F
74DATA 4 0x021b4810 0x001F001F
75DATA 4 0x021b083c 0x43260335
76DATA 4 0x021b0840 0x031A030B
77DATA 4 0x021b483c 0x4323033B
78DATA 4 0x021b4840 0x0323026F
79DATA 4 0x021b0848 0x483D4545
80DATA 4 0x021b4848 0x44433E48
81DATA 4 0x021b0850 0x41444840
82DATA 4 0x021b4850 0x4835483E
Fabio Estevam7dd65452012-09-24 08:09:33 +000083DATA 4 0x021b081c 0x33333333
84DATA 4 0x021b0820 0x33333333
85DATA 4 0x021b0824 0x33333333
86DATA 4 0x021b0828 0x33333333
Fabio Estevam7dd65452012-09-24 08:09:33 +000087DATA 4 0x021b481c 0x33333333
88DATA 4 0x021b4820 0x33333333
89DATA 4 0x021b4824 0x33333333
90DATA 4 0x021b4828 0x33333333
Fabio Estevam7dd65452012-09-24 08:09:33 +000091DATA 4 0x021b08b8 0x00000800
92DATA 4 0x021b48b8 0x00000800
Fabio Estevam4702c622014-01-27 14:05:47 -020093DATA 4 0x021b0004 0x00020036
94DATA 4 0x021b0008 0x09444040
95DATA 4 0x021b000c 0x8A8F7955
96DATA 4 0x021b0010 0xFF328F64
97DATA 4 0x021b0014 0x01FF00DB
98DATA 4 0x021b0018 0x00001740
99DATA 4 0x021b001c 0x00008000
100DATA 4 0x021b002c 0x000026d2
101DATA 4 0x021b0030 0x008F1023
102DATA 4 0x021b0040 0x00000047
103DATA 4 0x021b0000 0x841A0000
104DATA 4 0x021b001c 0x04088032
105DATA 4 0x021b001c 0x00008033
106DATA 4 0x021b001c 0x00048031
107DATA 4 0x021b001c 0x09408030
108DATA 4 0x021b001c 0x04008040
109DATA 4 0x021b0020 0x00005800
110DATA 4 0x021b0818 0x00011117
111DATA 4 0x021b4818 0x00011117
Fabio Estevam7dd65452012-09-24 08:09:33 +0000112DATA 4 0x021b0004 0x00025576
Fabio Estevam4702c622014-01-27 14:05:47 -0200113DATA 4 0x021b0404 0x00011006
Fabio Estevam7dd65452012-09-24 08:09:33 +0000114DATA 4 0x021b001c 0x00000000
115
Fabio Estevam4702c622014-01-27 14:05:47 -0200116/* set the default clock gate to save power */
Fabio Estevam7dd65452012-09-24 08:09:33 +0000117DATA 4 0x020c4068 0x00C03F3F
Fabio Estevam4702c622014-01-27 14:05:47 -0200118DATA 4 0x020c406c 0x0030FC03
Fabio Estevam7dd65452012-09-24 08:09:33 +0000119DATA 4 0x020c4070 0x0FFFC000
120DATA 4 0x020c4074 0x3FF00000
Fabio Estevam4702c622014-01-27 14:05:47 -0200121DATA 4 0x020c4078 0xFFFFF300
122DATA 4 0x020c407c 0x0F0000F3
123DATA 4 0x020c4080 0x00000FFF
124
125/* enable AXI cache for VDOA/VPU/IPU */
126DATA 4 0x020e0010 0xF00000CF
127/* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */
128DATA 4 0x020e0018 0x007F007F
129DATA 4 0x020e001c 0x007F007F