1. kernel config
Makefile:
Device Drivers --->
[*] Network device support --->
-*- PHY Device support and infrastructure --->
<*> Realtek PHYs
CONFIG_REALTEK_PHY:
Supports the Realtek 821x PHY.
2. kernel dts
-
add .phy_id = 0x001cc916 to match "RTL8211F Gigabit Ethernet"
-
add rgmii
......
phy-mode = "rgmii";
mdio {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,dwmac-mdio";
phy0: phy@0 {
device_tpye = "ethernet-phy";
compatible =