summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2022-01-15 10:04:43 +0000
committerLinus Walleij <linus.walleij@linaro.org>2022-08-26 13:26:58 +0200
commit61fb67dae505d71da5f17752b46aaacc3939c10f (patch)
tree6b15b0a2104ba92099005d8e21cd066214dacbec
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
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>
-rw-r--r--arch/arm/boot/dts/gemini-ns2502.dts6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/gemini-ns2502.dts b/arch/arm/boot/dts/gemini-ns2502.dts
index 704abd212df50..508bb5846e296 100644
--- a/arch/arm/boot/dts/gemini-ns2502.dts
+++ b/arch/arm/boot/dts/gemini-ns2502.dts
@@ -39,10 +39,6 @@
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>;
};
};