omap: panda: Add TI-ST driver support
authorGuy Eilam <guy@wizery.com>
Fri, 25 Feb 2011 06:52:35 +0000 (06:52 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 3 Mar 2011 00:51:19 +0000 (16:51 -0800)
Added the KIM (Kernel initialization module for the
Shared Transport driver) device entry in the board file

Only the Blutooth enable GPIO is set for now

Signed-off-by: Guy Eilam <guy@wizery.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap4panda.c

index 3dd241b9515970491d0e97e1ff0c0f1ee76d88b0..4ff9877f316bfece92df27ad71851774ec97b0c2 100644 (file)
 #define GPIO_WIFI_PMENA                43
 #define GPIO_WIFI_IRQ          53
 
+/* wl127x BT, FM, GPS connectivity chip */
+static int wl1271_gpios[] = {46, -1, -1};
+static struct platform_device wl1271_device = {
+       .name   = "kim",
+       .id     = -1,
+       .dev    = {
+               .platform_data  = &wl1271_gpios,
+       },
+};
+
 static struct gpio_led gpio_leds[] = {
        {
                .name                   = "pandaboard::status1",
@@ -78,6 +88,7 @@ static struct platform_device leds_gpio = {
 
 static struct platform_device *panda_devices[] __initdata = {
        &leds_gpio,
+       &wl1271_device,
 };
 
 static void __init omap4_panda_init_early(void)