summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91rm92reg.h
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2009-04-22 23:54:41 +0000
committerstas <stas@FreeBSD.org>2009-04-22 23:54:41 +0000
commit7daf5e0713c3bb6c39c2db80272e07f3ed3607cf (patch)
tree741112db39dd3ca5b644c63fadadb61c60f65fb7 /sys/arm/at91/at91rm92reg.h
parent5ff418d07144cf4e3e408792042d9be38a391296 (diff)
downloadFreeBSD-src-7daf5e0713c3bb6c39c2db80272e07f3ed3607cf.zip
FreeBSD-src-7daf5e0713c3bb6c39c2db80272e07f3ed3607cf.tar.gz
- Add the driver for AT91RM9200 CompactFlash controller. The driver
operates in the common memory mode and use polling mode to control the status of operations as I don't have any board with interrupt line routed yet. I'll add the GPIO interrupt driven mode as soon as I get one.
Diffstat (limited to 'sys/arm/at91/at91rm92reg.h')
-rw-r--r--sys/arm/at91/at91rm92reg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arm/at91/at91rm92reg.h b/sys/arm/at91/at91rm92reg.h
index df3b143..b7ca805 100644
--- a/sys/arm/at91/at91rm92reg.h
+++ b/sys/arm/at91/at91rm92reg.h
@@ -341,6 +341,10 @@
#define AT91RM92_OHCI_PA_BASE 0x00300000
#define AT91RM92_OHCI_SIZE 0x00100000
+#define AT91RM92_CF_BASE 0xdfd00000
+#define AT91RM92_CF_PA_BASE 0x51400000
+#define AT91RM92_CF_SIZE 0x00100000
+
#ifndef AT91C_MASTER_CLOCK
#define AT91C_MASTER_CLOCK 60000000
#endif
OpenPOWER on IntegriCloud