1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-05 14:30:10 +00:00

arm-bsp/u-boot: Add external system driver to u-boot device tree

Corstone1000 needs a kernel driver to control the
external system (turn on/off, reset). This commit
adds the external system driver binding to the
u-boot device tree for corstone1000.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Emekcan
2022-09-13 13:57:10 +01:00
committed by Jon Mason
parent 820a55d348
commit 1182b0d2ea
2 changed files with 38 additions and 0 deletions
@@ -0,0 +1,37 @@
Upstream-Status: Pending [Not submitted to upstream yet]
Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
From 83f16fe96a86b00f7a4b7c4c4f7416119b80eddd Mon Sep 17 00:00:00 2001
From: Emekcan <emekcan.aras@arm.com>
Date: Fri, 19 Aug 2022 16:04:48 +0100
Subject: [PATCH] Introduce external sys driver to device-tree
It adds external sys driver binding to u-boot
device tree.
Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
---
arch/arm/dts/corstone1000.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/dts/corstone1000.dtsi b/arch/arm/dts/corstone1000.dtsi
index d0194aa893..19b6e3ea72 100644
--- a/arch/arm/dts/corstone1000.dtsi
+++ b/arch/arm/dts/corstone1000.dtsi
@@ -160,6 +160,13 @@
secure-status = "okay"; /* secure-world-only */
status = "disabled";
};
+
+ extsys0: extsys@1A010310 {
+ compatible = "arm,extsys_ctrl";
+ reg = <0x1A010310 0x4>,
+ <0x1A010314 0X4>;
+ reg-names = "rstreg", "streg";
+ };
};
arm_ffa: arm_ffa {
--
2.17.1
@@ -43,6 +43,7 @@ SRC_URI:append:corstone1000 = " \
file://0023-efi_loader-fix-null-pointer-exception-with-get_image.patch \
file://0024-arm-corstone1000-add-mmc-for-fvp.patch \
file://0025-corstone1000-use-a-compressed-kernel.patch \
file://0026-Introduce-external-sys-driver-to-device-tree.patch \
"
#