Renesas Window Watchdog Timer (WWDT) Controller
Schema identifier ($id): "http://devicetree.org/schemas/watchdog/renesas,rcar-gen3-wwdt.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wolfram Sang <wsa+renesas@sang-engineering.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,r8a77970-wwdt","renesas,r8a77980-wwdt"Item 2
Exact value (
const):"renesas,rcar-gen3-wwdt"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r8a779a0-wwdt","renesas,r8a779f0-wwdt","renesas,r8a779g0-wwdt","renesas,r8a779h0-wwdt"Item 2
Exact value (
const):"renesas,rcar-gen4-wwdt"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
Pretimeout, 75% of overflow reached
Item 2
Error occurred
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pretimeout"
Item 2
Exact value (
const):"error"
clocks — required here #
Array item rules (items) #
Item 1
Counting clock
Item 2
Bus clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cnt"
Item 2
Exact value (
const):"bus"
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"cnt"
Item 2
Exact value (
const):"bus"
power-domains — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks", "clock-names", "resets", "reset-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)Allowed values (
enum):"renesas,r8a779a0-wwdt","renesas,r8a779f0-wwdt"When the condition matches (
then) #Properties and child nodes (
properties)
resets— not listed as required hereMinimum number of items (
minItems):2
reset-names— not listed as required hereMinimum number of items (
minItems):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a779g0-cpg-mssr.h>
#include <dt-bindings/power/r8a779g0-sysc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
watchdog@ffc90000 {
compatible = "renesas,r8a779g0-wwdt",
"renesas,rcar-gen4-wwdt";
reg = <0xffc90000 0x10>;
interrupts = <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "pretimeout", "error";
clocks = <&cpg CPG_CORE R8A779G0_CLK_R>,
<&cpg CPG_CORE R8A779G0_CLK_SASYNCRT>;
clock-names = "cnt", "bus";
power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
resets = <&cpg 1200>;
reset-names = "cnt";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 17: R-Car V3M
Line 18: R-Car V3H
Line 23: R-Car V3U
Line 24: R-Car S4
Line 25: R-Car V4H
Line 26: R-Car V4M