mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
rk3026: rk3028a_tb: sdmmc support
This commit is contained in:
@@ -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.
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user