net: stmmac: dwmac-qcom-ethqos: add support for emac4 on sa8775p platforms
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 19 Jun 2023 09:24:02 +0000 (11:24 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 Jun 2023 03:44:38 +0000 (20:44 -0700)
commit8c4d92e82d500a65e7dba101ea38e4f3499dc428
tree914c2a4ad87b3784aaf2333d47b8dd5548abbd01
parentd0e3d29f8771068a6f8df2a148080c449bc5b046
net: stmmac: dwmac-qcom-ethqos: add support for emac4 on sa8775p platforms

sa8775p uses EMAC version 4, add the relevant defines, rename the
has_emac3 switch to has_emac_ge_3 (has emac greater-or-equal than 3)
and add the new compatible.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c