From: Hai Pham Date: Fri, 7 Apr 2023 15:12:17 +0000 (+0200) Subject: net: ravb: Add R-Car Gen4 support X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c2fbaaf3dc1f68ac21fb09a8be93f15e6ddf8633;p=u-boot.git net: ravb: Add R-Car Gen4 support Add support for R-Car Gen4 SoCs and a matching DT compatible. Reviewed-by: Marek Vasut Signed-off-by: Hai Pham Signed-off-by: Marek Vasut [Marek: Drop SoC specific compatible, use RCAR_64 Kconfig symbol, update commit message] --- diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index ceadee98a1..5c29e63d0b 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -754,7 +754,7 @@ config GMAC_ROCKCHIP config RENESAS_RAVB bool "Renesas Ethernet AVB MAC" - depends on RCAR_GEN3 + depends on RCAR_64 select PHYLIB help This driver implements support for the Ethernet AVB block in diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c index 0bc50dc733..c74c8a81f9 100644 --- a/drivers/net/ravb.c +++ b/drivers/net/ravb.c @@ -692,6 +692,7 @@ int ravb_of_to_plat(struct udevice *dev) static const struct udevice_id ravb_ids[] = { { .compatible = "renesas,etheravb-rcar-gen3" }, + { .compatible = "renesas,etheravb-rcar-gen4" }, { } };