rockchip,rk3588-gmac

Description

Rockchip RK3588 GMAC

Rockchip RK3588 Gigabit Ethernet MAC based on Synopsys DesignWare MAC.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

resets

phandle-array

Reset information

This property is required.

clock-in-out

string

RGMII clock direction. "input" means the 125 MHz RGMII reference
clock comes from the PHY. "output" means the SoC provides the
reference clock. RMII uses the same values for the 50 MHz clock.

Default value: input

Legal values: input, output

rockchip,grf

phandle

Phandle to the system GRF syscon, which holds the RGMII clock delay
configuration.

This property is required.

rockchip,php-grf

phandle

Phandle to the PHP GRF syscon, which holds the RGMII interface select
and the transmit clock divider.

This property is required.

tx-delay

int

TX RGMII delay value programmed in sys-GRF.

Default value: 0x30

Value range: 0 to 0x7f

rx-delay

int

RX RGMII delay value programmed in sys-GRF.

Default value: 0x10

Value range: 0 to 0x7f

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

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.

reset-names

string-array

Name of each reset