Commit 7b7ef57c authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller

net: dsa: mv88e6xxx: Fix binding documentation for MDIO busses

The MDIO busses are switch properties and so should be inside the
switch node. Fix the examples in the binding document.
Reported-by: default avatar尤晓杰 <yxj790222@163.com>
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Fixes: a3c53be5 ("net: dsa: mv88e6xxx: Support multiple MDIO busses")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6e5d58fd
...@@ -50,7 +50,7 @@ Example: ...@@ -50,7 +50,7 @@ Example:
compatible = "marvell,mv88e6085"; compatible = "marvell,mv88e6085";
reg = <0>; reg = <0>;
reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
};
mdio { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -61,6 +61,7 @@ Example: ...@@ -61,6 +61,7 @@ Example:
}; };
}; };
}; };
};
mdio { mdio {
#address-cells = <1>; #address-cells = <1>;
...@@ -74,7 +75,7 @@ Example: ...@@ -74,7 +75,7 @@ Example:
compatible = "marvell,mv88e6390"; compatible = "marvell,mv88e6390";
reg = <0>; reg = <0>;
reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
};
mdio { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -94,3 +95,4 @@ Example: ...@@ -94,3 +95,4 @@ Example:
}; };
}; };
}; };
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment