Renesas Watchdog Timer (WDT) Controller
Schema identifier ($id): "http://devicetree.org/schemas/watchdog/renesas,wdt.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wolfram Sang <wsa+renesas@sang-engineering.com>", "Geert Uytterhoeven <geert+renesas@glider.be>"
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,r8a7742-wdt","renesas,r8a7743-wdt","renesas,r8a7744-wdt","renesas,r8a7745-wdt","renesas,r8a77470-wdt","renesas,r8a7790-wdt","renesas,r8a7791-wdt","renesas,r8a7792-wdt","renesas,r8a7793-wdt","renesas,r8a7794-wdt"Item 2
Exact value (
const):"renesas,rcar-gen2-wdt"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r8a774a1-wdt","renesas,r8a774b1-wdt","renesas,r8a774c0-wdt","renesas,r8a774e1-wdt","renesas,r8a7795-wdt","renesas,r8a7796-wdt","renesas,r8a77961-wdt","renesas,r8a77965-wdt","renesas,r8a77970-wdt","renesas,r8a77980-wdt","renesas,r8a77990-wdt","renesas,r8a77995-wdt"Item 2
Exact value (
const):"renesas,rcar-gen3-wdt"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r8a779a0-wdt","renesas,r8a779f0-wdt","renesas,r8a779g0-wdt","renesas,r8a779h0-wdt"Item 2
Exact value (
const):"renesas,rcar-gen4-wdt"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
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", "interrupts", "power-domains"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):watchdog.yaml#
Rule 2 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r8a77980-wdt"When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
#include <dt-bindings/power/r8a7795-sysc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
wdt0: watchdog@e6020000 {
compatible = "renesas,r8a7795-wdt", "renesas,rcar-gen3-wdt";
reg = <0xe6020000 0x0c>;
interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 402>;
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
resets = <&cpg 402>;
timeout-sec = <60>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 18: RZ/G1H
Line 19: RZ/G1M
Line 20: RZ/G1N
Line 21: RZ/G1E
Line 22: RZ/G1C
Line 23: R-Car H2
Line 24: R-Car M2-W
Line 25: R-Car V2H
Line 26: R-Car M2-N
Line 27: R-Car E2
Line 28: R-Car Gen2 and RZ/G1
Line 32: RZ/G2M
Line 33: RZ/G2N
Line 34: RZ/G2E
Line 35: RZ/G2H
Line 36: R-Car H3
Line 37: R-Car M3-W
Line 38: R-Car M3-W+
Line 39: R-Car M3-N
Line 40: R-Car V3M
Line 41: R-Car V3H
Line 42: R-Car E3
Line 43: R-Car D3
Line 44: R-Car Gen3 and RZ/G2
Line 48: R-Car V3U
Line 49: R-Car S4-8
Line 50: R-Car V4H
Line 51: R-Car V4M
Line 52: R-Car Gen4