phy.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. The compatible list may also contain other
  17. elements.
  18. If the phy's identifier is known then the list may contain an entry
  19. of the form: "ethernet-phy-idAAAA.BBBB" where
  20. AAAA - The value of the 16 bit Phy Identifier 1 register as
  21. 4 hex digits. This is the chip vendor OUI bits 3:18
  22. BBBB - The value of the 16 bit Phy Identifier 2 register as
  23. 4 hex digits. This is the chip vendor OUI bits 19:24,
  24. followed by 10 bits of a vendor specific ID.
  25. - max-speed: Maximum PHY supported speed (10, 100, 1000...)
  26. - broken-turn-around: If set, indicates the PHY device does not correctly
  27. release the turn around line low at the end of a MDIO transaction.
  28. Example:
  29. ethernet-phy@0 {
  30. compatible = "ethernet-phy-id0141.0e90", "ethernet-phy-ieee802.3-c22";
  31. interrupt-parent = <40000>;
  32. interrupts = <35 1>;
  33. reg = <0>;
  34. };