diff options
Diffstat (limited to 'Documentation/devicetree/bindings/net/amd-xgbe.txt')
-rw-r--r-- | Documentation/devicetree/bindings/net/amd-xgbe.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/amd-xgbe.txt b/Documentation/devicetree/bindings/net/amd-xgbe.txt new file mode 100644 index 000000000000..ea0c7908a3b8 --- /dev/null +++ b/Documentation/devicetree/bindings/net/amd-xgbe.txt | |||
@@ -0,0 +1,34 @@ | |||
1 | * AMD 10GbE driver (amd-xgbe) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "amd,xgbe-seattle-v1a" | ||
5 | - reg: Address and length of the register sets for the device | ||
6 | - MAC registers | ||
7 | - PCS registers | ||
8 | - interrupt-parent: Should be the phandle for the interrupt controller | ||
9 | that services interrupts for this device | ||
10 | - interrupts: Should contain the amd-xgbe interrupt | ||
11 | - clocks: Should be the DMA clock for the amd-xgbe device (used for | ||
12 | calculating the correct Rx interrupt watchdog timer value on a DMA | ||
13 | channel for coalescing) | ||
14 | - clock-names: Should be the name of the DMA clock, "dma_clk" | ||
15 | - phy-handle: See ethernet.txt file in the same directory | ||
16 | - phy-mode: See ethernet.txt file in the same directory | ||
17 | |||
18 | Optional properties: | ||
19 | - mac-address: mac address to be assigned to the device. Can be overridden | ||
20 | by UEFI. | ||
21 | |||
22 | Example: | ||
23 | xgbe@e0700000 { | ||
24 | compatible = "amd,xgbe-seattle-v1a"; | ||
25 | reg = <0 0xe0700000 0 0x80000>, | ||
26 | <0 0xe0780000 0 0x80000>; | ||
27 | interrupt-parent = <&gic>; | ||
28 | interrupts = <0 325 4>; | ||
29 | clocks = <&xgbe_clk>; | ||
30 | clock-names = "dma_clk"; | ||
31 | phy-handle = <&phy>; | ||
32 | phy-mode = "xgmii"; | ||
33 | mac-address = [ 02 a1 a2 a3 a4 a5 ]; | ||
34 | }; | ||