forked from SolidRun/u-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
board: fsl: lx2160aqds: add support for SERDES SolidRun#1 protocol 13
Add support for the SERDES SolidRun#1 protocol 13 which enables 2 100G MACs (dpmac.1 and dpmac.2). For this to work, a new DTS file which describes how 2 mezzanine M8 cards can be connected on the LX2160AQDS board. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
- Loading branch information
1 parent
3acf328
commit 9af1a17
Showing
5 changed files
with
70 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ OR X11 | ||
/* | ||
* NXP LX2160AQDS device tree source for SERDES protocol 13.x.x | ||
* | ||
* Copyright 2021-2022 NXP | ||
* | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "fsl-lx2160a-qds-sd1-13.dtsi" | ||
|
||
/ { | ||
model = "NXP Layerscape LX2160AQDS Board (DTS 13.x.x)"; | ||
compatible = "fsl,lx2160aqds", "fsl,lx2160a"; | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ OR X11 | ||
/* | ||
* NXP LX2160AQDS device tree source for the SERDES block #1 - protocol 13 | ||
* | ||
* Some assumptions are made: | ||
* * mezzanine card M8 (100G) #1 is connected to IO SLOT 1 - DPMAC 1 | ||
* * mezzanine card M8 (100G) #2 is connected to IO SLOT 2 - DPMAC 2 | ||
* | ||
* Copyright 2021-2022 NXP | ||
* | ||
*/ | ||
|
||
#include "fsl-lx2160a-qds.dtsi" | ||
|
||
&dpmac1 { | ||
status = "okay"; | ||
phy-handle = <&inphi1_phy0 &inphi1_phy1>; | ||
phy-connection-type = "caui4"; | ||
}; | ||
|
||
&dpmac2 { | ||
status = "okay"; | ||
phy-handle = <&inphi2_phy0 &inphi2_phy1>; | ||
phy-connection-type = "caui4"; | ||
}; | ||
|
||
&emdio1_slot1 { | ||
inphi1_phy0: ethernet-phy@0 { | ||
compatible = "ethernet-phy-id0210.7440"; | ||
reg = <0x0>; | ||
}; | ||
|
||
inphi1_phy1: ethernet-phy@1 { | ||
compatible = "ethernet-phy-id0210.7440"; | ||
reg = <0x1>; | ||
}; | ||
}; | ||
|
||
&emdio1_slot2 { | ||
inphi2_phy0: ethernet-phy@0 { | ||
compatible = "ethernet-phy-id0210.7440"; | ||
reg = <0x0>; | ||
}; | ||
|
||
inphi2_phy1: ethernet-phy@1 { | ||
compatible = "ethernet-phy-id0210.7440"; | ||
reg = <0x1>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters