[Armadeus-commitlog] armadeus/u-boot branch, armadeus-2024.01-opos93, updated. b9b9bf5c59aba34cebe
Brought to you by:
sszy
|
From: sszy <ss...@us...> - 2023-12-18 13:10:19
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus/u-boot".
The branch, armadeus-2024.01-opos93 has been updated
via b9b9bf5c59aba34cebea76a98cce3377979048d4 (commit)
from 46d14b3e2e5e1d4a6a261f725c34cbfad17649c0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b9b9bf5c59aba34cebea76a98cce3377979048d4
Author: Sébastien Szymanski <seb...@ar...>
Date: Mon Dec 18 14:06:50 2023 +0100
net: phy: realtek: adapt for OPOS93
* disable Green Ethernet and EEE
* LED configuration
-----------------------------------------------------------------------
Summary of changes:
drivers/net/phy/realtek.c | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c
index 7e1036b227..31065ca46b 100644
--- a/drivers/net/phy/realtek.c
+++ b/drivers/net/phy/realtek.c
@@ -258,10 +258,23 @@ static int rtl8211f_config(struct phy_device *phydev)
phy_write(phydev, MDIO_DEVAD_NONE,
MIIM_RTL8211F_PAGE_SELECT, 0x0);
- /* Set green LED for Link, yellow LED for Active */
+ /* disable Green Ethernet */
+ phy_write(phydev, MDIO_DEVAD_NONE,
+ MIIM_RTL8211F_PAGE_SELECT, 0x0a43);
+ phy_write(phydev, MDIO_DEVAD_NONE, 0x1b, 0x8011);
+ phy_write(phydev, MDIO_DEVAD_NONE, 0x1c, 0x573f);
+ phy_write(phydev, MDIO_DEVAD_NONE,
+ MIIM_RTL8211F_PAGE_SELECT, 0x0);
+
+ /* disable EEE */
+ phy_write_mmd(phydev, MDIO_MMD_AN, MDIO_AN_EEE_ADV, 0x0);
+
phy_write(phydev, MDIO_DEVAD_NONE,
MIIM_RTL8211F_PAGE_SELECT, 0xd04);
- phy_write(phydev, MDIO_DEVAD_NONE, 0x10, 0x617f);
+ phy_write(phydev, MDIO_DEVAD_NONE, 0x10, 0x8110);
+
+ /* disable EEE LED */
+ phy_write(phydev, MDIO_DEVAD_NONE, 0x11, 0x0);
phy_write(phydev, MDIO_DEVAD_NONE,
MIIM_RTL8211F_PAGE_SELECT, 0x0);
hooks/post-receive
--
armadeus/u-boot
|