SDMMC: modify the definition of pin error in RK3066B platform.
authorxbw <xbw@rock-chips.com>
Mon, 10 Dec 2012 04:16:14 +0000 (12:16 +0800)
committerxbw <xbw@rock-chips.com>
Mon, 10 Dec 2012 04:16:14 +0000 (12:16 +0800)
arch/arm/mach-rk30/board-rk30-sdk-sdmmc.c

index b181c6547f2b5f72244a6d31398120a9036e8b70..10d5c7658e0183560a0610ed76cee61a5154cd6f 100755 (executable)
      
     #if defined(CONFIG_RTL8192CU) || defined(CONFIG_RTL8188EU) 
         #define RK30SDK_WIFI_GPIO_POWER_N               RK30_PIN3_PD0            
-        #define RK30SDK_WIFI_GPIO_POWER_ENABLE_VALUE    GPIO_HIGH        
+        #define RK30SDK_WIFI_GPIO_POWER_ENABLE_VALUE    GPIO_LOW//GPIO_HIGH        
         #define RK30SDK_WIFI_GPIO_POWER_PIN_NAME        GPIO3D0_SDMMC1PWREN_MIIMD_NAME
         #define RK30SDK_WIFI_GPIO_POWER_IOMUX_FGPIO     GPIO3D_GPIO3D0
         
@@ -625,7 +625,7 @@ static struct rksdmmc_gpio_board rksdmmc1_gpio_init = {
 static struct rksdmmc_gpio_board rksdmmc0_gpio_init = {
 
      .clk_gpio       = {
-        .io             = RK30_PIN3_PB0,
+        .io             = RK30_PIN3_PA2,
         .enable         = GPIO_HIGH,
         .iomux          = {
             .name       = GPIO3A2_SDMMC0CLKOUT_NAME,
@@ -635,7 +635,7 @@ static struct rksdmmc_gpio_board rksdmmc0_gpio_init = {
     },   
 
     .cmd_gpio           = {
-        .io             = RK30_PIN3_PB1,
+        .io             = RK30_PIN3_PA3,
         .enable         = GPIO_HIGH,
         .iomux          = {
             .name       = GPIO3A3_SDMMC0CMD_NAME,
@@ -645,7 +645,7 @@ static struct rksdmmc_gpio_board rksdmmc0_gpio_init = {
     },      
 
    .data0_gpio       = {
-        .io             = RK30_PIN3_PB2,
+        .io             = RK30_PIN3_PA4,
         .enable         = GPIO_HIGH,
         .iomux          = {
             .name       = GPIO3A4_SDMMC0DATA0_NAME,
@@ -655,7 +655,7 @@ static struct rksdmmc_gpio_board rksdmmc0_gpio_init = {
     },      
 
     .data1_gpio       = {
-        .io             = RK30_PIN3_PB3,
+        .io             = RK30_PIN3_PA5,
         .enable         = GPIO_HIGH,
         .iomux          = {
             .name       = GPIO3A5_SDMMC0DATA1_NAME,
@@ -665,7 +665,7 @@ static struct rksdmmc_gpio_board rksdmmc0_gpio_init = {
     },      
 
     .data2_gpio       = {
-        .io             = RK30_PIN3_PB4,
+        .io             = RK30_PIN3_PA6,
         .enable         = GPIO_HIGH,
         .iomux          = {
             .name       = GPIO3A6_SDMMC0DATA2_NAME,
@@ -675,7 +675,7 @@ static struct rksdmmc_gpio_board rksdmmc0_gpio_init = {
     }, 
 
     .data3_gpio       = {
-        .io             = RK30_PIN3_PB5,
+        .io             = RK30_PIN3_PA7,
         .enable         = GPIO_HIGH,
         .iomux          = {
             .name       = GPIO3A7_SDMMC0DATA3_NAME,