Commit f87f42a63189a693346c3a5d2a83953b614fe3bd
1 parent
505564416e
Exists in
smarc_8m_imx_4.14.78_1.0.0_ga
Make changes to hardware revision 00F0: Replace Ethernet PHY by RTL8211FD-CG
Showing 3 changed files with 7 additions and 2 deletions Side-by-side Diff
arch/arm64/boot/dts/embedian/fsl-smarcimx8mq-common.dtsi
arch/arm64/configs/smarcimx8m_defconfig
... | ... | @@ -2007,7 +2007,7 @@ |
2007 | 2007 | # CONFIG_NATIONAL_PHY is not set |
2008 | 2008 | CONFIG_NXP_TJA110X_PHY=y |
2009 | 2009 | # CONFIG_QSEMI_PHY is not set |
2010 | -CONFIG_REALTEK_PHY=m | |
2010 | +CONFIG_REALTEK_PHY=y | |
2011 | 2011 | CONFIG_ROCKCHIP_PHY=y |
2012 | 2012 | # CONFIG_SMSC_PHY is not set |
2013 | 2013 | # CONFIG_STE10XP is not set |
drivers/net/phy/realtek.c
... | ... | @@ -102,6 +102,11 @@ |
102 | 102 | if (ret < 0) |
103 | 103 | return ret; |
104 | 104 | |
105 | + /* Set green LED for Link, yellow LED for Active */ | |
106 | + phy_write(phydev, RTL8211F_PAGE_SELECT, 0xd04); | |
107 | + phy_write(phydev, 0x10, 0x617f); | |
108 | + phy_write(phydev, RTL8211F_PAGE_SELECT, 0x0); | |
109 | + | |
105 | 110 | phy_write(phydev, RTL8211F_PAGE_SELECT, 0xd08); |
106 | 111 | reg = phy_read(phydev, 0x11); |
107 | 112 |