blob: b5f07d21fcf296951eed44ae1a7d7f964fc40b9f [file] [log] [blame]
John Crispin1df7add2016-01-04 20:23:55 +01001/*
2 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU General Public License version 2 as published
4 * by the Free Software Foundation.
5 *
6 * Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com>
John Crispin97b92102016-05-05 09:57:56 +02007 * Copyright (C) 2015 John Crispin <john@phrozen.org>
John Crispin1df7add2016-01-04 20:23:55 +01008 */
9
10#include <linux/init.h>
11
12#include <linux/of.h>
13#include <linux/clk-provider.h>
14#include <linux/clocksource.h>
15
16#include "common.h"
17
18void __init plat_time_init(void)
19{
20 ralink_of_remap();
21
22 of_clk_init(NULL);
Daniel Lezcanoba5d08c2017-05-26 17:40:46 +020023 timer_probe();
John Crispin1df7add2016-01-04 20:23:55 +010024}