1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/unicore32/include/asm/timex.h
5 * Code specific to PKUnity SoC and UniCore ISA
7 * Copyright (C) 2001-2010 GUAN Xue-tao
10 #ifndef __UNICORE_TIMEX_H__
11 #define __UNICORE_TIMEX_H__
13 #ifdef CONFIG_ARCH_FPGA
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)
21 #if defined(CONFIG_PUV3_DB0913) \
22 || defined(CONFIG_PUV3_NB0916) \
23 || defined(CONFIG_PUV3_SMW0919)
25 #define CLOCK_TICK_RATE (14318000)
29 #include <asm-generic/timex.h>