Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Markus Niebel | cb07d74 | 2014-07-18 16:52:44 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2013 Boundary Devices |
| 4 | * Copyright (C) 2013, 2014 Markus Niebel <Markus.Niebel@tq-group.com> |
| 5 | * |
Patrick Delaunay | b09e28f | 2020-02-28 15:18:12 +0100 | [diff] [blame] | 6 | * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure |
Markus Niebel | cb07d74 | 2014-07-18 16:52:44 +0200 | [diff] [blame] | 7 | * and create imximage boot image |
| 8 | */ |
| 9 | |
| 10 | /* set the default clock gate to save power */ |
| 11 | DATA 4, CCM_CCGR0, 0x00C03F3F |
| 12 | DATA 4, CCM_CCGR1, 0x0030FC03 |
| 13 | DATA 4, CCM_CCGR2, 0x0FFFC000 |
| 14 | DATA 4, CCM_CCGR3, 0x3FF00000 |
| 15 | DATA 4, CCM_CCGR4, 0x00FFF300 |
| 16 | DATA 4, CCM_CCGR5, 0x0F0000C3 |
| 17 | DATA 4, CCM_CCGR6, 0x000003FF |
| 18 | |
| 19 | /* enable AXI cache for VDOA/VPU/IPU */ |
| 20 | DATA 4, MX6_IOMUXC_GPR4, 0xF00000CF |
| 21 | /* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */ |
| 22 | DATA 4, MX6_IOMUXC_GPR6, 0x007F007F |
| 23 | DATA 4, MX6_IOMUXC_GPR7, 0x007F007F |