mbox series

[net-next,0/2] net:axienet: Add a DT property to configure frequency of the MDIO bus

Message ID 20221020094106.559266-1-andy.chiu@sifive.com (mailing list archive)
Headers show
Series net:axienet: Add a DT property to configure frequency of the MDIO bus | expand

Message

Andy Chiu Oct. 20, 2022, 9:41 a.m. UTC
Some FPGA platforms have to set frequency of the MDIO bus lower than 2.5
MHz. Thus, we add a DT property to work with them at boot time. The
default 2.5 MHz would be set if the property is not pressent.

Andy Chiu (2):
  net:xilinx_axi: set mdio frequency according to DT
  dt-bindings: add mdio frequency description

 .../bindings/net/xilinx_axienet.txt           |  3 +++
 .../net/ethernet/xilinx/xilinx_axienet_mdio.c | 25 ++++++++++++++++---
 2 files changed, 24 insertions(+), 4 deletions(-)