nxp,enet-mac

Vendor: NXP Semiconductors

Note

An implementation of a driver matching this compatible is available in drivers/ethernet/nxp_enet/eth_nxp_enet.c.

Description

NXP ENET MAC/L2 Device

Properties

Properties not inherited from the base binding file.

Name

Type

Details

local-mac-address

uint8-array

Specifies the MAC address that was assigned to the network device

zephyr,random-mac-address

boolean

Use a random MAC address generated when the driver is initialized.
Note that using this choice and rebooting a board may leave stale
MAC address in peers' ARP caches and lead to issues and delays in
communication.  (Use "ip neigh flush all" on Linux peers to clear
ARP cache.)

It is driver specific how the OUI octets are handled.

If set we ignore any setting of the local-mac-address property.

phy-handle

phandle

Specifies a reference to a node representing a PHY device.

phy-connection-type

string

Specifies the interface connection type between ethernet MAC and PHY.

Legal values: 'mii', 'rmii', 'gmii', 'rgmii'

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

nxp,mdio

phandle

Corresponding mdio device

This property is required.

nxp,ptp-clock

phandle

Corresponding ptp clock device

This property is required.

nxp,unique-mac

boolean

Use part of the unique silicon ID to generate the MAC.
This property will be overridden if the node has
zephyr,random-mac-address or local-mac-address also.
This option is intended for cases where a very low likelihood
that the mac address is the same as another on the network
is sufficient, such as, testing, bringup, demos, etc.
The first 3 bytes will be the freescale OUI and the next
3 bytes will come from the chip's unique ID.

nxp,fused-mac

boolean

Use the MAC address from fuse shadow register.
Not all platforms have a fusable MAC address.