aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-08-27 20:04:57 -0400
committerDavid S. Miller <davem@davemloft.net>2014-08-28 01:59:41 -0400
commit51f265936fe138c05c7efc3a4fb78663c092f33e (patch)
tree16aa936fefe1dc71804ad4162178b1e1e5e98415
parent246d7f773c13cac3e3ab1609fd4ffee520242c63 (diff)
Documentation: devicetree: update dsa binding with optional properties
Add documentation for a bunch of new optional properties described in ethernet.txt and fixed-link.txt, this includes: 'phy-handle', 'phy-mode' and the 'fixed-link' subnode. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--Documentation/devicetree/bindings/net/dsa/dsa.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt
index 49f4f7ae3f51..a62c889aafca 100644
--- a/Documentation/devicetree/bindings/net/dsa/dsa.txt
+++ b/Documentation/devicetree/bindings/net/dsa/dsa.txt
@@ -39,6 +39,22 @@ Optionnal property:
39 This property is only used when switches are being 39 This property is only used when switches are being
40 chained/cascaded together. 40 chained/cascaded together.
41 41
42- phy-handle : Phandle to a PHY on an external MDIO bus, not the
43 switch internal one. See
44 Documentation/devicetree/bindings/net/ethernet.txt
45 for details.
46
47- phy-mode : String representing the connection to the designated
48 PHY node specified by the 'phy-handle' property. See
49 Documentation/devicetree/bindings/net/ethernet.txt
50 for details.
51
52Optional subnodes:
53- fixed-link : Fixed-link subnode describing a link to a non-MDIO
54 managed entity. See
55 Documentation/devicetree/bindings/net/fixed-link.txt
56 for details.
57
42Example: 58Example:
43 59
44 dsa@0 { 60 dsa@0 {
@@ -58,6 +74,7 @@ Example:
58 port@0 { 74 port@0 {
59 reg = <0>; 75 reg = <0>;
60 label = "lan1"; 76 label = "lan1";
77 phy-handle = <&phy0>;
61 }; 78 };
62 79
63 port@1 { 80 port@1 {