Freescale i.MX Watchdog Timer (WDT) Controller
Schema identifier ($id): "http://devicetree.org/schemas/watchdog/fsl-imx-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>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"fsl,imx21-wdt"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx25-wdt","fsl,imx27-wdt","fsl,imx31-wdt","fsl,imx35-wdt","fsl,imx50-wdt","fsl,imx51-wdt","fsl,imx53-wdt","fsl,imx6q-wdt","fsl,imx6sl-wdt","fsl,imx6sll-wdt","fsl,imx6sx-wdt","fsl,imx6ul-wdt","fsl,imx7d-wdt","fsl,imx8mm-wdt","fsl,imx8mn-wdt","fsl,imx8mp-wdt","fsl,imx8mq-wdt","fsl,ls1012a-wdt","fsl,ls1021a-wdt","fsl,ls1043a-wdt","fsl,ls1046a-wdt","fsl,vf610-wdt"Item 2
Exact value (
const):"fsl,imx21-wdt"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
big-endian — not listed as required here #
true — No constraints added by this property rule.
fsl,ext-reset-output — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
If present, the watchdog device is configured to assert its external reset (WDOG_B) instead of issuing a software reset.
fsl,suspend-in-wait — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
If present, the watchdog device is suspended in WAIT mode (Suspend-to-Idle). Only supported on certain devices.
Required in this object (required): "compatible", "interrupts", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):watchdog.yaml#
Rule 2 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx25-wdt","fsl,imx35-wdt","fsl,imx50-wdt","fsl,imx51-wdt","fsl,imx53-wdt","fsl,imx6q-wdt","fsl,imx6sl-wdt","fsl,imx6sll-wdt","fsl,imx6sx-wdt","fsl,imx6ul-wdt","fsl,imx7d-wdt","fsl,imx8mm-wdt","fsl,imx8mn-wdt","fsl,imx8mp-wdt","fsl,imx8mq-wdt","fsl,vf610-wdt"When the condition matches (
then) #Properties and child nodes (
properties)
fsl,suspend-in-wait— not listed as required here
false— Not permitted by this property rule.
Rule 3 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,ls1012a-wdt","fsl,ls1021a-wdt","fsl,ls1043a-wdt","fsl,ls1046a-wdt"When the condition matches (
then) #Properties and child nodes (
properties)
big-endian— not listed as required here
false— Not permitted by this property rule.
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/imx6qdl-clock.h>
watchdog@20bc000 {
compatible = "fsl,imx21-wdt";
reg = <0x020bc000 0x4000>;
interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6QDL_CLK_IPG>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)