diff options
author | Tony Dinh <mibodhi@gmail.com> | 2022-04-12 23:18:19 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-05-02 08:47:26 +0300 |
commit | f0f98758ed4aadcf1c021f20342e3d2ef7f0b80e (patch) | |
tree | cbff82a5796f328a44428a8bd10b44fad8639f9e /arch | |
parent | b8b91a0f08884b754d10751661bb6a15a21a2b9b (diff) | |
download | u-boot-f0f98758ed4aadcf1c021f20342e3d2ef7f0b80e.tar.xz |
net: marvell: mvgbe: Set PHY page 0 before phy_connect
For most Kirkwood boards, the PHY page is already set to page 0
(in register 22) before phy_connect is invoked. But some board like
the Zyxel NSA310S (which uses the network chip MV88E1318S), the PHY page
is not set to page 0. There seems to be some bad data remained in
register 22 when the uclass MVGBE about to invoke phy_connect().
This patch enables the uclass MVGBE to always set the PHY page to 0
before phy_connect.
For reference, please see this discussion:
[RFC PATCH v2] arm: kirkwood: nsa310s: Use Marvell uclass mvgbe
and PHY driver for DM Ethernet.
https://lists.denx.de/pipermail/u-boot/2022-April/480946.html
This patch has been tested with the following Kirkwood boards:
NSA310S (88F6702, network chip MV88E1318S)
Sheevaplug (88F6281, network chip MV88E1318)
Pogo V4 (88F6192, network chip 88E1116R)
GF Home(88F6281, network chip 88E1116R)
Dreamplug (88F6281, network chip MV88E1318)
Dell Kace M300 (88F6282, network chip MV88E1318) - out of tree u-boot
Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions