diff options
author | Philippe Langlais <philippe.langlais@linaro.org> | 2012-01-16 09:52:21 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:02:39 +0200 |
commit | ab46460a57067bab25da94efb79bfb12aa29931f (patch) | |
tree | 5172faef7a7234c18d15ecd7ffe6fee0904fda9e | |
parent | a93bebdf02e430192a2c9e67e29e96a2f5db35bc (diff) |
mach-ux500: watchdog: Add 5500 support
Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
-rw-r--r-- | arch/arm/mach-ux500/cpu-db5500.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-ux500/devices-db5500.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-ux500/include/mach/devices.h | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/cpu-db5500.c b/arch/arm/mach-ux500/cpu-db5500.c index a2d4296596f..c138d2be21c 100644 --- a/arch/arm/mach-ux500/cpu-db5500.c +++ b/arch/arm/mach-ux500/cpu-db5500.c @@ -159,6 +159,7 @@ static struct platform_device *db5500_platform_devs[] __initdata = { &mbox1_device, &mbox2_device, &db5500_prcmu_device, + &u5500_wdt_device, }; static u8 db5500_revision; diff --git a/arch/arm/mach-ux500/devices-db5500.c b/arch/arm/mach-ux500/devices-db5500.c index d6d5a278074..6d7764f3d9e 100644 --- a/arch/arm/mach-ux500/devices-db5500.c +++ b/arch/arm/mach-ux500/devices-db5500.c @@ -275,3 +275,8 @@ struct platform_device u5500_thsens_device = { .resource = u5500_thsens_resources, .num_resources = ARRAY_SIZE(u5500_thsens_resources), }; + +struct platform_device u5500_wdt_device = { + .name = "ux500_wdt", + .id = -1, +}; diff --git a/arch/arm/mach-ux500/include/mach/devices.h b/arch/arm/mach-ux500/include/mach/devices.h index 27e6b5faaa0..2392b06f91f 100644 --- a/arch/arm/mach-ux500/include/mach/devices.h +++ b/arch/arm/mach-ux500/include/mach/devices.h @@ -29,6 +29,7 @@ extern struct platform_device u5500_thsens_device; extern struct platform_device u8500_thsens_device; extern struct platform_device ux500_ske_keypad_device; extern struct platform_device u8500_wdt_device; +extern struct platform_device u5500_wdt_device; extern struct platform_device u8500_hsi_device; extern struct platform_device ux500_mmio_device; extern struct platform_device u5500_mmio_device; |