Our custom AM5728 board has MMC2 as an SD card slot. Unlike MMC0 / 1, the MMC2 has been unreliable. I noticed that even when the slot is empty, the output on /sys/kernel/debug/mmc2/ios is acting erratically like in the attached GIF (top: MMC2, bottom: MMC0).
Can someone suggest what may be causing this?
The device tree looks like this (mmc3 dts is mmc2 in rootfs):
&mmc3 {
status = "okay";
pinctrl-names = "default", "hs";
pinctrl-0 = <&mmc3_pins_default>;
pinctrl-1 = <&mmc3_pins_hs>;
vmmc-supply = <&v3_3d>;
vqmmc-supply = <&v3_3d>;
disable-wp;
};