phy.txt 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. PHY nodes
  2. Required properties:
  3. - interrupts : <a b> where a is the interrupt number and b is a
  4. field that represents an encoding of the sense and level
  5. information for the interrupt. This should be encoded based on
  6. the information in section 2) depending on the type of interrupt
  7. controller you have.
  8. - interrupt-parent : the phandle for the interrupt controller that
  9. services interrupts for this device.
  10. - reg : The ID number for the phy, usually a small integer
  11. Optional Properties:
  12. - compatible: Compatible list, may contain
  13. "ethernet-phy-ieee802.3-c22" or "ethernet-phy-ieee802.3-c45" for
  14. PHYs that implement IEEE802.3 clause 22 or IEEE802.3 clause 45
  15. specifications. If neither of these are specified, the default is to
  16. assume clause 22.
  17. If the phy's identifier is known then the list may contain an entry
  18. of the form: "ethernet-phy-idAAAA.BBBB" where
  19. AAAA - The value of the 16 bit Phy Identifier 1 register as
  20. 4 hex digits. This is the chip vendor OUI bits 3:18
  21. BBBB - The value of the 16 bit Phy Identifier 2 register as
  22. 4 hex digits. This is the chip vendor OUI bits 19:24,
  23. followed by 10 bits of a vendor specific ID.
  24. The compatible list should not contain other values than those
  25. listed here.
  26. - max-speed: Maximum PHY supported speed (10, 100, 1000...)
  27. - broken-turn-around: If set, indicates the PHY device does not correctly
  28. release the turn around line low at the end of a MDIO transaction.
  29. - eee-broken-100tx:
  30. - eee-broken-1000t:
  31. - eee-broken-10gt:
  32. - eee-broken-1000kx:
  33. - eee-broken-10gkx4:
  34. - eee-broken-10gkr:
  35. Mark the corresponding energy efficient ethernet mode as broken and
  36. request the ethernet to stop advertising it.
  37. Example:
  38. ethernet-phy@0 {
  39. compatible = "ethernet-phy-id0141.0e90", "ethernet-phy-ieee802.3-c22";
  40. interrupt-parent = <40000>;
  41. interrupts = <35 1>;
  42. reg = <0>;
  43. };