Commit 3ed6d3cb authored by Joachim Eastwood's avatar Joachim Eastwood

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: default avatarJoachim Eastwood <manabian@gmail.com>
parent 143778eb
...@@ -186,6 +186,10 @@ mac: ethernet@40010000 { ...@@ -186,6 +186,10 @@ mac: ethernet@40010000 {
clock-names = "stmmaceth"; clock-names = "stmmaceth";
resets = <&rgu 22>; resets = <&rgu 22>;
reset-names = "stmmaceth"; reset-names = "stmmaceth";
rx-fifo-depth = <256>;
tx-fifo-depth = <256>;
snps,pbl = <4>; /* 32 (8x mode) */
snps,force_thresh_dma_mode;
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment