1*4882a593SmuzhiyunFixed link Device Tree binding 2*4882a593Smuzhiyun------------------------------ 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunSome Ethernet MACs have a "fixed link", and are not connected to a 5*4882a593Smuzhiyunnormal MDIO-managed PHY device. For those situations, a Device Tree 6*4882a593Smuzhiyunbinding allows to describe a "fixed link". 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunSuch a fixed link situation is described by creating a 'fixed-link' 9*4882a593Smuzhiyunsub-node of the Ethernet MAC device node, with the following 10*4882a593Smuzhiyunproperties: 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun* 'speed' (integer, mandatory), to indicate the link speed. Accepted 13*4882a593Smuzhiyun values are 10, 100 and 1000 14*4882a593Smuzhiyun* 'full-duplex' (boolean, optional), to indicate that full duplex is 15*4882a593Smuzhiyun used. When absent, half duplex is assumed. 16*4882a593Smuzhiyun* 'pause' (boolean, optional), to indicate that pause should be 17*4882a593Smuzhiyun enabled. 18*4882a593Smuzhiyun* 'asym-pause' (boolean, optional), to indicate that asym_pause should 19*4882a593Smuzhiyun be enabled. 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunExamples: 22*4882a593Smuzhiyun 23*4882a593Smuzhiyunethernet@0 { 24*4882a593Smuzhiyun ... 25*4882a593Smuzhiyun fixed-link { 26*4882a593Smuzhiyun speed = <1000>; 27*4882a593Smuzhiyun full-duplex; 28*4882a593Smuzhiyun }; 29*4882a593Smuzhiyun ... 30*4882a593Smuzhiyun}; 31