aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/meson8b.dtsi
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2019-07-18 11:36:23 +0200
committerKevin Hilman <khilman@baylibre.com>2019-08-05 14:38:06 -0700
commit4f0303d43973a4086d6355db0c653a5a369b5dbe (patch)
tree9c95715175be7f904c70be865dee97d21c6c318b /arch/arm/boot/dts/meson8b.dtsi
parentLinus 5.3-rc1 (diff)
downloadlinux-dev-4f0303d43973a4086d6355db0c653a5a369b5dbe.tar.xz
linux-dev-4f0303d43973a4086d6355db0c653a5a369b5dbe.zip
ARM: dts: meson8b: add ethernet fifo sizes
If unspecified in DT, the fifo sizes are not automatically detected by the dwmac1000 dma driver and the reported fifo sizes default to 0. Because of this, flow control will be turned off on the device. Add the fifo sizes provided by the datasheet in the SoC in DT so flow control may be enabled if necessary. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Reviewed-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm/boot/dts/meson8b.dtsi')
-rw-r--r--arch/arm/boot/dts/meson8b.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi
index fba2c70c2fda..b044ad78b475 100644
--- a/arch/arm/boot/dts/meson8b.dtsi
+++ b/arch/arm/boot/dts/meson8b.dtsi
@@ -410,6 +410,8 @@
<&clkc CLKID_MPLL2>,
<&clkc CLKID_MPLL2>;
clock-names = "stmmaceth", "clkin0", "clkin1";
+ rx-fifo-depth = <4096>;
+ tx-fifo-depth = <2048>;
resets = <&reset RESET_ETHERNET>;
reset-names = "stmmaceth";