phy.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. PHY nodes
  2. Required properties:
  3. - device_type : Should be "ethernet-phy"
  4. - interrupts : <a b> where a is the interrupt number and b is a
  5. field that represents an encoding of the sense and level
  6. information for the interrupt. This should be encoded based on
  7. the information in section 2) depending on the type of interrupt
  8. controller you have.
  9. - interrupt-parent : the phandle for the interrupt controller that
  10. services interrupts for this device.
  11. - reg : The ID number for the phy, usually a small integer
  12. - linux,phandle : phandle for this node; likely referenced by an
  13. ethernet controller node.
  14. Optional Properties:
  15. - compatible: Compatible list, may contain
  16. "ethernet-phy-ieee802.3-c22" or "ethernet-phy-ieee802.3-c45" for
  17. PHYs that implement IEEE802.3 clause 22 or IEEE802.3 clause 45
  18. specifications. If neither of these are specified, the default is to
  19. assume clause 22. The compatible list may also contain other
  20. elements.
  21. Example:
  22. ethernet-phy@0 {
  23. compatible = "ethernet-phy-ieee802.3-c22";
  24. linux,phandle = <2452000>;
  25. interrupt-parent = <40000>;
  26. interrupts = <35 1>;
  27. reg = <0>;
  28. device_type = "ethernet-phy";
  29. };