amd-xgbe.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. * AMD 10GbE driver (amd-xgbe)
  2. Required properties:
  3. - compatible: Should be "amd,xgbe-seattle-v1a"
  4. - reg: Address and length of the register sets for the device
  5. - MAC registers
  6. - PCS registers
  7. - interrupt-parent: Should be the phandle for the interrupt controller
  8. that services interrupts for this device
  9. - interrupts: Should contain the amd-xgbe interrupt
  10. - clocks:
  11. - DMA clock for the amd-xgbe device (used for calculating the
  12. correct Rx interrupt watchdog timer value on a DMA channel
  13. for coalescing)
  14. - PTP clock for the amd-xgbe device
  15. - clock-names: Should be the names of the clocks
  16. - "dma_clk" for the DMA clock
  17. - "ptp_clk" for the PTP clock
  18. - phy-handle: See ethernet.txt file in the same directory
  19. - phy-mode: See ethernet.txt file in the same directory
  20. Optional properties:
  21. - mac-address: mac address to be assigned to the device. Can be overridden
  22. by UEFI.
  23. - dma-coherent: Present if dma operations are coherent
  24. Example:
  25. xgbe@e0700000 {
  26. compatible = "amd,xgbe-seattle-v1a";
  27. reg = <0 0xe0700000 0 0x80000>,
  28. <0 0xe0780000 0 0x80000>;
  29. interrupt-parent = <&gic>;
  30. interrupts = <0 325 4>;
  31. clocks = <&xgbe_dma_clk>, <&xgbe_ptp_clk>;
  32. clock-names = "dma_clk", "ptp_clk";
  33. phy-handle = <&phy>;
  34. phy-mode = "xgmii";
  35. mac-address = [ 02 a1 a2 a3 a4 a5 ];
  36. };