commit | 283fc450e3822a16e5586922ede7d470fc2355a0 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Thu Aug 18 19:50:33 2022 +0800 |
committer | developer <developer@mediatek.com> | Thu Aug 18 20:04:56 2022 +0800 |
tree | c9c64d0b0a57cfe885756c22138c1bf4e06329c9 | |
parent | dac6ac737cd0448087993bf186d1435faa49c8ee [diff] [blame] |
[][kernel][mt7986][eth][Rollback external PHY0 DTS configuratoin] [Description] Rollback external PHY0 DTS configuratoin. If without this patch, Switch(SGMII0) will link down when LAN5 does not link up 2.5G. [Release-log] N/A Change-Id: Ief87c73c7e39a592475294e8a81946b85c7844c3 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6396148
diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-2500wan-sd-rfb.dts b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-2500wan-sd-rfb.dts index 153ac09..6de3edc 100644 --- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-2500wan-sd-rfb.dts +++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-2500wan-sd-rfb.dts
@@ -88,7 +88,15 @@ compatible = "mediatek,eth-mac"; reg = <0>; phy-mode = "2500base-x"; - phy-handle = <&phy5>; + + fixed-link { + speed = <2500>; + full-duplex; + pause; + link-gpio = <&pio 47 0>; + phy-handle = <&phy5>; + label = "lan5"; + }; }; gmac1: mac@1 { @@ -106,7 +114,7 @@ reset-delay-us = <600>; phy5: phy@5 { - compatible = "ethernet-phy-ieee802.3-c45"; + compatible = "ethernet-phy-id67c9.de0a"; reg = <5>; };