aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7-2.6/files/include/asm-mips
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-09-04 10:27:32 +0000
committerNicolas Thill <nico@openwrt.org>2007-09-04 10:27:32 +0000
commit5956d4bfc26e39181a166b144a68a1a6ef98ae92 (patch)
tree9c1c323fc33b8a3c5194e164e4ecf0816d9e8115 /target/linux/ar7-2.6/files/include/asm-mips
parent550f71e70d0ca7d1d7288b2bb7f591d286cb9c2d (diff)
downloadupstream-5956d4bfc26e39181a166b144a68a1a6ef98ae92.tar.gz
upstream-5956d4bfc26e39181a166b144a68a1a6ef98ae92.tar.bz2
upstream-5956d4bfc26e39181a166b144a68a1a6ef98ae92.zip
use constant for clock values (closes: #2306)
SVN-Revision: 8607
Diffstat (limited to 'target/linux/ar7-2.6/files/include/asm-mips')
-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 49e66ff3af..ae1d4192bf 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;