[PATCH] ARM: dts: imx6qdl-hummingboard: Add rtc0 and rtc1 aliases to fix hctosys

Shawn Guo shawn.gsc at gmail.com
Mon Feb 5 01:56:24 PST 2024


On Thu, Jan 18, 2024 at 04:01:10PM +0100, Josua Mayer wrote:
> HummingBoard has two RTCs, first integrated within SoC that can be used to
> wake up from sleep - and a second on the carrier board including back-up
> battery which is intended for keeping time during power-off.
> 
> Add aliases for both, ensuring that the battery-backed clock is primary
> rtc and used by default during boot for restoring system time.
> 
> Fixes keeping time across power-cycle observed on Debian,
> which sets RTC_HCTOSYS_DEVICE="rtc0".
> 
> Signed-off-by: Josua Mayer <josua at solid-run.com>

Applied, thanks!



More information about the linux-arm-kernel mailing list