diff options
Diffstat (limited to 'arch/blackfin/mach-bf561/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf561/boards/ezkit.c | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c index ed863ce9a2d8..d61e7ac056ee 100644 --- a/arch/blackfin/mach-bf561/boards/ezkit.c +++ b/arch/blackfin/mach-bf561/boards/ezkit.c | |||
@@ -92,6 +92,47 @@ void __exit bfin_isp1761_exit(void) | |||
92 | arch_initcall(bfin_isp1761_init); | 92 | arch_initcall(bfin_isp1761_init); |
93 | #endif | 93 | #endif |
94 | 94 | ||
95 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
96 | #include <linux/usb/isp1362.h> | ||
97 | |||
98 | static struct resource isp1362_hcd_resources[] = { | ||
99 | { | ||
100 | .start = 0x2c060000, | ||
101 | .end = 0x2c060000, | ||
102 | .flags = IORESOURCE_MEM, | ||
103 | }, { | ||
104 | .start = 0x2c060004, | ||
105 | .end = 0x2c060004, | ||
106 | .flags = IORESOURCE_MEM, | ||
107 | }, { | ||
108 | .start = IRQ_PF8, | ||
109 | .end = IRQ_PF8, | ||
110 | .flags = IORESOURCE_IRQ, | ||
111 | }, | ||
112 | }; | ||
113 | |||
114 | static struct isp1362_platform_data isp1362_priv = { | ||
115 | .sel15Kres = 1, | ||
116 | .clknotstop = 0, | ||
117 | .oc_enable = 0, | ||
118 | .int_act_high = 0, | ||
119 | .int_edge_triggered = 0, | ||
120 | .remote_wakeup_connected = 0, | ||
121 | .no_power_switching = 1, | ||
122 | .power_switching_mode = 0, | ||
123 | }; | ||
124 | |||
125 | static struct platform_device isp1362_hcd_device = { | ||
126 | .name = "isp1362-hcd", | ||
127 | .id = 0, | ||
128 | .dev = { | ||
129 | .platform_data = &isp1362_priv, | ||
130 | }, | ||
131 | .num_resources = ARRAY_SIZE(isp1362_hcd_resources), | ||
132 | .resource = isp1362_hcd_resources, | ||
133 | }; | ||
134 | #endif | ||
135 | |||
95 | /* | 136 | /* |
96 | * USB-LAN EzExtender board | 137 | * USB-LAN EzExtender board |
97 | * Driver needs to know address, irq and flag pin. | 138 | * Driver needs to know address, irq and flag pin. |
@@ -359,6 +400,11 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
359 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 400 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
360 | &i2c_gpio_device, | 401 | &i2c_gpio_device, |
361 | #endif | 402 | #endif |
403 | |||
404 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
405 | &isp1362_hcd_device, | ||
406 | #endif | ||
407 | |||
362 | &ezkit_flash_device, | 408 | &ezkit_flash_device, |
363 | }; | 409 | }; |
364 | 410 | ||