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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
---
 arch/arm64/boot/dts/arm/corstone1000.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

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>;
-- 
2.25.1





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux