xref: /rk3399_rockchip-uboot/board/boundary/nitrogen6x/clocks.cfg (revision d67b0d97b156f9ec2fc4c838d84b1e510d6e49b4)
1*d67b0d97SEric Nelson/*
2*d67b0d97SEric Nelson * Copyright (C) 2013 Boundary Devices
3*d67b0d97SEric Nelson *
4*d67b0d97SEric Nelson * See file CREDITS for list of people who contributed to this
5*d67b0d97SEric Nelson * project.
6*d67b0d97SEric Nelson *
7*d67b0d97SEric Nelson * This program is free software; you can redistribute it and/or
8*d67b0d97SEric Nelson * modify it under the terms of the GNU General Public License as
9*d67b0d97SEric Nelson * published by the Free Software Foundation; either version 2 of
10*d67b0d97SEric Nelson * the License or (at your option) any later version.
11*d67b0d97SEric Nelson *
12*d67b0d97SEric Nelson * This program is distributed in the hope that it will be useful,
13*d67b0d97SEric Nelson * but WITHOUT ANY WARRANTY; without even the implied warranty of
14*d67b0d97SEric Nelson * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15*d67b0d97SEric Nelson * GNU General Public License for more details.
16*d67b0d97SEric Nelson *
17*d67b0d97SEric Nelson * You should have received a copy of the GNU General Public License
18*d67b0d97SEric Nelson * along with this program; if not write to the Free Software
19*d67b0d97SEric Nelson * Foundation Inc. 51 Franklin Street Fifth Floor Boston,
20*d67b0d97SEric Nelson * MA 02110-1301 USA
21*d67b0d97SEric Nelson *
22*d67b0d97SEric Nelson * Device Configuration Data (DCD)
23*d67b0d97SEric Nelson *
24*d67b0d97SEric Nelson * Each entry must have the format:
25*d67b0d97SEric Nelson * Addr-type           Address        Value
26*d67b0d97SEric Nelson *
27*d67b0d97SEric Nelson * where:
28*d67b0d97SEric Nelson *      Addr-type register length (1,2 or 4 bytes)
29*d67b0d97SEric Nelson *      Address   absolute address of the register
30*d67b0d97SEric Nelson *      value     value to be stored in the register
31*d67b0d97SEric Nelson */
32*d67b0d97SEric Nelson
33*d67b0d97SEric Nelson/* set the default clock gate to save power */
34*d67b0d97SEric NelsonDATA 4, CCM_CCGR0, 0x00C03F3F
35*d67b0d97SEric NelsonDATA 4, CCM_CCGR1, 0x0030FC03
36*d67b0d97SEric NelsonDATA 4, CCM_CCGR2, 0x0FFFC000
37*d67b0d97SEric NelsonDATA 4, CCM_CCGR3, 0x3FF00000
38*d67b0d97SEric NelsonDATA 4, CCM_CCGR4, 0x00FFF300
39*d67b0d97SEric NelsonDATA 4, CCM_CCGR5, 0x0F0000C3
40*d67b0d97SEric NelsonDATA 4, CCM_CCGR6, 0x000003FF
41*d67b0d97SEric Nelson
42*d67b0d97SEric Nelson/* enable AXI cache for VDOA/VPU/IPU */
43*d67b0d97SEric NelsonDATA 4, MX6_IOMUXC_GPR4, 0xF00000CF
44*d67b0d97SEric Nelson/* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */
45*d67b0d97SEric NelsonDATA 4, MX6_IOMUXC_GPR6, 0x007F007F
46*d67b0d97SEric NelsonDATA 4, MX6_IOMUXC_GPR7, 0x007F007F
47