arm64: tegra: Fix RTC aliases
Subsystems (2)
Jon Hunter
maintainerPATCH 1/1 arm64: tegra: Fix RTC aliases
The following warning is observed on the Tegra234 Jetson platforms ...
rtc-nvidia-vrs10 4-003c: /aliases ID 0 not available
This happens because the 'rtc@c2a0000' device is registered before the vrs10 RTC and so is assigned the 'rtc0' alias. We want the vrs10 RTC to be the default RTC because this RTC maintains time across power cycles. Fix this by adding a 'rtc1' alias for the 'rtc@c2a0000' device.
--- arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi | 1 + arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi | 1 + 2 files changed, 2 insertions(+)
arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi +1 -0
@@ -9,6 +9,7 @@ aliases { mmc0 = "/bus@0/mmc@3460000"; mmc1 = "/bus@0/mmc@3400000"; rtc0 = "/bpmp/i2c/pmic@3c"; + rtc1 = "/bus@0/rtc@c2a0000"; }; bus@0 {
arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi +1 -0
@@ -8,6 +8,7 @@ / { aliases { mmc0 = "/bus@0/mmc@3400000"; rtc0 = "/bpmp/i2c/pmic@3c"; + rtc1 = "/bus@0/rtc@c2a0000"; }; bus@0 {
Signature · 1 line
2.43.0
From: Thierry Reding <[email protected]>
Quoted 10 lines · Jon Hunter
The following warning is observed on the Tegra234 Jetson platforms ...
rtc-nvidia-vrs10 4-003c: /aliases ID 0 not available
This happens because the 'rtc@c2a0000' device is registered before the vrs10 RTC and so is assigned the 'rtc0' alias. We want the vrs10 RTC to be the default RTC because this RTC maintains time across power cycles. Fix this by adding a 'rtc1' alias for the 'rtc@c2a0000' device.
[...]
Applied, thanks!
[1/1] arm64: tegra: Fix RTC aliases
commit: 13346b553b49952f0d2b0b5a07f9f1492b811dfa
Best regards,
Signature · 1 line
Thierry Reding <[email protected]>