diff options
| author | Fu Wei <fu.wei@linaro.org> | 2016-02-29 03:46:47 -0500 |
|---|---|---|
| committer | Wim Van Sebroeck <wim@iguana.be> | 2016-03-04 14:23:14 -0500 |
| commit | 2fc94b5f229a5d9d1db7fd91d0a4808cfeb915f5 (patch) | |
| tree | e905e09129f78db5811090a8cd8b273667272e67 /Documentation/devicetree/bindings/watchdog | |
| parent | c36a483d80072f7efdd09e94dd733120dc8ecfb2 (diff) | |
Documentation: add sbsa-gwdt driver documentation
The sbsa-gwdt.txt documentation in devicetree/bindings/watchdog is for
introducing SBSA(Server Base System Architecture) Generic Watchdog
device node info into FDT.
Also add sbsa-gwdt introduction in watchdog-parameters.txt
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Fu Wei <fu.wei@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'Documentation/devicetree/bindings/watchdog')
| -rw-r--r-- | Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt b/Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt new file mode 100644 index 000000000000..6f2d5f91964d --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | * SBSA (Server Base System Architecture) Generic Watchdog | ||
| 2 | |||
| 3 | The SBSA Generic Watchdog Timer is used to force a reset of the system | ||
| 4 | after two stages of timeout have elapsed. A detailed definition of the | ||
| 5 | watchdog timer can be found in the ARM document: ARM-DEN-0029 - Server | ||
| 6 | Base System Architecture (SBSA) | ||
| 7 | |||
| 8 | Required properties: | ||
| 9 | - compatible: Should at least contain "arm,sbsa-gwdt". | ||
| 10 | |||
| 11 | - reg: Each entry specifies the base physical address of a register frame | ||
| 12 | and the length of that frame; currently, two frames must be defined, | ||
| 13 | in this order: | ||
| 14 | 1: Watchdog control frame; | ||
| 15 | 2: Refresh frame. | ||
| 16 | |||
| 17 | - interrupts: Should contain the Watchdog Signal 0 (WS0) SPI (Shared | ||
| 18 | Peripheral Interrupt) number of SBSA Generic Watchdog. | ||
| 19 | |||
| 20 | Optional properties | ||
| 21 | - timeout-sec: Watchdog timeout values (in seconds). | ||
| 22 | |||
| 23 | Example for FVP Foundation Model v8: | ||
| 24 | |||
| 25 | watchdog@2a440000 { | ||
| 26 | compatible = "arm,sbsa-gwdt"; | ||
| 27 | reg = <0x0 0x2a440000 0 0x1000>, | ||
| 28 | <0x0 0x2a450000 0 0x1000>; | ||
| 29 | interrupts = <0 27 4>; | ||
| 30 | timeout-sec = <30>; | ||
| 31 | }; | ||
