diff options
| author | Guy Eilam <guy@wizery.com> | 2011-02-25 01:52:35 -0500 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2011-03-02 19:51:19 -0500 |
| commit | ec179ea5361cdd34bf4e6d6bdfe02d6f4d6901b2 (patch) | |
| tree | 6efc7f8e28101653abf547fb48d3f4a91052f390 | |
| parent | f463effebefb26f1dffb92d10725e938f4497bef (diff) | |
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>
| -rw-r--r-- | arch/arm/mach-omap2/board-omap4panda.c | 11 |
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 3dd241b9515..4ff9877f316 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c | |||
| @@ -50,6 +50,16 @@ | |||
| 50 | #define GPIO_WIFI_PMENA 43 | 50 | #define GPIO_WIFI_PMENA 43 |
| 51 | #define GPIO_WIFI_IRQ 53 | 51 | #define GPIO_WIFI_IRQ 53 |
| 52 | 52 | ||
| 53 | /* wl127x BT, FM, GPS connectivity chip */ | ||
| 54 | static int wl1271_gpios[] = {46, -1, -1}; | ||
| 55 | static struct platform_device wl1271_device = { | ||
| 56 | .name = "kim", | ||
| 57 | .id = -1, | ||
| 58 | .dev = { | ||
| 59 | .platform_data = &wl1271_gpios, | ||
| 60 | }, | ||
| 61 | }; | ||
| 62 | |||
| 53 | static struct gpio_led gpio_leds[] = { | 63 | static struct gpio_led gpio_leds[] = { |
| 54 | { | 64 | { |
| 55 | .name = "pandaboard::status1", | 65 | .name = "pandaboard::status1", |
| @@ -78,6 +88,7 @@ static struct platform_device leds_gpio = { | |||
| 78 | 88 | ||
| 79 | static struct platform_device *panda_devices[] __initdata = { | 89 | static struct platform_device *panda_devices[] __initdata = { |
| 80 | &leds_gpio, | 90 | &leds_gpio, |
| 91 | &wl1271_device, | ||
| 81 | }; | 92 | }; |
| 82 | 93 | ||
| 83 | static void __init omap4_panda_init_early(void) | 94 | static void __init omap4_panda_init_early(void) |
