提交 7b7ef57c 编写于 作者: A Andrew Lunn 提交者: 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: youxiaojie1979's avatar尤晓杰 <yxj790222@163.com>
Signed-off-by: NAndrew Lunn <andrew@lunn.ch>
Fixes: a3c53be5 ("net: dsa: mv88e6xxx: Support multiple MDIO busses")
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册