aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@men.de>2013-06-18 11:19:45 -0400
committerWim Van Sebroeck <wim@iguana.be>2013-07-11 16:19:05 -0400
commit26c57ef1ea35f2e7b73db5fad3c81c388d6d056a (patch)
tree7532b2954404855b69ce4987e837175d2b35d9d7 /Documentation/devicetree
parent6910ceb5cababfefffc4ddc58a085a71c0ab9f22 (diff)
watchdog: New watchdog driver for MEN A21 watchdogs
This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Signed-off-by: Johannes Thumshirn <johannes.thumshirn@men.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/gpio/men-a021-wdt.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/men-a021-wdt.txt b/Documentation/devicetree/bindings/gpio/men-a021-wdt.txt
new file mode 100644
index 000000000000..370dee3226d9
--- /dev/null
+++ b/Documentation/devicetree/bindings/gpio/men-a021-wdt.txt
@@ -0,0 +1,25 @@
1Bindings for MEN A21 Watchdog device connected to GPIO lines
2
3Required properties:
4- compatible: "men,a021-wdt"
5- gpios: Specifies the pins that control the Watchdog, order:
6 1: Watchdog enable
7 2: Watchdog fast-mode
8 3: Watchdog trigger
9 4: Watchdog reset cause bit 0
10 5: Watchdog reset cause bit 1
11 6: Watchdog reset cause bit 2
12
13Optional properties:
14- None
15
16Example:
17 watchdog {
18 compatible ="men,a021-wdt";
19 gpios = <&gpio3 9 1 /* WD_EN */
20 &gpio3 10 1 /* WD_FAST */
21 &gpio3 11 1 /* WD_TRIG */
22 &gpio3 6 1 /* RST_CAUSE[0] */
23 &gpio3 7 1 /* RST_CAUSE[1] */
24 &gpio3 8 1>; /* RST_CAUSE[2] */
25 };