Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
John Crispin | 1df7add | 2016-01-04 20:23:55 +0100 | [diff] [blame] | 2 | /* |
John Crispin | 1df7add | 2016-01-04 20:23:55 +0100 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com> |
John Crispin | 97b9210 | 2016-05-05 09:57:56 +0200 | [diff] [blame] | 5 | * Copyright (C) 2015 John Crispin <john@phrozen.org> |
John Crispin | 1df7add | 2016-01-04 20:23:55 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <linux/init.h> |
| 9 | |
| 10 | #include <linux/of.h> |
| 11 | #include <linux/clk-provider.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); |
Daniel Lezcano | ba5d08c | 2017-05-26 17:40:46 +0200 | [diff] [blame] | 21 | timer_probe(); |
John Crispin | 1df7add | 2016-01-04 20:23:55 +0100 | [diff] [blame] | 22 | } |