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: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
Arınç ÜNAL 2022-04-11 14:20:47 +03:00 committed by Thomas Bogendoerfer
parent aa88b7066a
commit a5ad2e8fee
2 changed files with 9 additions and 11 deletions

View file

@ -93,17 +93,15 @@ gpio-pinmux {
};
};
&ethernet {
gmac1: mac@1 {
status = "okay";
phy-handle = <&ethphy7>;
};
&gmac1 {
status = "okay";
phy-handle = <&ethphy7>;
};
mdio-bus {
ethphy7: ethernet-phy@7 {
reg = <7>;
phy-mode = "rgmii-rxid";
};
&mdio {
ethphy7: ethernet-phy@7 {
reg = <7>;
phy-mode = "rgmii-rxid";
};
};

View file

@ -342,7 +342,7 @@ gmac1: mac@1 {
phy-mode = "rgmii-rxid";
};
mdio-bus {
mdio: mdio-bus {
#address-cells = <1>;
#size-cells = <0>;