From: Weijie Gao Date: Wed, 5 Feb 2025 01:24:37 +0000 (+0800) Subject: mediatek: mt7981: enable ethernet switch auto-detction X-Git-Tag: v2025.04-rc2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=738deb56b6f11118813cc94e5d3b34650bc5a447;p=pandora-u-boot.git mediatek: mt7981: enable ethernet switch auto-detction This patch enables switch auto-detction for mt7981 as some new mt7981 boards will use AN8855 ethernet switch. Signed-off-by: Weijie Gao --- diff --git a/arch/arm/dts/mt7981-emmc-rfb.dts b/arch/arm/dts/mt7981-emmc-rfb.dts index 67f178bc232..ebfcee5a2ea 100644 --- a/arch/arm/dts/mt7981-emmc-rfb.dts +++ b/arch/arm/dts/mt7981-emmc-rfb.dts @@ -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 { diff --git a/arch/arm/dts/mt7981-rfb.dts b/arch/arm/dts/mt7981-rfb.dts index 08e1b76b473..17e6b5af7a2 100644 --- a/arch/arm/dts/mt7981-rfb.dts +++ b/arch/arm/dts/mt7981-rfb.dts @@ -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 { diff --git a/arch/arm/dts/mt7981-sd-rfb.dts b/arch/arm/dts/mt7981-sd-rfb.dts index 2f43e65ac5b..672124657ca 100644 --- a/arch/arm/dts/mt7981-sd-rfb.dts +++ b/arch/arm/dts/mt7981-sd-rfb.dts @@ -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 {