aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/fixed-link.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/net/fixed-link.txt')
-rw-r--r--Documentation/devicetree/bindings/net/fixed-link.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/fixed-link.txt b/Documentation/devicetree/bindings/net/fixed-link.txt
new file mode 100644
index 000000000000..82bf7e0f47b6
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/fixed-link.txt
@@ -0,0 +1,42 @@
1Fixed 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
21Old, deprecated 'fixed-link' binding:
22
23* A 'fixed-link' property in the Ethernet MAC node, with 5 cells, of the
24 form <a b c d e> with the following accepted values:
25 - a: emulated PHY ID, choose any but but unique to the all specified
26 fixed-links, from 0 to 31
27 - b: duplex configuration: 0 for half duplex, 1 for full duplex
28 - c: link speed in Mbits/sec, accepted values are: 10, 100 and 1000
29 - d: pause configuration: 0 for no pause, 1 for pause
30 - e: asymmetric pause configuration: 0 for no asymmetric pause, 1 for
31 asymmetric pause
32
33Example:
34
35ethernet@0 {
36 ...
37 fixed-link {
38 speed = <1000>;
39 full-duplex;
40 };
41 ...
42};