snps,ethernet-cyclonev

Description

Ethernet driver for Cyclone V SoC

Synopsys DesignWare MAC (DW MAC) is a highly configurable, high-performance
Ethernet Media Access Controller (MAC) IP core, that is used by many SoC vendors.
This binding is derived from the matching Linux kernel binding.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

emac-index

int

This property is required.

snps,clk-csr

int

Value programmed into the MAC MDIO Address CR field.
When present, this fixed value is used directly instead of deriving
the MDIO clock range from the MAC clock rate.

snps,multicast-filter-bins

int

Number of multicast hash filter bins the hardware was configured
with. The absence of this property means the hardware cannot hash
multicast addresses.

Legal values: 64, 128, 256

snps,perfect-filter-entries

int

Number of MAC address (perfect) filter entries the hardware was
configured with, including entry 0 which holds the station address.
The default corresponds to the minimal hardware configuration.

Default value: 1

Minimum value: 1

max-speed

int

Specifies the maximum supported speed of the Ethernet controller in Mbit/s.

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

pcs-handle

phandles

Physical coding sublayer (PCS) devices used by this Ethernet controller,
for example on an MDIO bus. An external PHY behind the PCS is described
by phy-handle.

pcs-handle-names

string-array

Names for the pcs-handle entries, in the same order.

ptp-clock

phandle

Corresponding ptp clock device.

rx-fifo-depth

int

Specifies the depth of the receive FIFO buffer.

tx-fifo-depth

int

Specifies the depth of the transmit FIFO buffer.

rx-internal-delay-ps

int

Specifies the internal delay of the receive path in picoseconds.
Only for RGMII interfaces. Applied by the MAC.

tx-internal-delay-ps

int

Specifies the internal delay of the transmit path in picoseconds.
Only for RGMII interfaces. Applied by the MAC.

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.