Peios Learn
Documentation

Peios

Peios Peios Kernel Universal Directory Project

Developer Tools

Trail Acta Provium clackatoo CAF GCSL Pekit

Applications

Framewright

Standards and Conventions

Standards and Conventions Peios Specifications
Peios Kernel

Watchdog bindings

Single-page view · as markdown

Airoha EN7581 Watchdog Timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Christian Marangi <ansuelsmth@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

Array item rules (items)

Item 1

Exact value (const): "airoha,an7583-wdt"

Item 2

Exact value (const): "airoha,en7581-wdt"

Rule 2

Exact value (const): "airoha,en7581-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

BUS clock (timer ticks at half the BUS clock)

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "bus"

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/en7523-clk.h>

watchdog@1fbf0100 {
    compatible = "airoha,en7581-wdt";
    reg = <0x1fbf0100 0x3c>;

    clocks = <&scuclk EN7523_CLK_BUS>;
    clock-names = "bus";
};

Source notes #

Annotations retained from the schema source

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

Allwinner A10 Watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

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): "allwinner,sun4i-a10-wdt"

Rule 2

Exact value (const): "allwinner,sun6i-a31-wdt"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "allwinner,sun50i-a64-wdt", "allwinner,sun50i-a100-wdt", "allwinner,sun50i-h6-wdt", "allwinner,sun50i-h616-wdt", "allwinner,sun50i-r329-wdt", "allwinner,sun50i-r329-wdt-reset", "allwinner,suniv-f1c100s-wdt"

Item 2

Exact value (const): "allwinner,sun6i-a31-wdt"

Rule 4

Exact value (const): "allwinner,sun20i-d1-wdt"

Rule 5

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun20i-d1-wdt-reset"

Item 2

Exact value (const): "allwinner,sun20i-d1-wdt"

Rule 6

Exact value (const): "allwinner,sun55i-a523-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

32 KHz input clock

Item 2

secondary clock source

interrupts — required here #

Maximum number of items (maxItems): 1

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

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun20i-d1-wdt", "allwinner,sun20i-d1-wdt-reset", "allwinner,sun50i-r329-wdt", "allwinner,sun50i-r329-wdt-reset", "allwinner,sun55i-a523-wdt"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Array item rules (items)

Item 1

High-frequency oscillator input, divided internally

Item 2

Low-frequency oscillator input

clock-names — required here #

Array item rules (items)

Item 1

Exact value (const): "hosc"

Item 2

Exact value (const): "losc"

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

When the condition does not match (else) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Maximum number of items (maxItems): 1

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

