ARM: dts: gemini: ns2502: permit to use gigabit
authorCorentin Labbe <clabbe@baylibre.com>
Sat, 15 Jan 2022 10:04:43 +0000 (10:04 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Aug 2022 11:26:58 +0000 (13:26 +0200)
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.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/gemini-ns2502.dts

index 704abd2..508bb58 100644 (file)
                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 @@
 &ethernet {
        status = "okay";
        ethernet-port@0 {
-               phy-mode = "rgmii";
+               phy-mode = "rgmii-id";
                phy-handle = <&phy0>;
        };
 };