ARM: dts: gemini: ns2502: permit to use gigabit
PATCH 1/2 ARM: dts: gemini: ns2502: permit to use gigabit
I believed that gigabit was not working due to some unknown missing GPIO. In fact, gigabit worked when REALTEK_PHY was compiled out.
So the problem was due to PHY delay and we need to use rgmii-id.
--- arch/arm/boot/dts/gemini-ns2502.dts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
arch/arm/boot/dts/gemini-ns2502.dts +1 -5
@@ -39,10 +39,6 @@ mdio0: mdio { phy0: ethernet-phy@1 { reg = <1>; device_type = "ethernet-phy"; - /* We lack the knowledge of necessary GPIO to achieve - * Gigabit - */ - max-speed = <100>; }; }; };
@@ -50,7 +46,7 @@ phy0: ethernet-phy@1 { ðernet { status = "okay"; ethernet-port@0 { - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-handle = <&phy0>; mac-address = [00 1F 1F 8E 65 E2]; };
Signature · 1 line
2.34.1
PATCH 2/2 ARM: dts: gemini: ssi1328: permit to use gigabit
I believed that gigabit was not working due to unknown missing GPIO. But the problem was due to Marvell PHY incorrectly setting delay. Now it is fixed, gigabit works.
--- arch/arm/boot/dts/gemini-ssi1328.dts | 4 ---- 1 file changed, 4 deletions(-)
arch/arm/boot/dts/gemini-ssi1328.dts +0 -4
@@ -40,10 +40,6 @@ mdio0: mdio { phy0: ethernet-phy@1 { reg = <1>; device_type = "ethernet-phy"; - /* We lack the knowledge of necessary GPIO to achieve - * Gigabit - */ - max-speed = <100>; }; /* WAN ICPlus IP101A */ phy1: ethernet-phy@2 {
Signature · 1 line
2.34.1
Quoted 5 lines · Corentin Labbe
I believed that gigabit was not working due to some unknown missing GPIO. In fact, gigabit worked when
REALTEK_PHYwas compiled out.
So the problem was due to PHY delay and we need to use rgmii-id.Signed-off-by Corentin Labbe <[email protected]>
Thanks Corentin!
Patches applied.
Do you think I need a similar fix "rgmii"->"rgmii-id" on other Gemini devicetrees that claim gigabit performance?
Yours,
Linus Walleij