]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dt-bindings: watchdog: Add ARM SP805 DT bindings
authorAnup Patel <anup.patel@broadcom.com>
Wed, 10 Feb 2016 06:10:49 +0000 (11:40 +0530)
committerFlorian Fainelli <f.fainelli@gmail.com>
Fri, 12 Feb 2016 23:48:54 +0000 (15:48 -0800)
The ARM SP805 DT node is already present in various DTS files.
This patch adds missing DT bindings documentation for ARM SP805.

Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Vikram Prakash <vikramp@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Documentation/devicetree/bindings/watchdog/arm,sp805.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/watchdog/arm,sp805.txt b/Documentation/devicetree/bindings/watchdog/arm,sp805.txt
new file mode 100644 (file)
index 0000000..ca99d64
--- /dev/null
@@ -0,0 +1,17 @@
+ARM AMBA Primecell SP805 Watchdog
+
+Required properties:
+- compatible: Should be "arm,sp805" & "arm,primecell"
+- reg: Should contain location and length for watchdog timer register.
+- interrupts: Should contain the list of watchdog timer interrupts.
+- clocks: clocks driving the watchdog timer hardware. This list should be 2
+       clocks. With 2 clocks, the order is wdogclk clock, apb_pclk.
+
+Example:
+       watchdog@66090000 {
+               compatible = "arm,sp805", "arm,primecell";
+               reg = <0x66090000 0x1000>;
+               interrupts = <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&apb_pclk>,<&apb_pclk>;
+               clock-names = "wdogclk", "apb_pclk";
+       };