SPRADG1 February 2024 AM625 , AM625-Q1 , AM625SIP
MCU Only needs a wake-up source so the device tree overlay is needed.
To add the device tree overlay, follow these steps:
HOST$ cd <SDK installation directory>/board-support/ti-linux-kernel/
HOST$ make CROSS_COMPILE=aarch64-none-linux-gnu- ARCH=arm64 dtbs
HOST$ sudo cp arch/arm64/boot/dts/ti/k3-am62x-sk-mcu-gpio-wakeup.dtbo <path-to-sdk>/root/boot/dtb/ti/
In boot/uEnv.txt, the device tree overlay needs to be added so it will be recognized.
name_overlays=ti/k3-am62x-sk-mcu-gpio-wakeup.dtso
Now the device tree overlay is added, this is how to enter MCU Only mode:
root@am62xx-evm:~# echo enabled > /sys/bus/platform/devices/5000000.m4fss/power/wakeup
root@am62xx-evm:~# echo mem > /sys/power/state
Based on the device tree overlay, the wake-up source will be MCU_GPIO0_16.