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 = <®_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
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;".