Commit | Line | Data |
---|---|---|
26c57ef1 JT |
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 | }; |