xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/watchdog.yaml (revision f81cdf24ba5436367377f7c8e8f51f6df2a75ca7)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/watchdog/watchdog.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Watchdog Common Properties
8
9maintainers:
10  - Guenter Roeck <linux@roeck-us.net>
11  - Wim Van Sebroeck <wim@linux-watchdog.org>
12
13description: |
14  This document describes generic bindings which can be used to
15  describe watchdog devices in a device tree.
16
17select:
18  properties:
19    $nodename:
20      pattern: "^watchdog(@.*|-[0-9a-f])?$"
21
22properties:
23  $nodename:
24    pattern: "^(timer|watchdog)(@.*|-[0-9a-f])?$"
25
26  timeout-sec:
27    description:
28      Contains the watchdog timeout in seconds.
29
30additionalProperties: true
31
32...
33