Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Corentin Labbe and committed by
Linus Walleij
61fb67da 568035b0

+1 -5
+1 -5
arch/arm/boot/dts/gemini-ns2502.dts
··· 39 39 phy0: ethernet-phy@1 { 40 40 reg = <1>; 41 41 device_type = "ethernet-phy"; 42 - /* We lack the knowledge of necessary GPIO to achieve 43 - * Gigabit 44 - */ 45 - max-speed = <100>; 46 42 }; 47 43 }; 48 44 }; ··· 46 50 &ethernet { 47 51 status = "okay"; 48 52 ethernet-port@0 { 49 - phy-mode = "rgmii"; 53 + phy-mode = "rgmii-id"; 50 54 phy-handle = <&phy0>; 51 55 }; 52 56 };