
This patch set targets to add support for CONFIG_DM_ETH for the NXP LS1088AQDS board.
The main focus is on changing the DTS based on the SERDES protocol used. In order to accomplish this, the MULTI_DTB_FIT feature is employed and the appropriate DTS is chosed on boot from a list of predefined files.
Any unnecessary configurations made for the DPAA2 ethernet devices in the board files are compiled out when CONFIG_DM_ETH is enabled. This is because any information necessary is available in its associated DTS node.
This patch set depends on another series that adds support for DM_ETH in the ldpaa_eth driver and the RDB boards: https://patchwork.ozlabs.org/project/uboot/list/?series=165158&state=*
For the moment, when CONFIG_DM_ETH is enabled DPAA2 networking is supported only for the SERDES block #1 protocol 21 (0x15) and protocol 29 (0x1d).
Ioana Ciornei (3): arm: dts: ls1088aqds: add CONFIG_MULTI_DTB_FIT support board: ls1088aqds: transition to DM_ETH configs: ls1088aqds_tfa_defconfig: enable DM_ETH and related
arch/arm/dts/Makefile | 2 + arch/arm/dts/fsl-ls1088a-qds-21-x.dts | 16 ++ arch/arm/dts/fsl-ls1088a-qds-29-x.dts | 16 ++ arch/arm/dts/fsl-ls1088a-qds-sd1-21.dtsi | 30 ++++ arch/arm/dts/fsl-ls1088a-qds-sd1-29.dtsi | 19 +++ arch/arm/dts/fsl-ls1088a-qds.dts | 124 +-------------- arch/arm/dts/fsl-ls1088a-qds.dtsi | 187 +++++++++++++++++++++++ board/freescale/ls1088a/eth_ls1088aqds.c | 89 +++++++++++ configs/ls1088aqds_tfa_defconfig | 11 +- include/configs/ls1088aqds.h | 2 + 10 files changed, 373 insertions(+), 123 deletions(-) create mode 100644 arch/arm/dts/fsl-ls1088a-qds-21-x.dts create mode 100644 arch/arm/dts/fsl-ls1088a-qds-29-x.dts create mode 100644 arch/arm/dts/fsl-ls1088a-qds-sd1-21.dtsi create mode 100644 arch/arm/dts/fsl-ls1088a-qds-sd1-29.dtsi create mode 100644 arch/arm/dts/fsl-ls1088a-qds.dtsi