Troy Kisky | a18d786 | 2013-01-18 16:14:24 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 Freescale Semiconductor, Inc. |
| 3 | * Jason Liu <r64343@freescale.com> |
| 4 | * |
| 5 | * See file CREDITS for list of people who contributed to this |
| 6 | * project. |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or |
| 9 | * modify it under the terms of the GNU General Public License as |
| 10 | * published by the Free Software Foundation; either version 2 of |
| 11 | * the License or (at your option) any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * along with this program; if not write to the Free Software |
| 20 | * Foundation Inc. 51 Franklin Street Fifth Floor Boston, |
| 21 | * MA 02110-1301 USA |
| 22 | * |
| 23 | * Refer docs/README.imxmage for more details about how-to configure |
| 24 | * and create imximage boot image |
| 25 | * |
| 26 | * The syntax is taken as close as possible with the kwbimage |
| 27 | */ |
Jason Liu | 0238468 | 2011-12-29 06:34:19 +0000 | [diff] [blame] | 28 | |
Troy Kisky | a18d786 | 2013-01-18 16:14:24 +0000 | [diff] [blame] | 29 | /* image version */ |
Jason Liu | 0238468 | 2011-12-29 06:34:19 +0000 | [diff] [blame] | 30 | IMAGE_VERSION 2 |
| 31 | |
Troy Kisky | a18d786 | 2013-01-18 16:14:24 +0000 | [diff] [blame] | 32 | /* |
| 33 | * Boot Device : one of |
| 34 | * spi, sd (the board has no nand neither onenand) |
| 35 | */ |
Jason Liu | 0238468 | 2011-12-29 06:34:19 +0000 | [diff] [blame] | 36 | BOOT_FROM sd |
| 37 | |
Troy Kisky | a18d786 | 2013-01-18 16:14:24 +0000 | [diff] [blame] | 38 | /* |
| 39 | * Device Configuration Data (DCD) |
| 40 | * |
| 41 | * Each entry must have the format: |
| 42 | * Addr-type Address Value |
| 43 | * |
| 44 | * where: |
| 45 | * Addr-type register length (1,2 or 4 bytes) |
| 46 | * Address absolute address of the register |
| 47 | * value value to be stored in the register |
| 48 | */ |
Jason Liu | 0238468 | 2011-12-29 06:34:19 +0000 | [diff] [blame] | 49 | DATA 4 0x020e05a8 0x00000030 |
| 50 | DATA 4 0x020e05b0 0x00000030 |
| 51 | DATA 4 0x020e0524 0x00000030 |
| 52 | DATA 4 0x020e051c 0x00000030 |
| 53 | |
| 54 | DATA 4 0x020e0518 0x00000030 |
| 55 | DATA 4 0x020e050c 0x00000030 |
| 56 | DATA 4 0x020e05b8 0x00000030 |
| 57 | DATA 4 0x020e05c0 0x00000030 |
| 58 | |
| 59 | DATA 4 0x020e05ac 0x00020030 |
| 60 | DATA 4 0x020e05b4 0x00020030 |
| 61 | DATA 4 0x020e0528 0x00020030 |
| 62 | DATA 4 0x020e0520 0x00020030 |
| 63 | |
| 64 | DATA 4 0x020e0514 0x00020030 |
| 65 | DATA 4 0x020e0510 0x00020030 |
| 66 | DATA 4 0x020e05bc 0x00020030 |
| 67 | DATA 4 0x020e05c4 0x00020030 |
| 68 | |
| 69 | DATA 4 0x020e056c 0x00020030 |
| 70 | DATA 4 0x020e0578 0x00020030 |
| 71 | DATA 4 0x020e0588 0x00020030 |
| 72 | DATA 4 0x020e0594 0x00020030 |
| 73 | |
| 74 | DATA 4 0x020e057c 0x00020030 |
| 75 | DATA 4 0x020e0590 0x00003000 |
| 76 | DATA 4 0x020e0598 0x00003000 |
| 77 | DATA 4 0x020e058c 0x00000000 |
| 78 | |
| 79 | DATA 4 0x020e059c 0x00003030 |
| 80 | DATA 4 0x020e05a0 0x00003030 |
| 81 | DATA 4 0x020e0784 0x00000030 |
| 82 | DATA 4 0x020e0788 0x00000030 |
| 83 | |
| 84 | DATA 4 0x020e0794 0x00000030 |
| 85 | DATA 4 0x020e079c 0x00000030 |
| 86 | DATA 4 0x020e07a0 0x00000030 |
| 87 | DATA 4 0x020e07a4 0x00000030 |
| 88 | |
| 89 | DATA 4 0x020e07a8 0x00000030 |
| 90 | DATA 4 0x020e0748 0x00000030 |
| 91 | DATA 4 0x020e074c 0x00000030 |
| 92 | DATA 4 0x020e0750 0x00020000 |
| 93 | |
| 94 | DATA 4 0x020e0758 0x00000000 |
| 95 | DATA 4 0x020e0774 0x00020000 |
| 96 | DATA 4 0x020e078c 0x00000030 |
| 97 | DATA 4 0x020e0798 0x000C0000 |
| 98 | |
| 99 | DATA 4 0x021b081c 0x33333333 |
| 100 | DATA 4 0x021b0820 0x33333333 |
| 101 | DATA 4 0x021b0824 0x33333333 |
| 102 | DATA 4 0x021b0828 0x33333333 |
| 103 | |
| 104 | DATA 4 0x021b481c 0x33333333 |
| 105 | DATA 4 0x021b4820 0x33333333 |
| 106 | DATA 4 0x021b4824 0x33333333 |
| 107 | DATA 4 0x021b4828 0x33333333 |
| 108 | |
| 109 | DATA 4 0x021b0018 0x00081740 |
| 110 | |
| 111 | DATA 4 0x021b001c 0x00008000 |
Benoît Thébaudeau | 7bccdae | 2013-01-30 11:19:18 +0000 | [diff] [blame] | 112 | DATA 4 0x021b000c 0x555A7974 |
| 113 | DATA 4 0x021b0010 0xDB538F64 |
Jason Liu | 0238468 | 2011-12-29 06:34:19 +0000 | [diff] [blame] | 114 | DATA 4 0x021b0014 0x01FF00DB |
| 115 | DATA 4 0x021b002c 0x000026D2 |
| 116 | |
Benoît Thébaudeau | 4f81bd3 | 2013-01-30 11:19:16 +0000 | [diff] [blame] | 117 | DATA 4 0x021b0030 0x005A1023 |
Jason Liu | 0238468 | 2011-12-29 06:34:19 +0000 | [diff] [blame] | 118 | DATA 4 0x021b0008 0x09444040 |
| 119 | DATA 4 0x021b0004 0x00025576 |
| 120 | DATA 4 0x021b0040 0x00000027 |
| 121 | DATA 4 0x021b0000 0x831A0000 |
| 122 | |
| 123 | DATA 4 0x021b001c 0x04088032 |
| 124 | DATA 4 0x021b001c 0x0408803A |
| 125 | DATA 4 0x021b001c 0x00008033 |
| 126 | DATA 4 0x021b001c 0x0000803B |
| 127 | DATA 4 0x021b001c 0x00428031 |
| 128 | DATA 4 0x021b001c 0x00428039 |
Benoît Thébaudeau | 7bccdae | 2013-01-30 11:19:18 +0000 | [diff] [blame] | 129 | DATA 4 0x021b001c 0x19308030 |
| 130 | DATA 4 0x021b001c 0x19308038 |
Jason Liu | 0238468 | 2011-12-29 06:34:19 +0000 | [diff] [blame] | 131 | |
| 132 | DATA 4 0x021b001c 0x04008040 |
| 133 | DATA 4 0x021b001c 0x04008048 |
| 134 | DATA 4 0x021b0800 0xA1380003 |
| 135 | DATA 4 0x021b4800 0xA1380003 |
| 136 | DATA 4 0x021b0020 0x00005800 |
| 137 | DATA 4 0x021b0818 0x00022227 |
| 138 | DATA 4 0x021b4818 0x00022227 |
| 139 | |
| 140 | DATA 4 0x021b083c 0x434B0350 |
| 141 | DATA 4 0x021b0840 0x034C0359 |
| 142 | DATA 4 0x021b483c 0x434B0350 |
| 143 | DATA 4 0x021b4840 0x03650348 |
| 144 | DATA 4 0x021b0848 0x4436383B |
| 145 | DATA 4 0x021b4848 0x39393341 |
| 146 | DATA 4 0x021b0850 0x35373933 |
| 147 | DATA 4 0x021b4850 0x48254A36 |
| 148 | |
| 149 | DATA 4 0x021b080c 0x001F001F |
| 150 | DATA 4 0x021b0810 0x001F001F |
| 151 | |
| 152 | DATA 4 0x021b480c 0x00440044 |
| 153 | DATA 4 0x021b4810 0x00440044 |
| 154 | |
| 155 | DATA 4 0x021b08b8 0x00000800 |
| 156 | DATA 4 0x021b48b8 0x00000800 |
| 157 | |
| 158 | DATA 4 0x021b001c 0x00000000 |
| 159 | DATA 4 0x021b0404 0x00011006 |
| 160 | |
Troy Kisky | a18d786 | 2013-01-18 16:14:24 +0000 | [diff] [blame] | 161 | /* set the default clock gate to save power */ |
Jason Liu | 0238468 | 2011-12-29 06:34:19 +0000 | [diff] [blame] | 162 | DATA 4 0x020c4068 0x00C03F3F |
Eric Nelson | 570c607 | 2012-01-31 07:52:05 +0000 | [diff] [blame] | 163 | DATA 4 0x020c406c 0x0030FC03 |
Jason Liu | 0238468 | 2011-12-29 06:34:19 +0000 | [diff] [blame] | 164 | DATA 4 0x020c4070 0x0FFFC000 |
| 165 | DATA 4 0x020c4074 0x3FF00000 |
| 166 | DATA 4 0x020c4078 0x00FFF300 |
| 167 | DATA 4 0x020c407c 0x0F0000C3 |
| 168 | DATA 4 0x020c4080 0x000003FF |
| 169 | |
Troy Kisky | a18d786 | 2013-01-18 16:14:24 +0000 | [diff] [blame] | 170 | /* enable AXI cache for VDOA/VPU/IPU */ |
Vikram Narayanan | 5e4ecda | 2012-06-12 04:50:33 +0000 | [diff] [blame] | 171 | DATA 4 0x020e0010 0xF00000CF |
Troy Kisky | a18d786 | 2013-01-18 16:14:24 +0000 | [diff] [blame] | 172 | /* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */ |
Jason Liu | 0238468 | 2011-12-29 06:34:19 +0000 | [diff] [blame] | 173 | DATA 4 0x020e0018 0x007F007F |
| 174 | DATA 4 0x020e001c 0x007F007F |