include: rk_timer_irq: add rk3399 TIMER_CTRL definition

Change-Id: I2e88b19b722a7f6a9171c5f1bbfbd7592c525f8c
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
Joseph Chen 2018-06-25 18:57:21 +08:00 committed by Jianhong Chen
parent cf49f6adf1
commit 3476b70682
1 changed files with 6 additions and 1 deletions

View File

@ -9,9 +9,14 @@
#include <irq-platform.h>
#ifdef CONFIG_ROCKCHIP_RK3399
#define TIMER_CTRL 0x1c
#else
#define TIMER_CTRL 0x10
#endif
#define TIMER_LOAD_COUNT0 0x00
#define TIMER_LOAD_COUNT1 0x04
#define TIMER_CTRL 0x10
#define TIMER_INTSTATUS 0x18
#define TIMER_EN BIT(0)