diff options
Diffstat (limited to 'arch/mips/ralink/timer-gic.c')
-rw-r--r-- | arch/mips/ralink/timer-gic.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/mips/ralink/timer-gic.c b/arch/mips/ralink/timer-gic.c new file mode 100644 index 000000000..dcf2a44ac --- /dev/null +++ b/arch/mips/ralink/timer-gic.c | |||
@@ -0,0 +1,22 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
2 | /* | ||
3 | * | ||
4 | * Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com> | ||
5 | * Copyright (C) 2015 John Crispin <john@phrozen.org> | ||
6 | */ | ||
7 | |||
8 | #include <linux/init.h> | ||
9 | |||
10 | #include <linux/of.h> | ||
11 | #include <linux/of_clk.h> | ||
12 | #include <linux/clocksource.h> | ||
13 | |||
14 | #include "common.h" | ||
15 | |||
16 | void __init plat_time_init(void) | ||
17 | { | ||
18 | ralink_of_remap(); | ||
19 | |||
20 | of_clk_init(NULL); | ||
21 | timer_probe(); | ||
22 | } | ||