Faraday Technology FTWDT010 watchdog

Schema identifier ($id): "http://devicetree.org/schemas/watchdog/faraday,ftwdt010.yaml#"

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

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>", "Corentin Labbe <clabbe@baylibre.com>"

This is an IP part from Faraday Technology found in the Gemini SoCs and others.

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

Exact value (const): "faraday,ftwdt010"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "cortina,gemini-watchdog", "moxa,moxart-watchdog"

Item 2

Exact value (const): "faraday,ftwdt010"

reg — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "PCLK"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
watchdog@41000000 {
    compatible = "faraday,ftwdt010";
    reg = <0x41000000 0x1000>;
    interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
    timeout-sec = <5>;
};
watchdog: watchdog@98500000 {
    compatible = "moxa,moxart-watchdog", "faraday,ftwdt010";
    reg = <0x98500000 0x10>;
    clocks = <&clk_apb>;
    clock-names = "PCLK";
};

Source notes #

Annotations retained from the schema source

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

Edit this page