[openwrt/openwrt] uboot-mediatek: enable auto switch chip detect for Xiaomi AX3000T
LEDE Commits
lede-commits at lists.infradead.org
Sun Feb 9 14:02:50 PST 2025
dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b85c5f681759d1488725609e82b5b556e3d320a3
commit b85c5f681759d1488725609e82b5b556e3d320a3
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Sat Jan 25 19:16:48 2025 +0800
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 <csharper2005 at gmail.com>
Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
---
.../boot/uboot-mediatek/patches/440-add-xiaomi_mi-router-ax3000t.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 {
More information about the lede-commits
mailing list