[PATCH 2/2] DT: watchdog: Add ImgTec PDC Watchdog Timer binding documentation

Naidu.Tellapati
2014-11-12T15:18:03Z

From: Naidu Tellapati <Naidu.Tellapati@imgtec.com>

Add the devicetree binding document for ImgTec PDC Watchdog Timer.

Signed-off-by: Jude Abraham <Jude.Abraham@imgtec.com>
Signed-off-by: Naidu Tellapati <Naidu.Tellapati@imgtec.com>
---
.../devicetree/bindings/watchdog/imgpdc-wdt.txt | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
create mode 100644 Documentation/devicetree/bindings/watchdog/imgpdc-wdt.txt

diff --git a/Documentation/devicetree/bindings/watchdog/imgpdc-wdt.txt b/Documentation/devicetree/bindings/watchdog/imgpdc-wdt.txt
new file mode 100644
index 0000000..2f13896
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/imgpdc-wdt.txt
@@ -0,0 +1,18 @@
+*ImgTec PowerDown Controller (PDC) Watchdog Timer (WDT)
+
+Required properties:
+- compatible : Should be "img,pistachio-pdc-wdt"
+- reg : Should contain WDT registers location and length
+- clock-names: Should contain "wdt"
+- clocks: phandles to input clocks
+- interrupts : Should contain WDT interrupt
+
+Examples:
+
+wdt@18102100 {
+ compatible = "img,pistachio-pdc-wdt";
+ reg = <0x18102100 0x20>;
+ clocks = <&pdc_wdt_clk>;
+ clock-names = "wdt";
+ interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
+};
--
1.7.0.4