xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/watchdog/ts4800-wdt.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTechnologic Systems Watchdog
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: must be "technologic,ts4800-wdt"
5*4882a593Smuzhiyun- syscon: phandle / integer array that points to the syscon node which
6*4882a593Smuzhiyun          describes the FPGA's syscon registers.
7*4882a593Smuzhiyun          - phandle to FPGA's syscon
8*4882a593Smuzhiyun          - offset to the watchdog register
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunOptional property:
11*4882a593Smuzhiyun- timeout-sec: contains the watchdog timeout in seconds.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunExample:
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunsyscon: syscon@b0010000 {
16*4882a593Smuzhiyun	compatible = "syscon", "simple-mfd";
17*4882a593Smuzhiyun	reg = <0xb0010000 0x3d>;
18*4882a593Smuzhiyun	reg-io-width = <2>;
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun	wdt@e {
21*4882a593Smuzhiyun		compatible = "technologic,ts4800-wdt";
22*4882a593Smuzhiyun		syscon = <&syscon 0xe>;
23*4882a593Smuzhiyun		timeout-sec = <10>;
24*4882a593Smuzhiyun	};
25*4882a593Smuzhiyun}
26