aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-iop33x/iop331.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-iop33x/iop331.h')
-rw-r--r--include/asm-arm/arch-iop33x/iop331.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/asm-arm/arch-iop33x/iop331.h b/include/asm-arm/arch-iop33x/iop331.h
index b301ef8f7f32..4ebcd7197c86 100644
--- a/include/asm-arm/arch-iop33x/iop331.h
+++ b/include/asm-arm/arch-iop33x/iop331.h
@@ -137,27 +137,6 @@
137 137
138 138
139/* Timers */ 139/* Timers */
140
141#define IOP331_TU_TMR0 (volatile u32 *)IOP331_REG_ADDR(0x000007D0)
142#define IOP331_TU_TMR1 (volatile u32 *)IOP331_REG_ADDR(0x000007D4)
143
144#define IOP331_TMR_TC 0x01
145#define IOP331_TMR_EN 0x02
146#define IOP331_TMR_RELOAD 0x04
147#define IOP331_TMR_PRIVILEGED 0x09
148
149#define IOP331_TMR_RATIO_1_1 0x00
150#define IOP331_TMR_RATIO_4_1 0x10
151#define IOP331_TMR_RATIO_8_1 0x20
152#define IOP331_TMR_RATIO_16_1 0x30
153
154#define IOP331_TU_TCR0 (volatile u32 *)IOP331_REG_ADDR(0x000007D8)
155#define IOP331_TU_TCR1 (volatile u32 *)IOP331_REG_ADDR(0x000007DC)
156#define IOP331_TU_TRR0 (volatile u32 *)IOP331_REG_ADDR(0x000007E0)
157#define IOP331_TU_TRR1 (volatile u32 *)IOP331_REG_ADDR(0x000007E4)
158#define IOP331_TU_TISR (volatile u32 *)IOP331_REG_ADDR(0x000007E8)
159#define IOP331_TU_WDTCR (volatile u32 *)IOP331_REG_ADDR(0x000007EC)
160
161#if defined(CONFIG_ARCH_IOP33X) 140#if defined(CONFIG_ARCH_IOP33X)
162#define IOP331_TICK_RATE 266000000 /* 266 MHz IB clock */ 141#define IOP331_TICK_RATE 266000000 /* 266 MHz IB clock */
163#endif 142#endif