root/arch/unicore32/include/asm/timex.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-only */
   2 /*
   3  * linux/arch/unicore32/include/asm/timex.h
   4  *
   5  * Code specific to PKUnity SoC and UniCore ISA
   6  *
   7  * Copyright (C) 2001-2010 GUAN Xue-tao
   8  */
   9 
  10 #ifndef __UNICORE_TIMEX_H__
  11 #define __UNICORE_TIMEX_H__
  12 
  13 #ifdef  CONFIG_ARCH_FPGA
  14 
  15 /* in FPGA, APB clock is 33M, and OST clock is 32K, */
  16 /* so, 1M is selected for timer interrupt correctly */
  17 #define CLOCK_TICK_RATE         (32*1024)
  18 
  19 #endif
  20 
  21 #if defined(CONFIG_PUV3_DB0913)         \
  22         || defined(CONFIG_PUV3_NB0916)  \
  23         || defined(CONFIG_PUV3_SMW0919)
  24 
  25 #define  CLOCK_TICK_RATE         (14318000)
  26 
  27 #endif
  28 
  29 #include <asm-generic/timex.h>
  30 
  31 #endif

/* [<][>][^][v][top][bottom][index][help] */