mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-28 21:09:00 +09:00
![Ioana Ciornei](/assets/img/avatar_default.png)
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>
49 lines
683 B
Plaintext
49 lines
683 B
Plaintext
// 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";
|
|
};
|