cancel
Showing results for 
Search instead for 
Did you mean: 

LAN8720 Device Tree changes

NPal.2
Senior

HI all,

We are using LAN8720 as the ethernet PHY for connectivity.

The IC has 25MHz crystal connected for the refclk and we want to run in RMII mode.

We have requirement of not using the INT_N for the ethernet IC.

Upon exploring the ST Docs I was not able to figure out the same.

What should be the correct device tree configuration for the same? We need to get it up correctly for each of TF-A , U-BOOT and Kernel ? So looking for answer around the same for device tree changes for each of these.

LAN8720 + RMII Mode + REFCLK with no using the INT_N interface.

Really appreciate the help.

1 REPLY 1
PatrickF
ST Employee

Hi,

Sound like this would be ok for you :https://wiki.st.com/stm32mpu/wiki/Ethernet_device_tree_configuration#RMII_with_Crystal_on_PHY_-28Reference_clock_-28standard_RMII_clock_name-29_is_provided_by_a_Phy_Crystal-29

  • RMII PHY with a 25MHz Crystal on it
  • Will provide 50MHz from PHY to STM32MP15 REFCLK input pin.

For PHY_INITN pin, if not used, just forget it in the pinmux node (we don't use it on our boards, even if present on the HW).

Maybe some more info in AN5031.

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.