1 /*
2  * (C) Copyright 2015 Rockchip Electronics Co., Ltd
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6 
7 #ifndef __ASM_ARCH_TIMER_H
8 #define __ASM_ARCH_TIMER_H
9 
10 struct rk_timer {
11 	unsigned int timer_load_count0;
12 	unsigned int timer_load_count1;
13 	unsigned int timer_curr_value0;
14 	unsigned int timer_curr_value1;
15 	unsigned int timer_ctrl_reg;
16 	unsigned int timer_int_status;
17 };
18 
19 void rockchip_timer_init(void);
20 void rockchip_udelay(unsigned int usec);
21 
22 #endif
23