提交 4748058c 编写于 作者: A Andrew Lunn 提交者: Nicolas Pitre

ARM: kirkwood: Add support for RTC interrupts which allows RTC alarms.

Tested using the test program in Documentation/rtc.txt
Signed-off-by: NAndrew Lunn <andrew@lunn.ch>
Signed-off-by: NNicolas Pitre <nico@fluxnic.net>
上级 f6eaccb3
......@@ -328,7 +328,7 @@ void __init kirkwood_nand_init_rnb(struct mtd_partition *parts, int nr_parts,
****************************************************************************/
static void __init kirkwood_rtc_init(void)
{
orion_rtc_init(RTC_PHYS_BASE, NO_IRQ);
orion_rtc_init(RTC_PHYS_BASE, IRQ_KIRKWOOD_RTC);
}
......
......@@ -51,6 +51,7 @@
#define IRQ_KIRKWOOD_GPIO_HIGH_16_23 41
#define IRQ_KIRKWOOD_GE00_ERR 46
#define IRQ_KIRKWOOD_GE01_ERR 47
#define IRQ_KIRKWOOD_RTC 53
/*
* KIRKWOOD General Purpose Pins
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册