[PATCH 5.17 214/343] net: stmmac: Fix unset max_speed difference between DT and non-DT platforms