[PATCH 0/3] arm64: mx93: etherrnet: set TX_CLK in RMII mode
From: Steffen Trumtrar
Date: Mon Apr 22 2024 - 04:46:50 EST
This series adds support for setting the TX_CLK direction in the eQOS
ethernet core on the i.MX93 when RMII mode is used.
According to AN14149, when the i.MX93 ethernet controller is used in
RMII mode, the TX_CLK *must* be set to output mode.
Add a devicetree property with the register to set this bit and parse it
in the dwmac-imx driver.
Signed-off-by: Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx>
---
Steffen Trumtrar (3):
dt-bindings: net: mx93: add enet_clk_sel binding
arm64: dts: imx93: add enet_clk_sel
net: stmicro: imx: set TX_CLK direction in RMII mode
.../devicetree/bindings/net/nxp,dwmac-imx.yaml | 10 ++++++++
arch/arm64/boot/dts/freescale/imx93.dtsi | 1 +
drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c | 27 ++++++++++++++++++++++
3 files changed, 38 insertions(+)
---
base-commit: 4cece764965020c22cff7665b18a012006359095
change-id: 20240422-v6-9-topic-imx93-eqos-rmii-3a2cb421c81d
Best regards,
--
Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx>