Driver didn't support bitbang feature.
Add bb_miiphy_bus function for driver and open feature for npcm8xx

the log is as below:
-------------------------------------
U-Boot 2023.04-rc2-dirty (Feb 14 2023 - 15:01:17 +0800)

CPU-0: NPCM845 A1 @ Model: Nuvoton npcm845 Development Board (Device Tree)
DRAM:  848 MiB
RNG: NPCM RNG module bind OK
OTP: NPCM OTP module bind OK
AES: NPCM AES module bind OK
SHA: NPCM SHA module bind OK
Core:  617 devices, 23 uclasses, devicetree: separate
MMC:   sdhci@f0842000: 0
Loading Environment from SPIFlash... SF: Detected mx66l1g45g with page size 256 
Bytes, erase size 4 KiB, total 128 MiB
OK
In:    serial@0
Out:   serial@0
Err:   serial@0
Net:   eth0: eth@f0802000, eth1: eth@f0804000
eth@f0808000: use bitbang mii..
, eth3: eth@f0808000
Hit any key to stop autoboot:  0
U-Boot>ping 192.168.0.5
eth@f0804000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY eth@f0804000
Speed: 100, full duplex
Using eth@f0808000 device
host 192.168.0.5 is alive
-------------------------------------------------

Jim Liu (2):
  ARM: configs: add bitbang feature for npcm8xx
  net: designware: add bitbang feature for designware driver

 configs/arbel_evb_defconfig |   3 +
 drivers/net/designware.c    | 109 +++++++++++++++++++++++++++++++++++-
 drivers/net/designware.h    |   3 +
 include/configs/arbel.h     |   1 +
 4 files changed, 115 insertions(+), 1 deletion(-)

-- 
2.17.1

Reply via email to