microchip,vsc8541 (on mdio bus)

Description

Single Port Gigabit Ethernet Copper PHY with GMII/RGMII/MII/RMII Interfaces

Properties

Properties not inherited from the base binding file.

Name

Type

Details

reset-gpios

phandle-array

GPIO connected to MAC PHY reset signal pin. Reset is active low.

int-gpios

phandle-array

GPIO connected to MAC PHY interrupt signal pin. Interrupt is active low.

microchip,interface-type

string

Which type of phy connection the phy is set up for

This property is required.

Legal values: mii, rmii, gmii, rgmii

microchip,rgmii-rx-clk-delay

int

Used to configure the RX clock delay for RGMII interface. The value can be
0 to 7. Refer to the datasheet for more details on the delay settings.

Default value: 5

microchip,rgmii-tx-clk-delay

int

Used to configure the TX clock delay for RGMII interface. The value can be
0 to 7. Refer to the datasheet for more details on the delay settings.

Default value: 5

vsc8531,vddmac

int

VDDMAC supply voltage in millivolts. The driver uses the voltage to
select the edge-rate conversion table. The property does not change
the supply voltage.

The default matches the Linux binding. When setting
vsc8531,edge-slowdown, override the default if the board uses a
different VDDMAC voltage.

Default value: 3300

Legal values: 3300, 2500, 1800, 1500

vsc8531,edge-slowdown

int

Percentage reduction in MAC-interface output edge rate relative to
the fastest setting. Zero selects the fastest setting. The default
matches the hardware power-on default and the Linux binding.
Set a nonzero value to select a slower edge rate.

Valid percentages depend on vsc8531,vddmac:

- 3300 mV: 0, 2, 4, 7, 10, 17, 29, 53 (recommended: 7)
- 2500 mV: 0, 3, 6, 10, 14, 23, 37, 63 (recommended: 10)
- 1800 mV: 0, 5, 9, 16, 23, 35, 52, 76 (recommended: 0)
- 1500 mV: 0, 6, 14, 21, 29, 42, 58, 77 (recommended: 0)

The percentages select settings from the datasheet's MAC Interface
Edge Rate Control table, as in the Linux binding. The percentages
describe measurements on typical silicon at nominal supply voltage
and room temperature. The actual edge rate depends on the board
and operating conditions.

Default value: 0

Legal values: 0, 2, 3, 4, 5, 6, 7, 9, 10, 14, 16, 17, 21, 23, 29, 35, 37, 42, 52, 53, 58, 63, 76, 77

default-speeds

string-array

The selected speeds are used to configure the PHY during initialization

Default value: [10BASE Half-Duplex, 10BASE Full-Duplex, 100BASE Half-Duplex, 100BASE Full-Duplex, 1000BASE Half-Duplex, 1000BASE Full-Duplex]

Legal values: 10BASE Half-Duplex, 10BASE Full-Duplex, 100BASE Half-Duplex, 100BASE Full-Duplex, 1000BASE Half-Duplex, 1000BASE Full-Duplex