mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
watchdog: Add MOXA ART watchdog driver
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 <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
parent
b3970bdebb
commit
e14538e0db
4 changed files with 191 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
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>;
|
||||
};
|
||||
Loading…
Reference in a new issue