xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/men-a021-wdt.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBindings for MEN A21 Watchdog device connected to GPIO lines
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: "men,a021-wdt"
5*c66ec88fSEmmanuel Vadot- gpios: Specifies the pins that control the Watchdog, order:
6*c66ec88fSEmmanuel Vadot  1: Watchdog enable
7*c66ec88fSEmmanuel Vadot  2: Watchdog fast-mode
8*c66ec88fSEmmanuel Vadot  3: Watchdog trigger
9*c66ec88fSEmmanuel Vadot  4: Watchdog reset cause bit 0
10*c66ec88fSEmmanuel Vadot  5: Watchdog reset cause bit 1
11*c66ec88fSEmmanuel Vadot  6: Watchdog reset cause bit 2
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotOptional properties:
14*c66ec88fSEmmanuel Vadot- None
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotExample:
17*c66ec88fSEmmanuel Vadot	watchdog {
18*c66ec88fSEmmanuel Vadot		compatible ="men,a021-wdt";
19*c66ec88fSEmmanuel Vadot		gpios = <&gpio3 9  1	/* WD_EN */
20*c66ec88fSEmmanuel Vadot			 &gpio3 10 1	/* WD_FAST */
21*c66ec88fSEmmanuel Vadot			 &gpio3 11 1	/* WD_TRIG */
22*c66ec88fSEmmanuel Vadot			 &gpio3 6  1	/* RST_CAUSE[0] */
23*c66ec88fSEmmanuel Vadot			 &gpio3 7  1	/* RST_CAUSE[1] */
24*c66ec88fSEmmanuel Vadot			 &gpio3 8  1>;	/* RST_CAUSE[2] */
25*c66ec88fSEmmanuel Vadot	};
26