DT: watchdog: Add ImgTec PDC Watchdog Timer binding documentation
authorNaidu Tellapati <naidu.tellapati@gmail.com>
Tue, 6 Jan 2015 13:19:35 +0000 (10:19 -0300)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 17 Feb 2015 20:30:52 +0000 (21:30 +0100)
Add the devicetree binding document for ImgTec PDC Watchdog Timer.

Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Naidu Tellapati <Naidu.Tellapati@imgtec.com>
Signed-off-by: Jude Abraham <Jude.Abraham@gmail.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/devicetree/bindings/watchdog/imgpdc-wdt.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/watchdog/imgpdc-wdt.txt b/Documentation/devicetree/bindings/watchdog/imgpdc-wdt.txt
new file mode 100644 (file)
index 0000000..b2fa11f
--- /dev/null
@@ -0,0 +1,19 @@
+*ImgTec PowerDown Controller (PDC) Watchdog Timer (WDT)
+
+Required properties:
+- compatible : Should be "img,pdc-wdt"
+- reg : Should contain WDT registers location and length
+- clocks: Must contain an entry for each entry in clock-names.
+- clock-names: Should contain "wdt" and "sys"; the watchdog counter
+               clock and register interface clock respectively.
+- interrupts : Should contain WDT interrupt
+
+Examples:
+
+watchdog@18102100 {
+       compatible = "img,pdc-wdt";
+       reg = <0x18102100 0x100>;
+       clocks = <&pdc_wdt_clk>, <&sys_clk>;
+       clock-names = "wdt", "sys";
+       interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
+};