NXP LPC18xx Watchdog Timer (WDT)

Schema identifier ($id): "http://devicetree.org/schemas/watchdog/nxp,lpc1850-wwdt.yaml#"

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

Maintainers (maintainers): "Animesh Agarwal <animeshagarwal28@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,lpc1850-wwdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Watchdog counter clock

Item 2

Register interface clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "wdtclk"

Item 2

Exact value (const): "reg"

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/lpc18xx-cgu.h>
#include <dt-bindings/clock/lpc18xx-ccu.h>

watchdog@40080000 {
    compatible = "nxp,lpc1850-wwdt";
    reg = <0x40080000 0x24>;
    clocks = <&cgu BASE_SAFE_CLK>, <&ccu1 CLK_CPU_WWDT>;
    clock-names = "wdtclk", "reg";
    interrupts = <49>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page