xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/net/ethernet.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunThe following properties are common to the Ethernet controllers:
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun- local-mac-address: array of 6 bytes, specifies the MAC address that was
4*4882a593Smuzhiyun  assigned to the network device;
5*4882a593Smuzhiyun- mac-address: array of 6 bytes, specifies the MAC address that was last used by
6*4882a593Smuzhiyun  the boot program; should be used in cases where the MAC address assigned to
7*4882a593Smuzhiyun  the device by the boot program is different from the "local-mac-address"
8*4882a593Smuzhiyun  property;
9*4882a593Smuzhiyun- max-speed: number, specifies maximum speed in Mbit/s supported by the device;
10*4882a593Smuzhiyun- max-frame-size: number, maximum transfer unit (IEEE defined MTU), rather than
11*4882a593Smuzhiyun  the maximum frame size (there's contradiction in ePAPR).
12*4882a593Smuzhiyun- phy-mode: string, operation mode of the PHY interface; supported values are
13*4882a593Smuzhiyun  "mii", "gmii", "sgmii", "qsgmii", "tbi", "rev-mii", "rmii", "rgmii", "rgmii-id",
14*4882a593Smuzhiyun  "rgmii-rxid", "rgmii-txid", "rtbi", "smii", "xgmii"; this is now a de-facto
15*4882a593Smuzhiyun  standard property;
16*4882a593Smuzhiyun- phy-connection-type: the same as "phy-mode" property but described in ePAPR;
17*4882a593Smuzhiyun- phy-handle: phandle, specifies a reference to a node representing a PHY
18*4882a593Smuzhiyun  device; this property is described in ePAPR and so preferred;
19*4882a593Smuzhiyun- phy: the same as "phy-handle" property, not recommended for new bindings.
20*4882a593Smuzhiyun- phy-device: the same as "phy-handle" property, not recommended for new
21*4882a593Smuzhiyun  bindings.
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunChild nodes of the Ethernet controller are typically the individual PHY devices
24*4882a593Smuzhiyunconnected via the MDIO bus (sometimes the MDIO bus controller is separate).
25*4882a593SmuzhiyunThey are described in the phy.txt file in this same directory.
26