.enabled_uarts = ((1 << 0) | (1 << 1) | (1 << 2)),
};
+/* assume no Mini-AB port */
+static struct omap_usb_config h6300_usb_config __initdata = {
+ .hmc_mode = 0,
+ .register_dev = 1,
+ .pins[0] = 0,
+};
+
static struct omap_board_config_kernel h6300_config[] = {
{ OMAP_TAG_LCD, &h6300_lcd_config },
{ OMAP_TAG_UART, &h6300_uart_config },
+ { OMAP_TAG_USB, &h6300_usb_config },
};
static void __init h6300_init_irq(void)
#undef USB_TRACE
/* bulk DMA seems to be behaving for both IN and OUT */
+#ifdef CONFIG_MACH_OMAP_H6300
+#undef USE_DMA
+#else
#define USE_DMA
+#endif
/* ISO too */
#define USE_ISO
/* boards that don't have VBUS sensing can't autogate 48MHz;
* can't enter deep sleep while a gadget driver is active.
*/
- if (machine_is_omap_innovator() || machine_is_omap_osk())
+ if (machine_is_omap_innovator() || machine_is_omap_osk() || machine_is_omap_h6300())
omap_vbus_session(&udc->gadget, 1);
done:
if (udc->dc_clk != NULL)
omap_udc_enable_clock(1);
- if (machine_is_omap_innovator() || machine_is_omap_osk())
+ if (machine_is_omap_innovator() || machine_is_omap_osk() || machine_is_omap_h6300())
omap_vbus_session(&udc->gadget, 0);
if (udc->transceiver)
hmc = HMC_1510;
type = "(unknown)";
- if (machine_is_omap_innovator()) {
+ if (machine_is_omap_innovator() || machine_is_omap_h6300()) {
/* just set up software VBUS detect, and then
* later rig it so we always report VBUS.
* FIXME without really sensing VBUS, we can't