1# Copyright (c) 2018, Linaro Limited
2# SPDX-License-Identifier: Apache-2.0
3
4# Common fields for Ethernet devices
5
6include: base.yaml
7
8properties:
9    local-mac-address:
10      type: uint8-array
11      required: false
12      description: Specifies the MAC address that was assigned to the network device
13    label:
14      required: true
15    zephyr,random-mac-address:
16      type: boolean
17      required: false
18      description: |
19        Use a random MAC address generated when the driver is initialized.
20        Note that using this choice and rebooting a board may leave stale
21        MAC address in peers' ARP caches and lead to issues and delays in
22        communication.  (Use "ip neigh flush all" on Linux peers to clear
23        ARP cache.)
24
25        It is driver specific how the OUI octets are handled.
26
27        If set we ignore any setting of the local-mac-address property.
28