| 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 |
|
| 7 |
title: Network Class Common Properties |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Devicetree Specification Mailing List <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
address-bits: |
| 14 |
description: |
| 15 |
Specifies number of address bits required to address the device |
| 16 |
described by this node, e.g. size of the MAC address. |
| 17 |
default: 48 |
| 18 |
const: 48 |
| 19 |
|
| 20 |
local-mac-address: |
| 21 |
description: |
| 22 |
Specifies MAC address that was assigned to the network device described by |
| 23 |
the node containing this property. |
| 24 |
$ref: /schemas/types.yaml#/definitions/uint8-array |
| 25 |
minItems: 6 |
| 26 |
maxItems: 6 |
| 27 |
|
| 28 |
mac-address: |
| 29 |
description: |
| 30 |
Specifies the MAC address that was last used by the boot program. This |
| 31 |
property should be used in cases where the MAC address assigned to the |
| 32 |
device by the boot program is different from the |
| 33 |
local-mac-address property. This property shall be used only if the value |
| 34 |
differs from local-mac-address property value. |
| 35 |
$ref: /schemas/types.yaml#/definitions/uint8-array |
| 36 |
minItems: 6 |
| 37 |
maxItems: 6 |
| 38 |
|
| 39 |
max-frame-size: |
| 40 |
$ref: /schemas/types.yaml#/definitions/uint32 |
| 41 |
description: |
| 42 |
Maximum transfer unit (IEEE defined MTU), rather than the |
| 43 |
maximum frame size (there\'s contradiction in the Devicetree |
| 44 |
Specification). |
| 45 |
|
| 46 |
additionalProperties: true |