From: Arınç ÜNAL Date: Mon, 28 Nov 2022 21:33:37 +0000 (+0300) Subject: ramips: mt7621-dts: fix phy-mode of external phy on GB-PC2 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5155200f97adaeaaac7b752b5a6a5e41cba3db6a;p=openwrt%2Fstaging%2Fjow.git ramips: mt7621-dts: fix phy-mode of external phy on GB-PC2 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 --- diff --git a/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts b/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts index 6199511cff..c18f102502 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"; }; };