How to set hardware watchdog on beaglebone black running debian?

Hello,

I need to set an hardware watchdog on the Beaglebone Black for it to reboot upon a kernel hang after an update.

Where can I find the instruction to setup an hardware watchdog on the bbb ?

Thank you