Marvell Orion Watchdog Timer

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

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

Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "marvell,orion-wdt", "marvell,armada-370-wdt", "marvell,armada-xp-wdt", "marvell,armada-375-wdt", "marvell,armada-380-wdt"

reg — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Timer control register address

Item 2

RSTOUT enable register address

Item 3

Shared mask/unmask RSTOUT register address

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

L2/coherency fabric clock input

Item 2

Reference 25 MHz fixed-clock supply

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "nbclk"

Item 2

Exact value (const): "fixed"

interrupts — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

timeout

Item 2

pre-timeout

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): "marvell,armada-375-wdt", "marvell,armada-380-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 3

When the condition does not match (else) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum number of items (maxItems): 2

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "marvell,armada-xp-wdt", "marvell,armada-375-wdt", "marvell,armada-380-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

clock-names — required here

Minimum number of items (minItems): 2

interrupts — not listed as required here

Minimum number of items (minItems): 2

Required in this object (required): "clock-names"

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@20300 {
    compatible = "marvell,orion-wdt";
    reg = <0x20300 0x28>, <0x20108 0x4>;
    interrupts = <3>;
    timeout-sec = <10>;
    clocks = <&gate_clk 7>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page