From: Shiji Yang Date: Sat, 25 Jan 2025 11:16:48 +0000 (+0800) Subject: uboot-mediatek: enable auto switch chip detect for Xiaomi AX3000T X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b85c5f681759d1488725609e82b5b556e3d320a3;p=openwrt%2Fstaging%2Fstintel.git uboot-mediatek: enable auto switch chip detect for Xiaomi AX3000T The Xiaomi AX3000T has two hardware revisions. One uses MT7531 switch, and the other uses AN8855 switch. Set "mediatek,switch" property to "auto" to be compatible with different switches. Tested-by: Mikhail Zhilkin Signed-off-by: Shiji Yang --- diff --git a/package/boot/uboot-mediatek/patches/440-add-xiaomi_mi-router-ax3000t.patch b/package/boot/uboot-mediatek/patches/440-add-xiaomi_mi-router-ax3000t.patch index 3468c7d73a..4ee1c2d837 100644 --- a/package/boot/uboot-mediatek/patches/440-add-xiaomi_mi-router-ax3000t.patch +++ b/package/boot/uboot-mediatek/patches/440-add-xiaomi_mi-router-ax3000t.patch @@ -178,7 +178,7 @@ + status = "okay"; + mediatek,gmac-id = <0>; + phy-mode = "2500base-x"; -+ mediatek,switch = "mt7531"; ++ mediatek,switch = "auto"; + reset-gpios = <&gpio 39 GPIO_ACTIVE_HIGH>; + + fixed-link {