summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include
diff options
context:
space:
mode:
authorMiguel Aguilar <miguel.aguilar@ridgerun.com>2009-11-05 08:52:05 -0600
committerKevin Hilman <khilman@deeprootsystems.com>2009-11-25 10:21:38 -0800
commit99381b4f114d00ccfe2495aa79755b6094bdd0c9 (patch)
treede87956331bebf066d9710be767b4e0d23598bf5 /arch/arm/mach-davinci/include
parent0046d0bf68853a4d8af1fb6a2bf701f31fb1563e (diff)
downloadblackbird-op-linux-99381b4f114d00ccfe2495aa79755b6094bdd0c9.tar.gz
blackbird-op-linux-99381b4f114d00ccfe2495aa79755b6094bdd0c9.zip
DaVinci: DM365: Enable DaVinci RTC support for DM365 EVM
The general structures are defined at DM365 SoC file and the specific platform data structure for the EVM is defined at board file. Signed-off-by: Miguel Aguilar <miguel.aguilar@ridgerun.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/include')
-rw-r--r--arch/arm/mach-davinci/include/mach/dm365.h3
-rw-r--r--arch/arm/mach-davinci/include/mach/irqs.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/dm365.h b/arch/arm/mach-davinci/include/mach/dm365.h
index d8d988a0b58b..f1710a30e7ba 100644
--- a/arch/arm/mach-davinci/include/mach/dm365.h
+++ b/arch/arm/mach-davinci/include/mach/dm365.h
@@ -29,8 +29,11 @@
/* Base of key scan register bank */
#define DM365_KEYSCAN_BASE (0x01C69400)
+#define DM365_RTC_BASE (0x01C69000)
+
void __init dm365_init(void);
void __init dm365_init_asp(struct snd_platform_data *pdata);
void __init dm365_init_ks(struct davinci_ks_platform_data *pdata);
+void __init dm365_init_rtc(void);
#endif /* __ASM_ARCH_DM365_H */
diff --git a/arch/arm/mach-davinci/include/mach/irqs.h b/arch/arm/mach-davinci/include/mach/irqs.h
index 3c918a772619..354af71798dc 100644
--- a/arch/arm/mach-davinci/include/mach/irqs.h
+++ b/arch/arm/mach-davinci/include/mach/irqs.h
@@ -217,6 +217,7 @@
#define IRQ_DM365_SDIOINT0 23
#define IRQ_DM365_MMCINT1 27
#define IRQ_DM365_PWMINT3 28
+#define IRQ_DM365_RTCINT 29
#define IRQ_DM365_SDIOINT1 31
#define IRQ_DM365_SPIINT0_0 42
#define IRQ_DM365_SPIINT3_0 43
OpenPOWER on IntegriCloud