wdt: watchdog@1c20c90 {
    compatible = "allwinner,sun4i-a10-wdt";
    reg = <0x01c20c90 0x10>;
    interrupts = <24>;
    clocks = <&osc24M>;
    timeout-sec = <10>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Alphascale asm9260 Watchdog timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Oleksij Rempel <linux@rempel-privat.de>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "alphascale,asm9260-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

source clock, used for tick counter

Item 2

ahb gate

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mod"

Item 2

Exact value (const): "ahb"

interrupts — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "wdt_rst"

alphascale,mode — not listed as required here #

Specifies the reset mode of operation. If set to sw, then reset is handled via interrupt request, if set to debug, then it does nothing and logs.

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

Allowed values (enum): "hw", "sw", "debug"

Default value (default): "hw"

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/alphascale,asm9260.h>
watchdog0: watchdog@80048000 {
  compatible = "alphascale,asm9260-wdt";
  reg = <0x80048000 0x10>;
  clocks = <&acc CLKID_SYS_WDT>, <&acc CLKID_AHB_WDT>;
  clock-names = "mod", "ahb";
  interrupts = <55>;
  timeout-sec = <30>;
  alphascale,mode = "hw";
};

Source notes #

Annotations retained from the schema source

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

Meson GXBB SoCs Watchdog timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

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

Allowed values (enum): "amlogic,meson-gxbb-wdt", "amlogic,t7-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "amlogic,a4-wdt", "amlogic,c3-wdt", "amlogic,s4-wdt"

Item 2

Exact value (const): "amlogic,t7-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

A phandle to the clock of this PHY

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@98d0 {
    compatible = "amlogic,meson-gxbb-wdt";
    reg = <0x98d0 0x10>;
    clocks = <&xtal>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2019 BayLibre, SAS

Amlogic Meson6 SoCs Watchdog timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Martin Blumenstingl <martin.blumenstingl@googlemail.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

Allowed values (enum): "amlogic,meson6-wdt", "amlogic,meson8-wdt", "amlogic,meson8b-wdt"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "amlogic,meson8m2-wdt"

Item 2

Exact value (const): "amlogic,meson8b-wdt"

interrupts — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

wdt: watchdog@c1109900 {
    compatible = "amlogic,meson6-wdt";
    reg = <0xc1109900 0x8>;
    interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
    timeout-sec = <10>;
};

Source notes #

Annotations retained from the schema source

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

Apple SoC Watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Sven Peter <sven@svenpeter.dev>"

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

Array item rules (items)

Item 1

Exact value (const): "apple,t6020-wdt"

Item 2

Exact value (const): "apple,t8103-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "apple,s5l8960x-wdt", "apple,t7000-wdt", "apple,s8000-wdt", "apple,t8010-wdt", "apple,t8015-wdt", "apple,t8103-wdt", "apple,t8112-wdt", "apple,t6000-wdt"

Item 2

Exact value (const): "apple,wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/apple-aic.h>
#include <dt-bindings/interrupt-controller/irq.h>

wdt: watchdog@50000000 {
    compatible = "apple,t8103-wdt", "apple,wdt";
    reg = <0x50000000 0x4000>;
    clocks = <&clk>;
    interrupts = <AIC_IRQ 123 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Line 23: Do not add additional SoC to this list.

SBSA (Server Base System Architecture) Generic Watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

Schema identifier ($id): "http://devicetree.org/schemas/watchdog/arm,sbsa-gwdt.yaml#"

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

Maintainers (maintainers): "Fu Wei <fu.wei@linaro.org>"

The SBSA Generic Watchdog Timer is used to force a reset of the system after two stages of timeout have elapsed. A detailed definition of the watchdog timer can be found in the ARM document: ARM-DEN-0029 - Server Base System Architecture (SBSA)

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "arm,sbsa-gwdt"

reg — required here #

Array item rules (items) #

Item 1

Watchdog control frame

Item 2

Refresh frame

interrupts — required here #

The Watchdog Signal 0 (WS0) SPI (Shared Peripheral Interrupt)

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@2a440000 {
    compatible = "arm,sbsa-gwdt";
    reg = <0x2a440000 0x1000>,
          <0x2a450000 0x1000>;
    interrupts = <0 27 4>;
    timeout-sec = <30>;
};

Source notes #

Annotations retained from the schema source

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

ARM AMBA Primecell SP805 Watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Viresh Kumar <vireshk@kernel.org>"

The Arm SP805 IP implements a watchdog device, which triggers an interrupt after a configurable time period. If that interrupt has not been serviced when the next interrupt would be triggered, the reset signal is asserted.

All of these rules must match (allOf) #

Rule 1 #

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

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Exact value (const): "arm,sp805"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "arm,sp805"

Item 2

Exact value (const): "arm,primecell"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Clocks driving the watchdog timer hardware. The first clock is used for the actual watchdog counter. The second clock drives the register interface.

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "wdog_clk"

Item 2

Exact value (const): "apb_pclk"

resets — not listed as required here #

Maximum number of items (maxItems): 1

WDOGRESn input reset signal for sp805 module.

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
watchdog@66090000 {
    compatible = "arm,sp805", "arm,primecell";
    reg = <0x66090000 0x1000>;
    interrupts = <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&wdt_clk>, <&apb_pclk>;
    clock-names = "wdog_clk", "apb_pclk";
    resets = <&wdt_rst>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 20: Need a custom select here or 'arm,primecell' will match on lots of nodes

ARM Timer-Watchdog Watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Rob Herring <robh@kernel.org>"

ARM 11MP, Cortex-A5 and Cortex-A9 are often associated with a per-core Timer-Watchdog (aka TWD), which provides both a per-cpu local timer and watchdog. The TWD is usually attached to a GIC to deliver its two per-processor interrupts.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "arm,cortex-a9-twd-wdt", "arm,cortex-a5-twd-wdt", "arm,arm11mp-twd-wdt"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

watchdog@2c000620 {
    compatible = "arm,arm11mp-twd-wdt";
    reg = <0x2c000620 0x20>;
    interrupts = <GIC_PPI 14 0xf01>;
};

Source notes #

Annotations retained from the schema source

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

ARM Secure Monitor Call based watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Julius Werner <jwerner@chromium.org>"

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): "arm,smc-wdt"

arm,smc-id — not listed as required here #

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

The ATF smc function id used by the firmware. Defaults to 0x82003D06 if unset.

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog {
    compatible = "arm,smc-wdt";
    arm,smc-id = <0x82003D06>;
    timeout-sec = <15>;
};

Source notes #

Annotations retained from the schema source

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

Aspeed watchdog timer controllers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Andrew Jeffery <andrew@codeconstruct.com.au>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "aspeed,ast2400-wdt", "aspeed,ast2500-wdt", "aspeed,ast2600-wdt", "aspeed,ast2700-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

The clock used to drive the watchdog counter. From the AST2500 no source other than the 1MHz clock can be selected, so the clocks property is optional.

aspeed,reset-type — not listed as required here #

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

Allowed values (enum): "cpu", "soc", "system", "none"

Default value (default): "system"

The watchdog can be programmed to generate one of three different types of reset when a timeout occcurs. Specifying 'cpu' will only reset the processor on a timeout event. Specifying 'soc' will reset a configurable subset of the SoC's controllers on a timeout event. Controllers critical to the SoC's operation may remain untouched. The set of SoC controllers to reset may be specified via the aspeed,reset-mask property if the node has the aspeed,ast2500-wdt or aspeed,ast2600-wdt compatible. Specifying 'system' will reset all controllers on a timeout event, as if EXTRST had been asserted. Specifying 'none' will cause the timeout event to have no reset effect. Another watchdog engine on the chip must be used for chip reset operations.

aspeed,alt-boot — not listed as required here #

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

Direct the watchdog to configure the SoC to boot from the alternative boot region if a timeout occurs.

aspeed,external-signal — not listed as required here #

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

Assert the timeout event on an external signal pin associated with the watchdog controller instance. The pin must be muxed appropriately.

aspeed,ext-pulse-duration — not listed as required here #

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

The duration, in microseconds, of the pulse emitted on the external signal pin.

aspeed,ext-push-pull — not listed as required here #

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

If aspeed,external-signal is specified in the node, set the external signal pin's drive type to push-pull. If aspeed,ext-push-pull is not specified then the pin is configured as open-drain.

aspeed,ext-active-high — not listed as required here #

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

If both aspeed,external-signal and aspeed,ext-push-pull are specified in the node, set the pulse polarity to active-high. If aspeed,ext-active-high is not specified then the pin is configured as active-low.

aspeed,reset-mask — not listed as required here #

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

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

A bitmask indicating which peripherals will be reset if the watchdog timer expires. On AST2500 SoCs this should be a single word defined using the AST2500_WDT_RESET_* macros; on AST2600 SoCs this should be a two-word array with the first word defined using the AST2600_WDT_RESET1_* macros, and the second word defined using the AST2600_WDT_RESET2_* macros; on AST2700 SoCs, this should be five-word array from AST2700_WDT_RESET1_* macros to AST2700_WDT_RESET5_* macros.

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

At least one of these rules must match (anyOf)

Rule 1

Required in this object (required): "aspeed,ext-push-pull"

Rule 2

Required in this object (required): "aspeed,ext-active-high"

Rule 3

Required in this object (required): "aspeed,reset-mask"

When the condition matches (then) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "aspeed,ast2500-wdt", "aspeed,ast2600-wdt", "aspeed,ast2700-wdt"

Rule 2 #

Condition (if) #

Required in this object (required): "aspeed,ext-active-high"

When the condition matches (then) #

Required in this object (required): "aspeed,ext-push-pull"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@1e785000 {
    compatible = "aspeed,ast2400-wdt";
    reg = <0x1e785000 0x1c>;
    aspeed,reset-type = "system";
    aspeed,external-signal;
};
#include <dt-bindings/watchdog/aspeed-wdt.h>
watchdog@1e785040 {
    compatible = "aspeed,ast2600-wdt";
    reg = <0x1e785040 0x40>;
    aspeed,reset-type = "soc";
    aspeed,reset-mask = <AST2600_WDT_RESET1_DEFAULT
                        (AST2600_WDT_RESET2_DEFAULT & ~AST2600_WDT_RESET2_LPC)>;
};

Source notes #

Annotations retained from the schema source

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

Atmel AT91RM9200 System Timer Watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Nicolas Ferre <nicolas.ferre@microchip.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "atmel,at91rm9200-wdt"

reg — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@fffffd00 {
    compatible = "atmel,at91rm9200-wdt";
    reg = <0xfffffd00 0x10>;
};

Source notes #

Annotations retained from the schema source

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

Atmel Watchdog Timers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Eugen Hristev <eugen.hristev@microchip.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "atmel,at91sam9260-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

atmel,max-heartbeat-sec — not listed as required here #

Should contain the maximum heartbeat value in seconds. This value should be less or equal to 16. It is used to compute the WDV field.

Maximum value (maximum): 16

atmel,min-heartbeat-sec — not listed as required here #

Should contain the minimum heartbeat value in seconds. This value must be smaller than the max-heartbeat-sec value. It is used to compute the WDD field.

Maximum value (maximum): 16

atmel,watchdog-type — not listed as required here #

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

Should be hardware or software.

Exactly one of these rules must match (oneOf) #

Rule 1

Hardware watchdog uses the at91 watchdog reset.

Exact value (const): "hardware"

Rule 2

Software watchdog uses the watchdog interrupt to trigger a software reset.

Exact value (const): "software"

Default value (default): "hardware"

atmel,reset-type — not listed as required here #

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

Should be proc or all. This is valid only when using hardware watchdog.

Exactly one of these rules must match (oneOf) #

Rule 1

Assert peripherals and processor reset signals.

Exact value (const): "all"

Rule 2

Assert the processor reset signal.

Exact value (const): "proc"

Default value (default): "all"

atmel,disable — not listed as required here #

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

Should be present if you want to stop the watchdog.

atmel,idle-halt — not listed as required here #

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

Should be present if you want to stop the watchdog when entering idle state. CAUTION: This property should be used with care, it actually makes the watchdog not counting when the CPU is in idle state, therefore the watchdog reset time depends on mean CPU usage and will not reset at all if the CPU stops working while it is in idle state, which is probably not what you want.

atmel,dbg-halt — not listed as required here #

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

Should be present if you want to stop the watchdog when entering debug state.

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

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

atmel,reset-type — not listed as required here

Allowed values (enum): "all", "proc"

When the condition matches (then) #

Properties and child nodes (properties)

atmel,watchdog-type — not listed as required here

Exact value (const): "hardware"

Property dependencies (dependencies) #

atmel,reset-type — applies when this property is present #

Also requires: "atmel,watchdog-type"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

watchdog@fffffd40 {
    compatible = "atmel,at91sam9260-wdt";
    reg = <0xfffffd40 0x10>;
    interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
    clocks = <&clk32k>;
    timeout-sec = <15>;
    atmel,watchdog-type = "hardware";
    atmel,reset-type = "all";
    atmel,dbg-halt;
    atmel,idle-halt;
    atmel,max-heartbeat-sec = <16>;
    atmel,min-heartbeat-sec = <0>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries

Atmel SAMA5D4 Watchdog Timer (WDT) Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Eugen Hristev <eugen.hristev@microchip.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

Allowed values (enum): "atmel,sama5d4-wdt", "microchip,sam9x60-wdt", "microchip,sama7g5-wdt"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "microchip,sam9x7-wdt"

Item 2

Exact value (const): "microchip,sam9x60-wdt"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

atmel,watchdog-type — not listed as required here #

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

should be hardware or software.

Exactly one of these rules must match (oneOf) #

Rule 1

Enable watchdog fault reset. A watchdog fault triggers watchdog reset.

Exact value (const): "hardware"

Rule 2

Enable watchdog fault interrupt. A watchdog fault asserts watchdog interrupt.

Exact value (const): "software"

Default value (default): "hardware"

atmel,idle-halt — not listed as required here #

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

present if you want to stop the watchdog when the CPU is in idle state. CAUTION: This property should be used with care, it actually makes the watchdog not counting when the CPU is in idle state, therefore the watchdog reset time depends on mean CPU usage and will not reset at all if the CPU stop working while it is in idle state, which is probably not what you want.

atmel,dbg-halt — not listed as required here #

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

present if you want to stop the watchdog when the CPU is in debug state.

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

watchdog@fc068640 {
    compatible = "atmel,sama5d4-wdt";
    reg = <0xfc068640 0x10>;
    interrupts = <4 IRQ_TYPE_LEVEL_HIGH 5>;
    timeout-sec = <10>;
    atmel,watchdog-type = "hardware";
    atmel,dbg-halt;
    atmel,idle-halt;
};

Source notes #

Annotations retained from the schema source

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

BCM63xx and BCM7038 watchdog timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Florian Fainelli <f.fainelli@gmail.com>", "Justin Chen <justinpopo6@gmail.com>", "Rafał Miłecki <rafal@milecki.pl>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — not listed as required here #

Allowed values (enum): "brcm,bcm6345-wdt", "brcm,bcm7038-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

The clock running the watchdog. If no clock is found the driver will default to 27000000 Hz.

Required in this object (required): "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@f040a7e8 {
    compatible = "brcm,bcm7038-wdt";
    reg = <0xf040a7e8 0x16>;
    clocks = <&upg_fixed>;
};

Source notes #

Annotations retained from the schema source

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

Broadcom Kona Family Watchdog Timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

This watchdog timer is used in the following Broadcom SoCs: BCM11130, BCM11140, BCM11351, BCM28145, BCM28155

Maintainers (maintainers): "Florian Fainelli <f.fainelli@gmail.com>", "Ray Jui <rjui@broadcom.com>", "Scott Branden <sbranden@broadcom.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "brcm,bcm11351-wdt"

Item 2

Exact value (const): "brcm,kona-wdt"

reg — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@35002f40 {
    compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt";
    reg = <0x35002f40 0x6c>;
};

Source notes #

Annotations retained from the schema source

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

Cadence watchdog timer controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Neeli Srinivas <srinivas.neeli@amd.com>"

The cadence watchdog timer is used to detect and recover from system malfunctions. This watchdog contains 24 bit counter and a programmable reset period. The timeout period varies from 1 ms to 30 seconds while using a 100Mhz clock.

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): "cdns,wdt-r1p2"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

reset-on-timeout — not listed as required here #

Value type (type): "boolean"

If this property exists, then a reset is done when watchdog times out.

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

watchdog@f8005000 {
    compatible = "cdns,wdt-r1p2";
    reg = <0xf8005000 0x1000>;
    clocks = <&clkc 45>;
    interrupt-parent = <&intc>;
    interrupts = <GIC_SPI 9 IRQ_TYPE_EDGE_RISING>;
    reset-on-timeout;
    timeout-sec = <10>;
};

Source notes #

Annotations retained from the schema source

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

Cirrus Logic EP93xx Watchdog Timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Nikita Shubin <nikita.shubin@maquefel.me>", "Alexander Sverdlin <alexander.sverdlin@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): "cirrus,ep9301-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "cirrus,ep9302-wdt", "cirrus,ep9307-wdt", "cirrus,ep9312-wdt", "cirrus,ep9315-wdt"

Item 2

Exact value (const): "cirrus,ep9301-wdt"

reg — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@80940000 {
    compatible = "cirrus,ep9301-wdt";
    reg = <0x80940000 0x08>;
};

Source notes #

Annotations retained from the schema source

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

Conexant Digicolor SoCs Watchdog timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

The watchdog functionality in Conexant Digicolor SoCs relies on the so called "Agent Communication" block. This block includes the eight programmable system timer counters. The first timer (called "Timer A") is the only one that can be used as watchdog.

Maintainers (maintainers): "Baruch Siach <baruch@tkos.co.il>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "cnxt,cx92755-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@f0000fc0 {
    compatible = "cnxt,cx92755-wdt";
    reg = <0xf0000fc0 0x8>;
    clocks = <&main_clk>;
    timeout-sec = <15>;
};

Source notes #

Annotations retained from the schema source

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

Dialog Semiconductor DA906{1,2,3} Watchdog Timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

Schema identifier ($id): "http://devicetree.org/schemas/watchdog/dlg,da9062-watchdog.yaml#"

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

Maintainers (maintainers): "Steve Twiss <stwiss.opensource@diasemi.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

Allowed values (enum): "dlg,da9062-watchdog", "dlg,da9063-watchdog"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "dlg,da9061-watchdog"

Item 2

Exact value (const): "dlg,da9062-watchdog"

dlg,use-sw-pm — not listed as required here #

Value type (type): "boolean"

Add this property to disable the watchdog during suspend. Only use this option if you can't use the watchdog automatic suspend function during a suspend (see register CONTROL_B).

dlg,wdt-sd — not listed as required here #

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

Allowed values (enum): 0, 1

Set what happens on watchdog timeout. If this bit is set the watchdog timeout triggers SHUTDOWN, if cleared the watchdog triggers POWERDOWN. Can be 0 or 1. Only use this option if you want to change the default chip's OTP setting for WATCHDOG_SD bit. If this property is NOT set the WATCHDOG_SD bit and on timeout watchdog behavior will match the chip's OTP settings.

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog {
  compatible = "dlg,da9062-watchdog";
  dlg,use-sw-pm;
  dlg,wdt-sd = <1>;
};

Source notes #

Annotations retained from the schema source

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

Faraday Technology FTWDT010 watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>", "Corentin Labbe <clabbe@baylibre.com>"

This is an IP part from Faraday Technology found in the Gemini SoCs and others.

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): "faraday,ftwdt010"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "cortina,gemini-watchdog", "moxa,moxart-watchdog"

