xref: /linux/Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.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-wdt.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip PIC32MZDA Watchdog Timer
8
9maintainers:
10  - Thomas Bogendoerfer <tsbogend@alpha.franken.de>
11
12description:
13  The PIC32 watchdog timer can be used to reset the device if software fails
14  to periodically service the watchdog.
15
16allOf:
17  - $ref: watchdog.yaml#
18
19properties:
20  compatible:
21    const: microchip,pic32mzda-wdt
22
23  reg:
24    maxItems: 1
25
26  clocks:
27    maxItems: 1
28
29required:
30  - compatible
31  - reg
32  - clocks
33
34unevaluatedProperties: false
35
36examples:
37  - |
38    #include <dt-bindings/clock/microchip,pic32-clock.h>
39
40    watchdog@1f800800 {
41        compatible = "microchip,pic32mzda-wdt";
42        reg = <0x1f800800 0x200>;
43        clocks = <&rootclk LPRCCLK>;
44    };
45