]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: socfpga: Add missing altr,sysmgr-syscon for EMAC
authorLey Foon Tan <ley.foon.tan@intel.com>
Wed, 13 Mar 2019 03:03:35 +0000 (11:03 +0800)
committerMarek Vasut <marex@denx.de>
Sat, 16 Mar 2019 12:30:03 +0000 (13:30 +0100)
Syscon register is required in dts to select correct
PHY interface.

Fix error below:

Net:   Failed to get syscon: -2

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/dts/socfpga_stratix10.dtsi

index ccd3f32301e6beb8ee37769d731c24c41ffff8b2..ee93725d648ac739bc07d94a5e26d88d989ebf19 100644 (file)
@@ -95,6 +95,7 @@
                        mac-address = [00 00 00 00 00 00];
                        resets = <&rst EMAC0_RESET>, <&rst EMAC0_OCP_RESET>;
                        reset-names = "stmmaceth";
+                       altr,sysmgr-syscon = <&sysmgr 0x44 0>;
                        status = "disabled";
                };
 
                        mac-address = [00 00 00 00 00 00];
                        resets = <&rst EMAC1_RESET>, <&rst EMAC1_OCP_RESET>;
                        reset-names = "stmmaceth";
+                       altr,sysmgr-syscon = <&sysmgr 0x48 0>;
                        status = "disabled";
                };
 
                        mac-address = [00 00 00 00 00 00];
                        resets = <&rst EMAC2_RESET>, <&rst EMAC2_OCP_RESET>;
                        reset-names = "stmmaceth";
+                       altr,sysmgr-syscon = <&sysmgr 0x4c 0>;
                        status = "disabled";
                };