12 #include <linux/device.h>
18 #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE)
34 #if defined(CONFIG_BFIN532_IP0X)
35 #if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE)
39 static struct resource dm9000_resource1[] = {
42 .end = 0x20100000 + 1,
45 .start = 0x20100000 + 2,
46 .end = 0x20100000 + 3,
55 static struct resource dm9000_resource2[] = {
58 .end = 0x20200000 + 1,
61 .start = 0x20200000 + 2,
62 .end = 0x20200000 + 3,
83 .resource = dm9000_resource1,
85 .platform_data = &dm9000_platdata1,
97 .resource = dm9000_resource2,
99 .platform_data = &dm9000_platdata2,
107 #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE)
110 #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE)
119 #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE)
121 .modalias =
"mmc_spi",
125 .controller_data = &mmc_spi_chip_info,
137 .
name =
"bfin-spi-master",
140 .platform_data = &spi_bfin_master_info,
145 #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
146 #ifdef CONFIG_SERIAL_BFIN_UART0
147 static struct resource bfin_uart0_resources[] = {
180 static unsigned short bfin_uart0_peripherals[] = {
187 .num_resources =
ARRAY_SIZE(bfin_uart0_resources),
188 .resource = bfin_uart0_resources,
190 .platform_data = &bfin_uart0_peripherals,
196 #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE)
197 #ifdef CONFIG_BFIN_SIR0
198 static struct resource bfin_sir0_resources[] = {
219 .num_resources =
ARRAY_SIZE(bfin_sir0_resources),
220 .resource = bfin_sir0_resources,
225 #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE)
226 static struct resource isp1362_hcd_resources[] = {
229 .end = 0x20300000 + 1,
232 .start = 0x20300000 + 2,
233 .end = 0x20300000 + 3,
247 .int_edge_triggered = 0,
248 .remote_wakeup_connected = 0,
249 .no_power_switching = 1,
250 .power_switching_mode = 0,
254 .
name =
"isp1362-hcd",
257 .platform_data = &isp1362_priv,
259 .num_resources =
ARRAY_SIZE(isp1362_hcd_resources),
260 .resource = isp1362_hcd_resources,
266 #if defined(CONFIG_BFIN532_IP0X)
267 #if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE)
273 #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE)
274 &spi_bfin_master_device,
277 #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
278 #ifdef CONFIG_SERIAL_BFIN_UART0
283 #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE)
284 #ifdef CONFIG_BFIN_SIR0
289 #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE)
294 static int __init ip0x_init(
void)
307 #if defined(CONFIG_SERIAL_BFIN_CONSOLE) || defined(CONFIG_EARLY_PRINTK)
308 #ifdef CONFIG_SERIAL_BFIN_UART0