xref: /rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra20/clock.h (revision f29f086a098a8462f8b375da0509246843f7fdd1)
100a2749dSAllen Martin /*
200a2749dSAllen Martin  * Copyright (c) 2011 The Chromium OS Authors.
300a2749dSAllen Martin  * See file CREDITS for list of people who contributed to this
400a2749dSAllen Martin  * project.
500a2749dSAllen Martin  *
600a2749dSAllen Martin  * This program is free software; you can redistribute it and/or
700a2749dSAllen Martin  * modify it under the terms of the GNU General Public License as
800a2749dSAllen Martin  * published by the Free Software Foundation; either version 2 of
900a2749dSAllen Martin  * the License, or (at your option) any later version.
1000a2749dSAllen Martin  *
1100a2749dSAllen Martin  * This program is distributed in the hope that it will be useful,
1200a2749dSAllen Martin  * but WITHOUT ANY WARRANTY; without even the implied warranty of
1300a2749dSAllen Martin  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1400a2749dSAllen Martin  * GNU General Public License for more details.
1500a2749dSAllen Martin  *
1600a2749dSAllen Martin  * You should have received a copy of the GNU General Public License
1700a2749dSAllen Martin  * along with this program; if not, write to the Free Software
1800a2749dSAllen Martin  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
1900a2749dSAllen Martin  * MA 02111-1307 USA
2000a2749dSAllen Martin  */
2100a2749dSAllen Martin 
22150c2493STom Warren /* Tegra20 clock control functions */
2300a2749dSAllen Martin 
24150c2493STom Warren #ifndef _TEGRA20_CLOCK_H
25150c2493STom Warren #define _TEGRA20_CLOCK_H
2600a2749dSAllen Martin 
27150c2493STom Warren #include <asm/arch-tegra/clock.h>
2800a2749dSAllen Martin 
29*f29f086aSTom Warren /* CLK_RST_CONTROLLER_OSC_CTRL_0 */
30*f29f086aSTom Warren #define OSC_FREQ_SHIFT          30
31*f29f086aSTom Warren #define OSC_FREQ_MASK           (3U << OSC_FREQ_SHIFT)
32*f29f086aSTom Warren 
33150c2493STom Warren #endif	/* _TEGRA20_CLOCK_H */
34