diff options
Diffstat (limited to 'Documentation/devicetree/bindings/gpio/men-a021-wdt.txt')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/men-a021-wdt.txt | 25 |
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 @@ | |||
1 | Bindings for MEN A21 Watchdog device connected to GPIO lines | ||
2 | |||
3 | Required 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 | |||
13 | Optional properties: | ||
14 | - None | ||
15 | |||
16 | Example: | ||
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 | }; | ||