how does disable usdhc2 in uboot (imx8mm L4.14.98)

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

how does disable usdhc2 in uboot (imx8mm L4.14.98)

544 Views
nxf65233
NXP Employee
NXP Employee

Hi team

 

BSP:L4.14.98

 

How to disable USDHC2 in iMX8M Mini?

Disable SD card startup and only use EMMC startup.

Because I want to set USDHC2 to GPIO.

 

uboot dts be modified as follows

 

&usdhc2 {
pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
bus-width = <4>;
non-removable;
vmmc-supply = <&reg_usdhc2_vmmc>;
status = "disable";
};

 

But I am using uuu -b emmc flash.bin and cannot write it to EMMC.

Can you tell me why?

How should I disable usdhc2 in uboot?

 

Thanks.

0 Kudos
1 Reply

389 Views
Kecy
Contributor I

hi

I have the same problem. Have you solved it

0 Kudos