nxp,imx-netc-vsi

Description

NXP NETC Virtual Station Interface (VSI).

A VSI is a virtual function of an ENETC instance. Unlike the Physical Station
Interface (PSI) it does not own the physical MAC/PHY or the MDIO bus.
Control operations that touch those shared resources (primary MAC, filters,
link status) are performed by messaging the PSI over the VSI-to-PSI channel.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

mac-index

int

ENETC (MAC) instance this VSI belongs to.

This property is required.

si-index

int

Low byte of the HAL station-interface index: bits [7:4] = SI number within
the ENETC (0=PSI, 1=VSI0, 2=VSI1), bits [3:0] = index into the SI
base-address array.

This property is required.

msi-device-id

int

The device ID passed to MSI controller.

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, rgmii-id, rgmii-txid, rgmii-rxid, tbi, rtbi, smii, sgmii, rev-mii, xgmii, moca, qsgmii, trgmii, internal

ptp-clock

phandle

Corresponding ptp clock device.

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.

zephyr,mac-address-prefix

uint8-array

A statically assigned MAC address prefix.
Can be combined with zephyr,random-mac-address or an NVMEM cell, for
example to set the OUI.

nvmem-cell-names

string-array

Names for each nvmem-cells specified.

nvmem-cells

phandle-array

List of phandles to the nvmem data cells.

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.