1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries
5 $id: http://devicetree.org/schemas/watchdog/atmel,at91sam9-wdt.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Atmel Watchdog Timers
11 - Eugen Hristev <eugen.hristev@microchip.com>
15 const: atmel,at91sam9260-wdt
26 atmel,max-heartbeat-sec:
28 Should contain the maximum heartbeat value in seconds. This value
29 should be less or equal to 16. It is used to compute the WDV field.
32 atmel,min-heartbeat-sec:
34 Should contain the minimum heartbeat value in seconds. This value
35 must be smaller than the max-heartbeat-sec value. It is used to
36 compute the WDD field.
40 $ref: /schemas/types.yaml#/definitions/string
42 Should be hardware or software.
45 Hardware watchdog uses the at91 watchdog reset.
48 Software watchdog uses the watchdog interrupt
49 to trigger a software reset.
54 $ref: /schemas/types.yaml#/definitions/string
56 Should be proc or all. This is valid only when using hardware watchdog.
59 Assert peripherals and processor reset signals.
62 Assert the processor reset signal.
67 $ref: /schemas/types.yaml#/definitions/flag
69 Should be present if you want to stop the watchdog.
72 $ref: /schemas/types.yaml#/definitions/flag
74 Should be present if you want to stop the watchdog when
76 CAUTION: This property should be used with care, it actually makes the
77 watchdog not counting when the CPU is in idle state, therefore the
78 watchdog reset time depends on mean CPU usage and will not reset at all
79 if the CPU stops working while it is in idle state, which is probably
83 $ref: /schemas/types.yaml#/definitions/flag
85 Should be present if you want to stop the watchdog when
94 - $ref: watchdog.yaml#
107 atmel,reset-type: ['atmel,watchdog-type']
109 unevaluatedProperties: false
113 #include <dt-bindings/interrupt-controller/irq.h>
116 compatible = "atmel,at91sam9260-wdt";
117 reg = <0xfffffd40 0x10>;
118 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
121 atmel,watchdog-type = "hardware";
122 atmel,reset-type = "all";
125 atmel,max-heartbeat-sec = <16>;
126 atmel,min-heartbeat-sec = <0>;