[net 0/4] net: ftgmac100: Add SoC reset support for RMII mode

Jacky Chou
2025-05-20T09:33:58Z

This patch series adds support for an optional reset line to the
ftgmac100 ethernet controller, as used on Aspeed SoCs. On these SoCs,
the internal MAC reset is not sufficient to reset the RMII interface.
By providing a SoC-level reset via the device tree "resets" property,
the driver can properly reset both the MAC and RMII logic, ensuring
correct operation in RMII mode.

The series includes:
- Device tree binding update to document the new "resets" property.
- Addition of MAC1 and MAC2 reset definitions for AST2600.
- Device tree changes for AST2600 to use the new reset properties.
- Driver changes to assert/deassert the reset line as needed.

This improves reliability and initialization of the MAC in RMII mode
on Aspeed platforms.

Jacky Chou (4):
dt-bindings: net: ftgmac100: Add resets property
dt-bindings: clock: ast2600: Add reset definitions for MAC1 and MAC2
ARM: dts: aspeed-g6: Add resets property for MAC controllers
net: ftgmac100: Add optional reset control for RMII mode on Aspeed
SoCs

.../bindings/net/faraday,ftgmac100.yaml | 5 ++++
arch/arm/boot/dts/aspeed/aspeed-g6.dtsi | 4 +++
drivers/net/ethernet/faraday/ftgmac100.c | 26 +++++++++++++++++++
include/dt-bindings/clock/ast2600-clock.h | 2 ++
4 files changed, 37 insertions(+)

--
2.34.1