i.mx8m mini ethernet reset pin pulled low after boot up

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

i.mx8m mini ethernet reset pin pulled low after boot up

跳至解决方案
2,917 次查看
Rajender
Contributor I

Hi,

We have designed a custom board with i.mx8m mini with RTL8211FDI realtek ethernet PHY IC. We have connected GPIO4_IO22 to ethernet PHY reset pin. 4.7k ohm pull up resistor is placed on this net.

 

During boot up, Reset pin of ethernet phy is pulled up but after completion of booting Reset pin is pulled to low and ethernet phy is not turning on. 

We have taken i.mx8m plus as reference in schematic and device tree (as it uses same ethernet PHY). 

We tried to keep GPIO internal pull up high but still observed same.

 

Please guide us how to proceed on this.

 

Thanks,

Rajender.

标签 (1)
0 项奖励
回复
1 解答
2,909 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Rajender

 

what uboot used in the case, in nxp uboot one can try to debug it in function fec_gpio_reset() :

https://source.codeaurora.org/external/imx/uboot-imx/tree/drivers/net/fec_mxc.c?h=lf_v2021.04

 

Best regards
igor

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,910 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Rajender

 

what uboot used in the case, in nxp uboot one can try to debug it in function fec_gpio_reset() :

https://source.codeaurora.org/external/imx/uboot-imx/tree/drivers/net/fec_mxc.c?h=lf_v2021.04

 

Best regards
igor

0 项奖励
回复
2,902 次查看
Rajender
Contributor I

Hi Igor,

Thanks for the reply!

We are using uboot : U-Boot 2020.04-5.4.70-2.3.3+g44f5949dd9. We are not able to detect PHY in U-boot, But we are able to detect RTL8211F as per kernel log, we are getting following lines in kernel dmesg log but we don't see any link activity on ethernet port. 

RTL8211F Gigabit Ethernet 30be0000.ethernet-1:01: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=30be0000.ethernet-1:01, irq=POLL)

I am attaching U-boot screen shot with this 

Rajender_0-1639388131513.png

 

0 项奖励
回复