aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx25/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx25/devices.c')
-rw-r--r--arch/arm/mach-mx25/devices.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-mx25/devices.c b/arch/arm/mach-mx25/devices.c
index 3a405fa400eb..fd331d04ea0d 100644
--- a/arch/arm/mach-mx25/devices.c
+++ b/arch/arm/mach-mx25/devices.c
@@ -515,3 +515,23 @@ struct platform_device mxc_wdt = {
515 .num_resources = ARRAY_SIZE(mxc_wdt_resources), 515 .num_resources = ARRAY_SIZE(mxc_wdt_resources),
516 .resource = mxc_wdt_resources, 516 .resource = mxc_wdt_resources,
517}; 517};
518
519static struct resource mx25_kpp_resources[] = {
520 {
521 .start = MX25_KPP_BASE_ADDR,
522 .end = MX25_KPP_BASE_ADDR + 0xf,
523 .flags = IORESOURCE_MEM,
524 },
525 {
526 .start = MX25_INT_KPP,
527 .end = MX25_INT_KPP,
528 .flags = IORESOURCE_IRQ,
529 },
530};
531
532struct platform_device mx25_kpp_device = {
533 .name = "imx-keypad",
534 .id = -1,
535 .num_resources = ARRAY_SIZE(mx25_kpp_resources),
536 .resource = mx25_kpp_resources,
537};