2 * Author: RidgeRun, Inc. Greg Lonnon <glonnon@ridgerun.com>
3 * Reorganized for Linux-2.6 by Tony Lindgren <tony@atomide.com>
4 * and Dirk Behme <dirk.behme@de.bosch.com>
5 * Rewritten by: <linux@telechips.com>
6 * Description: Hardware definitions for TCC8300 processors and boards
8 * Copyright (C) 2001 RidgeRun, Inc.
9 * Copyright (C) 2008-2009 Telechips
11 * Modifications for mainline (C) 2009 Hans J. Koch <hjk@linutronix.de>
13 * Licensed under the terms of the GNU Pulic License version 2.
16 #ifndef __ASM_ARCH_TCC_HARDWARE_H
17 #define __ASM_ARCH_TCC_HARDWARE_H
19 #include <asm/sizes.h>
21 #include <asm/types.h>
26 * ----------------------------------------------------------------------------
28 * ----------------------------------------------------------------------------
30 #define CLKGEN_REG_BASE 0xfffece00
31 #define ARM_CKCTL (CLKGEN_REG_BASE + 0x0)
32 #define ARM_IDLECT1 (CLKGEN_REG_BASE + 0x4)
33 #define ARM_IDLECT2 (CLKGEN_REG_BASE + 0x8)
34 #define ARM_EWUPCT (CLKGEN_REG_BASE + 0xC)
35 #define ARM_RSTCT1 (CLKGEN_REG_BASE + 0x10)
36 #define ARM_RSTCT2 (CLKGEN_REG_BASE + 0x14)
37 #define ARM_SYSST (CLKGEN_REG_BASE + 0x18)
38 #define ARM_IDLECT3 (CLKGEN_REG_BASE + 0x24)
40 /* DPLL control registers */
41 #define DPLL_CTL 0xfffecf00
43 #endif /* __ASM_ARCH_TCC_HARDWARE_H */