26 lines · plain
1Bindings for MEN A21 Watchdog device connected to GPIO lines2 3Required properties:4- compatible: "men,a021-wdt"5- gpios: Specifies the pins that control the Watchdog, order:6 1: Watchdog enable7 2: Watchdog fast-mode8 3: Watchdog trigger9 4: Watchdog reset cause bit 010 5: Watchdog reset cause bit 111 6: Watchdog reset cause bit 212 13Optional properties:14- None15 16Example:17 watchdog {18 compatible ="men,a021-wdt";19 gpios = <&gpio3 9 1 /* WD_EN */20 &gpio3 10 1 /* WD_FAST */21 &gpio3 11 1 /* WD_TRIG */22 &gpio3 6 1 /* RST_CAUSE[0] */23 &gpio3 7 1 /* RST_CAUSE[1] */24 &gpio3 8 1>; /* RST_CAUSE[2] */25 };26