Rock64 dwc interface issues

Thomas Skibo thomas-bsd at skibo.net
Mon Jun 22 21:24:09 UTC 2020


On Mon, Jun 22, 2020 at 02:08:56PM +0300, Sleep Walker wrote:
> Hi All.
> 
> My dwc (4) also doesn???t work at 100Mbps, only for 1000.
> And this is observed on all my RK3399 (Khadas-EDGE-V, Rock-PI4, NanoPC-T4)
> 
> Sergey

Okay, this is a long-shot but on my to-do list is to find out why my Zybo
doesn't work at 100 Mbps.  It does 10 and 1000 just fine.  My Zedboard does
not have this problem.  The boards have different phys:  The Zedboard uses the
ukphy driver and the Zybo uses the rgephy driver.  I just suspected the
rgephy driver needed a tweak to work with my specific phy but I never got
around to investigating it.  And it looks like the Rockchip also uses the
rgephy driver.

On my Zybo, sysctl dev.rgephy returns this...

dev.rgephy.1.%parent: miibus0
dev.rgephy.1.%pnpinfo: oui=0xe04c model=0x11 rev=0x5
dev.rgephy.1.%location: phyno=1
dev.rgephy.1.%driver: rgephy
dev.rgephy.1.%desc: RTL8169S/8110S/8211 1000BASE-T media interface
dev.rgephy.0.%parent: miibus0
dev.rgephy.0.%pnpinfo: oui=0xe04c model=0x11 rev=0x5
dev.rgephy.0.%location: phyno=0
dev.rgephy.0.%driver: rgephy
dev.rgephy.0.%desc: RTL8169S/8110S/8211 1000BASE-T media interface
dev.rgephy.%parent: 

--Thomas

-- 

=====
Thomas Skibo
thomas-bsd at skibo.net



More information about the freebsd-arm mailing list