Item 2

Exact value (const): "faraday,ftwdt010"

reg — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "PCLK"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
watchdog@41000000 {
    compatible = "faraday,ftwdt010";
    reg = <0x41000000 0x1000>;
    interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
    timeout-sec = <5>;
};
watchdog: watchdog@98500000 {
    compatible = "moxa,moxart-watchdog", "faraday,ftwdt010";
    reg = <0x98500000 0x10>;
    clocks = <&clk_apb>;
    clock-names = "PCLK";
};

Source notes #

Annotations retained from the schema source

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

i.MX SCU Client Device Node - Watchdog Based on SCU Message Protocol

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Dong Aisheng <aisheng.dong@nxp.com>"

i.MX SCU Client Device Node Client nodes are maintained as children of the relevant IMX-SCU device node.

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "fsl,imx8dxl-sc-wdt", "fsl,imx8qm-sc-wdt", "fsl,imx8qxp-sc-wdt"

Item 2

Exact value (const): "fsl,imx-sc-wdt"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog {
    compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt";
    timeout-sec = <60>;
};

Source notes #

Annotations retained from the schema source

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

Freescale i.MX Watchdog Timer (WDT) Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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 here

Rule 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 here

Rule 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)

Freescale i.MX7ULP Watchdog Timer (WDT) Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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)

ImgTec PowerDown Controller (PDC) Watchdog Timer (WDT)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Shresth Prasad <shresthprasad7@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 #

Allowed values (enum): "img,pdc-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

watchdog counter clock

Item 2

register interface clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "wdt"

Item 2

Exact value (const): "sys"

interrupts — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

watchdog@18102100 {
  compatible = "img,pdc-wdt";
  reg = <0x18102100 0x100>;
  clocks = <&pdc_wdt_clk>, <&sys_clk>;
  clock-names = "wdt", "sys";
  interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Intel Keem Bay SoC non-secure Watchdog Timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>"

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): "intel,keembay-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

interrupt specifier for threshold interrupt line

Item 2

interrupt specifier for timeout interrupt line

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "threshold"

Item 2

Exact value (const): "timeout"

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "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/interrupt-controller/irq.h>
#define KEEM_BAY_A53_TIM

watchdog: watchdog@2033009c {
    compatible = "intel,keembay-wdt";
    reg = <0x2033009c 0x10>;
    interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "threshold", "timeout";
    clocks = <&scmi_clk KEEM_BAY_A53_TIM>;
};

Source notes #

Annotations retained from the schema source

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

Watchdog driver for the sl28cpld board management controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Michael Walle <michael@walle.cc>"

This module is part of the sl28cpld multi-function device. For more details see ../embedded-controller/kontron,sl28cpld.yaml.

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

Array item rules (items)

Item 1

Allowed values (enum): "kontron,sa67mcu-wdt"

Item 2

Exact value (const): "kontron,sl28cpld-wdt"

Rule 2

Exact value (const): "kontron,sl28cpld-wdt"

reg — not listed as required here #

Maximum number of items (maxItems): 1

kontron,assert-wdt-timeout-pin — not listed as required here #

The SMARC standard defines a WDT_TIME_OUT# pin. If this property is set, this output will be pulsed when the watchdog bites and the system resets.

Value type (type): "boolean"

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Lantiq WTD watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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)

GPIO-controlled Watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Guenter Roeck <linux@roeck-us.net>", "Robert Marko <robert.marko@sartura.hr>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "linux,wdt-gpio"

gpios — required here #

gpio connection to WDT reset pin

Maximum number of items (maxItems): 1

hw_algo — required here #

The algorithm used by the driver.

Exactly one of these rules must match (oneOf) #

Rule 1

Either a high-to-low or a low-to-high transition clears the WDT counter. The watchdog timer is disabled when GPIO is left floating or connected to a three-state buffer.

Exact value (const): "toggle"

Rule 2

Low or high level starts counting WDT timeout, the opposite level disables the WDT. Active level is determined by the GPIO flags.

Exact value (const): "level"

hw_margin_ms — required here #

Maximum time to reset watchdog circuit (milliseconds).

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

Minimum value (minimum): 2

Maximum value (maximum): 65535

always-running — not listed as required here #

Value type (type): "boolean"

If the watchdog timer cannot be disabled, add this flag to have the driver keep toggling the signal without a client. It will only cease to toggle the signal when the device is open and the timeout elapsed.

Required in this object (required): "compatible", "gpios", "hw_algo", "hw_margin_ms"

