developer | 345a6e5 | 2020-10-12 16:33:25 +0800 | [diff] [blame] | 1 | /* |
2 | * Copyright (c) 2020, MediaTek Inc. All rights reserved. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||||
5 | */ | ||||
6 | |||||
7 | #ifndef MT_TIMER_H | ||||
8 | #define MT_TIMER_H | ||||
9 | |||||
10 | |||||
11 | #define SYSTIMER_BASE (0x10017000) | ||||
12 | #define CNTCR_REG (SYSTIMER_BASE + 0x0) | ||||
13 | #define CNTSR_REG (SYSTIMER_BASE + 0x4) | ||||
14 | |||||
15 | #define COMP_15_EN (1 << 10) | ||||
16 | #define COMP_20_EN (1 << 11) | ||||
17 | |||||
18 | void mt_systimer_init(void); | ||||
19 | |||||
20 | #endif /* MT_TIMER_H */ |