network-class.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/net/network-class.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Network Class Common Properties
  7. maintainers:
  8. - Devicetree Specification Mailing List <devicetree-spec@vger.kernel.org>
  9. properties:
  10. address-bits:
  11. description:
  12. Specifies number of address bits required to address the device
  13. described by this node, e.g. size of the MAC address.
  14. default: 48
  15. const: 48
  16. local-mac-address:
  17. description:
  18. Specifies MAC address that was assigned to the network device described by
  19. the node containing this property.
  20. $ref: /schemas/types.yaml#/definitions/uint8-array
  21. minItems: 6
  22. maxItems: 6
  23. mac-address:
  24. description:
  25. Specifies the MAC address that was last used by the boot program. This
  26. property should be used in cases where the MAC address assigned to the
  27. device by the boot program is different from the
  28. local-mac-address property. This property shall be used only if the value
  29. differs from local-mac-address property value.
  30. $ref: /schemas/types.yaml#/definitions/uint8-array
  31. minItems: 6
  32. maxItems: 6
  33. max-frame-size:
  34. $ref: /schemas/types.yaml#/definitions/uint32
  35. description:
  36. Maximum transfer unit (IEEE defined MTU), rather than the
  37. maximum frame size (there\'s contradiction in the Devicetree
  38. Specification).
  39. additionalProperties: true