From: Joachim Eastwood Date: Fri, 6 May 2016 06:57:49 +0000 (+0200) Subject: ARM: dts: lpc18xx: configure dwmac properly X-Git-Tag: v4.9-rc1~76^2~29^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3ed6d3cb14097218629ace56aa1a2d0a862b3125;p=karo-tx-linux.git 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 --- 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"; };