mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 16:01:27 +00:00
net: dwc_eth_qos: add i.MX93 support
Add support for DWC EQoS MAC on i.MX93. Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
This commit is contained in:
parent
85053a1c14
commit
9e1f79bd69
2 changed files with 7 additions and 0 deletions
|
@ -1711,6 +1711,10 @@ static const struct udevice_id eqos_ids[] = {
|
||||||
.compatible = "nxp,imx8mp-dwmac-eqos",
|
.compatible = "nxp,imx8mp-dwmac-eqos",
|
||||||
.data = (ulong)&eqos_imx_config
|
.data = (ulong)&eqos_imx_config
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.compatible = "nxp,imx93-dwmac-eqos",
|
||||||
|
.data = (ulong)&eqos_imx_config
|
||||||
|
},
|
||||||
#endif
|
#endif
|
||||||
#if IS_ENABLED(CONFIG_DWC_ETH_QOS_ROCKCHIP)
|
#if IS_ENABLED(CONFIG_DWC_ETH_QOS_ROCKCHIP)
|
||||||
{
|
{
|
||||||
|
|
|
@ -181,6 +181,9 @@ static int eqos_set_tx_clk_speed_imx(struct udevice *dev)
|
||||||
ulong rate;
|
ulong rate;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
if (device_is_compatible(dev, "nxp,imx93-dwmac-eqos"))
|
||||||
|
return 0;
|
||||||
|
|
||||||
debug("%s(dev=%p):\n", __func__, dev);
|
debug("%s(dev=%p):\n", __func__, dev);
|
||||||
|
|
||||||
if (eqos->phy->interface == PHY_INTERFACE_MODE_RMII)
|
if (eqos->phy->interface == PHY_INTERFACE_MODE_RMII)
|
||||||
|
|
Loading…
Add table
Reference in a new issue