summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/lpc18xx.dtsi
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2016-05-06 08:57:49 +0200
committerJoachim Eastwood <manabian@gmail.com>2016-08-27 16:13:19 +0200
commit3ed6d3cb14097218629ace56aa1a2d0a862b3125 (patch)
tree991ab140a0ee91d70b2a4e0d33678dbfeda83982 /arch/arm/boot/dts/lpc18xx.dtsi
parentARM: dts: lpc4350-hitex-eval: fix binding for SE97 i2c device (diff)
downloadlinux-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.dtsi4
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";
};