uboot-mediatek: update Airoha EN8811H driver

Use the version sent to upstream U-Boot[1], which has much better
code quality and also works better (without packet loss).

The `en8811h_read_fw` func is adapted to use current read logic.

1. https://lore.kernel.org/u-boot/20250720122852.22563-1-lucienzx159@gmail.com/

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/20000
(cherry picked from commit b63a48b012b7af0da14ea04ff345512254dc69d6)
Link: https://github.com/openwrt/openwrt/pull/20146
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit bb14c607a371adf6b79a6f17191429765956f113)
This commit is contained in:
Tianling Shen 2025-09-09 22:20:49 +08:00 committed by Hela Saadani
parent 078e643e1e
commit 068dcbb9ec
2 changed files with 800 additions and 825 deletions

View File

@ -503,7 +503,7 @@
+ compatible = "ethernet-phy-id03a2.a411";
+ reg = <14>;
+
+ airoha,rx-pol-reverse;
+ airoha,pnswap-rx;
+
+ reset-gpios = <&gpio 49 GPIO_ACTIVE_LOW>;
+ reset-assert-us = <10000>;