I have imx7up-evk and in a process of validating watchdog functionality. I read from the document that there are three watchdog timers present(WDOG0-2); WDOG0 is in the real-time domain. WDOG1 and WDOG2 are in the application domain. I am running Yocto Linux in application domain with Linux version of 4.9.123-imx+g6a71cbc.
I see there are three device nodes present under /dev directory:
crw------- 1 root root 10, 130 Aug 11 05:29 /dev/watchdog
crw------- 1 root root 248, 0 Aug 11 05:29 /dev/watchdog0
crw------- 1 root root 248, 1 Aug 11 05:29 /dev/watchdog1
Experimented with echo command:
echo > /dev/watchdog - triggered reset
echo > /dev/watchdog0 - triggered reset
echo > /dev/watchdog1 - Did NOT trigger reset
I just want to understand the significance of each and how can I validate them.