blob: 944fbe0fc7416f5adf8766afa1a0a3a331b86e3c [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
John Crispin1df7add2016-01-04 20:23:55 +01002/*
John Crispin1df7add2016-01-04 20:23:55 +01003 *
4 * Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com>
John Crispin97b92102016-05-05 09:57:56 +02005 * Copyright (C) 2015 John Crispin <john@phrozen.org>
John Crispin1df7add2016-01-04 20:23:55 +01006 */
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
16void __init plat_time_init(void)
17{
18 ralink_of_remap();
19
20 of_clk_init(NULL);
Daniel Lezcanoba5d08c2017-05-26 17:40:46 +020021 timer_probe();
John Crispin1df7add2016-01-04 20:23:55 +010022}