Commit 381aae15 authored by Josua Mayer's avatar Josua Mayer

dpl/dpc: re-enable ptp clock in MC firmware

parent 10a91311
From b516ff47cb1512b85b077dfe091c97b0fef64dcb Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com>
Date: Sat, 25 Nov 2023 14:47:12 +0100
Subject: [PATCH] lx2160acex6: re-add unintentionally removed dprtc and dpseci
nodes
Fixes most notably PTP support, but potentially also dpdk crypto
offloading.
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
config/lx2160a/CEX7/dpl-S1_10-S2_0-6x_eth.dts | 21 +++++++++++++++++++
.../dpl-S1_21-S2_13-6x_25gbe-2x_sgmii.dts | 21 +++++++++++++++++++
config/lx2160a/CEX7/dpl-eth.6x25g.21.dts | 21 +++++++++++++++++++
config/lx2160a/CEX7/dpl-eth.8x10g.19.dts | 21 +++++++++++++++++++
config/lx2160a/CEX7/dpl-eth.8x10g.8x1g.dts | 21 +++++++++++++++++++
config/lx2160a/CEX7/dpl-eth.dual-100g.19.dts | 21 +++++++++++++++++++
config/lx2160a/CEX7/dpl-eth.dual-40g.19.dts | 21 +++++++++++++++++++
config/lx2160a/CEX7/dpl-eth.quad-25g.19.dts | 21 +++++++++++++++++++
.../lx2160a/CEX7/dpl-eth.single-100g.19.dts | 21 +++++++++++++++++++
config/lx2160a/CEX7/dpl-sd1-18.dts | 21 +++++++++++++++++++
10 files changed, 210 insertions(+)
diff --git a/config/lx2160a/CEX7/dpl-S1_10-S2_0-6x_eth.dts b/config/lx2160a/CEX7/dpl-S1_10-S2_0-6x_eth.dts
index 0af0cb6..23c3784 100644
--- a/config/lx2160a/CEX7/dpl-S1_10-S2_0-6x_eth.dts
+++ b/config/lx2160a/CEX7/dpl-S1_10-S2_0-6x_eth.dts
@@ -51,6 +51,18 @@
type = "dpmcp";
ids = <1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 >;
};
+
+ /* -------------- DPRTCs --------------*/
+ obj_set@dprtc {
+ type = "dprtc";
+ ids = <0 >;
+ };
+
+ /* -------------- DPSECIs --------------*/
+ obj_set@dpseci {
+ type = "dpseci";
+ ids = <0 >;
+ };
};
};
};
@@ -223,6 +235,15 @@
dpmcp@35 {
compatible = "fsl,dpmcp";
};
+
+ dprtc@0 {
+ compatible = "fsl,dprtc";
+ };
+
+ dpseci@0 {
+ compatible = "fsl,dpseci";
+ priorities = <1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1>;
+ };
};
/*****************************************************************
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 5c836a3..7f835c1 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
@@ -51,6 +51,18 @@
type = "dpmcp";
ids = <1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 >;
};
+
+ /* -------------- DPRTCs --------------*/
+ obj_set@dprtc {
+ type = "dprtc";
+ ids = <0 >;
+ };
+
+ /* -------------- DPSECIs --------------*/
+ obj_set@dpseci {
+ type = "dpseci";
+ ids = <0 >;
+ };
};
};
};
@@ -235,6 +247,15 @@
dpmcp@35 {
compatible = "fsl,dpmcp";
};
+
+ dprtc@0 {
+ compatible = "fsl,dprtc";
+ };
+
+ dpseci@0 {
+ compatible = "fsl,dpseci";
+ priorities = <1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1>;
+ };
};
/*****************************************************************
diff --git a/config/lx2160a/CEX7/dpl-eth.6x25g.21.dts b/config/lx2160a/CEX7/dpl-eth.6x25g.21.dts
index 6d38518..795227a 100644
--- a/config/lx2160a/CEX7/dpl-eth.6x25g.21.dts
+++ b/config/lx2160a/CEX7/dpl-eth.6x25g.21.dts
@@ -75,6 +75,18 @@
type = "dpni";
ids = <0 >;
};
+
+ /* -------------- DPRTCs --------------*/
+ obj_set@dprtc {
+ type = "dprtc";
+ ids = <0 >;
+ };
+
+ /* -------------- DPSECIs --------------*/
+ obj_set@dpseci {
+ type = "dpseci";
+ ids = <0 >;
+ };
};
};
};
@@ -512,6 +524,15 @@
qos_entries = <0>;
dist_key_size = <56>;
};
+
+ dprtc@0 {
+ compatible = "fsl,dprtc";
+ };
+
+ dpseci@0 {
+ compatible = "fsl,dpseci";
+ priorities = <1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1>;
+ };
};
/*****************************************************************
diff --git a/config/lx2160a/CEX7/dpl-eth.8x10g.19.dts b/config/lx2160a/CEX7/dpl-eth.8x10g.19.dts
index 00bc36b..e91f837 100644
--- a/config/lx2160a/CEX7/dpl-eth.8x10g.19.dts
+++ b/config/lx2160a/CEX7/dpl-eth.8x10g.19.dts
@@ -75,6 +75,18 @@
type = "dpni";
ids = <0 >;
};
+
+ /* -------------- DPRTCs --------------*/
+ obj_set@dprtc {
+ type = "dprtc";
+ ids = <0 >;
+ };
+
+ /* -------------- DPSECIs --------------*/
+ obj_set@dpseci {
+ type = "dpseci";
+ ids = <0 >;
+ };
};
};
};
@@ -520,6 +532,15 @@
qos_entries = <0>;
dist_key_size = <56>;
};
+
+ dprtc@0 {
+ compatible = "fsl,dprtc";
+ };
+
+ dpseci@0 {
+ compatible = "fsl,dpseci";
+ priorities = <1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1>;
+ };
};
/*****************************************************************
diff --git a/config/lx2160a/CEX7/dpl-eth.8x10g.8x1g.dts b/config/lx2160a/CEX7/dpl-eth.8x10g.8x1g.dts
index 873fd36..b0c26f0 100644
--- a/config/lx2160a/CEX7/dpl-eth.8x10g.8x1g.dts
+++ b/config/lx2160a/CEX7/dpl-eth.8x10g.8x1g.dts
@@ -24,6 +24,18 @@
type = "dpmcp";
ids = <1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 >;
};
+
+ /* -------------- DPRTCs --------------*/
+ obj_set@dprtc {
+ type = "dprtc";
+ ids = <0 >;
+ };
+
+ /* -------------- DPSECIs --------------*/
+ obj_set@dpseci {
+ type = "dpseci";
+ ids = <0 >;
+ };
};
};
};
@@ -236,6 +248,15 @@
dpmcp@35 {
compatible = "fsl,dpmcp";
};
+
+ dprtc@0 {
+ compatible = "fsl,dprtc";
+ };
+
+ dpseci@0 {
+ compatible = "fsl,dpseci";
+ priorities = <1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1>;
+ };
};
/*****************************************************************
diff --git a/config/lx2160a/CEX7/dpl-eth.dual-100g.19.dts b/config/lx2160a/CEX7/dpl-eth.dual-100g.19.dts
index eb7dde2..f862304 100644
--- a/config/lx2160a/CEX7/dpl-eth.dual-100g.19.dts
+++ b/config/lx2160a/CEX7/dpl-eth.dual-100g.19.dts
@@ -75,6 +75,18 @@
type = "dpni";
ids = <0 >;
};
+
+ /* -------------- DPRTCs --------------*/
+ obj_set@dprtc {
+ type = "dprtc";
+ ids = <0 >;
+ };
+
+ /* -------------- DPSECIs --------------*/
+ obj_set@dpseci {
+ type = "dpseci";
+ ids = <0 >;
+ };
};
};
};
@@ -496,6 +508,15 @@
qos_entries = <0>;
dist_key_size = <56>;
};
+
+ dprtc@0 {
+ compatible = "fsl,dprtc";
+ };
+
+ dpseci@0 {
+ compatible = "fsl,dpseci";
+ priorities = <1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1>;
+ };
};
/*****************************************************************
diff --git a/config/lx2160a/CEX7/dpl-eth.dual-40g.19.dts b/config/lx2160a/CEX7/dpl-eth.dual-40g.19.dts
index 27cf8c7..80cd196 100644
--- a/config/lx2160a/CEX7/dpl-eth.dual-40g.19.dts
+++ b/config/lx2160a/CEX7/dpl-eth.dual-40g.19.dts
@@ -48,6 +48,18 @@
type = "dpni";
ids = <0 >;
};
+
+ /* -------------- DPRTCs --------------*/
+ obj_set@dprtc {
+ type = "dprtc";
+ ids = <0 >;
+ };
+
+ /* -------------- DPSECIs --------------*/
+ obj_set@dpseci {
+ type = "dpseci";
+ ids = <0 >;
+ };
};
};
};
@@ -469,6 +481,15 @@
qos_entries = <0>;
dist_key_size = <56>;
};
+
+ dprtc@0 {
+ compatible = "fsl,dprtc";
+ };
+
+ dpseci@0 {
+ compatible = "fsl,dpseci";
+ priorities = <1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1>;
+ };
};
/*****************************************************************
diff --git a/config/lx2160a/CEX7/dpl-eth.quad-25g.19.dts b/config/lx2160a/CEX7/dpl-eth.quad-25g.19.dts
index 89bda81..96e277d 100644
--- a/config/lx2160a/CEX7/dpl-eth.quad-25g.19.dts
+++ b/config/lx2160a/CEX7/dpl-eth.quad-25g.19.dts
@@ -75,6 +75,18 @@
type = "dpni";
ids = <0 >;
};
+
+ /* -------------- DPRTCs --------------*/
+ obj_set@dprtc {
+ type = "dprtc";
+ ids = <0 >;
+ };
+
+ /* -------------- DPSECIs --------------*/
+ obj_set@dpseci {
+ type = "dpseci";
+ ids = <0 >;
+ };
};
};
};
@@ -504,6 +516,15 @@
qos_entries = <0>;
dist_key_size = <56>;
};
+
+ dprtc@0 {
+ compatible = "fsl,dprtc";
+ };
+
+ dpseci@0 {
+ compatible = "fsl,dpseci";
+ priorities = <1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1>;
+ };
};
/*****************************************************************
diff --git a/config/lx2160a/CEX7/dpl-eth.single-100g.19.dts b/config/lx2160a/CEX7/dpl-eth.single-100g.19.dts
index 9390137..119b4fe 100644
--- a/config/lx2160a/CEX7/dpl-eth.single-100g.19.dts
+++ b/config/lx2160a/CEX7/dpl-eth.single-100g.19.dts
@@ -75,6 +75,18 @@
type = "dpni";
ids = <0 >;
};
+
+ /* -------------- DPRTCs --------------*/
+ obj_set@dprtc {
+ type = "dprtc";
+ ids = <0 >;
+ };
+
+ /* -------------- DPSECIs --------------*/
+ obj_set@dpseci {
+ type = "dpseci";
+ ids = <0 >;
+ };
};
};
};
@@ -492,6 +504,15 @@
qos_entries = <0>;
dist_key_size = <56>;
};
+
+ dprtc@0 {
+ compatible = "fsl,dprtc";
+ };
+
+ dpseci@0 {
+ compatible = "fsl,dpseci";
+ priorities = <1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1>;
+ };
};
/*****************************************************************
diff --git a/config/lx2160a/CEX7/dpl-sd1-18.dts b/config/lx2160a/CEX7/dpl-sd1-18.dts
index 00bc36b..e91f837 100644
--- a/config/lx2160a/CEX7/dpl-sd1-18.dts
+++ b/config/lx2160a/CEX7/dpl-sd1-18.dts
@@ -75,6 +75,18 @@
type = "dpni";
ids = <0 >;
};
+
+ /* -------------- DPRTCs --------------*/
+ obj_set@dprtc {
+ type = "dprtc";
+ ids = <0 >;
+ };
+
+ /* -------------- DPSECIs --------------*/
+ obj_set@dpseci {
+ type = "dpseci";
+ ids = <0 >;
+ };
};
};
};
@@ -520,6 +532,15 @@
qos_entries = <0>;
dist_key_size = <56>;
};
+
+ dprtc@0 {
+ compatible = "fsl,dprtc";
+ };
+
+ dpseci@0 {
+ compatible = "fsl,dpseci";
+ priorities = <1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1>;
+ };
};
/*****************************************************************
--
2.35.3
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