[PATCH v3 0/4] net: expand gianfar support to ls1021a
Renaud Barbier
renaud.barbier at ametek.com
Tue Feb 10 04:52:21 PST 2026
This patch adds limited support for the Ethernet controller on the NXP
LS1021A:
* Only one port has been tested i.e enet1.
* The PHY negotiation has been limited to 100Mbits-FD.
In this version 3, remove code that was meant to make the difference
between the mdio register offset between PPC and ARM if retrieved from
the device tree. However, the PPC platform does not support DTBs and the
mdio offset is already taken into account into the mdio access functions.
Hence, the clean up.
Renaud Barbier (4):
net: gianfar: disable link information
gianfar: apply checkpatch recommendations
net:gianfar: add device tree support
ARM: ls1021a: initial Ethernet and mdio configuration
arch/arm/boards/ls1021aiot/board.c | 35 +++
arch/arm/configs/layerscape_v7_defconfig | 7 +
arch/arm/dts/fsl-ls1021a-iot.dts | 16 ++
arch/powerpc/include/asm/dma.h | 34 +++
drivers/net/Kconfig | 2 +-
drivers/net/gianfar.c | 310 ++++++++++++++++++-----
drivers/net/gianfar.h | 32 ++-
7 files changed, 367 insertions(+), 69 deletions(-)
--
2.43.0
More information about the barebox
mailing list