summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2025-01-25 11:16:48 +0000
committerDaniel Golle2025-02-09 21:50:58 +0000
commitb85c5f681759d1488725609e82b5b556e3d320a3 (patch)
tree85de97556b64b946803f95edaae80b73e56ae7c9
parent4e7c991af5f4a6ea81ba31cf42c45a7bbb29d7bf (diff)
downloadopenwrt-b85c5f681759d1488725609e82b5b556e3d320a3.tar.gz
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@gmail.com> Signed-off-by: Shiji Yang <yangshiji66@qq.com>
-rw-r--r--package/boot/uboot-mediatek/patches/440-add-xiaomi_mi-router-ax3000t.patch2
1 files changed, 1 insertions, 1 deletions
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 {