Renesas RZ/V2H(P) Watchdog Timer (WDT) Controller
Schema identifier ($id): "http://devicetree.org/schemas/watchdog/renesas,r9a09g057-wdt.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a09g047-wdt","renesas,r9a09g056-wdt"Item 2
Exact value (
const):"renesas,r9a09g057-wdt"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"renesas,r9a09g087-wdt"Item 2
Exact value (
const):"renesas,r9a09g077-wdt"
Rule 3
Allowed values (
enum):"renesas,r9a09g057-wdt","renesas,r9a09g077-wdt"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Register access clock
Item 2
Main clock
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"pclk"
Item 2
Exact value (
const):"oscclk"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
timeout-sec — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "power-domains"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):watchdog.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r9a09g057-wdt"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
clocks— not listed as required hereMinimum number of items (
minItems):2
clock-names— not listed as required hereMinimum number of items (
minItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereMaximum number of items (
maxItems):1
reg— not listed as required hereMinimum number of items (
minItems):2
resets— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/renesas,r9a09g057-cpg.h>
watchdog@11c00400 {
compatible = "renesas,r9a09g057-wdt";
reg = <0x11c00400 0x400>;
clocks = <&cpg CPG_MOD 0x4b>, <&cpg CPG_MOD 0x4c>;
clock-names = "pclk", "oscclk";
resets = <&cpg 0x75>;
power-domains = <&cpg>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 17: RZ/G3E
Line 18: RZ/V2N
Line 19: RZ/V2H(P)
Line 22: RZ/N2H
Line 23: RZ/T2H
Line 26: RZ/V2H(P)
Line 27: RZ/T2H