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