aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/boards/atstk1000/atstk1004.c
diff options
context:
space:
mode:
authorAlex <mailinglist@miromico.ch>2008-03-17 09:55:06 -0400
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-06-27 09:07:16 -0400
commit60ed7951d0c9bf8de8588384134f16474367b410 (patch)
tree42e97bace8d7e3c41b6a7f4c1c42a4bc48648645 /arch/avr32/boards/atstk1000/atstk1004.c
parent8bd8974fcddc468d66bd67f33c578f37987b302e (diff)
avr32: Allow board to define oscillator rates
On our custom board we have other oscillator rates than on atngw100 and atstk100x. Currently these rates are hardcoded in arch/avr32/mach-at32ap/at32ap700x.c. This patch moves them into board specific code. Signed-off-by: Alex Raimondi <raimondi@miromico.ch> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/boards/atstk1000/atstk1004.c')
-rw-r--r--arch/avr32/boards/atstk1000/atstk1004.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/avr32/boards/atstk1000/atstk1004.c b/arch/avr32/boards/atstk1000/atstk1004.c
index e765a8652b3e..cbf09dd0db53 100644
--- a/arch/avr32/boards/atstk1000/atstk1004.c
+++ b/arch/avr32/boards/atstk1000/atstk1004.c
@@ -29,6 +29,13 @@
29 29
30#include "atstk1000.h" 30#include "atstk1000.h"
31 31
32/* Oscillator frequencies. These are board specific */
33unsigned long at32_board_osc_rates[3] = {
34 [0] = 32768, /* 32.768 kHz on RTC osc */
35 [1] = 20000000, /* 20 MHz on osc0 */
36 [2] = 12000000, /* 12 MHz on osc1 */
37};
38
32#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC 39#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
33static struct at73c213_board_info at73c213_data = { 40static struct at73c213_board_info at73c213_data = {
34 .ssc_id = 0, 41 .ssc_id = 0,