diff options
author | Miguel Aguilar <miguel.aguilar@ridgerun.com> | 2009-11-05 08:52:05 -0600 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-11-25 10:21:38 -0800 |
commit | 99381b4f114d00ccfe2495aa79755b6094bdd0c9 (patch) | |
tree | de87956331bebf066d9710be767b4e0d23598bf5 /arch/arm/mach-davinci/include | |
parent | 0046d0bf68853a4d8af1fb6a2bf701f31fb1563e (diff) | |
download | op-kernel-dev-99381b4f114d00ccfe2495aa79755b6094bdd0c9.zip op-kernel-dev-99381b4f114d00ccfe2495aa79755b6094bdd0c9.tar.gz |
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.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-davinci/include/mach/irqs.h | 1 |
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 d8d988a..f1710a3 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 3c918a7..354af71 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 |