2 * Copyright (C) 2011 Freescale Semiconductor, Inc.
3 * Jason Liu <r64343@freescale.com>
5 * SPDX-License-Identifier: GPL-2.0+
7 * Refer doc/README.imximage for more details about how-to configure
8 * and create imximage boot image
10 * The syntax is taken as close as possible with the kwbimage
17 * Boot Device : one of
18 * spi, sd (the board has no nand neither onenand)
23 * Device Configuration Data (DCD)
25 * Each entry must have the format:
26 * Addr-type Address Value
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
34 /* set the default clock gate to save power */
35 DATA 4 0x020c4068 0x00C03F3F
36 DATA 4 0x020c406c 0x0030FC03
37 DATA 4 0x020c4070 0x0FFFC000
38 DATA 4 0x020c4074 0x3FF00000
39 DATA 4 0x020c4078 0x00FFF300
40 DATA 4 0x020c407c 0x0F0000C3
41 DATA 4 0x020c4080 0x000003FF
43 /* enable AXI cache for VDOA/VPU/IPU */
44 DATA 4 0x020e0010 0xF00000CF
45 /* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */
46 DATA 4 0x020e0018 0x007F007F
47 DATA 4 0x020e001c 0x007F007F
50 * Setup CCM_CCOSR register as follows:
52 * cko1_en = 1 --> CKO1 enabled
53 * cko1_div = 111 --> divide by 8
54 * cko1_sel = 1011 --> ahb_clk_root
56 * This sets CKO1 at ahb_clk_root/8 = 132/8 = 16.5 MHz
58 DATA 4 0x020c4060 0x000000fb