Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Watchdog Common Properties |
| 8 | |
| 9 | maintainers: |
| 10 | - Guenter Roeck <linux@roeck-us.net> |
| 11 | - Wim Van Sebroeck <wim@linux-watchdog.org> |
| 12 | |
| 13 | description: | |
| 14 | This document describes generic bindings which can be used to |
| 15 | describe watchdog devices in a device tree. |
| 16 | |
| 17 | select: |
| 18 | properties: |
| 19 | $nodename: |
| 20 | pattern: "^watchdog(@.*|-([0-9]|[1-9][0-9]+))?$" |
| 21 | |
| 22 | properties: |
| 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 | |
| 30 | additionalProperties: true |
| 31 | |
| 32 | ... |