From c2fbaaf3dc1f68ac21fb09a8be93f15e6ddf8633 Mon Sep 17 00:00:00 2001 From: Hai Pham Date: Fri, 7 Apr 2023 17:12:17 +0200 Subject: [PATCH] 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] --- drivers/net/Kconfig | 2 +- drivers/net/ravb.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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" }, { } }; -- 2.39.5