Skip to content

Commit

Permalink
ARM: dts: lpc18xx: configure dwmac properly
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joachim Eastwood committed Aug 27, 2016
1 parent 143778e commit 3ed6d3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/lpc18xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};

Expand Down

0 comments on commit 3ed6d3c

Please sign in to comment.