Fabio Estevam | 6140015 | 2014-08-21 10:02:25 -0300 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | * |
| 6 | * Refer docs/README.imxmage 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 */ |
| 13 | |
| 14 | IMAGE_VERSION 2 |
| 15 | |
| 16 | /* |
| 17 | * Boot Device : one of |
| 18 | * spi, sd (the board has no nand neither onenand) |
| 19 | */ |
| 20 | |
| 21 | BOOT_FROM sd |
| 22 | |
| 23 | /* |
| 24 | * Device Configuration Data (DCD) |
| 25 | * |
| 26 | * Each entry must have the format: |
| 27 | * Addr-type Address Value |
| 28 | * |
| 29 | * where: |
| 30 | * Addr-type register length (1,2 or 4 bytes) |
| 31 | * Address absolute address of the register |
| 32 | * value value to be stored in the register |
| 33 | */ |
| 34 | DATA 4 0x020e0774 0x000C0000 |
| 35 | DATA 4 0x020e0754 0x00000000 |
| 36 | DATA 4 0x020e04ac 0x00000030 |
| 37 | DATA 4 0x020e04b0 0x00000030 |
| 38 | DATA 4 0x020e0464 0x00000030 |
| 39 | DATA 4 0x020e0490 0x00000030 |
| 40 | DATA 4 0x020e074c 0x00000030 |
| 41 | DATA 4 0x020e0494 0x00000030 |
| 42 | DATA 4 0x020e04a0 0x00000000 |
| 43 | DATA 4 0x020e04b4 0x00000030 |
| 44 | DATA 4 0x020e04b8 0x00000030 |
| 45 | DATA 4 0x020e076c 0x00000030 |
| 46 | DATA 4 0x020e0750 0x00020000 |
| 47 | DATA 4 0x020e04bc 0x00000030 |
| 48 | DATA 4 0x020e04c0 0x00000030 |
| 49 | DATA 4 0x020e04c4 0x00000030 |
| 50 | DATA 4 0x020e04c8 0x00000030 |
| 51 | DATA 4 0x020e04cc 0x00000030 |
| 52 | DATA 4 0x020e04d0 0x00000030 |
| 53 | DATA 4 0x020e04d4 0x00000030 |
| 54 | DATA 4 0x020e04d8 0x00000030 |
| 55 | DATA 4 0x020e0760 0x00020000 |
| 56 | DATA 4 0x020e0764 0x00000030 |
| 57 | DATA 4 0x020e0770 0x00000030 |
| 58 | DATA 4 0x020e0778 0x00000030 |
| 59 | DATA 4 0x020e077c 0x00000030 |
| 60 | DATA 4 0x020e0780 0x00000030 |
| 61 | DATA 4 0x020e0784 0x00000030 |
| 62 | DATA 4 0x020e078c 0x00000030 |
| 63 | DATA 4 0x020e0748 0x00000030 |
| 64 | DATA 4 0x020e0470 0x00000030 |
| 65 | DATA 4 0x020e0474 0x00000030 |
| 66 | DATA 4 0x020e0478 0x00000030 |
| 67 | DATA 4 0x020e047c 0x00000030 |
| 68 | DATA 4 0x020e0480 0x00000030 |
| 69 | DATA 4 0x020e0484 0x00000030 |
| 70 | DATA 4 0x020e0488 0x00000030 |
| 71 | DATA 4 0x020e048c 0x00000030 |
| 72 | DATA 4 0x021b0800 0xa1390003 |
| 73 | DATA 4 0x021b080c 0x001F001F |
| 74 | DATA 4 0x021b0810 0x001F001F |
| 75 | DATA 4 0x021b480c 0x001F001F |
| 76 | DATA 4 0x021b4810 0x001F001F |
| 77 | DATA 4 0x021b083c 0x4220021F |
| 78 | DATA 4 0x021b0840 0x0207017E |
| 79 | DATA 4 0x021b483c 0x4201020C |
| 80 | DATA 4 0x021b4840 0x01660172 |
| 81 | DATA 4 0x021b0848 0x4A4D4E4D |
| 82 | DATA 4 0x021b4848 0x4A4F5049 |
| 83 | DATA 4 0x021b0850 0x3F3C3D31 |
| 84 | DATA 4 0x021b4850 0x3238372B |
| 85 | DATA 4 0x021b081c 0x33333333 |
| 86 | DATA 4 0x021b0820 0x33333333 |
| 87 | DATA 4 0x021b0824 0x33333333 |
| 88 | DATA 4 0x021b0828 0x33333333 |
| 89 | DATA 4 0x021b481c 0x33333333 |
| 90 | DATA 4 0x021b4820 0x33333333 |
| 91 | DATA 4 0x021b4824 0x33333333 |
| 92 | DATA 4 0x021b4828 0x33333333 |
| 93 | DATA 4 0x021b08b8 0x00000800 |
| 94 | DATA 4 0x021b48b8 0x00000800 |
| 95 | DATA 4 0x021b0004 0x0002002D |
| 96 | DATA 4 0x021b0008 0x00333030 |
| 97 | DATA 4 0x021b000c 0x3F435313 |
| 98 | DATA 4 0x021b0010 0xB66E8B63 |
| 99 | DATA 4 0x021b0014 0x01FF00DB |
| 100 | DATA 4 0x021b0018 0x00001740 |
| 101 | DATA 4 0x021b001c 0x00008000 |
| 102 | DATA 4 0x021b002c 0x000026d2 |
| 103 | DATA 4 0x021b0030 0x00431023 |
| 104 | DATA 4 0x021b0040 0x00000027 |
| 105 | DATA 4 0x021b0000 0x831A0000 |
| 106 | DATA 4 0x021b001c 0x04008032 |
| 107 | DATA 4 0x021b001c 0x00008033 |
| 108 | DATA 4 0x021b001c 0x00048031 |
| 109 | DATA 4 0x021b001c 0x05208030 |
| 110 | DATA 4 0x021b001c 0x04008040 |
| 111 | DATA 4 0x021b0020 0x00005800 |
| 112 | DATA 4 0x021b0818 0x00011117 |
| 113 | DATA 4 0x021b4818 0x00011117 |
| 114 | DATA 4 0x021b0004 0x0002556D |
| 115 | DATA 4 0x021b0404 0x00011006 |
| 116 | DATA 4 0x021b001c 0x00000000 |
| 117 | |
| 118 | /* set the default clock gate to save power */ |
| 119 | DATA 4 0x020c4068 0x00C03F3F |
| 120 | DATA 4 0x020c406c 0x0030FC03 |
| 121 | DATA 4 0x020c4070 0x0FFFC000 |
| 122 | DATA 4 0x020c4074 0x3FF00000 |
| 123 | DATA 4 0x020c4078 0x00FFF300 |
| 124 | DATA 4 0x020c407c 0x0F0000C3 |
| 125 | DATA 4 0x020c4080 0x000003FF |
| 126 | |
| 127 | /* enable AXI cache for VDOA/VPU/IPU */ |
| 128 | DATA 4 0x020e0010 0xF00000CF |
| 129 | /* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */ |
| 130 | DATA 4 0x020e0018 0x007F007F |
| 131 | DATA 4 0x020e001c 0x007F007F |