1 /* 2 * Copyright (C) 2014 Andrew Ruder <andrew.ruder@elecsyscorp.com> 3 * 4 * SPDX-License-Identifier: GPL-2.0+ 5 */ 6 7 #ifndef _ASM_ARM_PXA_CONFIG_ 8 #define _ASM_ARM_PXA_CONFIG_ 9 10 #include <asm/arch/pxa-regs.h> 11 12 /* 13 * Generic timer support 14 */ 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 19 #else 20 #error "Timer frequency unknown - please config PXA CPU type" 21 #endif 22 23 #define CONFIG_SYS_TIMER_COUNTER OSCR 24 25 #endif /* _ASM_ARM_PXA_CONFIG_ */ 26