Skip to contentSkip to conversation

Enable System Manager on Agilex

PATCH Applied [email protected] 2 participants 4 messages Nov 8, 2019 – Nov 12, 2019 Device tree bindings

lore
Share & tools
lore
#0 lore raw

cover Enable System Manager on Agilex

From: Thor Thayer <[email protected]>

This patchset enables the ARM64 System Manager driver for Agilex.

Thor Thayer (2):
arm64: dts: agilex: Add SysMgr compatible
arm64: dts: agilex: Add SysMgr to Ethernet nodes

 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/2 arm64: dts: agilex: Add SysMgr compatible

From: Thor Thayer <[email protected]>

Add the System Manager compatible string to the sysmgr node for accessing the System Manager driver.
Ethernet and EDAC drivers use this driver.

---
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +1 -1
index 2b3468590f30..7e8dc85fcebc 100644
@@ -393,7 +393,7 @@
 		};
 
 		sysmgr: sysmgr@ffd12000 {
-			compatible = "altr,sys-mgr", "syscon";
+			compatible = "altr,sys-mgr-s10","altr,sys-mgr";
 			reg = <0xffd12000 0x500>;
 		};
 
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/2 arm64: dts: agilex: Add SysMgr to Ethernet nodes

In reply to [email protected]

From: Thor Thayer <[email protected]>

Ethernet needs the System Manager to setup the low-level interface and PHY.

---
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +3 -0
index 7e8dc85fcebc..d8caa3f609b5 100644
@@ -150,6 +150,7 @@
 			iommus = <&smmu 1>;
 			clocks = <&clkmgr AGILEX_EMAC0_CLK>;
 			clock-names = "stmmaceth";
+			altr,sysmgr-syscon = <&sysmgr 0x44 0>;
 			status = "disabled";
 		};
 
@@ -167,6 +168,7 @@
 			iommus = <&smmu 2>;
 			clocks = <&clkmgr AGILEX_EMAC1_CLK>;
 			clock-names = "stmmaceth";
+			altr,sysmgr-syscon = <&sysmgr 0x48 8>;
 			status = "disabled";
 		};
 
@@ -184,6 +186,7 @@
 			iommus = <&smmu 3>;
 			clocks = <&clkmgr AGILEX_EMAC2_CLK>;
 			clock-names = "stmmaceth";
+			altr,sysmgr-syscon = <&sysmgr 0x4c 16>;
 			status = "disabled";
 		};
 
Signature · 1 line
2.7.4
Applied
#3 lore raw
In reply to [email protected]
Quoted 5 lines · On 11/8/19 4:40 PM, [email protected] wrote:

From: Thor Thayer <[email protected]>

This patchset enables the ARM64 System Manager driver for Agilex.

Quoted 7 lines

Thor Thayer (2):
arm64: dts: agilex: Add SysMgr compatible
arm64: dts: agilex: Add SysMgr to Ethernet nodes

 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Applied!

Dinh