xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/watchdog.yaml (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
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