summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/include/mach/timex.h
diff options
context:
space:
mode:
authorNicolas Ferre2009-06-26 16:36:56 +0200
committerRussell King2009-06-27 12:05:21 +0200
commitfddcc0ae58edefeb7ac1e460411d7dfbe8ebdacc (patch)
tree337b517d1caaae1f3239998c431efdb23ee1b1eb /arch/arm/mach-at91/include/mach/timex.h
parent[ARM] 5569/1: at91: Support for at91sam9g45: clocks management (diff)
downloadkernel-qcow2-linux-fddcc0ae58edefeb7ac1e460411d7dfbe8ebdacc.tar.gz
kernel-qcow2-linux-fddcc0ae58edefeb7ac1e460411d7dfbe8ebdacc.tar.xz
kernel-qcow2-linux-fddcc0ae58edefeb7ac1e460411d7dfbe8ebdacc.zip
[ARM] 5571/1: at91: Basic support for at91sam9g45 series: header files.
AT91sam9g45 series is an ARM 926ej-s SOC family clocked at 400/133MHz. It embedds USB high speed host and device, LCD, DDR2 RAM, and a full set of peripherals. Here is the basic header file support for this product series. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/include/mach/timex.h')
-rw-r--r--arch/arm/mach-at91/include/mach/timex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/timex.h b/arch/arm/mach-at91/include/mach/timex.h
index d84c9948becf..38f6c4250c76 100644
--- a/arch/arm/mach-at91/include/mach/timex.h
+++ b/arch/arm/mach-at91/include/mach/timex.h
@@ -62,6 +62,11 @@
#define AT91SAM9_MASTER_CLOCK 132096000
#define CLOCK_TICK_RATE (AT91SAM9_MASTER_CLOCK/16)
+#elif defined(CONFIG_ARCH_AT91SAM9G45)
+
+#define AT91SAM9_MASTER_CLOCK 133333333
+#define CLOCK_TICK_RATE (AT91SAM9_MASTER_CLOCK/16)
+
#elif defined(CONFIG_ARCH_AT91CAP9)
#define AT91CAP9_MASTER_CLOCK 100000000