arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
Subsystems (2)
PATCH 1/1 arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
From: Fugang Duan <[email protected]>
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.
--- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx8qm-mek.dts +1 -0
@@ -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
Signature · 1 line
2.45.2
[email protected]
AI reviewThank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] arm64: dts: imx8qm-mek: missing Fixes trailer for fec1 pad compensation fix --
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] arm64: dts: imx8qm-mek: missing Fixes trailer for fec1 pad compensation fix
--
commit 16a1be06255fa85636ee660e513ea61881c625f2
Author: Fugang Duan <[email protected]>
Quoted 11 lines
arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
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 requiresPSW_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.
Quoted 5 lines
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 <[email protected]>Signed-off-by Daniel Baluta <[email protected]>
[Severity: Low]
This fixes a missing pad configuration in pinctrl_fec1. Should this include:
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 5 lines · On 11/27/26 15:56, [email protected] wrote:
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] arm64: dts: imx8qm-mek: missing Fixes trailer for fec1 pad compensation fix
--
Frank should we really add a fixes tag to this? fec1 works today because we get a working pad configuration from uboot and it was never a problem.
This patch only makes the configuration explicit and aligns it with fec2.
Quoted 27 lines
commit
16a1be06255fa85636ee660e513ea61881c625f2
Author: Fugang Duan <[email protected]>Quoted 11 lines
arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
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 requiresPSW_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.Quoted 5 lines
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 <[email protected]>Signed-off-by Daniel Baluta <[email protected]>[Severity: Low]
This fixes a missing pad configuration inpinctrl_fec1. Should this include:Fixes 307fd14d4b14 ("arm64: dts: imx: add imx8qm mek support")
Quoted 11 lines · Daniel Baluta
Quoted 5 lines · On 11/27/26 15:56, [email protected] wrote:
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] arm64: dts: imx8qm-mek: missing Fixes trailer for fec1 pad compensation fix
--Frank should we really add a fixes tag to this? fec1 works today because we get a working pad configuration from uboot and it was never a problem.
This patch only makes the configuration explicit and aligns it with fec2.
Needn't fix tag for this case.
Frank
Quoted 30 lines
Quoted 28 lines
commit
16a1be06255fa85636ee660e513ea61881c625f2
Author: Fugang Duan <[email protected]>Quoted 11 lines
arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
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 requiresPSW_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.Quoted 5 lines
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 <[email protected]>Signed-off-by Daniel Baluta <[email protected]>[Severity: Low]
This fixes a missing pad configuration inpinctrl_fec1. Should this include:Fixes 307fd14d4b14 ("arm64: dts: imx: add imx8qm mek support")
[email protected]
AppliedFrom: Frank Li <[email protected]>
Quoted 10 lines · Daniel Baluta
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 requiresPSW_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.[...]
Applied, thanks!
[1/1] arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
commit: 23584f71d97a5af1377b3fdced7dd1bd82909f07
Best regards,
Signature · 1 line
Frank Li <[email protected]>