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>
This commit is contained in:
committed by
David S. Miller
parent
246d7f773c
commit
51f265936f
@@ -39,6 +39,22 @@ Optionnal property:
|
|||||||
This property is only used when switches are being
|
This property is only used when switches are being
|
||||||
chained/cascaded together.
|
chained/cascaded together.
|
||||||
|
|
||||||
|
- phy-handle : Phandle to a PHY on an external MDIO bus, not the
|
||||||
|
switch internal one. See
|
||||||
|
Documentation/devicetree/bindings/net/ethernet.txt
|
||||||
|
for details.
|
||||||
|
|
||||||
|
- phy-mode : String representing the connection to the designated
|
||||||
|
PHY node specified by the 'phy-handle' property. See
|
||||||
|
Documentation/devicetree/bindings/net/ethernet.txt
|
||||||
|
for details.
|
||||||
|
|
||||||
|
Optional subnodes:
|
||||||
|
- fixed-link : Fixed-link subnode describing a link to a non-MDIO
|
||||||
|
managed entity. See
|
||||||
|
Documentation/devicetree/bindings/net/fixed-link.txt
|
||||||
|
for details.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
dsa@0 {
|
dsa@0 {
|
||||||
@@ -58,6 +74,7 @@ Example:
|
|||||||
port@0 {
|
port@0 {
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
label = "lan1";
|
label = "lan1";
|
||||||
|
phy-handle = <&phy0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
port@1 {
|
port@1 {
|
||||||
|
|||||||
Reference in New Issue
Block a user