Commit 813c18d1 authored by Jiaxun Yang's avatar Jiaxun Yang Committed by Thomas Bogendoerfer
Browse files

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: f8a11425 ("MIPS: Loongson64: Add GMAC support for Loongson-2K1000")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent f70fd92d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -128,7 +128,8 @@ gmac@3,0 {
					     <13 IRQ_TYPE_LEVEL_HIGH>;
				interrupt-names = "macirq", "eth_lpi";
				interrupt-parent = <&liointc0>;
				phy-mode = "rgmii";
				phy-mode = "rgmii-id";
				phy-handle = <&phy1>;
				mdio {
					#address-cells = <1>;
					#size-cells = <0>;
@@ -151,7 +152,8 @@ gmac@3,1 {
					     <15 IRQ_TYPE_LEVEL_HIGH>;
				interrupt-names = "macirq", "eth_lpi";
				interrupt-parent = <&liointc0>;
				phy-mode = "rgmii";
				phy-mode = "rgmii-id";
				phy-handle = <&phy1>;
				mdio {
					#address-cells = <1>;
					#size-cells = <0>;