All of these rules must match (allOf) #

Rule 1 #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
watchdog {
    compatible = "linux,wdt-gpio";
    gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
    hw_algo = "toggle";
    hw_margin_ms = <1600>;
};

Source notes #

Annotations retained from the schema source

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

Loongson Watchdog Timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Keguang Zhang <keguang.zhang@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 #

Allowed values (enum): "loongson,ls1b-wdt", "loongson,ls1c-wdt", "loongson,ls2k0300-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/loongson,ls1x-clk.h>
watchdog: watchdog@1fe5c060 {
    compatible = "loongson,ls1b-wdt";
    reg = <0x1fe5c060 0xc>;

    clocks = <&clkc LS1X_CLKID_APB>;
};

Source notes #

Annotations retained from the schema source

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

Armada 37xx CPU Watchdog Timer Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Marek Behún <kabel@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "marvell,armada-3700-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

marvell,system-controller — required here #

Reference to syscon node for the CPU Miscellaneous Registers

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

Required in this object (required): "compatible", "reg", "clocks", "marvell,system-controller"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@8300 {
    compatible = "marvell,armada-3700-wdt";
    reg = <0x8300 0x40>;
    marvell,system-controller = <&cpu_misc>;
    clocks = <&xtalclk>;
};

Source notes #

Annotations retained from the schema source

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

Marvell Global Timer (GTI) system watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Bharat Bhushan <bbhushan2@marvell.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

Allowed values (enum): "marvell,cn9670-wdt", "marvell,cn10624-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "marvell,cn9880-wdt", "marvell,cnf9535-wdt"

Item 2

Exact value (const): "marvell,cn9670-wdt"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "marvell,cn10308-wdt", "marvell,cnf10518-wdt"

Item 2

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

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "refclk"

marvell,wdt-timer-index — not listed as required here #

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

Minimum value (minimum): 0

Maximum value (maximum): 63

An SoC have many timers (up to 64), firmware can reserve one or more timer for some other use case and configures one of the global timer as watchdog timer. Firmware will update this field with the timer number configured as watchdog timer.

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
    #address-cells = <2>;
    #size-cells = <2>;

    watchdog@802000040000 {
        compatible = "marvell,cn9670-wdt";
        reg = <0x00008020 0x00040000 0x00000000 0x00020000>;
        interrupts = <GIC_SPI 38 IRQ_TYPE_EDGE_RISING>;
        clocks = <&sclk>;
        clock-names = "refclk";
        marvell,wdt-timer-index = <63>;
    };
};

Source notes #

Annotations retained from the schema source

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

Marvell Orion Watchdog Timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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)

Maxim 63xx Watchdog Timers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Marc Zyngier <maz@kernel.org>", "Linus Walleij <linusw@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Shared schema rule ($ref): /schemas/memory-controllers/mc-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "maxim,max6369", "maxim,max6370", "maxim,max6371", "maxim,max6372", "maxim,max6373", "maxim,max6374"

reg — required here #

This is a 1-byte memory-mapped address

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

wdt: watchdog@50000000 {
    compatible = "maxim,max6369";
    reg = <0x50000000 0x1>;
    timeout-sec = <10>;
};

Source notes #

Annotations retained from the schema source

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

Ralink Watchdog Timers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Sergio Paracuellos <sergio.paracuellos@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 #

Exact value (const): "mediatek,mt7621-wdt"

reg — required here #

Maximum number of items (maxItems): 1

mediatek,sysctl — not listed as required here #

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

phandle to system controller 'sysc' syscon node which controls system registers

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@100 {
    compatible = "mediatek,mt7621-wdt";
    reg = <0x100 0x100>;
    mediatek,sysctl = <&sysc>;
};

Source notes #

Annotations retained from the schema source

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

MediaTek SoCs Watchdog timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>"

The watchdog supports a pre-timeout interrupt that fires timeout-sec/2 before the expiry.

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

Allowed values (enum): "mediatek,mt2712-wdt", "mediatek,mt6589-wdt", "mediatek,mt6735-wdt", "mediatek,mt6795-wdt", "mediatek,mt7986-wdt", "mediatek,mt7988-wdt", "mediatek,mt8183-wdt", "mediatek,mt8186-wdt", "mediatek,mt8188-wdt", "mediatek,mt8192-wdt", "mediatek,mt8195-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt2701-wdt", "mediatek,mt6572-wdt", "mediatek,mt6582-wdt", "mediatek,mt6797-wdt", "mediatek,mt7622-wdt", "mediatek,mt7623-wdt", "mediatek,mt7629-wdt", "mediatek,mt8173-wdt", "mediatek,mt8188-wdt", "mediatek,mt8189-wdt", "mediatek,mt8365-wdt", "mediatek,mt8516-wdt"

Item 2

Exact value (const): "mediatek,mt6589-wdt"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Array item rules (items) #

Item 1

Watchdog pre-timeout (bark) interrupt

mediatek,disable-extrst — not listed as required here #

Disable sending output reset signal

Value type (type): "boolean"

mediatek,reset-by-toprgu — not listed as required here #

The Top Reset Generation Unit (TOPRGU) generates reset signals and distributes them to each IP. If present, the watchdog timer will be reset by TOPRGU once system resets.

Value type (type): "boolean"

#reset-cells — not listed as required here #

Exact value (const): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    watchdog: watchdog@10007000 {
        compatible = "mediatek,mt8183-wdt";
        reg = <0 0x10007000 0 0x100>;
        interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_LOW>;
        mediatek,disable-extrst;
        timeout-sec = <10>;
        #reset-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale MPC8xxx watchdog timer (For 83xx, 86xx and 8xx)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "J. Neuschäfer <j.ne@posteo.net>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mpc83xx_wdt", "fsl,mpc8610-wdt", "fsl,mpc823-wdt"

device_type — not listed as required here #

Exact value (const): "watchdog"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Base physical address and length of the area hosting the watchdog registers.

On the 83xx, "Watchdog Timer Registers" area: <0x200 0x100> On the 86xx, "Watchdog Timer Registers" area: <0xe4000 0x100> On the 8xx, "General System Interface Unit" area: <0x0 0x10>

Item 2

Additional optional physical address and length (4) of location of the Reset Status Register (called RSTRSCR on the mpc86xx)

On the 83xx, it is located at offset 0x910 On the 86xx, it is located at offset 0xe0094 On the 8xx, it is located at offset 0x288

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

All of these rules must match (allOf) #

Rule 1 #

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@0 {
    compatible = "fsl,mpc823-wdt";
    reg = <0x0 0x10 0x288 0x4>;
};
watchdog@200 {
    compatible = "mpc83xx_wdt";
    reg = <0x200 0x100>;
    device_type = "watchdog";
};

Source notes #

Annotations retained from the schema source

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

Line 15: for an mpc83xx

Line 16: for an mpc86xx

Line 17: for an mpc8xx

MStar Watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Daniel Palmer <daniel@0x0f.com>", "Romain Perier <romain.perier@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 #

Allowed values (enum): "mstar,msc313e-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@6000 {
    compatible = "mstar,msc313e-wdt";
    reg = <0x6000 0x1f>;
    clocks = <&xtal_div2>;
};

Source notes #

Annotations retained from the schema source

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

Nuvoton NPCM Watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Joel Stanley <joel@jms.id.au>"

Nuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog. The watchdog supports a pre-timeout interrupt that fires 10ms before the expiry.

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

Allowed values (enum): "nuvoton,npcm750-wdt", "nuvoton,wpcm450-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "nuvoton,npcm845-wdt"

Item 2

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

clock-frequency — not listed as required here #

Frequency in Hz of the clock that drives the NPCM timer.

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

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/nuvoton,npcm7xx-clock.h>

watchdog@f000801c {
    compatible = "nuvoton,npcm750-wdt";
    interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
    reg = <0xf000801c 0x4>;
    clocks = <&clk NPCM7XX_CLK_TIMER>;
};

Source notes #

Annotations retained from the schema source

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

NXP LPC18xx Watchdog Timer (WDT)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

Schema identifier ($id): "http://devicetree.org/schemas/watchdog/nxp,lpc1850-wwdt.yaml#"

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

Maintainers (maintainers): "Animesh Agarwal <animeshagarwal28@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,lpc1850-wwdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Watchdog counter clock

Item 2

Register interface clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "wdtclk"

Item 2

Exact value (const): "reg"

interrupts — required here #

Maximum number of items (maxItems): 1

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/lpc18xx-cgu.h>
#include <dt-bindings/clock/lpc18xx-ccu.h>

watchdog@40080000 {
    compatible = "nxp,lpc1850-wwdt";
    reg = <0x40080000 0x24>;
    clocks = <&cgu BASE_SAFE_CLK>, <&ccu1 CLK_CPU_WWDT>;
    clock-names = "wdtclk", "reg";
    interrupts = <49>;
};

Source notes #

Annotations retained from the schema source

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

