]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: ravb: Add R-Car Gen4 support
authorHai Pham <hai.pham.ud@renesas.com>
Fri, 7 Apr 2023 15:12:17 +0000 (17:12 +0200)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 7 Apr 2023 15:13:28 +0000 (17:13 +0200)
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]

drivers/net/Kconfig
drivers/net/ravb.c

index ceadee98a1e8f0bd24774fe7c3980e0773525e71..5c29e63d0beadca015b9a9a8632526a6678e1cfd 100644 (file)
@@ -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
index 0bc50dc733529f1c17b2d0f4979ad8e1c9e1168b..c74c8a81f9426a8630181f3868a1a35ef14b7b03 100644 (file)
@@ -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" },
        { }
 };