============================================================ This directory contains the device entries for the Dual Watchdog Timer peripheral. HARDWARE The Dual Watchdog Timer peripheral has two independent watchdog timers each with an input pin to reset the timer and an output pin that goes low for one second when the watchdog timer expires. Pin 2 (or pin 10) is the input for the first watchdog timer. Pin 4 is the output for the first watchdog. Pins 6 and 8 are the corresponding input and output pins for the second watchdog timer. A watchdog timer is reset on either a high-to-low or a low-to- high transition. A timer can also be reset under software control from the host. DEVICE NODES The device nodes for the watchdog timers allow setting the time until timeout, reseting the timers, and a device node that reports any timeouts. .../config The timeout values for both timers as a pair of comma separated numbers terminated by a newline. The times are given in seconds and range between 0 and 255 seconds. A timeout value of 0 seconds disables the watchdog timer. Both timers default to a value of 0. .../pet0 A write, of any kind, to this device node resets the timer #0. .../pet1 A write, of any kind, to this device node resets the timer #1. .../timeout A read-only node that reports a timeout as a newline terminated string of 'Timeout on xxxx' where xxxx is the /dev path to the timer that expired. A typical output line might appear as 'Timeout on /dev/dp0/s02_watchdog/pet0'.