55 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/watchdog/dlg,da9062-watchdog.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Dialog Semiconductor DA906{1,2,3} Watchdog Timer8 9maintainers:10 - Steve Twiss <stwiss.opensource@diasemi.com>11 12allOf:13 - $ref: watchdog.yaml#14 15properties:16 compatible:17 oneOf:18 - enum:19 - dlg,da9062-watchdog20 - dlg,da9063-watchdog21 - items:22 - const: dlg,da9061-watchdog23 - const: dlg,da9062-watchdog24 25 dlg,use-sw-pm:26 type: boolean27 description:28 Add this property to disable the watchdog during suspend.29 Only use this option if you can't use the watchdog automatic suspend30 function during a suspend (see register CONTROL_B).31 32 dlg,wdt-sd:33 $ref: /schemas/types.yaml#/definitions/uint3234 enum: [0, 1]35 description:36 Set what happens on watchdog timeout. If this bit is set the37 watchdog timeout triggers SHUTDOWN, if cleared the watchdog triggers38 POWERDOWN. Can be 0 or 1. Only use this option if you want to change the39 default chip's OTP setting for WATCHDOG_SD bit. If this property is NOT40 set the WATCHDOG_SD bit and on timeout watchdog behavior will match the41 chip's OTP settings.42 43required:44 - compatible45 46unevaluatedProperties: false47 48examples:49 - |50 watchdog {51 compatible = "dlg,da9062-watchdog";52 dlg,use-sw-pm;53 dlg,wdt-sd = <1>;54 };55