Consummate bcm wifi oob on all platform(Wake gpio define).
authorgwl <gwl@rock-chips.com>
Sat, 19 Oct 2013 08:57:56 +0000 (16:57 +0800)
committergwl <gwl@rock-chips.com>
Sat, 19 Oct 2013 08:58:15 +0000 (16:58 +0800)
arch/arm/mach-rk30/board-rk3028-86v-sdmmc-conifg.c
arch/arm/mach-rk30/board-rk3028-tb-sdmmc-conifg.c
arch/arm/mach-rk30/board-rk3168-86v-old-sdmmc-config.c
arch/arm/mach-rk30/board-rk3168-86v-sdmmc-config.c
arch/arm/mach-rk30/board-rk3168-tb-sdmmc-conifg.c
arch/arm/mach-rk30/board-rk3168m-tb-sdmmc-conifg.c

index 8c0dbbd21307f799fe53dfa9ff9a63ae23d0b577..bc751de3ed88e358d71185c57b089c533812c96e 100755 (executable)
@@ -60,6 +60,10 @@ int rk31sdk_get_sdmmc0_pin_io_voltage(void)
 #define RK29SDK_SD_CARD_DETECT_N                RK30_PIN1_PC1  //According to your own project to set the value of card-detect-pin.
 #define RK29SDK_SD_CARD_INSERT_LEVEL            GPIO_LOW       // set the voltage of insert-card. Please pay attention to the default setting.
 
+//wake up host gpio
+#define RK30SDK_WIFI_GPIO_WIFI_INT_B                RK30_PIN3_PD2
+#define RK30SDK_WIFI_GPIO_WIFI_INT_B_ENABLE_VALUE   GPIO_HIGH
+
 /*
 * Define wifi module's power and reset gpio, and gpio sensitive level.
 * Please set the value according to your own project.
index 122cf0fadf28fc2e185c7d6ad58f6e71a04df4f7..87b1ccf952ef4e1bd0533bb4962f95ac41fb0a10 100755 (executable)
@@ -60,6 +60,10 @@ int rk31sdk_get_sdmmc0_pin_io_voltage(void)
 #define RK29SDK_SD_CARD_DETECT_N                RK30_PIN3_PB0  //According to your own project to set the value of card-detect-pin.
 #define RK29SDK_SD_CARD_INSERT_LEVEL            GPIO_LOW       // set the voltage of insert-card. Please pay attention to the default setting.
 
+//wake up host gpio
+#define RK30SDK_WIFI_GPIO_WIFI_INT_B                RK30_PIN3_PD2
+#define RK30SDK_WIFI_GPIO_WIFI_INT_B_ENABLE_VALUE   GPIO_HIGH
+
 /*
 * Define wifi module's power and reset gpio, and gpio sensitive level.
 * Please set the value according to your own project.
index b873bba667bbdd2600c49a9a0dd7b454a8dca86a..bba4fb6f7af9620470d6e6856fb695aa5ac4df4e 100755 (executable)
@@ -60,6 +60,10 @@ int rk31sdk_get_sdmmc0_pin_io_voltage(void)
 #define RK29SDK_SD_CARD_DETECT_N                RK30_PIN3_PB0  //According to your own project to set the value of card-detect-pin.
 #define RK29SDK_SD_CARD_INSERT_LEVEL            GPIO_LOW       // set the voltage of insert-card. Please pay attention to the default setting.
 
+//wake up host gpio
+#define RK30SDK_WIFI_GPIO_WIFI_INT_B                RK30_PIN3_PD2
+#define RK30SDK_WIFI_GPIO_WIFI_INT_B_ENABLE_VALUE   GPIO_HIGH
+
 /*
 * Define wifi module's power and reset gpio, and gpio sensitive level.
 * Please set the value according to your own project.
index 1e54aa0cb6383e1e808039f282dfab592c5a1739..01d83445b71585edc1fe5ae98a326ec9b3ce32cb 100755 (executable)
@@ -60,6 +60,10 @@ int rk31sdk_get_sdmmc0_pin_io_voltage(void)
 #define RK29SDK_SD_CARD_DETECT_N                RK30_PIN3_PB0  //According to your own project to set the value of card-detect-pin.
 #define RK29SDK_SD_CARD_INSERT_LEVEL            GPIO_LOW       // set the voltage of insert-card. Please pay attention to the default setting.
 
+//wake up host gpio
+#define RK30SDK_WIFI_GPIO_WIFI_INT_B                RK30_PIN3_PD2
+#define RK30SDK_WIFI_GPIO_WIFI_INT_B_ENABLE_VALUE   GPIO_HIGH
+
 /*
 * Define wifi module's power and reset gpio, and gpio sensitive level.
 * Please set the value according to your own project.
index ae5af8f869a338f39b996e69b9e9f8479f7b0a1c..76824449829960bfbfd1cc1ada7b561b9d698c8a 100644 (file)
@@ -60,6 +60,10 @@ int rk31sdk_get_sdmmc0_pin_io_voltage(void)
 #define RK29SDK_SD_CARD_DETECT_N                RK30_PIN3_PB0  //According to your own project to set the value of card-detect-pin.
 #define RK29SDK_SD_CARD_INSERT_LEVEL            GPIO_LOW       // set the voltage of insert-card. Please pay attention to the default setting.
 
+//wake up host gpio
+#define RK30SDK_WIFI_GPIO_WIFI_INT_B                RK30_PIN3_PD2
+#define RK30SDK_WIFI_GPIO_WIFI_INT_B_ENABLE_VALUE   GPIO_HIGH
+
 /*
 * Define wifi module's power and reset gpio, and gpio sensitive level.
 * Please set the value according to your own project.
index 9626c1b80a8960f0ff7c942bc7d4999f99a3c6ec..0bc1a8aec095e2e99756f53f51d577306f50785b 100644 (file)
@@ -60,6 +60,10 @@ int rk31sdk_get_sdmmc0_pin_io_voltage(void)
 #define RK29SDK_SD_CARD_DETECT_N                RK30_PIN3_PB0  //According to your own project to set the value of card-detect-pin.
 #define RK29SDK_SD_CARD_INSERT_LEVEL            GPIO_LOW       // set the voltage of insert-card. Please pay attention to the default setting.
 
+//wake up host gpio
+#define RK30SDK_WIFI_GPIO_WIFI_INT_B                RK30_PIN3_PD2
+#define RK30SDK_WIFI_GPIO_WIFI_INT_B_ENABLE_VALUE   GPIO_HIGH
+
 /*
 * Define wifi module's power and reset gpio, and gpio sensitive level.
 * Please set the value according to your own project.