rk3188 sdk: config rk903
authorwuhao <wuhao@wuhao@rock-chips.com>
Thu, 28 Mar 2013 08:15:32 +0000 (16:15 +0800)
committerwuhao <wuhao@wuhao@rock-chips.com>
Thu, 28 Mar 2013 08:15:32 +0000 (16:15 +0800)
arch/arm/configs/rk3188_sdk_defconfig
arch/arm/mach-rk3188/board-rk3188-sdk.c

index 55ad3455026e8d48f5fa6f7dc97b6be75bee0367..81a240d1bf564aa4f2c05fa5f10a330e49f8f365 100644 (file)
@@ -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
index 65f8288d00462e7b10332dbae4e5c1cb7107db3a..b5a4ea374dfea3d664b6dafc3ed173170ca865f9 100644 (file)
@@ -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,