Skip to content

Commit 813c18d

Browse files
FlyGoattsbogend
authored andcommitted
MIPS: dts: loongson: Fix GMAC phy node
phy-mode should be rgmii-id to match hardware configuration. Also there should be a phy-handle to reference phy node. Fixes: f8a1142 ("MIPS: Loongson64: Add GMAC support for Loongson-2K1000") Cc: [email protected] Signed-off-by: Jiaxun Yang <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent f70fd92 commit 813c18d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@
128128
<13 IRQ_TYPE_LEVEL_HIGH>;
129129
interrupt-names = "macirq", "eth_lpi";
130130
interrupt-parent = <&liointc0>;
131-
phy-mode = "rgmii";
131+
phy-mode = "rgmii-id";
132+
phy-handle = <&phy1>;
132133
mdio {
133134
#address-cells = <1>;
134135
#size-cells = <0>;
@@ -151,7 +152,8 @@
151152
<15 IRQ_TYPE_LEVEL_HIGH>;
152153
interrupt-names = "macirq", "eth_lpi";
153154
interrupt-parent = <&liointc0>;
154-
phy-mode = "rgmii";
155+
phy-mode = "rgmii-id";
156+
phy-handle = <&phy1>;
155157
mdio {
156158
#address-cells = <1>;
157159
#size-cells = <0>;

0 commit comments

Comments
 (0)