Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1343378 > unrolled thread

[PATCH v2 1/2] dt/bindings: Add bindings for PIC32 watchdog peripheral

Started byJoshua Henderson <joshua.henderson@microchip.com>
First post2016-02-25 19:30 +0100
Last post2016-02-25 19:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 1/2] dt/bindings: Add bindings for PIC32 watchdog peripheral Joshua Henderson <joshua.henderson@microchip.com> - 2016-02-25 19:30 +0100

#1343378 — [PATCH v2 1/2] dt/bindings: Add bindings for PIC32 watchdog peripheral

FromJoshua Henderson <joshua.henderson@microchip.com>
Date2016-02-25 19:30 +0100
Subject[PATCH v2 1/2] dt/bindings: Add bindings for PIC32 watchdog peripheral
Message-ID<r68PL-7PS-13@gated-at.bofh.it>
Document the devicetree bindings for the watchdog peripheral found on Microchip
PIC32 SoC class devices.

Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
---
Note: Please merge this patch series through the MIPS tree.

Changes since v1:
	- Change the example node name to be standard.
---
 .../bindings/watchdog/microchip,pic32-wdt.txt      |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt

diff --git a/Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt b/Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt
new file mode 100644
index 0000000..d140103
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt
@@ -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>;
+	};
-- 
1.7.9.5

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web