summaryrefslogtreecommitdiffstats
path: root/target/linux/ar7-2.6/files/include
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-04 10:27:32 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-04 10:27:32 +0000
commite0cedcbc754caa32c00a447a8d1c360954adda20 (patch)
tree9fcb91f9f33e47163cf1407eb9b11e8ba7bb4ee5 /target/linux/ar7-2.6/files/include
parentd0c041687a405097b319e2c4df114837b10e6a95 (diff)
use constant for clock values (closes: #2306)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8607 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7-2.6/files/include')
-rw-r--r--target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h b/target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h
index 49e66ff3a..ae1d4192b 100644
--- a/target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h
+++ b/target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h
@@ -66,6 +66,11 @@
#define AR7_IRQ_UART0 15
#define AR7_IRQ_UART1 16
+/* Clocks */
+#define AR7_AFE_CLOCK 35328000
+#define AR7_REF_CLOCK 25000000
+#define AR7_XTAL_CLOCK 24000000
+
struct plat_cpmac_data {
int reset_bit;
int power_bit;