From: Daniel Schwierzeck Date: Sun, 14 Oct 2018 20:47:36 +0200 Subject: [U-Boot] [PATCH v2] net: Add MT76xx ethernet driver In-Reply-To: <20181008135016.28307-1-sr@denx.de> References: <20181008135016.28307-1-sr@denx.de> Message-ID: <28931307-ce64-befc-610d-d0e08a9eb0a7@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08.10.2018 15:50, Stefan Roese wrote: > This patch adds ethernet support for the Mediatek MT76xx SoC, including > a minimum setup of the integrated switch. This driver is loosly based on > the driver version included in this MediaTek github repository: > > https://github.com/MediaTek-Labs/linkit-smart-uboot.git > > Tested on the MT7688 LinkIt smart-gateway and on the > Gardena-smart-gateway. > > Signed-off-by: Stefan Roese > Cc: Daniel Schwierzeck > Cc: Joe Hershberger > --- > v2: > - Use wait_for_bit_le32() in more places > - Use syscon / regmap to access the system-controller registers > needed in this driver instead of finding and mapping this > area > > drivers/net/Kconfig | 7 + > drivers/net/Makefile | 1 + > drivers/net/mt76xx-eth.c | 638 +++++++++++++++++++++++++++++++++++++++ > 3 files changed, 646 insertions(+) > create mode 100644 drivers/net/mt76xx-eth.c > Reviewed-by: Daniel Schwierzeck -- - Daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: