hw: arm: allwinner-r40: Add emac and gmac support
authorqianfan Zhao <qianfanguijin@163.com>
Tue, 6 Jun 2023 09:19:33 +0000 (10:19 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 6 Jun 2023 09:19:33 +0000 (10:19 +0100)
commit0de1b69315b1b386d96282fa0b407f568fc5ede9
tree61f8d853c7a97f4bca765c5b18a45687f1cd298b
parent2c992b88ccfc28897e5523b847c3dc1a68be0e11
hw: arm: allwinner-r40: Add emac and gmac support

R40 has two ethernet controllers named as emac and gmac. The emac is
compatibled with A10, and the GMAC is compatibled with H3.

Signed-off-by: qianfan Zhao <qianfanguijin@163.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/allwinner-r40.c
hw/arm/bananapi_m2u.c
include/hw/arm/allwinner-r40.h