d12807fd1e3e1e1a1e35b96b4daea2c5c7e9b248
[muen/linux.git] / arch / arm / mach-w90x900 / regs-timer.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * arch/arm/mach-w90x900/include/mach/regs-timer.h
4  *
5  * Copyright (c) 2008 Nuvoton technology corporation
6  * All rights reserved.
7  *
8  * Wan ZongShun <mcuos.com@gmail.com>
9  *
10  * Based on arch/arm/mach-s3c2410/include/mach/regs-timer.h
11  */
12
13 #ifndef __ASM_ARCH_REGS_TIMER_H
14 #define __ASM_ARCH_REGS_TIMER_H
15
16 /* Timer Registers */
17
18 #define TMR_BA                  W90X900_VA_TIMER
19 #define REG_TCSR0               (TMR_BA+0x00)
20 #define REG_TCSR1               (TMR_BA+0x04)
21 #define REG_TICR0               (TMR_BA+0x08)
22 #define REG_TICR1               (TMR_BA+0x0C)
23 #define REG_TDR0                (TMR_BA+0x10)
24 #define REG_TDR1                (TMR_BA+0x14)
25 #define REG_TISR                (TMR_BA+0x18)
26 #define REG_WTCR                (TMR_BA+0x1C)
27 #define REG_TCSR2               (TMR_BA+0x20)
28 #define REG_TCSR3               (TMR_BA+0x24)
29 #define REG_TICR2               (TMR_BA+0x28)
30 #define REG_TICR3               (TMR_BA+0x2C)
31 #define REG_TDR2                (TMR_BA+0x30)
32 #define REG_TDR3                (TMR_BA+0x34)
33 #define REG_TCSR4               (TMR_BA+0x40)
34 #define REG_TICR4               (TMR_BA+0x48)
35 #define REG_TDR4                (TMR_BA+0x50)
36
37 #endif /*  __ASM_ARCH_REGS_TIMER_H */