2 * linux/arch/arm/mach-s5pv310/board-bt-wlan.c
4 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
11 #include <linux/platform_device.h>
12 #include <mach/gpio.h>
17 static struct bcm4330_platform_data bcm4330_data = {
18 .wlan_en = S5PV310_GPL1(2), /* XGNSS_EPOCH */
19 .wlan_host_wake = S5PV310_GPX2(5), /* XEINT[21] */
20 .bt_en = S5PV310_GPL0(4), /* XGNSS_QMAG */
21 .bt_nrst = S5PV310_GPL1(0), /* XGNSS_SCL */
22 .bt_host_wake = S5PV310_GPX2(6), /* XEINT[22] */
23 .bt_wake = S5PV310_GPX3(1), /* XEINT[25] */
24 .bt_uart[0] = S5PV310_GPA0(0), /* XuRXD[0] */
25 .bt_uart[1] = S5PV310_GPA0(1), /* XuTXD[0] */
26 .bt_uart[2] = S5PV310_GPA0(2), /* XuCTSn[0] */
27 .bt_uart[3] = S5PV310_GPA0(3), /* XuRTSn[0] */
28 .wlan_host_enable = &wlan_host_enable,
31 struct platform_device s5pv310_bcm4330 = {
35 .platform_data = &bcm4330_data,