The DMAC and EMAC blocks of Gigabit Ethernet IP found on RZ/G2L SoC are similar to the R-Car Ethernet AVB IP. The Gigabit Ethernet IP consists of Ethernet controller (E-MAC), Internal TCP/IP Offload Engine (TOE) and Dedicated Direct memory access controller (DMAC). With a few changes in the driver we can support both IPs. This patch series is in preparation for adding Gigabit ethernet driver support to RZ/G2L SoC. The number of patches after incorporatng RFC review comments is 19. So splitting the patches into 2 patchsets (10 + 9). The series is the first patchset which aims to add RZ/G2L SoC with compatible strings, E-MAC and D-MAC initialization. Second patchset basically fillup all the stubs for the full Gigabit Ethernet functionality. RFC->V1: * Added Rb tags of patch#1 and patch #9 * Renamed "rgeth" to gbeth * Renamed the variable "no_ptp_cfg_active" with "gptp" and "ptp_cfg_active" with "ccc_gac * Handled NC queue only for R-Car. * Removed RIC3 initialization from DMAC init, as it is same as reset value. * moved stubs function to patch#4. * Added tsrq variable instead of multi_tsrq feature bit. * moved CSR0 initialization from E-MAC init to later patch. * started using ravb_modify for initializing link registers. Ref:- https://lore.kernel.org/linux-renesas-soc/20210923140813.13541-1-biju.das.jz@xxxxxxxxxxxxxx/T/#m5c007b42d6c334de7b2224f2b219f52efc712fe9 Biju Das (10): ravb: Rename "ravb_set_features_rx_csum" function to "ravb_set_features_rcar" ravb: Rename "no_ptp_cfg_active" and "ptp_cfg_active" variables ravb: Add nc_queue to struct ravb_hw_info ravb: Add support for RZ/G2L SoC ravb: Initialize GbEthernet DMAC ravb: Exclude gPTP feature support for RZ/G2L ravb: Add tsrq to struct ravb_hw_info ravb: Add magic_pkt to struct ravb_hw_info ravb: Add half_duplex to struct ravb_hw_info ravb: Initialize GbEthernet E-MAC drivers/net/ethernet/renesas/ravb.h | 39 +- drivers/net/ethernet/renesas/ravb_main.c | 452 +++++++++++++++++------ 2 files changed, 362 insertions(+), 129 deletions(-) -- 2.17.1