提交 a5ad2e8f 编写于 作者: A Arınç ÜNAL 提交者: Thomas Bogendoerfer

mips: dts: ralink: mt7621: add mdio label to mdio-bus

Add mdio label to the mdio-bus node to easily refer to it.

Use the newly created label on the GB-PC2 devicetree.
Signed-off-by: NArınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: NSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
上级 aa88b706
...@@ -93,18 +93,16 @@ ...@@ -93,18 +93,16 @@
}; };
}; };
&ethernet { &gmac1 {
gmac1: mac@1 {
status = "okay"; status = "okay";
phy-handle = <&ethphy7>; phy-handle = <&ethphy7>;
}; };
mdio-bus { &mdio {
ethphy7: ethernet-phy@7 { ethphy7: ethernet-phy@7 {
reg = <7>; reg = <7>;
phy-mode = "rgmii-rxid"; phy-mode = "rgmii-rxid";
}; };
};
}; };
&switch0 { &switch0 {
......
...@@ -342,7 +342,7 @@ ...@@ -342,7 +342,7 @@
phy-mode = "rgmii-rxid"; phy-mode = "rgmii-rxid";
}; };
mdio-bus { mdio: mdio-bus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册