From 3fd3d99e3aafaf7ba7a72b32682ae3a60cf56cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= Date: Tue, 29 Nov 2022 00:33:37 +0300 Subject: [PATCH] ramips: mt7621-dts: fix phy-mode of external phy on GB-PC2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The phy-mode property must be defined on the MAC instead of the PHY. Define phy-mode under gmac1 which the external phy is connected to. Tested-by: Petr Louda Signed-off-by: Arınç ÜNAL (cherry picked from commit 5155200f97adaeaaac7b752b5a6a5e41cba3db6a) --- target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts b/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts index 6199511cff8..c18f1025022 100644 --- a/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts +++ b/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts @@ -118,6 +118,7 @@ &gmac1 { status = "okay"; label = "ethyellow"; + phy-mode = "rgmii-rxid"; phy-handle = <ðphy5>; nvmem-cells = <&macaddr_factory_e000>; @@ -127,7 +128,6 @@ &mdio { ethphy5: ethernet-phy@5 { reg = <5>; - phy-mode = "rgmii-rxid"; }; };