Markus Niebel | cb07d74 | 2014-07-18 16:52:44 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013 Boundary Devices |
| 3 | * Copyright (C) 2013, 2014 Markus Niebel <Markus.Niebel@tq-group.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 | |
| 11 | /* set the default clock gate to save power */ |
| 12 | DATA 4, CCM_CCGR0, 0x00C03F3F |
| 13 | DATA 4, CCM_CCGR1, 0x0030FC03 |
| 14 | DATA 4, CCM_CCGR2, 0x0FFFC000 |
| 15 | DATA 4, CCM_CCGR3, 0x3FF00000 |
| 16 | DATA 4, CCM_CCGR4, 0x00FFF300 |
| 17 | DATA 4, CCM_CCGR5, 0x0F0000C3 |
| 18 | DATA 4, CCM_CCGR6, 0x000003FF |
| 19 | |
| 20 | /* enable AXI cache for VDOA/VPU/IPU */ |
| 21 | DATA 4, MX6_IOMUXC_GPR4, 0xF00000CF |
| 22 | /* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */ |
| 23 | DATA 4, MX6_IOMUXC_GPR6, 0x007F007F |
| 24 | DATA 4, MX6_IOMUXC_GPR7, 0x007F007F |