diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-09-17 02:22:53 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2018-10-13 09:19:39 -0400 |
commit | 270c4265f259e4f9695b86b1ded00f7f202ecba4 (patch) | |
tree | fbfce2c605d3f189bb56fff23893080b1fa9ff32 | |
parent | 38e48b718934d32d45bb9f917b3430822fca76bb (diff) |
dt-bindings: watchdog: add mpc8xxx-wdt support
Add description of DT bindings for mpc8xxx-wdt driver which
handles the CPU watchdog timer on the mpc83xx, mpc86xx and mpc8xx.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
-rw-r--r-- | Documentation/devicetree/bindings/watchdog/mpc8xxx-wdt.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/mpc8xxx-wdt.txt b/Documentation/devicetree/bindings/watchdog/mpc8xxx-wdt.txt new file mode 100644 index 000000000000..a384ff5b3ce8 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/mpc8xxx-wdt.txt | |||
@@ -0,0 +1,25 @@ | |||
1 | * Freescale mpc8xxx watchdog driver (For 83xx, 86xx and 8xx) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Shall contain one of the following: | ||
5 | "mpc83xx_wdt" for an mpc83xx | ||
6 | "fsl,mpc8610-wdt" for an mpc86xx | ||
7 | "fsl,mpc823-wdt" for an mpc8xx | ||
8 | - reg: base physical address and length of the area hosting the | ||
9 | watchdog registers. | ||
10 | On the 83xx, "Watchdog Timer Registers" area: <0x200 0x100> | ||
11 | On the 86xx, "Watchdog Timer Registers" area: <0xe4000 0x100> | ||
12 | On the 8xx, "General System Interface Unit" area: <0x0 0x10> | ||
13 | |||
14 | Optional properties: | ||
15 | - reg: additional physical address and length (4) of location of the | ||
16 | Reset Status Register (called RSTRSCR on the mpc86xx) | ||
17 | On the 83xx, it is located at offset 0x910 | ||
18 | On the 86xx, it is located at offset 0xe0094 | ||
19 | On the 8xx, it is located at offset 0x288 | ||
20 | |||
21 | Example: | ||
22 | WDT: watchdog@0 { | ||
23 | compatible = "fsl,mpc823-wdt"; | ||
24 | reg = <0x0 0x10 0x288 0x4>; | ||
25 | }; | ||