Freescale i.MX7ULP Watchdog Timer (WDT) Controller

Schema identifier ($id): "http://devicetree.org/schemas/watchdog/fsl-imx7ulp-wdt.yaml#"

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

Maintainers (maintainers): "Shawn Guo <shawnguo@kernel.org>", "Sascha Hauer <s.hauer@pengutronix.de>", "Fabio Estevam <festevam@gmail.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

Exact value (const): "fsl,imx7ulp-wdt"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "fsl,imx8ulp-wdt"

Item 2

Exact value (const): "fsl,imx7ulp-wdt"

Rule 3

Exact value (const): "fsl,imx93-wdt"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx94-wdt"

Item 2

Exact value (const): "fsl,imx93-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

fsl,ext-reset-output — not listed as required here #

When set, wdog can generate external reset from the wdog_any pin.

Value type (type): "boolean"

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

watchdog@403d0000 {
    compatible = "fsl,imx7ulp-wdt";
    reg = <0x403d0000 0x10000>;
    interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&pcc2 IMX7ULP_CLK_WDG1>;
    assigned-clocks = <&pcc2 IMX7ULP_CLK_WDG1>;
    assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC_BUS_CLK>;
    timeout-sec = <40>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page