change GPIO_127 to input for MMC_CD