blob: 5829bd81a22d03c49142196184b5855fe802db5c [file] [log] [blame]
Hannes Schmelzerdb40c1a2017-03-23 15:11:43 +01001Fixed link Device Tree binding
2------------------------------
3
4Some Ethernet MACs have a "fixed link", and are not connected to a
5normal MDIO-managed PHY device. For those situations, a Device Tree
6binding allows to describe a "fixed link".
7
8Such a fixed link situation is described by creating a 'fixed-link'
9sub-node of the Ethernet MAC device node, with the following
10properties:
11
12* 'speed' (integer, mandatory), to indicate the link speed. Accepted
13 values are 10, 100 and 1000
14* 'full-duplex' (boolean, optional), to indicate that full duplex is
15 used. When absent, half duplex is assumed.
16* 'pause' (boolean, optional), to indicate that pause should be
17 enabled.
18* 'asym-pause' (boolean, optional), to indicate that asym_pause should
19 be enabled.
20
21Examples:
22
23ethernet@0 {
24 ...
25 fixed-link {
26 speed = <1000>;
27 full-duplex;
28 };
29 ...
30};