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