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

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)

Edit this page