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:55:02 +0100
commit5b1f84080269d4010471b3b7173370efb7efe0d2 (patch)
tree4d3b4cec02a0601806966834f7f060734210f07b
parent5c9937262533c4789db34bde6ac5594bcc941626 (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 2d74f4acddb..5ebf5b42621 100644
--- a/arch/arm/mach-ux500/devices-db8500.c
+++ b/arch/arm/mach-ux500/devices-db8500.c
@@ -279,29 +279,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,
};
#ifdef CONFIG_HSI