summaryrefslogtreecommitdiff
path: root/arch/mips/jz4740/time.c
blob: 5476899f0882a4b4781741a12e164ec58e2eeeba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
 *  JZ4740 platform time support
 */

#include <linux/clk-provider.h>
#include <linux/clocksource.h>

#include <asm/mach-jz4740/timer.h>

void __init plat_time_init(void)
{
	of_clk_init(NULL);
	jz4740_timer_init();
	timer_probe();
}