rk3026: rk3028a_tb: sdmmc support
authorkfx <kfx@rock-chips.com>
Thu, 1 Aug 2013 12:57:11 +0000 (20:57 +0800)
committerkfx <kfx@rock-chips.com>
Thu, 1 Aug 2013 12:57:11 +0000 (20:57 +0800)
arch/arm/mach-rk3026/board-rk3028a-tb-sdmmc-config.c

index 9626c1b80a8960f0ff7c942bc7d4999f99a3c6ec..453e7d84a9ab2ae59556321f04164415fdecd78f 100644 (file)
@@ -36,7 +36,7 @@
 /*
 * define sdcard PowerEn-pin
 */
-#define RK29SDK_SD_CARD_PWR_EN                  RK30_PIN3_PA1
+#define RK29SDK_SD_CARD_PWR_EN                  RK30_PIN1_PB6
 #define RK29SDK_SD_CARD_PWR_EN_LEVEL            GPIO_LOW 
 int rk31sdk_get_sdmmc0_pin_io_voltage(void)
 {
@@ -57,7 +57,7 @@ int rk31sdk_get_sdmmc0_pin_io_voltage(void)
 /*
 * define the card-detect-pin.
 */
-#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_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.
 
 /*