diff options
author | Joachim Eastwood <manabian@gmail.com> | 2016-05-06 06:57:49 (GMT) |
---|---|---|
committer | Joachim Eastwood <manabian@gmail.com> | 2016-08-27 14:13:19 (GMT) |
commit | 3ed6d3cb14097218629ace56aa1a2d0a862b3125 (patch) | |
tree | 991ab140a0ee91d70b2a4e0d33678dbfeda83982 | |
parent | 143778ebc8c97f74b16feca4da7736cdf69f7a9a (diff) | |
download | linux-3ed6d3cb14097218629ace56aa1a2d0a862b3125.tar.xz |
ARM: dts: lpc18xx: configure dwmac properly
Configure the DWMAC FIFO sizes, burst length and threshold DMA mode on
LPC18xx/43xx SoCs. These parameters are needed for correct operation of
the Ethernet MAC. The DWMAC on LPC18xx/43xx does not support RSF DMA
mode and therefore must use threshold mode.
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
-rw-r--r-- | arch/arm/boot/dts/lpc18xx.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi index fdb736c..3d828fc 100644 --- a/arch/arm/boot/dts/lpc18xx.dtsi +++ b/arch/arm/boot/dts/lpc18xx.dtsi @@ -186,6 +186,10 @@ clock-names = "stmmaceth"; resets = <&rgu 22>; reset-names = "stmmaceth"; + rx-fifo-depth = <256>; + tx-fifo-depth = <256>; + snps,pbl = <4>; /* 32 (8x mode) */ + snps,force_thresh_dma_mode; status = "disabled"; }; |