1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2010 Linaro
4 * Matt Waddel, <matt.waddel@linaro.org>
9 /* AMBA timer register base address */
10 #define SYSTIMER_BASE 0x10011000
12 #define SYSHZ_CLOCK 1000000 /* Timers -> 1Mhz */
13 #define SYSTIMER_RELOAD 0xFFFFFFFF
14 #define SYSTIMER_EN (1 << 7)
15 #define SYSTIMER_32BIT (1 << 1)
16 #define SYSTIMER_PRESC_16 (1 << 2)
17 #define SYSTIMER_PRESC_256 (1 << 3)
20 u32 timer0load; /* 0x00 */
27 u32 timer1load; /* 0x20 */
35 #endif /* _SYSTIMER_H_ */