Skip to content

Commit a35e409

Browse files
acadp : ptp : support for qsfp detection added
1 parent 76412fc commit a35e409

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

arch/arm64/boot/dts/intel/socfpga_acadp_ptp_soln.dts

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* Copyright (C) 2021-2022, Intel Corporation
3+
* Copyright (C) 2022,2023, Intel Corporation
44
*/
55
#include "socfpga_agilex.dtsi"
66

77
/ {
8-
model = "SoCFPGA Agilex PTP solution";
8+
model = "SoCFPGA Agilex PTP solution";
99
compatible = "intel,socfpga-agilex-n6000", "intel,socfpga-agilex";
1010

1111
aliases {
@@ -43,6 +43,15 @@
4343
#dma-cells = <1>;
4444
};
4545
};
46+
tod_0_clk: tod_0_clk{
47+
compatible = "intel, tod_ctrl";
48+
reg-names = "tod_ctrl";
49+
reg = <0x81000040 0x00000040>;
50+
clock-frequency = <156250000>;
51+
status = "okay";
52+
};
53+
54+
4655
hssiss_0_hssiss: hssiss_0_hssiss {
4756
compatible = "intel, hssiss-1.0";
4857
reg-names = "sscsr";
@@ -57,15 +66,13 @@
5766

5867
hssi_0_eth: hssi_0_eth{
5968

60-
reg-names = "tod_ctrl" ,
61-
"tx_pref" ,
69+
reg-names = "tx_pref" ,
6270
"tx_csr" ,
6371
"rx_pref" ,
6472
"rx_csr" ,
6573
"rx_fifo" ;
6674

67-
reg = <0x80100040 0x00000040>,
68-
<0x82000800 0x00000020>,
75+
reg = <0x82000800 0x00000020>,
6976
<0x82000820 0x00000020>,
7077
<0x82000900 0x00000020>,
7178
<0x82000920 0x00000020>,
@@ -74,7 +81,9 @@
7481
compatible = "altr,hssi-etile-1.0";
7582
chan = <0x8>;
7683
phy-mode = "10gbase-r";
77-
qsfp = <&qsfp_eth0>;
84+
tod = <&tod_0_clk>;
85+
qsfp0 = <&qsfp_eth0>;
86+
qsfp1 = <&qsfp_eth1>;
7887
hssiss = <&hssiss_0_hssiss>;
7988
clock-names = "tod_clk";
8089
altr,tx-pma-delay-ns = <0xD>;
@@ -88,11 +97,13 @@
8897
interrupt-parent = <&intc>;
8998
interrupt-names = "tx_irq", "rx_irq";
9099
interrupts = <0 24 4>, <0 25 4>;
100+
qsfp-lane = <0x0>;
91101
rx-fifo-depth = <0x4000>;
92102
tx-fifo-depth = <0x1000>;
93103
rx-fifo-almost-full = <0x2000>;
94104
rx-fifo-almost-empty = <0x1000>;
95105
altr,has-ptp;
106+
altr,has-ptp-clockcleaner;
96107
status = "okay";
97108
fixed-link {
98109
speed =<10000>;

0 commit comments

Comments
 (0)