This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM335X: MMC CD as GPIO

Part Number: PROCESSOR-SDK-AM335X


Tool/software: Linux

Hi,

Is there any way to use the MMC0_CD pin as a normal GPIO for my application.I am using SD card but I dont need the MMC_CD functionality.I just modified the dtb for mmc-cd to non-removable so that CD may not be used(I am not sure this).Which is working good .

But when I am configuring the same for GPIO in my overlay dtbo,kernel is not booting .

Do I missed any other configurations ?

Please suggest.

Regards

Zee

  • Hi Zee,

    Do you use AM335x TI board (EVM, SK, BBB) or custom board?

    Do you use AM335x TI PSDK v4.03?

    In MMCx node, make sure you have removed "cd-gpios = <&gpioX X GPIO_ACTIVE_X>;" entry. Make sure also you have removed gpio pinmux in mmcx_pins entry, and put that gpio pinmux in the proper place.

    Regards,
    Pavel