summaryrefslogtreecommitdiff
path: root/arch/mips/jz4740/time.c
blob: 605a84a250bfb2992a798ffaa7c07938a973dcfc (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/clocksource.h>
#include <linux/of_clk.h>

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

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