Commit 980b23ae authored by Josua Mayer's avatar Josua Mayer

add configuration for S1 protocol 10 swapped pllf/s, S2 protocol 4 (&0)

Signed-off-by: default avatarJosua Mayer <josua@solid-run.com>
parent f57e1170
From 7aaf85062729e4242f7229572fd3b03f8c3d5ae6 Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com>
Date: Sun, 14 Aug 2022 16:20:21 +0300
Subject: [PATCH 19/20] lx2160acex7: serdes protocol 0: explicitly set
REF_CLK_SEL to 0 as per RM
---
lx2160acex7/configs/lx2160a_SD1_0.rcwi | 1 +
lx2160acex7/configs/lx2160a_SD2_0.rcwi | 1 +
2 files changed, 2 insertions(+)
diff --git a/lx2160acex7/configs/lx2160a_SD1_0.rcwi b/lx2160acex7/configs/lx2160a_SD1_0.rcwi
index 8a2dd84..0037abf 100644
--- a/lx2160acex7/configs/lx2160a_SD1_0.rcwi
+++ b/lx2160acex7/configs/lx2160a_SD1_0.rcwi
@@ -1,3 +1,4 @@
SRDS_PRTCL_S1=0
SRDS_PLL_PD_PLL1=1
SRDS_PLL_PD_PLL2=1
+SRDS_PLL_REF_CLK_SEL_S1=0
diff --git a/lx2160acex7/configs/lx2160a_SD2_0.rcwi b/lx2160acex7/configs/lx2160a_SD2_0.rcwi
index a1215d2..5de0f65 100644
--- a/lx2160acex7/configs/lx2160a_SD2_0.rcwi
+++ b/lx2160acex7/configs/lx2160a_SD2_0.rcwi
@@ -1,3 +1,4 @@
SRDS_PRTCL_S2=0
SRDS_PLL_PD_PLL3=1
SRDS_PLL_PD_PLL4=1
+SRDS_PLL_REF_CLK_SEL_S2=0
--
2.37.2
From b35087f96d4983d932cd592a80d097ec26d1eb00 Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com>
Date: Sun, 21 Aug 2022 12:28:41 +0300
Subject: [PATCH 20/20] lx2160acex7: add configuration for SD1: 10S, SD2: 4
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
lx2160acex7/configs/lx2160a_SD1_10S.rcwi | 2 ++
lx2160acex7/configs/lx2160a_SD2_4.rcwi | 2 ++
2 files changed, 4 insertions(+)
create mode 100644 lx2160acex7/configs/lx2160a_SD1_10S.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_SD2_4.rcwi
diff --git a/lx2160acex7/configs/lx2160a_SD1_10S.rcwi b/lx2160acex7/configs/lx2160a_SD1_10S.rcwi
new file mode 100644
index 0000000..a5a1014
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_SD1_10S.rcwi
@@ -0,0 +1,2 @@
+SRDS_PRTCL_S1=10
+SRDS_PLL_REF_CLK_SEL_S1=2
diff --git a/lx2160acex7/configs/lx2160a_SD2_4.rcwi b/lx2160acex7/configs/lx2160a_SD2_4.rcwi
new file mode 100644
index 0000000..a0b4cc7
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_SD2_4.rcwi
@@ -0,0 +1,2 @@
+SRDS_PRTCL_S2=4
+SRDS_PLL_REF_CLK_SEL_S2=0
--
2.37.2
...@@ -73,6 +73,10 @@ case "${SERDES}" in ...@@ -73,6 +73,10 @@ case "${SERDES}" in
DPC=dpc-8_x_usxgmii.dtb DPC=dpc-8_x_usxgmii.dtb
DPL=dpl-eth.8x10g.19.dtb DPL=dpl-eth.8x10g.19.dtb
;; ;;
10S_*)
DPC=dpc-S1_10-S2_0-6x_usxgmii.dtb
DPL=dpl-S1_10-S2_0-6x_eth.dtb
;;
13_*) 13_*)
DPC=dpc-dual-100g.dtb DPC=dpc-dual-100g.dtb
DPL=dpl-eth.dual-100g.19.dtb DPL=dpl-eth.dual-100g.19.dtb
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment