Due to a bug in U-Boot 2022.10 and earlier versions, the WATCHDOG_RESET function will fail to reset the watchdog once U-Boot runs for more than 533days 18h 14m, because WATCHDOG_RESET gets the value from a 64bits system counter register as the timestamp to calculate the interval time period, but it doesn't check if the register overflows.
There are two ways to avoid such failure:
- Don't use the WATCHDOG_RESET function of the watchdog Driver Model(DM) in U-Boot 2022.10 and earlier versions; use the watchdog device driver interface instead.
- Upgrade to U-Boot 2023.01 or a later version.
It's U-Boot bug and from U-Boot 2023.01 it has been fixed, please refer to below link: