aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwanzongshun <mcuos.com@gmail.com>2009-07-17 09:42:33 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-07-23 05:22:45 -0400
commit42ff4cf957b695250534e540375e23507c722327 (patch)
treeab3bb05a23f0ecfeb10375ce6b5c76eda1afa520
parent0abe1856bdb68ef699c00949cf9f81fbec98d499 (diff)
[ARM] 5610/1: Add fmi resource define for w90p910 platform
Add fmi resource define for w90p910 platform. Signed-off-by: Wan ZongShun <mcuos.com@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/mach-w90x900/mach-w90p910evb.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-w90x900/mach-w90p910evb.c b/arch/arm/mach-w90x900/mach-w90p910evb.c
index 7a62bd348e8..3b9fa312d9f 100644
--- a/arch/arm/mach-w90x900/mach-w90p910evb.c
+++ b/arch/arm/mach-w90x900/mach-w90p910evb.c
@@ -228,6 +228,28 @@ struct platform_device w90x900_device_usbgadget = {
228}; 228};
229EXPORT_SYMBOL(w90x900_device_usbgadget); 229EXPORT_SYMBOL(w90x900_device_usbgadget);
230 230
231/* FMI Device */
232
233static struct resource w90p910_fmi_resource[] = {
234 [0] = {
235 .start = W90X900_PA_FMI,
236 .end = W90X900_PA_FMI + W90X900_SZ_FMI - 1,
237 .flags = IORESOURCE_MEM,
238 },
239 [1] = {
240 .start = IRQ_FMI,
241 .end = IRQ_FMI,
242 .flags = IORESOURCE_IRQ,
243 }
244};
245
246static struct platform_device w90p910_device_fmi = {
247 .name = "w90p910-fmi",
248 .id = -1,
249 .num_resources = ARRAY_SIZE(w90p910_fmi_resource),
250 .resource = w90p910_fmi_resource,
251};
252
231static struct map_desc w90p910_iodesc[] __initdata = { 253static struct map_desc w90p910_iodesc[] __initdata = {
232}; 254};
233 255
@@ -242,6 +264,7 @@ static struct platform_device *w90p910evb_dev[] __initdata = {
242 &w90x900_device_rtc, 264 &w90x900_device_rtc,
243 &w90x900_device_kpi, 265 &w90x900_device_kpi,
244 &w90x900_device_usbgadget, 266 &w90x900_device_usbgadget,
267 &w90p910_device_fmi,
245}; 268};
246 269
247static void __init w90p910evb_map_io(void) 270static void __init w90p910evb_map_io(void)