[PATCH net-next v3 1/4] dt-bindings: net: ftgmac100: Add delay properties for AST2600
Andrew Lunn
andrew at lunn.ch
Fri Nov 7 11:46:39 AEDT 2025
> There are four MACs in the AST2600. In the DT bindings and DTS files, what would be
> the recommended way to identify which MAC is which?
> In version 3 of my patches, I used the aliases in the DTSI file to allow the driver to get
> the MAC index.
It is a bit ugly, but you are working around broken behaviour, so
sometimes you need to accept ugly. The addresses are fixed. You know
1e660000 is mac0, 1e680000 is mac1, etc. Put the addresses into the
driver, for compatible aspeed,ast2600-mac.
Andrew
More information about the Linux-aspeed
mailing list