xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* SBSA (Server Base System Architecture) Generic Watchdog
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe SBSA Generic Watchdog Timer is used to force a reset of the system
4*4882a593Smuzhiyunafter two stages of timeout have elapsed.  A detailed definition of the
5*4882a593Smuzhiyunwatchdog timer can be found in the ARM document: ARM-DEN-0029 - Server
6*4882a593SmuzhiyunBase System Architecture (SBSA)
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunRequired properties:
9*4882a593Smuzhiyun- compatible: Should at least contain "arm,sbsa-gwdt".
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun- reg: Each entry specifies the base physical address of a register frame
12*4882a593Smuzhiyun  and the length of that frame; currently, two frames must be defined,
13*4882a593Smuzhiyun  in this order:
14*4882a593Smuzhiyun  1: Watchdog control frame;
15*4882a593Smuzhiyun  2: Refresh frame.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun- interrupts: Should contain the Watchdog Signal 0 (WS0) SPI (Shared
18*4882a593Smuzhiyun  Peripheral Interrupt) number of SBSA Generic Watchdog.
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunOptional properties
21*4882a593Smuzhiyun- timeout-sec: Watchdog timeout values (in seconds).
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunExample for FVP Foundation Model v8:
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunwatchdog@2a440000 {
26*4882a593Smuzhiyun	compatible = "arm,sbsa-gwdt";
27*4882a593Smuzhiyun	reg = <0x0 0x2a440000 0 0x1000>,
28*4882a593Smuzhiyun	      <0x0 0x2a450000 0 0x1000>;
29*4882a593Smuzhiyun	interrupts = <0 27 4>;
30*4882a593Smuzhiyun	timeout-sec = <30>;
31*4882a593Smuzhiyun};
32