e8b1cb537b
On some SoCs the watchdog device is actually mixed with timer, e.g. the qcom,msm-timer on older Qualcomm SoCs where this is actually one hardware block responsible for both system timer and watchdog. Allow calling such device nodes as "timer". Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20221212174933.208900-1-krzysztof.kozlowski@linaro.org Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
33 lines
695 B
YAML
33 lines
695 B
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/watchdog/watchdog.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Watchdog Common Properties
|
|
|
|
maintainers:
|
|
- Guenter Roeck <linux@roeck-us.net>
|
|
- Wim Van Sebroeck <wim@linux-watchdog.org>
|
|
|
|
description: |
|
|
This document describes generic bindings which can be used to
|
|
describe watchdog devices in a device tree.
|
|
|
|
select:
|
|
properties:
|
|
$nodename:
|
|
pattern: "^watchdog(@.*|-[0-9a-f])?$"
|
|
|
|
properties:
|
|
$nodename:
|
|
pattern: "^(timer|watchdog)(@.*|-[0-9a-f])?$"
|
|
|
|
timeout-sec:
|
|
description:
|
|
Contains the watchdog timeout in seconds.
|
|
|
|
additionalProperties: true
|
|
|
|
...
|