diff options
author | Sébastien Szymanski <sebastien.szymanski@armadeus.com> | 2023-10-17 11:44:58 +0200 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2023-12-13 09:48:03 -0300 |
commit | 9e1f79bd694b277bff44578b8bfc597e29e5350a (patch) | |
tree | 41478382503898a30cc1768e509b3e9bda779d05 | |
parent | 85053a1c14cb2c132dc80ac1dae8203d121b0932 (diff) |
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>
-rw-r--r-- | drivers/net/dwc_eth_qos.c | 4 | ||||
-rw-r--r-- | drivers/net/dwc_eth_qos_imx.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index a4e3698c60..e40e399c80 100644 --- a/drivers/net/dwc_eth_qos.c +++ b/drivers/net/dwc_eth_qos.c @@ -1711,6 +1711,10 @@ static const struct udevice_id eqos_ids[] = { .compatible = "nxp,imx8mp-dwmac-eqos", .data = (ulong)&eqos_imx_config }, + { + .compatible = "nxp,imx93-dwmac-eqos", + .data = (ulong)&eqos_imx_config + }, #endif #if IS_ENABLED(CONFIG_DWC_ETH_QOS_ROCKCHIP) { diff --git a/drivers/net/dwc_eth_qos_imx.c b/drivers/net/dwc_eth_qos_imx.c index 60f3f3f5a1..e3f55dd981 100644 --- a/drivers/net/dwc_eth_qos_imx.c +++ b/drivers/net/dwc_eth_qos_imx.c @@ -181,6 +181,9 @@ static int eqos_set_tx_clk_speed_imx(struct udevice *dev) ulong rate; int ret; + if (device_is_compatible(dev, "nxp,imx93-dwmac-eqos")) + return 0; + debug("%s(dev=%p):\n", __func__, dev); if (eqos->phy->interface == PHY_INTERFACE_MODE_RMII) |