However, the ethernet code for the H5 will need to select the external Phy rather than the internal phy, and a driver will be needed for the RTL8211E. My little NanoPi Neo2 boards also use the external RTL8211E Phy.
See my notes at:
My Antminer boards use the Broadcomm B50612E chip as a gigabit Phy. I have a 161 page datasheet for this. U-boot driver at drivers/net/phy/broadcom.c
My EBAZ boards use a IP101GA chip as the Phy transceiver.
This is a 10/100 chip made by "IC plus".
I have a 65 page datasheet for this.
The linux driver is linux/drivers/net/phy/icplus.c at master
You may find the U-boot driver for this at drivers/net/phy/icplus.c
(Running "locate icplus.c" on my system finds lots of things.)
U-boot has drivers/net/gmac_rockchip.c. This looks entirely like a Phy layer driver.
U-boot seems to use designware.c for the RK3328. Who would have guessed?
Designware (Synopsys) is notorious for not publishing tech manuals for their USB
interfaces, and nobody should be surprised that they are equally secretive
about this ethernet interface. This is too bad and does not win any friends
for Synopsys.
cd /Projects/RK3328/sources/u-boot export BL31="/Projects/OrangePi/r1plus/sources/arm-trusted-firmware/build/rk3328/debug/bl31/bl31.elf" export CROSS_COMPILE=aarch64-linux-gnu- export LOCALVERSION="trebisky" cd u-boot make clean make orangepi-r1-plus-lts-rk3328_defconfig makeInteresting parts are:
CC drivers/net/phy/phy.o CC drivers/net/phy/motorcomm.o CC drivers/net/phy/realtek.o CC drivers/net/eth-phy-uclass.o CC drivers/net/designware.o CC drivers/net/gmac_rockchip.oNote that U-boot has a driver for the "motorcomm" YT8531 chip that OrangePi used on the LTS version of the board to pinch a few Yen.
Tom's electronics pages / tom@mmto.org