mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 02:33:07 +00:00
020ed9c666
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>
48 lines
683 B
Text
48 lines
683 B
Text
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
|
/*
|
|
* NXP LS2080aQDS device tree source for SERDES block #1 - protocol 42 (0x2a)
|
|
*
|
|
* Copyright 2020 NXP
|
|
*/
|
|
|
|
#include "fsl-ls2080a-qds.dtsi"
|
|
|
|
&dpmac1 {
|
|
status = "okay";
|
|
phy-connection-type = "xfi";
|
|
};
|
|
|
|
&dpmac2 {
|
|
status = "okay";
|
|
phy-connection-type = "xfi";
|
|
};
|
|
|
|
&dpmac3 {
|
|
status = "okay";
|
|
phy-connection-type = "xfi";
|
|
};
|
|
|
|
&dpmac4 {
|
|
status = "okay";
|
|
phy-connection-type = "xfi";
|
|
};
|
|
|
|
&dpmac5 {
|
|
status = "okay";
|
|
phy-connection-type = "xfi";
|
|
};
|
|
|
|
&dpmac6 {
|
|
status = "okay";
|
|
phy-connection-type = "xfi";
|
|
};
|
|
|
|
&dpmac7 {
|
|
status = "okay";
|
|
phy-connection-type = "xfi";
|
|
};
|
|
|
|
&dpmac8 {
|
|
status = "okay";
|
|
phy-connection-type = "xfi";
|
|
};
|