Commit 37222eaf authored by Dinh Nguyen's avatar Dinh Nguyen Committed by Greg Kroah-Hartman

arm64: dts: stratix10: add the sysmgr-syscon property from the gmac's

[ Upstream commit 8efd6365 ]

The gmac ethernet driver uses the "altr,sysmgr-syscon" property to
configure phy settings for the gmac controller.

Add the "altr,sysmgr-syscon" property to all gmac nodes.

This patch fixes:

[    0.917530] socfpga-dwmac ff800000.ethernet: No sysmgr-syscon node found
[    0.924209] socfpga-dwmac ff800000.ethernet: Unable to parse OF data

Cc: stable@vger.kernel.org
Reported-by: default avatarLey Foon Tan <ley.foon.tan@intel.com>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3cfce8b7
......@@ -140,6 +140,7 @@ gmac0: ethernet@ff800000 {
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
snps,multicast-filter-bins = <256>;
altr,sysmgr-syscon = <&sysmgr 0x44 0>;
status = "disabled";
};
......@@ -156,6 +157,7 @@ gmac1: ethernet@ff802000 {
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
snps,multicast-filter-bins = <256>;
altr,sysmgr-syscon = <&sysmgr 0x48 0>;
status = "disabled";
};
......@@ -172,6 +174,7 @@ gmac2: ethernet@ff804000 {
tx-fifo-depth = <16384>;
rx-fifo-depth = <16384>;
snps,multicast-filter-bins = <256>;
altr,sysmgr-syscon = <&sysmgr 0x4c 0>;
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