summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include
diff options
context:
space:
mode:
authorSteven King2012-06-17 10:03:38 +0200
committerGreg Ungerer2012-07-16 01:59:21 +0200
commitc785a3d728b44fb49bfff481042fe81973476809 (patch)
treefa99a5e06fd7244f1c3eb61c25b37c29deb93776 /arch/m68k/include
parentm68knommu: add definitions for the third interrupt controller on devices that... (diff)
downloadkernel-qcow2-linux-c785a3d728b44fb49bfff481042fe81973476809.tar.gz
kernel-qcow2-linux-c785a3d728b44fb49bfff481042fe81973476809.tar.xz
kernel-qcow2-linux-c785a3d728b44fb49bfff481042fe81973476809.zip
m68knommu: Add rtc device for m5441x.
Add definitions for the m5441x rtc device and an init_BSP function to the m5441x device code. Signed-off-by: Steven King <sfking@fdwdc.com>
Diffstat (limited to 'arch/m68k/include')
-rw-r--r--arch/m68k/include/asm/m5441xsim.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/m5441xsim.h b/arch/m68k/include/asm/m5441xsim.h
index 86315a96604d..cc798ab9524b 100644
--- a/arch/m68k/include/asm/m5441xsim.h
+++ b/arch/m68k/include/asm/m5441xsim.h
@@ -180,6 +180,12 @@
#define MCFEPORT_EPPAR 0xfc090000
#define MCFEPORT_EPIER 0xfc090003
#define MCFEPORT_EPFR 0xfc090006
+/*
+ * RTC Module.
+ */
+#define MCFRTC_BASE 0xfc0a8000
+#define MCFRTC_SIZE (0xfc0a8840 - 0xfc0a8000)
+#define MCF_IRQ_RTC (MCFINT2_VECBASE + MCFINT2_RTC)
/*
* GPIO Module.