# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/microchip,pic32mzda-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Microchip PIC32MZDA Watchdog Timer
maintainers:
- Thomas Bogendoerfer <tsbogend@alpha.franken.de>
description:
The PIC32 watchdog timer can be used to reset the device if software fails
to periodically service the watchdog.
allOf:
- $ref: watchdog.yaml#
properties:
compatible:
const: microchip,pic32mzda-wdt
reg:
maxItems: 1
clocks:
maxItems: 1
required:
- compatible
- reg
- clocks
unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/microchip,pic32-clock.h>
watchdog@1f800800 {
compatible = "microchip,pic32mzda-wdt";
reg = <0x1f800800 0x200>;
clocks = <&rootclk LPRCCLK>;
};