Skip to content

Commit

Permalink
mips: dts: ralink: mt7621: add mdio label to mdio-bus
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Sergio Paracuellos <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
  • Loading branch information
arinc9 authored and tsbogend committed Apr 27, 2022
1 parent aa88b70 commit a5ad2e8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,15 @@
};
};

&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";
};
};

Expand Down
2 changes: 1 addition & 1 deletion arch/mips/boot/dts/ralink/mt7621.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@
phy-mode = "rgmii-rxid";
};

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

Expand Down

0 comments on commit a5ad2e8

Please sign in to comment.