xref: /linux/Documentation/devicetree/bindings/watchdog/xlnx,versal-wwdt.yaml (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*be0d0ab1SSrinivas Neeli# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*be0d0ab1SSrinivas Neeli%YAML 1.2
3*be0d0ab1SSrinivas Neeli---
4*be0d0ab1SSrinivas Neeli$id: http://devicetree.org/schemas/watchdog/xlnx,versal-wwdt.yaml#
5*be0d0ab1SSrinivas Neeli$schema: http://devicetree.org/meta-schemas/core.yaml#
6*be0d0ab1SSrinivas Neeli
7*be0d0ab1SSrinivas Neelititle: Xilinx Versal window watchdog timer controller
8*be0d0ab1SSrinivas Neeli
9*be0d0ab1SSrinivas Neelimaintainers:
10*be0d0ab1SSrinivas Neeli  - Neeli Srinivas <srinivas.neeli@amd.com>
11*be0d0ab1SSrinivas Neeli
12*be0d0ab1SSrinivas Neelidescription:
13*be0d0ab1SSrinivas Neeli  Versal watchdog intellectual property uses window watchdog mode.
14*be0d0ab1SSrinivas Neeli  Window watchdog timer(WWDT) contains closed(first) and open(second)
15*be0d0ab1SSrinivas Neeli  window with 32 bit width. Write to the watchdog timer within
16*be0d0ab1SSrinivas Neeli  predefined window periods of time. This means a period that is not
17*be0d0ab1SSrinivas Neeli  too soon and a period that is not too late. The WWDT has to be
18*be0d0ab1SSrinivas Neeli  restarted within the open window time. If software tries to restart
19*be0d0ab1SSrinivas Neeli  WWDT outside of the open window time period, it generates a reset.
20*be0d0ab1SSrinivas Neeli
21*be0d0ab1SSrinivas NeeliallOf:
22*be0d0ab1SSrinivas Neeli  - $ref: watchdog.yaml#
23*be0d0ab1SSrinivas Neeli
24*be0d0ab1SSrinivas Neeliproperties:
25*be0d0ab1SSrinivas Neeli  compatible:
26*be0d0ab1SSrinivas Neeli    enum:
27*be0d0ab1SSrinivas Neeli      - xlnx,versal-wwdt
28*be0d0ab1SSrinivas Neeli
29*be0d0ab1SSrinivas Neeli  reg:
30*be0d0ab1SSrinivas Neeli    maxItems: 1
31*be0d0ab1SSrinivas Neeli
32*be0d0ab1SSrinivas Neeli  clocks:
33*be0d0ab1SSrinivas Neeli    maxItems: 1
34*be0d0ab1SSrinivas Neeli
35*be0d0ab1SSrinivas Neelirequired:
36*be0d0ab1SSrinivas Neeli  - compatible
37*be0d0ab1SSrinivas Neeli  - reg
38*be0d0ab1SSrinivas Neeli  - clocks
39*be0d0ab1SSrinivas Neeli
40*be0d0ab1SSrinivas NeeliunevaluatedProperties: false
41*be0d0ab1SSrinivas Neeli
42*be0d0ab1SSrinivas Neeliexamples:
43*be0d0ab1SSrinivas Neeli  - |
44*be0d0ab1SSrinivas Neeli    watchdog@fd4d0000 {
45*be0d0ab1SSrinivas Neeli        compatible = "xlnx,versal-wwdt";
46*be0d0ab1SSrinivas Neeli        reg = <0xfd4d0000 0x10000>;
47*be0d0ab1SSrinivas Neeli        clocks = <&clock25>;
48*be0d0ab1SSrinivas Neeli        timeout-sec = <30>;
49*be0d0ab1SSrinivas Neeli    };
50*be0d0ab1SSrinivas Neeli...
51