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