blob: a8379be91255dda68251b6228176ba8e2d35a160 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
huang lin8db3e242015-11-17 14:20:09 +08002/*
3 * (C) Copyright 2015 Rockchip Electronics Co., Ltd
huang lin8db3e242015-11-17 14:20:09 +08004 */
5
6#ifndef __ASM_ARCH_TIMER_H
7#define __ASM_ARCH_TIMER_H
8
9struct rk_timer {
Philipp Tomsich8592ac02017-07-14 18:09:25 +020010 u32 timer_load_count0;
11 u32 timer_load_count1;
12 u32 timer_curr_value0;
13 u32 timer_curr_value1;
14 u32 timer_ctrl_reg;
15 u32 timer_int_status;
huang lin8db3e242015-11-17 14:20:09 +080016};
17
18void rockchip_timer_init(void);
19void rockchip_udelay(unsigned int usec);
20
21#endif