[][kernel][common][eth][Update Airoha EN8801SC 1G PHY driver to v1.1.8 Generic]
[Description]
Change Airoha EN8801SC 1G PHY driver to v1.1.8 Generic.
Change Log:
[2024/01/19] V1.1.8_Generic
* EN8801S E4 supported.
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: Ie39ad204685b76b8262ee54f522235a37e4923c7
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8610305
2 files changed