diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2018-06-25 14:56:53 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2018-06-27 16:48:25 -0700 |
commit | 6d28d577510f1a51f7ffbe830fdbf42077e0058b (patch) | |
tree | 125980909e2cd5664e02097583f4fc3e2dab9d13 | |
parent | 48e21ded0432ee1e2359d4143d7a6925cefee1b5 (diff) | |
download | op-kernel-dev-6d28d577510f1a51f7ffbe830fdbf42077e0058b.zip op-kernel-dev-6d28d577510f1a51f7ffbe830fdbf42077e0058b.tar.gz |
ARM64: dts: meson-axg: fix ethernet stability issue
Like the odroid-c2 and wetek, the s400 uses the RTL8211F and seems to
suffer from the kind of stability issue.
Doing an iperf3 download test, we can see a significant number of LPI
interrupts on the tx path. After a short while (5 to 15 seconds), the
network connection dies. If using rootfs over NFS, the connection may
also break during the boot sequence.
We still don't have a real explanation for this problem so let's disable
EEE once again.
Fixes: f6f6ac914b82 ("ARM64: dts: meson-axg: enable ethernet for A113D S400 board")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 4b3331f..dff9b15 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -66,9 +66,22 @@ ðmac { status = "okay"; - phy-mode = "rgmii"; pinctrl-0 = <ð_rgmii_y_pins>; pinctrl-names = "default"; + phy-handle = <ð_phy0>; + phy-mode = "rgmii"; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + eth_phy0: ethernet-phy@0 { + /* Realtek RTL8211F (0x001cc916) */ + reg = <0>; + eee-broken-1000t; + }; + }; }; &uart_A { |