xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/zii,rave-wdt.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*b2d2a78aSEmmanuel Vadot%YAML 1.2
3*b2d2a78aSEmmanuel Vadot---
4*b2d2a78aSEmmanuel Vadot$id: http://devicetree.org/schemas/watchdog/zii,rave-wdt.yaml#
5*b2d2a78aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b2d2a78aSEmmanuel Vadot
7*b2d2a78aSEmmanuel Vadottitle: Zodiac RAVE Watchdog Timer
8*b2d2a78aSEmmanuel Vadot
9*b2d2a78aSEmmanuel Vadotmaintainers:
10*b2d2a78aSEmmanuel Vadot  - Martyn Welch <martyn.welch@collabora.co.uk>
11*b2d2a78aSEmmanuel Vadot  - Guenter Roeck <linux@roeck-us.net>
12*b2d2a78aSEmmanuel Vadot  - Wim Van Sebroeck <wim@iguana.be>
13*b2d2a78aSEmmanuel Vadot
14*b2d2a78aSEmmanuel Vadotproperties:
15*b2d2a78aSEmmanuel Vadot  compatible:
16*b2d2a78aSEmmanuel Vadot    const: zii,rave-wdt
17*b2d2a78aSEmmanuel Vadot
18*b2d2a78aSEmmanuel Vadot  reg:
19*b2d2a78aSEmmanuel Vadot    maxItems: 1
20*b2d2a78aSEmmanuel Vadot    description: i2c slave address of device, usually 0x38
21*b2d2a78aSEmmanuel Vadot
22*b2d2a78aSEmmanuel Vadot  reset-duration-ms:
23*b2d2a78aSEmmanuel Vadot    description:
24*b2d2a78aSEmmanuel Vadot      Duration of the pulse generated when the watchdog times
25*b2d2a78aSEmmanuel Vadot      out.
26*b2d2a78aSEmmanuel Vadot
27*b2d2a78aSEmmanuel Vadotrequired:
28*b2d2a78aSEmmanuel Vadot  - compatible
29*b2d2a78aSEmmanuel Vadot  - reg
30*b2d2a78aSEmmanuel Vadot
31*b2d2a78aSEmmanuel VadotallOf:
32*b2d2a78aSEmmanuel Vadot  - $ref: watchdog.yaml#
33*b2d2a78aSEmmanuel Vadot
34*b2d2a78aSEmmanuel VadotunevaluatedProperties: false
35*b2d2a78aSEmmanuel Vadot
36*b2d2a78aSEmmanuel Vadotexamples:
37*b2d2a78aSEmmanuel Vadot  - |
38*b2d2a78aSEmmanuel Vadot    i2c {
39*b2d2a78aSEmmanuel Vadot        #address-cells = <1>;
40*b2d2a78aSEmmanuel Vadot        #size-cells = <0>;
41*b2d2a78aSEmmanuel Vadot
42*b2d2a78aSEmmanuel Vadot        watchdog@38 {
43*b2d2a78aSEmmanuel Vadot            compatible = "zii,rave-wdt";
44*b2d2a78aSEmmanuel Vadot            reg = <0x38>;
45*b2d2a78aSEmmanuel Vadot            timeout-sec = <30>;
46*b2d2a78aSEmmanuel Vadot            reset-duration-ms = <30>;
47*b2d2a78aSEmmanuel Vadot        };
48*b2d2a78aSEmmanuel Vadot    };
49*b2d2a78aSEmmanuel Vadot
50