xref: /linux/Documentation/devicetree/bindings/watchdog/watchdog.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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-9]|[1-9][0-9]+))?$"
21
22properties:
23  $nodename:
24    pattern: "^(timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$"
25
26  timeout-sec:
27    description:
28      Contains the watchdog timeout in seconds.
29
30additionalProperties: true
31
32...
33