Commit a5ad2e8f authored by Arınç ÜNAL's avatar Arınç ÜNAL Committed by Thomas Bogendoerfer
Browse files

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
Loading
Loading
Loading
Loading
+8 −10
Original line number Diff line number Diff line
@@ -93,19 +93,17 @@ gpio-pinmux {
	};
};

&ethernet {
	gmac1: mac@1 {
&gmac1 {
	status = "okay";
	phy-handle = <&ethphy7>;
};

	mdio-bus {
&mdio {
	ethphy7: ethernet-phy@7 {
		reg = <7>;
		phy-mode = "rgmii-rxid";
	};
};
};

&switch0 {
	ports {
+1 −1
Original line number Diff line number Diff line
@@ -342,7 +342,7 @@ gmac1: mac@1 {
			phy-mode = "rgmii-rxid";
		};

		mdio-bus {
		mdio: mdio-bus {
			#address-cells = <1>;
			#size-cells = <0>;