#include <asm/arch/usb.h>
#include <asm/arch/keypad.h>
#include <asm/arch/common.h>
+#include <asm/arch/h6300_uart_info.h>
#define _h6300_KEY_CALENDAR 67 // xmodmap 75 aka F9
#define _H6300_KEY_TELEPHONE 68 // xmodmap 76 aka F10
.resource = h6300_kp_resources,
};
+/*
+ * Bluetooth - Relies on h6300_bt module,
+ * so make the calls indirectly through pointers. Requires that the
+ * h6300_bt bluetooth module be loaded before any attempt to use
+ * bluetooth (obviously).
+ */
+static struct platform_omap_serial_funcs h6300_omap_platform__uart_bt_funcs = {
+ .configure = NULL,
+ .set_txrx = NULL,
+ .get_txrx = NULL,
+};
+
+struct platform_device btuart_device = {
+ .name = "h6300_bt",
+ .id = 1,
+};
+EXPORT_SYMBOL(btuart_device);
+
static struct platform_device *h6300_devices[] __initdata = {
&h6300_lcd_device,
&h6300_kp_device,
static void __init h6300_map_io(void)
{
omap1_map_common_io();
+
+ h63xx_uart_bt_device.dev.platform_data = &h6300_omap_platform__uart_bt_funcs;
}
MACHINE_START(OMAP_H6300, "HP iPAQ h6300")