Skip to content

at91sam9x: driver to use the internal RTT as RTC

Alexander Holler u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2at91: add defines for RTT and GPBRinclude/asm-arm/arch-at91/at91sam9260.h include/asm-arm/arch-at91/at91sam9261.h include/asm-arm/arch-at91/at91sam9263.h+7 -02 replies
1/2at91: add defines for RTT and GPBR+0 -01 reply
2/2at91sam9x: driver to use the internal RTT as RTCREADME drivers/rtc/Makefile drivers/rtc/at91sam9-rtc.c+164 -00 replies
2/2at91sam9x: driver to use the internal RTT as RTC+0 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/2] at91sam9x: driver to use the internal RTT as RTC

This driver uses the internal RTT as RTC like the linux driver.

To enable it, these defines are needed:

#define CONFIG_CMD_DATE
#define CONFIG_RTC_AT91SAM9
#define CONFIG_RTC_AT91SAM9_RTT AT91_RTT0_BASE /* for AT91SAM9263 */ #define CONFIG_RTC_AT91SAM9_RTT AT91_RTT_BASE /* AT91SAM9260 or AT91SAM9261 */ #define CONFIG_RTC_AT91SAM9_GPBR 0

Tested with an AT91SAM9263.

Regards,

Alexander Holler