summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/board-omap4panda.c
diff options
context:
space:
mode:
authorGuy Eilam <guy@wizery.com>2011-02-25 09:52:35 +0300
committerTony Lindgren <tony@atomide.com>2011-03-03 03:51:19 +0300
commitec179ea5361cdd34bf4e6d6bdfe02d6f4d6901b2 (patch)
tree6efc7f8e28101653abf547fb48d3f4a91052f390 /arch/arm/mach-omap2/board-omap4panda.c
parentf463effebefb26f1dffb92d10725e938f4497bef (diff)
downloadlinux-ec179ea5361cdd34bf4e6d6bdfe02d6f4d6901b2.tar.xz
omap: panda: Add TI-ST driver support
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>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap4panda.c')
-rw-r--r--arch/arm/mach-omap2/board-omap4panda.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index 3dd241b95159..4ff9877f316b 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -50,6 +50,16 @@
#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)