diff options
author | Joachim Eastwood <manabian@gmail.com> | 2016-05-06 08:57:49 +0200 |
---|---|---|
committer | Joachim Eastwood <manabian@gmail.com> | 2016-08-27 16:13:19 +0200 |
commit | 3ed6d3cb14097218629ace56aa1a2d0a862b3125 (patch) | |
tree | 991ab140a0ee91d70b2a4e0d33678dbfeda83982 /arch/arm/boot/dts/lpc18xx.dtsi | |
parent | ARM: dts: lpc4350-hitex-eval: fix binding for SE97 i2c device (diff) | |
download | linux-3ed6d3cb14097218629ace56aa1a2d0a862b3125.tar.xz linux-3ed6d3cb14097218629ace56aa1a2d0a862b3125.zip |
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>
Diffstat (limited to 'arch/arm/boot/dts/lpc18xx.dtsi')
-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 fdb736c82045..3d828fcfc7c4 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"; }; |