[PATCH v1 0/2] Add bitbang feature for npcm8xx and driver

Jim Liu jim.t90615 at gmail.com
Tue Feb 14 09:20:34 CET 2023


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 at f0842000: 0
Loading Environment from SPIFlash... SF: Detected mx66l1g45g with page size 256 Bytes, erase size 4 KiB, total 128 MiB
OK
In:    serial at 0
Out:   serial at 0
Err:   serial at 0
Net:   eth0: eth at f0802000, eth1: eth at f0804000
eth at f0808000: use bitbang mii..
, eth3: eth at f0808000
Hit any key to stop autoboot:  0
U-Boot>ping 192.168.0.5
eth at f0804000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY eth at f0804000
Speed: 100, full duplex
Using eth at 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



More information about the U-Boot mailing list