Commit c4aa46bd382d293fac44fd4bee31f698ebe7b940

Authored by Eric Lee
1 parent cc6b6434fb

Make changes to hardware revision 00F0: Replace Ethernet PHY by RTL8211FD-CG

Showing 2 changed files with 6 additions and 1 deletions Side-by-side Diff

arch/arm64/boot/dts/embedian/imx8mq-smarc-common.dtsi
... ... @@ -269,7 +269,7 @@
269 269  
270 270 ethphy0: ethernet-phy@0 {
271 271 compatible = "ethernet-phy-ieee802.3-c22";
272   - reg = <6>;
  272 + reg = <1>;
273 273 at803x,eee-disabled;
274 274 };
275 275 };
drivers/net/phy/realtek.c
... ... @@ -242,6 +242,11 @@
242 242 return 0;
243 243 }
244 244  
  245 + /* Set green LED for Link, yellow LED for Active */
  246 + phy_write(phydev, RTL821x_PAGE_SELECT, 0xd04);
  247 + phy_write(phydev, 0x10, 0x617f);
  248 + phy_write(phydev, RTL821x_PAGE_SELECT, 0x0);
  249 +
245 250 ret = phy_modify_paged_changed(phydev, 0xd08, 0x11, RTL8211F_TX_DELAY,
246 251 val_txdly);
247 252 if (ret < 0) {