Airoha EN7581 Watchdog Timer
Schema identifier ($id): "http://devicetree.org/schemas/watchdog/airoha,en7581-wdt.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Christian Marangi <ansuelsmth@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):watchdog.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"airoha,an7583-wdt"Item 2
Exact value (
const):"airoha,en7581-wdt"
Rule 2
Exact value (
const):"airoha,en7581-wdt"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
BUS clock (timer ticks at half the BUS clock)
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "bus"
Required in this object (required): "compatible", "reg", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/en7523-clk.h>
watchdog@1fbf0100 {
compatible = "airoha,en7581-wdt";
reg = <0x1fbf0100 0x3c>;
clocks = <&scuclk EN7523_CLK_BUS>;
clock-names = "bus";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)