Renesas RZ/G2L Watchdog Timer (WDT) Controller

Schema identifier ($id): "http://devicetree.org/schemas/watchdog/renesas,rzg2l-wdt.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Biju Das <biju.das.jz@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,r9a07g043-wdt", "renesas,r9a07g044-wdt", "renesas,r9a07g054-wdt", "renesas,r9a08g045-wdt"

Item 2

Exact value (const): "renesas,rzg2l-wdt"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "renesas,r9a09g011-wdt"

Item 2

Exact value (const): "renesas,rzv2m-wdt"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Timeout

Item 2

Parity error

interrupt-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "wdt"

Item 2

Exact value (const): "perrout"

clocks — required here #

Array item rules (items) #

Item 1

Register access clock

Item 2

Main clock

clock-names — required here #

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 — 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", "interrupts", "clocks", "clock-names", "power-domains", "resets"

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 here

Rule for matching array elements (contains)

Exact value (const): "renesas,rzg2l-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 2

interrupt-names — required here

Minimum number of items (minItems): 2

Required in this object (required): "interrupt-names"

When the condition does not match (else) #

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

interrupt-names — not listed as required here

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r9a07g044-cpg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

watchdog@12800800 {
        compatible = "renesas,r9a07g044-wdt",
                     "renesas,rzg2l-wdt";
        reg = <0x12800800 0x400>;
        clocks = <&cpg CPG_MOD R9A07G044_WDT0_PCLK>,
                 <&cpg CPG_MOD R9A07G044_WDT0_CLK>;
        clock-names = "pclk", "oscclk";
        interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
        interrupt-names = "wdt", "perrout";
        resets = <&cpg R9A07G044_WDT0_PRESETN>;
        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/G2UL and RZ/Five

Line 18: RZ/G2{L,LC}

Line 19: RZ/V2L

Line 20: RZ/G3S

Line 24: RZ/V2M

Line 25: RZ/V2M

Edit this page