net: Add support for Broadcom GENETv5 Ethernet controller
authorAmit Singh Tomar <amittomer25@gmail.com>
Mon, 27 Jan 2020 01:14:42 +0000 (01:14 +0000)
committerMatthias Brugger <mbrugger@suse.com>
Wed, 29 Jan 2020 17:30:33 +0000 (18:30 +0100)
commitd53e3fa3853d5dad9ac4c39128cd08e0ae7a33ef
tree844e1a121200484243c880c408cf39c6b81d094b
parentf29002fc73c71c3dcb6a1495c95cd49e98fbce19
net: Add support for Broadcom GENETv5 Ethernet controller

The Broadcom GENET Ethernet MACs are used in several MIPS based SoCs
and in the Broadcom 2711/2838 SoC used on the Raspberry Pi 4.
There is no publicly available documentation, so this driver is based
on the Linux driver. Compared to that the queue management is
drastically simplified, also we only support version 5 of the IP and
RGMII connections between MAC and PHY, as used on the RPi4.

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
[Andre: heavy cleanup and a few fixes]
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/bcmgenet.c [new file with mode: 0644]