How to set USDHC2 to GPIO. in iMX8M Mini?

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

How to set USDHC2 to GPIO. in iMX8M Mini?

1,276 次查看
Kecy
Contributor I

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 项奖励
回复
3 回复数

1,257 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Could you share the uboot log when you attempt to flash using UUU?
Are you trying this on an EVK or is it a custom board?

Best regards,
Aldo.

0 项奖励
回复

1,271 次查看
kef2
Senior Contributor V

disabled

0 项奖励
回复

1,269 次查看
Kecy
Contributor I

Modify to disabled,But still not ok

0 项奖励
回复