This patch enables switch auto-detction for mt7981 as some new mt7981 boards will use AN8855 ethernet switch.
Signed-off-by: Weijie Gao <weijie....@mediatek.com> --- 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.34.1