Other Parts Discussed in Thread: DA8XX
Tool/software: Linux
Hi,
In my custom board, quite equal to TI's LCDK, using Linux 3.3.0, I'm trying to initialize chips internal RTC. In 'board-da850-evm.c', which is the base of my platform I call 'da8xx_register_rtc()' which hangs to KICKing; I removed it as I remember it is not needed with latest chip versions - am I right? Now kernel hangs later!! If I remove interrupt like in listing below, kernel boot will not hang but I get a message "omap_rtc: probe of omap_rtc failed with error -2" and no rtc device can be seen. In .config all possible RTC- related settings are on.
static struct resource da8xx_rtc_resources[] = {
{
.start = DA8XX_RTC_BASE,
.end = DA8XX_RTC_BASE + SZ_4K - 1,
.flags = IORESOURCE_MEM,
},
{ /* timer irq */
.start = IRQ_DA8XX_RTC,
.end = IRQ_DA8XX_RTC,
.flags = 0, //IORESOURCE_IRQ,
},
{ /* alarm irq */
.start = IRQ_DA8XX_RTC,
.end = IRQ_DA8XX_RTC,
.flags = IORESOURCE_IRQ,
},
};
RTC is powered with an external battery and it oscillates continuously.
Could someone pls assist me a bit with this problem?
Best Regards,
risto