NXP PNX watchdog timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Roland Stigge <stigge@antcom.de>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,pnx4008-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@4003c000 {
    compatible = "nxp,pnx4008-wdt";
    reg = <0x4003c000 0x1000>;
    timeout-sec = <10>;
};

Source notes #

Annotations retained from the schema source

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

NXP Software Watchdog Timer (SWT)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

Schema identifier ($id): "http://devicetree.org/schemas/watchdog/nxp,s32g2-swt.yaml#"

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

Maintainers (maintainers): "Daniel Lezcano <daniel.lezcano@kernel.org>"

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): "nxp,s32g2-swt"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nxp,s32g3-swt"

Item 2

Exact value (const): "nxp,s32g2-swt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Counter clock

Item 2

Module clock

Item 3

Register clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "counter"

Item 2

Exact value (const): "module"

Item 3

Exact value (const): "register"

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@40100000 {
    compatible = "nxp,s32g2-swt";
    reg = <0x40100000 0x1000>;
    clocks = <&clks 0x3a>, <&clks 0x3b>, <&clks 0x3c>;
    clock-names = "counter", "module", "register";
    timeout-sec = <10>;
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Atheros AR7130 Watchdog Timer (WDT) Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Gabor Juhos <juhosg@openwrt.org>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qca,ar7130-wdt"

reg — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@18060008 {
    compatible = "qca,ar7130-wdt";
    reg = <0x18060008 0x8>;
};

Source notes #

Annotations retained from the schema source

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

Qualcomm PM8916 watchdog timer controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,pm8916-wdt"

interrupts — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/spmi/spmi.h>

spmi {
    #address-cells = <2>;
    #size-cells = <0>;

    pmic@0 {
        compatible = "qcom,pm8916", "qcom,spmi-pmic";
        reg = <0x0 SPMI_USID>;
        #address-cells = <1>;
        #size-cells = <0>;

        pon@800 {
            compatible = "qcom,pm8916-pon";
            reg = <0x800>;
            mode-bootloader = <0x2>;
            mode-recovery = <0x1>;

            watchdog {
                compatible = "qcom,pm8916-wdt";
                interrupts = <0x0 0x8 6 IRQ_TYPE_EDGE_RISING>;
                timeout-sec = <60>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Krait Processor Sub-system (KPSS) Watchdog timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Rajendra Nayak <quic_rjendra@quicinc.com>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^(watchdog|timer)@[0-9a-f]+$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "qcom,apss-wdt-glymur", "qcom,kpss-wdt-ipq4019", "qcom,apss-wdt-ipq5018", "qcom,apss-wdt-ipq5332", "qcom,apss-wdt-ipq5424", "qcom,apss-wdt-ipq9574", "qcom,apss-wdt-kaanapali", "qcom,apss-wdt-msm8226", "qcom,apss-wdt-msm8974", "qcom,apss-wdt-msm8994", "qcom,apss-wdt-qcm2290", "qcom,apss-wdt-qcs404", "qcom,apss-wdt-qcs615", "qcom,apss-wdt-qcs8300", "qcom,apss-wdt-sa8255p", "qcom,apss-wdt-sa8775p", "qcom,apss-wdt-sc7180", "qcom,apss-wdt-sc7280", "qcom,apss-wdt-sc8180x", "qcom,apss-wdt-sc8280xp", "qcom,apss-wdt-sdm845", "qcom,apss-wdt-sdx55", "qcom,apss-wdt-sdx65", "qcom,apss-wdt-sm6115", "qcom,apss-wdt-sm6350", "qcom,apss-wdt-sm8150", "qcom,apss-wdt-sm8250", "qcom,apss-wdt-x1e80100"

Item 2

Exact value (const): "qcom,kpss-wdt"

Rule 2

Exact value (const): "qcom,kpss-wdt"

Deprecated (deprecated): true

Rule 3

Array item rules (items)

Item 1

Exact value (const): "qcom,scss-timer"

Item 2

Exact value (const): "qcom,msm-timer"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "qcom,kpss-wdt-apq8064", "qcom,kpss-wdt-ipq8064", "qcom,kpss-wdt-mdm9615", "qcom,kpss-wdt-msm8960"

Item 2

Exact value (const): "qcom,kpss-timer"

Item 3

Exact value (const): "qcom,msm-timer"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "sleep"

clock-frequency — not listed as required here #

The frequency of the general purpose timer in Hz.

cpu-offset — not listed as required here #

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

Per-CPU offset used when the timer is accessed without the CPU remapping facilities. The offset is cpu-offset + (0x10000 * cpu-nr).

interrupts — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

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

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)

Exact value (const): "qcom,kpss-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

clock-frequency — not listed as required here

false — Not permitted by this property rule.

cpu-offset — not listed as required here

false — Not permitted by this property rule.

interrupts — not listed as required here

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Bark

Item 2

Bite

When the condition does not match (else) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Debug

Item 2

First general purpose timer

Item 3

Second general purpose timer

Item 4

First watchdog

Item 5

Second watchdog

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

watchdog@17c10000 {
    compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt";
    reg = <0x17c10000 0x1000>;
    clocks = <&sleep_clk>;
    interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
    timeout-sec = <10>;
};
#include <dt-bindings/interrupt-controller/arm-gic.h>

watchdog@200a000 {
    compatible = "qcom,kpss-wdt-ipq8064", "qcom,kpss-timer", "qcom,msm-timer";
    interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
                 <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
                 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
                 <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
                 <GIC_PPI 5 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>;
    reg = <0x0200a000 0x100>;
    clock-frequency = <25000000>;
    clocks = <&sleep_clk>;
    clock-names = "sleep";
    cpu-offset = <0x80000>;
};

Source notes #

Annotations retained from the schema source

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

Ralink Watchdog Timers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Sergio Paracuellos <sergio.paracuellos@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 #

Exact value (const): "ralink,rt2880-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@100 {
  compatible = "ralink,rt2880-wdt";
  reg = <0x120 0x10>;
  clocks = <&clkref>;
  resets = <&rstctrl 8>;
  interrupt-parent = <&intc>;
  interrupts = <1>;
};

Source notes #

Annotations retained from the schema source

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

Realtek Otto watchdog timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Sander Vanheule <sander@svanheule.net>"

The timer has two timeout phases. Both phases have a maximum duration of 32
prescaled clock ticks, which is ca. 43s with a bus clock of 200MHz. The
minimum duration of each phase is one tick. Each phase can trigger an
interrupt, although the phase 2 interrupt will occur with the system reset.
- Phase 1: During this phase, the WDT can be pinged to reset the timeout.
- Phase 2: Starts after phase 1 has timed out, and only serves to give the
  system some time to clean up, or notify others that it's going to reset.
  During this phase, pinging the WDT has no effect, and a reset is
  unavoidable, unless the WDT is disabled.

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): "realtek,rtl8380-wdt", "realtek,rtl8390-wdt", "realtek,rtl9300-wdt", "realtek,rtl9310-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

interrupt specifier for pretimeout

Item 2

interrupt specifier for timeout

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "phase1"

Item 2

Exact value (const): "phase2"

realtek,reset-mode — not listed as required here #

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

Specify how the system is reset after a timeout. Defaults to "cpu" if left unspecified.

Exactly one of these rules must match (oneOf) #

Rule 1

Reset the entire chip

Exact value (const): "soc"

Rule 2

Reset the CPU and IPsec engine, but leave other peripherals untouched

Exact value (const): "cpu"

Rule 3

Reset the execution pointer, but don't actually reset any hardware

Exact value (const): "software"

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog: watchdog@3150 {
    compatible = "realtek,rtl8380-wdt";
    reg = <0x3150 0xc>;

    realtek,reset-mode = "soc";

    clocks = <&lxbus_clock>;
    timeout-sec = <20>;

    interrupt-parent = <&rtlintc>;
    interrupt-names = "phase1", "phase2";
    interrupts = <19>, <18>;
};

Source notes #

Annotations retained from the schema source

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

Realtek RTD1295 Watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

Schema identifier ($id): "http://devicetree.org/schemas/watchdog/realtek,rtd1295-watchdog.yaml#"

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

Maintainers (maintainers): "Andreas Färber <afaerber@suse.de>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "realtek,rtd1295-watchdog"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@98007680 {
    compatible = "realtek,rtd1295-watchdog";
    reg = <0x98007680 0x100>;
    clocks = <&osc27M>;
};

Source notes #

Annotations retained from the schema source

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

Renesas RZ/V2H(P) Watchdog Timer (WDT) Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r9a09g047-wdt", "renesas,r9a09g056-wdt"

Item 2

Exact value (const): "renesas,r9a09g057-wdt"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "renesas,r9a09g087-wdt"

Item 2

Exact value (const): "renesas,r9a09g077-wdt"

Rule 3

Allowed values (enum): "renesas,r9a09g057-wdt", "renesas,r9a09g077-wdt"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Register access clock

Item 2

Main clock

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "oscclk"

power-domains — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

timeout-sec — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "power-domains"

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)

