xref: /linux/Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-dmt.yaml (revision c6cf4441a3a05bb7273ed022f3e56c4fc591da08)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/watchdog/microchip,pic32mzda-dmt.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip PIC32MZDA Deadman Timer
8
9maintainers:
10  - Thomas Bogendoerfer <tsbogend@alpha.franken.de>
11
12description: |
13  The deadman timer is used to reset the processor in the event of a software
14  malfunction. It is a free-running instruction fetch timer, which is clocked
15  whenever an instruction fetch occurs until a count match occurs.
16
17allOf:
18  - $ref: watchdog.yaml#
19
20properties:
21  compatible:
22    const: microchip,pic32mzda-dmt
23
24  reg:
25    maxItems: 1
26
27  clocks:
28    maxItems: 1
29
30required:
31  - compatible
32  - reg
33  - clocks
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    #include <dt-bindings/clock/microchip,pic32-clock.h>
40
41    watchdog@1f800a00 {
42        compatible = "microchip,pic32mzda-dmt";
43        reg = <0x1f800a00 0x80>;
44        clocks = <&rootclk PB7CLK>;
45       };
46