blob: e1d76812419cad0dcba664263ac09d12b90f069c [file] [log] [blame]
Sergei Shtylyove8f08ee2014-02-18 02:41:59 +03001The following properties are common to the Ethernet controllers:
2
3- local-mac-address: array of 6 bytes, specifies the MAC address that was
4 assigned to the network device;
5- mac-address: array of 6 bytes, specifies the MAC address that was last used by
6 the boot program; should be used in cases where the MAC address assigned to
7 the device by the boot program is different from the "local-mac-address"
8 property;
9- max-speed: number, specifies maximum speed in Mbit/s supported by the device;
10- max-frame-size: number, maximum transfer unit (IEEE defined MTU), rather than
11 the maximum frame size (there's contradiction in ePAPR).
12- phy-mode: string, operation mode of the PHY interface; supported values are
Thomas Petazzonib9d12082014-04-15 15:50:19 +020013 "mii", "gmii", "sgmii", "qsgmii", "tbi", "rev-mii", "rmii", "rgmii", "rgmii-id",
Sean Wang4ce48622016-09-23 14:04:09 +080014 "rgmii-rxid", "rgmii-txid", "rtbi", "smii", "xgmii", "trgmii"; this is now a
15 de-facto standard property;
Sergei Shtylyove8f08ee2014-02-18 02:41:59 +030016- phy-connection-type: the same as "phy-mode" property but described in ePAPR;
17- phy-handle: phandle, specifies a reference to a node representing a PHY
18 device; this property is described in ePAPR and so preferred;
19- phy: the same as "phy-handle" property, not recommended for new bindings.
20- phy-device: the same as "phy-handle" property, not recommended for new
21 bindings.
Vince Bridgers13967f02015-04-15 11:17:38 -050022- rx-fifo-depth: the size of the controller's receive fifo in bytes. This
23 is used for components that can have configurable receive fifo sizes,
24 and is useful for determining certain configuration settings such as
25 flow control thresholds.
26- tx-fifo-depth: the size of the controller's transmit fifo in bytes. This
27 is used for components that can have configurable fifo sizes.
Stas Sergeev4cba5c22015-07-20 17:49:57 -070028- managed: string, specifies the PHY management type. Supported values are:
29 "auto", "in-band-status". "auto" is the default, it usess MDIO for
30 management if fixed-link is not specified.
Sergei Shtylyove8f08ee2014-02-18 02:41:59 +030031
32Child nodes of the Ethernet controller are typically the individual PHY devices
33connected via the MDIO bus (sometimes the MDIO bus controller is separate).
34They are described in the phy.txt file in this same directory.
Stas Sergeev4cba5c22015-07-20 17:49:57 -070035For non-MDIO PHY management see fixed-link.txt.