Exact value (const): "renesas,r9a09g057-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum number of items (maxItems): 1

clocks — not listed as required here

Minimum number of items (minItems): 2

clock-names — not listed as required here

Minimum number of items (minItems): 2

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

Maximum number of items (maxItems): 1

reg — not listed as required here

Minimum number of items (minItems): 2

resets — not listed as required here

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/renesas,r9a09g057-cpg.h>

watchdog@11c00400 {
        compatible = "renesas,r9a09g057-wdt";
        reg = <0x11c00400 0x400>;
        clocks = <&cpg CPG_MOD 0x4b>, <&cpg CPG_MOD 0x4c>;
        clock-names = "pclk", "oscclk";
        resets = <&cpg 0x75>;
        power-domains = <&cpg>;
};

Source notes #

Annotations retained from the schema source

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

Line 17: RZ/G3E

Line 18: RZ/V2N

Line 19: RZ/V2H(P)

Line 22: RZ/N2H

Line 23: RZ/T2H

Line 26: RZ/V2H(P)

Line 27: RZ/T2H

Renesas Window Watchdog Timer (WWDT) Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

Schema identifier ($id): "http://devicetree.org/schemas/watchdog/renesas,rcar-gen3-wwdt.yaml#"

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

Maintainers (maintainers): "Wolfram Sang <wsa+renesas@sang-engineering.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r8a77970-wwdt", "renesas,r8a77980-wwdt"

Item 2

Exact value (const): "renesas,rcar-gen3-wwdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r8a779a0-wwdt", "renesas,r8a779f0-wwdt", "renesas,r8a779g0-wwdt", "renesas,r8a779h0-wwdt"

Item 2

Exact value (const): "renesas,rcar-gen4-wwdt"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

Pretimeout, 75% of overflow reached

Item 2

Error occurred

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pretimeout"

Item 2

Exact value (const): "error"

clocks — required here #

Array item rules (items) #

Item 1

Counting clock

Item 2

Bus clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "cnt"

Item 2

Exact value (const): "bus"

resets — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reset-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "cnt"

Item 2

Exact value (const): "bus"

power-domains — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks", "clock-names", "resets", "reset-names", "power-domains"

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): "renesas,r8a779a0-wwdt", "renesas,r8a779f0-wwdt"

When the condition matches (then) #

Properties and child nodes (properties)

resets — not listed as required here

Minimum number of items (minItems): 2

reset-names — not listed as required here

Minimum number of items (minItems): 2

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a779g0-cpg-mssr.h>
#include <dt-bindings/power/r8a779g0-sysc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

watchdog@ffc90000 {
        compatible = "renesas,r8a779g0-wwdt",
                     "renesas,rcar-gen4-wwdt";
        reg = <0xffc90000 0x10>;
        interrupts = <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
        interrupt-names = "pretimeout", "error";
        clocks = <&cpg CPG_CORE R8A779G0_CLK_R>,
                 <&cpg CPG_CORE R8A779G0_CLK_SASYNCRT>;
        clock-names = "cnt", "bus";
        power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
        resets = <&cpg 1200>;
        reset-names = "cnt";
};

Source notes #

Annotations retained from the schema source

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

Line 17: R-Car V3M

Line 18: R-Car V3H

Line 23: R-Car V3U

Line 24: R-Car S4

Line 25: R-Car V4H

Line 26: R-Car V4M

Renesas RZ/A Watchdog Timer (WDT) Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Wolfram Sang <wsa+renesas@sang-engineering.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r7s72100-wdt", "renesas,r7s9210-wdt"

Item 2

Exact value (const): "renesas,rza-wdt"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

timeout-sec — not listed as required here #

true — No constraints added by this property rule.

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

All of these rules must match (allOf) #

Rule 1 #

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

watchdog@fcfe0000 {
        compatible = "renesas,r7s72100-wdt", "renesas,rza-wdt";
        reg = <0xfcfe0000 0x6>;
        interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&p0_clk>;
};

Source notes #

Annotations retained from the schema source

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

Line 16: RZ/A1

Line 17: RZ/A2

Line 18: RZ/A

Renesas RZ/G2L Watchdog Timer (WDT) Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Biju Das <biju.das.jz@bp.renesas.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r9a07g043-wdt", "renesas,r9a07g044-wdt", "renesas,r9a07g054-wdt", "renesas,r9a08g045-wdt"

Item 2

Exact value (const): "renesas,rzg2l-wdt"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "renesas,r9a09g011-wdt"

Item 2

Exact value (const): "renesas,rzv2m-wdt"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Timeout

Item 2

Parity error

interrupt-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "wdt"

Item 2

Exact value (const): "perrout"

clocks — required here #

Array item rules (items) #

Item 1

Register access clock

Item 2

Main clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "oscclk"

power-domains — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

timeout-sec — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains", "resets"

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)

Exact value (const): "renesas,rzg2l-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 2

interrupt-names — required here

Minimum number of items (minItems): 2

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

When the condition does not match (else) #

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

interrupt-names — not listed as required here

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

watchdog@12800800 {
        compatible = "renesas,r9a07g044-wdt",
                     "renesas,rzg2l-wdt";
        reg = <0x12800800 0x400>;
        clocks = <&cpg CPG_MOD R9A07G044_WDT0_PCLK>,
                 <&cpg CPG_MOD R9A07G044_WDT0_CLK>;
        clock-names = "pclk", "oscclk";
        interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
        interrupt-names = "wdt", "perrout";
        resets = <&cpg R9A07G044_WDT0_PRESETN>;
        power-domains = <&cpg>;
};

Source notes #

Annotations retained from the schema source

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

Line 17: RZ/G2UL and RZ/Five

Line 18: RZ/G2{L,LC}

Line 19: RZ/V2L

Line 20: RZ/G3S

Line 24: RZ/V2M

Line 25: RZ/V2M

Renesas RZ/N1 Watchdog Timer (WDT) Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Wolfram Sang <wsa+renesas@sang-engineering.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "renesas,r9a06g032-wdt"

Item 2

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

timeout-sec — not listed as required here #

true — No constraints added by this property rule.

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

All of these rules must match (allOf) #

Rule 1 #

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

watchdog@40008000 {
        compatible = "renesas,r9a06g032-wdt", "renesas,rzn1-wdt";
        reg = <0x40008000 0x1000>;
        interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
        clocks = <&sysctrl R9A06G032_CLK_WATCHDOG>;
};

Source notes #

Annotations retained from the schema source

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

Line 15: RZ/N1D

Line 16: RZ/N1

Renesas Watchdog Timer (WDT) Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Wolfram Sang <wsa+renesas@sang-engineering.com>", "Geert Uytterhoeven <geert+renesas@glider.be>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r8a7742-wdt", "renesas,r8a7743-wdt", "renesas,r8a7744-wdt", "renesas,r8a7745-wdt", "renesas,r8a77470-wdt", "renesas,r8a7790-wdt", "renesas,r8a7791-wdt", "renesas,r8a7792-wdt", "renesas,r8a7793-wdt", "renesas,r8a7794-wdt"

Item 2

Exact value (const): "renesas,rcar-gen2-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r8a774a1-wdt", "renesas,r8a774b1-wdt", "renesas,r8a774c0-wdt", "renesas,r8a774e1-wdt", "renesas,r8a7795-wdt", "renesas,r8a7796-wdt", "renesas,r8a77961-wdt", "renesas,r8a77965-wdt", "renesas,r8a77970-wdt", "renesas,r8a77980-wdt", "renesas,r8a77990-wdt", "renesas,r8a77995-wdt"

Item 2

Exact value (const): "renesas,rcar-gen3-wdt"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r8a779a0-wdt", "renesas,r8a779f0-wdt", "renesas,r8a779g0-wdt", "renesas,r8a779h0-wdt"

Item 2

Exact value (const): "renesas,rcar-gen4-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

power-domains — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

timeout-sec — not listed as required here #

true — No constraints added by this property rule.

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

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 here

Rule for matching array elements (contains)

Exact value (const): "renesas,r8a77980-wdt"

When the condition matches (then) #

Required in this object (required): "resets"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
#include <dt-bindings/power/r8a7795-sysc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
wdt0: watchdog@e6020000 {
    compatible = "renesas,r8a7795-wdt", "renesas,rcar-gen3-wdt";
    reg = <0xe6020000 0x0c>;
    interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&cpg CPG_MOD 402>;
    power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
    resets = <&cpg 402>;
    timeout-sec = <60>;
};

Source notes #

Annotations retained from the schema source

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

Line 18: RZ/G1H

Line 19: RZ/G1M

Line 20: RZ/G1N

Line 21: RZ/G1E

Line 22: RZ/G1C

Line 23: R-Car H2

Line 24: R-Car M2-W

Line 25: R-Car V2H

Line 26: R-Car M2-N

Line 27: R-Car E2

Line 28: R-Car Gen2 and RZ/G1

