Xilinx AXI/PLB softcore and window Watchdog Timer

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

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

Maintainers (maintainers): "Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>", "Srinivas Neeli <srinivas.neeli@amd.com>"

The Timebase watchdog timer(WDT) is a free-running 32 bit counter. WDT uses a dual-expiration architecture. After one expiration of the timeout interval, an interrupt is generated and the WDT state bit is set to one in the status register. If the state bit is not cleared (by writing a one to the state bit) before the next expiration of the timeout interval, a WDT reset is generated.

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "xlnx,xps-timebase-wdt-1.01.a", "xlnx,xps-timebase-wdt-1.00.a"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-frequency — not listed as required here #

Frequency of clock in Hz

xlnx,wdt-interval — not listed as required here #

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

Watchdog timeout interval

Minimum value (minimum): 8

Maximum value (maximum): 32

xlnx,wdt-enable-once — not listed as required here #

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

Allowed values (enum): 0, 1

If watchdog is configured as enable once, then the watchdog cannot be disabled after it has been enabled.

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@40100000 {
    compatible = "xlnx,xps-timebase-wdt-1.00.a";
    reg = <0x40100000 0x1000>;
    clock-frequency = <50000000>;
    clocks = <&clkc 15>;
    xlnx,wdt-enable-once = <0x0>;
    xlnx,wdt-interval = <0x1b>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause

Edit this page