From 39a289a3b2298878f3d1fa35fc858c09fd3a3ff0 Mon Sep 17 00:00:00 2001 From: wuhao Date: Thu, 28 Mar 2013 16:15:32 +0800 Subject: [PATCH] rk3188 sdk: config rk903 --- arch/arm/configs/rk3188_sdk_defconfig | 1 + arch/arm/mach-rk3188/board-rk3188-sdk.c | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/configs/rk3188_sdk_defconfig b/arch/arm/configs/rk3188_sdk_defconfig index 55ad3455026e..81a240d1bf56 100644 --- a/arch/arm/configs/rk3188_sdk_defconfig +++ b/arch/arm/configs/rk3188_sdk_defconfig @@ -205,6 +205,7 @@ CONFIG_PHYLIB=y # CONFIG_NETDEV_10000 is not set CONFIG_WLAN_80211=y CONFIG_RKWIFI=y +CONFIG_RKWIFI_26M=y CONFIG_USB_USBNET=y CONFIG_PPP=y CONFIG_PPP_MULTILINK=y diff --git a/arch/arm/mach-rk3188/board-rk3188-sdk.c b/arch/arm/mach-rk3188/board-rk3188-sdk.c index 65f8288d0046..b5a4ea374dfe 100644 --- a/arch/arm/mach-rk3188/board-rk3188-sdk.c +++ b/arch/arm/mach-rk3188/board-rk3188-sdk.c @@ -1157,7 +1157,7 @@ static struct rfkill_rk_platform_data rfkill_rk_platdata = { .type = RFKILL_TYPE_BLUETOOTH, .poweron_gpio = { // BT_REG_ON - .io = INVALID_GPIO, //RK30_PIN3_PC7, + .io = RK30_PIN3_PC7, .enable = GPIO_HIGH, .iomux = { .name = "bt_poweron", @@ -1166,11 +1166,11 @@ static struct rfkill_rk_platform_data rfkill_rk_platdata = { }, .reset_gpio = { // BT_RST - .io = RK30_PIN3_PC7, // set io to INVALID_GPIO for disable it + .io = RK30_PIN3_PD1, // set io to INVALID_GPIO for disable it .enable = GPIO_LOW, .iomux = { .name = "bt_reset", - .fgpio = GPIO3_C7, + .fgpio = GPIO3_D1, }, }, @@ -1185,7 +1185,7 @@ static struct rfkill_rk_platform_data rfkill_rk_platdata = { .wake_host_irq = { // BT_HOST_WAKE, for bt wakeup host when it is in deep sleep .gpio = { - .io = RK30_PIN0_PA5, // set io to INVALID_GPIO for disable it + .io = RK30_PIN3_PD2, // set io to INVALID_GPIO for disable it .enable = GPIO_LOW, // set GPIO_LOW for falling, set 0 for rising .iomux = { .name = NULL, -- 2.34.1