Hello Thomas, 2013/9/6 Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx>: > +Some Ethernet MACs have a "fixed link", and are not connected to a > +normal MDIO-managed PHY device. For those situations, a Device Tree > +binding allows to describe a "fixed link". > + > +Such a fixed link situation is described by creating a PHY node as a > +sub-node of an Ethernet device, with the following properties: > + > +* 'fixed-link' (boolean, mandatory), to indicate that this PHY is a > + fixed link PHY. > +* 'speed' (integer, mandatory), to indicate the link speed. Accepted > + values are 10, 100 and 1000 'max-speed' might be better here to match ePAPR v1.1 (if we do care, 'speed') works for me too. > +* 'full-duplex' (boolean, optional), to indicate that full duplex is > + used. When absent, half duplex is assumed. > +* 'pause' (boolean, optional), to indicate that pause should be > + enabled. > +* 'asym-pause' (boolean, optional), to indicate that asym_pause should > + be enabled. We also need to add a property: 'connection-type' which can be any of 'mii', 'rgmii' etc... When operating Ethernet devices with Ethernet devices connected back to back, it might be required to configure the Ethernet MAC with an appropriate connection type. Note that I picked 'connection-type' here because this the ePAPR v1.1 terminology. Now the good thing is that it is a new "feature" wrt. the old binding. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html