blob: b5fc738c98c0b609013550b7311dcd8e4d99e99b [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
Simon Glassbac075b2024-08-22 07:54:50 -060018/** rockchip_stimer_init() - Set up the timer ready for use */
19void rockchip_stimer_init(void);
20
huang lin8db3e242015-11-17 14:20:09 +080021#endif