mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
[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>
This commit is contained in:
parent
0abe1856bd
commit
42ff4cf957
1 changed files with 23 additions and 0 deletions
|
@ -228,6 +228,28 @@ struct platform_device w90x900_device_usbgadget = {
|
|||
};
|
||||
EXPORT_SYMBOL(w90x900_device_usbgadget);
|
||||
|
||||
/* FMI Device */
|
||||
|
||||
static struct resource w90p910_fmi_resource[] = {
|
||||
[0] = {
|
||||
.start = W90X900_PA_FMI,
|
||||
.end = W90X900_PA_FMI + W90X900_SZ_FMI - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
[1] = {
|
||||
.start = IRQ_FMI,
|
||||
.end = IRQ_FMI,
|
||||
.flags = IORESOURCE_IRQ,
|
||||
}
|
||||
};
|
||||
|
||||
static struct platform_device w90p910_device_fmi = {
|
||||
.name = "w90p910-fmi",
|
||||
.id = -1,
|
||||
.num_resources = ARRAY_SIZE(w90p910_fmi_resource),
|
||||
.resource = w90p910_fmi_resource,
|
||||
};
|
||||
|
||||
static struct map_desc w90p910_iodesc[] __initdata = {
|
||||
};
|
||||
|
||||
|
@ -242,6 +264,7 @@ static struct platform_device *w90p910evb_dev[] __initdata = {
|
|||
&w90x900_device_rtc,
|
||||
&w90x900_device_kpi,
|
||||
&w90x900_device_usbgadget,
|
||||
&w90p910_device_fmi,
|
||||
};
|
||||
|
||||
static void __init w90p910evb_map_io(void)
|
||||
|
|
Loading…
Reference in a new issue