Skip to content

riscv: sophgo: Add ethernet support for SG2042

Inochi Amaoto linux-arm-kernel linux-devicetree linux-riscv lkml netdev sophgo 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: net: sophgo,sg2044-dwmac: Add support for Sophgo SG2042 dwmacDocumentation/devicetree/bindings/net/snps,dwmac.yaml Documentation/devicetree/bindings/net/sophgo,sg2044-dwmac.yaml+12 -31 reply
2/4net: stmmac: dwmac-sophgo: Add support for Sophgo SG2042 SoCdrivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c+1 -00 replies
3/4net: stmmac: platform: Add snps,dwmac-5.00a IP compatible stringdrivers/net/ethernet/stmicro/stmmac/stmmac_platform.c+1 -00 replies
4/4riscv: dts: sophgo: add ethernet GMAC device for sg2042arch/riscv/boot/dts/sophgo/sg2042.dtsi+62 -01 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchHan GaoConor DooleyChen Wang
1/4T-b A-b
2/4T-b
3/4T-b
4/4T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 0/4] riscv: sophgo: Add ethernet support for SG2042

The ethernet controller of SG2042 is Synopsys DesignWare IP with tx clock. Add device id for it.

This patch can only be tested on a SG2042 x4 evb board, as pioneer does not expose this device.

Inochi Amaoto (4):
dt-bindings: net: sophgo,sg2044-dwmac: Add support for Sophgo SG2042
dwmac
net: stmmac: dwmac-sophgo: Add support for Sophgo SG2042 SoC
net: stmmac: platform: Add snps,dwmac-5.00a IP compatible string
riscv: dts: sophgo: add ethernet GMAC device for sg2042

 .../devicetree/bindings/net/snps,dwmac.yaml   |  4 ++
 .../bindings/net/sophgo,sg2044-dwmac.yaml     | 11 +++-
 arch/riscv/boot/dts/sophgo/sg2042.dtsi        | 62 +++++++++++++++++++
 .../ethernet/stmicro/stmmac/dwmac-sophgo.c    |  1 +
 .../ethernet/stmicro/stmmac/stmmac_platform.c |  1 +
 5 files changed, 76 insertions(+), 3 deletions(-)

--
2.49.0