This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6422: Enable the MCU RTI_WDT in R5 SPL

Part Number: AM6422

We used AM6422 customized board, and we want to enable the MCU RTI_WDT in R5 SPL. When it block in R5 SPL, the MCU RTI_WDT can reset the system.

What I did now is as below,

Dts,

In k3-am64-mcu.dtsi
mcu_rti1: rti@40610000 {
		compatible = "ti,j7-rti-wdt";
		reg = <0x0 0x40610000 0x0 0x100>;
		clocks = <&k3_clks 135 0>;
		power-domains = <&k3_pds 135 TI_SCI_PD_SHARED>;
		assigned-clocks = <&k3_clks 135 0>;
		assigned-clock-parents = <&k3_clks 135 4>;
	};

R5 config,

CONFIG_SPL_WATCHDOG_SUPPORT=y
CONFIG_SYSRESET=y
CONFIG_SPL_SYSRESET=y
CONFIG_SYSRESET_TI_SCI=y
CONFIG_SYSRESET_WATCHDOG=y
CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
CONFIG_WDT=y
CONFIG_WDT_K3_RTI=y
CONFIG_SPL_WDT=y
But got: 
U-Boot SPL 2021.01-g7653b040e1 (Jan 18 2024 - 10:31:13 +0000)
Resetting on cold boot to workaround ErrataID:i2331
resetting ...

U-Boot SPL 2021.01-g7653b040e1 (Jan 18 2024 - 10:31:13 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
SPL initial stack usage: 13376 bytes
WDT: Not found!
Trying to boot from SPI
Starting ATF on ARM64 core...
It seems can not find device RTI_WDT.