davicom,dm8806-phy (on mdio bus)

Vendor: DAVICOM Semiconductor, Inc.

Note

An implementation of a driver matching this compatible is available in drivers/ethernet/phy/phy_dm8806.c.

Description

Davicom DM8806 Ethernet MAC and PHY with RMII interface

Properties

Properties not inherited from the base binding file.

Name

Type

Details

reg-switch

int

5-bit PHY address for Switch Per-Port Registers group of Davicom DM8806
MAC PHY Ethernet Switch Controller, separate for each MAC PHY, build in
DM8806 and correlate with Ethenet port. DM8806 has five MAC PHY inside,
but it is not mandatory to define all of them in device tree if there is
no need to communicate with all of them. Each MAC PHY has its own PHY
address, which together with Register address creates the absolute address
of the concrete register in conrete MAC PHY acoring to Clause 22 MDIO
communication standard. Below example shows how the PHY address and
Register address are glued together in Switch Per-Port Registers group:

                  Switch Per-Port Registers
Port0: (5bit PHY Address) + (5bit Register address) = Absolute address

Absolute address is the address of the concrete register in MAC PHY0
which is responsible for Ethernet Port0 in Davicom DM8806

This property is required.

reset-gpios

phandle-array

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

This property is required.

int-gpios

phandle-array

GPIO for   upt signal indicating MAC PHY state change.

This property is required.

davicom,interface-type

string

Which type of phy connection the mac phy is set up for

This property is required.

Legal values: 'mii', 'rmii'

no-reset

boolean

Do not reset the PHY during initialization

fixed-link

string

This link is fixed and does not require PHY configuration

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