From: Limeng <meng...@windriver.com>

In Stratix10 latest dwmac-socfpga.c Ethernet driver, the property
altr,sysmgr-syscon is parsed during driver probe. So, it is need to
add it to avoid drvier probe failed. This modification refer to SDK
kernel https://github.com/altera-opensource/linux-socfpga.git,
commit  070175e6c913 ("FogBugz #454145: Update stratix10_swvp.dts
file for S10 SoC VP")

Signed-off-by: Meng Li <meng...@windriver.com>
---
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi 
b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
index a5838a0..fdd7501 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
@@ -154,6 +154,7 @@
 
                gmac0: ethernet@ff800000 {
                        compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", 
"snps,dwmac";
+                       altr,sysmgr-syscon = <&sysmgr 0x44 0>;
                        reg = <0xff800000 0x2000>;
                        interrupts = <0 90 4>;
                        interrupt-names = "macirq";
@@ -170,6 +171,7 @@
 
                gmac1: ethernet@ff802000 {
                        compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", 
"snps,dwmac";
+                       altr,sysmgr-syscon = <&sysmgr 0x48 0>;
                        reg = <0xff802000 0x2000>;
                        interrupts = <0 91 4>;
                        interrupt-names = "macirq";
@@ -186,6 +188,7 @@
 
                gmac2: ethernet@ff804000 {
                        compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", 
"snps,dwmac";
+                       altr,sysmgr-syscon = <&sysmgr 0x4c 0>;
                        reg = <0xff804000 0x2000>;
                        interrupts = <0 92 4>;
                        interrupt-names = "macirq";
@@ -368,6 +371,8 @@
                sysmgr: sysmgr@ffd12000 {
                        compatible = "altr,sys-mgr", "syscon";
                        reg = <0xffd12000 0x1000>;
+                       interrupts = <0x0 0x10 0x4>;
+                       cpu1-start-addr = <0xffd06230>;
                };
 
                /* Local timer */
-- 
2.7.4

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to