arm: dts: ls2080aqds: add CONFIG_MULTI_DTB_FIT support
authorIoana Ciornei <ioana.ciornei@nxp.com>
Mon, 18 May 2020 11:48:36 +0000 (14:48 +0300)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 19 May 2020 03:52:08 +0000 (09:22 +0530)
commit020ed9c666748b103e0740622ca4128a2bd40f29
tree2910759d2616d993e64f3e807e04fb1b6466bc44
parent8cbef912ee8e73fccf2543428e73ecd25d386dba
arm: dts: ls2080aqds: add CONFIG_MULTI_DTB_FIT support

Add support for selecting the appropriate DTS file depending on the
SERDES protocol used.

The fsl-ls2080a-qds DTS will be used by default if there isn't a DTS
file specifically made for the current SERDES protocol.

This patch adds the necessary DPMAC nodes (DPMAC 1-8) for
protocol 42 (0x2A) on SD#1.

Also, in case CONFIG_DM_ETH and CONFIG_MULTI_DTB_FIT are enabled
implement the board_fit_config_name_match() function in order to choose
the appropriate DTS.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/dts/Makefile
arch/arm/dts/fsl-ls2080a-qds-42-x.dts [new file with mode: 0644]
arch/arm/dts/fsl-ls2080a-qds-sd1-42.dtsi [new file with mode: 0644]
arch/arm/dts/fsl-ls2080a-qds.dts
arch/arm/dts/fsl-ls2080a-qds.dtsi [new file with mode: 0644]
board/freescale/ls2080aqds/eth.c