Sunplus SoCs Watchdog
Schema identifier ($id): "http://devicetree.org/schemas/watchdog/sunplus,sp7021-wdt.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "XianTao Hu <xt.hu@cqplus1.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):watchdog.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sunplus,sp7021-wdt"
reg — required here #
Array item rules (items) #
Item 1
watchdog registers regions
Item 2
miscellaneous control registers regions
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
watchdog: watchdog@9c000630 {
compatible = "sunplus,sp7021-wdt";
reg = <0x9c000630 0x08>, <0x9c000274 0x04>;
clocks = <&clkc 0x24>;
resets = <&rstc 0x14>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) Sunplus Co., Ltd. 2021