[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>

authored by Michael Hennerich and committed by Bryan Wu 83d9cde0 f1bceb47

+25
+25
arch/blackfin/mach-bf561/boards/ezkit.c
··· 133 }; 134 #endif 135 136 /* 137 * USB-LAN EzExtender board 138 * Driver needs to know address, irq and flag pin. ··· 400 401 #if defined(CONFIG_AX88180) || defined(CONFIG_AX88180_MODULE) 402 &ax88180_device, 403 #endif 404 405 #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE)
··· 133 }; 134 #endif 135 136 + #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) 137 + static 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 + 149 + static 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 + 157 /* 158 * USB-LAN EzExtender board 159 * Driver needs to know address, irq and flag pin. ··· 379 380 #if defined(CONFIG_AX88180) || defined(CONFIG_AX88180_MODULE) 381 &ax88180_device, 382 + #endif 383 + 384 + #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) 385 + &net2272_bfin_device, 386 #endif 387 388 #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE)