Documentation / devicetree / bindings / watchdog / xlnx,versal-wwdt.yaml


Based on kernel version 6.8. Page generated on 2024-03-11 21:26 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/xlnx,versal-wwdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Xilinx Versal window watchdog timer controller

maintainers:
  - Neeli Srinivas <srinivas.neeli@amd.com>

description:
  Versal watchdog intellectual property uses window watchdog mode.
  Window watchdog timer(WWDT) contains closed(first) and open(second)
  window with 32 bit width. Write to the watchdog timer within
  predefined window periods of time. This means a period that is not
  too soon and a period that is not too late. The WWDT has to be
  restarted within the open window time. If software tries to restart
  WWDT outside of the open window time period, it generates a reset.

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    enum:
      - xlnx,versal-wwdt

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks

unevaluatedProperties: false

examples:
  - |
    watchdog@fd4d0000 {
        compatible = "xlnx,versal-wwdt";
        reg = <0xfd4d0000 0x10000>;
        clocks = <&clock25>;
        timeout-sec = <30>;
    };
...