net: ravb: Add R-Car Gen4 support
Add support for R-Car Gen4 SoCs and a matching DT compatible.
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
[Marek: Drop SoC specific compatible, use RCAR_64 Kconfig symbol, update commit message]
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index ceadee9..5c29e63 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -754,7 +754,7 @@
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 0bc50dc..c74c8a8 100644
--- a/drivers/net/ravb.c
+++ b/drivers/net/ravb.c
@@ -692,6 +692,7 @@
static const struct udevice_id ravb_ids[] = {
{ .compatible = "renesas,etheravb-rcar-gen3" },
+ { .compatible = "renesas,etheravb-rcar-gen4" },
{ }
};