I have built zeus 3.0 yocto image for imx8mn-dvk and I’m trying connect WiFi module CYW43455 via SDIO interface (plugged as sdCard - usdhc2 interface).
I have configured usdhc2 in device-tree according to MMC/SD/SDIO insctruction on Digi documentation but I can’t run module with brcmfmac.ko driver.
I can’t see this message in dmesg:
mmc1 new high speed SDIO card at address 0001
cat /sys/kernel/debug/mmc1/ios
clock: 0 Hz
vdd: 0 (invalid)
bus mode: 2 (push-pull)
chip select: 0 (don’t care)
power mode: 0 (off)
bus width: 0 (1 bits)
timing spec: 0 (legacy)
signal voltage: 0 (3.30 V)
driver type: 0 (driver type B)
I wonder if the information should appear after booting or after starting the driver?
When I boot system with sdCard it’s shows this:
[ 2.910610] mmc1: new high speed SDHC card at address 5048
Device tree configuration:
/* External wifi module - SDIO */
&usdhc2 {
pinctrl-names = “default”, “state_100mhz”, “state_200mhz”;
pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>,
<&pinctrl_usdhc2_vsel>;
pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>,
<&pinctrl_usdhc2_vsel>;
pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>,
<&pinctrl_usdhc2_vsel>;
non-removable;
no-1-8-v;
bus-width = <4>;
vmmc-supply = <®_rf_wl_en_2>;
cd-gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
status = “okay”;
};
reg_rf_wl_en_2: regulator@8 {
compatible = “regulator-fixed”;
reg = <8>;
pinctrl-names = “default”;
pinctrl-0 = <&pinctrl_reg_3v3_rf>;
regulator-name = “rf_wl_en_2”;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
startup-delay-us = <100>;
vin-supply = <®_3v3_rf>;
status = “okay”;
};
pinctrl_usdhc2_vsel: usdhc2grp_vsel {
fsl,pins = <
MX8MN_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0
>;
};
pinctrl_usdhc2: usdhc2grp {
fsl,pins = <
MX8MN_IOMUXC_SD2_CLK_USDHC2_CLK 0x190
MX8MN_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d0
MX8MN_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d0
MX8MN_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d0
MX8MN_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d0
MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d0
>;
};
Thanks for help.