Commit c4aa46bd382d293fac44fd4bee31f698ebe7b940
1 parent
cc6b6434fb
Exists in
smarc_8mq_lf-5.10.y
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
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) { |