aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-04-30 04:01:12 +0100
committerDaniel Golle <daniel@makrotopia.org>2023-04-30 17:27:00 +0100
commit3221128639e43d5bcf3a06eda769350a75b3dc72 (patch)
treed37c5545ca5ff57e5eaef6921ee4ce4d16e82732 /target
parent28b3a5e6b5b17520d62745cac5cfa07e4793fe5c (diff)
downloadupstream-3221128639e43d5bcf3a06eda769350a75b3dc72.tar.gz
upstream-3221128639e43d5bcf3a06eda769350a75b3dc72.tar.bz2
upstream-3221128639e43d5bcf3a06eda769350a75b3dc72.zip
mediatek: no longer hard-code WAN PHY of Netgear WAX206
The RealTek 2.5G PHY providing the WAN port of the Netgear WAX206 has previously been hard-coded in the device tree. Now that the PHY can be probed correctly also via Clause-45 MDIO, use that instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target')
-rw-r--r--target/linux/mediatek/dts/mt7622-netgear-wax206.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mediatek/dts/mt7622-netgear-wax206.dts b/target/linux/mediatek/dts/mt7622-netgear-wax206.dts
index 3846fabbed..9e877b85f1 100644
--- a/target/linux/mediatek/dts/mt7622-netgear-wax206.dts
+++ b/target/linux/mediatek/dts/mt7622-netgear-wax206.dts
@@ -185,7 +185,7 @@
nvmem-cells = <&macaddr_factory_7fffa>;
nvmem-cell-names = "mac-address";
phy-handle = <&rtl8221b_phy>;
- phy-mode = "sgmii";
+ phy-mode = "2500base-x";
reg = <5>;
};
@@ -204,7 +204,7 @@
};
rtl8221b_phy: ethernet-phy@7 {
- compatible = "ethernet-phy-id001c.c849";
+ compatible = "ethernet-phy-ieee802.3-c45";
reg = <7>;
reset-gpios = <&pio 101 GPIO_ACTIVE_LOW>;
interrupts = <52 IRQ_TYPE_LEVEL_HIGH>;