[PATCH] net: ravb: Add R-Car Gen4 support

Marek Vasut marek.vasut+renesas at mailbox.org
Fri Apr 7 17:12:17 CEST 2023


From: Hai Pham <hai.pham.ud at renesas.com>

Add support for R-Car Gen4 SoCs and a matching DT compatible.

Reviewed-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
Signed-off-by: Hai Pham <hai.pham.ud at renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
[Marek: Drop SoC specific compatible, use RCAR_64 Kconfig symbol, update commit message]
---
Cc: Joe Hershberger <joe.hershberger at ni.com>
Cc: Ramon Fried <rfried.dev at gmail.com>
---
 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 ceadee98a1e..5c29e63d0be 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 0bc50dc7335..c74c8a81f94 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.2



More information about the U-Boot mailing list