blob: 0b8edc51788f3f9473f8798507629e3ab57b9853 [file] [log] [blame]
developer345a6e52020-10-12 16:33:25 +08001/*
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
18void mt_systimer_init(void);
19
20#endif /* MT_TIMER_H */