arch/mips/ralink/timer-gic.c
raw| 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | /* |
| 3 | * |
| 4 | * Copyright (C) 2015 Nikolay Martynov <[email protected]> |
| 5 | * Copyright (C) 2015 John Crispin <[email protected]> |
| 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 <asm/time.h> |
| 15 | |
| 16 | #include "common.h" |
| 17 | |
| 18 | void __init plat_time_init(void) |
| 19 | { |
| 20 | ralink_of_remap(); |
| 21 | |
| 22 | of_clk_init(NULL); |
| 23 | timer_probe(); |
| 24 | } |