aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorArınç ÜNAL <arinc.unal@arinc9.com>2022-11-29 00:33:37 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2023-02-03 14:20:33 +0100
commit3fd3d99e3aafaf7ba7a72b32682ae3a60cf56cd8 (patch)
tree28d99163224a2707013f58b4b3aca62af3767e40 /target
parent212c3ffdfcb311272c33a720a10ff53429602806 (diff)
downloadupstream-3fd3d99e3aafaf7ba7a72b32682ae3a60cf56cd8.tar.gz
upstream-3fd3d99e3aafaf7ba7a72b32682ae3a60cf56cd8.tar.bz2
upstream-3fd3d99e3aafaf7ba7a72b32682ae3a60cf56cd8.zip
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 <petr.louda@outlook.cz> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> (cherry picked from commit 5155200f97adaeaaac7b752b5a6a5e41cba3db6a)
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts2
1 files changed, 1 insertions, 1 deletions
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 = <&ethphy5>;
nvmem-cells = <&macaddr_factory_e000>;
@@ -127,7 +128,6 @@
&mdio {
ethphy5: ethernet-phy@5 {
reg = <5>;
- phy-mode = "rgmii-rxid";
};
};