Skip to content

Add support for imx8mm-venice-gw7901 and DSA switch

Tim Harvey u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9board: gateworks: venice: add imx8mm-gw7901 supportarch/arm/dts/Makefile arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi arch/arm/dts/imx8mm-venice-gw7901.dts +2 more+1194 -21 reply
2/9net: fec: use device sequence vs index when fetching fecdrivers/net/fec_mxc.c+1 -12 replies
3/9net: fec: set phy_of_node properly for fixed-link phydrivers/net/fec_mxc.c+5 -12 replies
4/9net: add set_promisc function to enable/disable Promiscuous modeinclude/net.h+2 -02 replies
5/9net: fec: add set_promisc functiondrivers/net/fec_mxc.c drivers/net/fec_mxc.h+14 -02 replies
6/9net: dsa: enable master promisc mode if available and needednet/dsa-uclass.c+8 -12 replies
7/9net: add support for KSZ9477/KSZ9897/KSZ9567 GbE switchdrivers/net/Kconfig drivers/net/Makefile drivers/net/ksz9477.c+555 -02 replies
8/9arm: dts: imx8mm-venice-gw7901.dts: fix dsa switch configurationarch/arm/dts/imx8mm-venice-gw7901.dts+36 -11 reply
9/9configs: imx8mm_venice_defconfig: add support for gbe switchconfigs/imx8mm_venice_defconfig+4 -01 reply

Reviews trailers per patch

6 of 9 patches have a Reviewed-by or Acked-by.

PatchRamon Fried
1/9
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] Add support for imx8mm-venice-gw7901 and DSA switch

The GW7901 is an IMX8M Mini based board with a KSZ9897 switch hanging off the IMX8M FEC.

In order to support a fixed-link connection to a U-Boot DSA switch some changes need to be made to the FEC driver.

Additionally, in order to support per-port unique MAC addrs for DSA we must introduce a mechanism to put the master device in promiscuous mode.

All patches are here including adding the dts for the board as well as a dsa driver and necessary patches to fec/dsa so that it is clear how this fits together.

Tim Harvey (9):
board: gateworks: venice: add imx8mm-gw7901 support
net: fec: use device sequence vs index when fetching fec
net: fec: set phy_of_node properly for fixed-link phy
net: add set_promisc function to enable/disable Promiscuous mode
net: fec: add set_promisc function
net: dsa: enable master promisc mode if available and needed
net: add support for KSZ9477/KSZ9897/KSZ9567 GbE switch
arm: dts: imx8mm-venice-gw7901.dts: fix dsa switch configuration
configs: imx8mm_venice_defconfig: add support for gbe switch

 arch/arm/dts/Makefile                         |    1 +
 arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi |  118 ++
 arch/arm/dts/imx8mm-venice-gw7901.dts         | 1055 +++++++++++++++++
 board/gateworks/venice/spl.c                  |   55 +-
 configs/imx8mm_venice_defconfig               |    6 +-
 drivers/net/Kconfig                           |    7 +
 drivers/net/Makefile                          |    1 +
 drivers/net/fec_mxc.c                         |   21 +-
 drivers/net/fec_mxc.h                         |    1 +
 drivers/net/ksz9477.c                         |  547 +++++++++
 include/net.h                                 |    2 +
 net/dsa-uclass.c                              |    9 +-
 12 files changed, 1818 insertions(+), 5 deletions(-)
 create mode 100644 arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx8mm-venice-gw7901.dts
 create mode 100644 drivers/net/ksz9477.c
Signature · 1 line
2.17.1