[PATCH linux dev-4.13 v1 1/2] dt-binding: watchdog: document NPCM7xx watchdog DT bindings

Tomer Maimon tmaimon77 at gmail.com
Tue Dec 19 00:22:23 AEDT 2017


Added device tree binding documentation for Nuvoton NPCM7xx watchdog.
---
 .../bindings/watchdog/nuvoton,npcm7xx-wdt.txt      | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/nuvoton,npcm7xx-wdt.txt

diff --git a/Documentation/devicetree/bindings/watchdog/nuvoton,npcm7xx-wdt.txt b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm7xx-wdt.txt
new file mode 100644
index 000000000000..211f93cab141
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm7xx-wdt.txt
@@ -0,0 +1,23 @@
+Nuvoton NPCM7xx watchdog timer
+
+Nuvoton NPCM7xx have three watchdog timer modules, each watchdog timer is a free-running timer
+with programmable timeout intervals.
+
+Required properties:
+- compatible      : "nuvoton,npcm750-wdt" for Poleg NPCM750.
+- reg             : Offset and length of the register set for the device.
+- interrupts      : Contain the timer interrupt with flags for
+                    falling edge.
+
+Optional:
+- clocks          : phandle of watchdog timer reference clock.
+
+Example:
+
+watchdog0: watchdog at f0008000 {
+	compatible = "nuvoton,npcm750-wdt";
+	interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
+	reg = <0xf0008000 0x1000>;
+	status = "disabled";
+	clocks = <&clk NPCM7XX_CLK_TIMER>;
+};
\ No newline at end of file
-- 
2.14.1



More information about the openbmc mailing list