summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
diff options
context:
space:
mode:
authorJoakim Zhang <qiangqing.zhang@nxp.com>2021-06-07 15:10:06 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2021-11-02 16:51:04 +0800
commit7a366f50bcfd92c000e5db28d3aba73ada0fb214 (patch)
tree591cb24195fb9f2edaf24d916d75807931952902 /arch/arm64/boot/dts/freescale/imx8mp-evk.dts
parentc337b3d9519fbf4d8f016c97f378319aa720d6b6 (diff)
LF-3982 arm64: dts: imx8mp-evk: enable EQOS multiple queues by default
Enable EQOS multiple queues by default, change DMA mode from store-and-forward to threshold due to FIFO size limitation. Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mp-evk.dts')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mp-evk.dts31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
index 8b2aebad97a9..e9f2923ebe33 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
@@ -285,6 +285,9 @@
pinctrl-0 = <&pinctrl_eqos>;
phy-mode = "rgmii-id";
phy-handle = <&ethphy0>;
+ snps,force_thresh_dma_mode;
+ snps,mtl-rx-config = <&mtl_rx_setup>;
+ snps,mtl-tx-config = <&mtl_tx_setup>;
status = "okay";
mdio {
@@ -300,6 +303,34 @@
rtl821x,clkout-disable;
};
};
+
+ mtl_rx_setup: rx-queues-config {
+ snps,rx-queues-to-use = <5>;
+ queue0 {
+ };
+ queue1 {
+ };
+ queue2 {
+ };
+ queue3 {
+ };
+ queue4 {
+ };
+ };
+
+ mtl_tx_setup: tx-queues-config {
+ snps,tx-queues-to-use = <5>;
+ queue0 {
+ };
+ queue1 {
+ };
+ queue2 {
+ };
+ queue3 {
+ };
+ queue4 {
+ };
+ };
};
&fec {