]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
mediatek: mt7981: enable ethernet switch auto-detction
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 5 Feb 2025 01:24:37 +0000 (09:24 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 10 Feb 2025 16:28:31 +0000 (10:28 -0600)
This patch enables switch auto-detction for mt7981 as some new mt7981
boards will use AN8855 ethernet switch.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/arm/dts/mt7981-emmc-rfb.dts
arch/arm/dts/mt7981-rfb.dts
arch/arm/dts/mt7981-sd-rfb.dts

index 67f178bc23264f4bb17a83588d5b59de7f331282..ebfcee5a2ea0a8e4c3d0ce2f6957c70e0be17f7f 100644 (file)
@@ -47,7 +47,7 @@
        status = "okay";
        mediatek,gmac-id = <0>;
        phy-mode = "2500base-x";
-       mediatek,switch = "mt7531";
+       mediatek,switch = "auto";
        reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
 
        fixed-link {
index 08e1b76b4739ef15601db912338216b8f71bcb4b..17e6b5af7a2b682ab0fc8f1b86f96067e52a4ca3 100644 (file)
@@ -38,7 +38,7 @@
        status = "okay";
        mediatek,gmac-id = <0>;
        phy-mode = "2500base-x";
-       mediatek,switch = "mt7531";
+       mediatek,switch = "auto";
        reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
 
        fixed-link {
index 2f43e65ac5bc558fdba1d7f970e5852e74fbdd3f..672124657caa3bf4880d5c1e54f6a92831ee9393 100644 (file)
@@ -47,7 +47,7 @@
        status = "okay";
        mediatek,gmac-id = <0>;
        phy-mode = "2500base-x";
-       mediatek,switch = "mt7531";
+       mediatek,switch = "auto";
        reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>;
 
        fixed-link {