|
1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | 2 | /* |
3 | | - * Copyright (C) 2021-2022, Intel Corporation |
| 3 | + * Copyright (C) 2022,2023, Intel Corporation |
4 | 4 | */ |
5 | 5 | #include "socfpga_agilex.dtsi" |
6 | 6 |
|
7 | 7 | / { |
8 | | - model = "SoCFPGA Agilex PTP solution"; |
| 8 | + model = "SoCFPGA Agilex PTP solution"; |
9 | 9 | compatible = "intel,socfpga-agilex-n6000", "intel,socfpga-agilex"; |
10 | 10 |
|
11 | 11 | aliases { |
|
43 | 43 | #dma-cells = <1>; |
44 | 44 | }; |
45 | 45 | }; |
| 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 | + |
46 | 55 | hssiss_0_hssiss: hssiss_0_hssiss { |
47 | 56 | compatible = "intel, hssiss-1.0"; |
48 | 57 | reg-names = "sscsr"; |
|
57 | 66 |
|
58 | 67 | hssi_0_eth: hssi_0_eth{ |
59 | 68 |
|
60 | | - reg-names = "tod_ctrl" , |
61 | | - "tx_pref" , |
| 69 | + reg-names = "tx_pref" , |
62 | 70 | "tx_csr" , |
63 | 71 | "rx_pref" , |
64 | 72 | "rx_csr" , |
65 | 73 | "rx_fifo" ; |
66 | 74 |
|
67 | | - reg = <0x80100040 0x00000040>, |
68 | | - <0x82000800 0x00000020>, |
| 75 | + reg = <0x82000800 0x00000020>, |
69 | 76 | <0x82000820 0x00000020>, |
70 | 77 | <0x82000900 0x00000020>, |
71 | 78 | <0x82000920 0x00000020>, |
|
74 | 81 | compatible = "altr,hssi-etile-1.0"; |
75 | 82 | chan = <0x8>; |
76 | 83 | phy-mode = "10gbase-r"; |
77 | | - qsfp = <&qsfp_eth0>; |
| 84 | + tod = <&tod_0_clk>; |
| 85 | + qsfp0 = <&qsfp_eth0>; |
| 86 | + qsfp1 = <&qsfp_eth1>; |
78 | 87 | hssiss = <&hssiss_0_hssiss>; |
79 | 88 | clock-names = "tod_clk"; |
80 | 89 | altr,tx-pma-delay-ns = <0xD>; |
|
88 | 97 | interrupt-parent = <&intc>; |
89 | 98 | interrupt-names = "tx_irq", "rx_irq"; |
90 | 99 | interrupts = <0 24 4>, <0 25 4>; |
| 100 | + qsfp-lane = <0x0>; |
91 | 101 | rx-fifo-depth = <0x4000>; |
92 | 102 | tx-fifo-depth = <0x1000>; |
93 | 103 | rx-fifo-almost-full = <0x2000>; |
94 | 104 | rx-fifo-almost-empty = <0x1000>; |
95 | 105 | altr,has-ptp; |
| 106 | + altr,has-ptp-clockcleaner; |
96 | 107 | status = "okay"; |
97 | 108 | fixed-link { |
98 | 109 | speed =<10000>; |
|
0 commit comments