xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/zii,rave-sp-wdt.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotZodiac Inflight Innovations RAVE Supervisory Processor Watchdog Bindings
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRAVE SP watchdog device is a "MFD cell" device corresponding to
4*c66ec88fSEmmanuel Vadotwatchdog functionality of RAVE Supervisory Processor. It is expected
5*c66ec88fSEmmanuel Vadotthat its Device Tree node is specified as a child of the node
6*c66ec88fSEmmanuel Vadotcorresponding to the parent RAVE SP device (as documented in
7*c66ec88fSEmmanuel VadotDocumentation/devicetree/bindings/mfd/zii,rave-sp.txt)
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotRequired properties:
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot- compatible: Depending on wire protocol implemented by RAVE SP
12*c66ec88fSEmmanuel Vadot  firmware, should be one of:
13*c66ec88fSEmmanuel Vadot	- "zii,rave-sp-watchdog"
14*c66ec88fSEmmanuel Vadot	- "zii,rave-sp-watchdog-legacy"
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotOptional properties:
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot- wdt-timeout:	Two byte nvmem cell specified as per
19*c66ec88fSEmmanuel Vadot		Documentation/devicetree/bindings/nvmem/nvmem.txt
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel VadotExample:
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot	rave-sp {
24*c66ec88fSEmmanuel Vadot		compatible = "zii,rave-sp-rdu1";
25*c66ec88fSEmmanuel Vadot		current-speed = <38400>;
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel Vadot		eeprom {
28*c66ec88fSEmmanuel Vadot			wdt_timeout: wdt-timeout@8E {
29*c66ec88fSEmmanuel Vadot				reg = <0x8E 2>;
30*c66ec88fSEmmanuel Vadot			};
31*c66ec88fSEmmanuel Vadot		};
32*c66ec88fSEmmanuel Vadot
33*c66ec88fSEmmanuel Vadot		watchdog {
34*c66ec88fSEmmanuel Vadot			compatible = "zii,rave-sp-watchdog";
35*c66ec88fSEmmanuel Vadot			nvmem-cells = <&wdt_timeout>;
36*c66ec88fSEmmanuel Vadot			nvmem-cell-names = "wdt-timeout";
37*c66ec88fSEmmanuel Vadot		};
38*c66ec88fSEmmanuel Vadot	}
39*c66ec88fSEmmanuel Vadot
40