watchdog: bcm7038: add device tree binding documentation
authorJustin Chen <justinpopo6@gmail.com>
Mon, 31 Aug 2015 18:02:42 +0000 (11:02 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 27 Oct 2015 15:07:35 +0000 (16:07 +0100)
Add device tree binding documentation for the watchdog hardware block
on bcm7038 and newer SoCs.

Signed-off-by: Justin Chen <justinpopo6@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.txt b/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.txt
new file mode 100644 (file)
index 0000000..8412227
--- /dev/null
@@ -0,0 +1,19 @@
+BCM7038 Watchdog timer
+
+Required properties:
+
+- compatible : should be "brcm,bcm7038-wdt"
+- reg : Specifies base physical address and size of the registers.
+
+Optional properties:
+
+- clocks: The clock running the watchdog. If no clock is found the
+         driver will default to 27000000 Hz.
+
+Example:
+
+watchdog@f040a7e8 {
+       compatible = "brcm,bcm7038-wdt";
+       clocks = <&upg_fixed>;
+       reg = <0xf040a7e8 0x16>;
+};