Commit 8f49fe42 authored by Thor Thayer's avatar Thor Thayer Committed by Greg Kroah-Hartman

arm64: dts: stratix10: Support Ethernet Jumbo frame

commit a27460c9 upstream

Properly specify the RX and TX FIFO size which is important
for Jumbo frames.
Update the max-frame-size to support Jumbo frames.
Signed-off-by: default avatarThor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 08261cad
...@@ -137,6 +137,8 @@ gmac0: ethernet@ff800000 { ...@@ -137,6 +137,8 @@ gmac0: ethernet@ff800000 {
reset-names = "stmmaceth", "stmmaceth-ocp"; reset-names = "stmmaceth", "stmmaceth-ocp";
clocks = <&clkmgr STRATIX10_EMAC0_CLK>; clocks = <&clkmgr STRATIX10_EMAC0_CLK>;
clock-names = "stmmaceth"; clock-names = "stmmaceth";
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
status = "disabled"; status = "disabled";
}; };
...@@ -150,6 +152,8 @@ gmac1: ethernet@ff802000 { ...@@ -150,6 +152,8 @@ gmac1: ethernet@ff802000 {
reset-names = "stmmaceth", "stmmaceth-ocp"; reset-names = "stmmaceth", "stmmaceth-ocp";
clocks = <&clkmgr STRATIX10_EMAC1_CLK>; clocks = <&clkmgr STRATIX10_EMAC1_CLK>;
clock-names = "stmmaceth"; clock-names = "stmmaceth";
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
status = "disabled"; status = "disabled";
}; };
...@@ -163,6 +167,8 @@ gmac2: ethernet@ff804000 { ...@@ -163,6 +167,8 @@ gmac2: ethernet@ff804000 {
reset-names = "stmmaceth", "stmmaceth-ocp"; reset-names = "stmmaceth", "stmmaceth-ocp";
clocks = <&clkmgr STRATIX10_EMAC2_CLK>; clocks = <&clkmgr STRATIX10_EMAC2_CLK>;
clock-names = "stmmaceth"; clock-names = "stmmaceth";
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -76,7 +76,7 @@ &gmac0 { ...@@ -76,7 +76,7 @@ &gmac0 {
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-handle = <&phy0>; phy-handle = <&phy0>;
max-frame-size = <3800>; max-frame-size = <9000>;
mdio0 { mdio0 {
#address-cells = <1>; #address-cells = <1>;
......
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