[35.4.1] Xavier NX rtc0 can't wake up from sc7 state


I used Xavier Nx devkit with sdkmanager image jetpack 5.1.2.
Rtc0 can’t wake up system from sc7 state, but rtc1 worked normal。

root@ubuntu:~# cat /etc/nv_tegra_release

R35 (release), REVISION: 4.1, GCID: 33958178, BOARD: t186ref, EABI: aarch64, DATE: Tue Aug 1 19:57:35 UTC 2023

root@ubuntu:~# ls -l /dev/rtc*
lrwxrwxrwx 1 root root 4 Sep 13 14:39 /dev/rtc → rtc1
crw------- 1 root root 249, 0 Sep 13 14:39 /dev/rtc0
crw------- 1 root root 249, 1 Sep 13 14:39 /dev/rtc1

root@ubuntu:~# ls -l /sys/class/rtc/
total 0
lrwxrwxrwx 1 root root 0 Mar 15 23:04 rtc0 → …/…/devices/platform/bpmp/bpmp:i2c/i2c-4/4-003c/max77620-rtc/rtc/rtc0
lrwxrwxrwx 1 root root 0 Mar 15 23:04 rtc1 → …/…/devices/platform/c2a0000.rtc/rtc/rtc1

root@ubuntu:~# hwclock -r -f /dev/rtc0
2023-09-13 14:45:20.804171+08:00
root@ubuntu:~# hwclock -r -f /dev/rtc1
2023-09-13 14:45:25.519511+08:00

root@ubuntu:~# rtcwake -v -s 10 -m mem -d /dev/rtc0
Using UTC time.
delta = 0
tzone = 0
tzname = UTC
systime = 1694587591, (UTC) Wed Sep 13 06:46:31 2023
rtctime = 1694587591, (UTC) Wed Sep 13 06:46:31 2023
alarm 0, sys_time 1694587591, rtc_time 1694587591, seconds 10
rtcwake: wakeup from “mem” using /dev/rtc0 at Wed Sep 13 06:46:42 2023
suspend mode: mem; suspending system


We can also reproduce this issue on our side. (RTC0 is not working while RTC1 is.)
We’ll investigate it and see if we can work out a solution, and please wait for it.



this has been fixed internally, and should be reflected in the next JetPack/L4T release.
Please use RTC1 as a workaround for now.

Hi DaveYYY,

Could I know what time and version of JetPack/L4T release will fix this issue?

Thanks for your reply.

JetPack 5.1.3 will be released in Q4 this year.

Hi DaveYYY,

By the way, could you provide a patch for fixed rtc0 wake up system?
Or maybe this issue need more patches to fixed.


請根據你是使用SD card module(SKU 0)還是eMMC module(SKU 1)到下面的路徑找到對應的dtb檔案


轉回dts source file之後加上下面的patch

< 				interrupt-parent = <0x1>;
< 				interrupts = <0x0 0xd1 0x4>;
> 				interrupt-parent = <0x295>;
> 				interrupts = <0x18 0x8>;


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.