Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
huang lin | 8db3e24 | 2015-11-17 14:20:09 +0800 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2015 Rockchip Electronics Co., Ltd |
huang lin | 8db3e24 | 2015-11-17 14:20:09 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __ASM_ARCH_TIMER_H |
| 7 | #define __ASM_ARCH_TIMER_H |
| 8 | |
| 9 | struct rk_timer { |
Philipp Tomsich | 8592ac0 | 2017-07-14 18:09:25 +0200 | [diff] [blame] | 10 | 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 lin | 8db3e24 | 2015-11-17 14:20:09 +0800 | [diff] [blame] | 16 | }; |
| 17 | |
huang lin | 8db3e24 | 2015-11-17 14:20:09 +0800 | [diff] [blame] | 18 | #endif |