Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lx2160a_build
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
lx2160a_build
Commits
1c4e3938
Commit
1c4e3938
authored
Sep 08, 2022
by
Josua Mayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add dpmac17 to serdes configuration 21_13_* dpl+dpc to enable EC1
Signed-off-by:
Josua Mayer
<
josua@solid-run.com
>
parent
cbe38654
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
103 additions
and
0 deletions
+103
-0
patches/mc-utils/0011-lx2160acex7-s1-21-s2-13-add-dpmac17.patch
...s/mc-utils/0011-lx2160acex7-s1-21-s2-13-add-dpmac17.patch
+103
-0
No files found.
patches/mc-utils/0011-lx2160acex7-s1-21-s2-13-add-dpmac17.patch
0 → 100644
View file @
1c4e3938
From 0bf5479ff7f2ce62472e2c56f66b4e43057defb4 Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com>
Date: Thu, 8 Sep 2022 10:34:35 +0300
Subject: [PATCH] lx2160acex7: s1-21 s2-13: add dpmac17
dpmac17 and dpmac18 can be used for RGMII / SGMII independent from the
serdes, on all serdes configurations not utilizing them.
Enable dpmac17, and add comments for dpmac18.
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
.../CEX7/dpc-S1_21-S2_13-6x_25gbe-2x_sgmii.dts | 15 +++++++++++++++
.../CEX7/dpl-S1_21-S2_13-6x_25gbe-2x_sgmii.dts | 16 ++++++++++++++--
2 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/config/lx2160a/CEX7/dpc-S1_21-S2_13-6x_25gbe-2x_sgmii.dts b/config/lx2160a/CEX7/dpc-S1_21-S2_13-6x_25gbe-2x_sgmii.dts
index 2134252..16e1d1a 100644
--- a/config/lx2160a/CEX7/dpc-S1_21-S2_13-6x_25gbe-2x_sgmii.dts
+++ b/config/lx2160a/CEX7/dpc-S1_21-S2_13-6x_25gbe-2x_sgmii.dts
@@ -71,6 +71,7 @@
board_info {
ports {
+ /* Serdes 1 */
mac@3 {
link_type = "MAC_LINK_TYPE_FIXED";
};
@@ -89,12 +90,26 @@
mac@10 {
link_type = "MAC_LINK_TYPE_FIXED";
};
+
+ /* Serdes 2 */
mac@13 {
link_type = "MAC_LINK_TYPE_PHY";
};
mac@14 {
link_type = "MAC_LINK_TYPE_PHY";
};
+
+ /* EC1 */
+ mac@17 {
+ /* dpmac17 can be used for sgmii/rgmii, independent from (some) serdes configuration(s) */
+ link_type = "MAC_LINK_TYPE_PHY";
+ };
+
+ /* EC2 */
+ /* mac@18 {
+ /* dpmac18 can be used for sgmii/rgmii, independent from (some) serdes configuration(s) */
+ link_type = "MAC_LINK_TYPE_PHY";
+ };*/
};
};
};
diff --git a/config/lx2160a/CEX7/dpl-S1_21-S2_13-6x_25gbe-2x_sgmii.dts b/config/lx2160a/CEX7/dpl-S1_21-S2_13-6x_25gbe-2x_sgmii.dts
index 8351128..886eb7c 100644
--- a/config/lx2160a/CEX7/dpl-S1_21-S2_13-6x_25gbe-2x_sgmii.dts
+++ b/config/lx2160a/CEX7/dpl-S1_21-S2_13-6x_25gbe-2x_sgmii.dts
@@ -39,7 +39,7 @@
objects {
obj_set@dpmac {
type = "dpmac";
- ids = <0x3 0x4 0x5 0x6 0x9 0xa 0xd 0xe>;
+ ids = <0x3 0x4 0x5 0x6 0x9 0xa 0xd 0xe 0x11>;
};
obj_set@dpmcp {
type = "dpmcp";
@@ -53,7 +53,7 @@
* Objects
*****************************************************************/
objects {
-
+ /* Serdes 1 */
dpmac@3 {
};
dpmac@4 {
@@ -66,11 +66,23 @@
};
dpmac@10 {
};
+
+ /* Serdes 2 */
dpmac@13 {
};
dpmac@14 {
};
+ /* EC1 */
+ /* dpmac17 can be used for sgmii/rgmii, independent from (some) serdes configuration(s) */
+ dpmac@17 {
+ };
+
+ /* EC2 */
+ /* dpmac18 can be used for sgmii/rgmii, independent from (some) serdes configuration(s) */
+ /*dpmac@18 {
+ };*/
+
dpmcp@1 {
};
dpmcp@2 {
--
2.37.3
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment