mirror of
https://github.com/armbian/build.git
synced 2026-04-12 17:11:28 +02:00
Some checks failed
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Has been cancelled
Infrastructure: Mirror to Codeberg / codeberg (push) Has been cancelled
Maintenance: Announce merge / announcepush (push) Has been cancelled
Maintenance: Security scan / Scorecards analysis (push) Has been cancelled
Data: Sync board list / Send dispatch (push) Has been cancelled
Fix ethernet PHY not being detected on the NanoPi Zero2. The MDIO bus scan was failing because the PHY reset GPIO was only defined on the PHY child node inside the MDIO bus. The kernel processes this reset after the MDIO scan, but the PHY needs reset released before it will respond on the bus. Move the reset control to the gmac1 node using snps,reset-gpios and snps,reset-delays-us properties. The stmmac driver handles these during MDIO bus registration, before scanning for PHY devices. Also change CONFIG_MOTORCOMM_PHY from module (m) to built-in (y) in the rockchip64 kernel config. As a module, the PHY driver loads too late for the MDIO bus scan to find the PHY during boot. Tested on hardware: ethernet link at 1000Mbps full duplex confirmed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>