Hi
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