micrel-ksz90x1.txt 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Micrel KSZ9021/KSZ9031 Gigabit Ethernet PHY
  2. Some boards require special tuning values, particularly when it comes
  3. to clock delays. You can specify clock delay values in the PHY OF
  4. device node. Deprecated, but still supported, these properties can
  5. also be added to an Ethernet OF device node.
  6. Note that these settings are applied after any phy-specific fixup from
  7. phy_fixup_list (see phy_init_hw() from drivers/net/phy/phy_device.c),
  8. and therefore may overwrite them.
  9. KSZ9021:
  10. All skew control options are specified in picoseconds. The minimum
  11. value is 0, the maximum value is 3000, and it is incremented by 200ps
  12. steps.
  13. Optional properties:
  14. - rxc-skew-ps : Skew control of RXC pad
  15. - rxdv-skew-ps : Skew control of RX CTL pad
  16. - txc-skew-ps : Skew control of TXC pad
  17. - txen-skew-ps : Skew control of TX CTL pad
  18. - rxd0-skew-ps : Skew control of RX data 0 pad
  19. - rxd1-skew-ps : Skew control of RX data 1 pad
  20. - rxd2-skew-ps : Skew control of RX data 2 pad
  21. - rxd3-skew-ps : Skew control of RX data 3 pad
  22. - txd0-skew-ps : Skew control of TX data 0 pad
  23. - txd1-skew-ps : Skew control of TX data 1 pad
  24. - txd2-skew-ps : Skew control of TX data 2 pad
  25. - txd3-skew-ps : Skew control of TX data 3 pad
  26. KSZ9031:
  27. All skew control options are specified in picoseconds. The minimum
  28. value is 0, and the maximum is property-dependent. The increment
  29. step is 60ps. The default value is the neutral setting, so setting
  30. rxc-skew-ps=<0> actually results in -900 picoseconds adjustment.
  31. Optional properties:
  32. Maximum value of 1860, default value 900:
  33. - rxc-skew-ps : Skew control of RX clock pad
  34. - txc-skew-ps : Skew control of TX clock pad
  35. Maximum value of 900, default value 420:
  36. - rxdv-skew-ps : Skew control of RX CTL pad
  37. - txen-skew-ps : Skew control of TX CTL pad
  38. - rxd0-skew-ps : Skew control of RX data 0 pad
  39. - rxd1-skew-ps : Skew control of RX data 1 pad
  40. - rxd2-skew-ps : Skew control of RX data 2 pad
  41. - rxd3-skew-ps : Skew control of RX data 3 pad
  42. - txd0-skew-ps : Skew control of TX data 0 pad
  43. - txd1-skew-ps : Skew control of TX data 1 pad
  44. - txd2-skew-ps : Skew control of TX data 2 pad
  45. - txd3-skew-ps : Skew control of TX data 3 pad
  46. Examples:
  47. mdio {
  48. phy0: ethernet-phy@0 {
  49. rxc-skew-ps = <3000>;
  50. rxdv-skew-ps = <0>;
  51. txc-skew-ps = <3000>;
  52. txen-skew-ps = <0>;
  53. reg = <0>;
  54. };
  55. };
  56. ethernet@70000 {
  57. status = "okay";
  58. phy = <&phy0>;
  59. phy-mode = "rgmii-id";
  60. };