From 54246b42457cf68287348302fcec0148533e4144 Mon Sep 17 00:00:00 2001 From: Robert MARKLUND Date: Fri, 16 Dec 2011 12:51:30 +0100 Subject: 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 --- arch/arm/mach-ux500/devices-db8500.c | 22 +--------------------- 1 file changed, 1 insertion(+), 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, }; /* -- cgit v1.2.3