[PATCH] arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
Daniel Baluta
daniel.baluta at nxp.com
Fri Nov 27 05:52:36 PST 2026
From: Fugang Duan <fugang.duan at nxp.com>
The i.MX8QM ENET0 pads used by fec1 support 1.8V or 3.3V operation,
and their compensation control pad (COMP_CTL_GPIO_1V8_3V3_ENET_ENETB)
must match the I/O supply. For 1.8V or 3.3V the datasheet requires
PSW_OVR = 0 and COMP = 0b000.
The fec1 pinctrl group never configures this pad, so its state depends
on the boot firmware. fec2 already sets the equivalent ENETA pad to
0x000014a0, which programs COMP = 0b000 with no override bits set.
On the MEK, the ENET0 pads are supplied from VCC_ENET0_1V8, so use the
same value for fec1 to configure the pad group explicitly.
Signed-off-by: Fugang Duan <fugang.duan at nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta at nxp.com>
---
arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
index baf4dbb5cab08..613130cbc8474 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
+++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
@@ -1075,6 +1075,7 @@ IMX8QM_ESAI0_TX5_RX0_AUD_ESAI0_TX5_RX0 0xc6000040
pinctrl_fec1: fec1grp {
fsl,pins = <
+ IMX8QM_COMP_CTL_GPIO_1V8_3V3_ENET_ENETB_PAD 0x000014a0
IMX8QM_ENET0_MDC_CONN_ENET0_MDC 0x06000020
IMX8QM_ENET0_MDIO_CONN_ENET0_MDIO 0x06000020
IMX8QM_ENET0_RGMII_TX_CTL_CONN_ENET0_RGMII_TX_CTL 0x06000020
--
2.45.2
More information about the linux-arm-kernel
mailing list