Documentation / devicetree / bindings / watchdog / zii,rave-wdt.yaml


Based on kernel version 6.12.4. Page generated on 2024-12-12 21:02 EST. Download

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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/zii,rave-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Zodiac RAVE Watchdog Timer

maintainers:
  - Martyn Welch <martyn.welch@collabora.co.uk>
  - Guenter Roeck <linux@roeck-us.net>
  - Wim Van Sebroeck <wim@iguana.be>

properties:
  compatible:
    const: zii,rave-wdt

  reg:
    maxItems: 1
    description: i2c slave address of device, usually 0x38

  reset-duration-ms:
    description:
      Duration of the pulse generated when the watchdog times
      out.

required:
  - compatible
  - reg

allOf:
  - $ref: watchdog.yaml#

unevaluatedProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;
 
        watchdog@38 {
            compatible = "zii,rave-wdt";
            reg = <0x38>;
            timeout-sec = <30>;
            reset-duration-ms = <30>;
        };
    };