clock.h 591 B

123456789101112131415161718192021222324252627
  1. /*
  2. * (C) Copyright 2010-2015
  3. * NVIDIA Corporation <www.nvidia.com>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. /* Tegra210 clock control definitions */
  8. #ifndef _TEGRA210_CLOCK_H_
  9. #define _TEGRA210_CLOCK_H_
  10. #include <asm/arch-tegra/clock.h>
  11. /* CLK_RST_CONTROLLER_OSC_CTRL_0 */
  12. #define OSC_FREQ_SHIFT 28
  13. #define OSC_FREQ_MASK (0xF << OSC_FREQ_SHIFT)
  14. /* PLL bits that differ from generic clk_rst.h */
  15. #define PLLC_RESET 30
  16. #define PLLC_IDDQ 27
  17. #define PLLD_ENABLE_CLK 21
  18. #define PLLD_EN_LCKDET 28
  19. int tegra_plle_enable(void);
  20. #endif /* _TEGRA210_CLOCK_H_ */