mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +00:00
e14538e0db
This patch adds a watchdog driver for the main hardware watchdog timer found on MOXA ART SoCs. The MOXA ART SoC provides one writable timer register, restarting the hardware once it reaches zero. The register is auto decremented every APB clock cycle. Signed-off-by: Jonas Jensen <jonas.jensen@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
16 lines
353 B
Plaintext
16 lines
353 B
Plaintext
MOXA ART Watchdog timer
|
|
|
|
Required properties:
|
|
|
|
- compatible : Must be "moxa,moxart-watchdog"
|
|
- reg : Should contain registers location and length
|
|
- clocks : Should contain phandle for the clock that drives the counter
|
|
|
|
Example:
|
|
|
|
watchdog: watchdog@98500000 {
|
|
compatible = "moxa,moxart-watchdog";
|
|
reg = <0x98500000 0x10>;
|
|
clocks = <&coreclk>;
|
|
};
|