xref: /rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra30/clock.h (revision f29f086a098a8462f8b375da0509246843f7fdd1)
1dc89ad14STom Warren /*
2dc89ad14STom Warren  * Copyright (c) 2010-2012, NVIDIA CORPORATION.  All rights reserved.
3dc89ad14STom Warren  *
4dc89ad14STom Warren  * This program is free software; you can redistribute it and/or modify it
5dc89ad14STom Warren  * under the terms and conditions of the GNU General Public License,
6dc89ad14STom Warren  * version 2, as published by the Free Software Foundation.
7dc89ad14STom Warren  *
8dc89ad14STom Warren  * This program is distributed in the hope it will be useful, but WITHOUT
9dc89ad14STom Warren  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10dc89ad14STom Warren  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
11dc89ad14STom Warren  * more details.
12dc89ad14STom Warren  *
13dc89ad14STom Warren  * You should have received a copy of the GNU General Public License
14dc89ad14STom Warren  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15dc89ad14STom Warren  */
16dc89ad14STom Warren 
17dc89ad14STom Warren /* Tegra30 clock control functions */
18dc89ad14STom Warren 
19dc89ad14STom Warren #ifndef _TEGRA30_CLOCK_H_
20dc89ad14STom Warren #define _TEGRA30_CLOCK_H_
21dc89ad14STom Warren 
22dc89ad14STom Warren #include <asm/arch-tegra/clock.h>
23dc89ad14STom Warren 
24*f29f086aSTom Warren /* CLK_RST_CONTROLLER_OSC_CTRL_0 */
25*f29f086aSTom Warren #define OSC_FREQ_SHIFT          28
26*f29f086aSTom Warren #define OSC_FREQ_MASK           (0xF << OSC_FREQ_SHIFT)
27*f29f086aSTom Warren 
28dc89ad14STom Warren #endif	/* _TEGRA30_CLOCK_H_ */
29