aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf561/boards/ezkit.c
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2008-02-02 03:25:17 -0500
committerBryan Wu <bryan.wu@analog.com>2008-02-02 03:25:17 -0500
commit83d9cde08b72233d113e31ab93b6b56151be8719 (patch)
tree7226ced318c780a374aba2ff184c7103faf0048b /arch/blackfin/mach-bf561/boards/ezkit.c
parentf1bceb47b3f385d765acac7fe582cb11034dd759 (diff)
[Blackfin] arch: Enable NET2272 on BF561-EZkit - remove request_mem_region
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-bf561/boards/ezkit.c')
-rw-r--r--arch/blackfin/mach-bf561/boards/ezkit.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c
index d61e7ac056ee..63259d0828af 100644
--- a/arch/blackfin/mach-bf561/boards/ezkit.c
+++ b/arch/blackfin/mach-bf561/boards/ezkit.c
@@ -133,6 +133,27 @@ static struct platform_device isp1362_hcd_device = {
133}; 133};
134#endif 134#endif
135 135
136#if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE)
137static struct resource net2272_bfin_resources[] = {
138 {
139 .start = 0x2C000000,
140 .end = 0x2C000000 + 0x7F,
141 .flags = IORESOURCE_MEM,
142 }, {
143 .start = IRQ_PF10,
144 .end = IRQ_PF10,
145 .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL,
146 },
147};
148
149static struct platform_device net2272_bfin_device = {
150 .name = "net2272",
151 .id = -1,
152 .num_resources = ARRAY_SIZE(net2272_bfin_resources),
153 .resource = net2272_bfin_resources,
154};
155#endif
156
136/* 157/*
137 * USB-LAN EzExtender board 158 * USB-LAN EzExtender board
138 * Driver needs to know address, irq and flag pin. 159 * Driver needs to know address, irq and flag pin.
@@ -381,6 +402,10 @@ static struct platform_device *ezkit_devices[] __initdata = {
381 &ax88180_device, 402 &ax88180_device,
382#endif 403#endif
383 404
405#if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE)
406 &net2272_bfin_device,
407#endif
408
384#if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) 409#if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE)
385 &bfin_spi0_device, 410 &bfin_spi0_device,
386#endif 411#endif