[][kernel][common][eth][Update Airoha EN8801SC 1G PHY driver to v1.1.7 Generic]
[Description]
Change Airoha EN8801SC 1G PHY driver to v1.1.7 Generic.
Change Log:
[2023/05/12] V1.1.7_Generic
* Modify to Linux coding style.
[2023/04/21] V1.1.6_Generic
* Improve Tx compliance test items for PCB variation
* Adjust initial process to solve potential issue
* Optimize detecting phase 2 mechanism
* Optimize initial process
If your board that GMAC2 connects with Airoha EN8801SC, please change
the eth node as following.
=====================================================================
ð {
...
gmac1: mac@1 {
compatible = "mediatek,eth-mac";
reg = <1>;
phy-mode = "sgmii";
phy-handle = <&phy24>;
};
mdio: mdio-bus {
#address-cells = <1>;
#size-cells = <0>;
phy24: phy@24 {
compatible = "ethernet-phy-id03a2.9471";
reg = <24>;
phy-mode = "sgmii";
full-duplex;
pause;
};
...
};
};
=====================================================================
In addition, if EN8801SC 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 EN8801SC.
[Release-log]
N/A
Change-Id: Icdb753309040c83e7f1925461e987963b7b6c1eb
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7538123
3 files changed