dt/bindings: Add bindings for PIC32 watchdog peripheral
authorJoshua Henderson <[email protected]>
Fri, 26 Feb 2016 17:19:27 +0000 (10:19 -0700)
committerRalf Baechle <[email protected]>
Fri, 13 May 2016 12:02:12 +0000 (14:02 +0200)
Document the devicetree bindings for the watchdog peripheral found on
Microchip PIC32 SoC class devices.

Signed-off-by: Joshua Henderson <[email protected]>
Acked-by: Rob Herring <[email protected]>
Cc: Pawel Moll <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Ian Campbell <[email protected]>
Cc: Kumar Gala <[email protected]>
Cc: Wim Van Sebroeck <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/12700/
Signed-off-by: Ralf Baechle <[email protected]>
Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt b/Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt
new file mode 100644 (file)
index 0000000..d140103
--- /dev/null
@@ -0,0 +1,18 @@
+* Microchip PIC32 Watchdog Timer
+
+When enabled, the watchdog peripheral can be used to reset the device if the
+WDT is not cleared periodically in software.
+
+Required properties:
+- compatible: must be "microchip,pic32mzda-wdt".
+- reg: physical base address of the controller and length of memory mapped
+  region.
+- clocks: phandle of source clk. should be <&LPRC> clk.
+
+Example:
+
+       watchdog@1f800800 {
+               compatible = "microchip,pic32mzda-wdt";
+               reg = <0x1f800800 0x200>;
+               clocks = <&LPRC>;
+       };