-
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.
ARM: smp_twd: add device tree support
Add bindings to support DT discovery of the ARM Timer Watchdog (aka TWD). Only the timer side is converted by this patch. Acked-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
- Loading branch information
Marc Zyngier
committed
Mar 13, 2012
1 parent
81e46f7
commit d8e0364
Showing
3 changed files
with
120 additions
and
13 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
* ARM Timer Watchdog | ||
|
||
ARM 11MP, Cortex-A5 and Cortex-A9 are often associated with a per-core | ||
Timer-Watchdog (aka TWD), which provides both a per-cpu local timer | ||
and watchdog. | ||
|
||
The TWD is usually attached to a GIC to deliver its two per-processor | ||
interrupts. | ||
|
||
** Timer node required properties: | ||
|
||
- compatible : Should be one of: | ||
"arm,cortex-a9-twd-timer" | ||
"arm,cortex-a5-twd-timer" | ||
"arm,arm11mp-twd-timer" | ||
|
||
- interrupts : One interrupt to each core | ||
|
||
- reg : Specify the base address and the size of the TWD timer | ||
register window. | ||
|
||
Example: | ||
|
||
twd-timer@2c000600 { | ||
compatible = "arm,arm11mp-twd-timer""; | ||
reg = <0x2c000600 0x20>; | ||
interrupts = <1 13 0xf01>; | ||
}; | ||
|
||
** Watchdog node properties: | ||
|
||
- compatible : Should be one of: | ||
"arm,cortex-a9-twd-wdt" | ||
"arm,cortex-a5-twd-wdt" | ||
"arm,arm11mp-twd-wdt" | ||
|
||
- interrupts : One interrupt to each core | ||
|
||
- reg : Specify the base address and the size of the TWD watchdog | ||
register window. | ||
|
||
Example: | ||
|
||
twd-watchdog@2c000620 { | ||
compatible = "arm,arm11mp-twd-wdt"; | ||
reg = <0x2c000620 0x20>; | ||
interrupts = <1 14 0xf01>; | ||
}; |
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
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