From 9624f615520696ffa845da2de56277197155b48c Mon Sep 17 00:00:00 2001 From: Mircea Gherzan Date: Wed, 9 May 2012 14:19:13 -0700 Subject: ARM: OMAP: WiLink platform data for the PandaBoard The "uim" deamon requires sysfs entries that are filled in using this platform data. Signed-off-by: Mircea Gherzan Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/board-omap4panda.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'arch/arm/mach-omap2') diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index 1b782ba5343..1b2eb289b8b 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include @@ -58,12 +59,21 @@ #define HDMI_GPIO_HPD 63 /* Hotplug detect */ /* wl127x BT, FM, GPS connectivity chip */ -static int wl1271_gpios[] = {46, -1, -1}; +static struct ti_st_plat_data wilink_platform_data = { + .nshutdown_gpio = 46, + .dev_name = "/dev/ttyO1", + .flow_cntrl = 1, + .baud_rate = 3000000, + .chip_enable = NULL, + .suspend = NULL, + .resume = NULL, +}; + static struct platform_device wl1271_device = { .name = "kim", .id = -1, .dev = { - .platform_data = &wl1271_gpios, + .platform_data = &wilink_platform_data, }, }; -- cgit v1.2.3-70-g09d2