diff mbox series

[v2,4/5] arm64: dts: corstone1000: Add External System support

Message ID 20240822170951.339492-5-abdellatif.elkhlifi@arm.com (mailing list archive)
State New, archived
Headers show
Series remoteproc: arm64: Introduce remoteproc support for Corstone-1000 External Systems | expand

Commit Message

Abdellatif El Khlifi Aug. 22, 2024, 5:09 p.m. UTC
Add extsys0 remoteproc node as a child node of syscon

extsys0 describes the Corstone-1000 external system [1]
(the remote processor).

The host (Cortex-A35) can control the external system through memory mapped
registers located in a memory area called the
Host Base System Control [2][3]. This area is part of the host memory
space.

We use syscon to represent the Host Base System Control area and the
remoteproc node is a child node.

[1]: Documentation/devicetree/bindings/remoteproc/arm,sse710-extsys.yaml
[2]: https://developer.arm.com/documentation/102342/0000/Programmers-model/Register-descriptions/Host-Base-System-Control-register-summary
[3]: Documentation/devicetree/bindings/arm/arm,sse710-host-base-sysctrl.yaml

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
---
 arch/arm64/boot/dts/arm/corstone1000.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/arm/corstone1000.dtsi b/arch/arm64/boot/dts/arm/corstone1000.dtsi
index 01c65195ca53..17d6638f9ca6 100644
--- a/arch/arm64/boot/dts/arm/corstone1000.dtsi
+++ b/arch/arm64/boot/dts/arm/corstone1000.dtsi
@@ -103,6 +103,18 @@  soc {
 		interrupt-parent = <&gic>;
 		ranges;
 
+		syscon@1a010000 {
+			compatible = "arm,sse710-host-base-sysctrl",
+				     "simple-mfd", "syscon";
+			reg = <0x1a010000 0x1000>;
+
+			extsys0 {
+				compatible = "arm,sse710-extsys";
+				#extsys-id = <0>;
+				firmware-name = "es_flashfw.elf";
+			};
+		};
+
 		timer@1a220000 {
 			compatible = "arm,armv7-timer-mem";
 			reg = <0x1a220000 0x1000>;