2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2014-07-18 14:52:44 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 Boundary Devices
|
|
|
|
* Copyright (C) 2013, 2014 Markus Niebel <Markus.Niebel@tq-group.com>
|
|
|
|
*
|
2020-02-28 14:18:12 +00:00
|
|
|
* Refer doc/imx/mkimage/imximage.txt for more details about how-to configure
|
2014-07-18 14:52:44 +00:00
|
|
|
* and create imximage boot image
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* set the default clock gate to save power */
|
|
|
|
DATA 4, CCM_CCGR0, 0x00C03F3F
|
|
|
|
DATA 4, CCM_CCGR1, 0x0030FC03
|
|
|
|
DATA 4, CCM_CCGR2, 0x0FFFC000
|
|
|
|
DATA 4, CCM_CCGR3, 0x3FF00000
|
|
|
|
DATA 4, CCM_CCGR4, 0x00FFF300
|
|
|
|
DATA 4, CCM_CCGR5, 0x0F0000C3
|
|
|
|
DATA 4, CCM_CCGR6, 0x000003FF
|
|
|
|
|
|
|
|
/* enable AXI cache for VDOA/VPU/IPU */
|
|
|
|
DATA 4, MX6_IOMUXC_GPR4, 0xF00000CF
|
|
|
|
/* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */
|
|
|
|
DATA 4, MX6_IOMUXC_GPR6, 0x007F007F
|
|
|
|
DATA 4, MX6_IOMUXC_GPR7, 0x007F007F
|