-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Allwinner sun6i (A31) has a slightly different watchdog, that doesn't allow to use the already existing restart code. Rework a bit the restart code to allow to plug in more easily different restart handlers depending on the device tree. In the past, we were also meaning sunxi as a generic name covering all Allwinner SoCs. This won't be true anymore with the A31 (sun6i) that differs pretty much from sun4i and sun5i, and we will end up having sunxi, for sun4i and sun5i, and sun6i, which is neither consistent nor convenient. So, while we're at it, also change sunxi to sun4i. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
- Loading branch information
Maxime Ripard
committed
Apr 8, 2013
1 parent
d7fbc6c
commit bc34b5f
Showing
2 changed files
with
38 additions
and
26 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
...evicetree/bindings/watchdog/sunxi-wdt.txt → ...evicetree/bindings/watchdog/sun4i-wdt.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
Allwinner sunXi Watchdog timer | ||
Allwinner sun4i Watchdog timer | ||
|
||
Required properties: | ||
|
||
- compatible : should be "allwinner,sunxi-wdt" | ||
- compatible : should be "allwinner,sun4i-wdt" | ||
- reg : Specifies base physical address and size of the registers. | ||
|
||
Example: | ||
|
||
wdt: watchdog@01c20c90 { | ||
compatible = "allwinner,sunxi-wdt"; | ||
compatible = "allwinner,sun4i-wdt"; | ||
reg = <0x01c20c90 0x10>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters