From 738deb56b6f11118813cc94e5d3b34650bc5a447 Mon Sep 17 00:00:00 2001 From: Weijie Gao Date: Wed, 5 Feb 2025 09:24:37 +0800 Subject: [PATCH] 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 --- arch/arm/dts/mt7981-emmc-rfb.dts | 2 +- arch/arm/dts/mt7981-rfb.dts | 2 +- arch/arm/dts/mt7981-sd-rfb.dts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 { -- 2.39.5