Troy Kisky | a18d786 | 2013-01-18 16:14:24 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Freescale Semiconductor, Inc. |
| 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Troy Kisky | a18d786 | 2013-01-18 16:14:24 +0000 | [diff] [blame] | 5 | * |
Anatolij Gustschin | fd4b3d3 | 2013-04-30 11:15:33 +0000 | [diff] [blame] | 6 | * Refer doc/README.imximage for more details about how-to configure |
Troy Kisky | a18d786 | 2013-01-18 16:14:24 +0000 | [diff] [blame] | 7 | * and create imximage boot image |
| 8 | * |
| 9 | * The syntax is taken as close as possible with the kwbimage |
| 10 | */ |
| 11 | /* image version */ |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 12 | |
| 13 | IMAGE_VERSION 2 |
| 14 | |
Troy Kisky | a18d786 | 2013-01-18 16:14:24 +0000 | [diff] [blame] | 15 | /* |
| 16 | * Boot Device : one of |
| 17 | * spi, sd (the board has no nand neither onenand) |
| 18 | */ |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 19 | BOOT_FROM sd |
| 20 | |
Troy Kisky | a18d786 | 2013-01-18 16:14:24 +0000 | [diff] [blame] | 21 | /* |
| 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 Estevam | f948c4c | 2014-01-27 14:05:47 -0200 | [diff] [blame] | 32 | DATA 4 0x020e0798 0x000C0000 |
| 33 | DATA 4 0x020e0758 0x00000000 |
| 34 | DATA 4 0x020e0588 0x00000030 |
| 35 | DATA 4 0x020e0594 0x00000030 |
| 36 | DATA 4 0x020e056c 0x00000030 |
| 37 | DATA 4 0x020e0578 0x00000030 |
| 38 | DATA 4 0x020e074c 0x00000030 |
| 39 | DATA 4 0x020e057c 0x00000030 |
| 40 | DATA 4 0x020e058c 0x00000000 |
| 41 | DATA 4 0x020e059c 0x00000030 |
| 42 | DATA 4 0x020e05a0 0x00000030 |
| 43 | DATA 4 0x020e078c 0x00000030 |
| 44 | DATA 4 0x020e0750 0x00020000 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 45 | DATA 4 0x020e05a8 0x00000028 |
| 46 | DATA 4 0x020e05b0 0x00000028 |
| 47 | DATA 4 0x020e0524 0x00000028 |
| 48 | DATA 4 0x020e051c 0x00000028 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 49 | DATA 4 0x020e0518 0x00000028 |
| 50 | DATA 4 0x020e050c 0x00000028 |
| 51 | DATA 4 0x020e05b8 0x00000028 |
| 52 | DATA 4 0x020e05c0 0x00000028 |
Fabio Estevam | f948c4c | 2014-01-27 14:05:47 -0200 | [diff] [blame] | 53 | DATA 4 0x020e0774 0x00020000 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 54 | DATA 4 0x020e0784 0x00000028 |
| 55 | DATA 4 0x020e0788 0x00000028 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 56 | DATA 4 0x020e0794 0x00000028 |
| 57 | DATA 4 0x020e079c 0x00000028 |
| 58 | DATA 4 0x020e07a0 0x00000028 |
| 59 | DATA 4 0x020e07a4 0x00000028 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 60 | DATA 4 0x020e07a8 0x00000028 |
| 61 | DATA 4 0x020e0748 0x00000028 |
Fabio Estevam | f948c4c | 2014-01-27 14:05:47 -0200 | [diff] [blame] | 62 | DATA 4 0x020e05ac 0x00000028 |
| 63 | DATA 4 0x020e05b4 0x00000028 |
| 64 | DATA 4 0x020e0528 0x00000028 |
| 65 | DATA 4 0x020e0520 0x00000028 |
| 66 | DATA 4 0x020e0514 0x00000028 |
| 67 | DATA 4 0x020e0510 0x00000028 |
| 68 | DATA 4 0x020e05bc 0x00000028 |
| 69 | DATA 4 0x020e05c4 0x00000028 |
| 70 | DATA 4 0x021b0800 0xa1390003 |
| 71 | DATA 4 0x021b080c 0x001F001F |
| 72 | DATA 4 0x021b0810 0x001F001F |
| 73 | DATA 4 0x021b480c 0x001F001F |
| 74 | DATA 4 0x021b4810 0x001F001F |
| 75 | DATA 4 0x021b083c 0x43260335 |
| 76 | DATA 4 0x021b0840 0x031A030B |
| 77 | DATA 4 0x021b483c 0x4323033B |
| 78 | DATA 4 0x021b4840 0x0323026F |
| 79 | DATA 4 0x021b0848 0x483D4545 |
| 80 | DATA 4 0x021b4848 0x44433E48 |
| 81 | DATA 4 0x021b0850 0x41444840 |
| 82 | DATA 4 0x021b4850 0x4835483E |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 83 | DATA 4 0x021b081c 0x33333333 |
| 84 | DATA 4 0x021b0820 0x33333333 |
| 85 | DATA 4 0x021b0824 0x33333333 |
| 86 | DATA 4 0x021b0828 0x33333333 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 87 | DATA 4 0x021b481c 0x33333333 |
| 88 | DATA 4 0x021b4820 0x33333333 |
| 89 | DATA 4 0x021b4824 0x33333333 |
| 90 | DATA 4 0x021b4828 0x33333333 |
Fabio Estevam | f948c4c | 2014-01-27 14:05:47 -0200 | [diff] [blame] | 91 | DATA 4 0x021b08b8 0x00000800 |
| 92 | DATA 4 0x021b48b8 0x00000800 |
| 93 | DATA 4 0x021b0004 0x00020036 |
| 94 | DATA 4 0x021b0008 0x09444040 |
| 95 | DATA 4 0x021b000c 0x8A8F7955 |
| 96 | DATA 4 0x021b0010 0xFF328F64 |
| 97 | DATA 4 0x021b0014 0x01FF00DB |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 98 | DATA 4 0x021b0018 0x00001740 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 99 | DATA 4 0x021b001c 0x00008000 |
Fabio Estevam | f948c4c | 2014-01-27 14:05:47 -0200 | [diff] [blame] | 100 | DATA 4 0x021b002c 0x000026d2 |
| 101 | DATA 4 0x021b0030 0x008F1023 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 102 | DATA 4 0x021b0040 0x00000047 |
| 103 | DATA 4 0x021b0000 0x841A0000 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 104 | DATA 4 0x021b001c 0x04088032 |
| 105 | DATA 4 0x021b001c 0x00008033 |
Fabio Estevam | f948c4c | 2014-01-27 14:05:47 -0200 | [diff] [blame] | 106 | DATA 4 0x021b001c 0x00048031 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 107 | DATA 4 0x021b001c 0x09408030 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 108 | DATA 4 0x021b001c 0x04008040 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 109 | DATA 4 0x021b0020 0x00005800 |
Fabio Estevam | f948c4c | 2014-01-27 14:05:47 -0200 | [diff] [blame] | 110 | DATA 4 0x021b0818 0x00011117 |
| 111 | DATA 4 0x021b4818 0x00011117 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 112 | DATA 4 0x021b0004 0x00025576 |
Fabio Estevam | f948c4c | 2014-01-27 14:05:47 -0200 | [diff] [blame] | 113 | DATA 4 0x021b0404 0x00011006 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 114 | DATA 4 0x021b001c 0x00000000 |
| 115 | |
Fabio Estevam | f948c4c | 2014-01-27 14:05:47 -0200 | [diff] [blame] | 116 | /* set the default clock gate to save power */ |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 117 | DATA 4 0x020c4068 0x00C03F3F |
Fabio Estevam | f948c4c | 2014-01-27 14:05:47 -0200 | [diff] [blame] | 118 | DATA 4 0x020c406c 0x0030FC03 |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 119 | DATA 4 0x020c4070 0x0FFFC000 |
| 120 | DATA 4 0x020c4074 0x3FF00000 |
Fabio Estevam | f948c4c | 2014-01-27 14:05:47 -0200 | [diff] [blame] | 121 | DATA 4 0x020c4078 0xFFFFF300 |
| 122 | DATA 4 0x020c407c 0x0F0000F3 |
| 123 | DATA 4 0x020c4080 0x00000FFF |
| 124 | |
| 125 | /* enable AXI cache for VDOA/VPU/IPU */ |
| 126 | DATA 4 0x020e0010 0xF00000CF |
| 127 | /* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */ |
| 128 | DATA 4 0x020e0018 0x007F007F |
| 129 | DATA 4 0x020e001c 0x007F007F |