Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / mips / loongson64 / time.c
blob91e842b58365f8c3c527d6134f2e2f830bde5295
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology
4 * Author: Fuxin Zhang, zhangfx@lemote.com
6 * Copyright (C) 2009 Lemote Inc.
7 * Author: Wu Zhangjin, wuzhangjin@gmail.com
8 */
10 #include <asm/time.h>
11 #include <asm/hpet.h>
13 #include <loongson.h>
15 void __init plat_time_init(void)
17 /* setup mips r4k timer */
18 mips_hpt_frequency = cpu_clock_freq / 2;
20 #ifdef CONFIG_RS780_HPET
21 setup_hpet_timer();
22 #endif