Tool/software:
Hi,
I have the following config for my cc33xx chip, where I use BT/wlan over sdio:
reg_wlan_en: regulator-wlan {
compatible = "regulator-fixed";
regulator-name = "regulator-wlan";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
startup-delay-us = <1000>; /* HW init grace period */
gpio = <&gpio1 6 GPIO_ACTIVE_LOW>; //GPIO33
enable-active-low;
/*regulator-always-on;*/ /* Keeps the reset pin de-asserted (high) if regulator is not in use */
};
/* SDIO WiFi */
&usdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc1>;
bus-width = <4>;
cap-power-off-card;
keep-power-in-suspend;
non-removable;
no-sd;
no-mmc;
no-mmc-hs400;
wakeup-source;
vmmc-supply = <®_wlan_en>;
status = "okay";
// cc3351: 6.19 Interface Timing Characteristics
max-frequency = <52000000>;
#address-cells = <1>;
#size-cells = <0>;
btti: btti@1 {
compatible = "ti,cc33xxbt";
reg = <1>;
};
wlcore: wlcore@2 {
compatible = "ti,cc33xx";
reg = <2>;
};
};
pinctrl_usdhc1: usdhc1grp {
fsl,pins = <
MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x190
MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d0
MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d0
MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d0
MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d0
MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d0
MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x140
>;
};
Which works fine with only hard/cold restart, but when doing soft reboot, I get the following error from sdio card:
[ 2.239044] mmc0: error -5 whilst initialising SDIO card
Any ideas?
Regards and thanks,
Mohamed