ethernet-phy-package.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/net/ethernet-phy-package.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Ethernet PHY Package Common Properties
  7. maintainers:
  8. - Christian Marangi <ansuelsmth@gmail.com>
  9. description:
  10. PHY packages are multi-port Ethernet PHY of the same family
  11. and each Ethernet PHY is affected by the global configuration
  12. of the PHY package.
  13. Each reg of the PHYs defined in the PHY package node is
  14. absolute and describe the real address of the Ethernet PHY on
  15. the MDIO bus.
  16. properties:
  17. $nodename:
  18. pattern: "^ethernet-phy-package@[a-f0-9]+$"
  19. reg:
  20. minimum: 0
  21. maximum: 31
  22. description:
  23. The base ID number for the PHY package.
  24. Commonly the ID of the first PHY in the PHY package.
  25. Some PHY in the PHY package might be not defined but
  26. still occupy ID on the device (just not attached to
  27. anything) hence the PHY package reg might correspond
  28. to a not attached PHY (offset 0).
  29. '#address-cells':
  30. const: 1
  31. '#size-cells':
  32. const: 0
  33. patternProperties:
  34. ^ethernet-phy@[a-f0-9]+$:
  35. $ref: ethernet-phy.yaml#
  36. required:
  37. - reg
  38. - '#address-cells'
  39. - '#size-cells'
  40. additionalProperties: true