[][HIGH][kernel][common][eth][Update Airoha EN8811H 2.5G PHY driver to v1.2.5]
[Description]
Change Airoha EN8811H 2.5G PHY driver to v1.2.5.
Change Log:
[2024/03/08] v1.2.5
1. Added surge 5R API.
2. Add CL22 and CL45 command
* MD32 8811_24030702 updated:
1. Fix the issue of external loopback
2. Fix the issue of down-shift
3. Add surge protection to support 0R and 5R mode
4. Enhance cable diag accuracy of cable length
5. Improved IoT performance and stability
=====================================================================
If your board that GMAC2 connects with Airoha EN8811H, please change
the eth node as following.
ð {
...
gmac1: mac@1 {
compatible = "mediatek,eth-mac";
reg = <1>;
phy-mode = "2500base-x";
fixed-link {
speed = <2500>;
full-duplex;
pause;
};
};
mdio: mdio-bus {
#address-cells = <1>;
#size-cells = <0>;
phy15: phy@15 {
compatible = "ethernet-phy-id03a2.a411";
reg = <15>;
phy-mode = "2500base-x";
full-duplex;
pause;
airoha,polarity = <1>;
airoha,surge = <0>;
};
...
};
};
Note:
SerDes polarity setting could be configured in dts. Please refer to the
following description.
Tx Reverse, Rx Normal:
airoha,polarity = <0>;
Tx Normal, Rx Normal:
airoha,polarity = <1>;
Tx Reverse, Rx Reverse:
airoha,polarity = <2>;
Tx Normal, Rx Reverse:
airoha,polarity = <3>;
Surge protection setting could be configured in dts. Please refer to the
following description.
Surge protection - 0R
airoha,surge = <0>;
Surge protection - 5R
airoha,surge = <1>;
=====================================================================
In addition, if EN8811H connects with a RESET GPIO, please check the
GPIO number, and then add reset-gpio related definition to above phy
node.
=====================================================================
reset-gpios = <&gpio 6 1>;
reset-assert-us = <10000>;
reset-deassert-us = <10000>;
=====================================================================
If without this patch, kernel cannot load up-to-date PHY driver
for the Airoha EN8811H.
[Release-log]
N/A
Change-Id: Iadfeb44f4e6c81b7c4b6bfe81e737701fcd0eca6
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8873366
10 files changed