blob: 11effd47f5b93ac3534e1fc9fea88e8a5889114f [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Andrew Ruderc2240902015-08-12 13:18:31 -05002/*
3 * Copyright (C) 2014 Andrew Ruder <andrew.ruder@elecsyscorp.com>
Andrew Ruderc2240902015-08-12 13:18:31 -05004 */
5
6#ifndef _ASM_ARM_PXA_CONFIG_
7#define _ASM_ARM_PXA_CONFIG_
8
9#include <asm/arch/pxa-regs.h>
10
11/*
12 * Generic timer support
13 */
14#if defined(CONFIG_CPU_PXA27X) || defined(CONFIG_CPU_MONAHANS)
15#define CONFIG_SYS_TIMER_RATE 3250000
Andrew Ruderc2240902015-08-12 13:18:31 -050016#else
17#error "Timer frequency unknown - please config PXA CPU type"
18#endif
19
20#define CONFIG_SYS_TIMER_COUNTER OSCR
21
22#endif /* _ASM_ARM_PXA_CONFIG_ */