[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210307031353.12643-1-boger@wirenboard.com>
Date: Sun, 7 Mar 2021 06:13:50 +0300
From: Evgeny Boger <boger@...enboard.com>
To: Maxime Ripard <mripard@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
linux-arm-kernel@...ts.infradead.org
Cc: Evgeny Boger <boger@...enboard.com>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Rob Herring <robh+dt@...nel.org>
Subject: [PATCH 0/2] sun8i: r40: second ethernet support
This patch series adds support for two Ethernet ports on Allwinner R40.
R40 (aka V40,A40i,T3) has two different Ethernet IPs called EMAC and GMAC.
EMAC only support 10/100 Mbit in MII mode, while GMAC support both 10/100
(MII) and 10/100/1000 (RGMII).
In contrast to A10/A20 where GMAC and EMAC share the same pins making EMAC
somewhat pointless, on R40 EMAC can be routed to port H.
Both EMAC (on port H) and GMAC (on port A) can be then enabled at the same
time, allowing for two ethernet ports.
Evgeny Boger (2):
net: allwinner: reset control support
dts: r40: add second ethernet support
arch/arm/boot/dts/sun8i-r40.dtsi | 53 +++++++++++++++++++++
drivers/net/ethernet/allwinner/sun4i-emac.c | 21 +++++++-
2 files changed, 73 insertions(+), 1 deletion(-)
--
2.17.1
Powered by blists - more mailing lists