Skip to content

Commit 69ec77b

Browse files
jonhunterthierryreding
authored andcommitted
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. Fixes: b1806f2 ("arm64: tegra: Add device-tree node for NVVRS RTC") Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 8231b3d commit 69ec77b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
mmc0 = "/bus@0/mmc@3460000";
1010
mmc1 = "/bus@0/mmc@3400000";
1111
rtc0 = "/bpmp/i2c/pmic@3c";
12+
rtc1 = "/bus@0/rtc@c2a0000";
1213
};
1314

1415
bus@0 {

arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
aliases {
99
mmc0 = "/bus@0/mmc@3400000";
1010
rtc0 = "/bpmp/i2c/pmic@3c";
11+
rtc1 = "/bus@0/rtc@c2a0000";
1112
};
1213

1314
bus@0 {

0 commit comments

Comments
 (0)