This patchset adds initial support for the NXP LS1021A-TSN board, an evaluation platform built in partnership with VVDN/Argonboards for some IEEE 802.1 TSN features.
It features a cleaned-up U-Boot board support taken from OpenIL, as well as an eTSEC migration to DM_ETH. I picked up Bin Meng's patch that converts the LS1021A-TWR (different board, same SoC): https://lists.denx.de/pipermail/u-boot/2018-May/330096.html verified it on the LS1021A-TSN board I am submitting, and made a few adjustments where necessary. TODO items: - Make the eTSEC driver support fixed-link interfaces (necessary for the enet2 <-> sja1105 internal port) - Add driver for SJA1105 switch - Potentially migrate the eTSEC MDIO bus driver to DM_MDIO and expose the TBI PHY to mdio commands (useful for debugging), once https://lists.denx.de/pipermail/u-boot/2019-June/371563.html is merged. Bin Meng (1): arm: ls1021atwr: Convert to use driver model TSEC driver Jianchao Wang (1): Add support for the NXP LS1021A-TSN board Vladimir Oltean (7): net: tsec: Refactor the readout of the tbi-handle property net: tsec: Fix offset of MDIO registers for DM_ETH net: tsec: Reverse Christmas tree notation net: tsec: Make errors visible net: tsec: Common handling of MAC station address for DM_ETH net: tsec: Change compatible strings to match Linux configs: ls1021atwr: Fix distro_bootcmd for QSPI boot arch/arm/Kconfig | 14 + arch/arm/cpu/armv7/ls102xa/cpu.c | 2 +- arch/arm/cpu/armv7/ls102xa/fdt.c | 10 + arch/arm/dts/Makefile | 2 +- arch/arm/dts/ls1021a-tsn.dts | 77 ++++++ arch/arm/dts/ls1021a-twr.dtsi | 32 +++ arch/arm/dts/ls1021a.dtsi | 30 +- board/freescale/ls1021atsn/Kconfig | 18 ++ board/freescale/ls1021atsn/MAINTAINERS | 8 + board/freescale/ls1021atsn/Makefile | 3 + board/freescale/ls1021atsn/README.rst | 97 +++++++ board/freescale/ls1021atsn/ls1021atsn.c | 260 ++++++++++++++++++ board/freescale/ls1021atsn/ls102xa_pbi.cfg | 15 + board/freescale/ls1021atsn/ls102xa_rcw_sd.cfg | 8 + board/freescale/ls1021atwr/ls1021atwr.c | 38 --- configs/ls1021atsn_qspi_defconfig | 79 ++++++ configs/ls1021atsn_sdcard_defconfig | 91 ++++++ configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 2 + configs/ls1021atwr_nor_defconfig | 2 + configs/ls1021atwr_nor_lpuart_defconfig | 2 + configs/ls1021atwr_qspi_defconfig | 2 + ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 2 + configs/ls1021atwr_sdcard_ifc_defconfig | 2 + configs/ls1021atwr_sdcard_qspi_defconfig | 2 + doc/device-tree-bindings/net/fsl-tsec-phy.txt | 4 +- drivers/net/tsec.c | 59 ++-- include/configs/ls1021atsn.h | 250 +++++++++++++++++ include/configs/ls1021atwr.h | 30 +- include/tsec.h | 4 +- 29 files changed, 1038 insertions(+), 107 deletions(-) create mode 100644 arch/arm/dts/ls1021a-tsn.dts create mode 100644 board/freescale/ls1021atsn/Kconfig create mode 100644 board/freescale/ls1021atsn/MAINTAINERS create mode 100644 board/freescale/ls1021atsn/Makefile create mode 100644 board/freescale/ls1021atsn/README.rst create mode 100644 board/freescale/ls1021atsn/ls1021atsn.c create mode 100644 board/freescale/ls1021atsn/ls102xa_pbi.cfg create mode 100644 board/freescale/ls1021atsn/ls102xa_rcw_sd.cfg create mode 100644 configs/ls1021atsn_qspi_defconfig create mode 100644 configs/ls1021atsn_sdcard_defconfig create mode 100644 include/configs/ls1021atsn.h -- 2.17.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot