summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert MARKLUND <robert.marklund@stericsson.com>2011-12-16 12:51:30 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2011-12-21 16:34:34 +0100
commit754a4eb85580fa9f8d142807b139984113acedd5 (patch)
tree88a5f7850701e6049a9db8088c9d5a9f165919b2
parent1b984f6f49092bb0894449587ffa8abf95762002 (diff)
ux500: Change to the u8500 wdt
This will change to the u8500 wdt that uses a watchdog in the prcmu to detect hangs on the arm side. This is not enabled by default and will need a userspace deamon that enables it, configure it and kicks it from time to time. Change-Id: Ia4dc1b0d114797cd44e874f432d94a91669d28c8 Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
-rw-r--r--arch/arm/mach-ux500/devices-db8500.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c
index c604bdd2f4c..2f4778a656f 100644
--- a/arch/arm/mach-ux500/devices-db8500.c
+++ b/arch/arm/mach-ux500/devices-db8500.c
@@ -273,29 +273,9 @@ struct platform_device u8500_b2r2_device = {
* WATCHDOG
*/
-static struct resource u8500_wdt_resources[] = {
- [0] = {
- .start = U8500_TWD_BASE,
- .end = U8500_TWD_BASE+0x37,
- .flags = IORESOURCE_MEM,
- },
- [1] = {
- .start = IRQ_LOCALWDOG,
- .end = IRQ_LOCALWDOG,
- .flags = IORESOURCE_IRQ,
- }
-};
-
struct platform_device u8500_wdt_device = {
- .name = "mpcore_wdt",
+ .name = "u8500_wdt",
.id = -1,
- .resource = u8500_wdt_resources,
- .num_resources = ARRAY_SIZE(u8500_wdt_resources),
-};
-
-struct platform_device u8500_prcmu_wdt_device = {
- .name = "ux500_wdt",
- .id = -1,
};
/*