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