2 * Copyright (C) 2014 Andrew Ruder <andrew.ruder@elecsyscorp.com>
4 * SPDX-License-Identifier: GPL-2.0+
7 #ifndef _ASM_ARM_PXA_CONFIG_
8 #define _ASM_ARM_PXA_CONFIG_
10 #include <asm/arch/pxa-regs.h>
13 * Generic timer support
15 #if defined(CONFIG_CPU_PXA27X) || defined(CONFIG_CPU_MONAHANS)
16 #define CONFIG_SYS_TIMER_RATE 3250000
17 #elif defined(CONFIG_CPU_PXA25X)
18 #define CONFIG_SYS_TIMER_RATE 3686400
20 #error "Timer frequency unknown - please config PXA CPU type"
23 #define CONFIG_SYS_TIMER_COUNTER OSCR
25 #endif /* _ASM_ARM_PXA_CONFIG_ */