zephyr,cdc-ncm-ethernet

Vendor: Zephyr-specific binding

Note

An implementation of a driver matching this compatible is available in subsys/usb/device_next/class/usbd_cdc_ncm.c.

Description

USB CDC NCM virtual Ethernet controller

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'

remote-mac-address

string

Remote MAC address of the virtual Ethernet connection.
Should not be the same as local-mac-address property.

This property is required.