Line 32: RZ/G2M

Line 33: RZ/G2N

Line 34: RZ/G2E

Line 35: RZ/G2H

Line 36: R-Car H3

Line 37: R-Car M3-W

Line 38: R-Car M3-W+

Line 39: R-Car M3-N

Line 40: R-Car V3M

Line 41: R-Car V3H

Line 42: R-Car E3

Line 43: R-Car D3

Line 44: R-Car Gen3 and RZ/G2

Line 48: R-Car V3U

Line 49: R-Car S4-8

Line 50: R-Car V4H

Line 51: R-Car V4M

Line 52: R-Car Gen4

Samsung SoC Watchdog Timer Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

The Samsung's Watchdog controller is used for resuming system operation after a preset amount of time during which the WDT reset event has not occurred.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "google,gs101-wdt", "samsung,s3c6410-wdt", "samsung,exynos5250-wdt", "samsung,exynos5420-wdt", "samsung,exynos7-wdt", "samsung,exynos850-wdt", "samsung,exynos990-wdt", "samsung,exynosautov9-wdt", "samsung,exynosautov920-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "tesla,fsd-wdt"

Item 2

Exact value (const): "samsung,exynos7-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interrupts — required here #

Maximum number of items (maxItems): 1

samsung,cluster-index — not listed as required here #

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

Allowed values (enum): 0, 1, 2

Index of CPU cluster on which watchdog is running (in case of Exynos850, Exynos990 or Google gs101).

samsung,syscon-phandle — not listed as required here #

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

Phandle to the PMU system controller node (in case of Exynos5250, Exynos5420, Exynos7, Exynos850, Exynos990 and gs101).

Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "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): "google,gs101-wdt", "samsung,exynos850-wdt", "samsung,exynosautov9-wdt", "samsung,exynosautov920-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Bus clock, used for register interface

Item 2

Source clock (driving watchdog counter)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "watchdog"

Item 2

Exact value (const): "watchdog_src"

samsung,cluster-index — required here

Allowed values (enum): 0, 1

Required in this object (required): "samsung,cluster-index", "samsung,syscon-phandle"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos990-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Bus clock, used for register interface

Item 2

Source clock (driving watchdog counter)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "watchdog"

Item 2

Exact value (const): "watchdog_src"

Required in this object (required): "samsung,cluster-index", "samsung,syscon-phandle"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos5250-wdt", "samsung,exynos5420-wdt", "samsung,exynos7-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Bus clock, which is also a source clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "watchdog"

samsung,cluster-index — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "samsung,syscon-phandle"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,s3c6410-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Bus clock, which is also a source clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "watchdog"

samsung,cluster-index — not listed as required here

false — Not permitted by this property rule.

samsung,syscon-phandle — 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) #

watchdog@101d0000 {
    compatible = "samsung,exynos5250-wdt";
    reg = <0x101D0000 0x100>;
    interrupts = <0 42 0>;
    clocks = <&clock 336>;
    clock-names = "watchdog";
    samsung,syscon-phandle = <&pmu_syscon>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 21: for Google gs101

Line 22: for S3C6410, S5PV210 and Exynos4

Line 23: for Exynos5250

Line 24: for Exynos5420

Line 25: for Exynos7

Line 26: for Exynos850

Line 27: for Exynos990

Line 28: for Exynosautov9

Line 29: for Exynosautov920

Synopsys Designware Watchdog Timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Jamie Iles <jamie@jamieiles.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): "snps,dw-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "rockchip,px30-wdt", "rockchip,rk3066-wdt", "rockchip,rk3128-wdt", "rockchip,rk3188-wdt", "rockchip,rk3228-wdt", "rockchip,rk3288-wdt", "rockchip,rk3308-wdt", "rockchip,rk3328-wdt", "rockchip,rk3368-wdt", "rockchip,rk3399-wdt", "rockchip,rk3506-wdt", "rockchip,rk3562-wdt", "rockchip,rk3568-wdt", "rockchip,rk3576-wdt", "rockchip,rk3588-wdt", "rockchip,rv1108-wdt", "rockchip,rv1126-wdt"

Item 2

Exact value (const): "snps,dw-wdt"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

DW Watchdog pre-timeout interrupt

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Watchdog timer reference clock

Item 2

APB3 interface clock

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "tclk"

Item 2

Exact value (const): "pclk"

resets — not listed as required here #

Phandle to the DW Watchdog reset lane

Maximum number of items (maxItems): 1

snps,watchdog-tops — not listed as required here #

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

DW APB Watchdog custom timer intervals - Timeout Period ranges (TOPs). Each TOP is a number loaded into the watchdog counter at the moment of the timer restart. The counter decrementing happens each tick of the reference clock. Therefore the TOPs array is equivalent to an array of the timer expiration intervals supported by the DW APB Watchdog. Note DW APB Watchdog IP-core might be synthesized with fixed TOP values, in which case this property is unnecessary with default TOPs utilized.

Default value (default): "0x0001000 0x0002000 0x0004000 0x0008000 0x0010000 0x0020000 0x0040000 0x0080000 0x0100000 0x0200000 0x0400000 0x0800000 0x1000000 0x2000000 0x4000000 0x8000000"

Minimum number of items (minItems): 16

Maximum number of items (maxItems): 16

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@ffd02000 {
    compatible = "snps,dw-wdt";
    reg = <0xffd02000 0x1000>;
    interrupts = <0 171 4>;
    clocks = <&per_base_clk>;
    resets = <&wdt_rst>;
};
watchdog@ffd02000 {
    compatible = "snps,dw-wdt";
    reg = <0xffd02000 0x1000>;
    interrupts = <0 171 4>;
    clocks = <&per_base_clk>;
    clock-names = "tclk";
    snps,watchdog-tops = <0x000000FF 0x000001FF 0x000003FF
                          0x000007FF 0x0000FFFF 0x0001FFFF
                          0x0003FFFF 0x0007FFFF 0x000FFFFF
                          0x001FFFFF 0x003FFFFF 0x007FFFFF
                          0x00FFFFFF 0x01FFFFFF 0x03FFFFFF
                          0x07FFFFFF>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Socionext UniPhier watchdog timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Keiji Hayashibara <hayashibara.keiji@socionext.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "socionext,uniphier-wdt"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

// The UniPhier watchdog should be a subnode of a "syscon" compatible node.

watchdog {
    compatible = "socionext,uniphier-wdt";
};

Source notes #

Annotations retained from the schema source

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

Spreadtrum SP9860 watchdog timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Orson Zhai <orsonzhai@gmail.com>", "Baolin Wang <baolin.wang7@gmail.com>", "Chunyan Zhang <zhang.lyra@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 #

Exact value (const): "sprd,sp9860-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): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "enable"

Item 2

Exact value (const): "rtc_enable"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "timeout-sec"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sprd,sc9860-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    watchdog@40310000 {
        compatible = "sprd,sp9860-wdt";
        reg = <0 0x40310000 0 0x1000>;
        interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&aon_gate CLK_APCPU_WDG_EB>, <&aon_gate CLK_AP_WDG_RTC_EB>;
        clock-names = "enable", "rtc_enable";
        timeout-sec = <12>;
    };
};

Source notes #

Annotations retained from the schema source

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

STMicroelectronics STM32 Independent WatchDoG (IWDG)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

Schema identifier ($id): "http://devicetree.org/schemas/watchdog/st,stm32-iwdg.yaml#"

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

Maintainers (maintainers): "Yannick Fertre <yannick.fertre@foss.st.com>", "Christophe Roullier <christophe.roullier@foss.st.com>"

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): "st,stm32-iwdg", "st,stm32mp1-iwdg"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Low speed clock

Item 2

Optional peripheral clock

Minimum number of items (minItems): 1

clock-names — required here #

Array item rules (items) #

Allowed values (enum): "lsi", "pclk"

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

Pre-timeout interrupt from the watchdog.

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/stm32mp1-clks.h>
watchdog@5a002000 {
    compatible = "st,stm32mp1-iwdg";
    reg = <0x5a002000 0x400>;
    clocks = <&rcc IWDG2>, <&rcc CK_LSI>;
    clock-names = "pclk", "lsi";
    timeout-sec = <32>;
};

Source notes #

Annotations retained from the schema source

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

StarFive Watchdog for JH7100 and JH7110 SoC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Xingyu Wu <xingyu.wu@starfivetech.com>", "Samin Guo <samin.guo@starfivetech.com>"

The JH7100 and JH7110 watchdog both are 32 bit counters. JH7100 watchdog has only one timeout phase and reboots. And JH7110 watchdog has two timeout phases. At the first phase, the signal of watchdog interrupt output(WDOGINT) will rise when counter is 0. The counter will reload the timeout value. And then, if counter decreases to 0 again and WDOGINT isn't cleared, the watchdog will reset the system unless the watchdog reset is disabled.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "starfive,jh7100-wdt", "starfive,jh7110-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "starfive,jh8100-wdt"

