blob: c8f69812059725b02bb0e21dd0f3607ceff7a6d1 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/watchdog/dlg,da9062-watchdog.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
Tom Rini93743d22024-04-01 09:08:13 -04007title: Dialog Semiconductor DA906{1,2,3} Watchdog Timer
Tom Rini53633a82024-02-29 12:33:36 -05008
9maintainers:
10 - Steve Twiss <stwiss.opensource@diasemi.com>
11
12allOf:
13 - $ref: watchdog.yaml#
14
15properties:
16 compatible:
Tom Rini93743d22024-04-01 09:08:13 -040017 oneOf:
18 - enum:
19 - dlg,da9062-watchdog
20 - dlg,da9063-watchdog
21 - items:
22 - const: dlg,da9061-watchdog
23 - const: dlg,da9062-watchdog
Tom Rini53633a82024-02-29 12:33:36 -050024
25 dlg,use-sw-pm:
26 type: boolean
27 description:
28 Add this property to disable the watchdog during suspend.
29 Only use this option if you can't use the watchdog automatic suspend
30 function during a suspend (see register CONTROL_B).
31
32 dlg,wdt-sd:
33 $ref: /schemas/types.yaml#/definitions/uint32
34 enum: [0, 1]
35 description:
36 Set what happens on watchdog timeout. If this bit is set the
37 watchdog timeout triggers SHUTDOWN, if cleared the watchdog triggers
38 POWERDOWN. Can be 0 or 1. Only use this option if you want to change the
39 default chip's OTP setting for WATCHDOG_SD bit. If this property is NOT
40 set the WATCHDOG_SD bit and on timeout watchdog behavior will match the
41 chip's OTP settings.
42
43required:
44 - compatible
45
46unevaluatedProperties: false
47
48examples:
49 - |
50 watchdog {
51 compatible = "dlg,da9062-watchdog";
52 dlg,use-sw-pm;
53 dlg,wdt-sd = <1>;
54 };