From 020ed9c666748b103e0740622ca4128a2bd40f29 Mon Sep 17 00:00:00 2001 From: Ioana Ciornei Date: Mon, 18 May 2020 14:48:36 +0300 Subject: 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 Reviewed-by: Priyanka Jain --- arch/arm/dts/fsl-ls2080a-qds-42-x.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 arch/arm/dts/fsl-ls2080a-qds-42-x.dts (limited to 'arch/arm/dts/fsl-ls2080a-qds-42-x.dts') diff --git a/arch/arm/dts/fsl-ls2080a-qds-42-x.dts b/arch/arm/dts/fsl-ls2080a-qds-42-x.dts new file mode 100644 index 0000000000..bd46c395d4 --- /dev/null +++ b/arch/arm/dts/fsl-ls2080a-qds-42-x.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 +/* + * NXP LS2080AQDS device tree source for SERDES protocol 42.x + * + * Copyright 2020 NXP + * + */ + +/dts-v1/; + +#include "fsl-ls2080a-qds-sd1-42.dtsi" + +/ { + model = "NXP Layerscape LS2080AQDS Board (DTS 42-x)"; + compatible = "fsl,ls2080a-qds", "fsl,ls2080a"; +}; -- cgit