uboot-mediatek: enable auto switch chip detect for Xiaomi AX3000T
authorShiji Yang <yangshiji66@qq.com>
Sat, 25 Jan 2025 11:16:48 +0000 (19:16 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 9 Feb 2025 21:50:58 +0000 (21:50 +0000)
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>
package/boot/uboot-mediatek/patches/440-add-xiaomi_mi-router-ax3000t.patch

index 3468c7d73ad0d465274585f6115a84c088f1f47a..4ee1c2d8377e086cca82a4f2f18ca5d0597813fb 100644 (file)
 +      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 {