fixed-link.txt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Fixed link Device Tree binding
  2. ------------------------------
  3. Some Ethernet MACs have a "fixed link", and are not connected to a
  4. normal MDIO-managed PHY device. For those situations, a Device Tree
  5. binding allows to describe a "fixed link".
  6. Such a fixed link situation is described by creating a 'fixed-link'
  7. sub-node of the Ethernet MAC device node, with the following
  8. properties:
  9. * 'speed' (integer, mandatory), to indicate the link speed. Accepted
  10. values are 10, 100 and 1000
  11. * 'full-duplex' (boolean, optional), to indicate that full duplex is
  12. used. When absent, half duplex is assumed.
  13. * 'pause' (boolean, optional), to indicate that pause should be
  14. enabled.
  15. * 'asym-pause' (boolean, optional), to indicate that asym_pause should
  16. be enabled.
  17. Old, deprecated 'fixed-link' binding:
  18. * A 'fixed-link' property in the Ethernet MAC node, with 5 cells, of the
  19. form <a b c d e> with the following accepted values:
  20. - a: emulated PHY ID, choose any but but unique to the all specified
  21. fixed-links, from 0 to 31
  22. - b: duplex configuration: 0 for half duplex, 1 for full duplex
  23. - c: link speed in Mbits/sec, accepted values are: 10, 100 and 1000
  24. - d: pause configuration: 0 for no pause, 1 for pause
  25. - e: asymmetric pause configuration: 0 for no asymmetric pause, 1 for
  26. asymmetric pause
  27. Example:
  28. ethernet@0 {
  29. ...
  30. fixed-link {
  31. speed = <1000>;
  32. full-duplex;
  33. };
  34. ...
  35. };