31371c761a
Reference common watchdog.yaml schema to allow "timeout-sec" property and enforce proper device node name. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20231105184154.43700-2-krzysztof.kozlowski@linaro.org Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
61 lines
1.3 KiB
YAML
61 lines
1.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/watchdog/intel,keembay-wdt.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Intel Keem Bay SoC non-secure Watchdog Timer
|
|
|
|
maintainers:
|
|
- Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>
|
|
|
|
allOf:
|
|
- $ref: watchdog.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- intel,keembay-wdt
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
items:
|
|
- description: interrupt specifier for threshold interrupt line
|
|
- description: interrupt specifier for timeout interrupt line
|
|
|
|
interrupt-names:
|
|
items:
|
|
- const: threshold
|
|
- const: timeout
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- interrupt-names
|
|
- clocks
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
#define KEEM_BAY_A53_TIM
|
|
|
|
watchdog: watchdog@2033009c {
|
|
compatible = "intel,keembay-wdt";
|
|
reg = <0x2033009c 0x10>;
|
|
interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupt-names = "threshold", "timeout";
|
|
clocks = <&scmi_clk KEEM_BAY_A53_TIM>;
|
|
};
|
|
|
|
...
|