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

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

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

Jump to solution
951 Views
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.

Labels (1)
0 Kudos
1 Solution
943 Views
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

View solution in original post

0 Kudos
2 Replies
944 Views
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 Kudos
936 Views
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 Kudos