IMX8MQ boot failed if usdhc2 is enabled at device tree .

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8MQ boot failed if usdhc2 is enabled at device tree .

591 Views
subzero
Contributor I

Hi everyone,

hoped someone out there could help. Im trying get my SDIO WIFI running at usdhc2 , but while enabling

the usdhc2 , the boot stop at "Waiting for root device /dev/mmcblk0p2...".

I have no idea what the relation between "dev/mmcblk0p2" and usdhc2 . 

"dev/mmcblk0p2" is from MMC1 at node usdhc1, why would inserting status = "okay"; at usdhc2 would cause Waiting for root device /dev/mmcblk0p2...".

The board boot up perfectly if" usdhc2 is status = "disabled" . 

 

Current platform:

Yocto NXP i.MX Release Distro 5.4-zeus imx8mqevk ttymxc0.

Hardware custom board:

Soc: IMX8mq

main boot fuse to : MMC1 usdhc1

** usdhc2 sd regulator has no dedicated reset gpio like the imx8mq evk board. 3.3 power are feed at fixed power on.

Devicetree:

&usdhc1 {
pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc1>;
pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
vqmmc-supply = <&sw4_reg>;
bus-width = <8>;
non-removable;
no-sd;
no-sdio;
status = "okay";
};

 

&usdhc2 {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc2_wifi>;
bus-width = <4>;
non-removable;
no-mmc;
no-sd;
/delete-property/ cd-gpios;
pm-ignore-notify;
keep-power-in-suspend;
non-removable;
cap-power-off-card;
status = "okay";
wilc_sdio: wifi@0 {
reg = <0>;
compatible = "microchip,wilc1000", "microchip,wilc3000";
irq-gpios = <&gpio2 12 0>;
reset-gpios = <&gpio2 19 0>;
chip_en-gpios = <&gpio1 4 0>;
status = "okay";
};

};

 

 

Thanks

Nidaru

 

 

0 Kudos
Reply
1 Reply

568 Views
joanxie
NXP TechSupport
NXP TechSupport
what i.mx8mq board do you use? Rev A or Rev B?
0 Kudos
Reply