Skip to content

Commit a2df3ae

Browse files
diederikdehaasmmind
authored andcommitted
arm64: dts: rockchip: Add rtc0 alias for NanoPi R5S + R5C
The RTC_HCTOSYS_DEVICE module defaults to rtc0 and should (highly) preferable be assigned to a battery backed RTC module as it is used to (re)initialize the system clock. The R5S and R5C have a connector for a RTC battery which is used by HYM8563 RTC. Both devices also have another RTC from the rk809 PMIC. To make sure the HYM8563 is always assigned rtc0, add an alias for it. Signed-off-by: Diederik de Haas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent b45f9f9 commit a2df3ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
aliases {
1919
mmc0 = &sdmmc0;
2020
mmc1 = &sdhci;
21+
rtc0 = &hym8563;
2122
};
2223

2324
chosen: chosen {

0 commit comments

Comments
 (0)