2 * (C) Copyright 2007-2011
3 * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
4 * Tom Cubie <tangliang@allwinnertech.com>
6 * Configuration settings for the Allwinner A10-evb board.
8 * SPDX-License-Identifier: GPL-2.0+
11 #ifndef _SUNXI_TIMER_H_
12 #define _SUNXI_TIMER_H_
16 #include <linux/types.h>
18 /* General purpose timer */
50 u32 yymmdd; /* 0x104 */
51 u32 hhmmss; /* 0x108 */
56 u32 ddhhmmss; /* 0x10c */
57 u32 hhmmss; /* 0x110 */
59 u32 irqen; /* 0x118 */
60 u32 irqsta; /* 0x11c */
63 /* Timer general purpose register */
68 struct sunxi_timer_reg {
69 u32 tirqen; /* 0x00 */
70 u32 tirqsta; /* 0x04 */
72 struct sunxi_timer timer[6]; /* We have 6 timers */
75 struct sunxi_wdog wdog;
77 struct sunxi_64cnt cnt64;
80 struct sunxi_alarm alarm;
81 struct sunxi_tgp tgp[4];
86 #endif /* __ASSEMBLY__ */