From: Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx> Date: Fri, 6 Sep 2019 16:02:55 +0300 > In-between the MAC & PHY there can be a mode converter, which converts one > mode to another (e.g. GMII-to-RGMII). > > The converter, can be passive (i.e. no driver or OS/SW information > required), so the MAC & PHY need to be configured differently. > > For the `stmmac` driver, this is implemented via a `mac-mode` property in > the device-tree, which configures the MAC into a certain mode, and for the > PHY a `phy_interface` field will hold the mode of the PHY. The mode of the > PHY will be passed to the PHY and from there-on it work in a different > mode. If unspecified, the default `phy-mode` will be used for both. > > Signed-off-by: Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx> Applied to net-next.