Lantiq WTD watchdog

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

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

Maintainers (maintainers): "Hauke Mehrtens <hauke@hauke-m.de>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "lantiq,falcon-wdt", "lantiq,wdt", "lantiq,xrx100-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "lantiq,xrx200-wdt"

Item 2

Exact value (const): "lantiq,xrx100-wdt"

reg — required here #

Maximum number of items (maxItems): 1

lantiq,rcu — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the RCU syscon node

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

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "lantiq,xrx100-wdt", "lantiq,falcon-wdt"

When the condition matches (then) #

Required in this object (required): "lantiq,rcu"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@803f0 {
    compatible = "lantiq,xrx200-wdt", "lantiq,xrx100-wdt";
    reg = <0x803f0 0x10>;

    lantiq,rcu = <&rcu0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page