Item 2

Exact value (const): "starfive,jh7110-wdt"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

APB clock

Item 2

Core clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "apb"

Item 2

Exact value (const): "core"

resets — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets"

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): "starfive,jh8100-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

resets — not listed as required here

Array item rules (items)

Item 1

Core reset

When the condition does not match (else) #

Properties and child nodes (properties)

resets — not listed as required here

Array item rules (items)

Item 1

APB reset

Item 2

Core reset

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@12480000 {
    compatible = "starfive,jh7100-wdt";
    reg = <0x12480000 0x10000>;
    clocks = <&clk 171>,
             <&clk 172>;
    clock-names = "apb", "core";
    resets = <&rst 99>,
             <&rst 100>;
};

Source notes #

Annotations retained from the schema source

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

Sunplus SoCs Watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "XianTao Hu <xt.hu@cqplus1.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sunplus,sp7021-wdt"

reg — required here #

Array item rules (items) #

Item 1

watchdog registers regions

Item 2

miscellaneous control registers regions

clocks — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog: watchdog@9c000630 {
    compatible = "sunplus,sp7021-wdt";
    reg = <0x9c000630 0x08>, <0x9c000274 0x04>;
    clocks = <&clkc 0x24>;
    resets = <&rstc 0x14>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) Sunplus Co., Ltd. 2021

Technologic Systems TS-72xx based SBCs watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Nikita Shubin <nikita.shubin@maquefel.me>"

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): "technologic,ts7200-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "technologic,ts7300-wdt", "technologic,ts7260-wdt", "technologic,ts7250-wdt"

Item 2

Exact value (const): "technologic,ts7200-wdt"

reg — required here #

Array item rules (items) #

Item 1

control register

Item 2

feed register

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@23800000 {
  compatible = "technologic,ts7200-wdt";
  reg = <0x23800000 0x01>, <0x23c00000 0x01>;
  timeout-sec = <30>;
};

Source notes #

Annotations retained from the schema source

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

TI DaVinci/Keystone Watchdog Timer Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Kousik Sanagavarapu <five231003@gmail.com>"

TI's Watchdog Timer Controller for DaVinci and Keystone Processors.

Datasheets

  Davinci DM646x - https://www.ti.com/lit/ug/spruer5b/spruer5b.pdf
  Keystone - https://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf

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

Array item rules (items)

Item 1

Exact value (const): "ti,keystone-wdt"

Item 2

Exact value (const): "ti,davinci-wdt"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "ti,davinci-wdt"

reg — required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

wdt: watchdog@22f0080 {
    compatible = "ti,keystone-wdt", "ti,davinci-wdt";
    reg = <0x022f0080 0x80>;
    clocks = <&clkwdtimer0>;
};

Source notes #

Annotations retained from the schema source

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

TI OMAP Watchdog Timer Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Aaro Koskinen <aaro.koskinen@iki.fi>"

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

Allowed values (enum): "ti,omap2-wdt", "ti,omap3-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "ti,am4372-wdt", "ti,omap4-wdt", "ti,omap5-wdt"

Item 2

Exact value (const): "ti,omap3-wdt"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

ti,hwmods — not listed as required here #

Name of the hardware module associated with the watchdog.

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

Deprecated (deprecated): true

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@48314000 {
    compatible = "ti,omap3-wdt";
    reg = <0x48314000 0x80>;
    ti,hwmods = "wd_timer2";
};

Source notes #

Annotations retained from the schema source

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

Texas Instruments K3 SoC Watchdog Timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Tero Kristo <t-kristo@ti.com>"

The TI K3 SoC watchdog timer is implemented via the RTI (Real Time Interrupt) IP module. This timer adds a support for windowed watchdog mode, which will signal an error if it is pinged outside the watchdog time window, meaning either too early or too late. The error signal generated can be routed to either interrupt a safety controller or to directly reset the SoC.

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): "ti,j7-rti-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

Contains the watchdog reserved memory. It is optional. In the reserved memory, the specified values, which are PON_REASON_SOF_NUM(0xBBBBCCCC), PON_REASON_MAGIC_NUM(0xDDDDDDDD), and PON_REASON_EOF_NUM(0xCCCCBBBB), are pre-stored at the first 3 * 4 bytes to tell that last boot was caused by watchdog reset. Once the PON reason is captured by driver(rti_wdt.c), the driver is supposed to wipe the whole memory region. Surely, if this property is set, at least 12 bytes reserved memory starting from specific memory address(0xa220000) should be set. More please refer to example.

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

/*
 * RTI WDT in main domain on J721e SoC. Assigned clocks are used to
 * select the source clock for the watchdog, forcing it to tick with
 * a 32kHz clock in this case. Add a reserved memory(optional) to keep
 * the watchdog reset cause persistent, which was be written in 12 bytes
 * starting from 0xa2200000 by RTI Watchdog Firmware, then make it
 * possible to get watchdog reset cause in driver.
 *
 * Reserved memory should be defined as follows:
 * reserved-memory {
 *     wdt_reset_memory_region: wdt-memory@a2200000 {
 *         reg = <0x00 0xa2200000 0x00 0x1000>;
 *         no-map;
 *     };
 * }
 */
#include <dt-bindings/soc/ti,sci_pm_domain.h>

watchdog@2200000 {
    compatible = "ti,j7-rti-wdt";
    reg = <0x2200000 0x100>;
    clocks = <&k3_clks 252 1>;
    power-domains = <&k3_pds 252 TI_SCI_PD_EXCLUSIVE>;
    assigned-clocks = <&k3_clks 252 1>;
    assigned-clock-parents = <&k3_clks 252 5>;
    memory-region = <&wdt_reset_memory_region>;
};

Source notes #

Annotations retained from the schema source

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

Toshiba Visconti SoCs PIUWDT Watchdog timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>"

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): "toshiba,visconti-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/toshiba,tmpv770x.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    wdt: watchdog@28330000 {
        compatible = "toshiba,visconti-wdt";
        reg = <0 0x28330000 0 0x1000>;
        timeout-sec = <20>;
        clocks = <&pismu TMPV770X_CLK_WDTCLK>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2020 Toshiba Electronic Devices & Storage Corporation

Watchdog Common Properties

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Guenter Roeck <linux@roeck-us.net>", "Wim Van Sebroeck <wim@linux-watchdog.org>"

This document describes generic bindings which can be used to describe watchdog devices in a device tree.

Automatic schema selection (select) #

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^watchdog(@.*|-([0-9]|[1-9][0-9]+))?$"

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^(pmic|timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$"

timeout-sec — not listed as required here #

Maximum number of items (maxItems): 1

Contains the watchdog timeout in seconds.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Xilinx Versal window watchdog timer controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Neeli Srinivas <srinivas.neeli@amd.com>"

Versal watchdog intellectual property uses window watchdog mode. Window watchdog timer(WWDT) contains closed(first) and open(second) window with 32 bit width. Write to the watchdog timer within predefined window periods of time. This means a period that is not too soon and a period that is not too late. The WWDT has to be restarted within the open window time. If software tries to restart WWDT outside of the open window time period, it generates a reset.

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,versal-wwdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@fd4d0000 {
    compatible = "xlnx,versal-wwdt";
    reg = <0xfd4d0000 0x10000>;
    clocks = <&clock25>;
    timeout-sec = <30>;
};

Source notes #

Annotations retained from the schema source

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

Xilinx AXI/PLB softcore and window Watchdog Timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

Zodiac Inflight Innovations RAVE Supervisory Processor Watchdog

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

RAVE SP watchdog device is a "MFD cell" device corresponding to watchdog functionality of RAVE Supervisory Processor. It is expected that its Device Tree node is specified as a child of the node corresponding to the parent RAVE SP device (as documented in Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml)

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "zii,rave-sp-watchdog", "zii,rave-sp-watchdog-legacy"

nvmem-cell-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "wdt_timeout"

nvmem-cells — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog {
    compatible = "zii,rave-sp-watchdog";
    nvmem-cells = <&wdt_timeout>;
    nvmem-cell-names = "wdt_timeout";
};

Source notes #

Annotations retained from the schema source

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

Zodiac RAVE Watchdog Timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Watchdog bindings

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

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

Maintainers (maintainers): "Martyn Welch <martyn.welch@collabora.co.uk>", "Guenter Roeck <linux@roeck-us.net>", "Wim Van Sebroeck <wim@iguana.be>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "zii,rave-wdt"

reg — required here #

Maximum number of items (maxItems): 1

i2c slave address of device, usually 0x38

reset-duration-ms — not listed as required here #

Duration of the pulse generated when the watchdog times out.

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

All of these rules must match (allOf) #

Rule 1 #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    watchdog@38 {
        compatible = "zii,rave-wdt";
        reg = <0x38>;
        timeout-sec = <30>;
        reset-duration-ms = <30>;
    };
};

Source notes #

Annotations retained from the schema source

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

Peios Learn — documentation for Peios software.

Built with Trail.