Commit a5ad2e8f authored by Arınç ÜNAL's avatar Arınç ÜNAL Committed by 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: default avatarArınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent aa88b706
...@@ -93,17 +93,15 @@ gpio-pinmux { ...@@ -93,17 +93,15 @@ gpio-pinmux {
}; };
}; };
&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";
};
}; };
}; };
......
...@@ -342,7 +342,7 @@ gmac1: mac@1 { ...@@ -342,7 +342,7 @@ gmac1: mac@1 {
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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment