diff options
Diffstat (limited to 'arch/arm/mach-ux500/devices-db8500.c')
-rw-r--r-- | arch/arm/mach-ux500/devices-db8500.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c index 40032fecbc16..cbbe69a76a7c 100644 --- a/arch/arm/mach-ux500/devices-db8500.c +++ b/arch/arm/mach-ux500/devices-db8500.c | |||
@@ -292,3 +292,23 @@ void dma40_u8500ed_fixup(void) | |||
292 | dma40_resources[1].start = U8500_DMA_LCPA_BASE_ED; | 292 | dma40_resources[1].start = U8500_DMA_LCPA_BASE_ED; |
293 | dma40_resources[1].end = U8500_DMA_LCPA_BASE_ED + 2 * SZ_1K - 1; | 293 | dma40_resources[1].end = U8500_DMA_LCPA_BASE_ED + 2 * SZ_1K - 1; |
294 | } | 294 | } |
295 | |||
296 | struct resource keypad_resources[] = { | ||
297 | [0] = { | ||
298 | .start = U8500_SKE_BASE, | ||
299 | .end = U8500_SKE_BASE + SZ_4K - 1, | ||
300 | .flags = IORESOURCE_MEM, | ||
301 | }, | ||
302 | [1] = { | ||
303 | .start = IRQ_DB8500_KB, | ||
304 | .end = IRQ_DB8500_KB, | ||
305 | .flags = IORESOURCE_IRQ, | ||
306 | }, | ||
307 | }; | ||
308 | |||
309 | struct platform_device ux500_ske_keypad_device = { | ||
310 | .name = "nmk-ske-keypad", | ||
311 | .id = -1, | ||
312 | .num_resources = ARRAY_SIZE(keypad_resources), | ||
313 | .resource = keypad_resources, | ||
314 | }; | ||