diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2014-07-29 09:57:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-30 21:46:52 -0400 |
commit | 23e4eef7cf56b5e36e76af9078f0012826c86b2f (patch) | |
tree | e67533acbb555371284741a174a17016fd1d2f04 /Documentation/devicetree | |
parent | 1a2a909bad464fc9ebdb03482049336fe2e7cbc8 (diff) |
amd-xgbe: Add hardware timestamp support
This patch adds support for Tx and Rx hardware timestamping.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/net/amd-xgbe.txt | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/net/amd-xgbe.txt b/Documentation/devicetree/bindings/net/amd-xgbe.txt index f6db1ba87a3f..41354f730beb 100644 --- a/Documentation/devicetree/bindings/net/amd-xgbe.txt +++ b/Documentation/devicetree/bindings/net/amd-xgbe.txt | |||
@@ -8,10 +8,14 @@ Required properties: | |||
8 | - interrupt-parent: Should be the phandle for the interrupt controller | 8 | - interrupt-parent: Should be the phandle for the interrupt controller |
9 | that services interrupts for this device | 9 | that services interrupts for this device |
10 | - interrupts: Should contain the amd-xgbe interrupt | 10 | - interrupts: Should contain the amd-xgbe interrupt |
11 | - clocks: Should be the DMA clock for the amd-xgbe device (used for | 11 | - clocks: |
12 | calculating the correct Rx interrupt watchdog timer value on a DMA | 12 | - DMA clock for the amd-xgbe device (used for calculating the |
13 | channel for coalescing) | 13 | correct Rx interrupt watchdog timer value on a DMA channel |
14 | - clock-names: Should be the name of the DMA clock, "dma_clk" | 14 | for coalescing) |
15 | - PTP clock for the amd-xgbe device | ||
16 | - clock-names: Should be the names of the clocks | ||
17 | - "dma_clk" for the DMA clock | ||
18 | - "ptp_clk" for the PTP clock | ||
15 | - phy-handle: See ethernet.txt file in the same directory | 19 | - phy-handle: See ethernet.txt file in the same directory |
16 | - phy-mode: See ethernet.txt file in the same directory | 20 | - phy-mode: See ethernet.txt file in the same directory |
17 | 21 | ||
@@ -27,8 +31,8 @@ Example: | |||
27 | <0 0xe0780000 0 0x80000>; | 31 | <0 0xe0780000 0 0x80000>; |
28 | interrupt-parent = <&gic>; | 32 | interrupt-parent = <&gic>; |
29 | interrupts = <0 325 4>; | 33 | interrupts = <0 325 4>; |
30 | clocks = <&xgbe_clk>; | 34 | clocks = <&xgbe_dma_clk>, <&xgbe_ptp_clk>; |
31 | clock-names = "dma_clk"; | 35 | clock-names = "dma_clk", "ptp_clk"; |
32 | phy-handle = <&phy>; | 36 | phy-handle = <&phy>; |
33 | phy-mode = "xgmii"; | 37 | phy-mode = "xgmii"; |
34 | mac-address = [ 02 a1 a2 a3 a4 a5 ]; | 38 | mac-address = [ 02 a1 a2 a3 a4 a5 ]; |