wifi sdio imx6ul problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

wifi sdio imx6ul problem

1,712 次查看
vladimirchernin
Contributor III

Hi!

We have our custom board with QCA9377  wifi chipset based on imx6ull evk

the chip connected via SDIO on board 

below its device tree 

&usdhc2 {
label = "MMC1";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_wifi>;
cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
no-1-8-v;
vmmc-supply = <&reg_sd2_vmmc>;
bus-width = <4>;
non-removable;
status = "okay";

};

pinctrl_usdhc2: usdhc2grp {
fsl,pins = <
MX6UL_PAD_LCD_DATA18__USDHC2_CMD 0x17059
MX6UL_PAD_LCD_DATA19__USDHC2_CLK 0x17059
MX6UL_PAD_LCD_DATA20__USDHC2_DATA0 0x17059
MX6UL_PAD_LCD_DATA21__USDHC2_DATA1 0x17059
MX6UL_PAD_LCD_DATA22__USDHC2_DATA2 0x17059
MX6UL_PAD_LCD_DATA23__USDHC2_DATA3 0x17059
//MX6UL_PAD_UART1_RTS_B__USDHC2_CD_B 0x17059
>;
};

And problem  chip is not power up during Linux boot 

on the board there is pin MX6UL_PAD_UAuRT1_RTS_B__GPIO1_IO19 

its SD card select and there is pull up resistor on the pin.

if we remove pull up resistor udev recognizes the chip  driver load the firmware and everything 

works 

the pin MX6UL_PAD_UART1_RTS_B__GPIO1_IO19  is not used by software 

Please help us to understand the problem? 

Regards

Vladimir Chernin

标签 (2)
2 回复数

981 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Vladimir 

card detection properties are described in attached Linux Manual

sect.32.2.3 Devicetree Binding

Best regards
igor

0 项奖励

981 次查看
fabio_estevam
NXP Employee
NXP Employee

You should remove the "cd-gpios" property from your device tree.

 

cd-gpios is for card detection on SD cards. eMMC does not use card detection and you already pass "non-removable;".

0 项奖励