Commit | Line | Data |
---|---|---|
7c123b6a LT |
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 | |
23e4eef7 LT |
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 | |
7c123b6a LT |
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. | |
1a2a909b | 25 | - dma-coherent: Present if dma operations are coherent |
7c123b6a LT |
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>; | |
23e4eef7 LT |
34 | clocks = <&xgbe_dma_clk>, <&xgbe_ptp_clk>; |
35 | clock-names = "dma_clk", "ptp_clk"; | |
7c123b6a LT |
36 | phy-handle = <&phy>; |
37 | phy-mode = "xgmii"; | |
38 | mac-address = [ 02 a1 a2 a3 a4 a5 ]; | |
39 | }; |