41354f730beba333d1921d428972459aacbd65cd
[deliverable/linux.git] / Documentation / devicetree / bindings / net / amd-xgbe.txt
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:
12 - DMA clock for the amd-xgbe device (used for calculating the
13 correct Rx interrupt watchdog timer value on a DMA channel
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
19 - phy-handle: See ethernet.txt file in the same directory
20 - phy-mode: See ethernet.txt file in the same directory
21
22 Optional properties:
23 - mac-address: mac address to be assigned to the device. Can be overridden
24 by UEFI.
25 - dma-coherent: Present if dma operations are coherent
26
27 Example:
28 xgbe@e0700000 {
29 compatible = "amd,xgbe-seattle-v1a";
30 reg = <0 0xe0700000 0 0x80000>,
31 <0 0xe0780000 0 0x80000>;
32 interrupt-parent = <&gic>;
33 interrupts = <0 325 4>;
34 clocks = <&xgbe_dma_clk>, <&xgbe_ptp_clk>;
35 clock-names = "dma_clk", "ptp_clk";
36 phy-handle = <&phy>;
37 phy-mode = "xgmii";
38 mac-address = [ 02 a1 a2 a3 a4 a5 ];
39 };
This page took 0.031885 seconds and 4 git commands to generate.