Hi
For watchdog test, you can refer this userspace demo :
https://github.com/nxp-imx/imx-test/tree/lf-5.15.32_2.0.0/test/wdog
For dts, please refer Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml
fsl,ext-reset-output:
$ref: /schemas/types.yaml#/definitions/flag
description: |
If present, the watchdog device is configured to assert its
external reset (WDOG_B) instead of issuing a software reset.
You should configure dts like this:
&wdog1 {
status = "okay";
};
&wdog2 {
status = "okay";
};
&wdog3 {
status = "okay";
};
Then use wdt_driver_test program to trigger watchdog.
Best Regards
Zhiming