diff options
Diffstat (limited to 'arch/arm/mach-mx2/devices.c')
-rw-r--r-- | arch/arm/mach-mx2/devices.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-mx2/devices.c b/arch/arm/mach-mx2/devices.c index 07061e644545..684d5d92c2e4 100644 --- a/arch/arm/mach-mx2/devices.c +++ b/arch/arm/mach-mx2/devices.c | |||
@@ -258,7 +258,27 @@ struct platform_device mxc_fb_device = { | |||
258 | .coherent_dma_mask = 0xFFFFFFFF, | 258 | .coherent_dma_mask = 0xFFFFFFFF, |
259 | }, | 259 | }, |
260 | }; | 260 | }; |
261 | #endif | ||
261 | 262 | ||
263 | #ifdef CONFIG_MACH_MX27 | ||
264 | static struct resource mxc_fec_resources[] = { | ||
265 | { | ||
266 | .start = FEC_BASE_ADDR, | ||
267 | .end = FEC_BASE_ADDR + 0xfff, | ||
268 | .flags = IORESOURCE_MEM | ||
269 | }, { | ||
270 | .start = MXC_INT_FEC, | ||
271 | .end = MXC_INT_FEC, | ||
272 | .flags = IORESOURCE_IRQ | ||
273 | }, | ||
274 | }; | ||
275 | |||
276 | struct platform_device mxc_fec_device = { | ||
277 | .name = "fec", | ||
278 | .id = 0, | ||
279 | .num_resources = ARRAY_SIZE(mxc_fec_resources), | ||
280 | .resource = mxc_fec_resources, | ||
281 | }; | ||
262 | #endif | 282 | #endif |
263 | 283 | ||
264 | /* GPIO port description */ | 284 | /* GPIO port description */ |