arm64/imx9: Add missing ENET1 RGMII TXC pin muxing

MUX_ENET1_TXC was missing from both the EVK board
definition and the IO muxing configuration function
of the ENET1 driver. As a result, transmission does
not work (unless the muxing is set by default in some
board? -not the case with EVK). This commit adds the
configuration and adds the definition to i.MX93 EVK.

WARN: other, out-of-tree i.MX93 boards need to define
MUX_ENET1_TXC accordingly, otherwise build will break.

Signed-off-by: George Poulios <gpoulios@census-labs.com>
This commit is contained in:
George Poulios 2025-06-04 11:21:20 +03:00 committed by Alin Jerpelea
parent 08f41244bc
commit e382e2d525
2 changed files with 2 additions and 0 deletions

View file

@ -3032,6 +3032,7 @@ static void imx9_enet_mux_io(void)
imx9_iomux_configure(MUX_ENET1_TX_DATA02);
imx9_iomux_configure(MUX_ENET1_TX_DATA03);
imx9_iomux_configure(MUX_ENET1_RXC);
imx9_iomux_configure(MUX_ENET1_TXC);
imx9_iomux_configure(MUX_ENET1_TX_CTL);
imx9_iomux_configure(MUX_ENET1_RX_CTL);
# else /* RMII */

View file

@ -194,6 +194,7 @@
# define MUX_ENET1_TX_DATA02 IOMUX_CFG(IOMUXC_PAD_ENET2_TD2_ENET1_RGMII_TD2, IOMUXC_PAD_FSEL_FAST | IOMUXC_PAD_DSE_X6, 0)
# define MUX_ENET1_TX_DATA03 IOMUX_CFG(IOMUXC_PAD_ENET2_TD3_ENET1_RGMII_TD3, IOMUXC_PAD_FSEL_FAST | IOMUXC_PAD_DSE_X6, 0)
# define MUX_ENET1_RXC IOMUX_CFG(IOMUXC_PAD_ENET2_RXC_ENET1_RGMII_RXC, 0, 0)
# define MUX_ENET1_TXC IOMUX_CFG(IOMUXC_PAD_ENET2_TXC_ENET1_RGMII_TXC, IOMUXC_PAD_FSEL_FAST | IOMUXC_PAD_DSE_X6, 0)
# define MUX_ENET1_TX_CTL IOMUX_CFG(IOMUXC_PAD_ENET2_TX_CTL_ENET1_RGMII_TX_CTL, IOMUXC_PAD_FSEL_FAST | IOMUXC_PAD_DSE_X6, 0)
# define MUX_ENET1_RX_CTL IOMUX_CFG(IOMUXC_PAD_ENET2_RX_CTL_ENET1_RGMII_RX_CTL, 0, 0)