summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/include/mach/timex.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-08-30 18:25:53 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2011-09-07 16:33:56 +0200
commit0a072a247fa79979dd31813decb6b118d7d511fd (patch)
tree1c6f339d08f3e070c257373cfe00865f781e6332 /arch/arm/mach-at91/include/mach/timex.h
parent6939fd49787e233fd0d7640a4de72815bc8c649a (diff)
at91: USB-A9G20 C01 & C11 board support
Add support for Calao USB-A9G20 boards. It will be integrated in existing support for board of same form factor using at91sam9260 or at91sam9263. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
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 31ac2d97f14..85820ad801c 100644
--- a/arch/arm/mach-at91/include/mach/timex.h
+++ b/arch/arm/mach-at91/include/mach/timex.h
@@ -64,7 +64,12 @@
#elif defined(CONFIG_ARCH_AT91SAM9G20)
+#if defined(CONFIG_MACH_USB_A9G20)
+#define AT91SAM9_MASTER_CLOCK 133000000
+#else
#define AT91SAM9_MASTER_CLOCK 132096000
+#endif
+
#define CLOCK_TICK_RATE (AT91SAM9_MASTER_CLOCK/16)
#elif defined(CONFIG_ARCH_AT91SAM9G45)