Amlogic Meson6 SoCs Watchdog timer

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

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Martin Blumenstingl <martin.blumenstingl@googlemail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): watchdog.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "amlogic,meson6-wdt", "amlogic,meson8-wdt", "amlogic,meson8b-wdt"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "amlogic,meson8m2-wdt"

Item 2

Exact value (const): "amlogic,meson8b-wdt"

interrupts — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "interrupts", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

wdt: watchdog@c1109900 {
    compatible = "amlogic,meson6-wdt";
    reg = <0xc1109900 0x8>;
    interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
    timeout-sec = <10>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page