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/AM5728: mmc2: error -110 whilst initialising SDIO card, wl1835 pinmux and device tree configuration ?

Part Number: AM5728
Other Parts Discussed in Thread: WL1835, , WL1835MOD, TMDSEVM572X

Tool/software: Linux

Hello,

We are trying to integrate the wifi chip, but we get the following error message:

mmc2: error -110 whilst initialising SDIO card

We have the following device tree configuration:

wlan_en_reg: fixedregulator@2 {
compatible = "regulator-fixed";
regulator-name = "wlan-en-regulator";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;

/* WLAN_EN GPIO for this board - Bank1, pin31 */
gpio = <&gpio1 31 0>;

/* WLAN card specific delay */
startup-delay-us = <70000>;
enable-active-high;
};

wlan_pins_default: pinmux_wlan_pins_default {
pinctrl-single,pins = <0x064 0x1000e 0x2f0 0x5000e>;

};

mmc@480ad000 {
compatible = "ti,dra7-sdhci";
reg = <0x480ad000 0x400>;
interrupts = <0x0 0x59 0x4>;
ti,hwmods = "mmc3";
status = "okay";
vmmc-supply = <&wlan_en_reg>;
vqmmc-supply = <&wlan_en_reg>;
max-frequency = <0x3d09000>;
sdhci-caps-mask = <0x0 0x400000>;
bus-width = <4>;
pinctrl-names = "default", "hs"; 
pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>;
pinctrl-1 = <&mmc3_pins_hs &wlan_pins_default>;

ti,non-removable;
ti,needs-special-hs-handling;
cap-power-off-card;
keep-power-in-suspend;

#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@0 {
compatible = "ti,wl1835";
reg = <2>;
interrupt-parent = <&gpio6>;
interrupts = <6 1>;
};
};

How could we debug the error? Is it related to pinmux configuration? device tree?

Thank you