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    description: Specifies the MAC address that was assigned to the network device
12
13  zephyr,random-mac-address:
14    type: boolean
15    description: |
16      Use a random MAC address generated when the driver is initialized.
17      Note that using this choice and rebooting a board may leave stale
18      MAC address in peers' ARP caches and lead to issues and delays in
19      communication.  (Use "ip neigh flush all" on Linux peers to clear
20      ARP cache.)
21
22      It is driver specific how the OUI octets are handled.
23
24      If set we ignore any setting of the local-mac-address property.
25
26  phy-handle:
27    type: phandle
28    description: |
29      Specifies a reference to a node representing a PHY device.
30