Skip to contentSkip to conversation

arm: dts: imx6qdl-udoo: fix rgmii phy-mode for ksz9031 phy

PATCH Superseded Sergey Matyukevich 2 participants 2 messages Oct 20, 2020 – Oct 23, 2020

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm: dts: imx6qdl-udoo: fix rgmii phy-mode for ksz9031 phy

Commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") fixed micrel phy driver adding proper support for phy modes. Adapt imx6q-udoo board phy settings accordingly: explicitly set required delay configuration using "rgmii-id".

Fixes bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY")

---

v1 -> v2
- add Fixes tag to commit message

 arch/arm/boot/dts/imx6qdl-udoo.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx6qdl-udoo.dtsi +1 -1
index c9e122865312..050642d7c582 100644
@@ -98,7 +98,7 @@ sound {
 &fec {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_enet>;
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 	status = "okay";
 };
 
Signature · 1 line
2.28.0
reviewer
#1 lore raw

Hi Sergey,

Quoted 7 lines · Sergey Matyukevich

Commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") fixed micrel phy driver adding proper support for phy modes. Adapt imx6q-udoo board phy settings accordingly: explicitly set required delay configuration using "rgmii-id".

Fixes bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY")

This commit exposed the issue, but the Fixes tag should be the commit that introduced Ethernet support on udoo board.

This is similar to the fix in 0672d22a1924 ("ARM: dts: imx: Fix the AR803X phy-mode").