AnsweredAssumed Answered

I cannot Interface SD card

Question asked by Karthikeyan Raju on Jun 1, 2017
Latest reply on Jul 2, 2017 by Karthikeyan Raju

Hi All,

 

My board is based on sabresd imx6qdl platform. I made the following changes in imx6qdl-sabresd.dtsi

@@ -868,6 +868,7 @@
MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059
+ MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x80000000
>;
};
/*
@@ -1095,13 +1096,9 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc2>;
bus-width = <4>;
- cd-gpios = <&gpio2 2 0>;
- wp-gpios = <&gpio2 3 0>;
+ cd-gpios = <&gpio1 26 1>;
no-1-8-v;
- wifi-host;
- pm-ignore-notify;
keep-power-in-suspend;
- enable-sdio-wakeup;
status = "okay";
};

 

 

Whenever I removed and inserted the SD card in my Board, I am getting the following logs,

 

root@sabresd_6dq:/ #  mmc_gpio_cd_irqt : mmc1 Entered

 mmc_gpio_cd_irqt : mmc1 Entered
mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz
mmc1: mmc_rescan_try_freq: trying to init card at 300000 Hz
mmc1: mmc_rescan_try_freq: trying to init card at 200000 Hz
mmc1: mmc_rescan_try_freq: trying to init card at 100000 Hz

root@sabresd_6dq:/ #

 

Can anyone help me to resolve this issue ?

Outcomes